]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix missing truncation UNDERFLOW.
[thirdparty/glibc.git] / ChangeLog
1 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2
3 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4 detection to immediately after _FP_ROUND().
5 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6 bits are 0.
7
8 2012-11-11 David S. Miller <davem@davemloft.net>
9
10 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11 inttypes.h
12 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13 __close rather than their public counterparts.
14
15 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16
17 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18 file.
19 [UNIX98] (sem_timedwait): Do not expect.
20 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21 [XPG4 || UNIX98] (sockatmark): Do not expect.
22 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23 (clock_getcpuclockid): Do not expect.
24 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26 Do not expect.
27 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29 [UNIX98] (vwscanf): Likewise.
30 [UNIX98] (vswscanf): Likewise.
31
32 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33
34 * timezone/version.h: Remove file.
35 * timezone/README: Do not refer to version.h.
36 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37 $(objpfx)version.h.
38 ($(objpfx)zdump.o): Likewise.
39 ($(objpfx)version.h): New target.
40
41 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42 2012i.
43 * timezone/README: Don't mention modification to tzselect.ksh.
44 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
45 work on unmodified tzselect.ksh. Substitute version numbers in
46 tzselect.ksh.
47
48 * Makefile (format-me): Remove.
49 (INSTALL): Adjust indentation. Use commands directly instead of
50 using $(format-me).
51
52 * aclocal.m4 (ACX_PKGVERSION): New macro.
53 (ACX_BUGURL): Likewise.
54 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55 (PKGVERSION): New AC_DEFINE_UNQUOTED.
56 (REPORT_BUGS_TO): Likewise.
57 * configure: Regenerated.
58 * config.h.in (PKGVERSION): New macro.
59 (REPORT_BUGS_TO): Likewise.
60 * config.make.in (PKGVERSION): New variable.
61 (PKGVERSION_TEXI): Likewise.
62 (REPORT_BUGS_TO): Likewise.
63 (REPORT_BUGS_TEXI): Likewise.
64 * Makefile (format-me): Use -I$(common-objpfx)manual.
65 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66 ($(common-objpfx)manual/%): New target.
67 (manual/%): Remove target.
68 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
69 (print_version): Use PKGVERSION.
70 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
71 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72 and REPORT_BUGS_TO.
73 ($(objpfx)xtrace): Likewise.
74 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
75 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
76 (print_version): Use PKGVERSION.
77 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
78 (do_version): Use PKGVERSION.
79 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
80 REPORT_BUGS_TO.
81 (common-ldd-rewrite): Likewise.
82 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
83 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
84 (print_version): Use PKGVERSION.
85 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
86 * elf/pldd.c (argp_program_bug_address): Remove variable.
87 (more_help): New function.
88 (argp): Use more_help.
89 (print_version): Use PKGVERSION.
90 * elf/sln.c (main): Use PKGVERSION.
91 (usage): Use REPORT_BUGS_TO.
92 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
93 (top level): Use PKGVERSION.
94 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
95 (print_version): Use PKGVERSION.
96 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
97 (print_version): Use PKGVERSION.
98 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
99 (print_version): Use PKGVERSION.
100 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
101 (print_version): Use PKGVERSION.
102 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
103 (print_version): Use PKGVERSION.
104 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
105 (print_version): Use PKGVERSION.
106 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
107 and BUGURL.
108 ($(objpfx)memusage): Likewise.
109 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
110 (do_version): Use PKGVERSION.
111 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
112 (print_version): Use PKGVERSION.
113 * malloc/mtrace.pl ($PACKAGE): Remove variable.
114 ($PKGVERSION): New variable.
115 ($REPORT_BUGS_TO): Likewise.
116 (usage): Use $REPORT_BUGS_TO.
117 (top level): Use $PKGVERSION.
118 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
119 ($(objpfx)pkgvers.texi): New rule.
120 ($(objpfx)stamp-pkgvers): Likewise.
121 * manual/install.texi: Include pkgvers.texi.
122 (--with-pkgversion): Document new configure option.
123 (--with-bugurl): Likewise.
124 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
125 than necessarily for this particular distribution. Use
126 REPORT_BUGS_TO for where to report bugs.
127 * INSTALL: Regenerated.
128 * manual/libc.texinfo: Include pkgvers.texi.
129 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
130 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
131 (print_version): Use PKGVERSION.
132 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
133 (print_version): Use PKGVERSION.
134 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
135 (print_version): Use PKGVERSION.
136 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
137 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
138 macro.
139 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
140 (print_version): Use PKGVERSION.
141 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
142 (print_version): Use PKGVERSION.
143 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
144 and PKGVERSION.
145
146 * timezone/checktab.awk: Update from tzcode 2012i.
147 * timezone/ialloc.c: Likewise.
148 * timezone/private.h: Likewise.
149 * timezone/scheck.c: Likewise.
150 * timezone/tzfile.h: Likewise.
151 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
152 (TZVERSION): Hardcode tzcode version number.
153 * timezone/zdump.c: Update from tzcode 2012i.
154 * timezone/zic.c: Likewise.
155 * timezone/version.h: New file.
156 * timezone/README: Describe version.h. Update upstream location.
157
158 [BZ #14824]
159 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
160 (mktemp): Enable declaration.
161 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
165 Likewise.
166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
167 Likewise.
168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
169 Likewise.
170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
171 Likewise.
172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
173 Likewise.
174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
175 Likewise.
176
177 [BZ #14821]
178 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
179 offset in buffer as u_int32_t not u_long. Consistently use memcpy
180 for copies of such integer values.
181 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
182 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
183
184 2012-11-09 Andreas Jaeger <aj@suse.de>
185
186 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
187 definitions and declarations that are provided by
188 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
189
190 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
191
192 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
193 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
194 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
195 definition.
196
197 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
198
199 * elf/elf.h: Update comment before AArch64 relocations.
200
201 2012-11-07 David S. Miller <davem@davemloft.net>
202
203 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
204 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
205 (__start_context): Declare.
206 (__makecontext_ret): Delete.
207 (__makecontext): Hook up __start_context instead of
208 __makecontext_ret.
209 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
210 (sysdep_routines): Add __start_context when in stdlib.
211
212 2012-11-07 Joseph Myers <joseph@codesourcery.com>
213
214 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
215 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
216 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
217 hardcoded "nm".
218 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
219 (READELF): New variable. Use it instead of hardcoded "readelf".
220
221 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
222
223 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
224 * sysdeps/x86/Makefile: Here.
225 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
226 * sysdeps/x86/tst-xmmymm.sh: This.
227
228 2012-11-07 Joseph Myers <joseph@codesourcery.com>
229
230 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
231 expectations.
232 [UNIX98] (pthread_barrier_t): Do not expect.
233 [UNIX98] (pthread_barrierattr_t): Likewise.
234 [UNIX98] (pthread_spinlock_t): Likewise.
235 [UNIX98] (pthread_barrier_destroy): Likewise.
236 [UNIX98] (pthread_barrier_init): Likewise.
237 [UNIX98] (pthread_barrier_wait): Likewise.
238 [UNIX98] (pthread_barrierattr_destroy): Likewise.
239 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
240 [UNIX98] (pthread_barrierattr_init): Likewise.
241 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
242 [UNIX98] (pthread_getcpuclockid): Likewise.
243 [UNIX98] (pthread_mutex_timedlock): Likewise.
244 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
245 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
246 [UNIX98] (pthread_sigmask): Likewise.
247 [UNIX98] (pthread_spin_destroy): Likewise.
248 [UNIX98] (pthread_spin_init): Likewise.
249 [UNIX98] (pthread_spin_lock): Likewise.
250 [UNIX98] (pthread_spin_trylock): Likewise.
251 [UNIX98] (pthread_spin_unlock): Likewise.
252 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
253 Do not expect.
254 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
255 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
256 [XPG3 || XPG4] (pthread_cond_t): Likewise.
257 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
258 [XPG3 || XPG4] (pthread_key_t): Likewise.
259 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
260 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
261 [XPG3 || XPG4] (pthread_once_t): Likewise.
262 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
263 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
264 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
265 [XPG3 || XPG4] (pthread_t): Likewise.
266
267 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
268 not expect.
269 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
270
271 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
272 Change function return type to int.
273
274 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
275 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
276 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
277 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
278 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
279 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
280 [!POSIX] (posix_madvise): Likewise.
281 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
282 && !UNIX98].
283 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
284 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
285 (mode_t): Likewise.
286 (posix_mem_offset): Likewise.
287 (posix_typed_mem_get_info): Likewise.
288 (posix_typed_mem_open): Likewise.
289
290 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
291 Change condition to [XOPEN2K8].
292
293 * conform/conformtest.pl: Preprocess allow-header data with -x c
294 instead of from stdin.
295 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
296 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
297 [C99-based standards] (cerfc): Likewise.
298 [C99-based standards] (cexp2): Likewise.
299 [C99-based standards] (cexpm1): Likewise.
300 [C99-based standards] (clog10): Likewise.
301 [C99-based standards] (clog1p): Likewise.
302 [C99-based standards] (clog2): Likewise.
303 [C99-based standards] (clgamma): Likewise.
304 [C99-based standards] (ctgamma): Likewise.
305 [C99-based standards] (cerff): Likewise.
306 [C99-based standards] (cerfcf): Likewise.
307 [C99-based standards] (cexp2f): Likewise.
308 [C99-based standards] (cexpm1f): Likewise.
309 [C99-based standards] (clog10f): Likewise.
310 [C99-based standards] (clog1pf): Likewise.
311 [C99-based standards] (clog2f): Likewise.
312 [C99-based standards] (clgammaf): Likewise.
313 [C99-based standards] (ctgammaf): Likewise.
314 [C99-based standards] (cerfl): Likewise.
315 [C99-based standards] (cerfcl): Likewise.
316 [C99-based standards] (cexp2l): Likewise.
317 [C99-based standards] (cexpm1l): Likewise.
318 [C99-based standards] (clog10l): Likewise.
319 [C99-based standards] (clog1pl): Likewise.
320 [C99-based standards] (clog2l): Likewise.
321 [C99-based standards] (clgammal): Likewise.
322 [C99-based standards] (ctgammal): Likewise.
323 * conform/data/inttypes.h-data [C99-based standards]: Include
324 stdint.h-data. Remove all expectations for stdint.h contents.
325 [C99-based standards] (PRI*): Do not allow.
326 [C99-based standards] (SCN*): Likewise.
327 [C99-based standards] (*_t): Likewise.
328 [C99-based-standards] (PRId8): Expect macro.
329 [C99-based-standards] (PRIi8): Likewise.
330 [C99-based-standards] (PRIo8): Likewise.
331 [C99-based-standards] (PRIu8): Likewise.
332 [C99-based-standards] (PRIx8): Likewise.
333 [C99-based-standards] (PRIX8): Likewise.
334 [C99-based-standards] (SCNd8): Likewise.
335 [C99-based-standards] (SCNi8): Likewise.
336 [C99-based-standards] (SCNo8): Likewise.
337 [C99-based-standards] (SCNu8): Likewise.
338 [C99-based-standards] (SCNx8): Likewise.
339 [C99-based-standards] (PRIdLEAST8): Likewise.
340 [C99-based-standards] (PRIiLEAST8): Likewise.
341 [C99-based-standards] (PRIoLEAST8): Likewise.
342 [C99-based-standards] (PRIuLEAST8): Likewise.
343 [C99-based-standards] (PRIxLEAST8): Likewise.
344 [C99-based-standards] (PRIXLEAST8): Likewise.
345 [C99-based-standards] (SCNdLEAST8): Likewise.
346 [C99-based-standards] (SCNiLEAST8): Likewise.
347 [C99-based-standards] (SCNoLEAST8): Likewise.
348 [C99-based-standards] (SCNuLEAST8): Likewise.
349 [C99-based-standards] (SCNxLEAST8): Likewise.
350 [C99-based-standards] (PRIdFAST8): Likewise.
351 [C99-based-standards] (PRIiFAST8): Likewise.
352 [C99-based-standards] (PRIoFAST8): Likewise.
353 [C99-based-standards] (PRIuFAST8): Likewise.
354 [C99-based-standards] (PRIxFAST8): Likewise.
355 [C99-based-standards] (PRIXFAST8): Likewise.
356 [C99-based-standards] (SCNdFAST8): Likewise.
357 [C99-based-standards] (SCNiFAST8): Likewise.
358 [C99-based-standards] (SCNoFAST8): Likewise.
359 [C99-based-standards] (SCNuFAST8): Likewise.
360 [C99-based-standards] (SCNxFAST8): Likewise.
361 [C99-based-standards] (PRId16): Likewise.
362 [C99-based-standards] (PRIi16): Likewise.
363 [C99-based-standards] (PRIo16): Likewise.
364 [C99-based-standards] (PRIu16): Likewise.
365 [C99-based-standards] (PRIx16): Likewise.
366 [C99-based-standards] (PRIX16): Likewise.
367 [C99-based-standards] (SCNd16): Likewise.
368 [C99-based-standards] (SCNi16): Likewise.
369 [C99-based-standards] (SCNo16): Likewise.
370 [C99-based-standards] (SCNu16): Likewise.
371 [C99-based-standards] (SCNx16): Likewise.
372 [C99-based-standards] (PRIdLEAST16): Likewise.
373 [C99-based-standards] (PRIiLEAST16): Likewise.
374 [C99-based-standards] (PRIoLEAST16): Likewise.
375 [C99-based-standards] (PRIuLEAST16): Likewise.
376 [C99-based-standards] (PRIxLEAST16): Likewise.
377 [C99-based-standards] (PRIXLEAST16): Likewise.
378 [C99-based-standards] (SCNdLEAST16): Likewise.
379 [C99-based-standards] (SCNiLEAST16): Likewise.
380 [C99-based-standards] (SCNoLEAST16): Likewise.
381 [C99-based-standards] (SCNuLEAST16): Likewise.
382 [C99-based-standards] (SCNxLEAST16): Likewise.
383 [C99-based-standards] (PRIdFAST16): Likewise.
384 [C99-based-standards] (PRIiFAST16): Likewise.
385 [C99-based-standards] (PRIoFAST16): Likewise.
386 [C99-based-standards] (PRIuFAST16): Likewise.
387 [C99-based-standards] (PRIxFAST16): Likewise.
388 [C99-based-standards] (PRIXFAST16): Likewise.
389 [C99-based-standards] (SCNdFAST16): Likewise.
390 [C99-based-standards] (SCNiFAST16): Likewise.
391 [C99-based-standards] (SCNoFAST16): Likewise.
392 [C99-based-standards] (SCNuFAST16): Likewise.
393 [C99-based-standards] (SCNxFAST16): Likewise.
394 [C99-based-standards] (PRId32): Likewise.
395 [C99-based-standards] (PRIi32): Likewise.
396 [C99-based-standards] (PRIo32): Likewise.
397 [C99-based-standards] (PRIu32): Likewise.
398 [C99-based-standards] (PRIx32): Likewise.
399 [C99-based-standards] (PRIX32): Likewise.
400 [C99-based-standards] (SCNd32): Likewise.
401 [C99-based-standards] (SCNi32): Likewise.
402 [C99-based-standards] (SCNo32): Likewise.
403 [C99-based-standards] (SCNu32): Likewise.
404 [C99-based-standards] (SCNx32): Likewise.
405 [C99-based-standards] (PRIdLEAST32): Likewise.
406 [C99-based-standards] (PRIiLEAST32): Likewise.
407 [C99-based-standards] (PRIoLEAST32): Likewise.
408 [C99-based-standards] (PRIuLEAST32): Likewise.
409 [C99-based-standards] (PRIxLEAST32): Likewise.
410 [C99-based-standards] (PRIXLEAST32): Likewise.
411 [C99-based-standards] (SCNdLEAST32): Likewise.
412 [C99-based-standards] (SCNiLEAST32): Likewise.
413 [C99-based-standards] (SCNoLEAST32): Likewise.
414 [C99-based-standards] (SCNuLEAST32): Likewise.
415 [C99-based-standards] (SCNxLEAST32): Likewise.
416 [C99-based-standards] (PRIdFAST32): Likewise.
417 [C99-based-standards] (PRIiFAST32): Likewise.
418 [C99-based-standards] (PRIoFAST32): Likewise.
419 [C99-based-standards] (PRIuFAST32): Likewise.
420 [C99-based-standards] (PRIxFAST32): Likewise.
421 [C99-based-standards] (PRIXFAST32): Likewise.
422 [C99-based-standards] (SCNdFAST32): Likewise.
423 [C99-based-standards] (SCNiFAST32): Likewise.
424 [C99-based-standards] (SCNoFAST32): Likewise.
425 [C99-based-standards] (SCNuFAST32): Likewise.
426 [C99-based-standards] (SCNxFAST32): Likewise.
427 [C99-based-standards] (PRId64): Likewise.
428 [C99-based-standards] (PRIi64): Likewise.
429 [C99-based-standards] (PRIo64): Likewise.
430 [C99-based-standards] (PRIu64): Likewise.
431 [C99-based-standards] (PRIx64): Likewise.
432 [C99-based-standards] (PRIX64): Likewise.
433 [C99-based-standards] (SCNd64): Likewise.
434 [C99-based-standards] (SCNi64): Likewise.
435 [C99-based-standards] (SCNo64): Likewise.
436 [C99-based-standards] (SCNu64): Likewise.
437 [C99-based-standards] (SCNx64): Likewise.
438 [C99-based-standards] (PRIdLEAST64): Likewise.
439 [C99-based-standards] (PRIiLEAST64): Likewise.
440 [C99-based-standards] (PRIoLEAST64): Likewise.
441 [C99-based-standards] (PRIuLEAST64): Likewise.
442 [C99-based-standards] (PRIxLEAST64): Likewise.
443 [C99-based-standards] (PRIXLEAST64): Likewise.
444 [C99-based-standards] (SCNdLEAST64): Likewise.
445 [C99-based-standards] (SCNiLEAST64): Likewise.
446 [C99-based-standards] (SCNoLEAST64): Likewise.
447 [C99-based-standards] (SCNuLEAST64): Likewise.
448 [C99-based-standards] (SCNxLEAST64): Likewise.
449 [C99-based-standards] (PRIdFAST64): Likewise.
450 [C99-based-standards] (PRIiFAST64): Likewise.
451 [C99-based-standards] (PRIoFAST64): Likewise.
452 [C99-based-standards] (PRIuFAST64): Likewise.
453 [C99-based-standards] (PRIxFAST64): Likewise.
454 [C99-based-standards] (PRIXFAST64): Likewise.
455 [C99-based-standards] (SCNdFAST64): Likewise.
456 [C99-based-standards] (SCNiFAST64): Likewise.
457 [C99-based-standards] (SCNoFAST64): Likewise.
458 [C99-based-standards] (SCNuFAST64): Likewise.
459 [C99-based-standards] (SCNxFAST64): Likewise.
460 [C99-based-standards] (PRIdMAX): Likewise.
461 [C99-based-standards] (PRIiMAX): Likewise.
462 [C99-based-standards] (PRIoMAX): Likewise.
463 [C99-based-standards] (PRIuMAX): Likewise.
464 [C99-based-standards] (PRIxMAX): Likewise.
465 [C99-based-standards] (PRIXMAX): Likewise.
466 [C99-based-standards] (SCNdMAX): Likewise.
467 [C99-based-standards] (SCNiMAX): Likewise.
468 [C99-based-standards] (SCNoMAX): Likewise.
469 [C99-based-standards] (SCNuMAX): Likewise.
470 [C99-based-standards] (SCNxMAX): Likewise.
471 [C99-based-standards] (PRIdPTR): Likewise.
472 [C99-based-standards] (PRIiPTR): Likewise.
473 [C99-based-standards] (PRIoPTR): Likewise.
474 [C99-based-standards] (PRIuPTR): Likewise.
475 [C99-based-standards] (PRIxPTR): Likewise.
476 [C99-based-standards] (PRIXPTR): Likewise.
477 [C99-based-standards] (SCNdPTR): Likewise.
478 [C99-based-standards] (SCNiPTR): Likewise.
479 [C99-based-standards] (SCNoPTR): Likewise.
480 [C99-based-standards] (SCNuPTR): Likewise.
481 [C99-based-standards] (SCNxPTR): Likewise.
482 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
483 allow.
484 * conform/data/stdint.h-data: Update comments to clarify
485 requirements.
486 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
487 type.
488 [C99-based standards] (INT8_MAX): Likewise.
489 [C99-based standards] (INT16_MIN): Likewise.
490 [C99-based standards] (INT16_MAX): Likewise.
491 [C99-based standards] (INT32_MIN): Likewise.
492 [C99-based standards] (INT32_MAX): Likewise.
493 [C99-based standards] (INT64_MIN): Likewise.
494 [C99-based standards] (INT64_MAX): Likewise.
495 [C99-based standards] (UINT8_MAX): Likewise.
496 [C99-based standards] (UINT16_MAX): Likewise.
497 [C99-based standards] (UINT32_MAX): Likewise.
498 [C99-based standards] (UINT64_MAX): Likewise.
499 [C99-based standards] (INT_LEAST8_MIN): Likewise.
500 [C99-based standards] (INT_LEAST8_MAX): Likewise.
501 [C99-based standards] (INT_LEAST16_MIN): Likewise.
502 [C99-based standards] (INT_LEAST16_MAX): Likewise.
503 [C99-based standards] (INT_LEAST32_MIN): Likewise.
504 [C99-based standards] (INT_LEAST32_MAX): Likewise.
505 [C99-based standards] (INT_LEAST64_MIN): Likewise.
506 [C99-based standards] (INT_LEAST64_MAX): Likewise.
507 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
508 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
509 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
510 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
511 [C99-based standards] (INT_FAST8_MIN): Likewise.
512 [C99-based standards] (INT_FAST8_MAX): Likewise.
513 [C99-based standards] (INT_FAST16_MIN): Likewise.
514 [C99-based standards] (INT_FAST16_MAX): Likewise.
515 [C99-based standards] (INT_FAST32_MIN): Likewise.
516 [C99-based standards] (INT_FAST32_MAX): Likewise.
517 [C99-based standards] (INT_FAST64_MIN): Likewise.
518 [C99-based standards] (INT_FAST64_MAX): Likewise.
519 [C99-based standards] (UINT_FAST8_MAX): Likewise.
520 [C99-based standards] (UINT_FAST16_MAX): Likewise.
521 [C99-based standards] (UINT_FAST32_MAX): Likewise.
522 [C99-based standards] (UINT_FAST64_MAX): Likewise.
523 [C99-based standards] (INTPTR_MIN): Likewise.
524 [C99-based standards] (INTPTR_MAX): Likewise.
525 [C99-based standards] (UINTPTR_MAX): Likewise.
526 [C99-based standards] (INTMAX_MIN): Likewise.
527 [C99-based standards] (INTMAX_MAX): Likewise.
528 [C99-based standards] (UINTMAX_MAX): Likewise.
529 [C99-based standards] (PTRDIFF_MIN): Likewise.
530 [C99-based standards] (PTRDIFF_MAX): Likewise.
531 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
532 [C99-based standards] (SIZE_MAX): Likewise.
533 [C99-based standards] (WCHAR_MAX): Likewise.
534 [C99-based standards] (WINT_MAX): Likewise.
535 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
536 constraint on value.
537 [C99-based standards] (WCHAR_MIN): Likewise.
538 [C99-based standards] (WINT_MIN): Likewise.
539 [C99-based standards] (*_t): Allow.
540 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
541 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
542 Include math.h-data and complex.h-data. Remove all expectations
543 of math.h and complex.h contents.
544 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
545 at end of line.
546 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
547 (struct tm): Expect tag.
548 [C99-based-standards] (wcstof): Expect function.
549 [C99-based-standards] (wcstold): Likewise.
550 [C99-based-standards] (wcstoll): Likewise.
551 [C99-based-standards] (wcstoull): Likewise.
552 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
553 macro-int-constant. Specify type.
554 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
555 constraint on value.
556 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
557 Specify type.
558 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
559 Specify value.
560 [ISO C standards]: Do not allow headers.
561 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
562 wcs[abcdefghijklmnopqrstuvwxyz]*.
563 [ISO C standards] (*_t): Do not allow.
564 * conform/data/wctype.h-data [C99-based standards] (iswblank):
565 Expect function.
566 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
567 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
568 Specify type.
569 [ISO C standards]: Do not allow headers.
570 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
571 is[abcdefghijklmnopqrstuvwxyz]*.
572 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
573 to[abcdefghijklmnopqrstuvwxyz]*.
574 [ISO C standards] (*_t): Do not allow.
575 * conform/data/stdalign.h-data: New file.
576 * conform/data/stdbool.h-data: Likewise.
577 * conform/data/stdnoreturn.h-data: Likewise.
578
579 2012-11-07 Andreas Jaeger <aj@suse.de>
580
581 [BZ #14809]
582 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
583 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
584 guards are changed. Only define if not yet defined, #undef back
585 after including linux/sysctl.h if defined here.
586
587 2012-11-07 Roland McGrath <roland@hack.frob.com>
588
589 [BZ #14815]
590 * manual/filesys.texi (Directory Entries): Typo fix.
591 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
592
593 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
594
595 * elf/elf.h (EM_AARCH64): New macro.
596 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
597 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
598 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
599 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
600 (R_AARCH64_TLSDESC): Likewise.
601 (NT_ARM_TLS): Likewise.
602 (NT_ARM_HW_BREAK): Likewise.
603 (NT_ARM_HW_WATCH): Likewise.
604
605 2012-11-07 Joseph Myers <joseph@codesourcery.com>
606
607 [BZ #14811]
608 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
609 (__ieee754_powl): Saturate nonzero exponents with absolute value
610 below 0x1p-79 to +/- 0x1p-79.
611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
612 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
613 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
614 nonzero exponents with absolute value below 0x1p-32 to +/-
615 0x1p-32.
616 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
617 (__ieee754_powl): Saturate nonzero exponents with absolute value
618 below 0x1p-79 to +/- 0x1p-79.
619 * math/libm-test.inc (pow_test): Add more tests.
620
621 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
622
623 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
624 _dl_s390_cap_flags with kernel. Increase string length.
625 (_dl_s390_platforms): Add z196 and zEC12.
626
627 2012-11-07 Joseph Myers <joseph@codesourcery.com>
628
629 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
630 Change XOPEN21K to XOPEN2K.
631
632 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
633
634 * string/memmove.c: Use memcpy when possible.
635
636 2012-11-06 Andreas Jaeger <aj@suse.de>
637
638 * po/eo.po: Update from translation team.
639
640 2012-11-06 Joseph Myers <joseph@codesourcery.com>
641
642 [BZ #14793]
643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
644 exponent and small x and y exponents, scale x or y up. Increase
645 by 2 the exponent used in scaling up.
646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
648 * math/libm-test.inc (fma_test): Add more tests.
649 (fma_test_towardzero): Likewise.
650 (fma_test_downward): Likewise.
651 (fma_test_upward): Likewise.
652
653 2012-11-05 Joseph Myers <joseph@codesourcery.com>
654
655 [BZ #14805]
656 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
657 fenv_t *.
658
659 [BZ #14801]
660 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
661 namespace for names of struct fields.
662 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
663 fenv_t fields.
664 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
665 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
666
667 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
668
669 [BZ #3665]
670 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
671
672 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
673
674 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
675 PTR_DEMANGLE.
676
677 [BZ #5246]
678 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
679 PTR_DEMANGLE.
680
681 2012-11-04 Joseph Myers <joseph@codesourcery.com>
682
683 [BZ #14797]
684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
685 definitely overflow as x * y not x * y + z.
686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
688 * math/libm-test.inc (fma_test): Add more tests.
689 (fma_test_towardzero): Likewise.
690 (fma_test_downward): Likewise.
691 (fma_test_upward): Likewise.
692
693 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
694
695 [BZ #157]
696
697 * include/stub-tag.h: Remove file.
698 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
699 '#include' of it.
700 * manual/maint.texi (Porting): Don't reference it.
701 * Makerules ($(objpfx)stubs): Likewise.
702 * dirent/closedir.c: Don't include <stub-tag.h>.
703 * dirent/dirfd.c: Likewise.
704 * dirent/fdopendir.c: Likewise.
705 * dirent/getdents.c: Likewise.
706 * dirent/getdents64.c: Likewise.
707 * dirent/opendir.c: Likewise.
708 * dirent/readdir.c: Likewise.
709 * dirent/readdir64.c: Likewise.
710 * dirent/readdir64_r.c: Likewise.
711 * dirent/readdir_r.c: Likewise.
712 * dirent/rewinddir.c: Likewise.
713 * dirent/seekdir.c: Likewise.
714 * dirent/telldir.c: Likewise.
715 * gmon/profil.c: Likewise.
716 * grp/setgroups.c: Likewise.
717 * inet/if_index.c: Likewise.
718 * io/access.c: Likewise.
719 * io/chdir.c: Likewise.
720 * io/chmod.c: Likewise.
721 * io/chown.c: Likewise.
722 * io/close.c: Likewise.
723 * io/dup.c: Likewise.
724 * io/dup2.c: Likewise.
725 * io/dup3.c: Likewise.
726 * io/euidaccess.c: Likewise.
727 * io/faccessat.c: Likewise.
728 * io/fchdir.c: Likewise.
729 * io/fchmod.c: Likewise.
730 * io/fchmodat.c: Likewise.
731 * io/fchown.c: Likewise.
732 * io/fchownat.c: Likewise.
733 * io/fcntl.c: Likewise.
734 * io/flock.c: Likewise.
735 * io/fstatfs.c: Likewise.
736 * io/fstatfs64.c: Likewise.
737 * io/fstatvfs.c: Likewise.
738 * io/fstatvfs64.c: Likewise.
739 * io/futimens.c: Likewise.
740 * io/fxstat.c: Likewise.
741 * io/fxstat64.c: Likewise.
742 * io/fxstatat.c: Likewise.
743 * io/fxstatat64.c: Likewise.
744 * io/getcwd.c: Likewise.
745 * io/isatty.c: Likewise.
746 * io/lchmod.c: Likewise.
747 * io/lchown.c: Likewise.
748 * io/link.c: Likewise.
749 * io/linkat.c: Likewise.
750 * io/lseek.c: Likewise.
751 * io/lseek64.c: Likewise.
752 * io/lxstat64.c: Likewise.
753 * io/mkdir.c: Likewise.
754 * io/mkdirat.c: Likewise.
755 * io/mkfifo.c: Likewise.
756 * io/mkfifoat.c: Likewise.
757 * io/open.c: Likewise.
758 * io/open64.c: Likewise.
759 * io/openat.c: Likewise.
760 * io/openat64.c: Likewise.
761 * io/pipe.c: Likewise.
762 * io/pipe2.c: Likewise.
763 * io/poll.c: Likewise.
764 * io/posix_fadvise.c: Likewise.
765 * io/posix_fadvise64.c: Likewise.
766 * io/posix_fallocate.c: Likewise.
767 * io/posix_fallocate64.c: Likewise.
768 * io/read.c: Likewise.
769 * io/readlink.c: Likewise.
770 * io/readlinkat.c: Likewise.
771 * io/rmdir.c: Likewise.
772 * io/sendfile.c: Likewise.
773 * io/sendfile64.c: Likewise.
774 * io/statfs.c: Likewise.
775 * io/statfs64.c: Likewise.
776 * io/statvfs.c: Likewise.
777 * io/statvfs64.c: Likewise.
778 * io/symlink.c: Likewise.
779 * io/symlinkat.c: Likewise.
780 * io/ttyname.c: Likewise.
781 * io/ttyname_r.c: Likewise.
782 * io/umask.c: Likewise.
783 * io/unlink.c: Likewise.
784 * io/unlinkat.c: Likewise.
785 * io/utime.c: Likewise.
786 * io/utimensat.c: Likewise.
787 * io/write.c: Likewise.
788 * io/xmknod.c: Likewise.
789 * io/xmknodat.c: Likewise.
790 * io/xstat.c: Likewise.
791 * io/xstat64.c: Likewise.
792 * login/getpt.c: Likewise.
793 * login/grantpt.c: Likewise.
794 * login/unlockpt.c: Likewise.
795 * math/e_acoshl.c: Likewise.
796 * math/e_acosl.c: Likewise.
797 * math/e_asinl.c: Likewise.
798 * math/e_atan2l.c: Likewise.
799 * math/e_atanhl.c: Likewise.
800 * math/e_coshl.c: Likewise.
801 * math/e_expl.c: Likewise.
802 * math/e_fmodl.c: Likewise.
803 * math/e_gammal_r.c: Likewise.
804 * math/e_hypotl.c: Likewise.
805 * math/e_j0l.c: Likewise.
806 * math/e_j1l.c: Likewise.
807 * math/e_jnl.c: Likewise.
808 * math/e_lgammal_r.c: Likewise.
809 * math/e_log10l.c: Likewise.
810 * math/e_log2l.c: Likewise.
811 * math/e_logl.c: Likewise.
812 * math/e_powl.c: Likewise.
813 * math/e_rem_pio2l.c: Likewise.
814 * math/e_sinhl.c: Likewise.
815 * math/e_sqrtl.c: Likewise.
816 * math/fclrexcpt.c: Likewise.
817 * math/fedisblxcpt.c: Likewise.
818 * math/feenablxcpt.c: Likewise.
819 * math/fegetenv.c: Likewise.
820 * math/fegetexcept.c: Likewise.
821 * math/fegetround.c: Likewise.
822 * math/feholdexcpt.c: Likewise.
823 * math/fesetenv.c: Likewise.
824 * math/fesetround.c: Likewise.
825 * math/feupdateenv.c: Likewise.
826 * math/fgetexcptflg.c: Likewise.
827 * math/fraiseexcpt.c: Likewise.
828 * math/fsetexcptflg.c: Likewise.
829 * math/ftestexcept.c: Likewise.
830 * math/k_cosl.c: Likewise.
831 * math/k_rem_pio2l.c: Likewise.
832 * math/k_sinl.c: Likewise.
833 * math/k_tanl.c: Likewise.
834 * math/s_asinhl.c: Likewise.
835 * math/s_atanl.c: Likewise.
836 * math/s_cbrtl.c: Likewise.
837 * math/s_erfl.c: Likewise.
838 * math/s_expm1l.c: Likewise.
839 * math/s_log1pl.c: Likewise.
840 * math/s_tanhl.c: Likewise.
841 * misc/acct.c: Likewise.
842 * misc/brk.c: Likewise.
843 * misc/chflags.c: Likewise.
844 * misc/chroot.c: Likewise.
845 * misc/fchflags.c: Likewise.
846 * misc/fgetxattr.c: Likewise.
847 * misc/flistxattr.c: Likewise.
848 * misc/fremovexattr.c: Likewise.
849 * misc/fsetxattr.c: Likewise.
850 * misc/fsync.c: Likewise.
851 * misc/ftruncate.c: Likewise.
852 * misc/futimes.c: Likewise.
853 * misc/futimesat.c: Likewise.
854 * misc/getdomain.c: Likewise.
855 * misc/getdtsz.c: Likewise.
856 * misc/gethostid.c: Likewise.
857 * misc/gethostname.c: Likewise.
858 * misc/getloadavg.c: Likewise.
859 * misc/getpagesize.c: Likewise.
860 * misc/getsysstats.c: Likewise.
861 * misc/getxattr.c: Likewise.
862 * misc/gtty.c: Likewise.
863 * misc/ioctl.c: Likewise.
864 * misc/lgetxattr.c: Likewise.
865 * misc/listxattr.c: Likewise.
866 * misc/llistxattr.c: Likewise.
867 * misc/lremovexattr.c: Likewise.
868 * misc/lsetxattr.c: Likewise.
869 * misc/lutimes.c: Likewise.
870 * misc/madvise.c: Likewise.
871 * misc/mincore.c: Likewise.
872 * misc/mlock.c: Likewise.
873 * misc/mlockall.c: Likewise.
874 * misc/mmap.c: Likewise.
875 * misc/mprotect.c: Likewise.
876 * misc/msync.c: Likewise.
877 * misc/munlock.c: Likewise.
878 * misc/munlockall.c: Likewise.
879 * misc/munmap.c: Likewise.
880 * misc/preadv.c: Likewise.
881 * misc/preadv64.c: Likewise.
882 * misc/ptrace.c: Likewise.
883 * misc/pwritev.c: Likewise.
884 * misc/pwritev64.c: Likewise.
885 * misc/readv.c: Likewise.
886 * misc/reboot.c: Likewise.
887 * misc/remap_file_pages.c: Likewise.
888 * misc/removexattr.c: Likewise.
889 * misc/revoke.c: Likewise.
890 * misc/select.c: Likewise.
891 * misc/setdomain.c: Likewise.
892 * misc/setegid.c: Likewise.
893 * misc/seteuid.c: Likewise.
894 * misc/sethostid.c: Likewise.
895 * misc/sethostname.c: Likewise.
896 * misc/setregid.c: Likewise.
897 * misc/setreuid.c: Likewise.
898 * misc/setxattr.c: Likewise.
899 * misc/sstk.c: Likewise.
900 * misc/stty.c: Likewise.
901 * misc/swapoff.c: Likewise.
902 * misc/swapon.c: Likewise.
903 * misc/sync.c: Likewise.
904 * misc/syncfs.c: Likewise.
905 * misc/syscall.c: Likewise.
906 * misc/truncate.c: Likewise.
907 * misc/ualarm.c: Likewise.
908 * misc/usleep.c: Likewise.
909 * misc/ustat.c: Likewise.
910 * misc/utimes.c: Likewise.
911 * misc/vhangup.c: Likewise.
912 * misc/writev.c: Likewise.
913 * posix/_exit.c: Likewise.
914 * posix/alarm.c: Likewise.
915 * posix/execve.c: Likewise.
916 * posix/fexecve.c: Likewise.
917 * posix/fork.c: Likewise.
918 * posix/fpathconf.c: Likewise.
919 * posix/getaddrinfo.c: Likewise.
920 * posix/getegid.c: Likewise.
921 * posix/geteuid.c: Likewise.
922 * posix/getgid.c: Likewise.
923 * posix/getgroups.c: Likewise.
924 * posix/getlogin.c: Likewise.
925 * posix/getlogin_r.c: Likewise.
926 * posix/getpgid.c: Likewise.
927 * posix/getpid.c: Likewise.
928 * posix/getppid.c: Likewise.
929 * posix/getresgid.c: Likewise.
930 * posix/getresuid.c: Likewise.
931 * posix/getsid.c: Likewise.
932 * posix/getuid.c: Likewise.
933 * posix/glob64.c: Likewise.
934 * posix/nanosleep.c: Likewise.
935 * posix/pathconf.c: Likewise.
936 * posix/pause.c: Likewise.
937 * posix/posix_madvise.c: Likewise.
938 * posix/pread.c: Likewise.
939 * posix/pread64.c: Likewise.
940 * posix/pwrite.c: Likewise.
941 * posix/pwrite64.c: Likewise.
942 * posix/sched_getaffinity.c: Likewise.
943 * posix/sched_getp.c: Likewise.
944 * posix/sched_gets.c: Likewise.
945 * posix/sched_primax.c: Likewise.
946 * posix/sched_primin.c: Likewise.
947 * posix/sched_rr_gi.c: Likewise.
948 * posix/sched_setaffinity.c: Likewise.
949 * posix/sched_setp.c: Likewise.
950 * posix/sched_sets.c: Likewise.
951 * posix/sched_yield.c: Likewise.
952 * posix/setgid.c: Likewise.
953 * posix/setlogin.c: Likewise.
954 * posix/setpgid.c: Likewise.
955 * posix/setresgid.c: Likewise.
956 * posix/setresuid.c: Likewise.
957 * posix/setsid.c: Likewise.
958 * posix/setuid.c: Likewise.
959 * posix/sleep.c: Likewise.
960 * posix/spawni.c: Likewise.
961 * posix/sysconf.c: Likewise.
962 * posix/times.c: Likewise.
963 * posix/wait.c: Likewise.
964 * posix/wait3.c: Likewise.
965 * posix/wait4.c: Likewise.
966 * posix/waitpid.c: Likewise.
967 * resolv/gai_sigqueue.c: Likewise.
968 * resource/getpriority.c: Likewise.
969 * resource/getrlimit.c: Likewise.
970 * resource/getrusage.c: Likewise.
971 * resource/nice.c: Likewise.
972 * resource/setpriority.c: Likewise.
973 * resource/setrlimit.c: Likewise.
974 * resource/ulimit.c: Likewise.
975 * rt/aio_cancel.c: Likewise.
976 * rt/aio_fsync.c: Likewise.
977 * rt/aio_read.c: Likewise.
978 * rt/aio_sigqueue.c: Likewise.
979 * rt/aio_suspend.c: Likewise.
980 * rt/aio_write.c: Likewise.
981 * rt/clock_getres.c: Likewise.
982 * rt/clock_gettime.c: Likewise.
983 * rt/clock_nanosleep.c: Likewise.
984 * rt/clock_settime.c: Likewise.
985 * rt/lio_listio.c: Likewise.
986 * rt/mq_close.c: Likewise.
987 * rt/mq_getattr.c: Likewise.
988 * rt/mq_notify.c: Likewise.
989 * rt/mq_open.c: Likewise.
990 * rt/mq_receive.c: Likewise.
991 * rt/mq_send.c: Likewise.
992 * rt/mq_setattr.c: Likewise.
993 * rt/mq_timedreceive.c: Likewise.
994 * rt/mq_timedsend.c: Likewise.
995 * rt/mq_unlink.c: Likewise.
996 * rt/shm_open.c: Likewise.
997 * rt/shm_unlink.c: Likewise.
998 * rt/timer_create.c: Likewise.
999 * rt/timer_delete.c: Likewise.
1000 * rt/timer_getoverr.c: Likewise.
1001 * rt/timer_gettime.c: Likewise.
1002 * rt/timer_settime.c: Likewise.
1003 * setjmp/__longjmp.c: Likewise.
1004 * setjmp/setjmp.c: Likewise.
1005 * signal/kill.c: Likewise.
1006 * signal/killpg.c: Likewise.
1007 * signal/raise.c: Likewise.
1008 * signal/sigaction.c: Likewise.
1009 * signal/sigaltstack.c: Likewise.
1010 * signal/sigblock.c: Likewise.
1011 * signal/sigignore.c: Likewise.
1012 * signal/sigintr.c: Likewise.
1013 * signal/signal.c: Likewise.
1014 * signal/sigpause.c: Likewise.
1015 * signal/sigpending.c: Likewise.
1016 * signal/sigqueue.c: Likewise.
1017 * signal/sigreturn.c: Likewise.
1018 * signal/sigset.c: Likewise.
1019 * signal/sigsetmask.c: Likewise.
1020 * signal/sigstack.c: Likewise.
1021 * signal/sigsuspend.c: Likewise.
1022 * signal/sigtimedwait.c: Likewise.
1023 * signal/sigvec.c: Likewise.
1024 * signal/sigwait.c: Likewise.
1025 * signal/sigwaitinfo.c: Likewise.
1026 * signal/sysv_signal.c: Likewise.
1027 * socket/accept.c: Likewise.
1028 * socket/accept4.c: Likewise.
1029 * socket/bind.c: Likewise.
1030 * socket/connect.c: Likewise.
1031 * socket/getpeername.c: Likewise.
1032 * socket/getsockname.c: Likewise.
1033 * socket/getsockopt.c: Likewise.
1034 * socket/isfdtype.c: Likewise.
1035 * socket/listen.c: Likewise.
1036 * socket/recv.c: Likewise.
1037 * socket/recvfrom.c: Likewise.
1038 * socket/recvmsg.c: Likewise.
1039 * socket/send.c: Likewise.
1040 * socket/sendmsg.c: Likewise.
1041 * socket/sendto.c: Likewise.
1042 * socket/setsockopt.c: Likewise.
1043 * socket/shutdown.c: Likewise.
1044 * socket/sockatmark.c: Likewise.
1045 * socket/socket.c: Likewise.
1046 * socket/socketpair.c: Likewise.
1047 * stdio-common/ctermid.c: Likewise.
1048 * stdio-common/cuserid.c: Likewise.
1049 * stdio-common/remove.c: Likewise.
1050 * stdio-common/rename.c: Likewise.
1051 * stdio-common/renameat.c: Likewise.
1052 * stdio-common/tempname.c: Likewise.
1053 * stdlib/getcontext.c: Likewise.
1054 * stdlib/makecontext.c: Likewise.
1055 * stdlib/setcontext.c: Likewise.
1056 * stdlib/swapcontext.c: Likewise.
1057 * stdlib/system.c: Likewise.
1058 * streams/fattach.c: Likewise.
1059 * streams/fdetach.c: Likewise.
1060 * streams/getmsg.c: Likewise.
1061 * streams/getpmsg.c: Likewise.
1062 * streams/putmsg.c: Likewise.
1063 * streams/putpmsg.c: Likewise.
1064 * sysdeps/unix/bsd/getpt.c: Likewise.
1065 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1066 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1067 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1069 Likewise.
1070 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1071 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1072 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1073 * sysvipc/msgctl.c: Likewise.
1074 * sysvipc/msgget.c: Likewise.
1075 * sysvipc/msgrcv.c: Likewise.
1076 * sysvipc/msgsnd.c: Likewise.
1077 * sysvipc/semctl.c: Likewise.
1078 * sysvipc/semget.c: Likewise.
1079 * sysvipc/semop.c: Likewise.
1080 * sysvipc/semtimedop.c: Likewise.
1081 * sysvipc/shmat.c: Likewise.
1082 * sysvipc/shmctl.c: Likewise.
1083 * sysvipc/shmdt.c: Likewise.
1084 * sysvipc/shmget.c: Likewise.
1085 * termios/tcdrain.c: Likewise.
1086 * termios/tcflow.c: Likewise.
1087 * termios/tcflush.c: Likewise.
1088 * termios/tcgetattr.c: Likewise.
1089 * termios/tcgetpgrp.c: Likewise.
1090 * termios/tcsendbrk.c: Likewise.
1091 * termios/tcsetattr.c: Likewise.
1092 * termios/tcsetpgrp.c: Likewise.
1093 * time/adjtime.c: Likewise.
1094 * time/clock.c: Likewise.
1095 * time/getitimer.c: Likewise.
1096 * time/gettimeofday.c: Likewise.
1097 * time/setitimer.c: Likewise.
1098 * time/settimeofday.c: Likewise.
1099 * time/stime.c: Likewise.
1100 * time/time.c: Likewise.
1101
1102 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1103
1104 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1105 /usr/old/bin.
1106
1107 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1108 instead of spaces.
1109 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1110
1111 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1112
1113 [BZ #14796]
1114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1115 FE_TONEAREST before applying Dekker multiplication and Knuth
1116 addition. Clear inexact exceptions and check for exact zero
1117 results afterwards.
1118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1119 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1121 * math/libm-test.inc (fma_test): Add more tests.
1122 (fma_test_towardzero): Likewise.
1123 (fma_test_downward): Likewise.
1124 (fma_test_upward): Likewise.
1125 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1126 function.
1127 (libc_fesetround): New macro.
1128 (libc_fesetroundf): Likewise.
1129 (libc_fesetroundl): Likewise.
1130 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1131 function.
1132 (libc_fesetround_387): Likewise.
1133 (libc_fesetroundf): New macro.
1134 (libc_fesetround): Likewise.
1135 (libc_fesetroundl): Likewise.
1136 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1137 function.
1138 (libc_fesetroundf): New macro.
1139 (libc_fesetround): Likewise.
1140 (libc_fesetroundl): Likewise.
1141 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1142 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1143 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1144 libm_hidden_ver.
1145 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1146 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1147 libm_hidden_def.
1148 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1149 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1150 libm_hidden_ver.
1151 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1152 libm_hidden_def.
1153
1154 [BZ #3439]
1155 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1156 integer constant usable in #if and use that to give value to enum
1157 constant.
1158 (FE_DIVBYZERO): Likewise.
1159 (FE_UNDERFLOW): Likewise.
1160 (FE_OVERFLOW): Likewise.
1161 (FE_INVALID): Likewise.
1162 (FE_INVALID_SNAN): Likewise.
1163 (FE_INVALID_ISI): Likewise.
1164 (FE_INVALID_IDI): Likewise.
1165 (FE_INVALID_ZDZ): Likewise.
1166 (FE_INVALID_IMZ): Likewise.
1167 (FE_INVALID_COMPARE): Likewise.
1168 (FE_INVALID_SOFTWARE): Likewise.
1169 (FE_INVALID_SQRT): Likewise.
1170 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1171 (FE_TONEAREST): Likewise.
1172 (FE_TOWARDZERO): Likewise.
1173 (FE_UPWARD): Likewise.
1174 (FE_DOWNWARD): Likewise.
1175 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1176 (FE_DIVBYZERO): Likewise.
1177 (FE_OVERFLOW): Likewise.
1178 (FE_UNDERFLOW): Likewise.
1179 (FE_INEXACT): Likewise.
1180 (FE_TONEAREST): Likewise.
1181 (FE_DOWNWARD): Likewise.
1182 (FE_UPWARD): Likewise.
1183 (FE_TOWARDZERO): Likewise.
1184 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1185 (FE_UNDERFLOW): Likewise.
1186 (FE_OVERFLOW): Likewise.
1187 (FE_DIVBYZERO): Likewise.
1188 (FE_INVALID): Likewise.
1189 (FE_TONEAREST): Likewise.
1190 (FE_TOWARDZERO): Likewise.
1191 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1192 (FE_OVERFLOW): Likewise.
1193 (FE_UNDERFLOW): Likewise.
1194 (FE_DIVBYZERO): Likewise.
1195 (FE_INEXACT): Likewise.
1196 (FE_TONEAREST): Likewise.
1197 (FE_TOWARDZERO): Likewise.
1198 (FE_UPWARD): Likewise.
1199 (FE_DOWNWARD): Likewise.
1200 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1201 (FE_DIVBYZERO): Likewise.
1202 (FE_OVERFLOW): Likewise.
1203 (FE_UNDERFLOW): Likewise.
1204 (FE_INEXACT): Likewise.
1205 (FE_TONEAREST): Likewise.
1206 (FE_DOWNWARD): Likewise.
1207 (FE_UPWARD): Likewise.
1208 (FE_TOWARDZERO): Likewise.
1209
1210 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1211
1212 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1213
1214 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1215
1216 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1217 commands. Quote $PWD.
1218 (blacklist_exports): Don't use remove_newlines. Replace "declare
1219 -x" by "export".
1220 (remove_newlines): Remove.
1221
1222 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1223
1224 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1225 * stdlib/stdlib.h (atof): Moved to ...
1226 * include/bits/stdlib-float.h: Here. New file.
1227 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1228 * stdlib/bits/stdlib-float.h: New file.
1229 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1230 -mno-sse -mno-mmx.
1231 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1232 <xmmintrin.h>.
1233
1234 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1235
1236 * conform/conformtest.pl (@headers): Add fenv.h.
1237 * conform/data/fenv.h-data: New file.
1238 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1239 include of <math/fenv.h>.
1240
1241 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1242 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1243 && !UNIX98]. Enables tests for XOPEN2K8.
1244 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1245 POSIX2008]: Likewise.
1246
1247 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1248 (struct rusage): Do not expect type or its members.
1249
1250 [BZ #3439]
1251 * math/math.h (FP_NAN): Define macro to integer constant usable in
1252 #if and use that to give value to enum constant.
1253 (FP_INFINITE): Likewise.
1254 (FP_ZERO): Likewise.
1255 (FP_SUBNORMAL): Likewise.
1256 (FP_NORMAL): Likewise.
1257
1258 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1259
1260 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1261 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1262 arguments.
1263
1264 2012-11-02 Roland McGrath <roland@hack.frob.com>
1265
1266 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1267 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1268 autoconf-time if not.
1269 * configure.in: Remove AC_PREREQ.
1270
1271 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1272
1273 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1274 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1275 of the internal implementation.
1276
1277 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1278
1279 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1280 except include of <misc/sys/syslog.h>.
1281
1282 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1283
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1285 function returns with a NULL context exit with zero.
1286
1287 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1288
1289 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1290
1291 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1292
1293 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1294 (run_program_cmd): This.
1295 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1296 (tst_langinfo): New variable. Use it.
1297
1298 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1299
1300 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1301 floating point opcodes.
1302
1303 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1304
1305 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1306 variable.
1307
1308 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1309
1310 * sysdeps/mach/hurd/powerpc: Remove directory.
1311 * sysdeps/mach/powerpc: Likewise.
1312
1313 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1314
1315 * scripts/check-local-headers.sh: Ignore c++ headers.
1316
1317 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1318
1319 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1320 __libc_cleanup_region_start argument.
1321
1322 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1323
1324 [BZ #14784]
1325 [BZ #14785]
1326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1327 x * y using scaling, not as x * y + z.
1328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1330 * math/libm-test.inc (fma_test): Add more tests.
1331 (fma_test_towardzero): Likewise.
1332 (fma_test_downward): Likewise.
1333 (fma_test_upward): Likewise.
1334
1335 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1336
1337 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1338
1339 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1340
1341 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1342 New variable.
1343
1344 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1345
1346 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1347
1348 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1349
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1351 Fix sort order.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1353 Likewise.
1354
1355 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1356
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1358 Fix the order of the list for glibc 2.17.
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1360 Likewise.
1361
1362 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1363
1364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1365
1366 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1367
1368 [BZ #14610]
1369 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1370 for low part of x being zero before using __atanl (y).
1371 * math/libm-test.inc (atan2_test): Add another test.
1372
1373 * manual/install.texi (Configuring and compiling): Document
1374 general use of test-wrapper and test-wrapper-env.
1375 * INSTALL: Regenerated.
1376
1377 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1378 (__fma): Do not extract and scale down low bits on after-rounding
1379 systems when result rounded to normal precision would have normal
1380 exponent.
1381 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1382 (__fmal): Do not extract and scale down low bits on after-rounding
1383 systems when result rounded to normal precision would have normal
1384 exponent.
1385 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1386 (__fmal): Do not extract and scale down low bits on after-rounding
1387 systems when result rounded to normal precision would have normal
1388 exponent.
1389 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1390 macro.
1391 (fma_test): Add more tests.
1392 (fma_test_towardzero): Likewise.
1393 (fma_test_downward): Likewise.
1394 (fma_test_upward): Likewise.
1395
1396 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1397
1398 * sysdeps/i386/tininess.h: Renamed to ...
1399 * sysdeps/x86/tininess.h: This.
1400 * sysdeps/x86_64/tininess.h: Removed.
1401
1402 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1403
1404 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1405 input. Use $(build-program-cmd).
1406 ($(objpfx)tst-array1-static.out): Likewise.
1407 ($(objpfx)tst-array2.out): Likewise.
1408 ($(objpfx)tst-array3.out): Likewise.
1409 ($(objpfx)tst-array4.out): Likewise.
1410 ($(objpfx)tst-array5.out): Likewise.
1411 ($(objpfx)tst-array5-static.out): Likewise.
1412
1413 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1414
1415 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1416 if defined.
1417
1418 * nss/nsswitch.h (nss_interface_function): Provide new
1419 macro for use with NSS functions.
1420 * grp/initgroups.c: Use new macro.
1421 * nss/getXXbyYY.c: Likewise.
1422 * nss/getXXbyYY_r.c: Likewise.
1423 * nss/getXXent.c: Likewise.
1424 * nss/getXXent_r.c: Likewise.
1425 * sysdeps/posix/getaddrinfo.c: Likewise.
1426
1427 2012-10-30 Andreas Jaeger <aj@suse.de>
1428
1429 * po/ru.po: Update Russion translation from translation project.
1430
1431 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1432
1433 [BZ #14152]
1434 [BZ #14783]
1435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1436 result and shift together with sticky bit instead of replicating
1437 round-to-nearest rounding.
1438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1440 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1441 missing underflow exceptions.
1442 (fma_test_towardzero): Add more tests.
1443 (fma_test_downward): Likewise.
1444 (fma_test_upward): Likewise.
1445
1446 [BZ #14047]
1447 * sysdeps/generic/tininess.h: New file.
1448 * sysdeps/i386/tininess.h: Likewise.
1449 * sysdeps/sh/tininess.h: Likewise.
1450 * sysdeps/x86_64/tininess.h: Likewise.
1451 * stdlib/tst-strtod-underflow.c: Likewise.
1452 * stdlib/tst-tininess.c: Likewise.
1453 * stdlib/strtod_l.c: Include <tininess.h>.
1454 (round_and_return): Do not set errno for exact underflow cases.
1455 Force an underflow exception when setting errno for underflow.
1456 Determine underflow based on rounding to normal precision if
1457 TININESS_AFTER_ROUNDING.
1458 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1459 ERANGE for exact underflow cases.
1460 * stdlib/Makefile (tests): Add tst-tininess and
1461 tst-strtod-underflow.
1462 ($(objpfx)tst-tininess): Use $(link-libm).
1463 ($(objpfx)tst-strtod-underflow): Likewise.
1464
1465 2012-10-30 Andreas Jaeger <aj@suse.de>
1466
1467 [BZ#14767]
1468 * elf/Makefile (tests): Remove conditional for have-initfini-array
1469 since this is now always required and the variable does not exist
1470 anymore.
1471 (tests-static): Likewise.
1472 (modules-names): Likewise.
1473
1474 * po/eo.po: Add Esperanto translation from translation project.
1475
1476 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1477 merged with constructor/destructor.
1478 (init_array): Likewise.
1479 * elf/tst-array2dep.c (fini_array): Likewise.
1480 (init_array): Likewise.
1481
1482 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1483
1484 * manual/message.texi: Delete @cartouche tags.
1485
1486 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1487
1488 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1489 EOPNOTSUPP.
1490 * sysdeps/mach/hurd/fsync.c: Likewise.
1491
1492 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1493 [_POSIX_REALTIME_SIGNALS]: Change condition to
1494 [_POSIX_REALTIME_SIGNALS > 0].
1495
1496 2012-10-27 Andreas Jaeger <aj@suse.de>
1497
1498 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1499 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1501 [__WORDSIZE != 64]: Likewise.
1502
1503 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1504
1505 * iconvdata/tst-table.sh: Remove ${SHELL}.
1506 * iconvdata/tst-tables.sh: Likewise.
1507
1508 2012-10-25 David S. Miller <davem@davemloft.net>
1509
1510 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1511 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1512 of strtoull.
1513
1514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1515 ifunc-impl-list.c
1516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1517 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1518 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1519 file.
1520
1521 2012-10-25 Roland McGrath <roland@hack.frob.com>
1522
1523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1524 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1525 __getdirentries.
1526
1527 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1528 Jim Blandy <jimb@codesourcery.com>
1529
1530 * scripts/cross-test-ssh.sh: New file.
1531 * manual/install.texi (Configuring and compiling): Document use of
1532 cross-test-ssh.sh.
1533 * INSTALL: Regenerated.
1534
1535 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1536
1537 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1538 EOPNOTSUPP.
1539
1540 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1541
1542 * Makeconfig (run-program-prefix): Fix comment.
1543
1544 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1545 Jim Blandy <jimb@codesourcery.com>
1546
1547 * Makeconfig (test-wrapper): New variable,
1548 (test-wrapper-env): Likewise.
1549 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1550 (run-built-tests): Define to yes.
1551 (run-program-prefix): Use $(test-wrapper).
1552 (built-program-cmd): Likewise.
1553 * Rules (make-test-out): Use $(test-wrapper-env) and
1554 $(host-built-program-cmd).
1555 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1556 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1557 tst-pathopt.sh.
1558 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1559 $(test-wrapper-env) to tst-rtld-load-self.sh.
1560 ($(objpfx)order2.out): Use $(test-wrapper).
1561 ($(objpfx)tst-initorder.out): Likewise.
1562 ($(objpfx)tst-initorder2.out): Likewise.
1563 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1564 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1565 (test_wrapper_env): New variable. Use it to run ld.so.
1566 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1567 Use it to run ld.so.
1568 (test_wrapper_env): Likewise.
1569 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1570 $(test-wrapper) to run-iconv-test.sh.
1571 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1572 (ICONV): Use $test_wrapper.
1573 * posix/Makefile ($(objpfx)globtest.out): Pass
1574 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1575 globtest.sh, not $(run-program-prefix).
1576 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1577 (test_wrapper): Likewise.
1578 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1579 set together with run_via_rtld_prefix.
1580 (run_program_prefix): Define in terms of test_wrapper and
1581 run_via_rtld_prefix.
1582
1583 2012-10-24 Roland McGrath <roland@hack.frob.com>
1584
1585 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1586 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1587 Targets removed.
1588
1589 [BZ #14743]
1590 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1591 Declare __clock_getres, __clock_gettime, __clock_settime,
1592 __clock_nanosleep, and __clock_getcpuclockid.
1593 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1594 Remove librt_hidden_def (clock_gettime).
1595 * sysdeps/unix/clock_gettime.c: Likewise.
1596 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1597 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1598 * rt/clock_getres.c: Define __clock_getres as an alias.
1599 * sysdeps/posix/clock_getres.c: Likewise.
1600 * rt/clock_settime.c: Define __clock_settime as an alias.
1601 * sysdeps/unix/clock_settime.c: Likewise.
1602 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1603 * sysdeps/unix/clock_nanosleep.c: Likewise.
1604 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1605 * rt/clock-compat.c: New file.
1606 * rt/Makefile (librt-routines): Add clock-compat and move
1607 $(clock-routines) to ...
1608 (routines): ... here, new variable.
1609 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1610 Don't add get_clockfreq here.
1611 * rt/Versions (libc: GLIBC_2.17): New version set.
1612 Add clock_* symbols here.
1613 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1614 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1615 (GLIBC_2.17): Add clock_* symbols.
1616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1620 Likewise.
1621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1622 Likewise.
1623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1627 * NEWS: Mention the move.
1628
1629 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1630 Use __open, __read, __close rather than their public counterparts.
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1632 (__get_clockfreq_via_cpuinfo): Likewise.
1633 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1634 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1635
1636 * config.h.in (HAVE_IFUNC): New #undef.
1637 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1638 was successful.
1639 * configure: Regenerated.
1640
1641 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1642
1643 * configure.in: Move READELF check to start of file.
1644 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1645 libc_cv_asm_gnu_indirect_function in the process.
1646 * configure: Regenerated.
1647
1648 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1649
1650 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1651 send the output to /dev/null.
1652 (libc_cv_cc_with_libunwind): Likewise.
1653 (libc_cv_as_noexecstack): Likewise.
1654 * configure: Regenerate.
1655
1656 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1657
1658 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1659
1660 * posix/globtest.sh (TMPDIR): Do not set.
1661 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1662 (testout): Likewise.
1663
1664 2012-10-24 Andreas Jaeger <aj@suse.de>
1665
1666 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1667 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1668 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1669 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1670 posix_fadvise64, posix_fallocate64.
1671
1672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1673 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1674 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1675 Likewise.
1676 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1677 Likewise.
1678 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1679
1680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1681 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1682 <bits/fcntl-linux.h>.
1683 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1684
1685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1686 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1687 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1688 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1689 [__WORDSIZE != 64]: Likewise.
1690
1691 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1692
1693 * Makeconfig (run-built-tests): New variable.
1694 * Rules [$(cross-compiling) = yes]: Change condition to
1695 [$(run-built-tests) = no].
1696 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1697 to [$(run-built-tests) = yes].
1698 * elf/Makefile [$(cross-compiling) = no]: Likewise
1699 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1700 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1701 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1702 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1703 * io/Makefile [$(cross-compiling) = no]: Likewise.
1704 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1705 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1706 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1707 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1708 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1709 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1710 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1711 * string/Makefile [$(cross-compiling) = no]: Likewise.
1712
1713 * posix/Makefile ($(objpfx)globtest.out): Pass
1714 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1715 $(rtld-installed-name).
1716 * posix/globtest.sh (elf_objpfx): Remove variable.
1717 (rtld_installed_name): Likewise.
1718 (library_path): Likewise.
1719 (run_program_prefix): New variable. Use for running globtest
1720 binary.
1721
1722 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1723 Joseph Myers <joseph@codesourcery.com>
1724
1725 * Makeconfig (host-built-program-cmd): New variable.
1726 * elf/Makefile (tst-stackguard1-ARGS): Use
1727 $(host-built-program-cmd).
1728 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1729 (tst-spawn-ARGS): Likewise.
1730 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1731
1732 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1733 Jim Blandy <jimb@codesourcery.com>
1734
1735 * Makeconfig (run-via-rtld-prefix): New variable.
1736 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1737 (built-program-cmd): Likewise.
1738
1739 2012-10-22 Andreas Jaeger <aj@suse.de>
1740
1741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1742 __O_RSYNC if it exists, otherwise to O_SYNC.
1743
1744 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1745 Joseph Myers <joseph@codesourcery.com>
1746
1747 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1748 /dev/null.
1749 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1750 from /dev/null
1751 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1752 /dev/null.
1753
1754 2012-10-22 Andreas Jaeger <aj@suse.de>
1755
1756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1757 Define always.
1758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1759
1760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1761 bits/fcntl-linux.h.
1762
1763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1764 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1765
1766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1767 to __O_LARGEFILE.
1768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1769 to __O_LARGEFILE.
1770
1771 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1772 Joseph Myers <joseph@codesourcery.com>
1773
1774 * config.make.in (NM): New variable.
1775
1776 2012-10-21 Andreas Jaeger <aj@suse.de>
1777
1778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1779 definitions and declarations that are provided by
1780 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1781
1782 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 [BZ #14683]
1785 * elf/Makefile (tests-static): Add tst-leaks1-static.
1786 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1787 ($(objpfx)tst-leaks1-static): New rule.
1788 ($(objpfx)tst-leaks1-static-mem): Likewise.
1789 (tst-leaks1-static-ENV): New macro.
1790 * elf/dl-open.c (dl_open_worker): Check the main application
1791 only if SHARED is defined.
1792 * elf/tst-leaks1-static.c: New file.
1793
1794 2012-10-20 Andreas Jaeger <aj@suse.de>
1795
1796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1797 generic values for Linux.
1798 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1799 and declarations that are provided by <bits/fcntl-linux.h> and
1800 include <bits/fcntl-linux.h>.
1801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1803
1804 2012-10-20 Roland McGrath <roland@hack.frob.com>
1805
1806 * io/fcntl.h: Move include of <bits/types.h> to the top and
1807 include it unconditionally.
1808
1809 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1810
1811 * wcsmbs/Makefile (tests-ifunc): New variable.
1812 (tests): Add $(tests-ifunc).
1813 * wcsmbs/test-wcschr-ifunc.c: New file.
1814 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1815 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1816 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1817 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1818 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1819
1820 * string/Makefile (tests-ifunc): New variable.
1821 (tests): Add $(tests-ifunc).
1822 * string/test-memccpy.c (TEST_NAME): New macro.
1823 * string/test-memchr.c (TEST_NAME): Likewise.
1824 * string/test-memcmp.c (TEST_NAME): Likewise.
1825 * string/test-memcpy.c (TEST_NAME): Likewise.
1826 * string/test-memmem.c (TEST_NAME): Likewise.
1827 * string/test-memmove.c (TEST_NAME): Likewise.
1828 * string/test-memset.c (TEST_NAME): Likewise.
1829 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1830 * string/test-stpcpy.c (TEST_NAME): Likewise.
1831 * string/test-stpncpy.c (TEST_NAME): Likewise.
1832 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1833 * string/test-strcasestr.c (TEST_NAME): Likewise.
1834 * string/test-strcat.c (TEST_NAME): Likewise.
1835 * string/test-strchr.c (TEST_NAME): Likewise.
1836 * string/test-strcmp.c(TEST_NAME): Likewise.
1837 * string/test-strcpy.c (TEST_NAME): Likewise.
1838 * string/test-strcspn.c (TEST_NAME): Likewise.
1839 * string/test-strlen.c (TEST_NAME): Likewise.
1840 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1841 * string/test-strncmp.c (TEST_NAME): Likewise.
1842 * string/test-strncpy.c (TEST_NAME): Likewise.
1843 * string/test-strnlen.c (TEST_NAME): Likewise.
1844 * string/test-strpbrk.c (TEST_NAME): Likewise.
1845 * string/test-strrchr.c (TEST_NAME): Likewise.
1846 * string/test-strspn.c (TEST_NAME): Likewise.
1847 * string/test-strstr.c (TEST_NAME): Likewise.
1848 * string/test-bcopy-ifunc.c: New file.
1849 * string/test-bzero-ifunc.c: Likewise.
1850 * string/test-memccpy-ifunc.c: Likewise.
1851 * string/test-memchr-ifunc.c: Likewise.
1852 * string/test-memcmp-ifunc.c: Likewise.
1853 * string/test-memcpy-ifunc.c: Likewise.
1854 * string/test-memmem-ifunc.c: Likewise.
1855 * string/test-memmove-ifunc.c: Likewise.
1856 * string/test-mempcpy-ifunc.c: Likewise.
1857 * string/test-memset-ifunc.c: Likewise.
1858 * string/test-rawmemchr-ifunc.c: Likewise.
1859 * string/test-stpcpy-ifunc.c: Likewise.
1860 * string/test-stpncpy-ifunc.c: Likewise.
1861 * string/test-strcasecmp-ifunc.c: Likewise.
1862 * string/test-strcasestr-ifunc.c: Likewise.
1863 * string/test-strcat-ifunc.c: Likewise.
1864 * string/test-strchr-ifunc.c: Likewise.
1865 * string/test-strchrnul-ifunc.c: Likewise.
1866 * string/test-strcmp-ifunc.c: Likewise.
1867 * string/test-strcpy-ifunc.c: Likewise.
1868 * string/test-strcspn-ifunc.c: Likewise.
1869 * string/test-strlen-ifunc.c: Likewise.
1870 * string/test-strncasecmp-ifunc.c: Likewise.
1871 * string/test-strncat-ifunc.c: Likewise.
1872 * string/test-strncmp-ifunc.c: Likewise.
1873 * string/test-strncpy-ifunc.c: Likewise.
1874 * string/test-strnlen-ifunc.c: Likewise.
1875 * string/test-strpbrk-ifunc.c: Likewise.
1876 * string/test-strrchr-ifunc.c: Likewise.
1877 * string/test-strspn-ifunc.c: Likewise.
1878 * string/test-strstr-ifunc.c: Likewise.
1879
1880 * debug/Makefile (tests-ifunc): New variable.
1881 (tests): Add $(tests-ifunc).
1882 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1883 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1884 * debug/test-stpcpy_chk-ifunc.c: New file.
1885 * debug/test-strcpy_chk-ifunc.c: Likewise.
1886
1887 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1888
1889 [BZ #13601]
1890 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1891 header is not read in.
1892
1893 2012-10-19 Joseph Myers <joseph@codesourcery.com>
1894
1895 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1896 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1897 directly. Pass built executable to script as
1898 $(built-program-cmd).
1899 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1900 $testprogram without using LD_LIBRARY_PATH and $ldso.
1901
1902 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1903 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1904 $(rtld-installed-name).
1905 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1906 (rtld_installed_name): Likewise.
1907 (library_path): Likewise.
1908 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1909 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1910 $(run-program-prefix) to tst-tables.sh.
1911 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1912 it to run tst-table-from and tst-table-to.
1913 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1914 Pass it to tst-table.sh.
1915 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1916 $(run-program-prefix) to tst-gettext.sh.
1917 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1918 tst-translit.sh.
1919 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1920 tst-gettext2.sh.
1921 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1922 to run tst-gettext.
1923 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1924 to run tst-gettext2.
1925 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1926 to run tst-translit.
1927 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1928 $(run-program-prefix) to tst-mtrace.sh.
1929 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1930 to run tst-mtrace.
1931 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1932 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1933 $(rtld-installed-name).
1934 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1935 (rtld_installed_name): Likewise.
1936 (run_program_prefix): New variable. Use it to run wordexp-test.
1937
1938 * Makeconfig (ARCH): Remove all definitions.
1939 (machine): Likewise.
1940 [ARCH]: Remove conditional code.
1941 [!objdir]: Give error.
1942 [!objdir] (objpfx): Remove.
1943 [!objdir] (common-objpfx): Likewise.
1944 [!objdir] (common-objdir): Likewise.
1945 * configure.in (config_makefile): Remove. Hardcode Makefile in
1946 AC_CONFIG_FILES call.
1947 * configure: Regenerated.
1948
1949 [BZ #13888]
1950 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1951 or TMPDIR.
1952 (testout): Likewise.
1953
1954 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1955 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1956 $(rtld-installed-name).
1957 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1958 (rtld_installed_name): Likwise.
1959 (runit): Remove function.
1960 (run_getconf): New variable, Use it for running getconf binary.
1961
1962 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1963
1964 [BZ #14716]
1965 * string/test-memmem.c (check_result): New function.
1966 (do_one_test): Use it.
1967 (check1): New function.
1968 (test_main): Use it.
1969
1970 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1971
1972 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1973
1974 2012-10-18 Joseph Myers <joseph@codesourcery.com>
1975
1976 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1977 (_G_LSEEK64): Likewise.
1978 (_G_MMAP64): Likewise.
1979 (_G_FSTAT64): Likewise.
1980 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1981 (_G_LSEEK64): Likewise.
1982 (_G_MMAP64): Likewise.
1983 (_G_FSTAT64): Likewise.
1984 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1985 unconditional. Call __mmap64 directly.
1986 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1987 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1988 __lseek64 directly.
1989 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1990 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1991 __mmap64 directly.
1992 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1993 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1994 __lseek64 directly.
1995 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1996 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1997 __lseek64 directly.
1998 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1999 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2000 __lseek64 directly.
2001 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2002 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2003 __fxstat64 directly.
2004 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2005 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2006 unconditional.
2007 (freopen64) [!_G_OPEN64]: Remove conditional code.
2008 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2009 unconditional.
2010 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2011 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2012 unconditional.
2013 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2014 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2015 unconditional.
2016 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2017 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2018 unconditional.
2019 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2020 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2021 unconditional.
2022 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2023 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2024 unconditional.
2025 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2026 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2027 unconditional.
2028 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2029
2030 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2031
2032 [BZ #12140]
2033 * manual/memory.texi (Malloc Tunable Parameters): Add note
2034 about free list pointers overwriting some perturb bytes.
2035 Wording suggested by Roland McGrath.
2036
2037 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2038
2039 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2040 (lgamma_test): Likewise.
2041 (tgamma_test): Likewise.
2042
2043 2012-10-16 Florian Weimer <fweimer@redhat.com>
2044
2045 [BZ #14700]
2046 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2047 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2048
2049 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2050
2051 * NEWS: Mention BZ #14716.
2052 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2053 when removing AVAILABLE1_USES_J macro.
2054
2055 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2058 (__bswap_64): __uint64_t for unsigned 64-bit int.
2059
2060 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2061
2062 * include/string.h (memmem): Declare libc hidden alias.
2063 * string/memmem.c (memmem): Define libc hidden alias.
2064 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2065 __read, __close instead of open, read, close.
2066
2067 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2068
2069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2070 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2071 global and hidden.
2072 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2073 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2074 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2075 Likewise.
2076 (__rawmemchr_sse2): Likewise.
2077 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2078 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2079 (__strchr_sse2): Likewise.
2080 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2081 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2082 (__strcasecmp_sse2): Likewise.
2083 (__strncasecmp_sse2): Likewise.
2084 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2085 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2086 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2087 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2088 (__strrchr_sse2): Likewise.
2089 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2090 ifunc-impl-list.c.
2091 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2092 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2093 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2094 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2095 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2096 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2097 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2098 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2099 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2100 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2101 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2102 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2103 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2104 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2105 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2106 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2107 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2108 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2109 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2110 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2111 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2112 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2113 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2114 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2115 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2116 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2117 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2118 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2119 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2120 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2121
2122 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2123 global and hidden.
2124 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2125 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2126 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2127 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2128 Likewise.
2129 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2130 Likewise.
2131 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2132 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2133 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2134 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2135 ifunc-impl-list.c.
2136 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2137 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2138 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2139 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2140 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2141 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2142 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2143 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2144 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2145 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2146 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2147 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2148 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2149 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2150 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2151 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2152 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2153 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2154 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2155 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2156 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2157 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2158 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2159 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2160 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2161 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2162 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2163 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2164 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2165 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2166 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2167 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2168 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2169 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2170 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2171 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2172 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2173 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2174 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2175 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2176 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2177
2178 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2179 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2180 * include/ifunc-impl-list.h: New file.
2181 * misc/ifunc-impl-list.c: Likewise.
2182 * misc/Makefile (routines): Add ifunc-impl-list.
2183 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2184 * string/test-string.h: Include <ifunc-impl-list.h>.
2185 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2186 impl_array): New variables.
2187 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2188 are defined.
2189 (test_init): Call __libc_ifunc_impl_list to initialize
2190 func_list if TEST_IFUNC and TEST_NAME are defined.
2191
2192 * string/Makefile (strop-tests): Add bcopy and bzero.
2193 * string/test-bcopy.c: New file.
2194 * string/test-bzero.c: Likewise.
2195 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2196 defined.
2197 * string/test-memset.c: Support bzero test if TEST_BZERO is
2198 defined.
2199 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2200 __libc_memmove.
2201 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2202 __libc_memset.
2203 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2204 of memset.
2205
2206 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2207
2208 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2209 * configure: Regenerated.
2210
2211 * Makeconfig (+link-static-before-libc): Don't include
2212 $(link-static-libc).
2213
2214 * libio/libio.h (_IO_pos_t): Remove.
2215
2216 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2217
2218 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2219 McGrath.
2220
2221 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2222
2223 * crypt/crypt-entry.c: Include fips-private.h.
2224 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2225 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2226 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2227 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2228
2229 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2230
2231 * crypt/crypt-private.h: Include stdbool.h.
2232 (_ufc_setup_salt_r): Return bool.
2233 * crypt/crypt-entry.c: Include errno.h.
2234 (__crypt_r): Return NULL with EINVAL for bad salt.
2235 * crypt/crypt_util.c (bad_for_salt): New.
2236 (_ufc_setup_salt_r): Check that salt is long enough and within
2237 the specified alphabet.
2238 * crypt/badsalttest.c: New file.
2239 * crypt/Makefile (tests): Add it.
2240 ($(objpfx)badsalttest): New.
2241
2242 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2243
2244 * NEWS: Add entry for BZ #14602.
2245
2246 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2247
2248 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2249 type-generic.
2250 * math/libm-test.inc: Update comment listing what functions and
2251 macros are tested.
2252 (isgreater_test): New function.
2253 (isgreaterequal_test): Likewise.
2254 (isless_test): Likewise.
2255 (islessequal_test): Likewise.
2256 (islessgreater_test): Likewise.
2257 (isunordered_test): Likewise.
2258 (main): Call the new functions.
2259
2260 2012-10-09 Roland McGrath <roland@hack.frob.com>
2261
2262 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2263 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2264 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2265 * sysdeps/i386/configure: Regenerated.
2266 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2267 * sysdeps/mach/configure: Regenerated.
2268 * sysdeps/mach/hurd/configure: Regenerated.
2269 * sysdeps/powerpc/configure: Regenerated.
2270 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2271 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2272 * sysdeps/s390/s390-32/configure: Regenerated.
2273 * sysdeps/s390/s390-64/configure: Regenerated.
2274 * sysdeps/sh/configure: Regenerated.
2275 * sysdeps/sparc/configure: Regenerated.
2276 * sysdeps/unix/sysv/linux/configure: Regenerated.
2277 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2278 * sysdeps/x86_64/configure: Regenerated.
2279
2280 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2281 defined. Don't check if MAP is NULL.
2282
2283 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2284
2285 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2286 (_G_stat64): Likewise.
2287 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2288 (_G_stat64): Likewise.
2289 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2290 instead of struct _G_stat64.
2291 * libio/fileops.c (mmap_remap_check): Likewise.
2292 (decide_maybe_mmap): Likewise.
2293 (_IO_new_file_seekoff): Likewise.
2294 (_IO_file_stat): Likewise.
2295 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2296 _G_off64_t.
2297 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2298 instead of struct _G_stat64.
2299 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2300
2301 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2302
2303 [BZ #14602]
2304 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2305 Replace with ...
2306 (CHECK_EOL): New macro.
2307 (two_way_short_needle): Check beginning of haystack for EOL. Use
2308 CHECK_EOL.
2309 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2310 Replace with CHECK_EOL.
2311 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2312 Replace with CHECK_EOL.
2313
2314 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2315
2316 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2317 type-generic.
2318 * math/libm-test.inc: Update comment listing what functions and
2319 macros are tested.
2320 (finite_test): New function.
2321 (isinf_test): Likewise.
2322 (isnan_test): Likewise.
2323 (fpclassify_test): Test subnormal input.
2324 (isfinite_test): Likewise.
2325 (isnormal_test): Likewise.
2326 (main): Call the new functions.
2327
2328 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2329
2330 [BZ #14660]
2331 * Makerules (%.dynsym): Force C locale when running
2332 $(OBJDUMP) --dynamic-syms.
2333
2334 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2335
2336 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2337 <stdint.h>.
2338
2339 2012-10-06 David S. Miller <davem@davemloft.net>
2340
2341 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2342 upper 32-bits of the length value in %o2 since we use branch-on-register
2343 tests which consider the entire 64-bit register.
2344
2345 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2346
2347 * string/test-strstr.c (check2): Add a test for page boundary.
2348
2349 2012-10-05 David S. Miller <davem@davemloft.net>
2350
2351 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2352 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2353 file.
2354 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2355 sysdep_routines.
2356 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2357 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2358 and bzero when HWCAP_SPARC_CRYPTO is present.
2359
2360 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2361
2362 [BZ #14602]
2363 * string/test-strstr.c (check2): New function.
2364 (test_main): Call check2.
2365
2366 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2367 and bug-strchr1.
2368 * string/bug-strcasestr1.c (do_test): Moved to ...
2369 * string/test-strcasestr.c (check1): Here. New function.
2370 (do_one_test): Break out result checking code into ...
2371 (check_result): This. New function.
2372 (do_one_test): Call check_result.
2373 (test_main): Call check1.
2374 * string/bug-strchr1.c (do_test): Moved to ...
2375 * string/test-strchr.c (check1): Here. New function.
2376 (do_one_test): Break out result checking code into ...
2377 (check_result): This. New function.
2378 (do_one_test): Call check_result.
2379 (test_main): Call check1.
2380 * string/bug-strstr1.c (main): Moved to ...
2381 * string/test-strchr.c (check1): Here. New function.
2382 (do_one_test): Break out result checking code into ...
2383 (check_result): This. New function.
2384 (do_one_test): Call check_result.
2385 (test_main): Call check1.
2386 * string/bug-strcasestr1.c: Removed.
2387 * string/bug-strchr1.c: Likewise.
2388 * string/bug-strstr1.c: Likewise.
2389
2390 * elf/Makefile (dl-routines): Add hwcaps.
2391 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2392 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2393 (_dl_important_hwcaps): Moved to ...
2394 * elf/dl-hwcaps.c: Here. New file.
2395 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2396
2397 [BZ #14557]
2398 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2399 if IS_IN_rtld isn't defined.
2400
2401 * elf/dl-support.c (_dl_sysinfo_map): New.
2402 Include "get-dynamic-info.h" and "setup-vdso.h".
2403 (_dl_non_dynamic_init): Call setup_vdso.
2404 * elf/dynamic-link.h: Don't include <assert.h>.
2405 (elf_get_dynamic_info): Moved to ...
2406 * elf/get-dynamic-info.h: Here. New file.
2407 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2408 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2409 * elf/setup-vdso.h: Here. New file.
2410 * elf/rtld.c: Include "setup-vdso.h".
2411 (dl_main): Call setup_vdso.
2412
2413 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2414
2415 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2416 creal in comment listing functions tested. List finite, isinf,
2417 isnan, isless, islessequal, isgreater, isgreaterequal,
2418 islessgreater, isunordered, lgamma_r and pow10 as functions and
2419 macros not tested. Mention which functions not tested are aliases
2420 for other functions. Fix typo. Note that signs of NaNs are not
2421 tested.
2422
2423 * scripts/config.guess: Update from config.git.
2424 * scripts/config.sub: Likewise.
2425
2426 2012-10-04 Roland McGrath <roland@hack.frob.com>
2427
2428 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2429 * misc/madvise.c (madvise): Renamed to __madvise.
2430 Make madvise a weak alias.
2431 * include/sys/mman.h: Declare __madvise.
2432 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2433 * sysdeps/unix/syscalls.list
2434 (madvise): Make __madvise the strong name, and madvise a weak alias.
2435 * sysdeps/unix/sysv/linux/syscalls.list
2436 (madvise, mmap): Remove redundant entries.
2437 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2438 * malloc/malloc.c (mtrim): Likewise.
2439 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2440
2441 2012-10-03 Roland McGrath <roland@hack.frob.com>
2442
2443 * sysdeps/mach/hurd/dl-cache.c: File removed.
2444 * config.h.in (USE_LDCONFIG): New #undef.
2445 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2446 * configure: Regenerated.
2447 * elf/Makefile (dl-routines): Add dl-cache only under
2448 [$(use-ldconfig) = yes].
2449 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2450 cache on [USE_LDCONFIG].
2451 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2452 [USE_LDCONFIG].
2453 * elf/rtld.c (dl_main): Likewise.
2454
2455 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2456
2457 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2458 _SC_LEVEL4_CACHE_LINESIZE.
2459
2460 2012-10-03 Roland McGrath <roland@hack.frob.com>
2461
2462 * sysdeps/unix/bsd/confstr.h: File removed.
2463
2464 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2465
2466 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2467 sys/sdt-config.h.
2468
2469 2012-10-02 Roland McGrath <roland@hack.frob.com>
2470
2471 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2472 Make 'mapoff' field ElfW(Off) rather than off_t.
2473
2474 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2475
2476 * nscd/Makefile: Remove nscd-cflags and all its users.
2477 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2478 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2479
2480 [BZ #10631]
2481 * malloc.c (malloc_printerr): Clarify error message.
2482
2483 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2484
2485 [BZ #14648]
2486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2487 Set bit_FMA_Usable if FMA is supported.
2488 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2489 macro.
2490 (bit_FMA4_Usable): Updated.
2491 (index_FMA_Usable): New macro.
2492 (CPUID_FMA): Likewise
2493 (HAS_FMA): Defined with bit_FMA_Usable.
2494
2495 2012-10-01 Roland McGrath <roland@hack.frob.com>
2496
2497 * bits/types.h (__swblk_t): Type removed.
2498 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2499 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2501 (__SWBLK_T_TYPE): Likewise.
2502 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2503 (__SWBLK_T_TYPE): Likewise.
2504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2505 (__SWBLK_T_TYPE): Likewise.
2506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2507 (__SWBLK_T_TYPE): Likewise.
2508
2509 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2510 Honza Horak <hhorak@redhat.com>
2511
2512 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2513 (xdr_mapname): Use YPMAXMAP as maxsize.
2514 (xdr_peername): Use YPMAXPEER as maxsize.
2515 (xdr_keydat): Use YPAXRECORD as maxsize.
2516 (xdr_valdat): Use YPMAXRECORD as maxsize.
2517
2518 2012-10-01 Roland McGrath <roland@hack.frob.com>
2519
2520 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2521
2522 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2523 * csu/init-first.c: ... here.
2524 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2525 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2526 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2527 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2528 * sysdeps/i386/init-first.c: File removed.
2529 * sysdeps/sh/init-first.c: File removed.
2530
2531 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2532
2533 [BZ #14645]
2534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2535 if x * y might underflow to zero and z is zero.
2536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2538 * math/libm-test.inc (min_subnorm_value): New variable.
2539 (fma_test): Add more tests.
2540 (fma_test_towardzero): Likewise.
2541 (fma_test_downward): Likewise
2542 (fma_test_upward): Likewise.
2543 (initialize): Set min_subnorm_value.
2544
2545 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2546
2547 [BZ #14638]
2548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2549 0 + 0.
2550 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2551 mode for addition resulting in exact zero.
2552 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2554 exact 0 + 0.
2555 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2557 * math/libm-test.inc (fma_test): Add more tests.
2558 (fma_test_towardzero): New function.
2559 (fma_test_downward): Likewise.
2560 (fma_test_upward): Likewise.
2561 (main): Call the new functions.
2562
2563 2012-09-28 David S. Miller <davem@davemloft.net>
2564
2565 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2566
2567 2012-09-28 Roland McGrath <roland@hack.frob.com>
2568
2569 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2570 instead of SIGALRM.
2571
2572 * sysdeps/gnu/_G_config.h: Moved to ...
2573 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2574 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2575 * sysdeps/generic/_G_config.h: ... here.
2576
2577 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2578
2579 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2580
2581 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2582 Conditionalize target on [libnss_test1.so-version].
2583
2584 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2585
2586 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2587 (elfobjdir): Move out of conditionals.
2588
2589 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2590 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2591 (__nss_lookup_function): Conditionalize label remove_from_tree on
2592 [!DO_STATIC_NSS || SHARED], matching its only use.
2593
2594 2012-09-28 David S. Miller <davem@davemloft.net>
2595
2596 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2597 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2598 file.
2599 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2600 sysdep_routines.
2601 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2603 when HWCAP_SPARC_CRYPTO is present.
2604
2605 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2606
2607 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2608
2609 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2610
2611 [BZ #6530]
2612 * stdio-common/vfprintf.c (process_string_arg): Revert
2613 2000-07-22 change.
2614
2615 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2616
2617 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2618 for testcase.
2619 * stdio-common/tst-sprintf.c: Include <locale.h>
2620 (main): Test sprintf's handling of incomplete multibyte
2621 characters.
2622
2623 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 * elf/dl-runtime.c (VERSYMIDX): Removed.
2626 * elf/dl-version.c (VERSYMIDX): Likewise.
2627 * elf/do-rel.h (VERSYMIDX): Likewise.
2628 (VALIDX): Likewise.
2629 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2630 * elf/rtld.c (VALIDX): Likewise.
2631 (ADDRIDX): Likewise.
2632 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2633 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2634 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2635 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2636 (VALIDX): Likewise.
2637 (ADDRIDX): Likewise.
2638
2639 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2640
2641 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2642
2643 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2644
2645 [BZ #11438]
2646 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2647 to global scope.
2648 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2649 addresses are in the same scope as 192.0.2/24.
2650 * posix/gai.conf: Document new scope table defaults.
2651
2652 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2653
2654 [BZ #5298]
2655 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2656 for ftell. Compute offsets from write pointers instead.
2657 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2658
2659 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2660
2661 [BZ #14543]
2662 * libio/Makefile (tests): New test case tst-fseek.
2663 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2664 combination works in wide mode.
2665 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2666 state when the external buffer state changes.
2667
2668 2012-09-27 David S. Miller <davem@davemloft.net>
2669
2670 [BZ #14376]
2671 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2672 pass reloc->r_addend in as the 'high' argument to
2673 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2674
2675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2676
2677 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2678
2679 * rt/tst-aio2.c: Include <pthread.h>.
2680 * rt/tst-aio3.c: Likewise.
2681
2682 2012-09-27 Steve Ellcey <sellcey@mips.com>
2683
2684 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2685
2686 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2687
2688 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2689 contents on [SHARED].
2690
2691 2012-09-26 Marek Polacek <polacek@redhat.com>
2692
2693 [BZ #14530]
2694 [BZ #13741]
2695 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2696 for C++ and GCC <4.3 as well as for non GCC compilers.
2697
2698 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2699
2700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2701
2702 2012-09-25 Roland McGrath <roland@hack.frob.com>
2703
2704 * Makefile.in (all, install): Declare with .PHONY.
2705 Reported by Michael Hope <michael.hope@linaro.org>.
2706
2707 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2708
2709 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2710 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2711 system header.
2712 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2713 Likewise.
2714 (sydep_routines): Add the new and the internal functions.
2715 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2716 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2718 (GLIBC_2.17): Add the new function.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2720 (GLIBC_2.17): Likewise.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2722 (GLIBC_2.17): Likewise.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2724 (GLIBC_2.17): Likewise.
2725 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2726
2727 2012-09-25 Alan Modra <amodra@gmail.com>
2728
2729 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2730 Add release barrier before setting once_control to say
2731 initialisation is done. Add hints on lwarx. Use macro in
2732 place of isync.
2733 (clear_once_control): Add release barrier.
2734
2735 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2736
2737 [BZ #13629]
2738 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2739 specially.
2740 * math/s_clog10.c (__clog10): Likewise.
2741 * math/s_clog10f.c (__clog10f): Likewise.
2742 * math/s_clog10l.c (__clog10l): Likewise.
2743 * math/s_clogf.c (__clogf): Likewise.
2744 * math/s_clogl.c (__clogl): Likewise.
2745 * math/Makefile (libm-calls): Add x2y2m1.
2746 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2747 (__x2y2m1): Likewise.
2748 (__x2y2m1l): Likewise.
2749 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2750 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2751 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2752 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2753 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2754 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2755 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2756 * sysdeps/i386/fpu/libm-test-ulps: Update.
2757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2758
2759 [BZ #14621]
2760 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2761 int as type of variable DEPTH.
2762 (glob): Use size_t instead of int as type of variables NEWCOUNT
2763 and OLD_PATHC.
2764
2765 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2766
2767 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2768 Add s_sincosf-sse2.
2769 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2770 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2771 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2772 macros for using routine as __sincosf_ia32.
2773 Use macro for function declaration and weak_alias.
2774 * sysdeps/i386/fpu/libm-test-ulps: Update.
2775
2776 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2778
2779 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2780 subnormal argument.
2781 * math/s_cexpf.c (__cexpf): Likewise.
2782 * math/s_csinf.c (__csinf): Likewise.
2783 * math/s_csinhf.c (__csinhf): Likewise.
2784 * math/s_ctanf.c (__ctanf): Likewise.
2785 * math/s_ctanhf.c (__ctanhf): Likewise.
2786 * math/s_ccosh.c (__ccoshf): Likewise.
2787 * math/s_cexp.c (__cexpl): Likewise.
2788 * math/s_csin.c (__csin): Likewise.
2789 * math/s_csinh.c (__csinh): Likewise.
2790 * math/s_ctan.c (__ctan): Likewise.
2791 * math/s_ctanh.c (ctanh): Likewise.
2792 * math/s_ccoshl.c (__ccoshl): Likewise.
2793 * math/s_cexpl.c (__cexpl): Likewise.
2794 * math/s_csinl.c (__csinl): Likewise.
2795 * math/s_csinhl.c (__csinhl): Likewise.
2796 * math/s_ctanl.c (__ctanl): Likewise.
2797 * math/s_ctanhl.c (__ctanhl): Likewise.
2798
2799 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2800
2801 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2802 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2803 (_IO_off_t): Define to __off_t, not _G_off_t.
2804 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2805 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2806 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2807 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2808 type of __dummy and __dummy2 fields.
2809 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2810 (_G_ssize_t): Likewise.
2811 (_G_off_t): Likewise.
2812 (_G_pid_t): Likewise.
2813 (_G_uid_t): Likewise.
2814 (_G_wchar_t): Likewise.
2815 (_G_wint_t): Likewise.
2816 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2817 (_G_ssize_t): Likewise.
2818 (_G_off_t): Likewise.
2819 (_G_pid_t): Likewise.
2820 (_G_uid_t): Likewise.
2821 (_G_wchar_t): Likewise.
2822 (_G_wint_t): Likewise.
2823 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2824 (_G_ssize_t): Likewise.
2825 (_G_off_t): Likewise.
2826 (_G_pid_t): Likewise.
2827 (_G_uid_t): Likewise.
2828 (_G_wchar_t): Likewise.
2829 (_G_wint_t): Likewise.
2830
2831 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2832
2833 * malloc/arena.c: Include malloc-sysdep.h.
2834 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2835 is sufficient to shrink the heap or an unmap is needed.
2836 * sysdeps/generic/malloc-sysdep.h: New file. Define
2837 new function check_may_shrink_heap.
2838 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2839 new function check_may_shrink_heap.
2840
2841 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2842
2843 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2844 comments.
2845
2846 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2847
2848 * catgets/test-gencat.sh: Add "set -e".
2849 * elf/tst-pathopt.sh: Likewise.
2850 * grp/tst_fgetgrent.sh: Likewise.
2851 * iconvdata/run-iconv-test.sh: Likewise.
2852 * intl/tst-gettext.sh: Likewise.
2853 * intl/tst-gettext2.sh: Likewise.
2854 * intl/tst-gettext4.sh: Likewise.
2855 * intl/tst-gettext6.sh: Likewise.
2856 * intl/tst-translit.sh: Likewise.
2857 * io/ftwtest-sh: Likewise.
2858 * libio/test-freopen.sh: Likewise.
2859 * malloc/tst-mtrace.sh: Likewise.
2860 * posix/globtest.sh: Likewise.
2861 * posix/tst-getconf.sh: Likewise.
2862 * posix/wordexp-tst.sh: Likewise.
2863 * stdio-common/tst-printf.sh: Likewise.
2864 * stdio-common/tst-unbputc.sh: Likewise.
2865 * stdlib/tst-fmtmsg.sh: Likewise.
2866 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2867 * catgets/Makefile: Do not specify -e option when running
2868 testsuite shell scripts.
2869 * elf/Makefile: Likewise.
2870 * grp/Makefile: Likewise.
2871 * iconvdata/Makefile: Likewise.
2872 * intl/Makefile: Likewise.
2873 * io/Makefile: Likewise.
2874 * libio/Makefile: Likewise.
2875 * malloc/Makefile: Likewise.
2876 * posix/Makefile: Likewise.
2877 * stdio-common/Makefile: Likewise.
2878 * stdlib/Makefile: Likewise.
2879 * sysdeps/x86_64/Makefile: Likewise.
2880
2881 * io/ftwtest-sh: Add copyright header.
2882 * posix/globtest.sh: Likewise.
2883 * posix/tst-getconf.sh: Likewise.
2884 * posix/wordexp-tst.sh: Likewise.
2885 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2886
2887 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2888
2889 [BZ #13679]
2890 * Makeconfig (+link): Defined as $(+link-static) if
2891 $(build-shared) isn't yes.
2892 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2893 isn't yes.
2894 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2895
2896 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2897
2898 [BZ #14562]
2899 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2900 new chunk size with MALLOC_ALIGN_MASK.
2901
2902 2012-09-24 Joseph Myers <joseph@codesourcery.com>
2903
2904 [BZ #5044]
2905 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2906 <rounding-mode.h>.
2907 (__printf_fphex): Determine rounding using get_rounding_mode and
2908 round_away.
2909 * stdio-common/tst-printf-round.c (struct hex_test): New
2910 structure.
2911 (hex_tests): New variable.
2912 (test_hex_in_one_mode): New function.
2913 (do_test): Also run tests for hex float output.
2914
2915 2012-09-21 Joseph Myers <joseph@codesourcery.com>
2916
2917 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2918 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2919 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2920 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2921 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2922 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2923 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2924 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2925
2926 2012-09-20 Joseph Myers <joseph@codesourcery.com>
2927
2928 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2929 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2930 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2931 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2932
2933 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2934
2935 [BZ #14579]
2936 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2937 mode only.
2938 * elf/tst-rtld-load-self.sh: New test.
2939 * elf/Makefile: Run it.
2940
2941 2012-09-18 Joseph Myers <joseph@codesourcery.com>
2942
2943 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2944 (tst-writev-ENV): Remove.
2945 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2946
2947 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2948
2949 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2950
2951 2012-09-17 Joseph Myers <joseph@codesourcery.com>
2952
2953 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2954 unconditional.
2955 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2956 Likewise.
2957 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2958 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2959 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2960 Likewise.
2961
2962 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2963
2964 [BZ #14587]
2965 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2966 * config.make.in (have-cpp-asm-debuginfo): Removed.
2967 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2968 * configure: Regenerated.
2969
2970 2012-09-14 Joseph Myers <joseph@codesourcery.com>
2971
2972 [BZ #5044]
2973 * stdio-common/printf_fp.c: Include <stdbool.h> and
2974 <rounding-mode.h>.
2975 (___printf_fp): Determine rounding using get_rounding_mode and
2976 round_away.
2977 * stdio-common/tst-printf-round.c: New file.
2978 * stdio-common/Makefile (tests): Add tst-printf-round.
2979 (link-libm): New variable.
2980 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2981
2982 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2983
2984 [BZ #14576]
2985 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2986 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2987 Likewise.
2988 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2989 Likewise.
2990
2991 2012-09-13 Joseph Myers <joseph@codesourcery.com>
2992
2993 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2994 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2995 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2996 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2997
2998 2012-09-12 Joseph Myers <joseph@codesourcery.com>
2999
3000 [BZ #14518]
3001 * include/rounding-mode.h: New file.
3002 * sysdeps/generic/get-rounding-mode.h: Likewise.
3003 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3004 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3005 (MAX_VALUE): New macro.
3006 (MIN_VALUE): Likewise.
3007 (overflow_value): New function.
3008 (underflow_value): Likewise.
3009 (round_and_return): Use overflow_value and underflow_value to
3010 determine return values in overflow and underflow cases. Use
3011 round_away to determine rounding depending on rounding mode.
3012 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3013 determine return values in overflow and underflow cases.
3014 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3015 (struct test_results): New structure.
3016 (struct test): Use struct test_results to store expected results
3017 for all rounding modes.
3018 (TEST): Include expected results for all rounding modes.
3019 (test_in_one_mode): New function.
3020 (do_test): Use test_in_one_mode to compute and check results.
3021 Check results for all rounding modes.
3022 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3023 $(link-libm).
3024
3025 2012-12-09 Allan McRae <allan@archlinux.org>
3026
3027 * sysdeps/i386/fpu/libm-test-ulps: Update
3028
3029 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3030
3031 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3032 (_G_int32_t): Likewise.
3033 (_G_uint16_t): Likewise.
3034 (_G_uint32_t): Likewise.
3035 (_G_HAVE_BOOL): Likewise.
3036 (_G_HAVE_ATEXIT): Likewise.
3037 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3038 (_G_HAVE_IO_FILE_OPEN): Likewise.
3039 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3040 (_G_int32_t): Likewise.
3041 (_G_uint16_t): Likewise.
3042 (_G_uint32_t): Likewise.
3043 (_G_HAVE_BOOL): Likewise.
3044 (_G_HAVE_ATEXIT): Likewise.
3045 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3046 (_G_HAVE_IO_FILE_OPEN): Likewise.
3047 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3048 (_G_int32_t): Likewise.
3049 (_G_uint16_t): Likewise.
3050 (_G_uint32_t): Likewise.
3051 (_G_HAVE_BOOL): Likewise.
3052 (_G_HAVE_ATEXIT): Likewise.
3053 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3054 (_G_HAVE_IO_FILE_OPEN): Likewise.
3055
3056 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * csu/libc-tls.c: Update copyright years.
3059
3060 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3061
3062 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3063 [!_G_USING_THUNKS]: Remove conditional code.
3064 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3065 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3066
3067 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3068 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3069 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3070 (_G_VTABLE_LABEL_PREFIX): Likewise.
3071 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3072 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3073 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3074 (_G_VTABLE_LABEL_PREFIX): Likewise.
3075 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3076 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3077 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3078 (_G_VTABLE_LABEL_PREFIX): Likewise.
3079 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3080
3081 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3082
3083 * libio/Makefile: Include ../Makeconfig before tests.
3084 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3085 only if $(build-shared) is yes.
3086
3087 * iconv/gconv_db.c: Update copyright years.
3088
3089 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3090
3091 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3092 unwind info if defined PIC. Fix special cases description.
3093 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3094
3095 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3096 DP_HI_MASK entry.
3097 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3098
3099 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3102
3103 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3104 is NULL.
3105
3106 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3107 (LDLIBS-tst-chk4): This.
3108 (LDFLAGS-tst-chk5): Renamed to ...
3109 (LDLIBS-tst-chk5): This.
3110 (LDFLAGS-tst-chk6): Renamed to ...
3111 (LDLIBS-tst-chk6): This.
3112 (LDFLAGS-tst-lfschk4): Renamed to ...
3113 (LDLIBS-tst-lfschk4): This.
3114 (LDFLAGS-tst-lfschk5): Renamed to ...
3115 (LDLIBS-tst-lfschk5): This.
3116 (LDFLAGS-tst-lfschk6): Renamed to ...
3117 (LDLIBS-tst-lfschk6): This.
3118
3119 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3120 on $(common-objpfx)soversions.mk.
3121
3122 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3123
3124 [BZ #10014]
3125 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3126 example host name.
3127
3128 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3129
3130 * malloc/arena.c (arena_get_retry): New function that gets
3131 another arena for the caller to try its request on.
3132 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3133 current arena cannot fulfill the request.
3134 (__libc_memalign): Likewise.
3135 (__libc_memalign): Likewise.
3136 (__libc_pvalloc): Likewise.
3137 (__libc_calloc): Likewise.
3138
3139 2012-09-05 John Tobey <john.tobey@gmail.com>
3140
3141 [BZ #13542]
3142 * manual/arith.texi (Operations on Complex): Fix description
3143 of carg branch cut.
3144
3145 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3146
3147 [BZ #10014]
3148 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3149 host name.
3150
3151 [BZ #10038]
3152 * manual/memory.texi (Memory): Make order of menu items match
3153 order of sections.
3154
3155 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3156
3157 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3158 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3159 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3160
3161 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 * csu/libc-tls.c (static_dtv): Renamed to ...
3164 (_dl_static_dtv): This. Make it global.
3165 (_dl_initial_dtv): Removed.
3166 (__libc_setup_tls): Updated.
3167 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3168 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3169 DL_INITIAL_DTV.
3170
3171 2012-09-06 Petr Machata <pmachata@redhat.com>
3172
3173 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3174 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3175 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3176 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3177
3178 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3179
3180 [BZ #14545]
3181 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3182 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3183 freeing dtv[-1].
3184
3185 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3186
3187 [BZ #14544]
3188 * Makeconfig (link-static-before-libc): Replace $(+prector)
3189 with $(+prectorT).
3190 (link-static-after-libc): Replace $(+postctor) with
3191 $(+postctorT).
3192 (link-bounded): Replace $(+prector)/$(+postctor) with
3193 $(+prectorT)/$(+postctorT).
3194 (+prectorT): New macro.
3195 (+postctorT): Likewise.
3196
3197 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3198
3199 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3200 (round_str): Handle values above the maximum for IBM long double
3201 as inexact.
3202 * stdlib/tst-strtod-round.c (tests): Regenerated.
3203
3204 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3205
3206 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3207 assembler flag.
3208 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3209 zarch_nohighgprs around the zarch optimized routines.
3210 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3211 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3212 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3213 for zarch.
3214
3215 2012-09-05 David S. Miller <davem@davemloft.net>
3216
3217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3218
3219 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3220 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3221 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3222 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3223 entries.
3224
3225 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3226
3227 * malloc/arena.c: Fold copyright years.
3228 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3229
3230 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3231
3232 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3233
3234 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3235
3236 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3237
3238 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3239
3240 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3241 change internal state upon failure.
3242
3243 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3244
3245 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3246 * malloc/memusage.c (mmap): Likewise.
3247 (mmap64, mremap): Likewise. Adjust name in comment.
3248
3249 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3250
3251 * libio/fileops.c: Fix typos in comments.
3252 * libio/oldfileops.c: Likewise.
3253 * libio/wfileops.c: Likewise.
3254
3255 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3256
3257 [BZ #1349]
3258 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3259 (tst-malloc-usable-ENV): Set environment for test case.
3260 * malloc/hooks.c (malloc_check_get_size): New function to get
3261 requested size.
3262 * malloc/malloc.c (musable): Use malloc_check_get_size.
3263 * malloc/tst-malloc-usable.c: New test case.
3264
3265 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3266
3267 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3268
3269 2012-09-05 Allan McRae <allan@archlinux.org>
3270
3271 [BZ #13966]
3272 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3273 determine header location.
3274 * configure: Regenerated.
3275
3276 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3277
3278 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3279 float format.
3280 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3281 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3282 format.
3283 (test): Regenerate.
3284
3285 2012-09-04 David S. Miller <davem@davemloft.net>
3286
3287 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3288 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3289 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3290
3291 2012-09-04 Florian Weimer <fweimer@redhat.com>
3292
3293 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3294 failures.
3295
3296 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3297
3298 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3299
3300 [BZ #9914]
3301 * libio/iogetdelim.c: Include <limits.h>.
3302 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3303 + len + 1 would overflow.
3304
3305 2012-09-03 Andreas Jaeger <aj@suse.de>
3306
3307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3308 * sysdeps/i386/fpu/libm-test-ulps: Update.
3309
3310 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3311
3312 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3313 Add s_sinf-sse2, s_conf-sse2.
3314
3315 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3316 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3317 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3318 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3319
3320 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3321 for using routine as __sinf_ia32.
3322 Use macro for function declaration and weak_alias.
3323 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3324 for using routine as __cosf_ia32.
3325 Use macro for function declaration and weak_alias.
3326
3327 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3328 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3329
3330 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3331 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3333
3334 * math/libm-test.inc (cos_test): Add more test cases.
3335 (sin_test): Likewise.
3336 (sincos_test): Likewise.
3337
3338 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3339
3340 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3341 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3342 hidden.
3343 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3344
3345 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3346
3347 [BZ #14538]
3348 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3349 first element of the GOT.
3350 (elf_machine_load_address): Return the difference between
3351 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3352
3353 2012-09-01 Allan McRae <allan@archlinux.org>
3354
3355 [BZ #13412]
3356 * configure.in (AWK): Require gawk version 3.0 or later.
3357 * configure: Regenerated.
3358
3359 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3360
3361 * sysdeps/unix/sysv/linux/kernel-features.h
3362 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3363 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3364 [__NR_clock_getres]: Make code unconditional.
3365 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3366 (clock_getcpuclockid): Remove code left unreachable by removal of
3367 conditionals.
3368 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3369 code unconditional.
3370 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3371 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3372 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3373 Make code unconditional.
3374 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3375 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3376 * sysdeps/unix/sysv/linux/clock_settime.c
3377 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3378 conditional code.
3379 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3380 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3381
3382 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3383
3384 [BZ #14476]
3385 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3386 scripts/test-installation.pl.
3387
3388 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3389 and $ld_so_version if it is set.
3390
3391 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3392
3393 [BZ #14516]
3394 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3395 failure if reading from procfs failed.
3396 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3397
3398 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3399
3400 * sysdeps/unix/sysv/linux/kernel-features.h
3401 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3402 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3403 Remove conditional code.
3404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3405 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3406 Remove conditional code.
3407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3408 * sysdeps/unix/sysv/linux/i386/fxstat.c
3409 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3411 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3412 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3414 * sysdeps/unix/sysv/linux/i386/lxstat.c
3415 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3417 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3418 Remove conditional code.
3419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3420 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3421 Remove conditional code.
3422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3423 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3424 <kernel-features.h>.
3425 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3426 Remove.
3427 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3428 Remove conditional code.
3429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3430 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3431 Remove conditional.
3432
3433 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3434
3435 [BZ #5400]
3436 * NEWS: Add fixed bug number.
3437
3438 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3439
3440 [BZ #14519]
3441 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3442 underflowing exponent in case of negative sign.
3443 * stdlib/tst-strtod-round-data: Add more tests.
3444 * stdlib/tst-strtod-round.c (tests): Regenerated.
3445
3446 [BZ #3479]
3447 * stdlib/strtod_l.c (NDIG): Remove.
3448 (HEXNDIG): Likewise.
3449 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3450 smallest representable value.
3451 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3452 lie within an exact representation of 1/2 ulp of the result.
3453 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3454 unconditionally.
3455 (TENS_P9_IDX): Define unconditionally.
3456 (TENS_P9_SIZE): Likewise.
3457 (TENS_P10_IDX): Likewise.
3458 (TENS_P10_SIZE): Likewise.
3459 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3460 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3461 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3462 entries for 10^2^13 and 10^2^14.
3463 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3464 (TENS_P13_IDX): Define.
3465 (TENS_P13_SIZE): Likewise.
3466 (TENS_P14_IDX): Likewise.
3467 (TENS_P14_SIZE): Likewise.
3468 (_fpioconst_pow10): Change array size to
3469 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3470 unconditional.
3471 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3472 1024]: Add entries for 10^2^13 and 10^2^14.
3473 [LAST_POW10 > _LAST_POW10]: Remove #error.
3474 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3475 (_fpioconst_pow10): Change array size to
3476 FPIOCONST_POW10_ARRAY_SIZE.
3477 * stdlib/gen-fpioconst.c: New file.
3478 * stdlib/gen-tst-strtod-round.c: Likewise.
3479 * stdlib/tst-strtod-round-data: Likewise.
3480 * stdlib/tst-strtod-round.c: Likewise.
3481 * stdlib/Makefile (tests): Add tst-strtod-round.
3482
3483 [BZ #14459]
3484 * stdlib/strtod_l.c: Include <stdint.h>.
3485 (NDEBUG): Do not define.
3486 (round_and_return): Change EXPONENT parameter to type intmax_t.
3487 Rearrange calculations to avoid internal overflow possibilities.
3488 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3489 Rearrange calculations to avoid internal overflow possibilities.
3490 Assert that number fits inside MPNSIZE limbs.
3491 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3492 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3493 calculations and add assertions to avoid internal overflow
3494 possibilities. Add casts to avoid signed/unsigned operations.
3495 * stdlib/tst-strtod-overflow.c: New file.
3496 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3497
3498 2012-08-25 Marek Polacek <polacek@redhat.com>
3499
3500 * time/time.h: Fix some typos in comments.
3501
3502 2012-08-23 Roland McGrath <roland@hack.frob.com>
3503
3504 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3505 * posix/tst-rfc3484-2.c: Likewise.
3506 * posix/tst-rfc3484-3.c: Likewise.
3507
3508 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3509
3510 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3511 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3512
3513 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3514
3515 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3516 #include of fxstatat64.c.
3517
3518 2012-08-22 Roland McGrath <roland@hack.frob.com>
3519
3520 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3521 * shadow/getspent_r.c: Likewise.
3522 * shadow/getspnam.c: Likewise.
3523 * shadow/getspnam_r.c: Likewise.
3524 * gshadow/getsgent.c: Likewise.
3525 * gshadow/getsgent_r.c: Likewise.
3526 * gshadow/getsgnam.c: Likewise.
3527 * gshadow/getsgnam_r.c: Likewise.
3528 * inet/getnetbyad.c: Likewise.
3529 * inet/getnetbyad_r.c: Likewise.
3530 * inet/getnetbynm.c: Likewise.
3531 * inet/getnetbynm_r.c: Likewise.
3532 * inet/getnetent.c: Likewise.
3533 * inet/getnetent_r.c: Likewise.
3534 * inet/getproto.c: Likewise.
3535 * inet/getproto_r.c: Likewise.
3536 * inet/getprtent.c: Likewise.
3537 * inet/getprtent_r.c: Likewise.
3538 * inet/getprtname.c: Likewise.
3539 * inet/getprtname_r.c: Likewise.
3540 * inet/getrpcbyname.c: Likewise.
3541 * inet/getrpcbyname_r.c: Likewise.
3542 * inet/getrpcbynumber.c: Likewise.
3543 * inet/getrpcbynumber_r.c: Likewise.
3544 * inet/getrpcent.c: Likewise.
3545 * inet/getrpcent_r.c: Likewise.
3546 * inet/getaliasent.c: Likewise.
3547 * inet/getaliasent_r.c: Likewise.
3548 * inet/getaliasname.c: Likewise.
3549 * inet/getaliasname_r.c: Likewise.
3550 * nscd/getgrgid_r.c: Likewise.
3551 * nscd/getgrnam_r.c: Likewise.
3552 * nscd/gethstbyad_r.c: Likewise.
3553 * nscd/gethstbynm3_r.c: Likewise.
3554 * nscd/getpwnam_r.c: Likewise.
3555 * nscd/getpwuid_r.c: Likewise.
3556 * nscd/getsrvbynm_r.c: Likewise.
3557 * nscd/getsrvbypt_r.c: Likewise.
3558 * nscd/gai.c: Likewise.
3559
3560 * configure.in (build_nscd): New substituted variable, set
3561 by --disable-build-nscd and defaults to $use_nscd.
3562 * configure: Regenerated.
3563 * config.make.in (build-nscd): New substituted variable.
3564 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3565 Change conditional to require [$(build-nscd) = yes] as well.
3566 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3567
3568 [BZ# 13696]
3569 * configure.in (use_nscd): New substituted variable, set by
3570 --disable-nscd. If enabled, define USE_NSCD.
3571 * configure: Regenerated.
3572 * config.h.in: Add USE_NSCD.
3573 * config.make.in (use-nscd): New substituted variable.
3574 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3575 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3576 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3577 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3578 (CFLAGS-getgrnam_r.c): Likewise.
3579 (CFLAGS-initgroups.c): Likewise.
3580 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3581 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3582 Variables removed.
3583 * inet/getnetgrent_r.c
3584 (nscd_setnetgrent): New function, broken out of ...
3585 (setnetgrent): ... here. Call it.
3586 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3587 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3588 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3589 * nscd/Makefile (routines, aux): Move definitions after include of
3590 Makeconfig. Conditionalize on [$(use-nscd) != no].
3591 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3592 Conditionalize on [USE_NSCD].
3593 (is_nscd, nscd_init_cb): Likewise.
3594 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3595 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3596 * nss/nss_db/db-init.c: Likewise.
3597 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3598 [USE_NSCD].
3599 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3600 (make_request): Use it.
3601 (cache_valid_p): New function.
3602 (__check_pf): Use it.
3603 * NEWS: Add item for --disable-nscd.
3604
3605 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3606
3607 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3608 to support sed >= 4.2.1-20-ga9bf076.
3609 * configure: Regenerated.
3610
3611 2012-08-22 Roland McGrath <roland@hack.frob.com>
3612
3613 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3614 Conditionalize whole body on [IREL].
3615
3616 2012-08-22 Jeff Law <law@redhat.com>
3617
3618 [BZ #14505]
3619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3620 if the family is PF_UNSPEC.
3621
3622 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3623
3624 * Makerules (lib-version): Rename from V.
3625 (install-lib-nosubdir): Change V to lib-version.
3626
3627 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3628
3629 [BZ #14252]
3630 * powerpc32/power6/wcschr.c: New file.
3631 * powerpc32/power6/wcscpy.c: New file.
3632 * powerpc32/power6/wcsrchr.c: New file.
3633 * powerpc64/power6/wcschr.c: New file.
3634 * powerpc64/power6/wcscpy.c: New file.
3635 * powerpc64/power6/wcsrchr.c: New file.
3636
3637 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3638
3639 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3640 (two_way_short_needle): Use it.
3641 * string/strstr.c (AVAILABLE1_USES_J): Define.
3642 * string/strcasestr.c: Likewise.
3643
3644 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3645 array references.
3646 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3647
3648 [BZ #11607]
3649 * NEWS: Add an entry.
3650 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3651 define their defaults.
3652 (two_way_short_needle): Detect end-of-string on-the-fly.
3653 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3654 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3655 * string/bug-strcasestr1.c: New test.
3656 * string/Makefile: Run it.
3657
3658 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3659
3660 [BZ #11607]
3661 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3662 the first character.
3663
3664 2012-08-21 Roland McGrath <roland@hack.frob.com>
3665
3666 * csu/elf-init.c (__libc_csu_irel): Function removed.
3667 * csu/libc-start.c (apply_irel): New function.
3668 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3669
3670 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3671
3672 * sysdeps/unix/sysv/linux/kernel-features.h
3673 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3674 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3675 <kernel-features.h>.
3676 [__NR_fadvise64_64]: Make code unconditional.
3677 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3678 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3679 !__NR_fadvise64_64)]: Likewise.
3680 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3681 !__NR_fadvise64_64))]: Likewise.
3682 [__NR_fadvise64]: Make code unconditional.
3683 [!__NR_fadvise64]: Remove conditional code.
3684 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3685 <kernel-features.h>.
3686 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3687 unconditional.
3688 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3689 conditional code.
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3691 not include <kernel-features.h>.
3692 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3693 unconditional.
3694 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3695 conditional code.
3696 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3697 include <kernel-features.h>.
3698 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3699 unconditional.
3700 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3701 conditional code.
3702
3703 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3704
3705 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3706 slight instruction rearrangements per scrollpipe analysis.
3707 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3708
3709 2012-08-20 Roland McGrath <roland@hack.frob.com>
3710
3711 * manual/syslog.texi (syslog; vsyslog, closelog):
3712 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3713 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3714
3715 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3716 DSOCAPS to match condition on defining it.
3717
3718 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3719
3720 * sysdeps/unix/sysv/linux/kernel-features.h
3721 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3723 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3724 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3726 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3727 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3729 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3730 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3731
3732 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3733 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3734
3735 * sysdeps/unix/sysv/linux/kernel-features.h
3736 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3737 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3738 unconditional.
3739 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3740 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3741 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3742 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3743 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3744 Make code unconditional.
3745 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3746 (__mmap64) [!__NR_mmap2]: Likewise.
3747 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3748 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3749 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3750 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3751 [__NR_mmap2]: Make code unconditional.
3752 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3753 (__mmap64) [!__NR_mmap2]: Likewise.
3754
3755 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3756
3757 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3758
3759 2012-08-18 Andreas Jaeger <aj@suse.de>
3760
3761 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3762
3763 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3764
3765 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3766 * include/unistd.h (__have_sock_cloexec): Likewise.
3767 (__have_pipe2): Likewise.
3768 (__have_dup3): Likewise.
3769
3770 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3771
3772 [BZ #9685]
3773 * include/unistd.h (__have_pipe2): Change define into an extern int.
3774 (__have_dup3): Likewise.
3775 * socket/have_sock_cloexec.c: Include fcntl.h.
3776 (__have_pipe2): New variable.
3777 (__have_dup3): Likewise.
3778
3779 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3780
3781 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3782
3783 2012-08-17 Marek Polacek <polacek@redhat.com>
3784
3785 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3786 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3787
3788 2012-08-17 Roland McGrath <roland@hack.frob.com>
3789
3790 * configure.in: Add AC_SUBST for sysheaders.
3791 * configure: Regenerated.
3792 * config.make.in (sysheaders): New substituted variable.
3793
3794 * sysdeps/unix/mkfifo.c: Moved ...
3795 * sysdeps/posix/mkfifo.c: ... here.
3796 * sysdeps/unix/mkfifoat.c: Moved ...
3797 * sysdeps/posix/mkfifoat.c: ... here.
3798
3799 * sysdeps/unix/utime.c: Moved ...
3800 * sysdeps/posix/utime.c: ... here.
3801
3802 * sysdeps/unix/time.c: Moved ...
3803 * sysdeps/posix/time.c: ... here.
3804 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3805 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3806
3807 * sysdeps/unix/nice.c: Moved ...
3808 * sysdeps/posix/nice.c: ... here.
3809
3810 * sysdeps/unix/alarm.c: Moved ...
3811 * sysdeps/posix/alarm.c: ... here.
3812
3813 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3814
3815 2012-08-17 Jeff Law <law@redhat.com>
3816
3817 * intl/Makefile (codeset_mo): New variable.
3818 ($(codeset_mo)): New target.
3819 (tst-codeset.out): Depend on that. Remove explicit rule.
3820 (tst-gettext3.out, tst-gettext5.out): Likewise.
3821 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3822 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3823 * intl/tst-codeset.sh: Remove.
3824 * intl/tst-gettext3.sh: Likewise.
3825 * intl/tst-gettext5.sh: Likewise.
3826
3827 2012-08-17 Roland McGrath <roland@hack.frob.com>
3828
3829 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3830 * sysdeps/unix/syscalls.list: ... here.
3831
3832 * sysdeps/posix/getaddrinfo.c
3833 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3834 (gaiconf_init, gaiconf_reload): Use them.
3835 [!_STATBUF_ST_NSEC]
3836 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3837 Define using time_t rather than struct timespec.
3838
3839 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3840 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3841 Macros removed.
3842 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3843 [!NO_THREADS].
3844 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3845 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3846 Likewise.
3847
3848 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3849 __libc_cleanup_push argument.
3850
3851 * bits/param.h: New file.
3852 * misc/sys/param.h: New file.
3853 * include/sys/param.h: New file.
3854 * misc/Makefile (headers): Add bits/param.h.
3855 * sysdeps/generic/sys/param.h: File removed.
3856 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3857 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3858 * sysdeps/mach/hurd/bits/param.h: New file.
3859 * sysdeps/mach/hurd/sys/param.h: File removed.
3860
3861 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3862 last change.
3863
3864 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3865 [_IO_MTSAFE_IO].
3866 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3867 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3868 New macros.
3869
3870 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3871 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3872 rather than -D_IO_MTSAFE_IO conditionally.
3873 * stdio-common/Makefile (CPPFLAGS): Likewise.
3874 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3875 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3876 Use $(libio-mtsafe).
3877 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3878 of -D_IO_MTSAFE_IO.
3879 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3880 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3881 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3882 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3883 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3884 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3885 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3886 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3887 (CFLAGS-fread_u_chk.c): Likewise.
3888 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3889 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3890 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3891 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3892 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3893 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3894 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3895 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3896 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3897
3898 * libio/Makefile: Test [$(libc-reentrant) = yes]
3899 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3900
3901 * Makeconfig
3902 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3903 * sysdeps/pthread/configure: File removed.
3904 * sysdeps/pthread/Makeconfig: New file.
3905 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3906 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3907
3908 2012-08-16 Gary Benson <gbenson@redhat.com>
3909
3910 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3911 unmapping the first object in a namespace.
3912
3913 2012-08-16 Roland McGrath <roland@hack.frob.com>
3914
3915 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3916 (__internal_setnetgrent): ... this. Add internal_function to
3917 definition. Add libc_hidden_def.
3918 (setnetgrent): Update caller.
3919 (internal_endnetgrent): Renamed to ...
3920 (__internal_endnetgrent): ... this. Add internal_function to
3921 definition. Add libc_hidden_def.
3922 (endnetgrent): Update caller.
3923 (internal_getnetgrent_r): Renamed to ...
3924 (__internal_getnetgrent_r): ... this. Add internal_function to
3925 definition. Add libc_hidden_def.
3926 (__getnetgrent_r): Update caller.
3927 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3928
3929 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3930
3931 * stdlib/longlong.h: Update from GCC.
3932
3933 2012-08-16 Roland McGrath <roland@hack.frob.com>
3934
3935 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3936 on _QL, which is set by umul_ppmm but never used.
3937 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3938 variables, which are set by GMP macros but never used.
3939 * stdio-common/_itowa.c (_itowa): Likewise.
3940 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3941 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3942
3943 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3944
3945 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3946 struct La_sh_regs is not constant.
3947 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3948 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3949 and struct La_sparc64_regs are not constant.
3950
3951 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3952
3953 * sysdeps/unix/sysv/linux/kernel-features.h
3954 (__ASSUME_POSIX_TIMERS): Remove.
3955 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3956 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3957 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3958 Make code unconditional.
3959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3960 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3961 Make code unconditional.
3962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3963 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3964 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3965 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3966 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3967 Make code unconditional.
3968 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3969 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3970 (__libc_missing_posix_timers): Remove.
3971
3972 2012-08-15 Roland McGrath <roland@hack.frob.com>
3973
3974 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3975 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3976
3977 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3978
3979 * elf/dl-sym.c: Include <stdlib.h>.
3980
3981 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3982 constants, which avoids warnings in 32-bit builds.
3983
3984 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3985 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3986
3987 * misc/lseek.c: File moved to ...
3988 * io/lseek.c: ... here.
3989
3990 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3991
3992 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3993 shifting LEN more than 31 bits at once.
3994
3995 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3996
3997 [BZ #14195]
3998 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3999 segmentation fault for a case of two empty input strings.
4000 * string/test-strncasecmp.c (check1): Renamed to...
4001 (bz12205): ...this.
4002 (bz14195): Add new testcase for two empty input strings and N > 0.
4003 (test_main): Call new testcase, adapt for renamed function.
4004
4005 2012-08-15 Andreas Jaeger <aj@suse.de>
4006
4007 [BZ #14090]
4008 * crypt/md5test2.c: New test, based on test supplied by Serge
4009 Belyshev <belyshev@depni.sinp.msu.ru>.
4010 * crypt/Makefile (xtests): Add md5test-giant..
4011 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4012
4013 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4014
4015 [BZ #14090]
4016 * crypt/md5.c (md5_process_block): Don't assume the buffer
4017 length is less than 2**32.
4018 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4019 length is less than 2**64.
4020
4021 2012-08-15 Roland McGrath <roland@hack.frob.com>
4022
4023 * string/str-two-way.h: Include <sys/param.h>.
4024 (MAX): Macro removed.
4025
4026 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4027 Move #define and #undef of memmove to just before and after
4028 including <string.h>.
4029
4030 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4031 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4032 and after including <string.h>. Move declarations of
4033 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4034 to before #include "string/memmove.c".
4035
4036 * include/dirent.h: Declare __getdirentries.
4037
4038 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4039 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4040
4041 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4042
4043 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4044 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4045 * sysdeps/i386/configure: Regenerated.
4046 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4047 STABS_CURRENT_FILE, and STABS_FUN.
4048 (END): Remove call to STABS_FUN_END.
4049 (STABS_CURRENT_FILE1): Delete.
4050 (STABS_CURRENT_FILE): Likewise.
4051 (STABS_FUN): Likewise.
4052 (STABS_FUN_END): Likewise.
4053 (STABS_FUN2): Likewise.
4054 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4055 * sysdeps/x86_64/configure: Regenerated.
4056
4057 2012-08-14 Roland McGrath <roland@hack.frob.com>
4058
4059 * elf/dl-open.c: Include <atomic.h>.
4060 * elf/dl-lookup.c: Likewise.
4061
4062 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4063
4064 * sysdeps/unix/sysv/linux/kernel-features.h
4065 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4066 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4067 unconditionally.
4068 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4069 unconditionally.
4070 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4071 condition on __ASSUME_CLONE_THREAD_FLAGS.
4072
4073 2012-08-14 Andreas Jaeger <aj@suse.de>
4074
4075 * sysdeps/i386/fpu/libm-test-ulps: Update.
4076
4077 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4078
4079 * include/atomic.h (atomic_exchange_and_add): Split into ...
4080 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4081 New atomic macros.
4082
4083 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4084
4085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4086
4087 2012-08-13 Jeff Law <law@redhat.com>
4088
4089 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4090 null byte in the output string.
4091
4092 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4093
4094 * sysdeps/unix/sysv/linux/kernel-features.h
4095 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4096 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4097 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4099 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4100 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4101 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4102
4103 2012-08-09 Jeff Law <law@redhat.com>
4104
4105 [BZ #13939]
4106 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4107 When avoid_arena is set, don't retry in the that arena. Pick the
4108 next one, whatever it might be.
4109 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4110 (arena_lock): Pass in new parameter to arena_get2.
4111 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4112 arena_get2.
4113 (__libc_malloc): Unify retrying after main arena failure with
4114 __libc_memalign version.
4115 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4116
4117 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4118
4119 [BZ #14166]
4120 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4121 to __redirect_strstr.
4122 (__strstr_sse42): Use typeof __redirect_strstr.
4123 (__strstr_ia32): Likewise.
4124 (__libc_strstr): New prototype.
4125 (strstr): Renamed to ...
4126 (__libc_strstr): This.
4127 (strstr): New strong alias of __libc_strstr.
4128 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4129 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4130 __redirect_time.
4131 Include <time.h>.
4132 (__libc_time): New prototype.
4133 (time_ifunc): Replace time with __libc_time.
4134 (time): New strong alias and hidden definition of __libc_time.
4135 (__GI_time): Remove strong alias.
4136 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4137 Include <stddef.h>.
4138 (memmove): Redefined to __redirect_memmove.
4139 (__memmove_sse2): Use typeof __redirect_memmove.
4140 (__memmove_ssse3): Likewise.
4141 (__memmove_ssse3_back): Likewise.
4142 (__libc_memmove): New prototype.
4143 (memmove): Renamed to ...
4144 (__libc_memmove): This.
4145 (memmove): New strong alias of __libc_memmove.
4146
4147 2012-08-08 Mark Salter <msalter@redhat.com>
4148
4149 * elf/elf.h
4150 (R_MN10300_TLS_GD): Define.
4151 (R_MN10300_TLS_LD): Likewise.
4152 (R_MN10300_TLS_LDO): Likewise.
4153 (R_MN10300_TLS_GOTIE): Likewise.
4154 (R_MN10300_TLS_IE): Likewise.
4155 (R_MN10300_TLS_LE): Likewise.
4156 (R_MN10300_TLS_DTPMOD): Likewise.
4157 (R_MN10300_TLS_DTPOFF): Likewise.
4158 (R_MN10300_TLS_TPOFF): Likewise.
4159 (R_MN10300_SYM_DIFF): Likewise.
4160 (R_MN10300_ALIGN): Likewise.
4161 (R_MN10300_NUM): Update.
4162
4163 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4164
4165 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4166 Remove.
4167
4168 2012-08-08 Roland McGrath <roland@hack.frob.com>
4169
4170 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4171
4172 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4173 sysdeps/unix -> sysdeps/posix move.
4174 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4175
4176 2012-08-07 Allan McRae <allan@archlinux.org>
4177
4178 [BZ #14303]
4179 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4180 (SUNOS_CPP): Likewise.
4181 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4182 not found.
4183 (open_input): Call CPP using execvp.
4184
4185 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4186
4187 * sysdeps/unix/sysv/linux/kernel-features.h
4188 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4189 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4190 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4191 (__ASSUME_WAITID_SYSCALL): Likewise.
4192 * sysdeps/unix/sysv/linux/dl-execstack.c
4193 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4194 code unconditional.
4195 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4196 conditional code.
4197 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4198 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4199 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4200 code.
4201 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4202 unconditional.
4203 [__ASSUME_WAITID_SYSCALL]: Likewise.
4204 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4205
4206 2012-08-07 Roland McGrath <roland@hack.frob.com>
4207
4208 * sysdeps/unix/closedir.c: Renamed to ...
4209 * sysdeps/posix/closedir.c: ... here.
4210 * sysdeps/unix/dirfd.c: Renamed to ...
4211 * sysdeps/posix/dirfd.c: ... here.
4212 * sysdeps/unix/dirstream.h: Renamed to ...
4213 * sysdeps/posix/dirstream.h: ... here.
4214 * sysdeps/unix/fdopendir.c: Renamed to ...
4215 * sysdeps/posix/fdopendir.c: ... here.
4216 * sysdeps/unix/opendir.c: Renamed to ...
4217 * sysdeps/posix/opendir.c: ... here.
4218 * sysdeps/unix/readdir.c: Renamed to ...
4219 * sysdeps/posix/readdir.c: ... here.
4220 * sysdeps/unix/readdir_r.c: Renamed to ...
4221 * sysdeps/posix/readdir_r.c: ... here.
4222 * sysdeps/unix/rewinddir.c: Renamed to ...
4223 * sysdeps/posix/rewinddir.c: ... here.
4224 * sysdeps/unix/seekdir.c: Renamed to ...
4225 * sysdeps/posix/seekdir.c: ... here.
4226 * sysdeps/unix/telldir.c: Renamed to ...
4227 * sysdeps/posix/telldir.c: ... here.
4228 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4229 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4230 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4231 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4232
4233 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4234 * bits/fcntl.h: ... here.
4235
4236 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4237 not 0.
4238 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4239 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4240 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4241 (struct flock): Move l_start, l_len to the beginning.
4242 Use __pid_t for l_pid.
4243 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4244 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4245 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4246 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4247 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4248 [__USE_LARGEFILE64] (struct flock64): New type.
4249 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4250
4251 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4252 * bits/dirent.h: ... here.
4253
4254 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4255 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4256
4257 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4258
4259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4260 Change from 2.6.0 to 2.6.16.
4261 * sysdeps/unix/sysv/linux/configure: Regenerated.
4262 * sysdeps/unix/sysv/linux/kernel-features.h
4263 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4264 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4265 version.
4266 (__ASSUME_UTIMES): Likewise.
4267 (__ASSUME_CLONE_STOPPED): Remove.
4268 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4269 architectures, not kernel version.
4270 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4271 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4272 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4273 (__ASSUME_WAITID_SYSCALL): Likewise.
4274 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4275 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4276 * README: State 2.6.16 as minimum Linux kernel version. Do not
4277 refer to older versions.
4278
4279 2012-08-06 Roland McGrath <roland@hack.frob.com>
4280
4281 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4282 Define alphasort64 as an alias.
4283 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4284 Define versionsort64 as an alias.
4285 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4286 Define scandir64 as an alias.
4287 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4288 Define scandirat64 as an alias.
4289 * dirent/alphasort64.c (alphasort64):
4290 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4291 * dirent/versionsort64.c: Likewise.
4292 * dirent/scandir64.c: Likewise.
4293 * dirent/scandirat64.c: Likewise.
4294 * sysdeps/wordsize-64/alphasort.c: File removed.
4295 * sysdeps/wordsize-64/alphasort64.c: File removed.
4296 * sysdeps/wordsize-64/scandir.c: File removed.
4297 * sysdeps/wordsize-64/scandir64.c: File removed.
4298 * sysdeps/wordsize-64/scandirat.c: File removed.
4299 * sysdeps/wordsize-64/scandirat64.c: File removed.
4300 * sysdeps/wordsize-64/versionsort.c: File removed.
4301 * sysdeps/wordsize-64/versionsort64.c: File removed.
4302 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4303 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4304 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4305 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4306 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4307 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4308 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4309 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4310
4311 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4313 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4315 [defined __arch64__ || defined __sparcv9]
4316 (__INO_T_MATCHES_INO64_T): New macro.
4317 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4318 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4319 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4320 * sysdeps/unix/sysv/linux/bits/dirent.h
4321 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4322 (_DIRENT_MATCHES_DIRENT64): New macro.
4323
4324 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4325 Define lockf64 as an alias.
4326 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4327 Define fseeko64 as an alias.
4328 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4329 Define ftello64 as an alias.
4330 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4331 Define _IO_fgetpos64 and fgetpos64 as aliases.
4332 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4333 Define _IO_fsetpos64 and fsetpos64 as aliases.
4334 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4335 Conditionalize body on this.
4336 * libio/fseeko64.c: Likewise.
4337 * libio/ftello64.c: Likewise.
4338 * libio/iofgetpos64.c: Likewise.
4339 * libio/iofsetpos64.c: Likewise.
4340 * sysdeps/wordsize-64/lockf.c: File removed.
4341 * sysdeps/wordsize-64/lockf64.c: File removed.
4342 * sysdeps/wordsize-64/fseeko.c: File removed.
4343 * sysdeps/wordsize-64/fseeko64.c: File removed.
4344 * sysdeps/wordsize-64/ftello.c: File removed.
4345 * sysdeps/wordsize-64/ftello64.c: File removed.
4346 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4347 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4348 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4349 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4350 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4351 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4356 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4357 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4358 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4359 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4360
4361 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4363 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4365 [defined __arch64__ || defined __sparcv9]
4366 (__OFF_T_MATCHES_OFF64_T): New macro.
4367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4368 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4370 (__OFF_T_MATCHES_OFF64_T): New macro.
4371
4372 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * stdlib/secure-getenv.c (__secure_getenv): Replace
4375 GLIBC_2_16 with GLIBC_2_17.
4376
4377 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4378
4379 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4381
4382 2012-08-03 David S. Miller <davem@davemloft.net>
4383
4384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4385
4386 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4387
4388 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4389 Remove.
4390 (__ASSUME_CORRECT_SI_PID): Likewise.
4391 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4392 (__ASSUME_TMPFS_NAME): Likewise.
4393 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4394 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4395 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4396 (HAVE_AUX_SECURE): Make definition unconditional.
4397 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4398 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4399
4400 2012-08-03 Roland McGrath <roland@hack.frob.com>
4401
4402 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4403 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4404 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4405 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4406 __eloop_threshold instead of SYMLOOP_MAX.
4407
4408 * sysdeps/generic/eloop-threshold.h: New file.
4409 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4410 of MAXSYMLINKS.
4411 * elf/chroot_canon.c (chroot_canon): Likewise.
4412
4413 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4414
4415 [BZ #13717]
4416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4417 Change to 2.6.0 everywhere.
4418 * sysdeps/unix/sysv/linux/configure: Regenerated.
4419 * sysdeps/unix/sysv/linux/kernel-features.h
4420 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4421 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4422 kernel versions.
4423 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4424 (__ASSUME_FUTEX_REQUEUE): Remove.
4425 (__ASSUME_STATFS64): Define unconditionally.
4426 (__ASSUME_AT_SECURE): Likewise.
4427 (__ASSUME_CORRECT_SI_PID): Likewise.
4428 (__ASSUME_TGKILL): Define without depending on kernel version for
4429 i386.
4430 (__ASSUME_UTIMES): Likewise.
4431 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4432 kernel version.
4433 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4434 (__ASSUME_TMPFS_NAME): Likewise.
4435 * README: Update reference to Linux kernel versions.
4436
4437 2012-08-02 Marek Polacek <polacek@redhat.com>
4438
4439 [BZ# 14150]
4440 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4441 libc_cv_asm_type_prefix with %.
4442 * configure: Regenerated.
4443 * include/libc-symbols.h: Remove comment about
4444 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4445 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4446 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4447 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4448 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4449 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4450 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4451 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4452 * elf/tst-unique2mod1.c: Likewise.
4453 * elf/tst-unique1mod2.c: Likewise.
4454 * elf/tst-unique1mod1.c: Likewise.
4455 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4456 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4457 Replace ASM_TYPE_DIRECTIVE with .type.
4458 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4459 * sysdeps/i386/sysdep.h: Likewise.
4460 * sysdeps/x86_64/sysdep.h: Likewise.
4461 * sysdeps/sh/sysdep.h: Likewise.
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4463 Do not define ASM_TYPE_DIRECTIVE.
4464 * sysdeps/powerpc/sysdep.h: Likewise.
4465 * sysdeps/powerpc/powerpc32/sysdep.h:
4466 Replace ASM_TYPE_DIRECTIVE with .type.
4467 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4468 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4469 * sysdeps/i386/fpu/e_powf.S: Likewise.
4470 * sysdeps/i386/fpu/e_expl.S: Likewise.
4471 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4472 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4473 * sysdeps/i386/fpu/e_pow.S: Likewise.
4474 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4475 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4476 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4477 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4478 * sysdeps/i386/fpu/e_log2.S: Likewise.
4479 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4480 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4481 * sysdeps/i386/fpu/e_powl.S: Likewise.
4482 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4483 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4484 * sysdeps/i386/fpu/e_logl.S: Likewise.
4485 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4486 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4487 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4488 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4490 * sysdeps/i386/fpu/e_log.S: Likewise.
4491 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4492 * sysdeps/i386/fpu/e_logf.S: Likewise.
4493 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4494 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4495 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4496 * sysdeps/i386/fpu/e_log10.S: Likewise.
4497 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4498 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4499 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4500 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4501 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4502 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4503 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4504 * sysdeps/i386/i686/strtok.S: Likewise.
4505 * sysdeps/i386/i386-mcount.S: Likewise.
4506 * sysdeps/i386/strtok.S: Likewise.
4507 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4508 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4509 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4510 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4511 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4512 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4513 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4514 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4515 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4516 * sysdeps/x86_64/_mcount.S: Likewise.
4517 * sysdeps/x86_64/strtok.S: Likewise.
4518 * sysdeps/sh/_mcount.S: Likewise.
4519
4520 2012-08-01 Roland McGrath <roland@hack.frob.com>
4521
4522 * libio/iofopen.c: Include <fcntl.h>.
4523 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4524 (_IO_fopen64, fopen64): Define as aliases.
4525 * libio/iofopen64.c: Include <fcntl.h>.
4526 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4527 Conditionalize body on this.
4528 * sysdeps/wordsize-64/iofopen.c: File removed.
4529 * sysdeps/wordsize-64/iofopen64.c: File removed.
4530
4531 2012-08-01 Marek Polacek <polacek@redhat.com>
4532
4533 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4534 Use dlfcn directly instead of a variable.
4535 (binfmt-subdir): Do not define.
4536 (dlfcn): Likewise.
4537
4538 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4539
4540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4541 Remove all definitions.
4542 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4543 <kernel-features.h>.
4544 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4545 (miss_F_GETOWN_EX): Remove all definitions.
4546 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4547 macro definition.
4548 [!__ASSUME_FCNTL64]: Remove conditional code.
4549 [__ASSUME_FCNTL64]: Make code unconditional.
4550 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4551 <kernel-features.h>.
4552 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4553 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4554 (lockf64) [__NR_fcntl64]: Make code unconditional.
4555 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4556
4557 * sysdeps/unix/sysv/linux/kernel-features.h
4558 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4559 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4560 Make code unconditional.
4561 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4562 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4564 [__NR_vfork]: Make code unconditional.
4565 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4566 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4568 [__NR_vfork]: Make code unconditional.
4569 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4570 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4571
4572 2012-08-01 Roland McGrath <roland@hack.frob.com>
4573
4574 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4575 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4576
4577 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4578 Define mkstemp64 as an alias.
4579 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4580 Define mkstemps64 as an alias.
4581 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4582 Define mkostemp64 as an alias.
4583 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4584 Define mkostemps64 as an alias.
4585 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4586 Conditionalize body on this.
4587 * misc/mkostemp64.c: Likewise.
4588 * misc/mkostemps64.c: Likewise.
4589 * misc/mkstemps64.c: Likewise.
4590 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4591 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4592 * sysdeps/wordsize-64/mkostemp.c: File removed.
4593 * sysdeps/wordsize-64/mkstemp.c: File removed.
4594 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4595 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4596 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4598
4599 [BZ #14138]
4600 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4601 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4602 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4603 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4604
4605 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4606 compat_symbol macros from <shlib-compat.h> rather than the underlying
4607 default_symbol_version and symbol_version macros, so that DEFAULT
4608 lines in shlib-versions are respected.
4609 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4610
4611 2012-08-01 Florian Weimer <fweimer@redhat.com>
4612
4613 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4614 Declare with warn_unused_result.
4615 (setgid, setregid, setegid, setresgid): Likewise.
4616 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4617 Likewise.
4618 * WUR-REPORT: Remove set*id functions.
4619
4620 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4621
4622 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4623
4624 2012-07-31 Roland McGrath <roland@hack.frob.com>
4625
4626 * include/sys/socket.h (__libc_accept, __libc_accept4):
4627 Add attribute_hidden.
4628 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4629
4630 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4631 use of PTR_MANGLE.
4632 * inet/getnetgrent_r.c (setup): Likewise.
4633
4634 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4635
4636 2012-07-31 David S. Miller <davem@davemloft.net>
4637
4638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4639
4640 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4641
4642 [BZ #13629]
4643 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4644 value between 1.0 and 2.0 and smaller part has absolute value less
4645 than 1.0.
4646 * math/s_clog10.c (__clog10): Likewise.
4647 * math/s_clog10f.c (__clog10f): Likewise.
4648 * math/s_clog10l.c (__clog10l): Likewise.
4649 * math/s_clogf.c (__clogf): Likewise.
4650 * math/s_clogl.c (__clogl): Likewise.
4651 * math/libm-test.inc (clog_test): Add more tests.
4652 (clog10_test): Likewise.
4653 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4655
4656 2012-07-31 Florian Weimer <fweimer@redhat.com>
4657
4658 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4659 Exit with zero in case no suitable GID is found, and write a
4660 message to standard error.
4661
4662 2012-07-30 Roland McGrath <roland@hack.frob.com>
4663
4664 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4665 rather than to 1.
4666 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4667 (MAXPATHLEN): Removed.
4668 (NOGROUP, NODEV): New macros.
4669 (setbit, clrbit, isset, isclr): New macros.
4670 (howmany, roundup, powerof2): New macros.
4671 (DEV_BSIZE): New macro.
4672
4673 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4674 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4675
4676 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4677 definition on [!__NO_LONG_DOUBLE_MATH].
4678
4679 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4680 PTR_MANGLE and PTR_DEMANGLE.
4681
4682 * socket/accept4.c (accept4): Rename to __libc_accept4.
4683 Define accept4 as a weak alias.
4684
4685 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4686 on [_DIRENT_HAVE_D_TYPE].
4687 * io/ftw.c (ftw_dir): Likewise.
4688
4689 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4690
4691 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4692
4693 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4694 Use the BSD numbers rather than the arbitrary ones we had.
4695 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4696 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4697 (SIGXCPU, SIGXFSZ): New macros.
4698 (_NSIG): Now 32.
4699
4700 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4701 initializer on [_LIBC_REENTRANT].
4702
4703 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4704 definitions inside [_POSIX_MAPPED_FILES].
4705
4706 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4707
4708 * dirent/opendir.c: Include <fcntl.h>.
4709
4710 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4711 (__libc_getspecific): Likewise.
4712 (__libc_key_create): Likewise.
4713
4714 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4715 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4716 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4717 (tmpfile64): Define as alias.
4718 * sysdeps/wordsize-64/tmpfile.c: File removed.
4719 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4720 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4721 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4722
4723 * stdio-common/vfscanf.c: Include <stdbool.h>.
4724 * nss/makedb.c: Likewise.
4725 * stdio-common/_i18n_number.h: Likewise.
4726 * argp/argp-help.c: Likewise.
4727 * posix/wordexp.c: Likewise.
4728 * sysdeps/posix/spawni.c: Likewise.
4729 * nss/nss_files/files-initgroups.c: Likewise.
4730 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4731 * nss/nss_files/files-initgroups.c: Likewise.
4732 * nss/nss_db/db-netgrp.c: Likewise.
4733 * nss/nss_db/db-initgroups.c: Likewise.
4734 * io/fchmodat.c: Include <sys/stat.h>.
4735
4736 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4737 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4738
4739 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4740 [HAVE_MMAP].
4741
4742 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4743 Add multiple inclusion protection.
4744
4745 2012-07-27 David S. Miller <davem@davemloft.net>
4746
4747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4748
4749 2012-07-27 Gary Benson <gbenson@redhat.com>
4750
4751 [BZ #14298]
4752 * elf/rtld.c: Include <stap-probe.h>.
4753 (dl_main): Added static probes "init_start" and "init_complete".
4754 * elf/dl-load.c: Include <stap-probe.h>.
4755 (lose): Take new parameter "nsid".
4756 Added static probe "map_failed".
4757 (_dl_map_object_from_fd): Pass namespace id to lose.
4758 Added static probe "map_start".
4759 (open_verify): Pass namespace id to lose.
4760 * elf/dl-open.c: Include <stap-probe.h>.
4761 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4762 and "reloc_complete".
4763 * elf/dl-close.c: Include <stap-probe.h>.
4764 (_dl_close_worker): Added static probes "unmap_start" and
4765 "unmap_complete".
4766 * elf/rtld-debugger-interface.txt: New file documenting the above.
4767
4768 2012-07-26 Roland McGrath <roland@hack.frob.com>
4769
4770 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4771 rather than a string variable.
4772 * sunrpc/rpc_main.c (h_output): Likewise.
4773 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4774
4775 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4776
4777 * inet/check_native.c: New file.
4778
4779 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4780
4781 [BZ #13629]
4782 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4783 if larger part has absolute value 1.0.
4784 * math/s_clog10.c (__clog10): Likewise.
4785 * math/s_clog10f.c (__clog10f): Likewise.
4786 * math/s_clog10l.c (__clog10l): Likewise.
4787 * math/s_clogf.c (__clogf): Likewise.
4788 * math/s_clogl.c (__clogl): Likewise.
4789 * math/libm-test.inc (clog_test): Add more tests.
4790 (clog10_test): Likewise.
4791 * sysdeps/i386/fpu/libm-test-ulps: Update.
4792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4793
4794 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4795 (pltexit): Likewise.
4796 (La_regs): Likewise.
4797 (La_retval): Likewise.
4798 (int_retval): Likewise.
4799 Update #error for removed macros to refer only to definitions in
4800 tst-audit.h.
4801 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4802 macro.
4803 (pltexit): Likewise.
4804 (La_regs): Likewise.
4805 (La_retval): Likewise.
4806 (int_retval): Likewise.
4807 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4808 macro.
4809 (pltexit): Likewise.
4810 (La_regs): Likewise.
4811 (La_retval): Likewise.
4812 (int_retval): Likewise.
4813 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4814 macro.
4815 (pltexit): Likewise.
4816 (La_regs): Likewise.
4817 (La_retval): Likewise.
4818 (int_retval): Likewise.
4819 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4820 macro.
4821 (pltexit): Likewise.
4822 (La_regs): Likewise.
4823 (La_retval): Likewise.
4824 (int_retval): Likewise.
4825 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4826 macro.
4827 (pltexit): Likewise.
4828 (La_regs): Likewise.
4829 (La_retval): Likewise.
4830 (int_retval): Likewise.
4831 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4832 macro.
4833 (pltexit): Likewise.
4834 (La_regs): Likewise.
4835 (La_retval): Likewise.
4836 (int_retval): Likewise.
4837 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4838 macro definitions in tst-audit.h.
4839 * sysdeps/i386/tst-audit.h: New file.
4840 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4841 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4842 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4843 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4844 * sysdeps/sh/tst-audit.h: Likewise.
4845 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4846 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4847 * sysdeps/x86_64/tst-audit.h: Likewise.
4848
4849 2012-07-26 Andreas Jaeger <aj@suse.de>
4850
4851 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4852 ptrace.
4853
4854 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4855 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4856 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4857 PTRACE_O_MASK.
4858 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4859 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4860 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4861
4862 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4863 value.
4864
4865 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4866 _sigsys.
4867 (si_call_addr, si_syscall, si_arch): Define new macro.
4868 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4869 _sigsys.
4870 (si_call_addr, si_syscall, si_arch): Define new marcro.
4871 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4872 _sigsys.
4873 (si_call_addr, si_syscall, si_arch): Define new macro.
4874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4875 _sigsys.
4876 (si_call_addr, si_syscall, si_arch): Define new macro.
4877
4878 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4879
4880 [BZ #13717]
4881 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4882 Change to 2.4.21 where previously 2.4.1.
4883 * sysdeps/unix/sysv/linux/configure: Regenerated.
4884 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4885 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4886 Linux kernel version.
4887 (__ASSUME_STD_AUXV): Remove.
4888 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4889 kernel version.
4890 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4891 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4892 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4893 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4894 (__ASSUME_NETLINK_SUPPORT): Likewise.
4895 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4896 (__no_netlink_support): Remove conditional definition.
4897 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4898 Remove.
4899 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4900 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4901 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4902 (if_nameindex_ioctl): Remove.
4903 (if_nameindex_netlink): Do not handle __no_netlink_support.
4904 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4905 code.
4906 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4907 Remove conditional code.
4908 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4909 code.
4910 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4911 unconditional.
4912 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4913 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4914 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4915 Remove.
4916 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4917 [!__ASSUME_STD_AUXV]: Remove conditional code.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4919 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4920 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4922 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4923 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4924 code.
4925 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4927 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4928 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4929 conditional code.
4930 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4932 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4933 code.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4935 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4936 conditional code.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4938 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4939 code unconditional.
4940 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4941 conditional code.
4942 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4943 unconditional.
4944 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4945 conditional code.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4947 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4948 unconditional.
4949 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4950 conditional code.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4952 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4953 code unconditional.
4954 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4955 conditional code.
4956 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4957 unconditional.
4958 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4959 conditional code.
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4961 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4962 code unconditional.
4963 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4964 conditional code.
4965 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4966 unconditional.
4967 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4968 conditional code.
4969
4970 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4971
4972 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4973 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4974 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4975 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4976 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4977 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4978 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4979 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4980 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4981 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4982 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4983 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4984 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4985 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4986 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4987 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4988 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4989 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4990 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4992 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4993 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4994 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4995
4996 2012-07-25 Florian Weimer <fweimer@redhat.com>
4997
4998 * Versions.def: Add GLIBC_2.17.
4999 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5000 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5001 Introduce __libc_secure_getenv.
5002 * stdlib/Versions (2.17): Add secure_getenv
5003 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5004 * stdlib/secure-getenv.c: Rename __secure_getenv to
5005 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5006 symbol __secure_getenv for GLIBC_2.0.
5007 * stdlib/tst-secure-getenv.c: New.
5008 * stdlib/Makefile (tests): Add testcase.
5009 * manual/startup.texi (Environment Access): Document
5010 secure_getenv.
5011 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5012 __libc_secure_getenv.
5013 * inet/ruserpass.c (ruserpass): Likewise.
5014 * malloc/mtrace.c (mtrace): Likewise.
5015 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5016 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5017 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5018 * sysdeps/posix/tempname.c: Likewise. Evaluate
5019 HAVE_SECURE_GETENV.
5020 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5021 __secure_getenv to __libc_secure_getenv.
5022 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5024 Likewise.
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5026 Likewise.
5027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5034
5035 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5036
5037 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5038 (struct La_i86_retval): Likewise.
5039 (struct La_x86_64_regs): Likewise.
5040 (struct La_x86_64_retval): Likewise.
5041 (struct La_x32_regs): Likewise.
5042 (struct La_x32_retval): Likewise.
5043 (struct La_ppc32_regs): Likewise.
5044 (struct La_ppc32_retval): Likewise.
5045 (struct La_ppc64_regs): Likewise.
5046 (struct La_ppc64_retval): Likewise.
5047 (struct La_sh_regs): Likewise.
5048 (struct La_sh_retval): Likewise.
5049 (struct La_s390_32_regs): Likewise.
5050 (struct La_s390_32_retval): Likewise.
5051 (struct La_s390_64_regs): Likewise.
5052 (struct La_s390_64_retval): Likewise.
5053 (struct La_sparc32_regs): Likewise.
5054 (struct La_sparc32_retval): Likewise.
5055 (struct La_sparc64_regs): Likewise.
5056 (struct La_sparc64_retval): Likewise.
5057 (struct audit_ifaces): Remove architecture-specific pltenter and
5058 pltexit members.
5059 * sysdeps/i386/ldsodefs.h: New file.
5060 * sysdeps/powerpc/ldsodefs.h: Likewise.
5061 * sysdeps/s390/ldsodefs.h: Likewise.
5062 * sysdeps/sh/ldsodefs.h: Likewise.
5063 * sysdeps/sparc/ldsodefs.h: Likewise.
5064 * sysdeps/x86_64/ldsodefs.h: Likewise.
5065
5066 2012-07-25 Marek Polacek <polacek@redhat.com>
5067
5068 [BZ #6808]
5069 * math/libm-test.inc (yn_test): Add another test.
5070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5071 to ERANGE when the result is +-Inf.
5072 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5073 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5074 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5075 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5076
5077 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5078
5079 * conform/data/time.h-data (NULL): Use macro-constant. Require
5080 equal to 0.
5081 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5082 clock_t.
5083 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5084
5085 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5086
5087 * configure.in <sysdeps resolving>: Correct printing
5088 Implies_before.
5089 * configure: Regenerate.
5090
5091 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5092
5093 * math/w_ilogb.c: Include <limits.h>.
5094 * math/w_ilogbl.c: Likewise.
5095
5096 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5097
5098 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5099 va_copy. Document allowing for unavailable va_copy only as
5100 pre-C99 compatibility.
5101 * manual/string.texi (Copying and Concatenation): Use va_copy
5102 instead of __va_copy in concat example.
5103
5104 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5105
5106 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5107 (__sendto): Use create_address_port. Initialize APORT and deallocate
5108 it if not null.
5109
5110 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5111 with O_NOLINK passed to __file_name_lookup.
5112
5113 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5114 with O_NOLINK passed to __file_name_lookup.
5115
5116 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5117 negative N or less than NGIDS.
5118
5119 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5120 type to string_t. Set ERANGE as errno and return it if NAME is not big
5121 enough. Use memcpy instead of strncpy.
5122
5123 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5124
5125 * elf/Makefile (check-data): Remove.
5126 (localplt.data): New vpath directive.
5127 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5128 instead of $(check-data).
5129 * scripts/data/localplt-generic.data: Move to ...
5130 * sysdeps/generic/localplt.data: ... here.
5131 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5132 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5133 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5135 ... here.
5136 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5138 ... here.
5139 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5141 ... here.
5142 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5144 ... here.
5145 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5147 ... here.
5148 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5150 ... here.
5151
5152 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5153
5154 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5155 PPC32 and PPC64 files.
5156 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5157 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5158
5159 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5160
5161 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5162 __makecontext_ret to ...
5163 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5164 ... here and call exit if uc_link is NULL. New file.
5165 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5166 __makecontext_ret.S.
5167 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5168 __makecontext_ret to ...
5169 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5170 ... here and call exit if uc_link is NULL. New file.
5171 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5172 __makecontext_ret.S.
5173
5174 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5175
5176 * elf/elf.h (R_390_IRELATIVE): New definition.
5177 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5178 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5179 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5180 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5181 (elf_machine_lazy_rel): Likewise.
5182 * sysdeps/s390/dl-irel.h: New file.
5183 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5184 * sysdeps/s390/s390-64/memset.S: New asm code.
5185 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5186 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5187 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5188 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5189 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5190 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5191 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5192 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5193 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5194 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5195 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5196 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5197 * sysdeps/s390/s390-32/memset.S: New asm code.
5198 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5199
5200 2012-07-17 Marek Polacek <polacek@redhat.com>
5201
5202 [BZ #14349]
5203 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5204 * sysdeps/s390/s390-64/configure.in: Likewise.
5205 * sysdeps/sparc/configure.in: Likewise.
5206 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5207 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5208 * sysdeps/i386/configure.in: Likewise.
5209 * sysdeps/x86_64/configure.in: Likewise.
5210 * sysdeps/sh/configure.in: Likewise.
5211 * sysdeps/s390/s390-32/configure: Regenerated.
5212 * sysdeps/s390/s390-64/configure: Likewise.
5213 * sysdeps/x86_64/configure: Likewise.
5214 * sysdeps/sh/configure: Likewise.
5215 * sysdeps/powerpc/powerpc64/configure: Likewise.
5216 * sysdeps/powerpc/powerpc32/configure: Likewise.
5217 * sysdeps/sparc/configure: Likwise.
5218 * sysdeps/i386/configure: Likewise.
5219
5220 * elf/dl-open.c: Comment fixes.
5221
5222 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5223
5224 * Makefile [CXX] (check-data): Remove.
5225 [CXX] (c++-types.data): New vpath directive.
5226 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5227 vpath. Do not allow for C++ type data being missing.
5228 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5229 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5230 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5231 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5232 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5233 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5234 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5236 ... here.
5237 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5239 ... here.
5240 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5242 ... here.
5243 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5245 ... here.
5246 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5248 ... here.
5249 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5251 ... here.
5252 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5254 ... here.
5255 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5257
5258 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5259 definitions to architecture-specific files.
5260 (TLS_IE): Likewise.
5261 (TLS_LD): Likewise.
5262 (TLS_GD): Likewise.
5263 * sysdeps/i386/tls-macros.h: New file.
5264 * sysdeps/powerpc/tls-macros.h: Likewise.
5265 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5266 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5267 * sysdeps/sh/tls-macros.h: Likewise.
5268 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5269 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5270 * sysdeps/x86_64/tls-macros.h: Likewise.
5271
5272 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5273
5274 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5275 zero value for regular exit case.
5276
5277 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5278 (__start_context): Preserve zero value for regular exit case.
5279
5280 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5281 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5282
5283 * manual/setjmp.texi (setcontext): Clarify normal process
5284 termination when uc_link is the null pointer.
5285 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5286 exit call.
5287
5288 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5289
5290 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5291 preprocessor. Test for each exception mask separately.
5292
5293 2012-07-16 Andreas Jaeger <aj@suse.de>
5294
5295 * po/ru.po: Update from translation team.
5296
5297 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5298
5299 * conform/data/string.h-data (NULL): Use macro-constant. Require
5300 equal to 0.
5301 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5302 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5303 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5304 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5305 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5306
5307 2012-07-13 Andreas Jaeger <aj@suse.de>
5308
5309 * po/fr.po: Update from translation team.
5310
5311 2012-07-12 Marek Polacek <polacek@redhat.com>
5312
5313 [BZ #14173]
5314 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5315 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5316 loop condition.
5317
5318 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5319
5320 [BZ #13717]
5321 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5322 Change to 2.4.1 where previously 2.4.0.
5323 * sysdeps/unix/sysv/linux/configure: Regenerated.
5324 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5325 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5326 version.
5327 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5328 (__ASSUME_AT_CLKTCK): Remove.
5329 (__ASSUME_AT_PAGESIZE): Likewise.
5330 (__ASSUME_AT_XID): Likewise.
5331 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5332 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5333 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5334 unconditionally.
5335 (HAVE_AUX_PAGESIZE): Likewise.
5336 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5337 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5338 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5339
5340 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5341
5342 [BZ #14307]
5343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5344 the temporary buffer used to invoke __gethostbyname2_r,
5345 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5346 host_data / struct gaih_addrtuple.
5347 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5348 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5349 header file nss/nsswitch.h.
5350 * nss/nsswitch.h (global scope): Add definition of implementation
5351 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5352 resolv/nss_dns/dns-host.c).
5353
5354 2012-07-11 Andreas Jaeger <aj@suse.de>
5355
5356 * po/fr.po: Update from translation team.
5357
5358 * po/sv.po: Update from translation team
5359 * po/fr.po: Another update from translation team.
5360
5361 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5362
5363 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5364 for subnormals or multiply small sinh result by itself.
5365 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5367
5368 2012-07-11 David S. Miller <davem@davemloft.net>
5369
5370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5371
5372 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5373
5374 [BZ #14347]
5375 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5376 (INTERNAL_MARK): Shift it here.
5377
5378 2012-07-10 Marek Polacek <polacek@redhat.com>
5379
5380 [BZ #14151]
5381 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5382 libc_cv_asm_global_directive with .globl.
5383 * configure: Regenerated.
5384 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5385 with .globl.
5386 * sysdeps/i386/configure: Regenerated.
5387 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5388 with .globl.
5389 * sysdeps/x86_64/configure: Regenerated.
5390 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5391 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5392 * elf/tst-unique2mod2.c: Likewise.
5393 * elf/tst-unique2mod1.c: Likewise.
5394 * elf/tst-unique1mod2.c: Likewise.
5395 * elf/tst-unique1mod1.c: Likewise.
5396 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5397 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5398 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5399 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5400 * sysdeps/mach/sysdep.h: Likewise.
5401 * sysdeps/i386/sysdep.h: Likewise.
5402 * sysdeps/i386/i386-mcount.S: Likewise.
5403 * sysdeps/x86_64/_mcount.S: Likewise.
5404 * sysdeps/x86_64/sysdep.h: Likewise.
5405 * sysdeps/sh/_mcount.S: Likewise.
5406 * sysdeps/sh/sysdep.h: Likewise.
5407 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5408 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5409 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5410 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5411 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5412 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5413 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5414 * locale/localeinfo.h: Likewise.
5415 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5416 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5417
5418 2012-07-09 Roland McGrath <roland@hack.frob.com>
5419
5420 [BZ #14336]
5421 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5422 system".
5423 * manual/message.texi (The Uniforum approach): Likewise.
5424 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5425 (glibc iconv Implementation): Likewise.
5426
5427 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5428
5429 [BZ #14337]
5430 * math/s_clog.c (__clog): Avoid scaling a value down where that
5431 could result in underflow.
5432 * math/s_clog10.c (__clog10): Likewise.
5433 * math/s_clog10f.c (__clog10f): Likewise.
5434 * math/s_clog10l.c (__clog10l): Likewise.
5435 * math/s_clogf.c (__clogf): Likewise.
5436 * math/s_clogl.c (__clogl): Likewise.
5437 * math/libm-test.inc (clog_test): Add more tests.
5438 (clog10_test): Likewise.
5439 * sysdeps/i386/fpu/libm-test-ulps: Update.
5440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5441
5442 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5443
5444 [BZ #14283]
5445 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5446 by 7 not 8 to examine high bit of fractional part.
5447
5448 [BZ #14042]
5449 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5450 for call to __mcount_internal.
5451 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5452 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5453 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5454
5455 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5456
5457 [BZ #14154]
5458 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5459 approximation for values within 0x1p-13f of an odd multiple of
5460 pi/4.
5461 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5462 exception. Add more tests.
5463 * sysdeps/i386/fpu/libm-test-ulps: Update.
5464
5465 [BZ #6778]
5466 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5467 inputs and return -1 for them. Do not check for +Inf in case not
5468 reachable for +Inf.
5469 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5470 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5471 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5472 and return -1 for them. Do not check for +Inf in case not
5473 reachable for +Inf.
5474 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5475 define.
5476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5477 and return -1 for them. Do not check for +Inf in case not
5478 reachable for +Inf.
5479 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5480 spurious underflow.
5481 * sysdeps/i386/fpu/libm-test-ulps: Update.
5482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5483
5484 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5485
5486 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5487
5488 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5489
5490 [BZ #14157]
5491 [BZ #14331]
5492 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5493 could result in spurious underflow. Scale down values above
5494 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5495 * math/s_csqrtf.c (__csqrtf): Likewise.
5496 * math/s_csqrtl.c (__csqrtl): Likewise.
5497 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5498 spurious underflow.
5499 * sysdeps/i386/fpu/libm-test-ulps: Update.
5500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5501
5502 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5503
5504 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5505 xopen-msg.sed.
5506 * catgets/xopen-msg.awk: New file.
5507 * catgets/xopen-msg.sed: Removed.
5508
5509 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5510 po2text.sed.
5511 * intl/po2test.awk: New file.
5512 * intl/po2test.sed: Removed.
5513
5514 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5515
5516 [BZ #14328]
5517 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5518 or multiply small sinh result by itself.
5519 * math/s_ctanf.c (__ctanf): Likewise.
5520 * math/s_ctanh.c (__ctanh): Likewise.
5521 * math/s_ctanhf.c (__ctanhf): Likewise.
5522 * math/s_ctanhl.c (__ctanhl): Likewise.
5523 * math/s_ctanl.c (__ctanl): Likewise.
5524 * math/libm-test.inc (ctan_test_tonearest): New function.
5525 (ctan_test_towardzero): Likewise.
5526 (ctan_test_downward): Likewise.
5527 (ctan_test_upward): Likewise.
5528 (ctanh_test_tonearest): Likewise.
5529 (ctanh_test_towardzero): Likewise.
5530 (ctanh_test_downward): Likewise.
5531 (ctanh_test_upward): Likewise.
5532 (main): Call these new functions.
5533 * sysdeps/i386/fpu/libm-test-ulps: Update.
5534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5535
5536 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5537
5538 * .gitignore: Delete /ports entry.
5539
5540 2012-07-03 Andreas Jaeger <aj@suse.de>
5541
5542 * po/bg.po: Update from translation team.
5543 * po/cs.po: Likewise.
5544 * po/de.po: Likewise.
5545 * po/hr.po: Likewise.
5546 * po/nl.pl: Likewise.
5547 * po/pl.po: Likewise.
5548 * po/vi.po: Likewise.
5549
5550 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5551
5552 * Makeconfig [!+link] (+link-before-libc): New variable.
5553 [!+link] (+link-after-libc): Likewise.
5554 [!+link] (+link-tests): Likewise.
5555 [!+link] (+link): Define in terms of $(+link-before-libc) and
5556 $(+link-after-libc).
5557 [!+link-static] (+link-static-before-libc): New variable.
5558 [!+link-static] (+link-static-after-libc): Likewise.
5559 [!+link-static] (+link-static-tests): Likewise.
5560 [!+link-static] (+link-static): Define in terms of
5561 $(+link-static-before-libc) and $(+link-static-after-libc).
5562 [build-shared] (link-libc-before-gnulib): New variable.
5563 [build-shared] (link-libc-tests): Likewise.
5564 [build-shared] (link-libc): Define in terms of
5565 $(link-libc-before-gnulib).
5566 [!build-shared] (link-libc-tests): New variable.
5567 (link-libc-static-tests): New variable.
5568 [!gnulib] (gnulib-arch): New variable.
5569 [!gnulib] (gnulib-tests): Likewise.
5570 [!gnulib] (static-gnulib-arch): Likewise.
5571 [!gnulib] (static-gnulib-tests): Likewise.
5572 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5573 Define with "=" instead of ":=".
5574 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5575 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5576 * Rules (binaries-all-notests): New variable.
5577 (binaries-all-tests): Likewise.
5578 (binaries-static-notests): Likewise.
5579 (binaries-static-tests): Likewise.
5580 (binaries-all): Define using $(binaries-all-notests) and
5581 $(binaries-all-tests).
5582 (binaries-static): Define using $(binaries-static-notests) and
5583 $(binaries-static-tests).
5584 (binaries-shared-tests): New variable.
5585 (binaries-shared-notests): Likewise.
5586 (binaries-shared): Remove variable.
5587 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5588 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5589 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5590 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5591 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5592 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5593 * elf/Makefile (sln-modules): New variable.
5594 (extra-objs): Add $(sln-modules:=.o).
5595 (ldconfig-modules): Add static-stubs.
5596 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5597 * elf/static-stubs.c: New file.
5598
5599 [BZ #14283]
5600 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5601 by 7 not 8 to examine high bit of fractional part. Use volatile
5602 variables when splitting into final array of floats if
5603 __FLT_EVAL_METHOD__ != 0.
5604 * math/libm-test.inc (cos_test): Add another test.
5605 (sin_test): Likewise.
5606 * sysdeps/i386/fpu/libm-test-ulps: Update.
5607
5608 [BZ #14273]
5609 * math/libm-test.inc (cosh_test): Add more tests.
5610
5611 * version.h (RELEASE): Set to "development".
5612 (VERSION): Set to "2.16.90".
5613
5614 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5615
5616 * NEWS: Update copyright. Remove last-updated date.
5617 Mention math library bug fixes and timezone data changes.
5618 * README: Mention GNU/Hurd, x32, and HPPA support status.
5619
5620 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5621
5622 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5623
5624 2012-06-27 Andreas Jaeger <aj@suse.de>
5625
5626 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5627
5628 2012-06-25 Andreas Jaeger <aj@suse.de>
5629
5630 * sysdeps/s390/fpu/libm-test-ulps: Update.
5631
5632 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5633 Thomas Schwinge <thomas@codesourcery.com>
5634
5635 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5636 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5638 fanotify_mark.
5639
5640 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5641
5642 * sysdeps/mach/start.c: Remove file.
5643 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5644 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5645 * sysdeps/sh/init-first.c: Likewise.
5646
5647 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5648 registers for frame unwinding purposes, add CFI directives.
5649 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5650 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5651 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5652 Likewise.
5653
5654 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5655 __fortify_fail returning.
5656 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5657
5658 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5659 sysdeps/sh/____longjmp_chk.S.
5660 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5661 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5662 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5663 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5664
5665 * sysdeps/sh/abort-instr.h: New file.
5666 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5667 process in case exit returns.
5668
5669 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5670 initialize the GOT register before use.
5671
5672 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5673 calculation of ARGC > 4.
5674
5675 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5676 meaningful names to some local labels.
5677
5678 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5679 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5680
5681 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5682 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5683 (__arch_compare_and_exchange_val_16_acq): Likewise.
5684 (__arch_compare_and_exchange_val_32_acq): Likewise.
5685 (atomic_exchange_and_add): Fix gUSA sequence.
5686 (atomic_add): Likewise.
5687 (atomic_add_negative): Likewise.
5688 (atomic_add_zero): Likewise.
5689 (atomic_bit_test_set): Likewise.
5690
5691 2012-06-22 Andreas Schwab <schwab@redhat.com>
5692
5693 [BZ #13579]
5694 * include/link.h (struct link_map): Add l_free_initfini.
5695 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5696 l_initfini.
5697 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5698 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5699 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5700 set.
5701
5702 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5703
5704 * configure.in: Use AC_LANG_SOURCE.
5705 * configure: Regenerate.
5706
5707 2012-06-22 Roland McGrath <roland@hack.frob.com>
5708
5709 * configure.in (libc_cv_localstatedir): New substituted variable.
5710 * configure: Regenerated.
5711 * config.make.in (localstatedir): New variable, substituted from
5712 libc_cv_localstatedir.
5713 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5714 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5715 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5716 * sysdeps/gnu/configure: Regenerated.
5717
5718 2012-06-21 Jeff Law <law@redhat.com>
5719
5720 [BZ #14277]
5721 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5722 free. Simplify list management for _LIBC case.
5723
5724 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5725
5726 [BZ #14273]
5727 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5728 Clear sign bit of 64-bit integer value before comparing against
5729 overflow value.
5730
5731 * sysdeps/mach/configure: Regenerated.
5732
5733 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5734
5735 [BZ #14278]
5736 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5737
5738 2012-06-21 Jeff Law <law@redhat.com>
5739
5740 [BZ #13882]
5741 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5742 uint16_t for elements in the "seen" array to avoid char overflows.
5743 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5744 * elf/dl-open.c (dl_open_worker): Likewise.
5745
5746 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5747
5748 * scripts/list-sources.sh: Scan PORTS for translations.
5749 * po/libc.pot: Regenerated.
5750
5751 2012-06-21 Andreas Jaeger <aj@suse.de>
5752
5753 [BZ #12194]
5754 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5755 warning.
5756 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5757 * bits/byteswap-16.h (__bswap_16): Likewise.
5758 * bits/byteswap.h (__bswap_constant_16): Likewise.
5759
5760 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 [BZ #14117]
5763 * sysdeps/i386/fpu_control.h: Removed.
5764 * sysdeps/x86_64/fpu_control.h: Moved to ...
5765 * sysdeps/x86/fpu_control.h: Here.
5766
5767 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5768 (_FPU_SETCW): Likewise.
5769
5770 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5771
5772 [BZ #14117]
5773 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5774 * sysdeps/x86/fpu/bits/mathinline.h: This.
5775 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5776
5777 [BZ #14050]
5778 [BZ #14117]
5779 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5780 functions if __x86_64__ is defined.
5781
5782 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5783
5784 * string/endian.h: Add !__ASSEMBLER__ condition for including
5785 conversion interfaces.
5786
5787 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5788
5789 [BZ #14241]
5790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5791 of ABS(x) in calculating zero to negative powers other than odd
5792 integers.
5793 * math/libm-test.inc (pow_test): Add more tests.
5794
5795 2012-06-15 Andreas Jaeger <aj@suse.de>
5796
5797 * manual/contrib.texi (Contributors): Update entry of Liubov
5798 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5799 Machado Filho.
5800
5801 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5802
5803 * string/string.h: Add __wur to GNU version of strerror_r.
5804
5805 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5806
5807 [BZ #14229]
5808 * string/Makefile (tests): Add tst-strtok_r.
5809 * string/tst-strtok_r.c: New file.
5810 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5811 RAX_LP/RDX_LP on SAVE_PTR.
5812
5813 2012-06-14 Roland McGrath <roland@hack.frob.com>
5814
5815 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5816
5817 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5818
5819 * libm_test.inc (csqrt_test): Allow more spurious underflow
5820 exceptions.
5821 (j0_test): Likewise.
5822 (j1_test): Likewise.
5823 (y0_test): Likewise.
5824 (y1_test): Likewise.
5825
5826 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5827
5828 * po/Makefile (libc.pot): Use UTF-8 charset.
5829
5830 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5831
5832 [BZ #14210]
5833 Suppress sign-conversion warning from FD_SET.
5834 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5835 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5836 not unsigned long int.
5837 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5838
5839 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5840
5841 [BZ #14050]
5842 [BZ #14117]
5843 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5844 __extern_always_inline instead of __extern_inline.
5845 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5846 (__signbit): Likewise.
5847 (__signbitl): Support C++ namespace.
5848 (lrintf): New inline function.
5849 (lrint): Likewise.
5850 (llrintf): Likewise.
5851 (llrint): Likewise.
5852 (fmaxf): Likewise.
5853 (fmax): Likewise.
5854 (fminf): Likewise.
5855 (fmin): Likewise.
5856 (rint): Likewise.
5857 (rintf): Likewise.
5858 (ceil): Likewise.
5859 (ceilf): Likewise.
5860 (floor): Likewise.
5861 (floorf): Likewise.
5862 (nearbyint): Likewise.
5863 (nearbyintf): Likewise.
5864
5865 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5866
5867 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5868 non-default versions.
5869
5870 2012-06-11 Roland McGrath <roland@hack.frob.com>
5871
5872 [BZ #14218]
5873 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5874
5875 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5876
5877 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5878 (FE_UPWARD, FE_DOWNWARD): Don't define.
5879 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5880 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5881
5882 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5883 reading it.
5884 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5885 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5886
5887 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5888
5889 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5891 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5892 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5893
5894 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5895
5896 [BZ #14117]
5897 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5898 * sysdeps/i386/fpu/Implies: New file.
5899 * sysdeps/x86_64/fpu/Implies: Likewise.
5900 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5901 * sysdeps/x86/fpu/bits/fenv.h: This.
5902
5903 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5904 __SSE_MATH__.
5905
5906 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5907
5908 [BZ #14134]
5909 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5910 character 0xffff that matches the last element of the
5911 conversion table.
5912
5913 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5914
5915 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5916 fmodl commit.
5917
5918 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5919
5920 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5921 values higher than 25.6283.
5922
5923 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5926 subnormal exponent extraction and add some __builtin_expect.
5927 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5928 Fix for subnormal mantissa calculation.
5929
5930 2012-06-04 Mike Frysinger <vapier@gentoo.org>
5931
5932 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5933 cpu2 is -1 and errno is not ENOSYS.
5934
5935 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5936
5937 [BZ #14117]
5938 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5939 * sysdeps/x86/bits/string.h: This.
5940 * sysdeps/x86_64/bits/string.h: Removed.
5941
5942 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5943 if not compiling for x86-64, but compiling for >= i486.
5944
5945 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5946 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5947
5948 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5949 New macro from Linux kernel 3.4.0.
5950 (FP_XSTATE_MAGIC2): Likewise.
5951 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5952 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5953 (struct _fpx_sw_bytes): New struct.
5954 (struct _xsave_hdr): Likewise.
5955 (struct _ymmh_state): Likewise.
5956 (struct _xstate): Likewise.
5957
5958 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5959 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5960 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5961 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5962 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5963 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5964
5965 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5966 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5967 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5968 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5969 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5970 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5971
5972 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5973
5974 [BZ #13743]
5975 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5976 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5977 (sysdep_headers): Include sys/platform/ppc.h.
5978 * sysdeps/powerpc/test-gettimebase.c: Test for
5979 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5980 * manual/Makefile (appendices): Include platform.texi.
5981 * manual/contrib.texi (Contributors): Update @node pointers.
5982 * manual/maint.texi (Maintenance): Likewise.
5983 (Platform): New node.
5984 * manual/platform.texi: New file. Document the new features.
5985
5986 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5987 Jakub Jelinek <jakub@redhat.com>
5988
5989 [BZ #14188]
5990 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5991 where __builtin_expect is unavailable.
5992
5993 2012-06-03 David S. Miller <davem@davemloft.net>
5994
5995 * stdlib/longlong.h: Updated from GCC.
5996
5997 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5998
5999 [BZ #14042]
6000 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6001 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6002 __mcount_internal.
6003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6004 (GLIBC_2.16): Likewise.
6005
6006 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6007
6008 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6009
6010 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6011
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6013 (default-abi): New variable.
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6015 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6016 variable.
6017 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6018 Likewise.
6019 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6020 Likewise.
6021 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6022 Likewise.
6023
6024 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6025 definition. Document in comment.
6026
6027 2012-06-01 David S. Miller <davem@davemloft.net>
6028
6029 * stdlib/longlong.h: Updated from GCC.
6030
6031 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6032
6033 [BZ #14117]
6034 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6035 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6036 sys/debugreg.h sys/io.h here.
6037 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6038 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6039 sys/io.h.
6040 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6041 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6042 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6043 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6044 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6045 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6046
6047 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6048 Define only if __x86_64__ is defined.
6049
6050 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6051
6052 [BZ #14048]
6053 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6054 Use int64_t for variable i.
6055 * math/libm-test.inc (fmod_test): Add more tests.
6056
6057 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6058 z computation is not scheduled after fetestexcept.
6059 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6060 Use math_force_eval instead of asm to ensure calculation scheduled
6061 before exception test.
6062 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6063 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6064
6065 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6066
6067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6068 computation is not scheduled after fetestexcept.
6069
6070 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6071
6072 [BZ #14117]
6073 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6074 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6075
6076 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6077
6078 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6079 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6080
6081 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6082
6083 [BZ #14117]
6084 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6085 <bits/wordsize.h>.
6086 (__WCHAR_MIN): Support __WORDSIZE == 64.
6087 (__WCHAR_MAX): Likewise.
6088
6089 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6090 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6091
6092 [BZ #14183]
6093 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6094 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6095
6096 [BZ #14117]
6097 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6098 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6099
6100 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6101 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6102
6103 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6104 Defined to 1 if __x86_64__ isn't defined.
6105 (_STAT_VER_LINUX_OLD): New.
6106 (st_atime): Remove duplicate.
6107 (st_mtime): Likewise.
6108 (st_ctime): Likewise.
6109
6110 2012-05-31 David S. Miller <davem@davemloft.net>
6111
6112 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6113 entries.
6114
6115 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6116
6117 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6118 gen-libm-test.pl.
6119
6120 [BZ #14132]
6121 * elf/dl-reloc.c: Include <_itoa.h>.
6122 (_dl_reloc_bad_type): Remove use of INTUSE.
6123 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6124 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6125 * stdio-common/psiginfo.c (psiginfo): Likewise.
6126 * stdio-common/psignal.c (psignal): Likewise.
6127 * string/strsignal.c (strsignal): Likewise.
6128 * include/signal.h (_sys_siglist): Declare hidden proto.
6129 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6130 INTVARDEF with libc_hidden_data_def.
6131 * stdio-common/itoa-udigits.c: Likewise.
6132 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6133 (_itoa_lower_digits_internal): Remove declaration.
6134 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6135 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6136 (_sys_sigabbrev_internal): Remove aliases.
6137 (_sys_siglist): Define hidden alias.
6138
6139 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6140
6141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6142 bits/sysctl.h.
6143
6144 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6145
6146 [BZ #14117]
6147 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6148 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6149
6150 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6151 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6152 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6153 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6154 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6155 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6156
6157 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6158 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6159 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6160
6161 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6162 with __addr.
6163 (insw): Likewise.
6164 (insl): Likewise.
6165 (outsb): Likewise.
6166 (outsw): Likewise.
6167 (outsl): Likewise.
6168
6169 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6171 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6172
6173 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6174 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6176 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6177 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6178 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6179
6180 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6181 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6182
6183 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6184 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6185
6186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6187 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6188 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6189
6190 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6191 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6192 to ...
6193 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6194
6195 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6196 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6197 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6198
6199 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6200 for x86-64.
6201 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6202
6203 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6204
6205 * math/math.h (M_El): Use two more decimal places.
6206 (M_LOG2El): Likewise.
6207 (M_LOG10El): Likewise.
6208 (M_LN2l): Likewise.
6209 (M_LN10l): Likewise.
6210 (M_PIl): Likewise.
6211 (M_PI_2l): Likewise.
6212 (M_PI_4l): Likewise.
6213 (M_1_PIl): Likewise.
6214 (M_2_PIl): Likewise.
6215 (M_2_SQRTPIl): Likewise.
6216 (M_SQRT2l): Likewise.
6217 (M_SQRT1_2l): Likewise.
6218
6219 2012-05-31 David S. Miller <davem@davemloft.net>
6220
6221 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6222 values between float registers.
6223 * sysdeps/sparc/sparc64/memset.S: Likewise.
6224 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6225
6226 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6227
6228 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6229 -D_FORTIFY_SOURCE=1.
6230 (CPPFLAGS-tst-longjmp_chk.c): Define.
6231 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6232 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6233 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6234 CFLAGS-tst-wchar-h.c.
6235
6236 2012-05-31 Marek Polacek <polacek@redhat.com>
6237
6238 [BZ #14132]
6239 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6240 __endmntent_internal): Remove declaration.
6241 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6242 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6243 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6244
6245 2012-05-30 David S. Miller <davem@davemloft.net>
6246
6247 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6248 (___Q_simulate_exceptions): Use real FP ops rather than writing
6249 into the %fsr.
6250 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6251 Likewise.
6252
6253 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6254
6255 [BZ #14117]
6256 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6257 * sysdeps/x86/bits/xtitypes.h: This.
6258
6259 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6260 * sysdeps/x86/bits/wordsize.h: This.
6261
6262 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6263 * sysdeps/x86/bits/huge_vall.h: This.
6264
6265 * sysdeps/i386/bits/select.h: Removed.
6266 * sysdeps/x86_64/bits/select.h: Renamed to ...
6267 * sysdeps/x86/bits/select.h: This.
6268
6269 * sysdeps/i386/bits/setjmp.h: Removed.
6270 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6271 * sysdeps/x86/bits/setjmp.h: This.
6272
6273 * sysdeps/i386/bits/mathdef.h: Removed.
6274 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6275 * sysdeps/x86/bits/mathdef.h: This.
6276
6277 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6278
6279 [BZ #14132]
6280 * include/sys/socket.h (__connect_internal)
6281 (__libc_sa_len_internal): Remove declaration.
6282 (__connect, __libc_sa_len): Declare hidden_proto.
6283 (SA_LEN): Remove use of INTUSE.
6284 * socket/connect.c: Add libc_hidden_def.
6285 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6286 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6287 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6288 alias.
6289 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6290 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6291 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6292 of adding _internal alias.
6293
6294 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6295
6296 [BZ #14117]
6297 * sysdeps/i386/bits/link.h: Removed.
6298 * sysdeps/i386/bits/linkmap.h: Likewise.
6299 * sysdeps/x86_64/bits/link.h: Renamed to ...
6300 * sysdeps/x86/bits/link.h: This.
6301 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6302 * sysdeps/x86/bits/linkmap.h: This.
6303
6304 * sysdeps/i386/bits/endian.h: Removed.
6305 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6306 * sysdeps/x86/bits/endian.h: This.
6307
6308 * sysdeps/i386/bits/byteswap.h: Removed.
6309 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6310 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6311 * sysdeps/x86/bits/byteswap.h: This.
6312 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6313 * sysdeps/x86/bits/byteswap-16.h: This.
6314 * sysdeps/i386/Implies: Add x86.
6315 * sysdeps/x86_64/Implies: Likewise.
6316
6317 2012-05-30 David S. Miller <davem@davemloft.net>
6318
6319 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6320 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6321 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6322 (FP_TRAPPING_EXCEPTIONS): Define.
6323 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6324 (FP_TRAPPING_EXCEPTIONS): Define.
6325 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6326 subnormals only when inexact has been signalled or underflow
6327 exceptions are enabled.
6328 (_FP_PACK_CANONICAL): Likewise.
6329
6330 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6331
6332 [BZ #14183]
6333 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6334 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6335
6336 2012-05-30 Richard Henderson <rth@twiddle.net>
6337
6338 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6339 with #ifndef NOT_IN_libc.
6340
6341 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6342 marked to avoid plt entry.
6343
6344 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6345
6346 [BZ #14112]
6347 * Makeconfig (default-abi): New macro.
6348 (abi-includes): Likewise.
6349 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6350 $(abi-$(default-abi)-lib-soname) for soname if defined.
6351 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6352 abi-variants.
6353 * Makefile (installed-stubs): Likewise.
6354 * include/stubs-biarch.h: Removed.
6355 * scripts/lib-names.awk: Only handle one library at a time.
6356 * scripts/soversions.awk: Remove WORDSIZE support.
6357 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6358 entries.
6359 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6360 Removed.
6361 (syscall-list-default-condition): Likewise.
6362 (syscall-list-default-condition): Likewise.
6363 (syscall-list-includes): Likewise.
6364 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6365 syscall-list-* with abi-*. Handle undefined abi-variants.
6366 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6367 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6368 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6369 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6370 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6371 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6372 Removed.
6373 (syscall-list-32-options): Likewise.
6374 (syscall-list-32-condition): Likewise.
6375 (syscall-list-64-options): Likewise.
6376 (syscall-list-64-condition): Likewise.
6377 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6378 macro.
6379 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6380 Renamed to ...
6381 (abi-*): This.
6382 (abi-64-ld-soname): New macro.
6383 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6384 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6385 Renamed to ...
6386 (abi-*): This.
6387 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6388 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6389
6390 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6391
6392 * sysdeps/unix/sysv/linux/kernel-features.h
6393 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6394 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6395 include <kernel-features.h>.
6396 [!__NR_ftruncate64]: Remove conditional code.
6397 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6398 [__NR_ftruncate64]: Make code unconditional.
6399 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6400 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6401 include <kernel-features.h>.
6402 [!__NR_ftruncate64]: Remove conditional code.
6403 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6404 [__NR_ftruncate64]: Make code unconditional.
6405 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6407 include <kernel-features.h>.
6408 [!__NR_ftruncate64]: Remove conditional code.
6409 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6410 [__NR_ftruncate64]: Make code unconditional.
6411 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6413 include <kernel-features.h>.
6414 [!__NR_ftruncate64]: Remove conditional code.
6415 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6416 [__NR_ftruncate64]: Make code unconditional.
6417 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6418
6419 * configure.in (libc_cv_fpie): Weaken to a compile test using
6420 LIBC_TRY_CC_OPTION.
6421 * configure: Regenerated.
6422
6423 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6424
6425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6429 Refreshed.
6430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6436 Refreshed.
6437
6438 2012-05-27 David S. Miller <davem@davemloft.net>
6439
6440 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6441 (___Q_zero): New.
6442 (__Q_simulate_exceptions): Return void. Change to simulate
6443 exceptions by writing into the %fsr.
6444 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6445 (__Qp_handle_exceptions): Likewise.
6446 (numbers): Delete.
6447 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6448 __Qp_handle_exceptions.
6449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6450 __Qp_handle_exceptions.
6451 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6452 as unused and give dummy FP_RND_NEAREST initializer.
6453 (FP_INHIBIT_RESULTS): Define.
6454 (___Q_simulate_exceptions): Update declaration.
6455 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6456 formatting.
6457 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6458 as unused and give dummy FP_RND_NEAREST initializer.
6459 (__Qp_handle_exceptions): Update declaration.
6460 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6461 formatting.
6462
6463 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6464
6465 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6466 the temporary FPU control word.
6467 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6468 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6469 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6470 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6471 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6472 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6473 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6474 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6475 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6476 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6477 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6478
6479 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6480
6481 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6482 fields.
6483
6484 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6485
6486 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6487 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6488 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6489 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6490 Likewise.
6491 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6492 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6493 Likewise.
6494
6495 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6496
6497 * po/h.po: Update from translation team.
6498
6499 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6500
6501 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6502
6503 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6504 handling of denormals.
6505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6506 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6507 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6508 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6511 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6512 Likewise.
6513
6514 2012-05-26 Marek Polacek <polacek@redhat.com>
6515
6516 [BZ #14152]
6517 * math/libm-test.inc (fma_test): Don't always expect underflow
6518 exception.
6519
6520 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6521
6522 [BZ #12416]
6523 * elf/tst-execstack.c: Include stackinfo.h.
6524 (do_test): Adjust test case to ensure that pthread_getattr_np
6525 behaviour remains the same after marking stack executable.
6526
6527 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6528
6529 * sysdeps/unix/sysv/linux/kernel-features.h
6530 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6531 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6532 kernel-features.h.
6533 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6534 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6535 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6536 kernel-features.h.
6537 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6538 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6539
6540 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6541
6542 * configure.in: Define the default includes to being none.
6543 * configure: Regenerated.
6544
6545 2012-05-25 Roland McGrath <roland@hack.frob.com>
6546
6547 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6548 * sysdeps/x86_64/setjmp.S: Likewise.
6549 * sysdeps/i386/bsd-setjmp.S: Likewise.
6550 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6551 * sysdeps/i386/setjmp.S: Likewise.
6552 * sysdeps/i386/__longjmp.S: Likewise.
6553 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6554 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6555
6556 * include/stap-probe.h: New file.
6557 * configure.in: Handle --enable-systemtap.
6558 * configure: Regenerated.
6559 * config.h.in (USE_STAP_PROBE): New #undef.
6560 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6561 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6562 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6563
6564 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6565
6566 [BZ #13717]
6567 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6568 to 2.4.0 where earlier.
6569 * sysdeps/unix/sysv/linux/configure: Regenerated.
6570 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6571 <kernel-features.h>.
6572 [__ASSUME_32BITUIDS]: Make code unconditional.
6573 [!__ASSUME_32BITUIDS]: Remove conditional code.
6574 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6575 <kernel-features.h>.
6576 [__ASSUME_32BITUIDS]: Make code unconditional.
6577 [!__ASSUME_32BITUIDS]: Remove conditional code.
6578 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6579 [__ASSUME_32BITUIDS]: Make code unconditional.
6580 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6581 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6582 <kernel-features.h>.
6583 [__ASSUME_32BITUIDS]: Make code unconditional.
6584 [!__ASSUME_32BITUIDS]: Remove conditional code.
6585 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6586 <kernel-features.h>.
6587 [__ASSUME_32BITUIDS]: Make code unconditional.
6588 [!__ASSUME_32BITUIDS]: Remove conditional code.
6589 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6590 <kernel-features.h>.
6591 [__ASSUME_32BITUIDS]: Make code unconditional.
6592 [!__ASSUME_32BITUIDS]: Remove conditional code.
6593 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6594 <kernel-features.h>.
6595 [__ASSUME_32BITUIDS]: Make code unconditional.
6596 [!__ASSUME_32BITUIDS]: Remove conditional code.
6597 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6598 <kernel-features.h>.
6599 [__ASSUME_32BITUIDS]: Make code unconditional.
6600 [!__ASSUME_32BITUIDS]: Remove conditional code.
6601 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6602 <kernel-features.h>.
6603 [__ASSUME_32BITUIDS]: Make code unconditional.
6604 [!__ASSUME_32BITUIDS]: Remove conditional code.
6605 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6606 <kernel-features.h>.
6607 [__ASSUME_32BITUIDS]: Make code unconditional.
6608 [!__ASSUME_32BITUIDS]: Remove conditional code.
6609 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6610 <kernel-features.h>.
6611 [__ASSUME_32BITUIDS]: Make code unconditional.
6612 [!__ASSUME_32BITUIDS]: Remove conditional code.
6613 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6614 <kernel-features.h>.
6615 [__ASSUME_32BITUIDS]: Make code unconditional.
6616 [!__ASSUME_32BITUIDS]: Remove conditional code.
6617 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6618 <kernel-features.h>.
6619 [__ASSUME_32BITUIDS]: Make code unconditional.
6620 [!__ASSUME_32BITUIDS]: Remove conditional code.
6621 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6622 <kernel-features.h>.
6623 [__NR_setresgid] (__setresgid): Do not declare.
6624 [__ASSUME_32BITUIDS]: Make code unconditional.
6625 [!__ASSUME_32BITUIDS]: Remove conditional code.
6626 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6627 <kernel-features.h>.
6628 [__NR_setresuid] (__setresuid): Do not declare.
6629 [__ASSUME_32BITUIDS]: Make code unconditional.
6630 [!__ASSUME_32BITUIDS]: Remove conditional code.
6631 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6632 <kernel-features.h>.
6633 [__ASSUME_32BITUIDS]: Make code unconditional.
6634 [!__ASSUME_32BITUIDS]: Remove conditional code.
6635 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6636 <kernel-features.h>.
6637 [__ASSUME_32BITUIDS]: Make code unconditional.
6638 [!__ASSUME_32BITUIDS]: Remove conditional code.
6639 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6640 <kernel-features.h>.
6641 [__ASSUME_32BITUIDS]: Make code unconditional.
6642 [!__ASSUME_32BITUIDS]: Remove conditional code.
6643 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6644 <kernel-features.h>.
6645 [__ASSUME_32BITUIDS]: Make code unconditional.
6646 [!__ASSUME_32BITUIDS]: Remove conditional code.
6647 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6648 <kernel-features.h>.
6649 [__ASSUME_32BITUIDS]: Make code unconditional.
6650 [!__ASSUME_32BITUIDS]: Remove conditional code.
6651 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6652 <kernel-features.h>.
6653 [__ASSUME_32BITUIDS]: Make code unconditional.
6654 [!__ASSUME_32BITUIDS]: Remove conditional code.
6655 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6656 <kernel-features.h>.
6657 [__ASSUME_32BITUIDS]: Make code unconditional.
6658 [!__ASSUME_32BITUIDS]: Remove conditional code.
6659 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6660 <kernel-features.h>.
6661 [__ASSUME_32BITUIDS]: Make code unconditional.
6662 [!__ASSUME_32BITUIDS]: Remove conditional code.
6663 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6664 <kernel-features.h>.
6665 [__ASSUME_32BITUIDS]: Make code unconditional.
6666 [!__ASSUME_32BITUIDS]: Remove conditional code.
6667 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6668 <kernel-features.h>.
6669 [__ASSUME_32BITUIDS]: Make code unconditional.
6670 [!__ASSUME_32BITUIDS]: Remove conditional code.
6671 * sysdeps/unix/sysv/linux/kernel-features.h
6672 (__ASSUME_SETRESUID_SYSCALL): Remove.
6673 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6674 (__ASSUME_32BITUIDS): Likewise.
6675 (__ASSUME_LDT_WORKS): Likewise.
6676 (__ASSUME_O_DIRECTORY): Likewise.
6677 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6678 architecture but not kernel version.
6679 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6680 (__ASSUME_MMAP2_SYSCALL): Likewise.
6681 (__ASSUME_STAT64_SYSCALL): Likewise.
6682 (__ASSUME_IPC64): Likewise.
6683 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6684 <kernel-features.h>.
6685 [__ASSUME_32BITUIDS]: Make code unconditional.
6686 [!__ASSUME_32BITUIDS]: Remove conditional code.
6687 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6688 <kernel-features.h>.
6689 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6690 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6691 132096]: Remove conditional code.
6692 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6693 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6694 <kernel-features.h>.
6695 [__ASSUME_32BITUIDS]: Make code unconditional.
6696 [!__ASSUME_32BITUIDS]: Remove conditional code.
6697 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6698 <kernel-features.h>.
6699 [__ASSUME_32BITUIDS]: Make code unconditional.
6700 [!__ASSUME_32BITUIDS]: Remove conditional code.
6701 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6702 <kernel-features.h>.
6703 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6704 unconditional.
6705 (__setresgid): Do not declare.
6706 [__ASSUME_32BITUIDS]: Make code unconditional.
6707 [!__ASSUME_32BITUIDS]: Remove conditional code.
6708 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6709 <kernel-features.h>.
6710 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6711 unconditional.
6712 (__setresuid): Do not declare.
6713 [__ASSUME_32BITUIDS]: Make code unconditional.
6714 [!__ASSUME_32BITUIDS]: Remove conditional code.
6715 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6716 <kernel-features.h>.
6717 [__ASSUME_32BITUIDS]: Make code unconditional.
6718 [!__ASSUME_32BITUIDS]: Remove conditional code.
6719 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6720 <kernel-features.h>.
6721 [__ASSUME_32BITUIDS]: Make code unconditional.
6722 [!__ASSUME_32BITUIDS]: Remove conditional code.
6723
6724 2012-05-25 Richard Henderson <rth@twiddle.net>
6725
6726 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6727 dl_hwcap to ifunc resolver.
6728 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6729 elf_ifunc_invoke.
6730 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6731 dl_hwcap to ifunc resolver.
6732 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6733
6734 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6735
6736 [BZ #14153]
6737 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6738 for |x| <= 2**-26, not 2**-57.
6739 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6740 exception.
6741
6742 2012-05-24 Jeff Law <law@redhat.com>
6743
6744 * stdio-common/Makefile (tests): Add bug25.
6745 * stdio-common/bug25.c: New test.
6746
6747 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 [BZ #13576]
6750 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6751 multiple of MALLOC_ALIGNMENT in size.
6752 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6753
6754 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6755
6756 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6757 Require >= 256.
6758 (FILENAME_MAX): Use macro-int-constant.
6759 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6760 (_IOFBF): Use macro-int-constant.
6761 (_IOLBF): Likewise.
6762 (_IONBF): Likewise.
6763 (SEEK_CUR): Likewise.
6764 (SEEK_END): Likewise.
6765 (SEEK_SET): Likewise.
6766 (TMP_MAX): Likewise.
6767 (EOF): Use macro-int-constant. Require < 0.
6768 (NULL): Use macro-constant. Require == 0.
6769 (stdin): Require type to be FILE *.
6770 (stdout): Likewise.
6771 (stderr): Likewise.
6772 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6773 macro-int-constant.
6774 (EXIT_SUCCESS): Likewise.
6775 (NULL): Use macro-constant. Require == 0.
6776 (RAND_MAX): Use macro-int-constant.
6777 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6778 [C99-based standards] (strtof): Require function.
6779 [C99-based standards] (strtold): Likewise.
6780 [C99-based standards] (strtoll): Likewise.
6781 [C99-based standards] (strtoull): Likewise.
6782 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6783 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6784 [ISO || ISO99 || ISO11] (math.h): Likewise.
6785 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6786 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6787 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6788
6789 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6790
6791 [BZ #14132]
6792 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6793 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6794 * intl/dgettext.c (DCGETTEXT): Likewise.
6795 * intl/gettext.c (DCGETTEXT): Likewise.
6796 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6797 * posix/regex_internal.h (gettext): Likewise.
6798 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6799 Remove declaration.
6800 * include/argz.h (__argz_count_internal)
6801 (__argz_stringify_internal): Remove declaration.
6802 (__argz_count, __argz_stringify): Declare hidden proto.
6803 * intl/dcgettext.c: Remove use of INTDEF.
6804 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6805 * string/argz-stringify.c: Likewise.
6806 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6807 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6808 Declare hidden proto.
6809 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6810 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6811 Declare hidden proto.
6812 * include/stdio.h (__asprintf_internal): Don't declare.
6813 (__asprintf): Don't define as macro. Declare hidden proto.
6814 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6815 (__fsetlocking): Declare hidden proto.
6816 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6817 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6818 hidden proto.
6819 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6820 (_IO_setlinebuf): Remove use of INTUSE.
6821 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6822 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6823 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6824 Remove declaration.
6825 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6826 (_IO_do_flush): Remove use of INTUSE.
6827 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6828 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6829 (_IO_adjust_column, _IO_least_wmarker)
6830 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6831 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6832 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6833 (_IO_default_doallocate, _IO_wdefault_doallocate)
6834 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6835 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6836 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6837 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6838 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6839 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6840 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6841 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6842 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6843 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6844 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6845 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6846 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6847 proto.
6848 (_IO_flush_all_internal, _IO_adjust_column_internal)
6849 (_IO_default_uflow_internal, _IO_default_finish_internal)
6850 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6851 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6852 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6853 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6854 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6855 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6856 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6857 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6858 (_IO_file_close_internal, _IO_file_close_it_internal)
6859 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6860 (_IO_file_init_internal, _IO_file_attach_internal)
6861 (_IO_file_fopen_internal, _IO_file_read_internal)
6862 (_IO_file_sync_internal, _IO_file_seek_internal)
6863 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6864 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6865 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6866 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6867 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6868 (_IO_list_all_internal, _IO_link_in_internal)
6869 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6870 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6871 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6872 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6873 (_IO_do_write_internal, _IO_padn_internal)
6874 (_IO_getline_info_internal, _IO_getline_internal)
6875 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6876 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6877 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6878 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6879 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6880 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6881 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6882 with libc_hidden_ver, remove use of INTUSE.
6883 * libio/genops.c: Likewise.
6884 * libio/freopen.c: Likewise.
6885 * libio/freopen64.c: Likewise.
6886 * libio/iofclose.c: Likewise.
6887 * libio/iofdopen.c: Likewise.
6888 * libio/iofflush.c: Likewise.
6889 * libio/iofflush_u.c: Likewise.
6890 * libio/iofgets.c: Likewise.
6891 * libio/iofgets_u.c: Likewise.
6892 * libio/iofopen.c: Likewise.
6893 * libio/iofopncook.c: Likewise.
6894 * libio/iofread.c: Likewise.
6895 * libio/iofread_u.c: Likewise.
6896 * libio/ioftell.c: Likewise.
6897 * libio/iofwrite.c: Likewise.
6898 * libio/iogetline.c: Likewise.
6899 * libio/iogets.c: Likewise.
6900 * libio/iogetwline.c: Likewise.
6901 * libio/iopadn.c: Likewise.
6902 * libio/iopopen.c: Likewise.
6903 * libio/ioseekoff.c: Likewise.
6904 * libio/ioseekpos.c: Likewise.
6905 * libio/iosetbuffer.c: Likewise.
6906 * libio/iosetvbuf.c: Likewise.
6907 * libio/ioungetc.c: Likewise.
6908 * libio/ioungetwc.c: Likewise.
6909 * libio/iovdprintf.c: Likewise.
6910 * libio/iovsprintf.c: Likewise.
6911 * libio/iovsscanf.c: Likewise.
6912 * libio/memstream.c: Likewise.
6913 * libio/obprintf.c: Likewise.
6914 * libio/oldfileops.c: Likewise.
6915 * libio/oldiofclose.c: Likewise.
6916 * libio/oldiofdopen.c: Likewise.
6917 * libio/oldiofopen.c: Likewise.
6918 * libio/oldiopopen.c: Likewise.
6919 * libio/oldstdfiles.c: Likewise.
6920 * libio/putc.c: Likewise.
6921 * libio/setbuf.c: Likewise.
6922 * libio/setlinebuf.c: Likewise.
6923 * libio/stdfiles.c: Likewise.
6924 * libio/strops.c: Likewise.
6925 * libio/vasprintf.c: Likewise.
6926 * libio/vscanf.c: Likewise.
6927 * libio/vsnprintf.c: Likewise.
6928 * libio/vswprintf.c: Likewise.
6929 * libio/wfiledoalloc.c: Likewise.
6930 * libio/wfileops.c: Likewise.
6931 * libio/wgenops.c: Likewise.
6932 * libio/wmemstream.c: Likewise.
6933 * libio/wstrops.c: Likewise.
6934 * libio/__fpurge.c: Likewise.
6935 * libio/__fsetlocking.c: Likewise.
6936 * assert/assert.c: Likewise.
6937 * debug/fgets_chk.c: Likewise.
6938 * debug/fgets_u_chk.c: Likewise.
6939 * debug/fread_chk.c: Likewise.
6940 * debug/fread_u_chk.c: Likewise.
6941 * debug/gets_chk.c: Likewise.
6942 * debug/obprintf_chk.c: Likewise.
6943 * debug/vasprintf_chk.c: Likewise.
6944 * debug/vdprintf_chk.c: Likewise.
6945 * debug/vsnprintf_chk.c: Likewise.
6946 * debug/vsprintf_chk.c: Likewise.
6947 * malloc/mtrace.c: Likewise.
6948 * misc/error.c: Likewise.
6949 * misc/syslog.c: Likewise.
6950 * stdio-common/asprintf.c: Likewise.
6951 * stdio-common/fxprintf.c: Likewise.
6952 * stdio-common/getw.c: Likewise.
6953 * stdio-common/isoc99_fscanf.c: Likewise.
6954 * stdio-common/isoc99_scanf.c: Likewise.
6955 * stdio-common/isoc99_vfscanf.c: Likewise.
6956 * stdio-common/isoc99_vscanf.c: Likewise.
6957 * stdio-common/isoc99_vsscanf.c: Likewise.
6958 * stdio-common/printf-prs.c: Likewise.
6959 * stdio-common/printf_fp.c: Likewise.
6960 * stdio-common/printf_fphex.c: Likewise.
6961 * stdio-common/printf_size.c: Likewise.
6962 * stdio-common/putw.c: Likewise.
6963 * stdio-common/scanf.c: Likewise.
6964 * stdio-common/sprintf.c: Likewise.
6965 * stdio-common/tmpfile.c: Likewise.
6966 * stdio-common/vfprintf.c: Likewise.
6967 * stdio-common/vfscanf.c: Likewise.
6968 * stdlib/strfmon_l.c: Likewise.
6969 * sunrpc/openchild.c: Likewise.
6970 * sunrpc/xdr_stdio.c: Likewise.
6971 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6972 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6973
6974 2012-05-24 Roland McGrath <roland@hack.frob.com>
6975
6976 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6977
6978 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6979 in the third column, to generate for the shared library an IFUNC
6980 that uses _dl_vdso_vsym.
6981 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6982 * Makeconfig (object-suffixes-noshared): New variable.
6983
6984 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6985 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6986 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6987 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6988
6989 [BZ #14132]
6990 * include/sys/time.h (__gettimeofday): Remove macro.
6991 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6992 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6993 Remove INTDEF.
6994 (__gettimeofday): Add libc_hidden_def.
6995 (gettimeofday): Add libc_hidden_weak.
6996 * sysdeps/mach/gettimeofday.c: Likewise.
6997 * sysdeps/posix/gettimeofday.c: Likewise.
6998 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6999 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7000 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7001 (__gettimeofday_internal): Remove strong_alias.
7002 (__gettimeofday): Add libc_hidden_def.
7003 (gettimeofday): Add libc_hidden_weak.
7004 * sysdeps/unix/syscalls.list (gettimeofday):
7005 Remove __gettimeofday_internal alias.
7006
7007 2012-05-24 Daniel Jacobowitz <drow@false.org>
7008 H.J. Lu <hongjiu.lu@intel.com>
7009
7010 [BZ #12495]
7011 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7012 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7013 (largebin_index_32_big): New.
7014 (largebin_index): Use it for 16-byte alignment.
7015 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7016 correction with front_misalign.
7017
7018 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7019
7020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7022 Likewise.
7023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7024 Likewise.
7025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7026 Likewise.
7027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7028 Likewise.
7029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7030 Likewise.
7031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7032 Likewise.
7033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7034 Likewise.
7035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7036 Likewise.
7037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7038 Likewise.
7039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7040 Likewise.
7041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7042 Likewise.
7043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7044 Likewise.
7045
7046 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7047 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7048
7049 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7050
7051 [BZ #10846]
7052 [BZ #14036]
7053 * math/libm-test.inc (exp_test): Add test from bug 14036.
7054 (pow_test): Add test from bug 10846.
7055
7056 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7057 and other flags.
7058 (special_function): Do not include flags in test name.
7059 (parse_args): Likewise.
7060 * sysdeps/i386/fpu/libm-test-ulps: Update.
7061 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7062 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7063 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7065
7066 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7067 exceptions.
7068 * math/libm-test.inc ("Philosophy"): Update comment about
7069 exception testing.
7070 (UNDERFLOW_EXCEPTION): New macro.
7071 (UNDERFLOW_EXCEPTION_OK): Likewise.
7072 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7073 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7074 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7075 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7076 (INVALID_EXCEPTION_OK): Update value.
7077 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7078 (OVERFLOW_EXCEPTION_OK): Likewise.
7079 (IGNORE_ZERO_INF_SIGN): Likewise.
7080 (test_exceptions): Handle underflow exceptions.
7081 (acos_test): Update for underflow exception expectations.
7082 (cexp_test): Likewise.
7083 (clog_test): Likewise.
7084 (clog10_test): Likewise.
7085 (csqrt_test): Likewise.
7086 (ctan_test): Likewise.
7087 (ctanh_test): Likewise.
7088 (exp_test): Likewise.
7089 (exp10_test): Likewise.
7090 (exp2_test): Likewise.
7091 (expm1_test): Likewise.
7092 (fma_test): Likewise.
7093 (j0_test): Likewise.
7094 (jn_test): Likewise.
7095 (nexttoward_test): Likewise.
7096 (pow_test): Likewise.
7097 (scalbn_test): Likewise.
7098 (scalbln_test): Likewise.
7099 (tan_test): Likewise.
7100 (y1_test): Likewise.
7101 * sysdeps/i386/fpu/libm-test-ulps: Update.
7102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7103
7104 2012-05-23 David S. Miller <davem@davemloft.net>
7105
7106 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7107 (__libc_sigaction): Remove unused local variables.
7108
7109 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7110
7111 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7112
7113 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7114
7115 mktime: avoid signed integer overflow
7116 * time/mktime.c (__mktime_internal): Do not mishandle the case
7117 where diff == INT_MIN.
7118
7119 mktime: simplify computation of average
7120 * time/mktime.c (ranged_convert): Use new time_t_avg function
7121 instead of rolling our own (probably-slower) code.
7122
7123 mktime: do not assume signed right shift propagates sign bit
7124 * time/mktime.c (isdst_differ): New static function.
7125 (__mktime_internal): No need to normalize tm_isdst now.
7126 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7127 tm_isdst values.
7128
7129 mktime: merge another wrapv change from gnulib
7130 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7131 from some compilers.
7132
7133 mktime: remove incorrect attempt at unusual arithmetics
7134 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7135 The code didn't really work on such machines anyway.
7136 (TYPE_MINIMUM): Assume two's complement.
7137 (twos_complement_arithmetic): Verify that long_int and time_t
7138 are two's complement (or unsigned, in the latter case).
7139
7140 mktime: check signed shifts on long_int and time_t, too
7141 * time/mktime.c (SHR): Check that shifts work as desired
7142 on the types long_int and time_t too, as SHR is used on
7143 such types.
7144
7145 mktime: do not assume 'long' is wide enough
7146 * time/mktime.c (verify): Move decl up.
7147 (long_int): New type.
7148 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7149 to remove assumption in the code that 'long' is wide enough to
7150 store year values. This assumption is not true on x32 and on
7151 some non-glibc platforms.
7152
7153 mktime: merge wrapv change from gnulib
7154 * time/mktime.c (WRAPV): New macro.
7155 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7156 (guess_time_tm, __mktime_internal): Do not assume that signed
7157 integer overflow wraps around; modern compilers generate code
7158 where this assumption is no longer valid.
7159
7160 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7161
7162 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7163 Replace "jmp L(pseudo_end)" with "ret".
7164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7165 Likewise.
7166
7167 2012-05-23 Andreas Jaeger <aj@suse.de>
7168
7169 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7170 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7171
7172 2012-05-23 Andreas Jaeger <aj@suse.de>
7173 Maximilian Attems <max@stro.at>
7174
7175 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7176 New macros.
7177
7178 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7179
7180 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7181 code so that pseudo_end is just ret and the stack pointer is
7182 correct also for static library in error case.
7183
7184 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7185
7186 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7187 move to syscalls.list.
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7192
7193 * manual/install.texi (Running make install): Do not mention Linux
7194 kernel version for which pt_chown is not needed.
7195 (Linux): Do not mention problems with nscd with 2.0 kernels.
7196 * INSTALL: Regenerated.
7197
7198 2012-05-23 Andreas Jaeger <aj@suse.de>
7199
7200 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7201 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7202 macro.
7203 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7204 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7205 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7206 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7207 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7209 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7211 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7213 * sysdeps/unix/sysv/linux/bits/in.h
7214 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7215
7216 2012-05-22 Roland McGrath <roland@hack.frob.com>
7217
7218 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7219 (PREPARE_VERSION): Just use assert instead, it will be elided
7220 under [NDEBUG] anyway.
7221
7222 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7223
7224 * sysdeps/unix/sysv/linux/Makefile: Include
7225 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7226 (sysdep_routines): Remove sysctl.
7227 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7228 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7229 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7230 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7231 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7232
7233 2012-05-22 Andreas Jaeger <aj@suse.de>
7234
7235 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7236 that pseudo_end is just ret and the stack pointer is correct also
7237 for static library in error case.
7238
7239 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7240
7241 [BZ #14122]
7242 * nss/nsswitch.c (defconfig_entries): New variable.
7243 (__nss_database_lookup): Don't leak defconfig entries.
7244 (nss_parse_service_list): Don't leak on error paths.
7245 (free_database_entries): New function.
7246 (free_defconfig): New function.
7247 (free_mem): Move common code to free_database_entries.
7248
7249 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7250
7251 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7252 Add arch_prctl.
7253 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7254
7255 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7256 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7258 New macro.
7259 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7260 (INTERNAL_SYSCALL_TYPES): Likewise.
7261 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7262 (LOAD_REGS_TYPES_[1-6]): Likewise.
7263 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7264 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7265
7266 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7267
7268 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7269 copysignl for GLIBC_2_0.
7270 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7271 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7273 logbl for GLIBC_2_0.
7274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7275 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7276
7277 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7278
7279 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7280 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7281
7282 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7283 Use "neg %eax".
7284
7285 * time/mktime.c: Update copyright years.
7286
7287 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7288
7289 mktime: merge comment-quoting-style change from gnulib
7290 * time/mktime.c: Quote 'like this' in comments.
7291 The GNU coding standards suggest that we no longer quote `like this',
7292 as "`" and "'" are typically rendered asymmetrically nowadays.
7293 The typical gnulib style is to quote 'like this' when quoting
7294 code, and "like this" when quoting English.
7295
7296 * time/mktime.c (compile-command): Add "-I.".
7297
7298 mktime: merge mktime-internal.h change from gnulib
7299 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7300
7301 mktime: merge time_r change from gnulib
7302 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7303
7304 mktime: merge DEBUG change from gnulib
7305 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7306 case system <time.h> has a #define.
7307
7308 mktime: merge <sys/types.h> change from gnulib
7309 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7310 since <time.t> is now guaranteed to define time_t.
7311
7312 mktime: merge HAVE_CONFIG_H change from gnulib
7313 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7314
7315 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7316
7317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7318 Use "neg %eax".
7319
7320 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7321 __rlim_t cast.
7322 (struct rusage): Use anonymous union to pad each field to
7323 __syscall_slong_t.
7324
7325 2012-05-21 David S. Miller <davem@davemloft.net>
7326
7327 * Makefules (o-iterator): Remove .s cases.
7328 (compile-command.s): Delete.
7329 (COMPILE.s): Delete.
7330 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7331
7332 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7333
7334 * configure.in (libc_cv_predef_stack_protector): Only consider
7335 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7336 * configure: Regenerated.
7337
7338 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7339
7340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7341 New macro. Use R*LP on int and pointer.
7342 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7343 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7344 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7345 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7346
7347 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7348 [__WORDSIZE_TIME64_COMPAT32] instead of
7349 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7350 (struct utmp): Likewise.
7351 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7352 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7353 Renamed to ...
7354 (__WORDSIZE_TIME64_COMPAT32): This.
7355 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7356 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7357 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7358 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7359 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7360 (__WORDSIZE_TIME64_COMPAT32): New macro.
7361
7362 2012-05-21 Andreas Jaeger <aj@suse.de>
7363
7364 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7365 only if [SHARED]. Add prototype for __wcschr_ia32.
7366
7367 2012-05-21 Roland McGrath <roland@hack.frob.com>
7368
7369 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7370 of %rbp unmolested in the jmp_buf while mangling the low bits.
7371 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7372 unmolested high bits of %rbp while demangling the low bits.
7373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7374
7375 2012-05-21 Andreas Jaeger <aj@suse.de>
7376
7377 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7378 * sunrpc/svc_simple.c: Use it for registerrpc.
7379 * sunrpc/xcrypt.c: Use it for passwd2des.
7380
7381 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7382
7383 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7384
7385 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7386 Don't define if [__SYSCALL_WORDSIZE != 32].
7387 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7388 New macro.
7389
7390 2012-05-21 Bruno Haible <bruno@clisp.org>
7391 Andreas Jaeger <aj@suse.de>
7392
7393 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7394 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7395 inptr and inend for must_buffer_ch.
7396 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7397 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7398 * stdio-common/Makefile (tests): Remove bug15.
7399 (bug15-ENV): Remove macro.
7400 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7401 anymore.
7402
7403 2012-05-19 Andreas Jaeger <aj@suse.de>
7404 Roland McGrath <roland@hack.frob.com>
7405
7406 * manual/contrib.texi: Completely rewritten. It contains now an
7407 alphabetical list of contributors and their contributions.
7408
7409 2012-05-21 Richard Henderson <rth@twiddle.net>
7410
7411 * misc/getauxval.c (__getauxval): Use unsigned long int.
7412 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7413 (getauxval): Use unsigned long int.
7414
7415 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7416
7417 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7418
7419 2012-05-21 Roland McGrath <roland@hack.frob.com>
7420
7421 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7422 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7423 __alignof__ (long double).
7424
7425 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7426
7427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7428
7429 2012-05-20 Richard Henderson <rth@twiddle.net>
7430
7431 * misc/getauxval.c: New file.
7432 * misc/sys/auxv.h: New file.
7433 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7434 (routines): Add getauxval.
7435 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7436 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7437 * elf/dl-sysdep.c (_dl_auxv): Remove.
7438 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7439 * elf/dl-support.c (_dl_auxv): New variable.
7440 (_dl_aux_init): Initialize it.
7441 * manual/startup.texi (Auxiliary Vector): New node.
7442 * sysdeps/generic/bits/hwcap.h: New file.
7443 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7444 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7445 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7446 * sysdeps/sparc/sysdep.h: ... here. Include it.
7447 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7448 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7450 Update.
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7459
7460 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7461
7462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7463
7464 2012-05-19 David S. Miller <davem@davemloft.net>
7465
7466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7467
7468 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7469
7470 [BZ #14123]
7471 * math/s_ccosh.c: Include <float.h>
7472 (__ccosh): Avoid internal overflow calculating sinh and cosh
7473 values before multiplying by sin and cos values.
7474 * math/s_ccoshf.c: Likewise.
7475 * math/s_ccoshl.c: Likewise.
7476 * math/s_csin.c: Likewise.
7477 * math/s_csinf.c: Likewise.
7478 * math/s_csinl.c: Likewise.
7479 * math/s_csinh.c: Likewise.
7480 * math/s_csinhf.c: Likewise.
7481 * math/s_csinhl.c: Likewise.
7482 * math/libm-test.inc (ccos_test): Add more tests.
7483 (ccosh_test): Likewise.
7484 (csin_test): Likewise.
7485 (csinh_test): Likewise.
7486 * sysdeps/i386/fpu/libm-test-ulps: Update.
7487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7488
7489 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7490
7491 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7492 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7493
7494 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7495
7496 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7497
7498 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7499 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7500 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7501 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7502 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7503 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7504 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7505 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7506 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7507 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7508 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7509 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7510 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7511 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7512 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7513 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7514 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7515 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7516 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7517 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7518 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7519 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7520 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7521 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7522 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7523 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7524 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7525 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7526 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7527 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7528 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7529
7530 2012-05-18 Andreas Jaeger <aj@suse.de>
7531
7532 * csu/.gitignore: Delete.
7533
7534 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7535
7536 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7537 (timex): Use __syscall_slong_t.
7538
7539 2012-05-18 Andreas Jaeger <aj@suse.de>
7540 Carlos O'Donell <carlos_odonell@mentor.com>
7541
7542 * manual/install.texi (Configuring and compiling): Update
7543 description about files modified in the source directory.
7544 * INSTALL: Regenerated.
7545
7546 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7547
7548 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7549 value. Use "or" to set return value to -1.
7550 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7551 negate return value.
7552
7553 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7554
7555 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7556 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7557 failure if the compiler has Graphite support disabled.
7558 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7559 Likewise.
7560 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7561 CFLAGS-memmove.c): Likewise.
7562 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7563 Likewise.
7564
7565 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 * sysdeps/x86_64/x32/_itoa.h: New file.
7568
7569 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7570 getdents system call only if kernel and user dirents have the
7571 same d_ino and d_off.
7572
7573 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7574 LLONG_MAX != LONG_MAX.
7575 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7576 (_fitoa_word): Likewise.
7577
7578 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7579 years.
7580 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7581 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7582 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7583
7584 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7585 include <bits/wordsize.h>. Check __x86_64__ instead of
7586 __WORDSIZE.
7587 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7588 if __x86_64__ is defined. Use anonymous union on fpstate.
7589
7590 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7591 anonymous union.
7592
7593 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7594
7595 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7596 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7597 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7598 Refer to _rtld_local_ro instead of _rtld_global_ro.
7599 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7600 Likewise.
7601 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7602 Likewise.
7603 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7604 Likewise.
7605 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7606 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7607 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7608
7609 * sysdeps/powerpc/powerpc32/dl-machine.c
7610 (__elf_machine_runtime_setup) [PROF]: Don't reference
7611 _dl_prof_resolve.
7612
7613 2012-05-18 Andreas Jaeger <aj@suse.de>
7614
7615 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7616 function only available for GCCs before 3.4 since GCC 3.4
7617 introduced a builtin.
7618 (lrint): Likewise.
7619 (llrintf): Likewise.
7620 (llrint): Likewise.
7621 (fmaxf): Likewise.
7622 (fmax): Likewise.
7623 (fminf): Likewise.
7624 (fmin): Likewise.
7625 (rint): Likewise.
7626 (rintf): Likewise.
7627 (nearbyint): Likewise.
7628 (nearbyintf): Likewise.
7629 (ceil): Likewise.
7630 (ceilf): Likewise.
7631 (floor): Likewise.
7632 (floorf): Likewise.
7633
7634 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7635
7636 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7637 on both fields and cast pointer to __syscall_ulong_t.
7638
7639 * bits/types.h (__fsword_t): New type.
7640 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7641 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7643 (__FSWORD_T_TYPE): Likewise.
7644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7645 (__FSWORD_T_TYPE): Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7647 (__FSWORD_T_TYPE): Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7649 (__FSWORD_T_TYPE): Likewise.
7650 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7651 __SWORD_TYPE with __fsword_t.
7652 (statfs64): Likewise.
7653
7654 2012-05-17 David S. Miller <davem@davemloft.net>
7655
7656 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7657
7658 2012-05-17 Andreas Jaeger <aj@suse.de>
7659
7660 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7661 warning.
7662
7663 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7664
7665 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7666
7667 2012-05-17 Andreas Jaeger <aj@suse.de>
7668
7669 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7670 when it is used.
7671
7672 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7673
7674 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7675
7676 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7679 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7680
7681 2012-05-17 Andreas Jaeger <aj@suse.de>
7682 Carlos O'Donell <carlos_odonell@mentor.com>
7683
7684 [BZ #14059]
7685 * sysdeps/x86_64/multiarch/init-arch.h
7686 (bit_YMM_Usable): Rename to...
7687 (bit_AVX_Usable): ... this.
7688 (bit_FMA4_Usable): New macro.
7689 (bit_XMM_state): New macro.
7690 (bit_YMM_state): New macro.
7691 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7692 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7693 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7694 (CPUID_OSXSAVE): New macro.
7695 (CPUID_AVX): New macro.
7696 (CPUID_FMA4): New macro.
7697 (index_YMM_Usable): Rename to...
7698 (index_AVX_Usable): ... this.
7699 (HAS_AVX): Use HAS_ARCH_FEATURE.
7700 (HAS_FMA4): Likewise.
7701 (HAS_YMM_USABLE): Remove.
7702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7703 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7704 are present.
7705 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7706 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7707 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7708 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7709 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7710
7711 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7712
7713 * math/libm-test.c: Support platforms without multiple rounding modes.
7714 * math/bug-nextafter.c: Support platforms without FP exceptions.
7715 * math/bug-nexttoward.c: Likewise.
7716 * math/test-fenv.c: Likewise.
7717 * math/test-misc.c: Likewise.
7718 * stdlib/bug-getcontext.c: Likewise.
7719
7720 2012-05-17 Andreas Jaeger <aj@suse.de>
7721
7722 * manual/examples/search.c (critter_cmp): Change signature to
7723 avoid warnings.
7724 * manual/string.texi (Collation Functions): Likewise.
7725
7726 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7727
7728 * bits/types.h: Fold copyright years.
7729 * bits/typesizes.h: Likewise.
7730 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7734 * time/time.h: Likewise.
7735
7736 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7737
7738 [BZ #208]
7739 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7740 in instead of returning them. Return void.
7741 (__libc_mallinfo): Accumulate over all arenas.
7742 (__malloc_stats): Adjust for change in int_mallinfo interface.
7743
7744 2012-05-16 Roland McGrath <roland@hack.frob.com>
7745
7746 [BZ #10375]
7747 * configure.in (NM): Add AC_CHECK_TOOL for it.
7748 (libc_extra_cflags): New substituted variable.
7749 Check for -fstack-protector being used implicitly.
7750 * configure: Regenerated.
7751 * config.make.in (config-extra-cflags): New variable,
7752 gets @libc_extra_cflags@.
7753 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7754
7755 [BZ #10375]
7756 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7757 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7758 * configure: Regenerated.
7759 * config.make.in (CPPUNDEFS): New substituted variable.
7760 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7761 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7762 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7763
7764 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7765
7766 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7767 (mq_attr): Use __syscall_slong_t.
7768
7769 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7770
7771 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7772 Check __x86_64__ instead of __WORDSIZE.
7773 (_STAT_VER_LINUX): Likewise.
7774 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7775 __syscall_ulong_t and __syscall_slong_t.
7776 (stat64): Likewise.
7777
7778 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7779
7780 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7781
7782 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7783
7784 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7785
7786 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7789 __syscall_ulong_t.
7790
7791 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7792 include <bits/wordsize.h>. Check __x86_64__ instead of
7793 __WORDSIZE.
7794 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7795 defined.
7796 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7797
7798 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7799 include <bits/wordsize.h>. Check __x86_64__ instead of
7800 __WORDSIZE.
7801 (user_regs_struct): Use "__extension__ unsigned long long"
7802 instead of "unsigned long" if __x86_64__ is defined.
7803 (user): Likewise. Pad after pointer field if __ILP32__ is
7804 defined.
7805
7806 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7807
7808 * configure.in (makeinfo): Require version 4.5 or later. Allow
7809 versions 5 to 9.
7810 * configure: Regenerated.
7811 * manual/install.texi (texinfo): Increase version requirement to
7812 4.5 or later.
7813 * INSTALL: Regenerated.
7814
7815 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7816
7817 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7818
7819 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7820
7821 * sysdeps/x86_64/x32/ffs.c: New file.
7822
7823 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7824 __syscall_ulong_t.
7825 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7826 defined. Use __syscall_ulong_t.
7827 (shminfo): Use __syscall_ulong_t.
7828 (shm_info): Likewise.
7829
7830 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7831 __syscall_ulong_t.
7832
7833 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7834 <bits/wordsize.h>.
7835 (msgqnum_t): Use __syscall_ulong_t.
7836 (msglen_t): Likewise.
7837 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7838 __syscall_ulong_t.
7839
7840 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7841 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7842
7843 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7844
7845 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7846 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7847
7848 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7849 __syscall_slong_t.
7850
7851 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7852 include <bits/wordsize.h>. Check __x86_64__ instead of
7853 __WORDSIZE.
7854
7855 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7856 "unsigned long long int" if __x86_64__ is defined.
7857 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7858
7859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7860 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7861 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7862
7863 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7864 <stdint.h>.
7865 (GET_PC): Cast to uintptr_t first.
7866 (GET_FRAME): Likewise.
7867 (GET_STACK): Likewise.
7868
7869 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7871 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7872 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7873 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7874 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7875 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7876 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7877 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7878 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7879 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7880 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7881 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7882 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7883 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7884 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7885 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7886 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7887 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7888 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7890 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7891 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7892 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7893 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7894 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7896 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7897 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7898
7899 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7900
7901 * Makerules (+depfiles): Also collect depfiles from .oS in
7902 $(extra-objs).
7903 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7904 .oS, $(libnldbl-routines)).
7905
7906 * Makerules (native-compile-mkdep-flags): Define.
7907 * sunrpc/Makefile (extra-objs): Add $(addprefix
7908 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7909 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7910 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7911 calling $(make-target-directory).
7912
7913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7914
7915 * bits/types.h (__snseconds_t): Removed.
7916 * time/time.h (struct timespec): Replace __snseconds_t with
7917 __syscall_slong_t.
7918 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7919 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7920 Likewise.
7921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7922 (__SNSECONDS_T_TYPE): Likewise.
7923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7924 (__SNSECONDS_T_TYPE): Likewise.
7925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7926 (__SNSECONDS_T_TYPE): Likewise.
7927
7928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7929
7930 * sysdeps/mach/hurd/bits/typesizes.h
7931 (__SYSCALL_SLONG_TYPE): New macro.
7932 (__SYSCALL_ULONG_TYPE): Likewise.
7933
7934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7935
7936 * bits/types.h (__syscall_slong_t): New type.
7937 (__syscall_ulong_t): Likewise.
7938
7939 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7940 (__SYSCALL_ULONG_TYPE): Likewise.
7941 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7942 (__SYSCALL_SLONG_TYPE): Likewise.
7943 (__SYSCALL_ULONG_TYPE): Likewise.
7944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7945 (__SYSCALL_SLONG_TYPE): Likewise.
7946 (__SYSCALL_ULONG_TYPE): Likewise.
7947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7948 (__SYSCALL_SLONG_TYPE): Likewise.
7949 (__SYSCALL_ULONG_TYPE): Likewise.
7950
7951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7952
7953 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7954 Add sigaltstack-offsets.sym.
7955 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7956 <sigaltstack-offsets.h>.
7957 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7958 longjmp_msg pointer.
7959 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7960 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7961 signal stack.
7962 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7963
7964 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7965
7966 * elf/stackguard-macros.h: Remove file.
7967 * sysdeps/generic/stackguard-macros.h: New file.
7968 * sysdeps/i386/stackguard-macros.h: Likewise.
7969 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7970 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7971 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7972 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7973 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7974 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7975 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7976 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7977 <elf/stackguard-macros.h>.
7978
7979 [BZ #14109]
7980 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7981 __aligned__ in attribute.
7982 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7983 (gregset_t): Likewise.
7984
7985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7986
7987 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7988 * sysdeps/x86_64/64/Implies-after: Here. New file.
7989 * sysdeps/x86_64/x32/Implies-after: New file.
7990
7991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7992
7993 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7994 and access return value for _dl_profile_fixup. Use R10_LP to
7995 load frame size.
7996
7997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7998
7999 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8000
8001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8002
8003 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8004 * sysdeps/x86_64/x32/sysdep.h: New file.
8005
8006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8007
8008 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8009 * sysdeps/x86_64/setjmp.S: Likewise.
8010
8011 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8012
8013 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8014 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8015 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8016 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8017 remove unused global constant.
8018
8019 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8020
8021 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8022 include of <not-cancel.h>.
8023
8024 2012-05-15 Roland McGrath <roland@hack.frob.com>
8025
8026 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8027
8028 2012-05-15 Jeff Law <law@redhat.com>
8029 Andreas Jaeger <aj@suse.de>
8030
8031 [BZ #13594]
8032 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8033 out from...
8034 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8035 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8036 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8037 code changing __hst_map_handle.map.
8038
8039 2012-05-15 Roland McGrath <roland@hack.frob.com>
8040
8041 * configure.in (sysnames): Look for Implies-before and Implies-after
8042 files.
8043 * configure: Regenerated.
8044
8045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8046
8047 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8048 8-byte data alignment with LP_SIZE alignment.
8049
8050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8051
8052 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8053 into R10_LP.
8054
8055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8058
8059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8060
8061 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8062 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8063 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8064 Likewise.
8065 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8066
8067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8068
8069 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8070 (stackinfo_sub_sp): Likewise.
8071
8072 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8073
8074 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8075 RAX_LP.
8076
8077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8078
8079 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8080 into R*_LP.
8081
8082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8083
8084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8085 sizes into R*_LP.
8086
8087 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8088
8089 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8090
8091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8092
8093 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8094 into R11_LP and load __x86_64_shared_cache_size_half into
8095 R8_LP.
8096
8097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8098
8099 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8100 R8_LP.
8101
8102 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8103
8104 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8105 logb for POWER7.
8106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8107 logbf for POWER7.
8108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8109 logbl for POWER7.
8110 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8111 powerpc32/power7/fpu/s_logb.c via #include.
8112 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8113 powerpc32/power7/fpu/s_logbf.c via #include.
8114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8115 powerpc32/power7/fpu/s_logbl.c via #include.
8116
8117 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8118
8119 * README.libm: Remove file.
8120
8121 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8122
8123 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8124 count for x32. Use R*_LP and omit operand-size suffix.
8125
8126 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8127
8128 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8129 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8130 * sysdeps/x86_64/x32/shlib-versions: New file.
8131
8132 2012-05-14 Roland McGrath <roland@hack.frob.com>
8133
8134 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8135 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8136 Use _dl_fatal_printf instead.
8137
8138 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8139
8140 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8141 set if not set by the user. Do not allow for being unset.
8142 * sysdeps/unix/sysv/linux/configure: Regenerated.
8143
8144 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8145
8146 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8147 the `q' suffix from lea and replace .quad with ASM_ADDR.
8148
8149 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8150
8151 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8152 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8153 instead of $17.
8154 (PTR_DEMANGLE): Likewise.
8155
8156 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8157
8158 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8159 (LP_OP): Likewise.
8160 (ASM_ADDR): Likewise.
8161 (RAX_LP): Likewise.
8162 (RBP_LP): Likewise.
8163 (RBX_LP): Likewise.
8164 (RCX_LP): Likewise.
8165 (RDI_LP): Likewise.
8166 (RSI_LP): Likewise.
8167 (RSP_LP): Likewise.
8168 (R8_LP): Likewise.
8169 (R9_LP): Likewise.
8170 (R10_LP): Likewise.
8171 (R10_LP): Likewise.
8172 (R11_LP): Likewise.
8173 (R12_LP): Likewise.
8174 (R13_LP): Likewise.
8175 (R14_LP): Likewise.
8176 (R15_LP): Likewise.
8177
8178 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8179
8180 * sysdeps/x86_64/x32/dl-machine.h: New file.
8181
8182 2012-05-14 Andreas Jaeger <aj@suse.de>
8183
8184 * manual/Makefile (subdir): Remove export of subdir.
8185 (all): Remove target.
8186 (.PHONY): Remove all from list.
8187 (mkinstalldirs): Remove.
8188 (.PHONY): Remove installdirs from list.
8189 ($(inst_infodir)/libc.info): Use make-target-directory.
8190 (installdirs): Remove.
8191 (subdir_%): Remove.
8192 (glibc-targets): Remove.
8193 (lib): Remove.
8194 (stubs): Remove.
8195 ($(objpfx)stubs ../po/manual.pot): Remove.
8196 ($(objpfx)stamp%): Remove.
8197 (make-target-directory): Remove.
8198 (subdir_install): Remove.
8199 (routines): Remove.
8200 (aux): Remove.
8201 (sources): Remove.
8202 (objects): Remove.
8203 (headers): Remove.
8204
8205 [BZ #13750]
8206 * manual/.gitignore: Remove, it's not needed anymore.
8207 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8208 all files in it.
8209 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8210 directory.
8211 (texis): Renamed to $(objpfx)texis.
8212 (texis-path): New, contains path to generated files.
8213 (chapters.%): Use texis-path for complete path, add extra argument
8214 libc-texinfo.sh.
8215 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8216 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8217 (summary,texi, stamp-summary): Use complete path of
8218 files. Generate files in build dir.
8219 (dir-add.texi): Build in build dir.
8220 (libm-err.texi,stamp-libm-err): Likewise.
8221 (version.texi, stamp-version): Likewise.
8222 (.%c.texi): Likewise.
8223 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8224 (mostlyclean): Remove target.
8225 (realclean): Remove target.
8226 (generated): Add new variable with contents from mostlyclean and
8227 realclean, remove entries duplicated in common-mostlyclean, add
8228 stamp-libm-err and stamp-version.
8229 (generated-dirs): Add libc directory.
8230 ($(inst_infodir)/libc.info): Install files from build dir.
8231
8232 * manual/install.texi (Configuring and compiling): Adjust since
8233 the info files are not part of the tar ball anymore.
8234
8235 2012-05-14 Andreas Jaeger <aj@suse.de>
8236
8237 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8238 variable.
8239
8240 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8241
8242 [BZ #13717]
8243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8244 to 2.2.0 where earlier.
8245 * sysdeps/unix/sysv/linux/configure: Regenerated.
8246 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8247 Remove conditional code.
8248 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8249 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8250 Remove conditional code.
8251 [!__NR_lchown]: Likewise.
8252 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8253 [__NR_lchown]: Likewise.
8254 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8255 comment referencing __ASSUME_LCHOWN_SYSCALL.
8256 * sysdeps/unix/sysv/linux/i386/sigaction.c
8257 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8258 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8259 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8260 Remove conditional code.
8261 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8262 (__protocol_available): Remove #if 0 code.
8263 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8264 conditional code.
8265 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8266 * sysdeps/unix/sysv/linux/kernel-features.h
8267 (__ASSUME_GETCWD_SYSCALL): Don't define.
8268 (__ASSUME_REALTIME_SIGNALS): Likewise.
8269 (__ASSUME_PREAD_SYSCALL): Likewise.
8270 (__ASSUME_PWRITE_SYSCALL): Likewise.
8271 (__ASSUME_POLL_SYSCALL): Likewise.
8272 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8273 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8274 non-SPARC.
8275 (__ASSUME_SIOCGIFNAME): Don't define.
8276 (__ASSUME_MSG_NOSIGNAL): Likewise.
8277 (__ASSUME_SENDFILE): Define unconditionally.
8278 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8279 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8280 conditional code.
8281 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8282 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8283 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8284 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8285 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8286 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8287 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8289 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8292 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8295 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8298 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8301 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8302 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8304 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8307 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8310 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8312 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8313 Remove conditional code.
8314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8315 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8316 Remove conditional code.
8317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8318 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8319 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8320 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8321 Remove conditional code.
8322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8323 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8324 Remove conditional code.
8325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8326 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8327 Remove conditional code.
8328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8329 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8330 Remove conditional code.
8331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8332 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8333 Remove conditional code.
8334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8335 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8336 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8338 * sysdeps/unix/sysv/linux/sigaction.c
8339 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8340 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8341 * sysdeps/unix/sysv/linux/sigpending.c
8342 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8343 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8344 * sysdeps/unix/sysv/linux/sigprocmask.c
8345 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8346 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8347 * sysdeps/unix/sysv/linux/sigsuspend.c
8348 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8349 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8350 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8351 (__libc_missing_rt_sigs): Remove.
8352 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8353 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8354 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8355 Remove conditional code.
8356 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8357 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8358 return 1.
8359 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8360 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8361 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8362 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8363
8364 2012-05-14 Andreas Jaeger <aj@suse.de>
8365
8366 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8367 it's not used in glibc.
8368 (__coshm1): Likewise.
8369 (__acosh1p): Likewise.
8370 (__sgn): Likewise.
8371
8372 * manual/string.texi (Copying and Concatenation): Add missing
8373 variable in concat example.
8374 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8375
8376 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 [BZ #14103]
8379 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8380 __builtin_clzl with __builtin_clzll.
8381
8382 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8383
8384 [BZ #14104]
8385 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8386 libc_freeres_ptr.
8387
8388 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8389
8390 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8391 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8392 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8393 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8394
8395 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8396
8397 * NEWS: Update ia64 info.
8398
8399 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8400
8401 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8402 used as bcopy.
8403
8404 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8405
8406 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8407 * sysdeps/unix/syscalls.list (dup3): Likewise.
8408 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8409 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8410
8411 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8412
8413 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8414 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8415
8416 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8417
8418 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8419 thread pointer.
8420 (TLS_IE): Use mov/add instead of movq/addq to load thread
8421 pointer.
8422 (TLS_GD_PREFIX): New.
8423 (TLS_GD): Use it.
8424
8425 2012-05-11 David S. Miller <davem@davemloft.net>
8426
8427 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8428 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8429 (_FPU_SETCW): Likewise.
8430
8431 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8432
8433 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8434 is 32-byte aligned.
8435
8436 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8437
8438 [BZ #11837]
8439 * iconvdata/gb18030.c: Update tables.
8440 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8441 characters specially.
8442 (BODY for TO_LOOP): Add encoding of missing ranges.
8443
8444 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8445
8446 [BZ #13673]
8447 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8448 * sysdeps/mach/hurd/dup3.c: Likewise.
8449 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8450 * sysdeps/powerpc/memmove.c:: Likewise.
8451
8452 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8453
8454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8455 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8456
8457 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8458
8459 * elf/elf.h (R_X86_64_RELATIVE64): New.
8460 (R_X86_64_NUM): Updated.
8461 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8462 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8463 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8464 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8465 tst-quad1pie tst-quad2pie
8466 (modules-names): Add tst-quadmod1 tst-quadmod2.
8467 ($(objpfx)tst-quad1): New dependency.
8468 ($(objpfx)tst-quad2): Likewise.
8469 ($(objpfx)tst-quad1pie): Likewise.
8470 ($(objpfx)tst-quad2pie): Likewise.
8471 * sysdeps/x86_64/tst-quad1.c: New file.
8472 * sysdeps/x86_64/tst-quad1pie.c: New file.
8473 * sysdeps/x86_64/tst-quad2.c: Likewise.
8474 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8475 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8476 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8477 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8478 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8479
8480 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8481
8482 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8483 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8484 * streams/stropts.h (t_scalar_t): Define type.
8485
8486 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8487 (_PATH_PRESERVE): Set to "/var/lib".
8488 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8489
8490 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8491 instead of int.
8492
8493 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8494 if __dir_mkfile succeeded.
8495
8496 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8497 checking for _hurd_dtablesize. Unlock it right after having
8498 finished _hurd_dtable allocation.
8499
8500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8501
8502 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8503 * sysdeps/mach/hurd/configure: Regenerated.
8504 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8505 special-casing to...
8506 * sysdeps/gnu/configure.in: ... this new file.
8507 * sysdeps/unix/sysv/linux/configure: Regenerated.
8508 * sysdeps/gnu/configure: New generated file.
8509
8510 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8511 for Linux: use nsec instead of usec, as well as:
8512 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8513 members of type struct timespec.
8514 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8515 New macros.
8516 (struct stat64): Likewise.
8517 (_STATBUF_ST_NSEC): New macro.
8518 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8519
8520 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8521 __strtoul_internal rather than strtoul.
8522
8523 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8524
8525 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8526 and reject them.
8527
8528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8529
8530 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8531 which preserves existing values.
8532 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8533
8534 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8535
8536 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8537 TIMEOUT values. Return EINVAL for NFDS values either negative or
8538 greater than FD_SETSIZE.
8539
8540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8541
8542 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8543 allocated, call __vm_protect to finish enabling the existing space, and
8544 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8545 allocate the remainder.
8546
8547 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8548
8549 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8550 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8551
8552 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8553
8554 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8555 sysdeps/mach/hurd/readlink.c.
8556
8557 * posix/tst-sysconf.c (posix_options): Only use
8558 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8559 _POSIX_SYNCHRONIZED_IO when they are defined
8560 * sysdeps/mach/hurd/bits/posix_opt.h:
8561 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8562 (_XOPEN_REALTIME): Undefine macro.
8563 (_XOPEN_REALTIME_THREADS): Undefine macro.
8564 (_XOPEN_SHM): Undefine macro.
8565 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8566 macro to -1.
8567 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8568 macro to -1.
8569 (_POSIX_ASYNC_IO): Undefine macro.
8570 (_POSIX_PRIORITIZED_IO): Undefine macro.
8571 (_POSIX_SPIN_LOCKS): Define macro to -1.
8572
8573 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8574 SA_NODEFER, SA_RESETHAND.
8575 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8576 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8577 F_DUPFD_CLOEXEC.
8578
8579 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8580
8581 * elf/Makefile (pldd-modules): Define unconditionally.
8582
8583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8584
8585 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8586
8587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8588
8589 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8590 Return ENOENT when name is empty.
8591 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8592
8593 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8594
8595 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8596
8597 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8598
8599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8600
8601 Fix mlock in all cases except non-readable pages.
8602 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8603 instead of VM_PROT_ALL as parameter to __vm_wire function.
8604
8605 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8606 (__mkdir): When path is `/', just fail with EEXIST.
8607 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8608
8609 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8610
8611 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8612 <sys/uio.h> (for writev).
8613 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8614 and <sys/param.h> (for MIN).
8615
8616 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8617
8618 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8619 REQUESTED_TIME. Properly set the remaining time and return EINTR
8620 if interrupted.
8621
8622 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8623
8624 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8625 Depend on against $(link-rpcuserlibs).
8626
8627 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8628
8629 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8630 (__libc_stack_end): Do not use attribute_relro.
8631 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8632 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8633 to libthread-provided value.
8634 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8635 attribute_relro.
8636
8637 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8638
8639 [BZ #3748]
8640 * bits/libc-lock.h (__libc_once_get): New macro.
8641 * sysdeps/mach/bits/libc-lock.h: Likewise.
8642 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8643 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8644 instead of using implementation details.
8645
8646 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8647 * libio/freopen.c: Likewise.
8648 * libio/freopen64.c: Likewise.
8649 * misc/syslog.c: Likewise.
8650 * nscd/connections.c: Likewise.
8651 * nscd/netgroupcache.c: Likewise.
8652 * sysdeps/posix/getcwd.c: Likewise.
8653
8654 2012-05-10 Roland McGrath <roland@hack.frob.com>
8655
8656 * math/w_ilogbf.c: Add #include <limits.h>.
8657
8658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8659
8660 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8661 path instead of returning without unlocking.
8662
8663 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8664 immediate-write ioctls.
8665 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8666
8667 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8668
8669 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8670 __builtin_frame_address instead of making assumptions about the
8671 location of the return address relative to DATA. Force early load of
8672 the return address.
8673 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8674 __builtin_frame_address.
8675
8676 dup3 for GNU Hurd.
8677 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8678 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8679 implement dup3 and do some further code clean-ups.
8680 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8681 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8682
8683 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8684
8685 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8686
8687 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8688 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8689 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8690 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8691 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8692 d->port.lock.
8693
8694 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8695 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8696 when handler == SIG_ERR, not when handler != SIG_ERR.
8697
8698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8699
8700 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8701 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8702 definitions.
8703
8704 accept4 for GNU Hurd.
8705 * include/sys/socket.h (__libc_accept4): New prototype.
8706 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8707 to implement __libc_accept4.
8708 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8709 __libc_accept4.
8710 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8711
8712 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8713 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8714 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8715 signal-defines.sym.
8716
8717 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8718
8719 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8720
8721 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8722
8723 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8724 assertion on O_CLOEXEC flag.
8725 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8726 * hurd/intern-fd.c: Likewise.
8727 * hurd/port2fd.c: Likewise.
8728
8729 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8730
8731 [BZ #3906]
8732 * bits/in.h (IPV6_PKTINFO): Define new macro.
8733 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8734
8735 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8736
8737 [BZ #13954]
8738 [BZ #13955]
8739 [BZ #13956]
8740 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8742 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8743 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8745 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8746 * math/libm-test.inc (logb_test) : Additional logb tests.
8747
8748 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8749 Andreas Jaeger <aj@suse.de>
8750
8751 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8752 * configure: Regenerated.
8753 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8754 * config.make.in (link-obsolete-rpc): New substituted variable.
8755 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8756 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8757 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8758 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8759 so that libc.a contains the symbols.
8760 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8761 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8762 * sunrpc/auth_none.c: Likewise.
8763 * sunrpc/auth_unix.c: Likewise.
8764 * sunrpc/authdes_prot.c: Likewise.
8765 * sunrpc/authuxprot.c: Likewise.
8766 * sunrpc/clnt_gen.c: Likewise.
8767 * sunrpc/clnt_perr.c: Likewise.
8768 * sunrpc/clnt_raw.c: Likewise.
8769 * sunrpc/clnt_simp.c: Likewise.
8770 * sunrpc/clnt_tcp.c: Likewise.
8771 * sunrpc/clnt_udp.c: Likewise.
8772 * sunrpc/clnt_unix.c: Likewise.
8773 * sunrpc/des_crypt.c: Likewise.
8774 * sunrpc/des_soft.c: Likewise.
8775 * sunrpc/get_myaddr.c: Likewise.
8776 * sunrpc/key_call.c: Likewise.
8777 * sunrpc/key_prot.c: Likewise.
8778 * sunrpc/netname.c: Likewise.
8779 * sunrpc/pm_getmaps.c: Likewise.
8780 * sunrpc/pm_getport.c: Likewise.
8781 * sunrpc/pmap_clnt.c: Likewise.
8782 * sunrpc/pmap_prot.c: Likewise.
8783 * sunrpc/pmap_prot2.c: Likewise.
8784 * sunrpc/pmap_rmt.c: Likewise.
8785 * sunrpc/publickey.c: Likewise.
8786 * sunrpc/rpc_cmsg.c: Likewise.
8787 * sunrpc/rpc_common.c: Likewise.
8788 * sunrpc/rpc_dtable.c: Likewise.
8789 * sunrpc/rpc_prot.c: Likewise.
8790 * sunrpc/rpc_thread.c: Likewise.
8791 * sunrpc/rtime.c: Likewise.
8792 * sunrpc/svc.c: Likewise.
8793 * sunrpc/svc_auth.c: Likewise.
8794 * sunrpc/svc_raw.c: Likewise.
8795 * sunrpc/svc_run.c: Likewise.
8796 * sunrpc/svc_tcp.c: Likewise.
8797 * sunrpc/svc_udp.c: Likewise.
8798 * sunrpc/svc_unix.c: Likewise.
8799 * sunrpc/svcauth_des.c: Likewise.
8800 * sunrpc/xcrypt.c: Likewise.
8801 * sunrpc/xdr.c: Likewise.
8802 * sunrpc/xdr_array.c: Likewise.
8803 * sunrpc/xdr_float.c: Likewise.
8804 * sunrpc/xdr_intXX_t.c: Likewise.
8805 * sunrpc/xdr_mem.c: Likewise.
8806 * sunrpc/xdr_rec.c: Likewise.
8807 * sunrpc/xdr_ref.c: Likewise.
8808 * sunrpc/xdr_sizeof.c: Likewise.
8809 * sunrpc/xdr_stdio.c: Likewise.
8810
8811 2012-05-10 Roland McGrath <roland@hack.frob.com>
8812
8813 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8814 change. Update copyright years.
8815
8816 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8817
8818 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8819
8820 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8821 Joseph Myers <joseph@codesourcery.com>
8822 Paul Pluzhnikov <ppluzhnikov@google.com>
8823
8824 [BZ #14012]
8825 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8826 requiring rpcgen.
8827 [cross-compiling] (extra-libs): Likewise.
8828 [cross-compiling] (extra-libs-others): Likewise.
8829 [cross-compiling] (librpcsvc-routines): Likewise.
8830 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8831 [cross-compiling] (omit-deps): Likewise.
8832 (sunrpc-CPPFLAGS): New variable.
8833 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8834 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8835 (cross-rpcgen-objs): New variable.
8836 (extra-objs): Append $(cross-rpcgen-objs).
8837 ($(cross-rpcgen-objs)): New rule.
8838 ($(objpfx)cross-rpcgen): Likewise.
8839 (rpcgen-cmd): Define to use $(built-program-file). Expand
8840 comment.
8841 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8842 ($(objpfx)x%.stmp): Likewise.
8843 * sunrpc/proto.h [IS_IN_build] (_): Define.
8844 [IS_IN_build] (_libc_intl_domainname): Likewise.
8845
8846 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8847
8848 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8849 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8850 and R_X86_64_TPOFF64.
8851
8852 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8853
8854 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8855 sysdeps/unix/sysv/syscalls.list.
8856 (stime): Likewise.
8857 (utime): Likewise.
8858 * sysdeps/unix/sysv/syscalls.list: Remove file.
8859
8860 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8861
8862 [BZ #3440]
8863 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8864 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8865 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8866 (__LC_IDENTIFICATION): Make these macros useful in #if
8867 expressions, as required by C99.
8868
8869 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8870
8871 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8872 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8873 after this.
8874
8875 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8876
8877 * stdlib/longlong.h: Updated from GCC.
8878
8879 2012-05-09 Andreas Jaeger <aj@suse.de>
8880
8881 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8882 default is first entry.
8883 (run_mode): Set type.
8884 (main): Remove informal message about syslog.
8885 (options): Fix typo.
8886
8887 [BZ #14053]
8888 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8889 to asm.
8890 (lrint): Likewise.
8891 (llrintf): Likewise.
8892 (llrint): Likewise.
8893 (rint): Likewise.
8894 (rintf): Likewise.
8895 (nearbyint): Likewise.
8896 (nearbyintf): Likewise.
8897
8898 2012-05-09 Andreas Jaeger <aj@suse.de>
8899 Pedro Alves <palves@redhat.com>
8900
8901 * nscd/nscd.c (run_mode): Use enum.
8902 (main): Cleanup coding style issue.
8903
8904 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
8905 Andreas Jaeger <aj@suse.de>
8906
8907 * nscd/nscd.c (go_background): Replaced with...
8908 (run_mode): ... this.
8909 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8910 (options): Add -F --foreground.
8911 (main): Implement it.
8912 (parse_opt): Parse it.
8913
8914 2012-05-09 Andreas Jaeger <aj@suse.de>
8915
8916 [BZ #14083]
8917 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8918 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8919 -Wconversion warning.
8920 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8921 Likewise.
8922
8923 2012-05-09 Joseph Myers <joseph@codesourcery.com>
8924
8925 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8926 == 0.
8927 (LC_ALL): Use macro-int-constant.
8928 (LC_COLLATE): Likewise.
8929 (LC_CTYPE): Likewise.
8930 (LC_MESSAGES): Likewise.
8931 (LC_MONETARY): Likewise.
8932 (LC_NUMERIC): Likewise.
8933 (LC_TIME): Likewise.
8934 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8935 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8936 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8937 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8938 Specify type.
8939 [C99-based standards] (float_t): Expect type.
8940 [C99-based standards] (double_t): Expect type.
8941 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8942 type.
8943 [C99-based standards] (HUGE_VALL): Likewise.
8944 [C99-based standards] (INFINITY): Likewise.
8945 [C99-based standards] (NAN): Likewise.
8946 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8947 [C99-based standards] (FP_NAN): Likewise.
8948 [C99-based standards] (FP_NORMAL): Likewise.
8949 [C99-based standards] (FP_SUBNORMAL): Likewise.
8950 [C99-based standards] (FP_ZERO): Likewise.
8951 [C99-based standards] (FP_FAST_FMA): Use
8952 optional-macro-int-constant. Specify type. Require == 1.
8953 [C99-based standards] (FP_FAST_FMAF): Likewise.
8954 [C99-based standards] (FP_FAST_FMAL): Likewise.
8955 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8956 [C99-based standards] (FP_ILOGBNAN): Likewise.
8957 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8958 Specify type.
8959 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8960 [C99-based standards] (math_errhandling): Specify type.
8961 [ISO99 || ISO11] (signgam): Do not allow.
8962 [non-C99-based standards] (copysignf): Do not allow.
8963 [non-C99-based standards] (exp2f): Likewise.
8964 [non-C99-based standards] (log2f): Likewise.
8965 [non-C99-based standards] (modff): Allow.
8966 [non-C99-based standards] (erff): Do not allow.
8967 [non-C99-based standards] (erfcf): Likewise.
8968 [non-C99-based standards] (gammaf): Likewise.
8969 [non-C99-based standards] (hypotf): Likewise.
8970 [non-C99-based standards] (j0f): Likewise.
8971 [non-C99-based standards] (j1f): Likewise.
8972 [non-C99-based standards] (jnf): Likewise.
8973 [non-C99-based standards] (lgammaf): Likewise.
8974 [non-C99-based standards] (tgammaf): Likewise.
8975 [non-C99-based standards] (y0f): Likewise.
8976 [non-C99-based standards] (y1f): Likewise.
8977 [non-C99-based standards] (ynf): Likewise.
8978 [non-C99-based standards] (isnanf): Likewise.
8979 [non-C99-based standards] (acoshf): Likewise.
8980 [non-C99-based standards] (asinhf): Likewise.
8981 [non-C99-based standards] (atanhf): Likewise.
8982 [non-C99-based standards] (cbrtf): Likewise.
8983 [non-C99-based standards] (expm1f): Likewise.
8984 [non-C99-based standards] (ilogbf): Likewise.
8985 [non-C99-based standards] (log1pf): Likewise.
8986 [non-C99-based standards] (logbf): Likewise.
8987 [non-C99-based standards] (nextafterf): Likewise.
8988 [non-C99-based standards] (remainderf): Likewise.
8989 [non-C99-based standards] (rintf): Likewise.
8990 [non-C99-based standards] (scalbf): Likewise.
8991 [non-C99-based standards] (copysignl): Likewise.
8992 [non-C99-based standards] (exp2l): Likewise.
8993 [non-C99-based standards] (log2l): Likewise.
8994 [non-C99-based standards] (modfl): Allow.
8995 [non-C99-based standards] (erfl): Do not allow.
8996 [non-C99-based standards] (erfcl): Likewise.
8997 [non-C99-based standards] (gammal): Likewise.
8998 [non-C99-based standards] (hypotl): Likewise.
8999 [non-C99-based standards] (j0l): Likewise.
9000 [non-C99-based standards] (j1l): Likewise.
9001 [non-C99-based standards] (jnl): Likewise.
9002 [non-C99-based standards] (lgammal): Likewise.
9003 [non-C99-based standards] (tgammal): Likewise.
9004 [non-C99-based standards] (y0l): Likewise.
9005 [non-C99-based standards] (y1l): Likewise.
9006 [non-C99-based standards] (ynl): Likewise.
9007 [non-C99-based standards] (isnanl): Likewise.
9008 [non-C99-based standards] (acoshl): Likewise.
9009 [non-C99-based standards] (asinhl): Likewise.
9010 [non-C99-based standards] (atanhl): Likewise.
9011 [non-C99-based standards] (cbrtl): Likewise.
9012 [non-C99-based standards] (expm1l): Likewise.
9013 [non-C99-based standards] (ilogbl): Likewise.
9014 [non-C99-based standards] (log1pl): Likewise.
9015 [non-C99-based standards] (logbl): Likewise.
9016 [non-C99-based standards] (nextafterl): Likewise.
9017 [non-C99-based standards] (remainderl): Likewise.
9018 [non-C99-based standards] (rintl): Likewise.
9019 [non-C99-based standards] (scalbl): Likewise.
9020 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9021 [non-C99-based standards] (FP_*): Do not allow.
9022 [C99-based standards] (FP_*): Change to
9023 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9024 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9025 allow.
9026 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9027 (SIG_ERR): Likewise.
9028 [X/Open-based standards] (SIG_HOLD): Likewise.
9029 (SIG_IGN): Likewise.
9030 (SIGABRT): Use macro-int-constant. Specify type. Require
9031 positive value.
9032 (SIGFPE): Likewise.
9033 (SIGILL): Likewise.
9034 (SIGINT): Likewise.
9035 (SIGSEGV): Likewise.
9036 (SIGTER): Likewise.
9037 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9038 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9039 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9040 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9041 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9042 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9043 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9044 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9045 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9046 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9047 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9048 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9049 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9050 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9051 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9052 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9053 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9054 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9055 [X/Open-based standards] (SIGTRAP): Likewise.
9056 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9057 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9058 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9059 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9060 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9061 allow.
9062
9063 2012-05-08 Ian Wienand <ianw@vmware.com>
9064
9065 [BZ #14080]
9066 * time/tzset.c (__tzset_parse_tz): Update default rules for
9067 daylight time changes in the Energy Policy Act of 2005.
9068
9069 2012-05-09 Andreas Jaeger <aj@suse.de>
9070
9071 [BZ #13983]
9072 * elf/ldconfig.c (parse_conf): Change string to make clear that
9073 ldconfig only issued a warning if ld.so.conf does not exist.
9074
9075 2012-05-08 David S. Miller <davem@davemloft.net>
9076
9077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9078 movxtod instead of popping the value on the stack.
9079
9080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9081
9082 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9083
9084 * config.h.in: Add HAVE_ARM_PCS_VFP.
9085
9086 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9087
9088 [BZ #13979]
9089 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9090 checking but the checks are disabled for any reason.
9091
9092 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9093
9094 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9095 and ELF64_R_TYPE with ELFW(R_TYPE).
9096
9097 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9098
9099 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9100 (ulimit): Likewise.
9101
9102 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9103 (settimeofday): Likewise.
9104
9105 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9106
9107 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9108 a struct th_u2 inside the union, and move tu_block/tu_code into
9109 a new th_u3 union of tu_block/tu_code inside of that. Move
9110 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9111 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9112 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9113 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9114 (th_stuff): Change to th_u1.tu_stuff.
9115 (th_data): Define.
9116 (th_msg): Change to th_u1.th_u2.tu_data.
9117
9118 2012-05-07 David S. Miller <davem@davemloft.net>
9119
9120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9121
9122 [BZ #14074]
9123 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9124 (SETUP_PIC_REG): Use it.
9125 (SETUP_PIC_REG_LEAF): Use it.
9126
9127 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9128
9129 [BZ #13885]
9130 [BZ #13923]
9131 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9132 USE_AS_EXPM1L.
9133 (EXPL_FINITE): Likewise.
9134 (FLDLOG): Likewise.
9135 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9136 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9137 e_expl.S.
9138 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9139 USE_AS_EXPM1L.
9140 (EXPL_FINITE): Likewise.
9141 (FLDLOG): Likewise.
9142 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9143 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9144 e_expl.S.
9145 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9146 test of -max_value argument for long double.
9147 * sysdeps/i386/fpu/libm-test-ulps: Update.
9148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9149
9150 2012-05-06 David S. Miller <davem@davemloft.net>
9151
9152 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9153 quad soft-float symbols whose references which are compiler
9154 generated.
9155 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9156
9157 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9158
9159 [BZ #13884]
9160 [BZ #13914]
9161 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9162 USE_AS_EXP10L.
9163 (EXPL_FINITE): Likewise.
9164 (FLDLOG): Likewise.
9165 (c0): Likewise.
9166 (c1): Likewise.
9167 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9168 Adjust comments for base varying.
9169 (__expl_finite): Change alias to EXPL_FINITE.
9170 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9171 e_expl.S.
9172 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9173 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9175 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9176 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9177 USE_AS_EXP10L.
9178 (EXPL_FINITE): Likewise.
9179 (FLDLOG): Likewise.
9180 (c0): Likewise.
9181 (c1): Likewise.
9182 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9183 Adjust comments for base varying.
9184 (__expl_finite): Change alias to EXPL_FINITE.
9185 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9186 tests for bugs.
9187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9188
9189 [BZ #14064]
9190 * math/libm-test.inc (check_float_internal): Correct ulp
9191 calculation for subnormal expected results.
9192
9193 2012-05-06 Andreas Jaeger <aj@suse.de>
9194
9195 * Makeconfig (+math-flags): New, set to -frounding-math.
9196 (+cflags): Add +math-flags so that all of glibc gets compiled with
9197 it.
9198
9199 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9200
9201 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9202
9203 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9204 Disable one test.
9205
9206 [BZ #13787]
9207 [BZ #13922]
9208 [BZ #14036]
9209 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9210 (__ieee754_expl): Allow for and saturate large arguments.
9211 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9212 (u_threshold): Likewise.
9213 (__exp): Call __ieee754_exp before checking for overflow and
9214 underflow.
9215 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9216 (u_threshold): Likewise.
9217 (__expf): Call __ieee754_expf before checking for overflow and
9218 underflow.
9219 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9220 (u_threshold): Likewise.
9221 (__expl): Call __ieee754_expl before checking for overflow and
9222 underflow.
9223 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9224 (__ieee754_expl): Allow for and saturate large arguments.
9225 * math/libm-test.inc (exp_test): Add another test. Do not allow
9226 missing overflow exception on overflow.
9227 (expm1_test): Do not allow missing overflow exception on overflow.
9228
9229 * sysdeps/i386/fpu/e_expl.c: Move to ...
9230 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9231 rather than using inline asm.
9232 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9233 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9234 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9235
9236 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9237 (nice): Likewise.
9238 (poll): Likewise.
9239 (signal): Likewise.
9240 (time): Likewise.
9241 (times): Likewise.
9242
9243 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9244
9245 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9246 sysdeps/unix/common/syscalls.list.
9247 (fchmod): Likewise.
9248 (fchown): Likewise.
9249 (ftruncate): Likewise.
9250 (getrusage): Likewise.
9251 (gettimeofday): Likewise.
9252 (setpgid): Likewise.
9253 (setregid): Likewise.
9254 (setreuid): Likewise.
9255 (sigaction): Likewise.
9256 (truncate): Likewise.
9257 (vhangup): Likewise.
9258 * sysdeps/unix/common/syscalls.list: Remove file.
9259 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9260 * sysdeps/unix/sysv/linux/Implies: Likewise.
9261
9262 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9263
9264 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9266 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9267 Moved to ...
9268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9269 Here.
9270 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9271 to ...
9272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9273 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9274 to ...
9275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9276 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9277 to ...
9278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9279 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9280 to ...
9281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9282 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9283 to ...
9284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9285 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9286 to ...
9287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9288 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9289 to ...
9290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9291 Here.
9292 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9293 to ...
9294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9295 Here.
9296 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9297 to ...
9298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9299 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9300 Moved to ...
9301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9302 Here.
9303 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9304 to ...
9305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9306
9307 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9308
9309 * sysdeps/unix/common/bits/dirent.h: Remove file.
9310 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9311
9312 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9313 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9314 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9315 * sysdeps/unix/bsd/isatty.c: Likewise.
9316 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9317 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9318 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9319
9320 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9321
9322 [BZ #13563]
9323 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9324 long double comparison inaccuracies.
9325 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9327
9328 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9329
9330 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9331 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9332
9333 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9334
9335 [BZ #14049]
9336 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9337 nonzero digits before rounding a hex value.
9338 * stdlib/tst-strtod.c (tests): Add another test.
9339
9340 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9341
9342 * sysdeps/s390/fpu/libm-test-ulps: Update.
9343
9344 2012-05-03 Andreas Jaeger <aj@suse.de>
9345
9346 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9347 does not get optimized out.
9348 (malloc_opt_barrier): New.
9349
9350 2012-05-03 Andreas Jaeger <aj@suse.de>
9351 Roland McGrath <roland@hack.frob.com>
9352
9353 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9354 intermediate file deletion.
9355 (generated): Add .symlist files.
9356
9357 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9358
9359 [BZ #13775]
9360 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9361 Redirect under this condition.
9362 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9363 [__USE_GNU] (__dprintf_chk): Not under this condition.
9364 [__USE_GNU] (__vdprintf_chk): Likewise.
9365 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9366 under this condition.
9367 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9368 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9369 [__USE_XOPEN2K8] (vdprintf): Likewise.
9370 [__USE_GNU] (__dprintf_chk): Not under this condition.
9371 [__USE_GNU] (__vdprintf_chk): Likewise.
9372 [__USE_GNU] (dprintf): Likewise.
9373 [__USE_GNU] (vdprintf): Likewise.
9374
9375 2012-05-03 Roland McGrath <roland@hack.frob.com>
9376
9377 * elf/Makefile (common-generated): Set this instead of generated for
9378 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9379 $(all-built-dso)-derived lists.
9380
9381 2012-05-03 Andreas Jaeger <aj@suse.de>
9382
9383 * sysdeps/i386/fpu/libm-test-ulps: Update.
9384
9385 * FAQ: Removed.
9386 * FAQ.in: Likewise.
9387 * scripts/gen-FAQ.pl: Likewise.
9388 * manual/install.texi (Installation): Point to online location of
9389 FAQ.
9390 * Makefile (files-for-dist): Remove FAQ.
9391 (FAQ): Remove.
9392
9393 2012-05-02 Allan McRae <allan@archlinux.org>
9394
9395 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9396 (LDFLAGS-reldepmod5.so): Likewise.
9397 (LDFLAGS-reldep6mod1.so): Likewise.
9398 (LDFLAGS-reldep6mod4.so): Likewise.
9399 (LDFLAGS-reldep8mod3.so): Likewise.
9400 (LDFLAGS-unload4mod1.so): Likewise.
9401 (LDFLAGS-unload4mod2.so): Likewise.
9402 (LDFLAGS-tst-initorder): Likewise.
9403 (LDFLAGS-tst-initordera2.so): Likewise.
9404 (LDFLAGS-tst-initordera3.so): Likewise.
9405 (LDFLAGS-tst-initordera4.so): Likewise.
9406 (LDFLAGS-tst-initorderb2.so): Likewise.
9407 (LDFLAGS-noload): Likewise.
9408 (LDFLAGS-next): Likewise.
9409 (LDFLAGS-order2mod1.so): Likewise.
9410 (LDFLAGS-order2mod2.so): Likewise.
9411 (LDFLAGS-tst-initorder2): Likewise.
9412 (LDFLAGS-tst-initorder2a.so): Likewise.
9413 (LDFLAGS-tst-initorder2b.so): Likewise.
9414 (LDFLAGS-tst-initorder2c.so): Likewise.
9415 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9416
9417 2012-05-02 David S. Miller <davem@davemloft.net>
9418
9419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9420
9421 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9422
9423 [BZ #14055]
9424 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9425
9426 2012-05-02 Andreas Jaeger <aj@suse.de>
9427
9428 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9429 since we manipulate rounding mode.
9430 (CPPFLAGS-test-idouble.c): Likewise.
9431 (CPPFLAGS-test-ifloat.c): Likewise.
9432 (CFLAGS-test-ldouble.c): Likewise.
9433 (CFLAGS-test-double.c): Likewise.
9434 (CFLAGS-test-float.c): Likewise.
9435 (CFLAGS-test-misc.c): Likewise.
9436 (CFLAGS-test-test-fenv.c): Likewise.
9437
9438 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9439
9440 [BZ #2550]
9441 [BZ #2570]
9442 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9443 comparisons to determine direction to adjust input.
9444
9445 2012-05-01 Roland McGrath <roland@hack.frob.com>
9446
9447 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9448 output to the target.
9449
9450 * scripts/localplt.awk: New file.
9451 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9452 (check-localplt-CFLAGS): Variable removed.
9453 ($(all-built-dso:=.jmprel)): New static pattern rule.
9454 (generated): Add those targets.
9455 (localplt-built-dso): New variable.
9456 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9457
9458 * elf/check-localplt.c: File removed.
9459
9460 * scripts/check-execstack.awk: New file.
9461 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9462 (check-execstack-CFLAGS): Variable removed.
9463 ($(objpfx)check-execstack.h): Target removed.
9464 ($(objpfx)execstack-default): New target.
9465 (generated): Add that instead of check-execstack.h.
9466 ($(all-built-dso:=.phdr)): New static pattern rule.
9467 (generated): Add those targets.
9468 * elf/check-execstack.c: File removed.
9469
9470 * scripts/check-textrel.awk: New file.
9471 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9472 (check-textrel-CFLAGS): Variable removed.
9473 (all-built-dso): Use := to define.o
9474 ($(all-built-dso:=.dyn)): New static pattern rule.
9475 (generated): Add those targets.
9476 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9477 * config.make.in (READELF): New substituted variable.
9478 * elf/check-textrel.c: File removed.
9479
9480 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9481
9482 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9483 allow.
9484 * conform/data/ctype.h-data [C99-based standards] (isblank):
9485 Expect function.
9486 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9487 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9488 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9489 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9490 Specify type. Require positive value.
9491 (EILSEQ): Likewise.
9492 (ERANGE): Likewise.
9493 [ISO || POSIX] (EILSEQ): Do not expect.
9494 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9495 Specify type. Require positive value.
9496 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9497 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9498 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9499 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9500 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9501 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9502 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9503 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9504 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9505 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9506 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9507 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9508 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9509 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9510 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9511 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9513 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9514 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9515 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9516 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9517 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9518 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9519 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9520 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9521 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9522 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9523 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9524 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9525 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9526 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9527 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9528 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9529 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9530 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9531 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9532 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9533 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9534 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9535 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9536 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9537 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9538 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9539 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9540 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9541 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9542 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9543 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9544 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9545 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9546 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9547 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9548 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9549 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9550 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9551 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9552 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9553 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9554 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9555 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9556 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9557 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9558 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9559 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9560 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9561 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9562 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9563 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9564 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9565 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9566 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9567 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9568 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9569 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9570 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9571 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9572 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9573 Require >= 2.
9574 (FLT_ROUNDS): Expect as macro, not constant.
9575 (FLT_MANT_DIG): Use macro-int-constant.
9576 (DBL_MANT_DIG): Likewise.
9577 (LDBL_MANT_DIG): Likewise.
9578 (FLT_DIG): Likewise.
9579 (DBL_DIG): Likewise.
9580 (LDBL_DIG): Likewise.
9581 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9582 (DBL_MIN_EXP): Likewise.
9583 (LDBL_MIN_EXP): Likewise.
9584 (FLT_MAX_EXP): Use macro-int-constant.
9585 (DBL_MAX_EXP): Likewise.
9586 (LDBL_MAX_EXP): Likewise.
9587 (FLT_MAX_10_EXP): Likewise.
9588 (DBL_MAX_10_EXP): Likewise.
9589 (LDBL_MAX_10_EXP): Likewise.
9590 (FLT_MAX): Use macro-constant.
9591 (DBL_MAX): Likewise.
9592 (LDBL_MAX): Likewise.
9593 (FLT_EPSILON): Use macro-constant. Give upper bound.
9594 (DBL_EPSILON): Likewise.
9595 (LDBL_EPSILON): Likewise.
9596 (FLT_MIN): Likewise.
9597 (DBL_MIN): Likewise.
9598 (LDBL_MIN): Likewise.
9599 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9600 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9601 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9602 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9603 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9604 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9605 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9606 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9607 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9608 [ISO11] (FLT_TRUE_MIN): Likewise.
9609 [ISO11] (LDBL_TRUE_MIN): Likewise.
9610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9611 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9612 (SCHAR_MIN): Use macro-int-constant. Specify type.
9613 (SCHAR_MAX): Likewise.
9614 (UCHAR_MAX): Likewise.
9615 (CHAR_MIN): Likewise.
9616 (CHAR_MAX): Likewise.
9617 (MB_LEN_MAX): Use macro-int-constant.
9618 (SHRT_MIN): Use macro-int-constant. Specify type.
9619 (SHRT_MAX): Likewise.
9620 (USHRT_MAX): Likewise.
9621 (INT_MAX): Likewise.
9622 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9623 bound negative.
9624 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9625 bound with "U".
9626 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9627 bound with "L".
9628 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9629 bound negative. Suffix upper bound with "L".
9630 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9631 bound with "UL".
9632 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9633 Specify type.
9634 [C99-based standards] (LLONG_MAX): Likewise.
9635 [C99-based standards] (ULLONG_MAX): Likewise.
9636 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9637 == 0.
9638 [ISO11] (max_align_t): Require type.
9639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9640
9641 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9642 from $CFLAGS, without defining away __attribute__ calls.
9643 (checknamespace): Use $CFLAGS_namespace.
9644
9645 * conform/conformtest.pl (@keywords): Only include C99 keywords
9646 for standards based on C99 or C11.
9647
9648 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9649 Disable tests.
9650 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9651 UNIX98]: Likewise.
9652
9653 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9654 usability of symbols in #if.
9655
9656 * conform/conformtest.pl: If macro or constant types start
9657 "promoted:", expect the symbol to be of the following type
9658 promoted by the integer promotions.
9659
9660 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9661 in one place. Also handle "macro-constant".
9662
9663 * conform/conformtest.pl: Only accept expected macro values with
9664 "==". Parse all "macro" lines in one place.
9665 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9666
9667 * conform/conformtest.pl: Handle braced types on "constant" lines
9668 instead of handling "typed-constant".
9669 * conform/data/signal.h-data: Use "constant" instead of
9670 "typed-constant".
9671
9672 * conform/conformtest.pl: Handle "optional-" at start of lines in
9673 one place rather than duplicating several cases. Handle each
9674 format of "macro" line with initial "optional-".
9675
9676 * conform/conformtest.pl: Only accept expected constant or
9677 optional-constant values with "==". Parse all "constant" lines in
9678 one place. Parse all "optional-constant" lines in one place.
9679 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9680 * conform/data/fmtmsg.h-data: Likewise.
9681 * conform/data/netinet/in.h-data: Likewise.
9682 * conform/data/tar.h-data: Likewise.
9683 * conform/data/limits.h-data: Use "==" form on "constant" and
9684 "optional-constant" lines.
9685
9686 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9687 Use -std=c99 for XOPEN2K.
9688 (@knownproblems): Remove.
9689 (newtoken): Don't check %isknown.
9690
9691 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9692 Do not expect macro.
9693 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9694 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9695 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9696 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9697 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9698 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9699 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9700 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9701 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9702 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9703 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9704 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9705 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9706 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9707 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9708 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9709 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9710 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9711 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9712 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9713 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9714 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9715 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9716 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9717 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9718 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9719 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9720 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9721 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9722 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9723 [XPG3] (acosh): Likewise.
9724 [XPG3] (asinh): Likewise.
9725 [XPG3] (atanh): Likewise.
9726 [XPG3] (cbrt): Likewise.
9727 [XPG3] (expm1): Likewise.
9728 [XPG3] (ilogb): Likewise.
9729 [XPG3] (log1p): Likewise.
9730 [XPG3] (logb): Likewise.
9731 [XPG3] (nextafter): Likewise.
9732 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9733 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9734 [XPG3] (remainder): Likewise.
9735 [XPG3] (rint): Likewise.
9736 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9737 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9738 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9739 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9740 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9741 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9742 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9743 [UNIX98 || XOPEN2K] (scalb): Expect.
9744 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9745 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9746 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9747 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9748 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9749 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9750 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9751 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9752 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9753 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9754 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9755 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9756 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9757 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9758 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9759 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9760 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9761 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9762 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9763 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9764 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9765 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9766 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9767 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9768 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9769 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9770 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9771 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9772 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9773 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9774 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9775 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9776 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9777 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9778 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9779 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9780 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9781 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9782 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9783 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9784 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9785 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9786 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9787 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9788 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9789 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9790 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9791 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9792 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9793 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9794 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9795 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9796 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9797 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9798 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9799 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9800 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9801 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9802 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9803 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9804 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9805 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9806 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9807 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9808 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9809 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9810 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9811 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9812 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9813 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9814 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9815 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9816 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9821 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9822 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9823 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9826 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9827 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9828 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9829 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9830 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9831 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9832 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9833 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9834 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9835 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9836 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9837 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9838 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9839 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9840 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9841 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9842 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9843 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9844 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9845 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9846 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9847 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9848 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9849 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9850 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9851 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9852 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9853 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9854 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9855 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9856 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9857 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9858 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9859 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9860 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9861 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9862 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9863 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9864 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9865 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9866 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9867 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9868 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9869 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9870 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9871 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9872 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9873 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9874 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9875 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9876 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9877 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9878 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9879 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9880 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9881
9882 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9883 _XOPEN_SOURCE_EXTENDED for XPG4.
9884
9885 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9886
9887 * Makeconfig (localtime): Remove variable.
9888 (inst_localtime-file): Likewise.
9889
9890 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9891
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9893 Update.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9895 Update.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9897 Update.
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9899 Update.
9900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9901 Update.
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9903 Update.
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9905 Update.
9906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9907 Update.
9908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9909 Update.
9910
9911 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9912
9913 [BZ #2550]
9914 [BZ #2570]
9915 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9916 comparisons to determine direction to adjust input.
9917 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9918 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9919 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9920 Likewise.
9921 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9922 Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9924 Likewise.
9925 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9926 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9927 Likewise.
9928 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9929 Likewise.
9930 * math/libm-test.inc (nexttoward_test): Add more tests.
9931
9932 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9933
9934 [BZ #14040]
9935 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9936 in version GLIBC_2.1, not GLIBC_2.0.
9937 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9938 Likewise.
9939
9940 2012-04-30 Joseph Myers <joseph@codesourcery.com>
9941
9942 [BZ #13942]
9943 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9944 (1 - x) * (1 + x).
9945 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9946 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9947 * math/libm-test.inc (acos_test): Add more tests.
9948 (asin_test): Likewise.
9949 * sysdeps/i386/fpu/libm-test-ulps: Update.
9950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9951
9952 [BZ #14034]
9953 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9954 of square root.
9955 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9956 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9957 * math/libm-test.inc (acos_test_tonearest): New function.
9958 (acos_test_towardzero): Likewise.
9959 (acos_test_downward): Likewise.
9960 (acos_test_upward): Likewise.
9961 (asin_test_tonearest): Likewise.
9962 (asin_test_towardzero): Likewise.
9963 (asin_test_downward): Likewise.
9964 (asin_test_upward): Likewise.
9965 (main): Call the new functions.
9966 * sysdeps/i386/fpu/libm-test-ulps: Update.
9967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9968
9969 [BZ #13884]
9970 [BZ #13924]
9971 * math/e_exp10.c: Include <float.h>.
9972 (__ieee754_exp10): Handle underflow here rather than multiplying
9973 large negative argument by M_LN10.
9974 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9975 of __ieee754_expf.
9976 * math/e_exp10l.c: Include <float.h>.
9977 (__ieee754_exp10l): Handle underflow here rather than multiplying
9978 large negative argument by M_LN10l.
9979 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9980 spurious overflow exception on underflow.
9981
9982 2012-04-29 Marek Polacek <polacek@redhat.com>
9983
9984 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9985 (__fortify_function): New macro.
9986 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9987 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9988 __extern_always_inline.
9989 * libio/bits/stdio2.h: Likewise.
9990 * libio/bits/stdio.h: Likewise.
9991 * string/string.h: Likewise.
9992 * string/bits/string3.h: Likewise.
9993 * include/stdio.h: Likewise.
9994 * stdlib/bits/stdlib.h: Likewise.
9995 * stdlib/stdlib.h: Likewise.
9996 * rt/bits/mqueue2.h: Likewise.
9997 * rt/mqueue.h: Likewise.
9998 * posix/bits/unistd.h: Likewise.
9999 * posix/unistd.h: Likewise.
10000 * io/bits/poll2.h: Likewise.
10001 * io/bits/fcntl2.h: Likewise.
10002 * io/fcntl.h: Likewise.
10003 * io/sys/poll.h: Likewise.
10004 * misc/bits/syslog.h: Likewise.
10005 * misc/bits/syslog-ldbl.h: Likewise.
10006 * misc/sys/syslog.h: Likewise.
10007 * socket/bits/socket2.h: Likewise.
10008 * socket/sys/socket.h: Likewise.
10009 * debug/tst-chk1.c: Likewise.
10010 * wcsmbs/bits/wchar2.h: Likewise.
10011 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10012 * wcsmbs/wchar.h: Likewise.
10013
10014 2012-04-29 Andreas Jaeger <aj@suse.de>
10015
10016 * Makerules (tests): Remove enable-check-abi protection.
10017 (check-abi-warn): Remove.
10018 (check-abi-%): Remove check-abi-warn usage.
10019
10020 * configure.in: Remove check-abi configure option.
10021 * configure: Regenerated.
10022 * config.make.in (enable-check-abi): Remove.
10023
10024 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10025
10026 [BZ #14033]
10027 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10028 double functions to double *_finite functions.
10029
10030 [BZ #13941]
10031 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10032 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10033 LDBL_MIN_EXP.
10034 * stdio-common/Makefile (tests): Add tst-sprintf3.
10035 * stdio-common/tst-sprintf3.c: New file.
10036
10037 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10038 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10039
10040 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10041
10042 * conform/conformtest.pl: Remove duplicate typed-constant
10043 handling.
10044
10045 2012-04-28 David S. Miller <davem@davemloft.net>
10046
10047 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10048 (check-abi-%): Remove AWK script prerequisite and explicit
10049 abilist directory.
10050 (check-abi): Rewrite to just diff the symlist with the abilist.
10051 (config-tls, config-abi-config): Delete, no longer used.
10052 (update-abi-%): Remove AWK script and explicit abilist directory.
10053 (update-abi): Rewrite to simply compare and conditionally copy the
10054 symlist and the sysdep abilist file. Remove update-abi-config
10055 checks.
10056 * abilist/ld.abilist: Remove.
10057 * abilist/libBrokenLocale.abilist: Remove.
10058 * abilist/libanl.abilist: Remove.
10059 * abilist/libcrypt.abilist: Remove.
10060 * abilist/libdl.abilist: Remove.
10061 * abilist/librt.abilist: Remove.
10062 * abilist/libthread_db.abilist: Remove.
10063 * abilist/libutil.abilist: Remove.
10064 * scripts/extract-abilist.awk: Remove.
10065 * scripts/merge-abilist.awk: Remove.
10066 * sysdeps/generic/libcidn.abilist: New file.
10067 * sysdeps/generic/libnss_compat.abilist: New file.
10068 * sysdeps/generic/libnss_db.abilist: New file.
10069 * sysdeps/generic/libnss_dns.abilist: New file.
10070 * sysdeps/generic/libnss_files.abilist: New file.
10071 * sysdeps/generic/libnss_hesiod.abilist: New file.
10072 * sysdeps/generic/libnss_nis.abilist: New file.
10073 * sysdeps/generic/libnss_nisplus.abilist: New file.
10074 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10075 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10076 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10077 file.
10078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10079 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10080 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10081 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10082 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10083 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10084 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10085 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10086 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10087 file.
10088 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10089 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10090 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10091 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10092 file.
10093 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10094 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10095 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10096 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10097 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10098 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10099 file.
10100 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10101 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10102 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10103 file.
10104 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10106 New file.
10107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10108 New file.
10109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10110 New file.
10111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10112 New file.
10113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10114 New file.
10115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10116 New file.
10117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10118 New file.
10119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10120 New file.
10121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10122 New file.
10123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10124 New file.
10125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10126 New file.
10127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10128 New file.
10129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10130 New file.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10132 file.
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10134 New file.
10135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10136 New file.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10138 file.
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10140 New file.
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10142 New file.
10143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10144 file.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10146 New file.
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10148 New file.
10149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10150 New file.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10152 New file.
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10154 New file.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10156 New file.
10157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10159 file.
10160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10161 New file.
10162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10163 file.
10164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10165 file.
10166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10167 file.
10168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10169 file.
10170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10171 file.
10172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10173 New file.
10174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10175 file.
10176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10177 file.
10178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10179 New file.
10180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10181 file.
10182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10184 file.
10185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10186 New file.
10187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10188 file.
10189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10190 file.
10191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10192 file.
10193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10194 file.
10195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10196 file.
10197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10198 New file.
10199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10200 file.
10201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10202 file.
10203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10204 New file.
10205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10206 file.
10207 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10208 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10209 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10210 file.
10211 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10212 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10213 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10214 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10215 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10216 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10217 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10218 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10219 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10220 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10223 file.
10224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10225 New file.
10226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10227 file.
10228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10229 file.
10230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10231 file.
10232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10233 file.
10234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10235 file.
10236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10237 New file.
10238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10239 New file.
10240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10241 file.
10242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10243 New file.
10244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10245 file.
10246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10248 file.
10249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10250 New file.
10251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10252 file.
10253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10254 file.
10255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10256 file.
10257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10258 file.
10259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10260 file.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10262 New file.
10263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10264 New file.
10265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10266 file.
10267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10268 New file.
10269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10270 file.
10271
10272 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10273
10274 * conform/conformtest.pl: Fix typo in handling typed-constant from
10275 allow-header.
10276
10277 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10278
10279 * README: Cut down references to pre-2.6 Linux kernels and
10280 Linuxthreads. Update lists of configurations in libc and ports
10281 and sort alphabetically. Say "or newer" with Linux kernel version
10282 requirements.
10283
10284 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10285
10286 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10287
10288 [BZ #887]
10289 * math/libm-test.inc (logb_test_downward): New test to expose
10290 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10291 rounding mode.
10292
10293 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10294
10295 [BZ #14027]
10296 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10297 to be done.
10298 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10299 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10300
10301 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10302
10303 * sysdeps/unix/i386/brk.S: Remove file.
10304 * sysdeps/unix/i386/dl-brk.S: Likewise.
10305 * sysdeps/unix/i386/pipe.S: Likewise.
10306 * sysdeps/unix/i386/sigreturn.S: Likewise.
10307 * sysdeps/unix/i386/syscall.S: Likewise.
10308 * sysdeps/unix/i386/vfork.S: Likewise.
10309 * sysdeps/unix/i386/wait.S: Likewise.
10310
10311 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10312 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10313
10314 * configure.in (arm*-none*): Do not allow without
10315 --enable-hacker-mode.
10316 (netbsd*): Remove case setting base_os.
10317 (386bsd*): Likewise.
10318 (freebsd*): Likewise.
10319 (bsdi*): Likewise.
10320 (osf*): Likewise.
10321 (sunos*): Likewise.
10322 (ultrix*): Likewise.
10323 (newsos*): Likewise.
10324 (dynix*): Likewise.
10325 (*bsd*): Likewise.
10326 (sysv*): Likewise.
10327 (isc*): Likewise.
10328 (esix*): Likewise.
10329 (sco*): Likewise.
10330 (minix*): Likewise.
10331 (irix4*): Likewise.
10332 (irix6*): Likewise.
10333 (solaris[2-9]*): Likewise.
10334 (none): Likewise.
10335 * configure: Regenerated.
10336
10337 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10338
10339 [BZ #11521]
10340 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10341 overflow or cancellation in calculating denominator.
10342 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10344 down expression to avoid unexpected rounding in newer GCCs.
10345 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10346
10347 2012-04-26 David S. Miller <davem@davemloft.net>
10348
10349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10350 long-double compat symbols.
10351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10364
10365 2012-04-25 David S. Miller <davem@davemloft.net>
10366
10367 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10368 HWCAP_* values only after the memory barriers have been defined.
10369 (atomic_full_barrier): Define.
10370 (atomic_read_barrier): Define.
10371 (atomic_write_barrier): Define.
10372
10373 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10374
10375 * shlib-versions: Add libgcc_s version information.
10376 * sysdeps/generic/libgcc_s.h: Remove.
10377 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10378 libgcc_s.h.
10379 * sysdeps/gnu/unwind-resume.c: Likewise.
10380 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10381
10382 2012-04-25 David S. Miller <davem@davemloft.net>
10383
10384 * sysdeps/unix/sparc/brk.S: Delete.
10385 * sysdeps/unix/sparc/dl-brk.S: Delete.
10386 * sysdeps/unix/sparc/pipe.S: Delete.
10387 * sysdeps/unix/sparc/sysdep.S: Delete.
10388 * sysdeps/unix/sparc/sysdep.h: Delete.
10389 * sysdeps/unix/sparc/vfork.S: Delete.
10390 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10391 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10392 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10393 ret_ERRVAL, r0, r1, MOVE): Define.
10394 (JUMPTARGET): Remove.
10395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10396 sysdeps/unix/sparc/sysdep.h
10397 (ENTRY, END): Remove.
10398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10399
10400 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10401
10402 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10403 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10404 -DIS_IN_build.
10405
10406 * timezone/README: Update upstream location and email address for
10407 tzcode and tzdata.
10408 * timezone/zdump.c: Update from tzcode 2012b.
10409 * timezone/zic.c: Likewise.
10410
10411 * configure.in (libc_cv_as_needed): Remove test.
10412 * configure: Regenerated.
10413 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10414 conditional definition.
10415 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10416 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10417 * config.make.in (have-as-needed): Remove variable.
10418
10419 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 Paul Pluzhnikov <ppluzhnikov@google.com>
10421
10422 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10423 strings correctly.
10424
10425 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10426
10427 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10428 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10429 * sysdeps/sh/strlen.S: Likewise.
10430
10431 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10432
10433 * sysdeps/unix/fork.S: Remove file.
10434 * sysdeps/unix/i386/fork.S: Likewise.
10435 * sysdeps/unix/sparc/fork.S: Likewise.
10436
10437 * sysdeps/unix/system.c: Remove file.
10438 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10439
10440 * sysdeps/unix/getegid.S: Remove file.
10441 * sysdeps/unix/geteuid.S: Likewise.
10442
10443 2012-04-24 Roland McGrath <roland@hack.frob.com>
10444
10445 * scripts/check-localplt.awk: New file.
10446 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10447 of diff.
10448 * scripts/data/localplt-generic.data: Add a comment.
10449
10450 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10451 NODE when __dir_mkfile failed.
10452 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10453 Reported by Ludovic Courtès <ludo@gnu.org>.
10454
10455 2012-04-24 Andreas Jaeger <aj@suse.de>
10456
10457 * Makerules (common-clean): Also remove gen-as-const-headers
10458 files.
10459
10460 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10461
10462 * Makerules (native-compile): Do not change working directory for
10463 build. Use $(OUTPUT_OPTION) in command.
10464 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10465
10466 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10467
10468 [BZ #13886]
10469 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10470 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10471 * math/libm-test.inc (floor_test): Add more tests.
10472 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10473
10474 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10475
10476 * sysdeps/unix/getdents.c: Remove file.
10477 * sysdeps/unix/sysv/getdents.c: Likewise.
10478 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10479
10480 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10481 sysdeps/unix/mman/syscalls.list.
10482 (mmap): Likewise.
10483 (mprotect): Likewise.
10484 (msync): Likewise.
10485 (munmap): Likewise.
10486 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10487 * sysdeps/unix/mman/syscalls.list: Remove.
10488 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10489
10490 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10491 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10492 * configure: Regenerated.
10493 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10494 $(libgcc_s_suffix).
10495 * config.make.in (libgcc_s_suffix): Remove variable.
10496
10497 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10498
10499 * sysdeps/unix/sysv/gethostname.c: Move to ...
10500 * sysdeps/posix/gethostname.c: ... here.
10501
10502 * sysdeps/unix/execve.S: Remove file.
10503
10504 * sysdeps/unix/_exit.S: Remove file.
10505
10506 2012-04-23 Andreas Jaeger <aj@suse.de>
10507
10508 [BZ #13739]
10509 * manual/Makefile: Remove make dist support, there's no
10510 need for a stand-alone documentation tar ball.
10511 (TEXI2DVI): Define always, it's not in Makeconfig.
10512 (dist): Removed.
10513 (tar-it): Removed.
10514 (edition): Removed.
10515 (glibc-doc-$(edition).tar): Removed
10516 (%.Z): Removed.
10517 (%.gz): Removed.
10518 (%.uu): Removed.
10519 (ETAGS): Remove, it's in Makeconfig.
10520 (move-if-change): Remove, it's in Makeconfig.
10521
10522 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10523
10524 [BZ #13970]
10525 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10526 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10527 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10528 (strtod_l, strtof_l, strtold_l): Remove __wur.
10529 It is not necessarily an error to ignore strtol's return value.
10530 One can reliably look at the stored endptr to decide whether
10531 the number had valid syntax.
10532
10533 2012-04-21 Andreas Jaeger <aj@suse.de>
10534
10535 [BZ #13739]
10536 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10537
10538 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10539
10540 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10541 * sysdeps/unix/sysv/Versions: Remove file.
10542
10543 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10544
10545 [BZ #13927]
10546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10547
10548 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10549
10550 [BZ #7064]
10551 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10552 version from __vm86.
10553
10554 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10555
10556 * sysdeps/unix/common/lxstat.c: Remove file.
10557 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10558
10559 * sysdeps/unix/sysv/Makefile: Remove file.
10560
10561 * sysdeps/unix/sysv/direct.h: Remove file.
10562
10563 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10564 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10565 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10566 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10567 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10568 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10569 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10570
10571 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10572
10573 * sysdeps/unix/xmknod.c: Remove file.
10574 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10575
10576 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10577
10578 * sysdeps/unix/sysv/i386/time.S: Remove file.
10579
10580 * sysdeps/unix/fxstat.c: Remove file.
10581 * sysdeps/unix/xstat.c: Likewise.
10582 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10583
10584 * sysdeps/unix/sysv/sigaction.c: Remove file.
10585
10586 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10587 (sysdep_headers): Remove variable.
10588 [termio.h not in sysdep_headers] (generated): Likewise.
10589 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10590 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10591 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10592 * sysdeps/unix/sysv/tcflow.c: Likewise.
10593 * sysdeps/unix/sysv/tcflush.c: Likewise.
10594 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10595 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10596 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10597 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10598 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10599
10600 * sysdeps/unix/siglist.c: Remove file.
10601
10602 * sysdeps/unix/getppid.S: Remove file.
10603
10604 * sysdeps/unix/mkdir.c: Remove file.
10605 * sysdeps/unix/rmdir.c: Likewise.
10606
10607 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10608
10609 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10610 ERR_MAX value.
10611 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10612 errlist-compat value.
10613
10614 2012-04-18 David S. Miller <davem@davemloft.net>
10615
10616 * sysdeps/generic/memcopy.h (reg_char): Delete.
10617 * debug/strcat_chk.c: Use char, not reg_char.
10618 * debug/strcpy_chk.c: Likewise.
10619 * debug/strncat_chk.c: Likewise.
10620 * debug/strncpy_chk.c: Likewise.
10621 * string/memchr.c: Likewise.
10622 * string/memrchr.c: Likewise.
10623 * string/rawmemchr.c: Likewise.
10624 * string/strcat.c: Likewise.
10625 * string/strchr.c: Likewise.
10626 * string/strchrnul.c: Likewise.
10627 * string/strcmp.c: Likewise.
10628 * string/strcpy.c: Likewise.
10629 * string/strncat.c: Likewise.
10630 * string/strncmp.c: Likewise.
10631 * string/strncpy.c: Likewise.
10632
10633 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10634
10635 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10636 __builtin_memcopy is called when src and dest ranges are known to not
10637 overlap.
10638
10639 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10640
10641 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10642 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10643 fwd_align_merge macro call.
10644 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10645 bwd_align_merge macro call.
10646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10647
10648 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10649
10650 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10651 bwd_align_merge macros.
10652 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10653 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10654 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10655
10656 2012-04-18 David S. Miller <davem@davemloft.net>
10657
10658 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10659
10660 2012-04-18 Andreas Jaeger <aj@suse.de>
10661
10662 [BZ# 6794]
10663 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10664 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10665 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10666
10667 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10668 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10670
10671 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10672 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10673 Adjust for changed ldbl-128 files.
10674
10675 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10676 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10677 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10678
10679 2012-04-17 David S. Miller <davem@davemloft.net>
10680
10681 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10682
10683 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10684
10685 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10686 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10687 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10688 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10689 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10690 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10691
10692 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10693
10694 [BZ #6794]
10695 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10696 * math/libm-test.inc: Add ilogb errno and exception tests.
10697 * math/w_ilogb.c: New file: ilogb wrapper.
10698 * math/w_ilogbf.c: New file: ilogbf wrapper.
10699 * math/w_ilogbl.c: New file: ilogbl wrapper.
10700 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10701 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10702 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10703 exception being thrown with 0.0 as argument.
10704 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10705 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10706 exception being thrown with 0.0 as argument.
10707 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10708 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10709 exception being thrown with 0.0 as argument.
10710 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10711 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10712 exception being thrown with 0.0 as argument.
10713 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10714 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10715 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10716 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10717 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10718 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10719 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10720 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10721 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10722
10723 2012-04-17 Petr Baudis <pasky@ucw.cz>
10724
10725 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10726 with altivec.
10727
10728 2012-04-16 Marek Polacek <polacek@redhat.com>
10729
10730 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10731
10732 2012-04-16 Marek Polacek <polacek@redhat.com>
10733
10734 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10735 operands of fdivp instruction.
10736
10737 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10738
10739 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10740 * elf/tst-auditmod3b.c: Likewise.
10741 * elf/tst-auditmod4b.c: Likewise.
10742 * elf/tst-auditmod5b.c: Likewise.
10743 * elf/tst-auditmod6b.c: Likewise.
10744 * elf/tst-auditmod6c.c: Likewise.
10745 * elf/tst-auditmod7b.c: Likewise.
10746 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10747 * sysdeps/x86_64/preconfigure.in: Likewise.
10748 * sysdeps/x86_64/preconfigure: Regenerated.
10749
10750 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10751
10752 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10753 __ILP32__.
10754
10755 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10756
10757 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10758 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10759
10760 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10761
10762 [BZ #13973]
10763 * locale/iso-639.def: Fix gl language name. Spotted by
10764 Yaron Shahrabani.
10765
10766 2012-04-12 Roland McGrath <roland@hack.frob.com>
10767
10768 [BZ #2074]
10769 * libio/libio.h (__io_write_fn): Update comment.
10770
10771 2012-04-12 Petr Baudis <pasky@ucw.cz>
10772
10773 [BZ #2074]
10774 * stdio.texi (Hook Functions): The user provided writer function
10775 is not allowed to return -1.
10776
10777 2012-04-11 David S. Miller <davem@davemloft.net>
10778
10779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10780
10781 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10782
10783 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10784 Add a leading slash to rtkaio.
10785
10786 2012-04-11 Jim Meyering <meyering@redhat.com>
10787
10788 [BZ #11959]
10789 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10790 It is not necessarily an error to ignore fwrite's return
10791 value. One can reliably use ferror to test for errors after
10792 the fact.
10793
10794 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10795
10796 * bits/types.h (__snseconds_t): New type.
10797 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10798
10799 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10801 (__SNSECONDS_T_TYPE): Likewise.
10802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10803 (__SNSECONDS_T_TYPE): Likewise.
10804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10805 (__SNSECONDS_T_TYPE): Likewise.
10806
10807 2012-04-10 Andreas Jaeger <aj@suse.de>
10808
10809 [BZ #2636]
10810 * manual/time.texi (Processor Time): Return type of times is
10811 elapsed real time since an arbitrary point in the past.
10812 (CPU Time): Move CLK_TCK from here...
10813 (Processor Time): ...to here. Correct description.
10814 * manual/conf.texi (Constants for Sysconf): Correct description of
10815 _SC_CLK_TCK.
10816
10817 2012-04-10 David S. Miller <davem@davemloft.net>
10818
10819 [BZ #13967]
10820 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10821 where the is a gap between DT_REL(A) and DT_JMPREL.
10822
10823 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10824
10825 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10826 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10827 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10828
10829 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10830
10831 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10832 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10833 (dl_main): Handle --inhibit-cache.
10834 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10835 _dl_inhibit_cache.
10836 * elf/dl-load.c (_dl_map_object): Use it.
10837 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10838
10839 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10840
10841 [BZ #13872]
10842 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10843 (__ieee754_powl): Saturate large exponents rather than testing for
10844 overflow of y*log2(x).
10845 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10846 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10847 exceptions.
10848
10849 [BZ #11521]
10850 * math/s_ctan.c: Include <float.h>.
10851 (__ctan): Avoid internal overflow or cancellation in calculating
10852 denominator.
10853 * math/s_ctanf.c: Likewise.
10854 * math/s_ctanl.c: Likewise.
10855 * math/s_ctanh.c: Likewise.
10856 * math/s_ctanhf.c: Likewise.
10857 * math/s_ctanhl.c: Likewise.
10858 * math/libm-test.inc (ctan_test): Add more tests.
10859 (ctanh_test): Likewise.
10860 * sysdeps/i386/fpu/libm-test-ulps: Update.
10861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10862
10863 2012-04-09 Andreas Jaeger <aj@suse.de>
10864
10865 [BZ #6894]
10866 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10867 is an optional BSD extension.
10868
10869 [BZ #10254]
10870 * manual/stdio.texi (Opening Streams): Document additional fopen
10871 parameters.
10872
10873 2012-04-09 Roland McGrath <roland@hack.frob.com>
10874
10875 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10876 %eax without telling the compiler.
10877
10878 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10879
10880 [BZ # 13963]
10881 * manual/install.texi: Use sourceware.org.
10882
10883 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10884
10885 [BZ #13873]
10886 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10887 (__ieee754_pow): Generate overflow and underflow using huge*huge
10888 and tiny*tiny rather than just returning constant infinity or zero
10889 for large exponents.
10890 * math/libm-test.inc (pow_test): Require overflow exceptions for
10891 applicable cases of large exponents.
10892
10893 [BZ #706]
10894 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10895 (__ieee754_pow): Use iterative multiplication algorithm only for
10896 integer exponents with absolute value below 1024. Check for odd
10897 integer exponents when using algorithm for real exponents.
10898 * math/libm-test.inc (pow_test): Add more tests.
10899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10900
10901 2012-04-08 Joseph Myers <joseph@codesourcery.com>
10902
10903 [BZ #13705]
10904 * math/libm-test.inc (exp_test): Do not allow overflow exception
10905 on underflow test.
10906
10907 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10908
10909 [BZ #13705]
10910 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10911 instead of __kernel_standard_f.
10912
10913 2012-04-08 Mike Frysinger <vapier@gentoo.org>
10914
10915 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10916 * sysdeps/x86_64/memset_chk.S: Likewise.
10917
10918 2012-04-08 Andreas Jaeger <aj@suse.de>
10919
10920 [BZ #10153]
10921 * manual/startup.texi (Environment Access): Describe return value
10922 for putenv and setenv.
10923
10924 [BZ #6895]
10925 * manual/filesys.texi (Directory Entries): Add description for
10926 DT_LNK.
10927
10928 [BZ #6890]
10929 * manual/filesys.texi (Directory Entries): Clarify that it's file
10930 system not operating system in the description of DT_UNKNOWN.
10931
10932 [BZ #6578]
10933 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10934
10935 2012-04-08 Stephen Compall <s11@member.fsf.org>
10936
10937 [BZ #6649]
10938 * manual/llio.texi (Opening and Closing Files): Add cross
10939 reference to explain mode argument.
10940
10941 2012-04-07 Mike Frysinger <vapier@gentoo.org>
10942
10943 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10944 * sysdeps/x86_64/memset_chk.S: Likewise.
10945
10946 2012-04-07 David S. Miller <davem@davemloft.net>
10947
10948 * elf/elf.h (R_SPARC_WDISP10): Define.
10949 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10950 R_SPARC_SIZE32.
10951 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10952 R_SPARC_SIZE64 and R_SPARC_H34.
10953
10954 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10955
10956 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10957 conditions and remove no longer applicable assertion.
10958
10959 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10960
10961 * bits/byteswap.h: Include <features.h>.
10962 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10963 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10964
10965 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10966
10967 * bits/byteswap.h (__bswap_16): Removed.
10968 Include <bits/byteswap-16.h> to get __bswap_16.
10969 * sysdeps/i386/bits/byteswap.h: Likewise.
10970 * sysdeps/s390/bits/byteswap.h: Likewise.
10971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10972 * bits/byteswap-16.h: New file.
10973 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10974 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10975 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10976 * string/Makefile (headers): Add bits/byteswap-16.h.
10977
10978 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10979
10980 [BZ #13895]
10981 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10982 extra indirection.
10983 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10984 * nss/tst-nss-static.c: New.
10985
10986 2012-04-06 Robert Millan <rmh@gnu.org>
10987
10988 [BZ #6486]
10989 * manual/llio.texi (File Position Primitive): lseek
10990 refers to WHENCE when it really means OFFSET.
10991
10992 2012-04-06 Andreas Jaeger <aj@suse.de>
10993
10994 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10995 strncmp declarations.
10996
10997 * abilist/libc.abilist: Add __poll and __ppoll.
10998
10999 2012-04-05 David S. Miller <davem@davemloft.net>
11000
11001 * scripts/check-local-headers.sh: Accept a host triplet in the
11002 path matched by the exclude regexp.
11003
11004 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11005 definition.
11006 * sysdeps/powerpc/powerpc32/dl-machine.h
11007 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11008 * sysdeps/s390/s390-32/dl-machine.h
11009 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11010 * sysdeps/sparc/sparc32/dl-machine.h
11011 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11012 * sysdeps/sparc/sparc64/dl-machine.h
11013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11014
11015 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11016 lazy binding.
11017 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11018 undefined symbol errors.
11019
11020 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11021 DT_NEEDED entries.
11022
11023 2012-04-05 Michael Matz <matz@suse.de>
11024
11025 [BZ #13592]
11026 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11027
11028 2012-04-05 Andreas Jaeger <aj@suse.de>
11029
11030 [BZ #13908]
11031 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11032 comment.
11033
11034 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11035
11036 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11037 which ROUND is no valid rounding mode.
11038
11039 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11040
11041 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11042 read again.
11043 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11044
11045 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11046
11047 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11048 an exception using FPU order intentionally.
11049
11050 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11051
11052 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11053 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11054 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11055 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11056
11057 2012-04-05 Simon Josefsson <simon@josefsson.org>
11058
11059 [BZ #12340]
11060 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11061 EINVAL when BUFLEN is too smal.
11062
11063 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11064
11065 [BZ #13553]
11066 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11067 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11068
11069 2012-04-03 Andreas Jaeger <aj@suse.de>
11070
11071 [BZ #13938]
11072 * manual/setjmp.texi (System V contexts): Fix sentence.
11073
11074 [BZ #13926]
11075 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11076 New macro for this case.
11077 [!__GNUC__] (__bswap_64): New inline function for this case.
11078 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11079 * bits/byteswap.h: Likewise.
11080 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11081 ull, guard with __GLIBC_HAVE_LONG_LONG.
11082
11083 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11084 __GLIBC_HAVE_LONG_LONG.
11085
11086 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11087 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11088
11089 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11090
11091 [BZ #13691]
11092 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11093 inptr and inend, rather than using last_ch.
11094
11095 2012-04-02 David S. Miller <davem@davemloft.net>
11096
11097 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11098 * stdio-common/printf-parse.h (read_int): Change return type to
11099 'int', return -1 on INT_MAX overflow.
11100 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11101 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11102 overflows INT_MAX. Check for overflow of in-format-string precision
11103 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11104 SIZE_MAX not INT_MAX for integer overflow test.
11105 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11106 skip the construct in the format string but do not record anything.
11107 * stdio-common/bug22.c: Adjust to test both width/prevision
11108 INT_MAX overflow as well as total length INT_MAX overflow. Check
11109 explicitly for proper errno values.
11110
11111 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11112
11113 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11114 CHAR_MAX.
11115 * string/test-strcmp.c [! WIDE]: Likewise.
11116 * time/tst-mktime2.c: Likewise for INT_MAX.
11117 * string/test-string.h: #include <sys/param.h> for MIN.
11118
11119 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11120 * sysdeps/i386/init-first.c (init): Likewise.
11121 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11122 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11123 * sysdeps/sh/init-first.c (init): Likewise.
11124
11125 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11126
11127 * po/ru.po: Update from translation team.
11128 * po/vi.po: Likewise.
11129
11130 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11131
11132 * resolv/nss_dns/dns-host.c: Merge copyright years.
11133
11134 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11135
11136 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11137 Optimize memcpy with prefetch if
11138 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11139 src, dst pointers have unequal 16 byte alignments.
11140
11141 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11142
11143 [BZ #13928]
11144 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11145 from a CNAME entry and return the minimum ttl for the query.
11146 (gaih_getanswer_slice): Likewise.
11147
11148 2012-03-30 Jeff Law <law@redhat.com>
11149
11150 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11151 due to long keys.
11152 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11153 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11154
11155 * resolv/nss_dns/dns-host.c: Update copyright year.
11156
11157 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11158
11159 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11160 requests to save a system call. Fix check that all bytes are sent.
11161
11162 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11163 comments for sendmmsg.
11164
11165 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11166
11167 [BZ #13691]
11168 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11169 with only 1 character between 0x0041 and 0x01b0.
11170 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11171 * wcsmbs/tst-mbsnrtowcs.c: New file.
11172
11173 2012-03-29 David S. Miller <davem@davemloft.net>
11174
11175 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11176 small copies by hand.
11177
11178 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11179
11180 [BZ #13761]
11181 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11182 _nss_compat_initgroups_dyn): Fall back to malloc/free
11183 for large group memberships.
11184
11185 2012-03-28 David S. Miller <davem@davemloft.net>
11186
11187 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11188 that branches into memcpy.
11189 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11191 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11192 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11194 bits.
11195 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11196 implementation too.
11197 * sysdeps/sparc/mempcpy.S: New file.
11198
11199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11200 the IFUNC routine in the libc case.
11201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11202
11203 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11204 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11205 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11206 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11207 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11208 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11209 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11210 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11211
11212 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11213 loop to 256 bytes instead of 64 bytes and fix test signedness.
11214
11215 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11216 * sysdeps/sparc/sparc32/Makefile: rather than here...
11217 * sysdeps/sparc/sparc64/Makefile: and here.
11218
11219 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11220
11221 * malloc/mallocbug.c: Avoid warnings about unused variables.
11222
11223 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11224
11225 [BZ #13760]
11226 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11227 in the right place. Discard and retry query if response is
11228 larger than input buffer size.
11229
11230 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11231
11232 [BZ #369]
11233 [BZ #2678]
11234 [BZ #3866]
11235 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11236 x for large integer exponent.
11237 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11238 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11239 sign of result as needed afterwards.
11240 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11241 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11242 result for underflowing pow the same as for overflow.
11243 (__kernel_standard_l): Handle powl overflow and underflow here
11244 rather than calling __kernel_standard.
11245 * math/libm-test.inc (pow_test): Add more tests.
11246
11247 [BZ #3868]
11248 [BZ #13879]
11249 [BZ #13910]
11250 [BZ #13911]
11251 [BZ #13912]
11252 [BZ #13913]
11253 [BZ #13915]
11254 [BZ #13916]
11255 [BZ #13917]
11256 [BZ #13918]
11257 [BZ #13919]
11258 [BZ #13920]
11259 [BZ #13921]
11260 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11261 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11262 (__kernel_standard_l): New function.
11263 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11264 __kernel_standard.
11265 * math/w_acosl.c (__acosl): Likewise.
11266 * math/w_asinl.c (__asinl): Likewise.
11267 * math/w_atan2l.c (__atan2l): Likewise.
11268 * math/w_atanhl.c (__atanhl): Likewise.
11269 * math/w_coshl.c (__coshl): Likewise.
11270 * math/w_exp10l.c (__exp10l): Likewise.
11271 * math/w_exp2l.c (__exp2l): Likewise.
11272 * math/w_fmodl.c (__fmodl): Likewise.
11273 * math/w_hypotl.c (__hypotl): Likewise.
11274 * math/w_j0l.c (__j0l, __y0l): Likewise.
11275 * math/w_j1l.c (__j1l, __y1l): Likewise.
11276 * math/w_jnl.c (__jnl, __ynl): Likewise.
11277 * math/w_lgammal.c (__lgammal): Likewise.
11278 * math/w_log10l.c (__log10l): Likewise.
11279 * math/w_log2l.c (__log2l): Likewise.
11280 * math/w_logl.c (__logl): Likewise.
11281 * math/w_powl.c (__powl): Likewise.
11282 * math/w_remainderl.c (__remainderl): Likewise.
11283 * math/w_scalbl.c (sysv_scalbl): Likewise.
11284 * math/w_sinhl.c (__sinhl): Likewise.
11285 * math/w_sqrtl.c (__sqrtl): Likewise.
11286 * math/w_tgammal.c (__tgammal): Likewise.
11287 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11288 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11289 * math/libm-test.inc (acos_test): Add more tests.
11290 (acosh_test): Likewise.
11291 (asin_test): Likewise.
11292 (atanh_test): Likewise.
11293 (exp_test): Likewise.
11294 (exp10_test): Likewise.
11295 (exp2_test): Likewise.
11296 (expm1_test): Likewise.
11297 (lgamma_test): Likewise.
11298 (log_test): Likewise.
11299 (log10_test): Likewise.
11300 (log1p_test): Likewise.
11301 (log2_test): Likewise.
11302 (pow_test): Do not allow some spurious overflow exceptions.
11303 (sqrt_test): Add more tests.
11304 (tgamma_test): Likewise.
11305 (y0_test): Likewise.
11306 (y1_test): Likewise.
11307 (yn_test): Likewise.
11308
11309 2012-03-27 Anton Blanchard <anton@samba.org>
11310
11311 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11312 MAP_HUGETLB.
11313 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11314 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11315 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11316
11317 2012-03-27 David S. Miller <davem@davemloft.net>
11318
11319 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11320
11321 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11322 have-as-vis3 check.
11323
11324 2012-03-27 Andreas Jaeger <aj@suse.de>
11325
11326 * sysdeps/x86_64/elf/configure.in: Moved to ...
11327 * sysdeps/x86_64/configure.in: ... here.
11328 * sysdeps/x86_64/elf/start.S: Moved to ...
11329 * sysdeps/x86_64/start.S: ... here.
11330 * sysdeps/x86_64/elf/configure: Delete.
11331
11332 * sysdeps/x86_64/configure.in: Merge contents from
11333 sysdeps/i386/configure.in (without i686 check).
11334
11335 * sysdeps/i386/elf/Versions: Merge into ...
11336 * sysdeps/i386/Versions: ... this.
11337 * sysdeps/i386/elf/Versions: Delete file.
11338 * sysdeps/i386/elf/start.S: Moved to ...
11339 * sysdeps/i386/start.S: ...here.
11340 * sysdeps/i386/elf/configure.in: Merge into...
11341 * sysdeps/i386/configure.in: ...here.
11342 * sysdeps/i386/elf/configure.in: Delete file.
11343 * sysdeps/i386/elf/configure: Delete file.
11344
11345 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11346 * debug/backtracesyms.c: ... here.
11347 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11348 * debug/backtracesymsfd.c: ... here.
11349 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11350 * sysdeps/generic/ifunc-sel.h: ... here.
11351
11352 * sysdeps/unix/i386/start.c: Delete file.
11353 * sysdeps/unix/sparc/start.c: Delete file.
11354 * sysdeps/unix/start.c: Delete file.
11355
11356 * sysdeps/sh/elf/configure.in: Moved to ...
11357 * sysdeps/sh/configure.in: ... here.
11358 * sysdeps/sh/elf/start.S: Moved to ...
11359 * sysdeps/sh/start.S: ... here.
11360 * sysdeps/sh/elf/configure: Delete file.
11361
11362 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11363 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11364 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11365 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11366 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11367 * sysdeps/powerpc/powerpc64/start.S: here.
11368 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11369 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11370 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11371 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11372 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11373
11374 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11375 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11376 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11377 * sysdeps/powerpc/powerpc32/start.S: ... here.
11378 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11379 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11380 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11381
11382 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11383 * sysdeps/powerpc/ifunc-sel.h: ... here.
11384 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11385 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11386
11387 * sysdeps/sparc/elf/configure.in: Moved to ...
11388 * sysdeps/sparc/configure.in: ... here.
11389 * sysdeps/sparc/elf/configure: Delete file.
11390 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11391 * sysdeps/sparc/sparc32/start.S: ... here.
11392 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11393 * sysdeps/sparc/sparc64/start.S: ... here.
11394 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11395 * sysdeps/sparc/sparc32/Makefile: ... this.
11396 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11397 * sysdeps/sparc/sparc64/Makefile: ... this.
11398
11399 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11400 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11401 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11402 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11403 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11404 * sysdeps/s390/s390-32/setjmp.S: ... here.
11405 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11406 * sysdeps/s390/s390-32/configure.in: ... here.
11407 * sysdeps/s390/s390-32/elf/configure: Delete file.
11408 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11409 * sysdeps/s390/s390-32/start.S: ... here.
11410
11411 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11412 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11413 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11414 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11415 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11416 * sysdeps/s390/s390-64/setjmp.S: ... here.
11417 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11418 * sysdeps/s390/s390-64/configure.in: ... here
11419 * sysdeps/s390/s390-64/elf/configure: Delete file.
11420 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11421 * sysdeps/s390/s390-64/start.S: ... here.
11422 * sysdeps/s390/s390-64/elf/configure: Delete.
11423
11424 * configure.in: Remove support for elf directories in sysdeps.
11425
11426 * configure: Regenerated.
11427 * sysdeps/i386/configure: Regenerated.
11428 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11429 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11430 * sysdeps/s390/s390-32/configure: Regenerated.
11431 * sysdeps/s390/s390-64/configure: Regenerated.
11432 * sysdeps/sh/configure: Regenerated.
11433 * sysdeps/sparc/configure: Regenerated.
11434 * sysdeps/x86_64/configure: Regenerated.
11435
11436 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11437
11438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11439
11440 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11441 denormal result into account.
11442
11443 2012-03-25 Roland McGrath <roland@hack.frob.com>
11444
11445 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11446 Reported by Allan McRae <allan@archlinux.org>.
11447
11448 2012-03-23 Jeff Law <law@redhat.com>
11449
11450 * nss/getnssent.c (__nss_getent): Fix typo.
11451
11452 2012-03-23 David S. Miller <davem@davemloft.net>
11453
11454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11455
11456 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11457
11458 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11459 to pad to uint64_t for each field.
11460 (dl_tls_index): Replace unsigned long with uint64_t.
11461
11462 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11463 Paul Pluzhnikov <ppluzhnikov@google.com>
11464
11465 [BZ #6528]
11466 * grp/Makefile (otherlibs): Don't set it.
11467 * inet/Makefile (otherlibs): Likewise.
11468 * login/Makefile (otherlibs): Likewise.
11469 * nscd/Makefile (otherlibs): Likewise.
11470 * posix/Makefile (otherlibs): Likewise.
11471 * pwd/Makefile (otherlibs): Likewise.
11472 * rt/Makefile (otherlibs): Likewise.
11473 * sunrpc/Makefile (otherlibs): Likewise.
11474 * nss/Makefile (otherlibs): Likewise.
11475 Add libnss_files to routines and static-only-routines.
11476 ($(objpfx)getent): Remove rule.
11477 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11478 static-only-routines.
11479
11480 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11481
11482 [BZ #13892]
11483 * math/s_cexp.c: Include <float.h>.
11484 (__cexp): Handle exp result overflowing not necessarily
11485 overflowing both real and imaginary parts of result.
11486 * math/s_cexpf.c: Likewise.
11487 * math/s_cexpl.c: Likewise.
11488 * math/libm-test.inc (cexp_test): Add more tests.
11489 * sysdeps/i386/fpu/libm-test-ulps: Update.
11490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11491
11492 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11493
11494 * include/link.h (ELFW): New macro.
11495 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11496 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11497
11498 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11499
11500 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11501 with uint64_t.
11502
11503 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11504
11505 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11506 declaration.
11507 (struct La_x32_retval): Likewise.
11508
11509 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11510
11511 * sysdeps/x86_64/preconfigure.in: New file.
11512 * sysdeps/x86_64/preconfigure: New generated file.
11513
11514 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11515
11516 [BZ #13824]
11517 * math/e_exp2l.c: Include <float.h>.
11518 (__ieee754_exp2l): Handle overflow and underflow cases
11519 separately. Only pass fractional part of argument to
11520 __ieee754_expl.
11521 * math/libm-test.inc (exp2_test): Add more tests.
11522
11523 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11524 negating x to take absolute value.
11525 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11526 Likewise.
11527 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11528 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11529 Likewise.
11530 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11531 computing low part if x was negated.
11532 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11533
11534 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11535
11536 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11537 la_x32_gnu_pltexit.
11538 (pltexit): Cast int_retval to ptrdiff_t.
11539 * elf/tst-auditmod3b.c: Likewise.
11540 * elf/tst-auditmod4b.c: Likewise.
11541 * elf/tst-auditmod5b.c: Likewise.
11542 * elf/tst-auditmod6b.c: Likewise.
11543 * elf/tst-auditmod6c.c: Likewise.
11544 * elf/tst-auditmod7b.c: Likewise.
11545
11546 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11547 and x32_gnu_pltexit.
11548
11549 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11550 __ELF_NATIVE_CLASS.
11551 (La_x32_regs): New macro.
11552 (La_x32_retval): Likewise.
11553 (la_x32_gnu_pltenter): New function prototype.
11554 (la_x32_gnu_pltexit): Likewise.
11555
11556 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11557
11558 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11559 exponent.
11560
11561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11562
11563 * configure.in (libc_cv_cc_nofma): Check for option to disable
11564 generation of FMA instructions.
11565 * configure: Regenerate.
11566 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11567 * sysdeps/ieee754/dbl-64/Makefile: New file.
11568 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11569 Remove brandred-fma4.
11570 (CFLAGS-brandred-fma4.c): Remove.
11571 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11572 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11573 define.
11574 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11575 define.
11576
11577 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11578
11579 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11580 LLONG_MAX != LONG_MAX.
11581 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11582 (_fitoa_word): Likewise.
11583 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11584 LLONG_MAX != LONG_MAX.
11585 * stdio-common/_itowa.h: Include <_itoa.h>.
11586 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11587 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11588 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11589 only if not defined.
11590 (_ITOA_WORD_TYPE): Likewise.
11591 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11592 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11593
11594 2012-03-21 David S. Miller <davem@davemloft.net>
11595
11596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11597
11598 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11599
11600 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11601 of x86_64 when setting libc_cv_slibdir, libdir and
11602 libc_cv_localedir.
11603 * sysdeps/unix/sysv/linux/configure: Regenerated.
11604
11605 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11606
11607 * manual/lang.texi (Old Varargs): Remove section.
11608 (How Variadic): Update menu.
11609 (va_start): Do not mention varargs.h.
11610
11611 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11612 Joseph Myers <joseph@codesourcery.com>
11613
11614 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11615 link test.
11616 * configure: Regenerated.
11617
11618 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11619
11620 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11621 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11622 conformtest.pl
11623
11624 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11625
11626 * NOTES: Remove.
11627 * Makefile (files-for-dist): Remove NOTES.
11628 (NOTES): Remove rule.
11629 * README: Don't refer to NOTES.
11630 * manual/creature.texi: Don't include macros.texi.
11631 * manual/intro.texi (creature.texi): Remove comment referring to
11632 NOTES.
11633
11634 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11635 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11636 * configure: Regenerated.
11637 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11638 LIBC_TRY_CC_OPTION.
11639 (libc_cv_as_i686): Likewise.
11640 (libc_cv_cc_avx): Likewise.
11641 (libc_cv_cc_sse2avx): Likewise.
11642 (libc_cv_cc_fma4): Likewise.
11643 (libc_cv_cc_novzeroupper): Likewise.
11644 * sysdeps/i386/configure: Regenerated.
11645
11646 [BZ #13883]
11647 * sysdeps/i386/fpu/s_cexp.S: Remove.
11648 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11649 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11650 * math/libm-test.inc (cexp_test): Add more tests.
11651 * sysdeps/i386/fpu/libm-test-ulps: Update.
11652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11653
11654 2012-03-21 Allan McRae <allan@archlinux.org>
11655
11656 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11657
11658 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11659
11660 [BZ #13871]
11661 * math/w_exp2.c: Do not include <float.h>.
11662 (o_threshold, u_threshold): Remove.
11663 (__exp2): Calculate result before checking finiteness and calling
11664 __kernel_standard.
11665 * math/w_exp2f.c: Likewise.
11666 * math/w_exp2l.c: Likewise.
11667 * math/libm-test.inc (exp2_test): Require overflow exception for
11668 1e6 input.
11669
11670 [BZ #3866]
11671 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11672 range of signed 64-bit integers before using fistpll. Remove
11673 checks for whether integers fit in mantissa bits.
11674 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11675 the range of signed 32-bit integers before using fistpl. Remove
11676 checks for whether integers fit in mantissa bits.
11677 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11678 (__ieee754_powl): Test for y outside the range of signed 64-bit
11679 integers before using fistpll. Reduce 64-bit values to 63-bit
11680 ones as needed.
11681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11682 divide-by-zero is raised for zero to large negative powers.
11683 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11684 (__ieee754_powl): Test for y outside the range of signed 64-bit
11685 integers before using fistpll. Reduce 64-bit values to 63-bit
11686 ones as needed.
11687 * math/libm-test.inc (pow_test): Add more tests.
11688
11689 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11690
11691 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11692 <stdio-common/_itoa.h>.
11693 * debug/segfault.c: Likewise.
11694 * elf/dl-cache.c: Likewise.
11695 * elf/dl-minimal.c: Likewise.
11696 * elf/dl-misc.c: Likewise.
11697 * elf/dl-sysdep.c: Likewise.
11698 * elf/dl-version.c: Likewise.
11699 * elf/rtld.c: Likewise.
11700 * hurd/hurdsock.c: Likewise.
11701 * hurd/lookup-retry.c: Likewise.
11702 * malloc/malloc.c: Likewise.
11703 * malloc/mtrace.c: Likewise.
11704 * nscd/nscd_getgr_r.c: Likewise.
11705 * nscd/nscd_getpw_r.c: Likewise.
11706 * nscd/nscd_getserv_r.c: Likewise.
11707 * posix/getopt_init.c: Likewise.
11708 * posix/wordexp.c: Likewise.
11709 * stdio-common/_itoa.c: Likewise.
11710 * stdio-common/printf_fphex.c: Likewise.
11711 * stdio-common/vfprintf.c: Likewise.
11712 * string/_strerror.c: Likewise.
11713 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11714 * sysdeps/i386/i686/hp-timing.h: Likewise.
11715 * sysdeps/mach/_strerror.c: Likewise.
11716 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11717 * sysdeps/mach/hurd/sethostid.c: Likewise.
11718 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11719 * sysdeps/mach/xpg-strerror.c: Likewise.
11720 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11721 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11722 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11723 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11724 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11725 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11726 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11727 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11728 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11729 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11730 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11731 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11732 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11733 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11734 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11735 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11736 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11738 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11739 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11740 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11741
11742 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11743
11744 * stdio-common/_itoa.h: Moved to ...
11745 * sysdeps/generic/_itoa.h: Here.
11746
11747 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11748
11749 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11750 instead of "_itoa.h" and "_itowa.h".
11751 * stdio-common/vfprintf.: Likewise.
11752
11753 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11754
11755 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11756 <bits/wordsize.h>.
11757 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11758 (__signbit): Likwise.
11759 (llrintf): Likwise.
11760 (llrint): Likwise.
11761
11762 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11765 __WORDSIZE != 64.
11766
11767 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11768
11769 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11770 OVERFLOW_EXCEPTION_OK.
11771 * math/libm-test.inc ("Philosophy"): Update comment about
11772 exception testing.
11773 (OVERFLOW_EXCEPTION): Define.
11774 (OVERFLOW_EXCEPTION_OK): Likewise.
11775 (INVALID_EXCEPTION_OK): Renumber.
11776 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11777 (IGNORE_ZERO_INF_SIGN): Likewise.
11778 (test_exceptions): Handle FE_OVERFLOW.
11779 (exp10_test): Expect overflow exceptions.
11780 (exp2_test): Likewise.
11781 (expm1_test): Likewise.
11782 (nextafter_test): Likewise.
11783 (pow_test): Likewise.
11784 (scalbn_test): Likewise.
11785 (scalbln_test): Likewise.
11786
11787 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11788
11789 * sysdeps/x86_64/bits/atomic.h
11790 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11791 64bit integer.
11792 (atomic_exchange_acq): Likewise.
11793 (__arch_exchange_and_add_body): Likewise.
11794 (__arch_add_body): Likewise.
11795 (atomic_add_negative): Likewise.
11796 (atomic_add_zero): Likewise.
11797
11798 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11799
11800 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11801 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11802
11803 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11804
11805 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11806 Check __x86_64__ instead of __WORDSIZE.
11807
11808 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11809
11810 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11811
11812 2012-03-19 David S. Miller <davem@davemloft.net>
11813
11814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11815
11816 * sysdeps/sparc/fpu/fenv_private.h: New file.
11817 * sysdeps/sparc/fpu/math_private.h: Use it.
11818 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11819 Remove.
11820 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11821 (libc_feholdexcept_setroundl): Remove.
11822 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11823 Remove.
11824 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11825 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11826
11827 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11828
11829 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11830 int64_t instead of long int.
11831 (INSERT_WORDS64): Likwise.
11832
11833 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11834
11835 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11836 _Unwind_GetCFA return to _Unwind_Ptr first.
11837
11838 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11839
11840 [BZ #13629]
11841 * math/s_clog.c: Include <float.h>.
11842 (__clog): Scale large or subnormal inputs.
11843 * math/s_clogf.c: Likewise.
11844 * math/s_clogl.c: Likewise.
11845 * math/s_clog10.c: Include <float.h>.
11846 (M_LOG10_2): Define.
11847 (__clog10): Scale large or subnormal inputs.
11848 * math/s_clog10f.c: Likewise.
11849 * math/s_clog10l.c: Likewise.
11850 * math/libm-test.inc (clog_test): Add more tests.
11851 (clog10_test): Likewise.
11852 * sysdeps/i386/fpu/libm-test-ulps: Update.
11853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11854
11855 [BZ #11451]
11856 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11857 x and y.
11858 * math/libm-test.inc (atan2_test): Add another test.
11859
11860 * Makerules (common-objdir-compile): Remove.
11861 * sysdeps/unix/Makefile (config-generated): Do not add
11862 $(unix-generated) to variable.
11863 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11864 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11865 Remove rule.
11866 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11867 Likewise.
11868 [generic bits/local_lim.h] (before-compile): Do not append to
11869 variable.
11870 [generic bits/local_lim.h] (common-generated): Likewise.
11871 [generic sys/param.h] (before-compile): Do not append to variable.
11872 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11873 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11874 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11875 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11876 include.
11877 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11878 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11879 [generic sys/param.h] ($(addprefix
11880 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11881 [generic sys/param.h] (common-generated): Do not append to
11882 variable.
11883 [generic sys/param.h] (sysdep_headers): Likewise.
11884 [generic bits/errno.h] (before-compile): Do not append to
11885 variable.
11886 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11887 rule.
11888 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11889 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11890 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11891 [generic bits/errno.h] (common-generated): Do not append to
11892 variable.
11893 [generic bits/ioctls.h] (before-compile): Do not append to
11894 variable.
11895 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11896 rule.
11897 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11898 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11899 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11900 rule.
11901 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11902 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11903 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11904 [generic bits/ioctls.h] (common-generated): Do not append to
11905 variable.
11906 [generic sys/syscall.h] (syscall.h): Remove variable.
11907 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11908 rule.
11909 [generic sys/syscall.h] (before-compile): Do not append to
11910 variable.
11911 [generic sys/syscall.h] (common-generated): Likewise.
11912 * sysdeps/unix/errnos-tmpl.c: Remove file.
11913 * sysdeps/unix/errnos.awk: Likewise.
11914 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11915 * sysdeps/unix/ioctls.awk: Likewise.
11916 * sysdeps/unix/mk-local_lim.c: Likewise.
11917 * sysdeps/unix/snarf-ioctls: Likewise.
11918
11919 2012-03-19 Richard Henderson <rth@twiddle.net>
11920
11921 * sysdeps/i386/fpu/fenv_private.h: New file.
11922 * sysdeps/i386/fpu/math_private.h: Use it.
11923 (math_opt_barrier, math_force_eval): Remove.
11924 (libc_feholdexcept_setround_53bit): Remove.
11925 (libc_feupdateenv_53bit): Remove.
11926 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11927 (math_opt_barrier, math_force_eval): Remove.
11928 (libc_feholdexcept): Remove.
11929 (libc_feholdexcept_setround): Remove.
11930 (libc_fetestexcept, libc_fesetenv): Remove.
11931 (libc_feupdateenv_test): Remove.
11932 (libc_feupdateenv, libc_feholdsetround): Remove.
11933 (libc_feresetround): Remove.
11934
11935 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11936 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11937
11938 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11939 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11940 (libc_feupdateenv_testl): New.
11941 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11942 (libc_feupdateenv_testf): New.
11943 (libc_feupdateenv): Use libc_feupdateenv_test.
11944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11945 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11946
11947 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11948 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11949 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11950 (libc_feresetround_noex): New.
11951 (libc_feresetround_noexf): New.
11952 (libc_feresetround_noexl): New.
11953 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11954 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11955 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11956 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11957 SET_RESTORE_ROUND.
11958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11959 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11960 (__cos): Likewise.
11961 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11962 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11963 SET_RESTORE_ROUND_NOEX.
11964 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11965 SET_RESTORE_ROUND_NOEXF.
11966 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11967 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11968 (libc_feholdsetroundf): New.
11969 (libc_feresetround, libc_feresetroundf): New.
11970
11971 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11972 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11973 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11974
11975 * sysdeps/generic/math_private.h: Include <fenv.h>.
11976 (default_libc_feholdexcept): New.
11977 (default_libc_feholdexcept_setround): New.
11978 (default_libc_fesetenv, default_libc_feupdateenv): New.
11979 (libc_feholdexcept): Only define if undefined.
11980 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11981 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11982 (libc_feholdexcept_setroundl): Likewise.
11983 (libc_feholdexcept_setround_53bit): Likewise.
11984 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11985 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11986 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11987 (libc_feupdateenv_53bit): Likewise.
11988 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11989 (libc_feholdexcept): Convert from macro to inline function.
11990 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11991 (libc_fesetenv, libc_feupdateenv): Likewise.
11992
11993 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11994 not previously defined.
11995 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11996 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11997 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11998 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11999 * sysdeps/ieee754/flt-32/math_private.h: New file.
12000 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12001 math_private.h below SET_FLOAT_WORD.
12002 (__isnan, __isinf_ns, __finite): Remove.
12003 (__isnanf, __isinf_nsf, __finitef): Remove.
12004
12005 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12006
12007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12008
12009 2012-03-17 David S. Miller <davem@davemloft.net>
12010
12011 [BZ #6471]
12012 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12013 for 2.16.
12014
12015 2012-03-16 David S. Miller <davem@davemloft.net>
12016
12017 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12018 warnings.
12019
12020 [BZ #6471]
12021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12022 properly.
12023 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12024 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12025 sysdep_routines when subdir is sysvipc.
12026 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12027 __getshmlba helper.
12028
12029 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12030
12031 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12032
12033 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12034 [__LP64__].
12035
12036 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12037
12038 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12039 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12040 (__lround): Renamed to ...
12041 (__llround): This. Replace long int with long long int.
12042 Define lround functions as aliases of llround functions.
12043 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12044
12045 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12046
12047 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12048 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12049 adresses to uintptr_t. Replace "long int" and "unsigned long
12050 int" with "greg_t" on va_arg.
12051
12052 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12053
12054 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12055 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12056
12057 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12058 Move e_machine check before EI_CLASS check. Handle x32
12059 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12060 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12061 SKIP_EM_IA_64 and include
12062 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12063
12064 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12065 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12066 (add_system_dir): New macro.
12067
12068 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12069 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12070
12071 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12072
12073 [BZ #2551]
12074 [BZ #2552]
12075 [BZ #2553]
12076 [BZ #2554]
12077 [BZ #2562]
12078 [BZ #2563]
12079 [BZ #2565]
12080 [BZ #2566]
12081 [BZ #2576]
12082 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12083 (y0): Likewise.
12084 * math/w_j0f.c (j0f): Likewise.
12085 (y0f): Likewise.
12086 * math/w_j0l.c (__j0l): Likewise.
12087 (__y0l): Likewise.
12088 * math/w_j1.c (j1): Likewise.
12089 (y1): Likewise.
12090 * math/w_j1f.c (j1f): Likewise.
12091 (y1f): Likewise.
12092 * math/w_j1l.c (__j1l): Likewise.
12093 (__y1l): Likewise.
12094 * math/w_jn.c (jn): Likewise.
12095 (yn): Likewise.
12096 * math/w_jnf.c (jnf): Likewise.
12097 (ynf): Likewise.
12098 * math/w_jnl.c (__jnl): Likewise.
12099 (__ynl): Likewise.
12100 * math/libm-test.inc (j0_test): Add more tests.
12101 (j1_test): Likewise.
12102 (jn_test): Likewise. Add trailing semicolon to existing test.
12103 (y0_test): Likewise.
12104 (y1_test): Likewise.
12105 * sysdeps/i386/fpu/libm-test-ulps: Update.
12106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12107
12108 [BZ #13851]
12109 [BZ #13854]
12110 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12111 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12112 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12113 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12114 (__tanl): Set errno for infinite argument.
12115 * sysdeps/i386/fpu/mptan.c: Remove.
12116 * sysdeps/i386/fpu/s_tan.S: Likewise.
12117 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12118 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12119 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12120 * math/libm-test.inc (tan_test): Add more tests and enable more
12121 tests for double and long double.
12122 * sysdeps/i386/fpu/libm-test-ulps: Update.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12124
12125 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12126
12127 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12128 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12129
12130 2012-03-16 Roland McGrath <roland@hack.frob.com>
12131
12132 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12133 * configure.in: Use it for both main tree and add-ons.
12134 * configure: Regenerated.
12135
12136 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12137
12138 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12139
12140 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12141
12142 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12143 in comment.
12144
12145 [BZ #13851]
12146 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12147 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12148 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12149 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12150 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12151 infinite argument.
12152 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12154 != 0 for prec == 2.
12155 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12156 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12157 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12158 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12159 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12160 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12161 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12162 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12163 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12164 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12165 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12166 * math/libm-test.inc (cos_test): Add more tests and enable more
12167 tests for long double.
12168 (sin_test): Likewise.
12169 (sincos_test): Likewise.
12170 * sysdeps/i386/fpu/libm-test-ulps: Update.
12171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12172
12173 2012-03-16 David S. Miller <davem@davemloft.net>
12174
12175 * sysdeps/sparc/fpu/math_private.h: New file.
12176
12177 2012-03-15 David S. Miller <davem@davemloft.net>
12178
12179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12180 file.
12181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12183 file.
12184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12190 sysdep routines.
12191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12192
12193 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12194 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12195
12196 * sysdeps/sparc/sparc-ifunc.h: New file.
12197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12198 sparc-ifunc.h
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12201 Likewise.
12202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12203 Likewise.
12204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12208 Likewise.
12209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12214 Likewise.
12215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12216 Likewise.
12217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12223 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12224 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12237 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12239 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12241
12242 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12243
12244 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12245 scaling.
12246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12247
12248 2012-03-15 Andreas Jaeger <aj@suse.de>
12249
12250 [BZ #13852]
12251 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12252 ieee754/flt-32 implementation for sin, cos and sincos.
12253 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12254 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12255 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12256 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12257 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12258 ieee754/flt-32 implementation for tan.
12259
12260 * math/libm-test.inc (cos_test): Enable some large input tests for
12261 float as well
12262 (sin_test): Likewise.
12263 (sincos_test): Likewise.
12264 (tan_test): Add tests for large input.
12265
12266 * sysdeps/i386/fpu/libm-test-ulps: Update.
12267
12268 2012-03-15 Andreas Jaeger <aj@suse.de>
12269
12270 [BZ #13658]
12271 * math/libm-test.inc (cos_test): Add more test cases.
12272 (sin_test): Likewise.
12273 (sincos_test): Likewise.
12274
12275 2012-03-15 Andreas Jaeger <aj@suse.de>
12276
12277 [BZ #13837]
12278 * math/libm-test.inc (cos_test): Add a test case for large input
12279 value.
12280 (sin_test): Likewise.
12281 (sincos_test): Likewise.
12282
12283 2012-03-15 Andreas Jaeger <aj@suse.de>,
12284 Joseph Myers <joseph@codesourcery.com>
12285
12286 [BZ #13658]
12287 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12288 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12289 * sysdeps/i386/fpu/branred.c: Likewise.
12290 * sysdeps/i386/fpu/dosincos.c: Likewise.
12291 * sysdeps/i386/fpu/mpa.c: Likewise.
12292 * sysdeps/i386/fpu/s_cos.S: Likewise.
12293 * sysdeps/i386/fpu/s_sin.S: Likewise.
12294 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12295 * sysdeps/i386/fpu/sincos32.c: Likewise.
12296
12297 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12298 Define.
12299 (libc_feupdateenv_53bit): Define.
12300 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12301 Define.
12302 (libc_feupdateenv_53bit): Define.
12303
12304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12305 53 bit (without extend i386 double precision).
12306
12307 * math/libm-test.inc (sincos_test): Add tests for large input.
12308 (sin): Likewise.
12309 (cos): Likewise.
12310
12311 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12312
12313 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12314
12315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12316
12317 2012-03-15 David S. Miller <davem@davemloft.net>
12318
12319 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12320 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12321 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12322 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12335 file.
12336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12338 file.
12339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12341 file.
12342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12344 file.
12345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12347 fmin/fmax sysdep routines.
12348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12349
12350 2012-03-14 David S. Miller <davem@davemloft.net>
12351
12352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12356 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12357 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12373 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12374 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12381 routines.
12382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12383 file.
12384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12386 file.
12387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12389 file.
12390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12392 file.
12393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12395 file.
12396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12398 file.
12399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12400 file.
12401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12402 file.
12403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12404 file.
12405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12406 New file.
12407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12408 file.
12409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12410 file.
12411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12413 file.
12414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12416 file.
12417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12419 file.
12420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12422 VIS3 routines.
12423
12424 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12425 New file.
12426
12427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12428
12429 * sysdeps/sparc/configure.in: New file.
12430 * sysdeps/sparc/configure: Generate.
12431 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12432 * configure: Regenerate.
12433 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12434 * config.make.in (have-as-vis3): New.
12435 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12436 available use -Av9d instead of -Av9a.
12437 * sysdeps/sparc/sparc64/Makefile: Likewise.
12438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12440 New file.
12441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12442 file.
12443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12444 New file.
12445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12446 file.
12447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12452
12453 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12454 fzeros/fnegs to load 0x80000000 into a float register instead of
12455 using the stack.
12456 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12457
12458 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12459
12460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12461 bits/syscall.h.
12462 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12463 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12464 ($(inst_includedir)/bits/syscall.h): Remove rule.
12465 ($(objpfx)bits/syscall.d): Include instead of
12466 $(objpfx)syscall-list.d.
12467 (generated): Change syscall-list.h and syscall-list.d to
12468 bits/syscall.h and bits/syscall.d.
12469
12470 2012-03-14 Roland McGrath <roland@hack.frob.com>
12471
12472 [BZ #13846]
12473 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12474
12475 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12476
12477 [BZ #13841]
12478 * math/s_csqrt.c: Include <float.h>.
12479 (__csqrt): Scale large or subnormal inputs.
12480 * math/s_csqrtf.c: Likewise.
12481 * math/s_csqrtl.c: Likewise.
12482 * math/libm-test.inc (csqrt_test): Add more tests.
12483 * sysdeps/i386/fpu/libm-test-ulps: Update.
12484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12485
12486 [BZ #13840]
12487 * math/libm-test.inc (hypot_test): Add more tests.
12488
12489 2012-03-13 David S. Miller <davem@davemloft.net>
12490
12491 [BZ #13840]
12492 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12493 double-precision for the calculation instead of scaling.
12494
12495 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12496
12497 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12498 manipulate bits before adding and subtracting TWO52[sx].
12499 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12500 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12501 Likewise.
12502 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12503
12504 2012-03-13 David S. Miller <davem@davemloft.net>
12505
12506 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12507 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12509 rtld-global-offsets.h
12510 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12511
12512 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12513 large parameters.
12514
12515 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12516
12517 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12518 'err' in the ifdef scope in which it is actually used.
12519
12520 * nss/nss_db/db-init.c: Include string.h
12521
12522 2012-03-12 David S. Miller <davem@davemloft.net>
12523
12524 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12525 masking out of the most significant byte of random value used.
12526 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12527 Fix coding style in previous change.
12528
12529 * sysdeps/unix/sysv/linux/kernel-features.h
12530 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12531 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12532 expression.
12533 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12534 later.
12535
12536 2012-03-11 David S. Miller <davem@davemloft.net>
12537
12538 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12539 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12540 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12541 for 'resultvar' otherwise things get truncated on 64-bit.
12542
12543 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12544 Fix masking out of the most significant byte of random value used.
12545
12546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12547
12548 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12549
12550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12551
12552 2012-03-09 David S. Miller <davem@davemloft.net>
12553
12554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12555 variables with appropriate CPP guards.
12556 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12557 frame pointer, not the stack pointer. Correct layout comments. Fix test
12558 on resulting framesize and the management of the outregs buffer for pltexit.
12559 Preserve floating point return values across _dl_call_pltexit call.
12560 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12561 framesize and the management of the outregs buffer for pltexit.
12562 Preserve floating point return values across _dl_call_pltexit
12563 call.
12564 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12565 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12566 (print_exit): Fix format string for return register value.
12567
12568 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12569
12570 * sunrpc/Makefile (others): Add rpcgen.
12571 ($(objpfx)rpcgen): Remove special build rule and dependency on
12572 libc.
12573 * sunrpc/rpcgen.c: New file.
12574
12575 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12576
12577 [BZ #13673]
12578 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12579 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12580 * sysdeps/i386/crti.S: Likewise.
12581 * sysdeps/i386/crtn.S: Likewise.
12582 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12583 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12584 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12585 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12586 * sysdeps/sh/crti.S: Likewise.
12587 * sysdeps/sh/crtn.S: Likewise.
12588 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12589
12590 [BZ #13673]
12591 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12592 with URL.
12593 * locale/programs/locfile-kw.gperf: Likewise.
12594 * locale/programs/charmap-kw.h: Regenerated.
12595 * locale/programs/locfile-kw.h: Likewise.
12596
12597 [BZ #13673]
12598 * intl/plural.y: Replace FSF snail mail address with URL.
12599 * intl/plural.c: Regenerated.
12600
12601 2012-03-09 Richard Henderson <rth@twiddle.net>
12602
12603 * include/math_private.h: Remove file.
12604 * math/math_private.h: Move file ...
12605 * sysdeps/generic/math_private.h: ... here.
12606
12607 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12608 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12609 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12610
12611 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12612 and <math_private.h>.
12613 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12614 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12615 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12616 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12617 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12660 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12661 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12692 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12693 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12694 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12700 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12701 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12702 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12703 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12704 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12705 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12706 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12707 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12709 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12710 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12711 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12712 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12713 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12714 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12715 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12716 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12717 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12718 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12719 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12720 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12721 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12723 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12724 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12725 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12726 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12727 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12728 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12729 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12730 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12732 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12734 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12735 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12736 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12737 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12738 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12739 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12740 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12742 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12743 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12744 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12746 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12747 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12748 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12749 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12750 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12751 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12752 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12753 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12754 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12755 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12756 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12757 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12758 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12759 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12760 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12761 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12762 * sysdeps/ieee754/k_standard.c: Likewise.
12763 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12766 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12767 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12862 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12866 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12867 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12868 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12869 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12871 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12876 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12878 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12881 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12882 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12883 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12885 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12890 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12895 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12899 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12903 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12911 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12912 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12913 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12917 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12923 * sysdeps/ieee754/s_lib_version.c: Likewise.
12924 * sysdeps/ieee754/s_matherr.c: Likewise.
12925 * sysdeps/ieee754/s_signgam.c: Likewise.
12926 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12927 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12928 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12929 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12930 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12931 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12932 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12933 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12934 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12935 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12936 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12937 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12938 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12940 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12941 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12942 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12943 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12944 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12947
12948 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12949
12950 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12951 * sunrpc/rpc_main.c: Likewise.
12952 * sunrpc/rpc_svcout.c: Likewise.
12953
12954 2012-03-09 David S. Miller <davem@davemloft.net>
12955
12956 * include/math_private.h: New file.
12957
12958 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12959
12960 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12961 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12962 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12963 from <bits/socket_type.h>.
12964 (enum __socket_type): Don't define here.
12965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12967 bits/socket_type.h.
12968
12969 [BZ #13566]
12970 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12971 checking __USE_GNU.
12972
12973 * Makerules ($(inst_includedir)/%.h): New rule.
12974 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12975 (install-others): Remove variable setting.
12976 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12977
12978 2012-03-08 Richard Henderson <rth@twiddle.net>
12979
12980 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12981 from macro to inline function; merge with the
12982 !__LIBC_INTERNAL_MATH_INLINES version.
12983 (__ieee754_sqrtf): Likewise.
12984
12985 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12986 to inline function.
12987 (__rintf, __floor, __floorf): Likewise.
12988
12989 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12990 macro to inline function.
12991 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12992
12993 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12994 not <math/math_private.h>.
12995
12996 2012-03-08 David S. Miller <davem@davemloft.net>
12997
12998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12999 copyright year.
13000 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13001
13002 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13003
13004 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13005 normalization.
13006 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13007 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13008
13009 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13010
13011 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13012 be defined individually, they must be defined as a block. Define
13013 S for printing a string instead of hidint the different by using a
13014 macro for adding the 'l'.
13015 * stdio-common/tst-fphex-wide.c: Adjust.
13016
13017 2012-03-07 Marek Polacek <polacek@redhat.com>
13018
13019 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13020
13021 2012-03-08 Marek Polacek <polacek@redhat.com>
13022
13023 [BZ #13806]
13024 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13025 * stdio-common/tst-fphex.c: Define a few macros to make the
13026 test reusable. Use them.
13027 * stdio-common/tst-fphex-wide.c: New file.
13028
13029 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13030
13031 [BZ #6911]
13032 * manual/macros.texi (gnusystems): New macro.
13033 (nongnusystems): Likewise.
13034 (gnulinuxhurdsystems): Likewise.
13035 (gnuhurdsystems): Likewise..
13036 (gnulinuxsystems): Likewise.
13037 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13038 variants of the GNU system, not "GNU system".
13039 * manual/conf.texi: Likewise.
13040 * manual/errno.texi: Likewise. Update example of errno macro
13041 expansion.
13042 * manual/filesys.texi: Likewise.
13043 (getumask): Document as specific to GNU/Hurd.
13044 * manual/install.texi: Likewise. Reword some references to
13045 GNU/Linux.
13046 * manual/intro.texi: Likewise.
13047 * manual/io.texi: Likewise.
13048 (File Name Portability): Detail which constraints are inapplicable
13049 to all GNU systems and which are only inapplicable to GNU/Hurd.
13050 * manual/job.texi: Likewise.
13051 * manual/llio.texi: Likewise.
13052 (O_NOCTTY): Document as present on GNU/Linux.
13053 * manual/maint.texi: Likewise.
13054 * manual/memory.texi: Likewise.
13055 * manual/pattern.texi: Likewise.
13056 * manual/pipe.texi: Likewise.
13057 * manual/process.texi: Likewise.
13058 * manual/resource.texi: Likewise.
13059 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13060 child on GNU/Hurd.
13061 * manual/setjmp.texi: Likewise.
13062 * manual/signal.texi: Likewise.
13063 * manual/startup.texi: Likewise.
13064 * manual/stdio.texi: Likewise.
13065 * manual/terminal.texi: Likewise.
13066 (ONLCR): Document as POSIX.
13067 (OXTABS): Document availability on GNU/Linux as XTABS.
13068 (ONOEOT): Document availability separately from other bits.
13069 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13070 * manual/time.texi: Likewise.
13071 * manual/users.texi: Likewise.
13072 * INSTALL: Regenerated.
13073 * sysdeps/gnu/errlist.c: Regenerated.
13074
13075 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13076 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13077 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13078 puts.
13079 * configure: Regenerated.
13080
13081 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13082
13083 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13084 default includes instead of AC_HEADER_CHECK.
13085 * sysdeps/i386/configure: Regenerated.
13086
13087 [BZ #10716]
13088 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13089 * math/s_cacoshf.c (__cacoshf): Likewise.
13090 * math/s_cacoshl.c (__cacoshl): Likewise.
13091 * math/s_casinh.c (__casinh): Set signs of result from argument.
13092 * math/s_casinhf.c (__casinhf): Likewise.
13093 * math/s_casinhl.c (__casinhl): Likewise.
13094 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13095 (casinh_test): Add more tests.
13096 * sysdeps/i386/fpu/libm-test-ulps: Update.
13097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13098
13099 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13100
13101 * po/zh_TW.po: Update from translation team.
13102
13103 * login/Makefile (distribute): Remove variable.
13104 * catgets/Makefile: Likewise.
13105 * mach/Makefile: Likewise.
13106 * malloc/Makefile: Likewise.
13107 * misc/Makefile: Likewise.
13108 * iconv/Makefile: Likewise.
13109 * nscd/Makefile: Likewise.
13110 * hurd/Makefile: Likewise.
13111 * manual/Makefile: Likewise.
13112 * locale/Makefile: Likewise.
13113 * intl/Makefile: Likewise.
13114 * conform/Makefile: Likewise.
13115 * nss/Makefile: Likewise.
13116 * time/Makefile: Likewise.
13117 * soft-fp/Makefile: Likewise.
13118 * dirent/Makefile: Likewise.
13119 * gmon/Makefile: Likewise.
13120 * po/Makefile: Likewise.
13121 * rt/Makefile: Likewise.
13122 * socket/Makefile: Likewise.
13123 * math/Makefile: Likewise.
13124 * signal/Makefile: Likewise.
13125 * debug/Makefile: Likewise.
13126 * elf/Makefile: Likewise.
13127 * timezone/Makefile: Likewise.
13128 * stdlib/Makefile: Likewise.
13129 * iconvdata/Makefile: Likewise.
13130 * sunrpc/Makefile: Likewise.
13131 * io/Makefile: Likewise.
13132 * argp/Makefile: Likewise.
13133 * inet/Makefile: Likewise.
13134 * hesiod/Makefile: Likewise.
13135 * grp/Makefile: Likewise.
13136 * csu/Makefile: Likewise.
13137 * wctype/Makefile: Likewise.
13138 * crypt/Makefile: Likewise.
13139 * libio/Makefile: Likewise.
13140 * string/Makefile: Likewise.
13141 * nis/Makefile: Likewise.
13142 * resolv/Makefile: Likewise.
13143 * stdio-common/Makefile: Likewise.
13144 * wcsmbs/Makefile: Likewise.
13145 * dlfcn/Makefile: Likewise.
13146 * posix/Makefile: Likewise.
13147
13148 [BZ #6959]
13149 * timezone/Makefile: Don't install timezone files, just the programs
13150 and scripts.
13151
13152 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13153
13154 * nss/databases.def: Add missing gshadow entry.
13155
13156 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13157
13158 2012-03-06 Marek Polacek <polacek@redhat.com>
13159
13160 [BZ #13726]
13161 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13162 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13163 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13164 * stdio-common/tst-long-dbl-fphex.c: New file.
13165
13166 2012-03-06 David S. Miller <davem@davemloft.net>
13167
13168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13169 (set_obp_int): New function.
13170 (get_obp_int): New function.
13171 (__get_clockfreq_via_dev_openprom): Likewise.
13172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13173 Avoid unused variable warnings on 'val' and use builtin_expect.
13174 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13175 __builtin_expect.
13176 (INLINE_CLONE_SYSCALL): Likewise.
13177
13178 2012-03-05 David S. Miller <davem@davemloft.net>
13179
13180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13181
13182 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13183
13184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13185
13186 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13187 only for |x| >= 40.
13188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13189
13190 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13193 Replace gettimeofday with __vdso_gettimeofday.
13194
13195 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13196 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13197 __vdso_clock_gettime and __vdso_getcpu.
13198
13199 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13200 time with __vdso_time.
13201
13202 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13203
13204 * manual/lang.texi (size_t): Note types to which size_t may be
13205 equivalent with the GNU C Library, but do not describe when
13206 differences between them are significant.
13207
13208 2012-03-05 Andreas Jaeger <aj@suse.de>
13209
13210 * sysdeps/i386/fpu/libm-test-ulps: Update.
13211
13212 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13213
13214 [BZ #3976]
13215 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13216 (__ieee754_pow): Save and restore rounding mode and use
13217 round-to-nearest for main computations.
13218 * math/libm-test.inc (pow_test_tonearest): New function.
13219 (pow_test_towardzero): Likewise.
13220 (pow_test_downward): Likewise.
13221 (pow_test_upward): Likewise.
13222 (main): Call the new functions.
13223 * sysdeps/i386/fpu/libm-test-ulps: Update.
13224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13225
13226 [BZ #3976]
13227 * math/libm-test.inc (cosh_test_tonearest): New function.
13228 (cosh_test_towardzero): Likewise.
13229 (cosh_test_downward): Likewise.
13230 (cosh_test_upward): Likewise.
13231 (sinh_test_tonearest): Likewise.
13232 (sinh_test_towardzero): Likewise.
13233 (sinh_test_downward): Likewise.
13234 (sinh_test_upward): Likewise.
13235 (main): Call the new functions.
13236 * sysdeps/i386/fpu/libm-test-ulps: Update.
13237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13238
13239 2012-03-05 Tom de Vries <tom@codesourcery.com>
13240
13241 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13242 default stack guard is set in last bytes.
13243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13244
13245 2012-03-05 Kees Cook <keescook@chromium.org>
13246
13247 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13248
13249 [BZ #13656]
13250 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13251 possibly allocate from heap instead of stack.
13252 * stdio-common/bug-vfprintf-nargs.c: New file.
13253 * stdio-common/Makefile (tests): Add nargs overflow test.
13254
13255 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13256
13257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13258
13259 2012-03-03 Marek Polacek <polacek@redhat.com>
13260
13261 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13262 * math/math_private.h: Likewise.
13263 * stdlib/tst-strtod.c: Likewise.
13264 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13265 * sysdeps/x86_64/bits/atomic.h: Likewise.
13266
13267 2012-03-02 David S. Miller <davem@davemloft.net>
13268
13269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13273 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13274 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13275 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13276 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13277
13278 2012-03-02 Roland McGrath <roland@hack.frob.com>
13279
13280 [BZ #13792]
13281 * manual/examples/README: New file, says the example source files
13282 can be used under GPL>=2.
13283 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13284 line containing just "*/".
13285 * manual/examples/add.c: Add copyright header (GPL>=2).
13286 * manual/examples/argp-ex1.c: Likewise.
13287 * manual/examples/argp-ex2.c: Likewise.
13288 * manual/examples/argp-ex3.c: Likewise.
13289 * manual/examples/argp-ex4.c: Likewise.
13290 * manual/examples/atexit.c: Likewise.
13291 * manual/examples/db.c: Likewise.
13292 * manual/examples/dir.c: Likewise.
13293 * manual/examples/dir2.c: Likewise.
13294 * manual/examples/execinfo.c: Likewise.
13295 * manual/examples/filecli.c: Likewise.
13296 * manual/examples/filesrv.c: Likewise.
13297 * manual/examples/fmtmsgexpl.c: Likewise.
13298 * manual/examples/genpass.c: Likewise.
13299 * manual/examples/inetcli.c: Likewise.
13300 * manual/examples/inetsrv.c: Likewise.
13301 * manual/examples/isockad.c: Likewise.
13302 * manual/examples/longopt.c: Likewise.
13303 * manual/examples/memopen.c: Likewise.
13304 * manual/examples/memstrm.c: Likewise.
13305 * manual/examples/mkfsock.c: Likewise.
13306 * manual/examples/mkisock.c: Likewise.
13307 * manual/examples/mygetpass.c: Likewise.
13308 * manual/examples/pipe.c: Likewise.
13309 * manual/examples/popen.c: Likewise.
13310 * manual/examples/rprintf.c: Likewise.
13311 * manual/examples/search.c: Likewise.
13312 * manual/examples/select.c: Likewise.
13313 * manual/examples/setjmp.c: Likewise.
13314 * manual/examples/sigh1.c: Likewise.
13315 * manual/examples/sigusr.c: Likewise.
13316 * manual/examples/stpcpy.c: Likewise.
13317 * manual/examples/strdupa.c: Likewise.
13318 * manual/examples/strftim.c: Likewise.
13319 * manual/examples/strncat.c: Likewise.
13320 * manual/examples/subopt.c: Likewise.
13321 * manual/examples/swapcontext.c: Likewise.
13322 * manual/examples/termios.c: Likewise.
13323 * manual/examples/testopt.c: Likewise.
13324 * manual/examples/testpass.c: Likewise.
13325 * manual/examples/timeval_subtract.c: Likewise.
13326
13327 [BZ #13792]
13328 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13329 function to ...
13330 * manual/timeval_subtract.c.texi: ... here, new file.
13331
13332 2012-03-02 David S. Miller <davem@davemloft.net>
13333
13334 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13335
13336 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13337
13338 [BZ #3976]
13339 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13340 (__sin): Save and restore rounding mode and use round-to-nearest
13341 for all computations.
13342 (__cos): Save and restore rounding mode and use round-to-nearest
13343 for all computations.
13344 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13345 <fenv.h>.
13346 (tan): Save and restore rounding mode and use round-to-nearest for
13347 all computations.
13348 * math/libm-test.inc (cos_test_tonearest): New function.
13349 (cos_test_towardzero): Likewise.
13350 (cos_test_downward): Likewise.
13351 (cos_test_upward): Likewise.
13352 (sin_test_tonearest): Likewise.
13353 (sin_test_towardzero): Likewise.
13354 (sin_test_downward): Likewise.
13355 (sin_test_upward): Likewise.
13356 (tan_test_tonearest): Likewise.
13357 (tan_test_towardzero): Likewise.
13358 (tan_test_downward): Likewise.
13359 (tan_test_upward): Likewise.
13360 (main): Call the new functions.
13361 * sysdeps/i386/fpu/libm-test-ulps: Update.
13362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13363
13364 [BZ #10135]
13365 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13366 small n, then large n, before computing and testing k+n.
13367 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13369 Likewise.
13370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13371 Likewise.
13372 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13373 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13374 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13375 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13379 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13380 * math/libm-test.inc (scalbn_test): Add more tests.
13381 (scalbln_test): Likewise.
13382
13383 * manual/filesys.texi (mode_t): Describe constraints on size and
13384 signedness, not exact equivalence to a particular type.
13385 (ino_t): Likewise.
13386 (ino64_t): Likewise.
13387 (dev_t): Likewise.
13388 (nlink_t): Likewise.
13389 (blkcnt_t): Likewise.
13390 (blkcnt64_t): Likewise.
13391 * manual/llio.texi (off_t): Likewise.
13392
13393 [BZ #3976]
13394 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13395 (__ieee754_exp): Save and restore rounding mode and use
13396 round-to-nearest for all computations.
13397 * math/libm-test.inc (exp_test_tonearest): New function.
13398 (exp_test_towardzero): Likewise.
13399 (exp_test_downward): Likewise.
13400 (exp_test_upward): Likewise.
13401 (main): Call the new functions.
13402 * sysdeps/i386/fpu/libm-test-ulps: Update.
13403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13404
13405 2012-03-01 Chris Demetriou <cgd@google.com>
13406
13407 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13408 have predictable order.
13409
13410 2012-03-01 David S. Miller <davem@davemloft.net>
13411
13412 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13413
13414 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13415 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13416 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13417 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13418
13419 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13420 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13421 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13423 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13424 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13425 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13426 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13427 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13428
13429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13430
13431 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13432 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13433 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13434
13435 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13436 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13437 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13438 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13439 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13440 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13441 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13442 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13443 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13444 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13445 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13448 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13449 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13451 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13452 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13453 * sysdeps/sparc/elf/configure: Regenerated.
13454
13455 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13456
13457 * configure.in (AS, LD): Require binutils 2.20 or later.
13458 * configure: Regenerated.
13459 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13460 as required minimum version.
13461 * INSTALL: Regenerated.
13462
13463 [BZ #2541]
13464 [BZ #4108]
13465 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13466 before squaring exponent.
13467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13468 bottom long double and 27 bits of top long double before squaring
13469 exponent.
13470 * math/libm-test.inc (erfc_test): Add more tests.
13471 * sysdeps/i386/fpu/libm-test-ulps: Update.
13472 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13474
13475 2012-03-01 Kai Tietz <ktietz@redhat.com>
13476
13477 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13478 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13479 containing bit-fields.
13480 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13481 * soft-fp/single.h (_FP_UNION_S): Likewise.
13482 * soft-fp/double.h (_FP_UNION_D): Likewise.
13483
13484 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13485
13486 [BZ #13786]
13487 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13488 not include ../strcmp.S.
13489 [USE_AS_STRNCASECMP_L]: Likewise.
13490 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13491 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13492 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13493 (__strncasecmp_l_ia32): Define as alias to
13494 __strncasecmp_l_nonascii.
13495
13496 [BZ #5794]
13497 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13498 * sysdeps/i386/fpu/libm-test-ulps: Update.
13499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13500
13501 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13503
13504 2012-02-29 Jeff Law <law@redhat.com>
13505
13506 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13507 out of bounds read.
13508
13509 2012-02-29 Marek Polacek <polacek@redhat.com>
13510
13511 [BZ #13706]
13512 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13513 * elf/Makefile: Add rules to run tst-unused-dep.out.
13514
13515 2012-02-28 David S. Miller <davem@davemloft.net>
13516
13517 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13518 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13519 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13520 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13521 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13522 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13523
13524 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13525
13526 * math/libm-test.inc (llround_test): Move one test from
13527 lround_test. Use TEST_f_L in moved test.
13528 (lround_test): Move misplaced test to llround_test. Add testcase
13529 from bug 2561.
13530
13531 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13532
13533 * sysdeps/x86_64/fpu/e_expf.S: New file.
13534 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13535
13536 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13537
13538 [BZ #13637]
13539 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13540 of remain_len that may cause incomplete multi-byte character and
13541 false match.
13542 * posix/bug-regex33.c: New file.
13543 * posix/Makefile (tests): Add bug-regex33.
13544
13545 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13546
13547 * manual/macros.texi: New file.
13548 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13549 * manual/libc.texinfo: Include macros.texi.
13550 * manual/creatute.texi: Likewise.
13551 * manual/install.texi: Likewise.
13552 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13553 @glibcadj{} in references to the GNU C Library.
13554 * manual/charset.texi: Likewise.
13555 * manual/conf.texi: Likewise.
13556 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13557 when not using those macros.
13558 * manual/creature.texi: Likewise.
13559 * manual/crypt.texi: Likewise.
13560 * manual/errno.texi: Likewise.
13561 * manual/filesys.texi: Likewise.
13562 * manual/header.texi: Likewise.
13563 * manual/install.texi: Likewise.
13564 * manual/intro.texi: Likewise.
13565 * manual/io.texi: Likewise.
13566 * manual/job.texi: Likewise.
13567 * manual/lang.texi: Likewise.
13568 * manual/libc.texiinfo: Likewise.
13569 * manual/llio.texi: Likewise.
13570 * manual/locale.texi: Likewise.
13571 * manual/maint.texi: Likewise.
13572 * manual/math.texi: Likewise.
13573 * manual/memory.texi: Likewise.
13574 * manual/message.texi: Likewise.
13575 * manual/nss.texi: Likewise.
13576 * manual/pattern.texi: Likewise.
13577 * manual/process.texi: Likewise.
13578 * manual/resource.texi: Likewise.
13579 * manual/search.texi: Likewise.
13580 * manual/setjmp.texi: Likewise.
13581 * manual/signal.texi: Likewise.
13582 * manual/socket.texi: Likewise.
13583 * manual/startup.texi: Likewise.
13584 * manual/stdio.texi: Likewise.
13585 * manual/string.texi: Likewise.
13586 * manual/sysinfo.texi: Likewise.
13587 * manual/syslog.texi: Likewise.
13588 * manual/terminal.texi: Likewise.
13589 * manual/time.texi: Likewise.
13590 * manual/users.texi: Likewise.
13591 * INSTALL: Regenerated.
13592 * NOTES: Regenerated.
13593 * sysdeps/gnu/errlist.c: Regenerated.
13594
13595 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13596
13597 * include/dirent.h: Include <dirstream.h> before
13598 <dirent/dirent.h>.
13599
13600 2012-02-28 David S. Miller <davem@davemloft.net>
13601
13602 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13603 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13604 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13605 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13606
13607 2012-02-27 David S. Miller <davem@davemloft.net>
13608
13609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13611 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13612 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13613
13614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13615 frame pointer instead of stack pointer relative arg slot.
13616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13617 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13618 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13619
13620 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13621
13622 [BZ #3992]
13623 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13624
13625 2012-02-27 David S. Miller <davem@davemloft.net>
13626
13627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13631 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13632 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13633 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13634 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13635
13636 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13637
13638 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13639 later. Allow versions 5-9.
13640 * configure: Regenerated.
13641 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13642 required minimum version and 4.6 as recommended version. Do not
13643 mention bugs in GCC 2.7 and 2.8.
13644 * INSTALL: Regenerated.
13645
13646 2012-02-27 David S. Miller <davem@davemloft.net>
13647
13648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13652 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13653 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13654 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13655 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13656
13657 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13658 manipulate bits before adding and subtracting TWO112[sx].
13659 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13660
13661 2012-02-27 Roland McGrath <roland@hack.frob.com>
13662
13663 [BZ #13775]
13664 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13665 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13666 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13667 being in POSIX, because they are in 1003.1-2008.
13668
13669 * rt/tst-aio.c: Include <fcntl.h>.
13670 * rt/tst-aio7.c: Likewise.
13671 * rt/tst-aio64.c: Likewise.
13672
13673 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13674
13675 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13676
13677 * manual/install.texi (--with-headers): Describe headers as
13678 interface headers, not private headers.
13679 (Specific advice for GNU/Linux systems): Describe use of headers
13680 from "make headers_install", not private headers from older
13681 kernels.
13682 * INSTALL: Regenerated.
13683 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13684 Change to 2.6.19.
13685 * sysdeps/unix/sysv/linux/configure: Regenerated.
13686
13687 * manual/llio.texi (fclean): Remove documentation.
13688
13689 * manual/Makefile (libc-texi-generated): New variable. Include
13690 version.texi.
13691 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13692 $(libc-texi-generated), not duplicated list of files.
13693 (version.texi, stamp-version): New rules.
13694 (realclean): Remove $(libc-texi-generated), not individual files
13695 from that list. Do not remove dir-add.texinfo.
13696 * manual/libc.texinfo: Comment out uses of edition numbers and
13697 references to printed manual. Remove last-updated dates.
13698 (EDITION): Comment out.
13699 (ISBN): Likewise.
13700 (VERSION, UPDATED): Remove.
13701 (version.texi): Include.
13702
13703 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13704
13705 * sysdeps/posix/spawni.c: Include <signal.h>.
13706 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13707 * sysdeps/pthread/aio_fsync.c: Likewise.
13708
13709 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13710
13711 * conform/Makefile (tests): Run only when not cross-compiling and
13712 when fast-check is not defined.
13713
13714 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13715 * conform/data/limits.h-data: Fixes for POSIX2008.
13716 * conform/run-conformtest.sh: Run all tests.
13717 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13718 headers.
13719 * include/bits/dlfcn.h: Likewise.
13720 * include/langinfo.h: Likewise.
13721 * include/monetary.h: Likewise.
13722 * include/sys/poll.h: Likewise.
13723
13724 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13725 for __USE_GNU.
13726 * posix/spawn.h: Define __need_sigset_t.
13727 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13728 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13729 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13730 to get sigevent_t only.
13731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13732 only for __USE_GNU.
13733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13734 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13735 process_vm_writev only for __USE_GNU.
13736 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13737
13738 * conform/Makefile: For now ignore errors from run-conformtest.
13739 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13740 POSIX to avoid namespace pollution. Don't prepend headers.
13741 * conform/data/aio.h-data: Fixes for POSIX testing.
13742 * conform/data/fcntl.h-data: Likewise.
13743 * conform/data/glob.h-data: Likewise.
13744 * conform/data/grp.h-data: Likewise.
13745 * conform/data/pthread.h-data: Likewise.
13746 * conform/data/pwd.h-data: Likewise.
13747 * conform/data/signal.h-data: Likewise.
13748 * conform/data/spawn.h-data: Likewise.
13749 * conform/data/stdio.h-data: Likewise.
13750 * conform/data/stdlib.h-data: Likewise.
13751 * conform/data/stropts.h-data: Likewise.
13752 * conform/data/sys/mman.h-data: Likewise.
13753 * conform/data/sys/stat.h-data: Likewise.
13754 * conform/data/sys/types.h-data: Likewise.
13755 * conform/data/sys/wait.h-data: Likewise.
13756 * conform/data/time.h-data: Likewise.
13757 * conform/data/unistd.h-data: Likewise.
13758 * conform/data/utime.h-data: Likewise.
13759
13760 * io/sys/stat.h: fchmod was always in POSIX.
13761 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13762 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13763 * rt/aio.h: Define __need_timespec before including <time.h>.
13764 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13765 struct. Add forward declaration of pthread_attr_t and use it in
13766 sigevent.
13767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13768 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13769 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13770 always remove CLK_TCK definition.
13771
13772 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13773
13774 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13775
13776 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13777
13778 * conform/run-conformtest.sh: New file.
13779 * conform/Makefile: Run run-conformtest for tests.
13780 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13781 support.
13782
13783 * conform/data/uchar.h-data: New file.
13784 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13785 * conform/data/arpa/inet.h-data: Likewise.
13786 * conform/data/assert.h-data: Likewise.
13787 * conform/data/complex.h-data: Likewise.
13788 * conform/data/cpio.h-data: Likewise.
13789 * conform/data/ctype.h-data: Likewise.
13790 * conform/data/dirent.h-data: Likewise.
13791 * conform/data/dlfcn.h-data: Likewise.
13792 * conform/data/errno.h-data: Likewise.
13793 * conform/data/fcntl.h-data: Likewise.
13794 * conform/data/float.h-data: Likewise.
13795 * conform/data/fmtmsg.h-data: Likewise.
13796 * conform/data/fnmatch.h-data: Likewise.
13797 * conform/data/ftw.h-data: Likewise.
13798 * conform/data/glob.h-data: Likewise.
13799 * conform/data/grp.h-data: Likewise.
13800 * conform/data/iconv.h-data: Likewise.
13801 * conform/data/inttypes.h-data: Likewise.
13802 * conform/data/langinfo.h-data: Likewise.
13803 * conform/data/libgen.h-data: Likewise.
13804 * conform/data/limits.h-data: Likewise.
13805 * conform/data/locale.h-data: Likewise.
13806 * conform/data/math.h-data: Likewise.
13807 * conform/data/monetary.h-data: Likewise.
13808 * conform/data/mqueue.h-data: Likewise.
13809 * conform/data/ndbm.h-data: Likewise.
13810 * conform/data/net/if.h-data: Likewise.
13811 * conform/data/netdb.h-data: Likewise.
13812 * conform/data/netinet/in.h-data: Likewise.
13813 * conform/data/nl_types.h-data: Likewise.
13814 * conform/data/poll.h-data: Likewise.
13815 * conform/data/pthread.h-data: Likewise.
13816 * conform/data/pwd.h-data: Likewise.
13817 * conform/data/regex.h-data: Likewise.
13818 * conform/data/sched.h-data: Likewise.
13819 * conform/data/search.h-data: Likewise.
13820 * conform/data/semaphore.h-data: Likewise.
13821 * conform/data/setjmp.h-data: Likewise.
13822 * conform/data/signal.h-data: Likewise.
13823 * conform/data/spawn.h-data: Likewise.
13824 * conform/data/stdarg.h-data: Likewise.
13825 * conform/data/stdio.h-data: Likewise.
13826 * conform/data/stdlib.h-data: Likewise.
13827 * conform/data/string.h-data: Likewise.
13828 * conform/data/strings.h-data: Likewise.
13829 * conform/data/stropts.h-data: Likewise.
13830 * conform/data/sys/ipc.h-data: Likewise.
13831 * conform/data/sys/mman.h-data: Likewise.
13832 * conform/data/sys/msg.h-data: Likewise.
13833 * conform/data/sys/resource.h-data: Likewise.
13834 * conform/data/sys/select.h-data: Likewise.
13835 * conform/data/sys/sem.h-data: Likewise.
13836 * conform/data/sys/shm.h-data: Likewise.
13837 * conform/data/sys/socket.h-data: Likewise.
13838 * conform/data/sys/stat.h-data: Likewise.
13839 * conform/data/sys/statvfs.h-data: Likewise.
13840 * conform/data/sys/time.h-data: Likewise.
13841 * conform/data/sys/timeb.h-data: Likewise.
13842 * conform/data/sys/times.h-data: Likewise.
13843 * conform/data/sys/types.h-data: Likewise.
13844 * conform/data/sys/uio.h-data: Likewise.
13845 * conform/data/sys/un.h-data: Likewise.
13846 * conform/data/sys/utsname.h-data: Likewise.
13847 * conform/data/sys/wait.h-data: Likewise.
13848 * conform/data/syslog.h-data: Likewise.
13849 * conform/data/tar.h-data: Likewise.
13850 * conform/data/termios.h-data: Likewise.
13851 * conform/data/utime.h-data: Likewise.
13852 * conform/data/utmpx.h-data: Likewise.
13853 * conform/data/varargs.h-data: Likewise.
13854 * conform/data/wchar.h-data: Likewise.
13855 * conform/data/wctype.h-data: Likewise.
13856 * conform/data/wordexp.h-data: Likewise.
13857
13858 * include/stropts.h: New file.
13859 * include/uchar.h: New file.
13860 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13861 * include/assert.h: Likewise.
13862 * include/ctype.h: Likewise.
13863 * include/dirent.h: Likewise.
13864 * include/dlfcn.h: Likewise.
13865 * include/fcntl.h: Likewise.
13866 * include/fnmatch.h: Likewise.
13867 * include/glob.h: Likewise.
13868 * include/grp.h: Likewise.
13869 * include/libio.h: Likewise.
13870 * include/locale.h: Likewise.
13871 * include/math.h: Likewise.
13872 * include/net/if.h: Likewise.
13873 * include/netdb.h: Likewise.
13874 * include/netinet/in.h: Likewise.
13875 * include/pthread.h: Likewise.
13876 * include/pwd.h: Likewise.
13877 * include/regex.h: Likewise.
13878 * include/sched.h: Likewise.
13879 * include/search.h: Likewise.
13880 * include/setjmp.h: Likewise.
13881 * include/signal.h: Likewise.
13882 * include/stdio.h: Likewise.
13883 * include/stdlib.h: Likewise.
13884 * include/string.h: Likewise.
13885 * include/sys/cdefs.h: Likewise.
13886 * include/sys/mman.h: Likewise.
13887 * include/sys/msg.h: Likewise.
13888 * include/sys/resource.h: Likewise.
13889 * include/sys/select.h: Likewise.
13890 * include/sys/socket.h: Likewise.
13891 * include/sys/stat.h: Likewise.
13892 * include/sys/statvfs.h: Likewise.
13893 * include/sys/time.h: Likewise.
13894 * include/sys/times.h: Likewise.
13895 * include/sys/uio.h: Likewise.
13896 * include/sys/utsname.h: Likewise.
13897 * include/sys/wait.h: Likewise.
13898 * include/termios.h: Likewise.
13899 * include/time.h: Likewise.
13900 * include/ulimit.h: Likewise.
13901 * include/unistd.h: Likewise.
13902 * include/utime.h: Likewise.
13903 * include/wchar.h: Likewise.
13904 * include/wctype.h: Likewise.
13905 * include/wordexp.h: Likewise.
13906
13907 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13908
13909 * time/time.h: TIME_UTC must be a macro.
13910 Make timespec_get available for ISO C11 only as well.
13911
13912 2012-02-24 Ulrich Drepper <drepper@gmail.com>
13913
13914 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13915 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13916
13917 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13918
13919 * configure.in: Use -o not -a in test for unsupported multi-arch.
13920
13921 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13922
13923 * manual/texinfo.tex: Update to version 2012-01-19.16.
13924
13925 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13926
13927 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13928
13929 2012-02-24 Roland McGrath <roland@hack.frob.com>
13930
13931 [BZ #13738]
13932 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13933 * manual/fdl-1.3.texi: New file.
13934 * manual/fdl-1.1.texi: File removed.
13935
13936 [BZ #13738]
13937 * manual/libc.texinfo (FDL_VERSION): New @set.
13938 Use it for mention of FDL in cover text.
13939 (Documentation License): Use it in @include file name.
13940
13941 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13942 Roland McGrath <roland@hack.frob.com>
13943
13944 [BZ #5461]
13945 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13946 not LONG_LONG_MAX and LONG_LONG_MIN.
13947 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13948 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13949 name.
13950 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13951
13952 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13953
13954 [BZ #2547]
13955 [BZ #11365]
13956 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13957 manipulate bits before adding and subtracting TWO23[sx].
13958 * math/libm-test.inc (nearbyint_test): Add more tests.
13959
13960 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13961
13962 [BZ #2548]
13963 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13964 bits before adding and subtracting TWO23[sx].
13965 * math/libm-test.inc (rint_test): Add more tests.
13966 (rint_test_tonearest): Likewise.
13967 (rint_test_towardzero): Likewise.
13968 (rint_test_downward): Likewise.
13969 (rint_test_upward: Likewise.
13970
13971 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13972
13973 [BZ #10110]
13974 * include/stdc-predef.h: New file. Extracted from features.h.
13975 * include/features.h: Include stdc-predef.h.
13976 * Makefile (headers): Add stdc-predef.h.
13977 * CONFORMANCE (Compiler limitations): Update.
13978
13979 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13980
13981 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13982
13983 2012-02-21 David S. Miller <davem@davemloft.net>
13984
13985 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13986 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13987
13988 2012-02-20 David S. Miller <davem@davemloft.net>
13989
13990 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13991 using a normal save/restore sequence, rather than allocating a
13992 dummy stack frame just to store a frame pointer and restore.
13993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13994
13995 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13996
13997 * manual/install.texi: Fix stray word in line-wrapped comment.
13998
13999 2012-02-20 David S. Miller <davem@davemloft.net>
14000
14001 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14002 both binutils and gcc support GOTDATA.
14003
14004 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14005 "rd %pc" in the PIC register setup sequences.
14006
14007 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14008 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14009 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14010 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14011 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14014 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14016 (SYSCALL_ERROR_HANDLER): Likewise.
14017 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14018 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14020 (SYSCALL_ERROR_HANDLER): Likewise.
14021
14022 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14023 (HAVE_GCC_GOTDATA): New.
14024 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14025 relocation support in both binutils and gcc.
14026 * sysdeps/sparc/elf/configure: Regenerate.
14027
14028 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14029 * sysdeps/sparc/sparc32/elf/configure: Delete.
14030 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14031 * sysdeps/sparc/sparc64/elf/configure: Delete.
14032 * sysdeps/sparc/elf/configure.in: New file.
14033 * sysdeps/sparc/elf/configure: Generate.
14034
14035 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14036 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14037 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14038 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14039 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14040
14041 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14042
14043 * manual/install.texi: Do not mention specific glibc version
14044 numbers.
14045 * manual/libc.texinfo (VERSION, UPDATED): Update.
14046 (@copying): Use @copyright{} and range of years.
14047
14048 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14049
14050 [BZ #13695]
14051 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14052 [crti.S not in sysdirs] (generated): Do not append.
14053 [crti.S not in sysdirs] (omit-deps): Likewise.
14054 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14055 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14056 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14057 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14058 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14059 Likewise.
14060 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14061 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14062 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14063 * csu/defs.awk: Remove file.
14064 * sysdeps/generic/initfini.c: Likewise.
14065 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14066 variable.
14067 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14068 Likewise.
14069
14070 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14071
14072 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14073 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14074 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14075 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14076 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14077 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14078 <bits/epoll.h>.
14079 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14080 (__EPOLL_PACKED): Define to empty if not defined by
14081 <bits/epoll.h>.
14082 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14084 bits/epoll.h.
14085
14086 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14087
14088 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14089 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14090 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14091 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14092 <bits/timerfd.h>.
14093 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14095 bits/timerfd.h.
14096
14097 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14098
14099 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14100 in C locale.
14101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14102 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14103 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14105
14106 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14107
14108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14109 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14110
14111 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14112
14113 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14114 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14115 defined.
14116 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14117 Likewise.
14118 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14119 entry for 2.16.
14120
14121 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14122
14123 * math/w_acos.c: Use non-signaling floating-point comparisons.
14124 * math/w_acosf.c: Likewise.
14125 * math/w_acosh.c: Likewise.
14126 * math/w_acoshf.c: Likewise.
14127 * math/w_acoshl.c: Likewise.
14128 * math/w_acosl.c: Likewise.
14129 * math/w_asin.c: Likewise.
14130 * math/w_asinf.c: Likewise.
14131 * math/w_asinl.c: Likewise.
14132 * math/w_atanh.c: Likewise.
14133 * math/w_atanhf.c: Likewise.
14134 * math/w_atanhl.c: Likewise.
14135 * math/w_exp2.c: Likewise.
14136 * math/w_exp2f.c: Likewise.
14137 * math/w_exp2l.c: Likewise.
14138 * math/w_j0.c: Likewise.
14139 * math/w_j0f.c: Likewise.
14140 * math/w_j0l.c: Likewise.
14141 * math/w_j1.c: Likewise.
14142 * math/w_j1f.c: Likewise.
14143 * math/w_j1l.c: Likewise.
14144 * math/w_jn.c: Likewise.
14145 * math/w_jnf.c: Likewise.
14146 * math/w_log.c: Likewise.
14147 * math/w_log10.c: Likewise.
14148 * math/w_log10f.c: Likewise.
14149 * math/w_log10l.c: Likewise.
14150 * math/w_log2.c: Likewise.
14151 * math/w_log2f.c: Likewise.
14152 * math/w_log2l.c: Likewise.
14153 * math/w_logf.c: Likewise.
14154 * math/w_logl.c: Likewise.
14155 * math/w_sqrt.c: Likewise.
14156 * math/w_sqrtf.c: Likewise.
14157 * math/w_sqrtl.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14160 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14161 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14162 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14163
14164 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14165
14166 [BZ #9739]
14167 * manual/string.texi (strnlen): Use correct parameter name in
14168 equivalent expression.
14169
14170 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14171
14172 [BZ #11174]
14173 * manual/users.texi (seteuid): Consistently use neweuid for
14174 argument name.
14175
14176 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14177
14178 [BZ #13704]
14179 * manual/nss.texi (Services in the NSS configuration): Correct
14180 list of services in example configuration file.
14181
14182 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14183
14184 [BZ #11322]
14185 * manual/arith.texi: Remove statements about negative zero
14186 behaving identically to zero.
14187
14188 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14189
14190 [BZ #5993]
14191 * manual/install.texi: Do not document upgrading from libc5.
14192
14193 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14194
14195 [BZ #4596]
14196 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14197
14198 2012-02-18 David S. Miller <davem@davemloft.net>
14199
14200 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14201 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14202 %o7 across the call.
14203 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14204 instead.
14205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14206 SETUP_PIC_REG_LEAF.
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14208 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14209 * sysdeps/sparc/crtn.S: Likewise.
14210
14211 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14212
14213 * aout/Makefile: Remove.
14214
14215 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14216
14217 [BZ #13058]
14218 * manual/examples/argp-ex1.c (main): Format definition in GNU
14219 style.
14220 * manual/examples/argp-ex2.c (main): Likewise.
14221 * manual/examples/argp-ex3.c (main): Likewise.
14222 * manual/examples/argp-ex4.c (main): Likewise.
14223 * manual/examples/longopt.c (main): Use new-style prototype
14224 definition.
14225 * manual/examples/strncat.c (main): Specify return type and use
14226 (void) for arguments.
14227 * manual/examples/subopt.c (main): Use char **argv argument.
14228
14229 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14230
14231 [BZ #5077]
14232 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14233 rounding modes.
14234
14235 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14236
14237 [BZ #6907]
14238 * manual/string.texi (strchr): Change when strchrnul is
14239 recommended.
14240
14241 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14242
14243 [BZ #174]
14244 * manual/locale.texi (setlocale): Document LOCPATH.
14245
14246 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14247
14248 [BZ #10210]
14249 * manual/process.texi (execle): Move @dots{} before last argument.
14250
14251 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14252
14253 [BZ #12047]
14254 * manual/charset.texi (Generic Charset Conversion): Fix typo
14255 (LC_TYPE -> LC_CTYPE).
14256
14257 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14258
14259 [BZ #5805]
14260 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14261 (scalbnf): Likewise.
14262 (scalbnl): Likewise.
14263 (scalbln): Likewise.
14264 (scalblnf): Likewise.
14265 (scalblnl): Likewise.
14266 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14267 (vwarnx): Likewise.
14268 (verr): Likewise.
14269 (verrx): Likewise.
14270 * manual/filesys.texi (telldir): Use braces around return type.
14271 * manual/llio.texi (mmap): Add space after comma.
14272 (mmap64): Likewise.
14273 * manual/math.texi (jn): Use @var{} on parameter names.
14274 (jnf): Likewise.
14275 (jnl): Likewise.
14276 (yn): Likewise.
14277 (ynf): Likewise.
14278 (ynl): Likewise.
14279 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14280 line.
14281 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14282 "...".
14283 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14284 (sched_get_priority_max): Likewise.
14285 * manual/signal.texi (sigvec): Add space after comma.
14286 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14287 names.
14288 (if_indextoname): Likewise.
14289 (if_freenameindex): Likewise.
14290 (sendto): Use ',' instead of '.' in prototype.
14291 * manual/startup.texi (syscall): Use @dots{} instead of literal
14292 "...".
14293 * manual/stdio.texi (__fpending): Separate initial words of
14294 paragraph from @deftypefun line.
14295 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14296 "...".
14297 (vsyslog): Use @var{} on parameter names.
14298 * manual/terminal.texi (stty): Use @var{} on parameter names.
14299 * manual/users.texi (getutmp): Use @var{} on parameter names.
14300 (getutmpx): Likewise.
14301
14302 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14303
14304 [BZ #6884]
14305 * manual/stdio.texi (fopen): Fix typos in description of
14306 ",ccs=STRING".
14307
14308 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14309
14310 [BZ #4026]
14311 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14312 get clock_id definition.
14313
14314 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14315
14316 [BZ #4822]
14317 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14318 (madvise): Cast every argument to void on its own.
14319
14320 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14321
14322 [BZ #9902]
14323 * manual/startup.texi (Exit Status): Fix typo.
14324
14325 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14326
14327 [BZ #10140]
14328 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14329 * manual/examples/argp-ex2.c: Likewise.
14330 * manual/examples/argp-ex3.c: Likewise.
14331
14332 2012-02-16 Richard Henderson <rth@redhat.com>
14333
14334 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14335 * sysdeps/s390/s390-32/initfini.c: Remove.
14336 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14337 * sysdeps/s390/s390-64/initfini.c: Remove.
14338
14339 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14340
14341 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14342 compiler output for sysdeps/generic/initfini.c.
14343 * sysdeps/sh/elf/initfini.c: Remove file.
14344
14345 2012-02-16 David S. Miller <davem@davemloft.net>
14346
14347 [BZ #11494]
14348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14349
14350 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14351 * sysdeps/sparc/crti.S: New file.
14352 * sysdeps/sparc/crtn.S: New file.
14353 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14354 * sysdeps/sparc/sparc64/Makefile: Likewise.
14355
14356 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14357
14358 [BZ #3335]
14359 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14360
14361 2012-02-15 Roland McGrath <roland@hack.frob.com>
14362
14363 [BZ #4822]
14364 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14365
14366 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14367 (write, read, close): Likewise.
14368 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14369
14370 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14371
14372 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14373 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14374 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14375 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14376 <bits/signalfd.h>.
14377 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14379 bits/signalfd.h.
14380
14381 2012-02-14 Marek Polacek <polacek@redhat.com>
14382
14383 * sysdeps/x86_64/crti.S: New file.
14384 * sysdeps/x86_64/crtn.S: New file.
14385 * sysdeps/x86_64/elf/initfini.c: Remove file.
14386
14387 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14388
14389 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14390 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14391 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14392 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14393 <bits/inotify.h>.
14394 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14396 bits/inotify.h.
14397
14398 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14399
14400 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14401 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14402 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14403 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14404 <bits/eventfd.h>.
14405 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14407 bits/eventfd.h.
14408
14409 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14410
14411 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14412 __feraiseexcept instead of feraiseexcept.
14413
14414 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14415 nanosleep invocations.
14416 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14417 strings, and add error checking for a nanosleep invocations.
14418
14419 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14420
14421 Replace FSF snail mail address with URLs, as per GNU coding standards.
14422 Most of the snail mail addresses were wrong anyway, and omitting
14423 them makes the source code easier to maintain. Almost all of the
14424 changes are to license notices and to locale LC_IDENTIFICATION
14425 addresses, except for this one:
14426 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14427 not its snail mail address.
14428
14429 2012-02-09 Richard Henderson <rth@twiddle.net>
14430
14431 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14432 of kernel-features.h.
14433
14434 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14435
14436 2012-02-08 Marek Polacek <polacek@redhat.com>
14437
14438 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14439 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14440 * sysdeps/gnu/_G_config.h: Likewise.
14441 * sysdeps/generic/_G_config.h: Likewise.
14442
14443 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14444
14445 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14446 tests.
14447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14448
14449 * sysdeps/powerpc/powerpc32/crti.S: New file.
14450 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14451 * sysdeps/powerpc/powerpc64/crti.S: New file.
14452 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14453
14454 * Makeconfig (have-initfini): Don't set.
14455 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14456 * configure.in (nopic_initfini): Don't substitute.
14457 * config.h.in (HAVE_INITFINI): Don't #undef.
14458 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14459 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14460
14461 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14462
14463 Support crti.S and crtn.S provided directly by architectures.
14464 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14465 [crti.S in sysdirs] (omit-deps): Likewise.
14466 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14467 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14468 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14469 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14470 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14471 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14472 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14473 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14474 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14475 compiler output for sysdeps/generic/initfini.c.
14476 * sysdeps/i386/elf/Makefile: Remove file.
14477 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14478
14479 2012-02-07 Marek Polacek <polacek@redhat.com>
14480
14481 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14482 * sysdeps/gnu/_G_config.h: Likewise.
14483 * sysdeps/mach/hurd/_G_config.h: Likewise.
14484
14485 2012-02-07 Marek Polacek <polacek@redhat.com>
14486
14487 * math/Makefile (tests): Add tst-CMPLX2.
14488 * math/tst-CMPLX2.c: New file.
14489
14490 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14491
14492 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14493
14494 * math/libm-test.inc (jn_test): Add missing L suffix.
14495
14496 2012-02-06 Marek Polacek <polacek@redhat.com>
14497
14498 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14499 * sysdeps/i386/fpu/e_powf.S: Likewise.
14500 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14501 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14502 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14503 * sysdeps/i386/fpu/e_pow.S: Likewise.
14504 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14505 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14506 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14507 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14508 * sysdeps/i386/fpu/e_log2.S: Likewise.
14509 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14510 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14511 * sysdeps/i386/fpu/e_powl.S: Likewise.
14512 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14514 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14515 * sysdeps/i386/fpu/e_logl.S: Likewise.
14516 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14517 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14518 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14519 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14521 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14522 * sysdeps/i386/fpu/e_log.S: Likewise.
14523 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14524 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14525 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14526 * sysdeps/i386/fpu/e_logf.S: Likewise.
14527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14528 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14529 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14530 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14531 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14532 * sysdeps/i386/fpu/e_log10.S: Likewise.
14533 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14535 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14536 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14537 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14538 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14539 * sysdeps/i386/asm-syntax.h: Likewise.
14540 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14541 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14542 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14543 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14544 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14545 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14546 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14547 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14548 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14549 * sysdeps/powerpc/sysdep.h: Likewise.
14550 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14551 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14552
14553 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14554
14555 [BZ #411]
14556 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14557
14558 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14559
14560 * sysdeps/i386/sysdep.h: Include <features.h>.
14561 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14562 version.
14563
14564 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14565
14566 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14567 Define.
14568 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14569 LOAD_PIC_REG_STR.
14570
14571 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14572
14573 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14574 (SETUP_PIC_REG): Use GET_PC_THUNK.
14575 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14576 macro.
14577
14578 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14579
14580 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14581 for non-PIC compilation.
14582 (SETUP_PIC_REG): Add .p2align directive.
14583 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14584 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14585 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14586 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14587 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14588 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14589 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14590 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14591 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14592 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14593 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14594 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14595 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14596 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14597 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14598 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14599 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14600 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14601 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14602 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14603 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14605 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14606 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14607 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14608 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14609 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14610 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14611 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14612 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14613 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14614 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14615 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14616 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14617 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14618 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14619 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14620 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14621 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14622 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14623 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14624
14625 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14626
14627 * math/tst-CMPLX.c: Include <stdio.h>.
14628
14629 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14630
14631 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14632 float.
14633 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14634 * sysdeps/sparc/bits/mathdef.h: Likewise.
14635
14636 2012-01-31 Marek Polacek <polacek@redhat.com>
14637
14638 * libio/libio.h: Don't define _PARAMS.
14639 * locale/programs/config.h: Don't define PARAMS.
14640 * stdlib/strtol_l.c: Likewise.
14641 (__strtol_l): Remove PARAMS from the prototype.
14642
14643 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14644
14645 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14646 names. Just use the correct names. Remove unnecessary wrapper
14647 functions.
14648 * malloc/arena.c: Likewise.
14649 * malloc/hooks.c: Likewise.
14650
14651 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14652 ARENA_TEST says not to. Simplify test for creation of a new arena.
14653 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14654
14655 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14656
14657 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14658 into tail calls.
14659 (update_get_addr): New function.
14660 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14661 GET_ADDR_MODULE parameter.
14662
14663 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14664
14665 * crypt/cert.c: Remove __STDC__ conditionals.
14666 * crypt/crypt-entry.c: Likewise.
14667 * crypt/crypt_util.c: Likewise.
14668 * libio/filedoalloc.c: Likewise.
14669 * libio/fileops.c: Likewise.
14670 * libio/genops.c: Likewise.
14671 * libio/iofclose.c: Likewise.
14672 * libio/iofdopen.c: Likewise.
14673 * libio/iofopen.c: Likewise.
14674 * libio/iofopen64.c: Likewise.
14675 * libio/iogetdelim.c: Likewise.
14676 * libio/iopopen.c: Likewise.
14677 * libio/obprintf.c: Likewise.
14678 * libio/oldfileops.c: Likewise.
14679 * libio/oldiofclose.c: Likewise.
14680 * libio/oldiofdopen.c: Likewise.
14681 * libio/oldiofopen.c: Likewise.
14682 * libio/oldiopopen.c: Likewise.
14683 * libio/wfiledoalloc.c: Likewise.
14684 * libio/wgenops.c: Likewise.
14685 * locale/programs/xmalloc.c: Likewise.
14686 * misc/syslog.c: Likewise.
14687 * stdio-common/xbug.c: Likewise.
14688 * string/memchr.c: Likewise.
14689 * string/memcmp.c: Likewise.
14690 * string/memrchr.c: Likewise.
14691 * string/rawmemchr.c: Likewise.
14692 * sysdeps/posix/getcwd.c: Likewise.
14693 * time/strftime_l.c: Likewise.
14694
14695 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14696
14697 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14698 * config.make.in (config-cflags-sse2avx): Define.
14699 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14700 Fix typo.
14701
14702 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14703
14704 * scripts/config.guess: Update from upstream config git repository.
14705 * scripts/config.sub: Likewise.
14706
14707 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14708
14709 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14710 (EM_NUM): Update.
14711 (R_TILEPRO_*, R_TILEGX_*): New macros.
14712
14713 * scripts/firstversions.awk: Fix bug in version range handling.
14714
14715 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14716
14717 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14718
14719 * include/sys/epoll.h: New file.
14720 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14721 libc_hidden_def.
14722
14723 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14724
14725 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14726 Avoid unnecessary __WORDSIZE == 64 test.
14727 (fmaxf): Use VEX format if possible.
14728 (fmax): Likewise.
14729 (fminf): Likewise.
14730 (fmin): Likewise.
14731
14732 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14733 * math/math_private.h: Remove libc_fegetround* and
14734 libc_fesetround*.
14735 * sysdeps/i386/configure.in: Check for -msse2avx.
14736 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14737 also if SSE2AVX is defined.
14738 Remove libc_fegetround* and libc_fesetround*.
14739 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14740 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14742 of HAS_YMM_USABLE.
14743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14748
14749 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14750
14751 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14752
14753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14754 size is not set.
14755 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14756
14757 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14758
14759 [BZ #13618]
14760 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14761 relocation.
14762 * Makeconfig (libm): Define.
14763 * elf/Makefile: Add rules to build and run tst-relsort1.
14764 * elf/tst-relsort1.c: New file.
14765 * elf/tst-relsort1mod1.c: New file.
14766 * elf/tst-relsort1mod2.c: New file.
14767
14768 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14769
14770 * math/s_ldexp.c: Remove __STDC__ conditionals.
14771 * math/s_ldexpf.c: Likewise.
14772 * math/s_ldexpl.c: Likewise.
14773 * math/s_nextafter.c: Likewise.
14774 * math/s_nexttowardf.c: Likewise.
14775 * math/s_significand.c: Likewise.
14776 * math/s_significandf.c: Likewise.
14777 * math/s_significandl.c: Likewise.
14778 * math/w_jnl.c: Likewise.
14779 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14780 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14781 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14782 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14783 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14798 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14799 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14800 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14801 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14802 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14803 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14804 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14805 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14806 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14807 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14808 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14809 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14810 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14811 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14813 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14814 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14815 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14816 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14817 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14818 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14819 * sysdeps/ieee754/k_standard.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14824 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14825 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14826 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14827 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14829 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14851 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14879 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14880 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14881 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14883 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14884 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14886 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14889 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14894 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14895 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14898 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14899 * sysdeps/ieee754/s_matherr.c: Likewise.
14900 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14901 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14904
14905 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14906
14907 * crypt/md5.h: Remove __STDC__ conditionals.
14908 * libio/libioP.h: Likewise.
14909 * locale/programs/config.h: Likewise.
14910 * sysdeps/generic/sysdep.h: Likewise.
14911 * sysdeps/i386/asm-syntax.h: Likewise.
14912 * sysdeps/s390/asm-syntax.h: Likewise.
14913 * sysdeps/unix/sysdep.h: Likewise.
14914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14916
14917 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14918
14919 * libio/libio.h: Remove __STDC__ conditionals.
14920 * malloc/obstack.h: Likewise.
14921 * math/complex.h: Likewise.
14922 * math/math.h: Likewise.
14923 * sysdeps/generic/_G_config.h: Likewise.
14924 * sysdeps/gnu/_G_config.h: Likewise.
14925 * sysdeps/mach/hurd/_G_config.h: Likewise.
14926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14927 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14928 * sysdeps/sparc/bits/mathdef.h: Likewise.
14929
14930 2012-01-26 Ulrich Drepper <drepper@gmail.com>
14931
14932 [BZ #13583]
14933 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14934 Clean up HAS_* macros.
14935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14936 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14937 possible.
14938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14939 HAS_AVX.
14940 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14941 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14942 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14943 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14944 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14945
14946 2012-01-25 Joseph Myers <joseph@codesourcery.com>
14947
14948 * elf/tst-unique3.cc (gets): Remove declaration.
14949 * elf/tst-unique3lib.cc (gets): Likewise.
14950 * elf/tst-unique3lib2.cc (gets): Likewise.
14951 * elf/tst-unique4.cc (gets): Likewise.
14952
14953 2012-01-24 Ulrich Drepper <drepper@gmail.com>
14954
14955 * include/stdio.h: Add C++ protection. Add gets declarations and
14956 definitions.
14957 * debug/tst-chk1.c: Don't declare gets here.
14958 * stdio-common/tst-gets.c: Likewise.
14959
14960 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14961
14962 * posix/glob: Remove directory.
14963
14964 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14965
14966 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14967
14968 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14969
14970 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14971 of the non-standard EPFNOSUPPORT.
14972
14973 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14974
14975 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14976 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14977 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14978
14979 2012-01-21 Ulrich Drepper <drepper@gmail.com>
14980
14981 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14982
14983 2012-01-20 Ulrich Drepper <drepper@gmail.com>
14984
14985 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14986 transient errors.
14987 * nscd/grpcache.c (cache_addgr): Likewise.
14988 * nscd/hstcache.c (cache_addhst): Likewise.
14989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14990 * nscd/pwdcache.c (cache_addpw): Likewise.
14991 * nscd/servicescache.c (cache_addserv): Likewise.
14992
14993 2012-01-16 Ulrich Drepper <drepper@gmail.com>
14994
14995 * malloc/malloc.c: Various cleanups.
14996 * malloc/hooks.c: Likewise.
14997
14998 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14999 * stdlib/bug-fmtmsg1.c: New file.
15000
15001 * stdlib/fmtmsg.c (init): Add missing unlock.
15002 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15003
15004 2012-01-12 Marek Polacek <polacek@redhat.com>
15005
15006 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15007 and _GNU_SOURCE.
15008
15009 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15010
15011 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15012 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15013 macro to ensure uniqueness of label name.
15014 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15015 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15016
15017 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15018
15019 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15020
15021 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15022 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15023 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15025
15026 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15027
15028 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15029
15030 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15031 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15032 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15033
15034 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15035
15036 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15037 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15038 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15040
15041 * math/bits/math-finite.h: Add ldexp support.
15042
15043 2012-01-10 Marek Polacek <polacek@redhat.com>
15044
15045 * locale/programs/localedef.h (show_archive_content): Add noreturn
15046 attribute.
15047
15048 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15049
15050 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15051
15052 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15053
15054 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15055
15056 * io/Makefile (headers): Add bits/poll2.h.
15057
15058 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15059
15060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15061 typo #include statement.
15062
15063 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15064
15065 * include/sys/cdefs.h: Define __attribute_alloc_size.
15066 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15067 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15068 * elf/pldd.c: Likewise.
15069 * iconv/iconv_charmap.c: Likewise.
15070 * iconv/iconvconfig.c: Likewise.
15071 * iconv/strtab.c: Likewise.
15072 * locale/programs/locale.c: Likewise.
15073 * locale/programs/localedef.h: Likewise.
15074 * locale/programs/simple-hash.c: Likewise.
15075 * nscd/nscd.h: Likewise.
15076 * nss/makedb.c: Likewise.
15077 * sysdeps/generic/ldconfig.h: Likewise.
15078 * locale/programs/localedef.c: Remove xmalloc prototype.
15079 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15080
15081 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15082
15083 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15084 appropriate.
15085
15086 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15087
15088 * math/Makefile (tests): Add tst-CMPLX.
15089 * math/tst-CMPLX.c: New file.
15090
15091 * math/complex.h (CMPLXL): Fix typo.
15092
15093 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15094 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15095 GLIBC_2.16.
15096 * debug/tst-chk1.c: Add poll and ppoll tests.
15097 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15098 * include/sys/poll.h: Add hidden proto for ppoll.
15099 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15100 * sysdeps/mach/hurd/ppoll.c: Likewise.
15101 * io/ppoll.c: Likewise.
15102 * debug/poll_chk.c: New file.
15103 * debug/ppoll_chk.c: New file.
15104 * include/bits/poll2.h: New file.
15105 * io/bits/poll2.h: New file.
15106
15107 [BZ #1350]
15108 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15109
15110 * configure.in: static is always set to yes. Remove.
15111 * config.make.in: Don't set build-static.
15112 * Makeconfig: Remove use of build-static.
15113 * dlfcn/Makefile: Likewise.
15114 * elf/Makefile: Likewise.
15115 * math/Makefile: Likewise.
15116 * misc/Makefile: Likewise.
15117 * nptl/Makefile: Likewise.
15118 * sysdeps/mach/hurd/Makefile: Likewise.
15119
15120 * configure.in: PWD_P is not used anymore.
15121 * config.make.in: Remove PWD_P entry.
15122
15123 * configure.in: Remove last remnants of RANLIB.
15124 No need to check for signed size_t anymore.
15125 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15126 and IA-64.
15127 Remove __builtin_expect test because we require at least gcc 3.4.
15128 * aclocal.m4: Likewise.
15129
15130 * wcsmbs/mbrtoc16.c: Implement using towc function.
15131 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15132 * wcsmbs/wcsmbsload.c: Likewise.
15133 * iconv/gconv_simple.c: Likewise.
15134 * iconv/gconv_int.h: Likewise.
15135 * iconv/gconv_builtin.h: Likewise.
15136 * iconv/iconv_prog.c: Remove CHAR16 handling.
15137
15138 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15139
15140 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15141
15142 * configure.in: Remove --with-elf and --enable-bounded options.
15143 Dont set base_machine for ia64. More non-ELF conditions removed.
15144 Remove testing and setting of leading underscore information.
15145 * config.make.in (build-bounded): Set to no.
15146 * config.h.in: Remove NO_UNDERSCORES entry.
15147 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15148 them.
15149 * csu/start.c: Remove !NO_UNDERSCORE code.
15150 * locale/localeinfo.h: Likewise.
15151 * sysdeps/generic/machine-gmon.h: Likewise.
15152 * sysdeps/generic/sysdep.h: Likewise.
15153 * sysdeps/i386/sysdep.h: Likewise.
15154 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15155 * sysdeps/mach/sysdep.h: Likewise.
15156 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15158 * sysdeps/sh/sysdep.h: Likewise.
15159 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15160 * sysdeps/unix/i386/sysdep.S: Likewise.
15161 * sysdeps/unix/sparc/start.c: Likewise.
15162 * sysdeps/unix/sparc/sysdep.S: Likewise.
15163 * sysdeps/unix/sparc/sysdep.h: Likewise.
15164 * sysdeps/unix/start.c: Likewise.
15165 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15166 * sysdeps/x86_64/sysdep.h: Likewise.
15167
15168 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15169
15170 [BZ #13553]
15171 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15172 for non-gcc.
15173 * argp/argp-fmtstream.h: Use const instead __const.
15174 * argp/argp.h: Likewise.
15175 * assert/assert.h: Likewise.
15176 * bits/fenv.h: Likewise.
15177 * bits/sched.h: Likewise.
15178 * bits/sigset.h: Likewise.
15179 * bits/sigthread.h: Likewise.
15180 * catgets/nl_types.h: Likewise.
15181 * conform/data/pthread.h-data: Likewise.
15182 * crypt/crypt-private.h: Likewise.
15183 * crypt/crypt.h: Likewise.
15184 * crypt/crypt_util.c: Likewise.
15185 * ctype/ctype.h: Likewise.
15186 * debug/execinfo.h: Likewise.
15187 * debug/mbsnrtowcs_chk.c: Likewise.
15188 * debug/mbsrtowcs_chk.c: Likewise.
15189 * debug/wcsnrtombs_chk.c: Likewise.
15190 * debug/wcsrtombs_chk.c: Likewise.
15191 * debug/wcstombs_chk.c: Likewise.
15192 * dirent/dirent.h: Likewise.
15193 * dlfcn/dlfcn.h: Likewise.
15194 * elf/neededtest4.c: Likewise.
15195 * grp/grp.h: Likewise.
15196 * gshadow/gshadow.h: Likewise.
15197 * iconv/gconv.h: Likewise.
15198 * iconv/gconv_int.h: Likewise.
15199 * iconv/gconv_simple.c: Likewise.
15200 * iconv/iconv.h: Likewise.
15201 * iconv/loop.c: Likewise.
15202 * iconv/skeleton.c: Likewise.
15203 * include/aio.h: Likewise.
15204 * include/aliases.h: Likewise.
15205 * include/argz.h: Likewise.
15206 * include/arpa/inet.h: Likewise.
15207 * include/assert.h: Likewise.
15208 * include/dirent.h: Likewise.
15209 * include/dlfcn.h: Likewise.
15210 * include/execinfo.h: Likewise.
15211 * include/fcntl.h: Likewise.
15212 * include/fenv.h: Likewise.
15213 * include/glob.h: Likewise.
15214 * include/grp.h: Likewise.
15215 * include/libintl.h: Likewise.
15216 * include/mntent.h: Likewise.
15217 * include/netdb.h: Likewise.
15218 * include/pwd.h: Likewise.
15219 * include/rpc/netdb.h: Likewise.
15220 * include/sched.h: Likewise.
15221 * include/search.h: Likewise.
15222 * include/shadow.h: Likewise.
15223 * include/signal.h: Likewise.
15224 * include/stdio.h: Likewise.
15225 * include/stdlib.h: Likewise.
15226 * include/string.h: Likewise.
15227 * include/sys/socket.h: Likewise.
15228 * include/sys/stat.h: Likewise.
15229 * include/sys/statfs.h: Likewise.
15230 * include/sys/statvfs.h: Likewise.
15231 * include/sys/syslog.h: Likewise.
15232 * include/sys/time.h: Likewise.
15233 * include/sys/uio.h: Likewise.
15234 * include/time.h: Likewise.
15235 * include/unistd.h: Likewise.
15236 * include/utmp.h: Likewise.
15237 * include/wchar.h: Likewise.
15238 * include/wctype.h: Likewise.
15239 * inet/aliases.h: Likewise.
15240 * inet/arpa/inet.h: Likewise.
15241 * inet/netinet/ether.h: Likewise.
15242 * inet/netinet/in.h: Likewise.
15243 * intl/libintl.h: Likewise.
15244 * io/bits/fcntl2.h: Likewise.
15245 * io/fcntl.h: Likewise.
15246 * io/ftw.h: Likewise.
15247 * io/sys/poll.h: Likewise.
15248 * io/sys/stat.h: Likewise.
15249 * io/sys/statfs.h: Likewise.
15250 * io/sys/statvfs.h: Likewise.
15251 * io/utime.h: Likewise.
15252 * libio/bits/stdio.h: Likewise.
15253 * libio/bits/stdio2.h: Likewise.
15254 * libio/libio.h: Likewise.
15255 * libio/libioP.h: Likewise.
15256 * libio/stdio.h: Likewise.
15257 * locale/lc-ctype.c: Likewise.
15258 * locale/locale.h: Likewise.
15259 * login/utmp.h: Likewise.
15260 * malloc/arena.c: Likewise.
15261 * malloc/malloc.c: Likewise.
15262 * malloc/malloc.h: Likewise.
15263 * malloc/mcheck.c: Likewise.
15264 * malloc/mtrace.c: Likewise.
15265 * math/bits/mathcalls.h: Likewise.
15266 * math/fenv.h: Likewise.
15267 * math/math_private.h: Likewise.
15268 * misc/bits/error.h: Likewise.
15269 * misc/bits/syslog.h: Likewise.
15270 * misc/err.h: Likewise.
15271 * misc/error.h: Likewise.
15272 * misc/fstab.h: Likewise.
15273 * misc/mntent.h: Likewise.
15274 * misc/regexp.h: Likewise.
15275 * misc/search.h: Likewise.
15276 * misc/sgtty.h: Likewise.
15277 * misc/sys/mman.h: Likewise.
15278 * misc/sys/syslog.h: Likewise.
15279 * misc/sys/uio.h: Likewise.
15280 * misc/sys/xattr.h: Likewise.
15281 * misc/ttyent.h: Likewise.
15282 * nis/rpcsvc/ypclnt.h: Likewise.
15283 * nss/nss.h: Likewise.
15284 * posix/bits/unistd.h: Likewise.
15285 * posix/fnmatch.h: Likewise.
15286 * posix/glob.h: Likewise.
15287 * posix/sched.h: Likewise.
15288 * posix/spawn.h: Likewise.
15289 * posix/sys/wait.h: Likewise.
15290 * posix/unistd.h: Likewise.
15291 * posix/wordexp.h: Likewise.
15292 * pwd/pwd.h: Likewise.
15293 * resolv/netdb.h: Likewise.
15294 * resource/sys/resource.h: Likewise.
15295 * rt/aio.h: Likewise.
15296 * rt/bits/mqueue2.h: Likewise.
15297 * rt/mqueue.h: Likewise.
15298 * shadow/shadow.h: Likewise.
15299 * signal/signal.h: Likewise.
15300 * socket/send.c: Likewise.
15301 * socket/sendto.c: Likewise.
15302 * socket/sys/socket.h: Likewise.
15303 * stdio-common/printf.h: Likewise.
15304 * stdlib/bits/stdlib.h: Likewise.
15305 * stdlib/fmtmsg.h: Likewise.
15306 * stdlib/monetary.h: Likewise.
15307 * stdlib/stdlib.h: Likewise.
15308 * stdlib/ucontext.h: Likewise.
15309 * streams/stropts.h: Likewise.
15310 * string/argz.h: Likewise.
15311 * string/bits/string2.h: Likewise.
15312 * string/string.h: Likewise.
15313 * string/strings.h: Likewise.
15314 * sunrpc/rpc/auth.h: Likewise.
15315 * sunrpc/rpc/auth_des.h: Likewise.
15316 * sunrpc/rpc/clnt.h: Likewise.
15317 * sunrpc/rpc/netdb.h: Likewise.
15318 * sunrpc/rpc/pmap_clnt.h: Likewise.
15319 * sunrpc/rpc/xdr.h: Likewise.
15320 * sysdeps/generic/inttypes.h: Likewise.
15321 * sysdeps/generic/net/if.h: Likewise.
15322 * sysdeps/generic/sys/swap.h: Likewise.
15323 * sysdeps/gnu/net/if.h: Likewise.
15324 * sysdeps/gnu/utmpx.h: Likewise.
15325 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15326 * sysdeps/i386/i486/bits/string.h: Likewise.
15327 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15328 * sysdeps/s390/bits/string.h: Likewise.
15329 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15330 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15331 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15332 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15333 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15334 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15335 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15336 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15337 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15338 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15339 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15340 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15341 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15342 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15343 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15344 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15345 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15347 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15350 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15351 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15352 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15353 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15354 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15355 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15356 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15357 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15358 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15359 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15360 * sysvipc/sys/ipc.h: Likewise.
15361 * sysvipc/sys/msg.h: Likewise.
15362 * sysvipc/sys/sem.h: Likewise.
15363 * sysvipc/sys/shm.h: Likewise.
15364 * termios/termios.h: Likewise.
15365 * time/sys/time.h: Likewise.
15366 * time/time.h: Likewise.
15367 * wcsmbs/bits/wchar2.h: Likewise.
15368 * wcsmbs/uchar.h: Likewise.
15369 * wcsmbs/wchar.h: Likewise.
15370 * wctype/wctype.h: Likewise.
15371
15372 [BZ #13551]
15373 * Makeconfig: Remove all but ELF support including AIX support.
15374 * Makerules: Likewise.
15375 * config.h.in: Likewise.
15376 * config.make.in: Likewise.
15377 * configure: Likewise.
15378 * configure.in: Likewise.
15379 * csu/Makefile: Likewise.
15380 * csu/version.c: Likewise.
15381 * debug/Makefile: Likewise.
15382 * dlfcn/Makefile: Likewise.
15383 * elf/Makefile: Likewise.
15384 * extra-lib.mk: Likewise.
15385 * iconv/Makefile: Likewise.
15386 * include/libc-symbols.h: Likewise.
15387 * include/shlib-compat.h: Likewise.
15388 * resolv/Makefile: Likewise.
15389 * resolv/res_libc.c: Likewise.
15390 * rt/Makefile: Likewise.
15391 * sysdeps/i386/asm-syntax.h: Likewise.
15392 * sysdeps/i386/sysdep.h: Likewise.
15393 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15394 * sysdeps/mach/sysdep.h: Likewise.
15395 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15396 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15397 * sysdeps/s390/asm-syntax.h: Likewise.
15398 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15400 * sysdeps/sh/sysdep.h: Likewise.
15401 * sysdeps/unix/sparc/sysdep.h: Likewise.
15402 * sysdeps/wordsize-32/divdi3.c: Likewise.
15403 * sysdeps/x86_64/sysdep.h: Likewise.
15404
15405 * argp/Versions: Remove _argp_unlock_xxx.
15406
15407 [BZ #13559]
15408 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15409 * abilist/libBrokenLocale.abilist: Likewise.
15410 * abilist/libanl.abilist: Likewise.
15411 * abilist/libc.abilist: Likewise.
15412 * abilist/libcrypt.abilist: Likewise.
15413 * abilist/libdl.abilist: Likewise.
15414 * abilist/libm.abilist: Likewise.
15415 * abilist/libnsl.abilist: Likewise.
15416 * abilist/libpthread.abilist: Likewise.
15417 * abilist/libresolv.abilist: Likewise.
15418 * abilist/librt.abilist: Likewise.
15419 * abilist/libthread_db.abilist: Likewise.
15420 * abilist/libutil.abilist: Likewise.
15421 * abilist/libnss_db.abilist: New file.
15422
15423 * scripts/abilist.awk: Add support for indirect functions.
15424
15425 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15426
15427 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15428
15429 * shlib-versions: Remove entries for ports architectures.
15430
15431 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15432 files in ports.
15433 * elf/stackguard-macros.h: Remove support for IA-64.
15434 * elf/tst-auditmod1.c: Likewise.
15435 * sysdeps/generic/ldsodefs.h: Likewise.
15436
15437 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15438 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15439 configure files.
15440
15441 [BZ #13552]
15442 * configure.in: Remove --enable-omitfp support.
15443 * FAQ.in: Adjust.
15444 * config.make.in: Likewise.
15445 * Makeconfig: Likewise.
15446 * manual/install.texi: Likewise.
15447
15448 In case anyone cares, the IA-64 architecture could move to ports.
15449 * sysdeps/ia64/*: Removed.
15450 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15451 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15452
15453 [BZ #13555]
15454 * configure.in: Remove entries for unsupported architectures.
15455
15456 [BZ #13533]
15457 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15458 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15459 routines.
15460 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15461 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15462 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15463 fall back to using wcrtomb.
15464 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15465 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15466 renaming.
15467 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15468 * wcsmbs/tst-c16c32-1.c: New file.
15469
15470 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15471 local variable.
15472
15473 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15474
15475 * elf/tst-unique3.cc: Add explicit declaration of gets.
15476 * elf/tst-unique3lib.cc: Likewise.
15477 * elf/tst-unique3lib2.cc: Likewise.
15478 * elf/tst-unique4.cc: Likewise.
15479
15480 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15481
15482 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15483
15484 [BZ #13566]
15485 * assert/assert.h (static_assert): Don't define for C++.
15486 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15487 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15488
15489 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15490
15491 * iconv/loop.c (single loop): Fix assertion in storing of
15492 remaining bytes.
15493
15494 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15495
15496 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15497
15498 * posix/getconf.c: Update copyright year.
15499 * nss/getent.c: Likewise.
15500 * nss/makedb.c: Likewise.
15501 * iconv/iconvconfig.c: Likewise.
15502 * iconv/iconv_prog.c: Likewise.
15503 * elf/ldconfig.c: Likewise.
15504 * elf/pldd.c: Likewise.
15505 * elf/sotruss.ksh: Likewise.
15506 * catgets/gencat.c: Likewise.
15507 * csu/version.c: Likewise.
15508 * elf/ldd.bash.in: Likewise.
15509 * elf/sprof.c (print_version): Likewise.
15510 * locale/programs/locale.c: Likewise.
15511 * locale/programs/localedef.c: Likewise.
15512 * login/programs/pt_chown.c: Likewise.
15513 * nscd/nscd.c (print_version): Likewise.
15514 * debug/xtrace.sh: Likewise.
15515 * malloc/memusage.sh: Likewise.
15516 * malloc/mtrace.pl: Likewise.
15517 * debug/catchsegv.sh: Likewise.
15518
15519 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15520
15521 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15522 pure attribute.
15523
15524 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15525
15526 [BZ #13533]
15527 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15528 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15529 transformations.
15530 * iconv/gconv_int.h: Likewise.
15531 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15532 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15533 from libc for GLIBC_2.16.
15534 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15535 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15536 * wcsmbs/uchar.h: Really define mbstate_t.
15537 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15538 * wcsmbs/c16rtomb.c: New file.
15539 * wcsmbs/mbrtoc16.c: New file.
15540 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15541 for C/POSIX locale.
15542 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15543 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15544
15545 * wcsmbs/wchar.h: Add missing __restrict.
15546
15547 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15548
15549 [BZ #13532]
15550 * time/Makefile (routines): Add timespec_get.
15551 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15552 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15553 timespec for ISO C11.
15554 * time/timespec_get.c: New file.
15555 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15556 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15557
15558 [BZ #13531]
15559 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15560 * stdlib/stdlib.h: Declare aligned_alloc.
15561 * Versions.def: Add GLIBC_2.16 for libc.
15562 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15563
15564 [BZ 13527]
15565 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15566 ISO C11.
15567
15568 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15569 code.
15570
15571 [BZ #13528]
15572 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15573
15574 [BZ #13529]
15575 * assert/assert.h (static_assert): Define.
15576
15577 * version.h: Update for 2.16 development version.
15578
15579 [BZ #13526]
15580 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15581 _ISOC11_SOURCE.
15582
15583 * version.h (RELEASE): Bump for 2.15 release.
15584 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15585
15586 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15587 Patch by Marek Polacek <mpolacek@redhat.com>.
15588
15589 * bits/byteswap.h: Protect long long constants with __extension__.
15590 * sysdeps/i386/bits/byteswap.h: Likewise.
15591 * sysdeps/ia64/bits/byteswap.h: Likewise.
15592 * sysdeps/s390/bits/byteswap.h: Likewise.
15593 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15594
15595 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15596
15597 [BZ #13540]
15598 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15599 destination buffer.
15600 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15601
15602 2011-12-23 Marek Polacek <polacek@redhat.com>
15603
15604 * elf/dl-addr.c (determine_info): Add inline keyword.
15605 * elf/tst-auditmod4b.c (check_avx): Likewise.
15606 * elf/tst-auditmod6b.c (check_avx): Likewise.
15607 * elf/tst-auditmod6c.c (check_avx): Likewise.
15608 * elf/tst-auditmod7b.c (check_avx): Likewise.
15609
15610 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15611
15612 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15613 !__SSE_MATH__.
15614
15615 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15616
15617 [BZ #13540]
15618 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15619 processing for last bytes.
15620
15621 2011-08-06 Bruno Haible <bruno@clisp.org>
15622
15623 [BZ #13061]
15624 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15625 U+0385, not to U+1FEE.
15626
15627 [BZ #13062]
15628 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15629 entry for U+00A5 U+0301.
15630
15631 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15632
15633 [BZ #13166]
15634 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15635 buffer for the output is too small.
15636
15637 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15638 optimization.
15639
15640 [BZ #13185]
15641 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15642 SSE flags if possible.
15643
15644 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15645
15646 [BZ #13540]
15647 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15648 processing for last bytes.
15649
15650 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15651
15652 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15653 (syscall-list-default-options, syscall-list-default-condition)
15654 (syscall-list-includes): Define.
15655 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15656 list of ABIs and options and #if conditions for each ABI. Do not
15657 handle common syscalls between ABIs specially.
15658 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15659 Remove.
15660 (syscall-list-variants, syscall-list-32bit-options)
15661 (syscall-list-32bit-condition, syscall-list-64bit-options)
15662 (syscall-list-64bit-condition): Define.
15663 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15664 (syscall-list-variants, syscall-list-32bit-options)
15665 (syscall-list-32bit-condition, syscall-list-64bit-options)
15666 (syscall-list-64bit-condition): Define.
15667 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15668 Remove.
15669 (syscall-list-variants, syscall-list-32bit-options)
15670 (syscall-list-32bit-condition, syscall-list-64bit-options)
15671 (syscall-list-64bit-condition): Define.
15672 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15673 Remove.
15674 (syscall-list-variants, syscall-list-32bit-options)
15675 (syscall-list-32bit-condition, syscall-list-64bit-options)
15676 (syscall-list-64bit-condition): Define.
15677
15678 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15679
15680 * locale/iso-639.def: Add brx entry.
15681
15682 [BZ #13328]
15683 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15684 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15685
15686 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15687 __feraiseexcept_renamed.
15688
15689 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15690
15691 [BZ #13538]
15692 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15693 EPOLLET with unsigned values.
15694 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15695 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15696
15697 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15698 to large cancellation.
15699 * math/s_cacoshf.c: Likewise.
15700 * math/s_cacoshl.c: Likewise.
15701
15702 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15703
15704 [BZ #13305]
15705 [BZ #12786]
15706 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15707 * math/s_cacoshf.c: Likewise.
15708 * math/s_cacoshl.c: Likewise.
15709
15710 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15711
15712 [BZ #13439]
15713 * iconv/gconv.h: Define __GCONV_SWAP.
15714 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15715 * iconvdata/utf-16.c: Likewise.
15716 * iconvdata/utf-32.c: Likewise.
15717
15718 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15719
15720 [BZ #13524]
15721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15722 numerator after shifting it by one limb.
15723
15724 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15725
15726 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15727 under [__USE_EXTERN_INLINES].
15728
15729 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15730
15731 [BZ #13446]
15732 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15733
15734 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15735
15736 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15737 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15738 optimized code.
15739 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15740 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15741 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15742 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15743 for strncasecmp/strncasecmp_l compilation.
15744 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15745 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15746
15747 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15748
15749 [BZ #13484]
15750 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15751 of __asm__.
15752
15753 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15754
15755 [BZ #13506]
15756 * time/tzfile.c (__tzfile_read): Check values from file header.
15757
15758 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15759
15760 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15761 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15762 * powerpc/powerpc32/dl-start.S: Likewise.
15763 * powerpc/powerpc32/elf/start.S: Likewise.
15764 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15765 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15766 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15767 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15768 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15769 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15770 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15771 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15772 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15773 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15774 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15775 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15776 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15777 * powerpc/powerpc32/memset.S: Likewise.
15778 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15779 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15780 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15781 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15782 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15783 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15784 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15785 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15786 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15787 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15788 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15789 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15790 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15791
15792 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15793
15794 * math/libm-test.inc: Added more nearbyint tests.
15795 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15796 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15797 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15798 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15799
15800 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15801
15802 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15803 FD_CLOEXEC.
15804
15805 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15806
15807 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15808 Add wcscpy-ssse3 wcscpy-c.
15809 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15810 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15811 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15812 * sysdeps/x86_64/wcschr.S: New file.
15813 * sysdeps/x86_64/wcsrchr.S: New file.
15814 * string/test-strcmp.c: Remove checking of wcscmp function for
15815 wrong alignments.
15816 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15817 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15818 wcsrchr-sse2 wcsrchr-c.
15819 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15820 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15821 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15822 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15823 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15824 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15825 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15826 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15827 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15828 * wcsmbc/wcschr.c (WCSCHR): New macro.
15829
15830 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15831
15832 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15833 * wcsmbs/test-wcsrchr.c: New file.
15834 * string/test-strrchr.c: Add wcsrchr support.
15835 (WIDE): New macro.
15836 * wcsmbs/test-wcscpy.c: New file.
15837 * string/test-strcpy.c: Add wcscpy support.
15838 (WIDE): New macro.
15839
15840 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15841
15842 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15843 the inner loop.
15844
15845 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15846
15847 [BZ #13472]
15848 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15849
15850 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15851
15852 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15853 Minor optimizations.
15854
15855 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15856 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15857 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15858
15859 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15860
15861 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15862 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15863 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15864 for gcc to avoid warnings.
15865 * inet/Makefile (tests): Add tst-checks.
15866 * inet/tst-checks.c: New file.
15867
15868 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15869 warning.
15870
15871 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15872 __wmemcmp_sse2.
15873
15874 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15875 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15876
15877 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15878
15879 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15880
15881 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15882 problem.
15883
15884 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15885
15886 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15887
15888 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15889 conditional on GCC version.
15890 (__arch_compare_and_exchange_val_8_acq)
15891 (__arch_compare_and_exchange_val_16_acq)
15892 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15893 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15894 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15895
15896 2011-12-02 Joseph Myers <joseph@codesourcery.com>
15897
15898 * sysdeps/sh/backtrace.c: New file.
15899
15900 2011-12-02 Andreas Schwab <schwab@redhat.com>
15901
15902 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15903 parenthesis.
15904
15905 2011-12-01 Andreas Schwab <schwab@redhat.com>
15906
15907 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15908 falling back to utime.
15909
15910 2011-11-30 Andreas Schwab <schwab@redhat.com>
15911
15912 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15913 expectations for float.
15914
15915 2011-11-29 Andreas Schwab <schwab@redhat.com>
15916
15917 * locale/weight.h (findidx): Add parameter len.
15918 * locale/weightwc.h (findidx): Likewise.
15919 * posix/fnmatch_loop.c (FCT): Adjust caller.
15920 * posix/regcomp.c (build_equiv_class): Likewise.
15921 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15922 * posix/regexec.c (check_node_accept_bytes): Likewise.
15923 * string/strcoll_l.c (STRCOLL): Likewise.
15924 * string/strxfrm_l.c (STRXFRM): Likewise.
15925
15926 2011-11-17 Ulrich Drepper <drepper@gmail.com>
15927
15928 * Makefile.in: Remove CVSOPT handling.
15929 * configure.in: Remove use of AC_REVISION.
15930 * iconvdata/Makefile (distribute): No need to filter out CVS.
15931 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15932 handling.
15933
15934 2011-11-16 Andreas Schwab <schwab@redhat.com>
15935
15936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15937 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15938 [USE_AS_STRNCASECMP_L]: Likewise.
15939 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15940 NO_TLS_DIRECT_SEG_REFS.
15941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15942 Fix argument offsets for non-PIC.
15943 [USE_AS_STRNCASECMP_L]: Likewise.
15944 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15945 NO_TLS_DIRECT_SEG_REFS.
15946
15947 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15948
15949 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15950 O_CLOEXEC.
15951 * locale/loadlocale.c (_nl_load_locale): Likewise.
15952
15953 2011-11-15 Andreas Schwab <schwab@redhat.com>
15954
15955 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15956 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15957 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15958 (SYSCALL_GETTIME): Set errno on error.
15959
15960 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15961 count references to noai6ai_cached.
15962
15963 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15964
15965 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15966
15967 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15968 FD_CLOEXEC for /proc/self/maps.
15969
15970 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15971 FD_CLOEXEC for /proc/meminfo.
15972
15973 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15974 gai.conf.
15975
15976 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15977 FD_CLOEXEC for given file.
15978
15979 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15980
15981 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15982 FD_CLOEXEC for /etc/hosts.
15983 (_gethtent): Likewise.
15984
15985 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15986
15987 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15988 cancellation and set FD_CLOEXEC for /etc/netgroup.
15989
15990 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15991 reading /etc/publickey.
15992
15993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15994 allow cancellation when reading /etc/group.
15995
15996 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15997 cancellation.
15998 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15999
16000 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16001 when using data file.
16002
16003 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16004
16005 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16006 (write_nis_obj): Use "c" and "e" in fopen.
16007
16008 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16009
16010 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16011
16012 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16013
16014 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16015
16016 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16017 locale.alias.
16018
16019 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16020
16021 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16022
16023 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16024
16025 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16026 file parsing and set FD_CLOEXEC.
16027
16028 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16029
16030 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16031
16032 2011-11-14 Andreas Schwab <schwab@redhat.com>
16033
16034 * malloc/arena.c (arena_get2): Don't call reused_arena when
16035 _int_new_arena failed.
16036
16037 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16038
16039 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16040 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16043 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16044 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16045 to compile strcasecmp and strncasecmp.
16046 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16047 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16048
16049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16050
16051 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16052
16053 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16054 locale-defines.sym to gen-as-const-headers.
16055 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16056 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16058 to compile strcasecmp and strncasecmp.
16059 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16060 strcasecmp_l and strncasecmp_l.
16061 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16062 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16063 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16064 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16065 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16066 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16067 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16068 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16069 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16070 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16071 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16072
16073 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16074
16075 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16076 result of SYSDEP_GETTIME_CPU to retval.
16077 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16078 parameter list to macro. Remove trailing semicolon. Adjust users.
16079
16080 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16081 variable.
16082
16083 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16084 mantissa words.
16085 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16086
16087 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16088 from unused variable.
16089
16090 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16091 DWARF definitions.
16092 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16093 for assembling.
16094
16095 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16096 over namespaces.
16097
16098 * sunrpc/rpc_prot.c (rejected): Fix case value.
16099
16100 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16101 unsigned long long int to avoid warnings in shift.
16102
16103 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16104 of use of trans.
16105 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16106 variable tmp.
16107
16108 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16109 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16110 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16111
16112 * nis/nis_table.c (nis_list): Use variable of correct type for
16113 result of __follow_path call.
16114
16115 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16116
16117 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16118 of math functions ceil, trunc, floor, round, and sqrt, when
16119 avaliable on the platform.
16120 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16121 name clash.
16122 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16123 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16124 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16125
16126 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16127
16128 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16129 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16130
16131 2011-11-11 Roland McGrath <roland@hack.frob.com>
16132
16133 * include/unistd.h: Fix __readlink return type.
16134 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16135
16136 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16137
16138 * stdlib/ucontext.h: Undo last change for makecontext.
16139
16140 2011-11-11 Andreas Schwab <schwab@redhat.com>
16141
16142 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16143
16144 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16145 * setjmp/setjmp.h: Mark functions as non-leaf.
16146 * setjmp/bits/setjmp2.h: Likewise.
16147 * stdlib/ucontext.h: Likewise.
16148
16149 2011-11-10 Andreas Schwab <schwab@redhat.com>
16150
16151 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16152 (reused_arena): Don't check arena limit.
16153 (arena_get2): Atomically check arena limit.
16154
16155 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16156
16157 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16158 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16159
16160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16161 instructions.
16162
16163 2011-11-07 Andreas Schwab <schwab@redhat.com>
16164
16165 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16166 handler when locking.
16167
16168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16169 Fix size of allocated buffer.
16170
16171 2011-11-04 Andreas Schwab <schwab@redhat.com>
16172
16173 [BZ #10103]
16174 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16175 declarations for long double functions.
16176 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16177
16178 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16179
16180 2011-11-03 Andreas Schwab <schwab@redhat.com>
16181
16182 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16183 installed.
16184
16185 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16186 is disabled.
16187
16188 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16189
16190 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16191
16192 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16193
16194 * include/alloca.h (stackinfo_alloca_round): Define.
16195 (extend_alloca): Use it.
16196 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16197 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16198 here.
16199
16200 * scripts/check-local-headers.sh: Ignore libaudit.h.
16201
16202 * nscd/Makefile (extra-objs): Make recursively expanded.
16203
16204 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16205
16206 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16207 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16208
16209 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16210 * posix/tst-rfc3484-2.c: Likewise.
16211 * posix/tst-rfc3484-3.c: Likewise.
16212
16213 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16214 process_vm_writev.
16215 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16216 process_vm_writev.
16217 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16218 process_vm_writev from libc using GLIBC_2.15 version.
16219
16220 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16221
16222 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16223
16224 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16225 stack usage.
16226
16227 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16228
16229 [BZ #13367]
16230 * nss/getent.c (initgroups_keys): Show error message in case no group
16231 names are given.
16232
16233 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16234 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16235 __bump_nl_timestamp.
16236 * nscd/connections (nscd_init): When host database is served open
16237 netlink socket and request notification about configuration changes.
16238 (main_loop_poll): Track netlink file descriptor and bump timestamp
16239 in case data becomes available.
16240 (main_loop_epoll): Likewise.
16241 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16242 (database_pers_head): Add extra_data fileds.
16243 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16244 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16245 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16246 Adjust caller.
16247 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16248 in6ai data, call __free_in6ai.
16249 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16250 Add -DHAVE_NETLINK.
16251 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16252 interface information. Reuse previous data if netlink timestamp
16253 is not changed.
16254 (__bump_nl_timestamp): New function.
16255 (__free_in6ai): New function.
16256
16257 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16258
16259 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16260 close_not_cancel_no_status here.
16261 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16262
16263 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16264
16265 [BZ #13276]
16266 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16267 return value.
16268
16269 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16270 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16271 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16272
16273 2011-07-03 Andreas Jaeger <aj@suse.de>
16274
16275 [BZ #10709]
16276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16277 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16278 * math/libm-test.inc (sin_test): Add test case.
16279
16280 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16281
16282 [BZ #13337]
16283 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16284 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16285
16286 * elf/chroot_canon.c (chroot_canon): Cleanups.
16287
16288 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16289
16290 [BZ #13335]
16291 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16292 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16293
16294 * string/test-strchr.c: Make usable for strchrnul testing.
16295 * string/test-strchrnul.c: New file.
16296 * string/Makefile (strop-tests): Add strchrnul.
16297
16298 * po/it.po: Update from translation team.
16299 * po/es.po: Likewise.
16300
16301 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16302
16303 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16304 the three constants needed as parameters. Drop the others.
16305 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16306 __m128i_strloadu_tolower.
16307 Create and initialize variable zero and use it in all the places
16308 where _mm_setzero_si128 was used.
16309
16310 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16311 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16312 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16313 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16314 anymore.
16315 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16316 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16317 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16318 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16319 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16320 __mpranred, __mptan.
16321 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16322 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16323 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16324 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16325 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16326 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16327 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16328 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16329 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16330
16331 2011-10-28 Andreas Schwab <schwab@redhat.com>
16332
16333 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16334 redefine if SHARED.
16335 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16336
16337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16338 wide char related routines to wcsmbs subdir.
16339
16340 2011-10-27 Andreas Schwab <schwab@redhat.com>
16341
16342 [BZ #13344]
16343 * misc/sys/cdefs.h (__THROWNL): Define.
16344 * posix/unistd.h: Use __THREADNL instead of __THREAD
16345 for memory synchronization functions.
16346
16347 2011-10-26 Roland McGrath <roland@hack.frob.com>
16348
16349 [BZ #13349]
16350 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16351 doesn't exist.
16352 * manual/stdio.texi (Obstack Streams): Node removed.
16353
16354 2011-10-26 Andreas Schwab <schwab@redhat.com>
16355
16356 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16357 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16359
16360 * math/math_private.h (math_force_eval): Allow non-addressable
16361 arguments.
16362 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16363
16364 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16365
16366 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16367 file is not needed.
16368
16369 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16371 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16372 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16373 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16374 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16375 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16376 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16377 Add AVX variants.
16378 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16379 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16380 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16381 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16382 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16383 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16384 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16385 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16386 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16387 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16388 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16389 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16390 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16391 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16392 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16393 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16394 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16395 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16396 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16397
16398 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16399 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16400
16401 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16402 place. Use VEX encoding when compiling for AVX.
16403
16404 2011-10-25 Andreas Schwab <schwab@redhat.com>
16405
16406 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16407 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16408
16409 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16410
16411 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16412
16413 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16414 useless if() expression.
16415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16416 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16417 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16418 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16420 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16423 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16425 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16426 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16427 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16428 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16429 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16431 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16432 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16433 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16434
16435 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16436
16437 2011-10-25 Andreas Schwab <schwab@redhat.com>
16438
16439 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16440 condition.
16441 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16442
16443 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16444
16445 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16446 .text section. Avoid duplicate constants.
16447 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16455 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16456 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16457 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16458 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16459 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16460 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16461 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16462 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16463 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16464 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16465 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16467 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16468 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16469 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16471 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16472 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16473 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16474 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16475 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16476 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16477 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16478 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16479 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16480 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16481 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16482 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16483 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16484 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16485 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16486 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16487 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16488 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16489 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16490 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16491 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16492
16493 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16494
16495 * sysdeps/x86_64/dla.h: Move to ...
16496 * sysdeps/x86_64/fpu/dla.h: ...here.
16497 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16498 situations. Use __builtin_fma only for gcc 4.6 and up.
16499
16500 * config.make.in: Add have-mfma4 entry.
16501 * configure.in: Substitute libc_cv_cc_fma4.
16502 * math/Makefile (dbl-only-routines): Add sincostab.
16503 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16504 Use __sincostab not sincos.
16505 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16506 name is a macro.
16507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16511 using __copysign.
16512 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16513 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16514 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16515 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16516 and __inv.
16517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16518 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16519 __copysign.
16520 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16521 define aliases when function name is a macro.
16522 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16523 sysdeps/ieee754/dbl-64/sincos.tbl.
16524 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16525 fma4-enabled routines.
16526 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16527 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16528 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16529 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16530 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16531 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16532 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16533 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16534 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16535 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16536 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16537 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16538 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16539 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16540 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16541 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16542 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16543 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16544 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16546 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16547 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16549 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16550 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16551 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16552 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16553 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16554 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16555 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16556
16557 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16558 rename.
16559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16567
16568 2011-10-24 Andreas Schwab <schwab@redhat.com>
16569
16570 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16571
16572 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16573
16574 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16575
16576 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16577 prediction.
16578 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16579
16580 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16581 Remove unused variable magic_bits.
16582 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16583
16584 * string/strnlen.c: Define and use STRNLEN macro.
16585 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16586 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16588 * wcsmbs/wcslen.c: Define and use WCSLEN.
16589 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16590 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16591 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16592 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16593 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16594 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16595 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16596
16597 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16598
16599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16600 strnlen-sse2-no-bsf.
16601 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16603 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16604 Add strnlen support.
16605 (USE_AS_STRNLEN): New macro.
16606 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16607 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16608 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16609 * sysdeps/x86_64/wcslen.S: New file.
16610
16611 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16612
16613 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16614 XMM-moves are used for copying on small sizes.
16615
16616 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16617
16618 * wcsmbs/Makefile (strop-tests): Add wcschr.
16619 * wcsmbs/test-wcschr.c: New file.
16620 * string/test-strchr.c: Update.
16621 Add wcschr support.
16622 (WIDE): New macro.
16623
16624 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16625
16626 * wcsmbs/Makefile (strop-tests): Add wcslen.
16627 * wcsmbs/test-wcslen.c: New file.
16628 * string/test-strlen.c: Update.
16629 Add wcslen support.
16630 (WIDE): New macro.
16631
16632 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16633
16634 * po/it.po: Update from translation team.
16635
16636 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16637
16638 * sysdeps/x86_64/wcscmp.S: Update.
16639 Fix wrong comparison semantics.
16640 wcscmp shall use signed comparison not unsigned.
16641 Don't use substraction to avoid overflow bug.
16642 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16643 * wcsmbc/wcscmp.c: Likewise.
16644 * string/test-strcmp.c: Likewise.
16645 Add new tests to check cases with negative values.
16646
16647 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16648
16649 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16650 * sysdeps/x86_64/dla.h: ...here. New file.
16651 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16660
16661 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16662
16663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16664 __ynl_finite aliases.
16665
16666 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16667
16668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16669
16670 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16671 define DLA_FMA.
16672 [DLA_FMA] (EMULV): Use DLA_FMA.
16673 [DLA_FMA] (MUL12): Use EMULV.
16674 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16675 that are not needed.
16676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16681 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16682 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16683
16684 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16685
16686 * math/s_nan.c: Undef __nan.
16687 * math/s_nanf.c: Undef __nanf.
16688 * math/s_nanl.c: Undef __nanl.
16689 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16690 "math_private.h".
16691
16692 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16693
16694 * math/s_catan.c: Add branch predictions.
16695 * math/s_catanf.c: Likewise.
16696 * math/s_catanh.c: Likewise.
16697 * math/s_catanhf.c: Likewise.
16698 * math/s_catanhl.c: Likewise.
16699 * math/s_catanl.c: Likewise.
16700 * math/s_cexp.c: Likewise.
16701 * math/s_cexpf.c: Likewise.
16702 * math/s_cexpl.c: Likewise.
16703 * math/s_clog.c: Likewise.
16704 * math/s_clog10.c: Likewise.
16705 * math/s_clog10f.c: Likewise.
16706 * math/s_clog10l.c: Likewise.
16707 * math/s_clogf.c: Likewise.
16708 * math/s_clogl.c: Likewise.
16709 * math/s_csqrt.c: Likewise.
16710 * math/s_csqrtf.c: Likewise.
16711 * math/s_csqrtl.c: Likewise.
16712 * math/s_ctanf.c: Likewise.
16713 * math/s_ctanh.c: Likewise.
16714 * math/s_ctanhf.c: Likewise.
16715 * math/s_ctanhl.c: Likewise.
16716 * math/s_ctanl.c: Likewise.
16717
16718 * math/math_private.h: Define __nan, __nanf, __nanl.
16719 * math/s_cacosh.c: Include <math_private.h>.
16720 * math/s_cacoshl.c: Likewise.
16721 * math/s_casinh.c: Likewise.
16722 * math/s_casinhf.c: Likewise.
16723 * math/s_casinhl.c: Likewise.
16724 * math/s_ccos.c: Rely entire on ccosh.
16725 * math/s_ccosf.c: Rely entire on ccoshf.
16726 * math/s_ccosl.c: Rely entirely on ccoshl.
16727 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16728 Remove tests for FE_INVALID.
16729 * math/s_ccoshf.c: Likewise.
16730 * math/s_ccoshl.c: Likewise.
16731 * math/s_csin.c: Likewise.
16732 * math/s_csinf.c: Likewise.
16733 * math/s_csinh.c Likewise.
16734 * math/s_csinhf.c: Likewise.
16735 * math/s_csinhl.c: Likewise.
16736 * math/s_csinl.c: Likewise.
16737 * math/s_ctan.c: Likewise.
16738 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16739 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16740 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16741
16742 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16743
16744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16745 compilation problems.
16746
16747 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16748 __builtin_expect.
16749
16750 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16751
16752 * sysdeps/i386/configure.in: Test for -mfma4 option.
16753 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16754 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16755 COMMON_CPUID_INDEX_80000001.
16756 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16757 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16758 use it if FMA3 is not supported.
16759 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16760
16761 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16762 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16763
16764 2011-10-20 Andreas Schwab <schwab@redhat.com>
16765
16766 [BZ #12892]
16767 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16768 it would create a cycle with a link time dependency.
16769
16770 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16771
16772 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16773 instruction.
16774 * string/Makefile (strop-tests): Add rawmemchr.
16775 * string/test-rawmemchr.c: New file.
16776
16777 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16779 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16780 when compiling str{,n}casecmp and when AVX is available. Hook up
16781 new optimized code in initializers.
16782
16783 2011-10-19 Andreas Schwab <schwab@redhat.com>
16784
16785 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16786 __feraiseexcept instead of feraiseexcept.
16787
16788 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16789
16790 * math/math_private.h: Define defaults for libc_fetestexcept and
16791 libc_feupdateenv.
16792 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16793 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16794 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16795 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16796 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16797 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16798 libc_fetestexcept and libc_feupdateenv.
16799
16800 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16801 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16802 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16803 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16804 libc_feholdexcept_setround.
16805
16806 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16807 Add s_nearbyint-c and s_nearbyintf-c.
16808 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16809 nearbyintf inlines.
16810 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16811 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16812 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16813 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16814
16815 * math/math_private.h: Define defaults for libc_fegetround,
16816 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16817 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16818 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16819 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16820 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16821 standard functions.
16822 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16823 Remove comments and hacks for old compiler versions.
16824 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16825 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16826 libc_feholdexceptl.
16827
16828 2011-10-18 Andreas Schwab <schwab@redhat.com>
16829
16830 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16831 (__feraiseexcept_renamed): Add __NTH.
16832 (feraiseexcept): Add __NTH. Rename local variables to fix
16833 namespace violations.
16834
16835 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16836
16837 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16838
16839 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16840
16841 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16842 recently added interfaces.
16843 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16844
16845 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16846 about macro parameter expansion.
16847
16848 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16849 __NO_MATH_INLINES is defined. Cleanups.
16850
16851 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16852 and __floorf is target has SSE4.1.
16853 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16854 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16855 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16856 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16857
16858 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16859 name.
16860 (floorf): Likewise.
16861
16862 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16863
16864 2011-10-17 Andreas Schwab <schwab@redhat.com>
16865
16866 * misc/sys/cdefs.h: Fix last change.
16867
16868 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16869 database lookup.
16870
16871 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16872
16873 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16874
16875 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16877 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16878 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16880 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16881 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16882 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16883 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16884 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16885 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16886 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16887 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16888 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16889 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16890 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16891 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16892 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16893 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16894 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16895 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16896 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16897
16898 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16899 ceil, ceilf, floor, floorf.
16900
16901 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16902 Perform IRELATIVE relocations last.
16903
16904 * elf/do-rel.h: Add another parameter nrelative, replacing the
16905 local variable with the same name. Change name of the function
16906 to end in Rel or Rela (uppercase).
16907 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16908 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16909 elf_dynamic_do_##reloc function.
16910
16911 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16912
16913 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16914 is sufficient, at least on modern CPUs.
16915
16916 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16917
16918 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16919 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16920
16921 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16922 __expl_finite.
16923 * math/bits/math-finite.h: Add entries for exp.
16924 * math/e_expl.c: Add __*_finite alias.
16925 * sysdeps/i386/fpu/e_exp.S: Likewise.
16926 * sysdeps/i386/fpu/e_expf.S: Likewise.
16927 * sysdeps/i386/fpu/e_expl.c: Likewise.
16928 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16929 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16930 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16932 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16933 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16934 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16935
16936 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16937 is sufficient, at least on modern CPUs.
16938
16939 * ctype/ctype-info.c (__ctype_init): Define.
16940 * include/ctype.h (__ctype_init): Declare.
16941 (__ctype_b_loc): The variable is always initialized.
16942 (__ctype_toupper_loc): Likewise.
16943 (__ctype_tolower_loc): Likewise.
16944 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16945 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16946
16947 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16948
16949 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16950
16951 * configure.in: Also look in $cxxmachine/include for C++ system
16952 headers.
16953
16954 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16955
16956 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16957 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16958 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16959 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16960 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16961 (USE_AS_WMEMCMP): New macro.
16962 Fixing indents.
16963 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16964 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16965 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16966 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16968 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16969 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16970 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16971 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16972 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16974 (USE_AS_WMEMCMP): New macro.
16975 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16976 * sysdeps/string/test-memcmp.c: Update.
16977 Fix simple_wmemcmp.
16978 Add new tests.
16979 * wcsmbs/wmemcmp.c: Update.
16980 (WMEMCMP): New macro.
16981 Fix overflow bug.
16982
16983 2011-10-12 Andreas Jaeger <aj@suse.de>
16984
16985 [BZ #13268]
16986 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16987
16988 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16989
16990 * libio/iofwide.c (do_length): Avoid warning.
16991
16992 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16993
16994 2011-10-14 Ulrich Drepper <drepper@gmail.com>
16995
16996 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16997
16998 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16999 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17000 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17001 * sysdeps/i386/i686/fpu/e_log.S: New file.
17002 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17003 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17004
17005 * ctype/ctype.h: Add support for inlined isXXX functions when
17006 compiling C++ code.
17007
17008 2011-10-14 Andreas Schwab <schwab@redhat.com>
17009
17010 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17011
17012 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17013
17014 2011-10-13 Roland McGrath <roland@hack.frob.com>
17015
17016 [BZ #13291]
17017 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17018
17019 2011-10-13 Andreas Schwab <schwab@redhat.com>
17020
17021 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17022 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17023 feraiseexcept.
17024
17025 * sysdeps/x86_64/memrchr.S: Check for zero size.
17026
17027 * string/stratcliff.c: Add memrchr tests.
17028
17029 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17030
17031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17032 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17033 rawmemchr-sse2 rawmemchr-sse2-bsf.
17034 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17035 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17036 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17037 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17038 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17039 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17040 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17041 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17042 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17043 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17044 * string/memrchr.c (MEMRCHR): New macro.
17045
17046 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17047
17048 Add integration with gcc's -ffinite-math-only and optimize wrapper
17049 functions in libm.
17050 * Versions.def: Define GLIBC_2.15 version for libm.
17051 * math/Makefile (headers): Add bits/math-finite.h.
17052 * math/bits/math-finite.h: New file.
17053 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17054 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17055 * math/e_acoshl.c: Add __*_finite alias.
17056 * math/e_acosl.c: Likewise.
17057 * math/e_asinl.c: Likewise.
17058 * math/e_atan2l.c: Likewise.
17059 * math/e_atanhl.c: Likewise.
17060 * math/e_coshl.c: Likewise.
17061 * math/e_exp10.c: Likewise.
17062 * math/e_exp10f.c: Likewise.
17063 * math/e_exp10l.c: Likewise.
17064 * math/e_exp2l.c: Likewise.
17065 * math/e_fmodl.c: Likewise.
17066 * math/e_gammal_r.c: Likewise.
17067 * math/e_hypotl.c: Likewise.
17068 * math/e_j0l.c: Likewise.
17069 * math/e_j1l.c: Likewise.
17070 * math/e_jnl.c: Likewise.
17071 * math/e_lgammal_r.c: Likewise.
17072 * math/e_log10l.c: Likewise.
17073 * math/e_log2l.c: Likewise.
17074 * math/e_logl.c: Likewise.
17075 * math/e_powl.c: Likewise.
17076 * math/e_sinhl.c: Likewise.
17077 * math/e_sqrtl.c: Likewise.
17078 * math/e_scalb.c: Completely rewritten and optimized.
17079 * math/e_scalbf.c: Likewise.
17080 * math/e_scalbl.c: Likewise.
17081 * math/w_acos.c: Likewise.
17082 * math/w_acosf.c: Likewise.
17083 * math/w_acosl.c: Likewise.
17084 * math/w_acosh.c: Likewise.
17085 * math/w_acoshf.c: Likewise.
17086 * math/w_acoshl.c: Likewise.
17087 * math/w_asin.c: Likewise.
17088 * math/w_asinf.c: Likewise.
17089 * math/w_asinl.c: Likewise.
17090 * math/w_atan2.c: Likewise.
17091 * math/w_atan2f.c: Likewise.
17092 * math/w_atan2l.c: Likewise.
17093 * math/w_atanh.c: Likewise.
17094 * math/w_atanhf.c: Likewise.
17095 * math/w_atanhl.c: Likewise.
17096 * math/w_exp10.c: Likewise.
17097 * math/w_exp10f.c: Likewise.
17098 * math/w_exp10l.c: Likewise.
17099 * math/w_fmod.c: Likewise.
17100 * math/w_fmodf.c: Likewise.
17101 * math/w_fmodl.c: Likewise.
17102 * math/w_j0.c: Likewise.
17103 * math/w_j0f.c: Likewise.
17104 * math/w_j0l.c: Likewise.
17105 * math/w_j1.c: Likewise.
17106 * math/w_j1f.c: Likewise.
17107 * math/w_j1l.c: Likewise.
17108 * math/w_jn.c: Likewise.
17109 * math/w_jnf.c: Likewise.
17110 * math/w_log.c: Likewise.
17111 * math/w_logf.c: Likewise.
17112 * math/w_logl.c: Likewise.
17113 * math/w_log10.c: Likewise.
17114 * math/w_log10f.c: Likewise.
17115 * math/w_log10l.c: Likewise.
17116 * math/w_log2.c: Likewise.
17117 * math/w_log2f.c: Likewise.
17118 * math/w_log2l.c: Likewise.
17119 * math/w_pow.c: Likewise.
17120 * math/w_powf.c: Likewise.
17121 * math/w_powl.c: Likewise.
17122 * math/w_remainder.c: Likewise.
17123 * math/w_remainderf.c: Likewise.
17124 * math/w_remainderl.c: Likewise.
17125 * math/w_scalb.c: Likewise.
17126 * math/w_scalbf.c: Likewise.
17127 * math/w_scalbl.c: Likewise.
17128 * math/w_sqrt.c: Likewise.
17129 * math/w_sqrtf.c: Likewise.
17130 * math/w_sqrtl.c: Likewise.
17131 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17132 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17133 used.
17134 * math/math_private.h: Declare __kernel_standard_f.
17135 * math/w_cosh.c: Remove cruft and optimize a bit.
17136 * math/w_coshf.c: Likewise.
17137 * math/w_coshl.c: Likewise.
17138 * math/w_exp2.c: Likewise.
17139 * math/w_exp2f.c: Likewise.
17140 * math/w_exp2l.c: Likewise.
17141 * math/w_hypot.c: Likewise.
17142 * math/w_hypotf.c: Likewise.
17143 * math/w_hypotl.c: Likewise.
17144 * math/w_lgamma.c: Likewise.
17145 * math/w_lgamma_r.c: Likewise.
17146 * math/w_lgammaf.c: Likewise.
17147 * math/w_lgammaf_r.c: Likewise.
17148 * math/w_lgammal.c: Likewise.
17149 * math/w_lgammal_r.c: Likewise.
17150 * math/w_sinh.c: Likewise.
17151 * math/w_sinhf.c: Likewise.
17152 * math/w_sinhl.c: Likewise.
17153 * math/w_tgamma.c: Likewise.
17154 * math/w_tgammaf.c: Likewise.
17155 * math/w_tgammal.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17157 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17158 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17159 Minor optimizations. Pretty printing. Remove cruft.
17160 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17161 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17162 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17163 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17164 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17165 * sysdeps/i386/fpu/e_asin.S: Likewise.
17166 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17167 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17168 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17169 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17170 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17171 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17172 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17173 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17174 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17175 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17176 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17177 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17178 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17179 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17180 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17181 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17182 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17183 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17184 * sysdeps/i386/fpu/e_log.S: Likewise.
17185 * sysdeps/i386/fpu/e_log10.S: Likewise.
17186 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17187 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17188 * sysdeps/i386/fpu/e_log2.S: Likewise.
17189 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17190 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17191 * sysdeps/i386/fpu/e_logf.S: Likewise.
17192 * sysdeps/i386/fpu/e_logl.S: Likewise.
17193 * sysdeps/i386/fpu/e_pow.S: Likewise.
17194 * sysdeps/i386/fpu/e_powf.S: Likewise.
17195 * sysdeps/i386/fpu/e_powl.S: Likewise.
17196 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17197 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17198 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17199 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17200 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17201 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17202 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17203 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17204 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17205 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17206 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17211 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17212 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17213 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17214 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17215 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17216 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17218 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17219 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17221 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17222 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17223 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17225 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17226 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17227 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17228 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17229 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17230 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17231 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17232 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17233 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17234 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17235 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17236 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17237 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17238 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17239 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17240 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17241 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17242 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17243 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17244 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17245 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17246 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17285 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17288 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17290 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17291 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17293 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17296 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17297 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17298 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17299 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17300 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17301 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17302 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17303 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17304 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17305 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17306 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17307 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17308 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17309 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17310 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17311 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17312 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17313 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17314 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17315 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17316 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17317 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17318 (__isnanf): Likewise.
17319 (__isinf_ns): Likewise.
17320 (__isinf_nsf): Likewise.
17321 (__finite): Likewise.
17322 (__finitef): Likewise.
17323 (__ieee754_sqrt): Define as macro.
17324 (__ieee754_sqrtf): Define as macro.
17325 (__ieee754_sqrtl): Define as macro.
17326 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17327 inlined copy.
17328 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17329 __FINITE_MATH_ONLY__ consistent.
17330 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17331
17332 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17333
17334 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17335 of rawmemchr.
17336
17337 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17338
17339 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17340
17341 * po/ja.po: Update from translation team.
17342
17343 2011-10-08 Roland McGrath <roland@hack.frob.com>
17344
17345 * locale/programs/locarchive.c (prepare_address_space): New function.
17346 (create_archive, enlarge_archive, open_archive): Use it.
17347
17348 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17349 inside [SHARED], where it is used.
17350
17351 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17352
17353 * nss/getent.c (netgroup_keys): Remove unused variable.
17354 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17355
17356 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17357
17358 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17361 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17362 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17363 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17364 * math/Makefile (libm-calls): Add s_isinf_ns.
17365 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17366 * math/multc3.c: Likewise.
17367 * math/s_casin.c: Likewise.
17368 * math/s_casinf.c: Likewise.
17369 * math/s_casinl.c: Likewise.
17370 * math/s_ccos.c: Likewise.
17371 * math/s_ccosf.c: Likewise.
17372 * math/s_ccosl.c: Likewise.
17373 * math/s_ctan.c: Likewise.
17374 * math/s_ctanf.c: Likewise.
17375 * math/s_ctanh.c: Likewise.
17376 * math/s_ctanhf.c: Likewise.
17377 * math/s_ctanhl.c: Likewise.
17378 * math/s_ctanl.c: Likewise.
17379 * math/w_fmod.c: Likewise.
17380 * math/w_fmodf.c: Likewise.
17381 * math/w_fmodl.c: Likewise.
17382 * math/w_remainder.c: Likewise.
17383 * math/w_remainderf.c: Likewise.
17384 * math/w_remainderl.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17386 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17389 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17390 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17391 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17392 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17393
17394 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17395 of the number.
17396 * stdio-common/printf_fphex.c: Likewise.
17397 * stdio-common/printf_size.c: Likewise.
17398
17399 * math/e_exp10.c: Include math_private.h using <...> not "...".
17400 * math/e_exp10f.c: Likewise.
17401 * math/e_exp10l.c: Likewise.
17402 * math/e_exp2l.c: Likewise.
17403 * math/e_j0l.c: Likewise.
17404 * math/e_j1l.c: Likewise.
17405 * math/e_jnl.c: Likewise.
17406 * math/e_lgammal_r.c: Likewise.
17407 * math/e_rem_pio2l.c: Likewise.
17408 * math/e_scalb.c: Likewise.
17409 * math/e_scalbf.c: Likewise.
17410 * math/e_scalbl.c: Likewise.
17411 * math/k_cosl.c: Likewise.
17412 * math/k_sinl.c: Likewise.
17413 * math/k_tanl.c: Likewise.
17414 * math/s_cacoshf.c: Likewise.
17415 * math/s_catan.c: Likewise.
17416 * math/s_catanf.c: Likewise.
17417 * math/s_catanh.c: Likewise.
17418 * math/s_catanhf.c: Likewise.
17419 * math/s_catanhl.c: Likewise.
17420 * math/s_catanl.c: Likewise.
17421 * math/s_ccosh.c: Likewise.
17422 * math/s_ccoshf.c: Likewise.
17423 * math/s_ccoshl.c: Likewise.
17424 * math/s_cexp.c: Likewise.
17425 * math/s_cexpf.c: Likewise.
17426 * math/s_cexpl.c: Likewise.
17427 * math/s_clog.c: Likewise.
17428 * math/s_clog10.c: Likewise.
17429 * math/s_clog10f.c: Likewise.
17430 * math/s_clog10l.c: Likewise.
17431 * math/s_clogf.c: Likewise.
17432 * math/s_clogl.c: Likewise.
17433 * math/s_csin.c: Likewise.
17434 * math/s_csinf.c: Likewise.
17435 * math/s_csinh.c: Likewise.
17436 * math/s_csinhf.c: Likewise.
17437 * math/s_csinhl.c: Likewise.
17438 * math/s_csinl.c: Likewise.
17439 * math/s_csqrt.c: Likewise.
17440 * math/s_csqrtf.c: Likewise.
17441 * math/s_csqrtl.c: Likewise.
17442 * math/s_ctan.c: Likewise.
17443 * math/s_ctanf.c: Likewise.
17444 * math/s_ctanh.c: Likewise.
17445 * math/s_ctanhf.c: Likewise.
17446 * math/s_ctanhl.c: Likewise.
17447 * math/s_ctanl.c: Likewise.
17448 * math/s_ldexp.c: Likewise.
17449 * math/s_ldexpf.c: Likewise.
17450 * math/s_ldexpl.c: Likewise.
17451 * math/s_significand.c: Likewise.
17452 * math/s_significandf.c: Likewise.
17453 * math/s_significandl.c: Likewise.
17454 * math/w_acos.c: Likewise.
17455 * math/w_acosf.c: Likewise.
17456 * math/w_acosh.c: Likewise.
17457 * math/w_acoshf.c: Likewise.
17458 * math/w_acoshl.c: Likewise.
17459 * math/w_acosl.c: Likewise.
17460 * math/w_asin.c: Likewise.
17461 * math/w_asinf.c: Likewise.
17462 * math/w_asinl.c: Likewise.
17463 * math/w_atan2.c: Likewise.
17464 * math/w_atan2f.c: Likewise.
17465 * math/w_atan2l.c: Likewise.
17466 * math/w_atanh.c: Likewise.
17467 * math/w_atanhf.c: Likewise.
17468 * math/w_atanhl.c: Likewise.
17469 * math/w_cosh.c: Likewise.
17470 * math/w_coshf.c: Likewise.
17471 * math/w_coshl.c: Likewise.
17472 * math/w_dremf.c: Likewise.
17473 * math/w_exp10.c: Likewise.
17474 * math/w_exp10f.c: Likewise.
17475 * math/w_exp10l.c: Likewise.
17476 * math/w_exp2.c: Likewise.
17477 * math/w_exp2f.c: Likewise.
17478 * math/w_fmod.c: Likewise.
17479 * math/w_fmodf.c: Likewise.
17480 * math/w_fmodl.c: Likewise.
17481 * math/w_hypot.c: Likewise.
17482 * math/w_hypotf.c: Likewise.
17483 * math/w_hypotl.c: Likewise.
17484 * math/w_j0.c: Likewise.
17485 * math/w_j0f.c: Likewise.
17486 * math/w_j0l.c: Likewise.
17487 * math/w_j1.c: Likewise.
17488 * math/w_j1f.c: Likewise.
17489 * math/w_j1l.c: Likewise.
17490 * math/w_jn.c: Likewise.
17491 * math/w_jnf.c: Likewise.
17492 * math/w_jnl.c: Likewise.
17493 * math/w_lgamma.c: Likewise.
17494 * math/w_lgamma_r.c: Likewise.
17495 * math/w_lgammaf.c: Likewise.
17496 * math/w_lgammaf_r.c: Likewise.
17497 * math/w_lgammal.c: Likewise.
17498 * math/w_lgammal_r.c: Likewise.
17499 * math/w_log.c: Likewise.
17500 * math/w_log10.c: Likewise.
17501 * math/w_log10f.c: Likewise.
17502 * math/w_log10l.c: Likewise.
17503 * math/w_log2.c: Likewise.
17504 * math/w_log2f.c: Likewise.
17505 * math/w_log2l.c: Likewise.
17506 * math/w_logf.c: Likewise.
17507 * math/w_logl.c: Likewise.
17508 * math/w_pow.c: Likewise.
17509 * math/w_powf.c: Likewise.
17510 * math/w_powl.c: Likewise.
17511 * math/w_remainder.c: Likewise.
17512 * math/w_remainderf.c: Likewise.
17513 * math/w_remainderl.c: Likewise.
17514 * math/w_scalb.c: Likewise.
17515 * math/w_scalbf.c: Likewise.
17516 * math/w_scalbl.c: Likewise.
17517 * math/w_sinh.c: Likewise.
17518 * math/w_sinhf.c: Likewise.
17519 * math/w_sinhl.c: Likewise.
17520 * math/w_sqrt.c: Likewise.
17521 * math/w_sqrtf.c: Likewise.
17522 * math/w_sqrtl.c: Likewise.
17523 * math/w_tgamma.c: Likewise.
17524 * math/w_tgammaf.c: Likewise.
17525 * math/w_tgammal.c: Likewise.
17526
17527 * po/ja.po: Update from translation team.
17528
17529 2011-09-29 Andreas Jaeger <aj@suse.de>
17530
17531 [BZ #13179]
17532 * sunrpc/netname.c (netname2host): Fix logic.
17533
17534 [BZ #6779]
17535 [BZ #6783]
17536 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17537 correctly.
17538 * math/w_remainder.c (__remainder): Likewise.
17539 * math/w_remainderf.c (__remainderf): Likewise.
17540 * math/libm-test.inc (remainder_test): Add test cases.
17541
17542 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17543
17544 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17545 sdiv_qrnnd.
17546
17547 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17548
17549 * string/test-memcmp.c: Avoid unncessary #defines.
17550 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17551
17552 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17553
17554 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17555 Use new sse2 version for core i3 - i7 as it's faster
17556 than sse42 version.
17557 (bit_Prefer_PMINUB_for_stringop): New.
17558 * sysdeps/x86_64/rawmemchr.S: Update.
17559 Replace with faster SSE2 version.
17560 * sysdeps/x86_64/memrchr.S: New file.
17561 * sysdeps/x86_64/memchr.S: Update.
17562 Replace with faster SSE2 version.
17563
17564 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17565
17566 * elf/dl-load.c (lose): Add cast to avoid warning.
17567
17568 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17569
17570 * po/ca.po: Update from translation team.
17571
17572 * inet/getnetgrent_r.c: Hook up nscd.
17573 * nscd/Makefile (routines): Add nscd_netgroup.
17574 (nscd-modules): Add netgroupcache.
17575 (CFLAGS-netgroupcache.c): Define.
17576 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17577 (cache_search): Add const to second parameter.
17578 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17579 INNETGR.
17580 (dbs): Add netgrdb entry.
17581 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17582 (verify_persistent_db): Handle netgrdb.
17583 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17584 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17585 GETFDNETGR.
17586 (netgroup_response_header): Define.
17587 (innetgroup_response_header): Define.
17588 (datahead): Add netgroup_response_header and innetgroup_response_header
17589 elements.
17590 * nscd/nscd.conf: Add entries for netgroup cache.
17591 * nscd/nscd.h (dbtype): Add netgrdb.
17592 (_PATH_NSCD_NETGROUP_DB): Define.
17593 (netgroup_iov_disabled): Declare.
17594 (xmalloc, xcalloc, xrealloc): Move declarations here.
17595 (cache_search): Adjust prototype.
17596 Add netgroup-related prototypes.
17597 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17598 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17599 (__nscd_innetgr): Declare.
17600 * nscd/selinux.c (perms): Use access_vector_t as element type and
17601 add netgroup-related initializers.
17602 * nscd/netgroupcache.c: New file.
17603 * nscd/nscd_netgroup.c: New file.
17604 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17605 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17606 For four parameters use innetgr.
17607 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17608 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17609 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17610 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17611
17612 * nscd/connections.c (register_traced_file): Don't register file
17613 for disabled databases.
17614
17615 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17616
17617 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17618
17619 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17620 from tree and freeing node.
17621
17622 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17623
17624 * nss/nsswitch.c (__nss_database_lookup): Handle
17625 nss_parse_service_list out of memory case.
17626
17627 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17628
17629 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17630 out of memory case.
17631
17632 2011-10-04 Andreas Schwab <schwab@redhat.com>
17633
17634 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17635 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17636 pass it down.
17637 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17638 elf_machine_rela, elf_machine_lazy_rel.
17639 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17640 (ELF_DYNAMIC_DO_REL): Likewise.
17641 (ELF_DYNAMIC_DO_RELA): Likewise.
17642 (ELF_DYNAMIC_RELOCATE): Likewise.
17643 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17644 to ELF_DYNAMIC_DO_REL.
17645 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17646 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17647 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17648 elf_machine_rela.
17649 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17650 skip_ifunc, don't call ifunc function if non-zero.
17651 (elf_machine_rela): Likewise.
17652 (elf_machine_lazy_rel): Likewise.
17653 (elf_machine_lazy_rela): Likewise.
17654 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17655 (elf_machine_lazy_rel): Likewise.
17656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17657 Likewise.
17658 (elf_machine_lazy_rel): Likewise.
17659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17660 Likewise.
17661 (elf_machine_lazy_rel): Likewise.
17662 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17663 (elf_machine_lazy_rel): Likewise.
17664 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17665 (elf_machine_lazy_rel): Likewise.
17666 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17667 (elf_machine_lazy_rel): Likewise.
17668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17669 (elf_machine_lazy_rel): Likewise.
17670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17671 (elf_machine_lazy_rel): Likewise.
17672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17673 (elf_machine_lazy_rel): Likewise.
17674
17675 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17676
17677 * nss/nss_files/files-init.c (_nss_files_init): Use static
17678 initialization for all the *_traced_file variables.
17679
17680 2011-09-28 Andreas Schwab <schwab@redhat.com>
17681
17682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17683
17684 2011-09-27 Roland McGrath <roland@hack.frob.com>
17685
17686 [BZ #13226]
17687 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17688
17689 2011-09-27 Andreas Schwab <schwab@redhat.com>
17690
17691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17692 Reread the line before reparsing it.
17693
17694 2011-09-26 Andreas Schwab <schwab@redhat.com>
17695
17696 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17697
17698 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17699 Maxim Kuvyrkov <maxim@codesourcery.com>
17700 Joseph Myers <joseph@codesourcery.com>
17701
17702 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17703 if needed for __stack_chk_guard.
17704
17705 2011-09-19 Roland McGrath <roland@hack.frob.com>
17706
17707 * sysdeps/posix/spawni.c (script_execute): Always define it.
17708 It will be optimized away if unused.
17709 (maybe_script_execute): New function.
17710 (__spawni): Call it.
17711
17712 * Makerules: Don't include tls.make.
17713 (config-tls): Always set to thread.
17714 * tls.make.c: File removed.
17715
17716 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17717
17718 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17719 * config.make.in (CPPFLAGS-config): New substituted variable.
17720
17721 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17722
17723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17724
17725 [BZ #13192]
17726 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17727 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17728
17729 2011-09-15 Roland McGrath <roland@hack.frob.com>
17730
17731 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17732 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17734 (CALL_FAIL): Likewise.
17735 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17736 (CALL_FAIL): Macro removed.
17737 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17738
17739 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17740
17741 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17742 for __FINITE_MATH_ONLY__ == 1.
17743
17744 2011-09-15 Andreas Schwab <schwab@redhat.com>
17745
17746 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17747 __ieee754_sqrt instead of sqrt.
17748 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17749 __ieee754_sqrtf instead of sqrtf.
17750 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17751 __floorf instead of floorf.
17752 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17753 __floorf, __truncf instead of floorf, truncf.
17754
17755 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17756
17757 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17758
17759 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17760 __extern_always_inline.
17761 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17762 32-bit.
17763
17764 2011-09-14 Andreas Schwab <schwab@redhat.com>
17765
17766 * elf/rtld.c (dl_main): Also relocate in dependency order when
17767 doing symbol dependency testing.
17768
17769 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17770
17771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17772 Always define `refsym'.
17773
17774 2011-09-13 Andreas Schwab <schwab@redhat.com>
17775
17776 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17777 (__FD_ELT): Renamed from __FDELT.
17778 * misc/bits/select2.h (__FD_ELT): Likewise.
17779 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17780 __FD_MASK instead of __FDELT, __FDMASK.
17781 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17782 Likewise.
17783 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17784 Likewise.
17785
17786 * elf/Makefile (gen-ldd): Fix pattern.
17787
17788 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17789 (init_tls): Likewise.
17790
17791 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17792
17793 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17794
17795 2011-09-12 Andreas Schwab <schwab@redhat.com>
17796
17797 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17798 `struct cmsghdr *' instead of `void *'.
17799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17800 Likewise.
17801
17802 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17803
17804 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17805 if non-absolute.
17806 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17807 ldd_rewrite_script.
17808
17809 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17810
17811 * configure.in: Remove --with-tls option.
17812 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17813 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17814 out in case it is missing.
17815 * sysdeps/ia64/elf/configure.in: Likewise.
17816 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17817 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17818 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17819 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17820 * sysdeps/sh/elf/configure.in: Likewise.
17821 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17822 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17823 * sysdeps/x86_64/elf/configure.in: Likewise.
17824 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17825 * sysdeps/mach/hurd/tls.h: Likewise.
17826
17827 [BZ #13067]
17828 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17829
17830 [BZ #13090]
17831 * configure.in: Fix use of AC_INIT.
17832
17833 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17834
17835 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17836
17837 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17838 __set_errno.
17839 * malloc/hooks.c: Likewise.
17840
17841 [BZ #11929]
17842 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17843 variables statically.
17844 (narenas): Initialize.
17845 (list_lock): Initialize.
17846 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17847 initializtion of main_arena and list_lock. Small cleanups.
17848 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17849 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17850 Add initializers to main_arena and mp_.
17851 (malloc_state): Remove pagesize member. Change all users to use
17852 GLRO(dl_pagesize).
17853
17854 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17855 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17856 is always initialized.
17857
17858 * malloc/malloc.c: Removed unused configurations and dead code.
17859 * malloc/arena.c: Likewise.
17860 * malloc/hooks.c: Likewise.
17861 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17862
17863 * include/tls.h: Removed. USE___THREAD must always be defined.
17864 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17865 * elf/dl-libc.c: Likewise.
17866 * elf/dl-tsd.c: Likewise.
17867 * include/errno.h: Likewise.
17868 * include/netdb.h: Likewise.
17869 * include/resolv.h: Likewise.
17870 * inet/herrno-loc.c: Likewise.
17871 * inet/herrno.c: Likewise.
17872 * malloc/arena.c: Likewise.
17873 * malloc/hooks.c: Likewise.
17874 * malloc/malloc.c: Likewise.
17875 * resolv/res-state.c: Likewise.
17876 * resolv/res_libc.c: Likewise.
17877 * sysdeps/i386/dl-machine.h: Likewise.
17878 * sysdeps/ia64/dl-machine.h: Likewise.
17879 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17880 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17881 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17882 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17883 * sysdeps/sh/dl-machine.h: Likewise.
17884 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17885 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17886 * sysdeps/unix/i386/sysdep.S: Likewise.
17887 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17888 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17890 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17891 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17893 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17897 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17898 * sysdeps/x86_64/dl-machine.h: Likewise.
17899 * tls.make.c: Likewise.
17900
17901 * configure.in: Remove --with-__thread option. Make tests for
17902 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17903 tls_model attribute fail if no support is available. Remove
17904 USE_IN_LIBIO.
17905 * Makeconfig: Adjust for dropped configure option. All features are
17906 now mandatory.
17907 * Makerules: Likewise.
17908 * Versions.def: Likewise.
17909 * argp/argp-fmtstream.c: Likewise.
17910 * argp/argp-fmtstream.h: Likewise.
17911 * argp/argp-help.c: Likewise.
17912 * assert/assert.c: Likewise.
17913 * config.h.in: Likewise.
17914 * config.make.in: Likewise.
17915 * configure: Likewise.
17916 * configure.in: Likewise.
17917 * csu/Versions: Likewise.
17918 * csu/init.c: Likewise.
17919 * elf/tst-audit2.c: Likewise.
17920 * elf/tst-tls10.c: Likewise.
17921 * elf/tst-tls10.h: Likewise.
17922 * elf/tst-tls11.c: Likewise.
17923 * elf/tst-tls12.c: Likewise.
17924 * elf/tst-tls14.c: Likewise.
17925 * elf/tst-tlsmod11.c: Likewise.
17926 * elf/tst-tlsmod12.c: Likewise.
17927 * elf/tst-tlsmod13.c: Likewise.
17928 * elf/tst-tlsmod13a.c: Likewise.
17929 * elf/tst-tlsmod14a.c: Likewise.
17930 * elf/tst-tlsmod15b.c: Likewise.
17931 * elf/tst-tlsmod16a.c: Likewise.
17932 * elf/tst-tlsmod16b.c: Likewise.
17933 * elf/tst-tlsmod7.c: Likewise.
17934 * elf/tst-tlsmod8.c: Likewise.
17935 * elf/tst-tlsmod9.c: Likewise.
17936 * gmon/gmon.c: Likewise.
17937 * grp/fgetgrent_r.c: Likewise.
17938 * grp/putgrent.c: Likewise.
17939 * hurd/fopenport.c: Likewise.
17940 * include/libc-symbols.h: Likewise.
17941 * include/tls.h: Likewise.
17942 * intl/gettextP.h: Likewise.
17943 * intl/loadinfo.h: Likewise.
17944 * locale/global-locale.c: Likewise.
17945 * locale/localeinfo.h: Likewise.
17946 * mach/devstream.c: Likewise.
17947 * malloc/arena.c: Likewise.
17948 * malloc/set-freeres.c: Likewise.
17949 * misc/err.c: Likewise.
17950 * misc/getttyent.c: Likewise.
17951 * misc/mntent_r.c: Likewise.
17952 * posix/getopt.c: Likewise.
17953 * posix/wordexp.c: Likewise.
17954 * pwd/fgetpwent_r.c: Likewise.
17955 * resolv/Versions: Likewise.
17956 * resolv/res_hconf.c: Likewise.
17957 * shadow/fgetspent_r.c: Likewise.
17958 * shadow/putspent.c: Likewise.
17959 * stdio-common/printf_fphex.c: Likewise.
17960 * stdio-common/tmpfile.c: Likewise.
17961 * stdlib/abort.c: Likewise.
17962 * stdlib/fmtmsg.c: Likewise.
17963 * sunrpc/auth_unix.c: Likewise.
17964 * sunrpc/clnt_perr.c: Likewise.
17965 * sunrpc/clnt_tcp.c: Likewise.
17966 * sunrpc/clnt_udp.c: Likewise.
17967 * sunrpc/clnt_unix.c: Likewise.
17968 * sunrpc/openchild.c: Likewise.
17969 * sunrpc/svc_simple.c: Likewise.
17970 * sunrpc/svc_tcp.c: Likewise.
17971 * sunrpc/svc_udp.c: Likewise.
17972 * sunrpc/svc_unix.c: Likewise.
17973 * sunrpc/xdr.c: Likewise.
17974 * sunrpc/xdr_array.c: Likewise.
17975 * sunrpc/xdr_rec.c: Likewise.
17976 * sunrpc/xdr_ref.c: Likewise.
17977 * sunrpc/xdr_stdio.c: Likewise.
17978
17979 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17980
17981 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17982
17983 2011-07-03 Andreas Jaeger <aj@suse.de>
17984
17985 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17986 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17987 regenerate with gen-libm-tests.pl.
17988
17989 2010-05-12 Petr Baudis <pasky@suse.cz>
17990
17991 [BZ #11589]
17992 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17993 around j0() zero points by switching to j1().
17994 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17998
17999 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18000
18001 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18002 instead of 0.
18003 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18004 instead of 0. .
18005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18006 Patch in part by Pavel Roskin <proski@gnu.org>.
18007
18008 [BZ #13138]
18009 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18010 realloc.
18011 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18012 Free memory block if necessary.
18013
18014 [BZ #12847]
18015 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18016 be NULL. Don't lock in this case.
18017
18018 2011-09-09 Roland McGrath <roland@hack.frob.com>
18019
18020 * elf/elf.h (ELFOSABI_GNU): New macro.
18021 (ELFOSABI_LINUX): Define to that.
18022
18023 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18024
18025 * string/strncat.c (strncat): Undef the symbol in case it has been
18026 defined in bits/string.h.
18027
18028 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18029
18030 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18031
18032 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18033 link map.
18034
18035 2011-08-17 Andreas Jaeger <aj@suse.de>
18036
18037 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18038
18039 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18040 Ian Lance Taylor <iant@google.com>
18041
18042 * math/libm-test.inc (lround_test): New testcase.
18043 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18044
18045 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18046
18047 * Makefile: Remove support for automatic cvs check-ins.
18048 * Makerules: Likewise.
18049 * config.make.in: Likewise.
18050 * configure.in: Likewise.
18051 * intl/Makefile: Likewise.
18052 * locale/Makefile: Likewise.
18053 * po/Makefile: Likewise.
18054 * posix/Makefile: Likewise.
18055 * sysdeps/gnu/Makefile: Likewise.
18056 * sysdeps/mach/hurd/Makefile: Likewise.
18057 * sysdeps/sparc/sparc32/Makefile: Likewise.
18058
18059 [BZ #13118]
18060 * posix/Makefile (bug-regex32-ENV): Define.
18061 Patch by John Stanley <jpsinthemix@verizon.net>.
18062
18063 * misc/Makefile (headers): Add bits/select2.h.
18064 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18065 * misc/bits/select2.h: New file.
18066 * include/bits/select2.h: New file.
18067 * debug/Makefile (routines): Add fdelt_chk.
18068 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18069 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18070 FD_ISSET.
18071 * debug/fdelt_chk.c: New file.
18072
18073 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18074 * wcsmbs/test-wmemcmp.c: Likewise.
18075 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18076 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18077
18078 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18079
18080 * string/Makefile (strop-tests): Add memcmp.
18081 * string/test-wmemcmp.c: New file.
18082 * string/test-memcmp.c: Add wmemcmp support.
18083
18084 2011-09-08 Roland McGrath <roland@hack.frob.com>
18085
18086 [BZ #13153]
18087 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18088 2011-07-19 change.
18089
18090 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18091 garbage value in a __mach_port_mod_refs call in the cases of the
18092 task-self and thread-self ports.
18093
18094 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18095
18096 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18097
18098 2011-09-08 Andreas Schwab <schwab@redhat.com>
18099
18100 * elf/dl-load.c (lose): Check for non-null L.
18101
18102 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18103
18104 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18105
18106 * elf/dl-libc.c (dlerror_run): Pass back error code from
18107 dl_catch_error.
18108
18109 [BZ #13123]
18110 * elf/dl-load.c (lose): Free l_origin if it is valid.
18111
18112 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18113 names.
18114 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18115 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18116 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18117 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18118 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18119 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18120
18121 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18122
18123 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18124 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18125 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18126 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18127 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18128 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18129 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18130 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18131 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18132 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18133
18134 2011-08-15 Alan Modra <amodra@gmail.com>
18135
18136 [BZ #13092]
18137 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18138 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18139 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18140 ppc_mcount to static-only-routines.
18141 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18142 __mcount_internal.
18143 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18144 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18145
18146 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18147
18148 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18149 for finite and infinity parameters.
18150
18151 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18152
18153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18154 and add nop instructions for throughput optimization.
18155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18156
18157 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18158
18159 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18160 aligned copy for power7 with vector-scalar instructions.
18161 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18162
18163 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18164
18165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18166 AVX check.
18167
18168 2011-09-07 Andreas Schwab <schwab@redhat.com>
18169
18170 [BZ #13144]
18171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18172 last change.
18173
18174 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18175
18176 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18177 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18178 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18179 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18180 clock_gettime.
18181
18182 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18183
18184 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18185 Forgot to demangle the pointer.
18186
18187 * sysdeps/i386/sysdep.h: Define atom_text_section.
18188 * sysdeps/x86_64/sysdep.h: Likewise.
18189 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18190 section with atom_text_section.
18191 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18192 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18193 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18194 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18195 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18196
18197 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18199 already be defined. Change to take two parameters and don't assign
18200 result to variable. Adjust all users.
18201 Define INTERNAL_GETTIME if not already defined.
18202 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18203 call.
18204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18205 HAVE_CLOCK_GETTIME_VSYSCALL.
18206 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18207
18208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18209 gettimeofday vsyscall, just use time.
18210
18211 2011-09-06 Andreas Schwab <schwab@redhat.com>
18212
18213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18214 <errno.h>.
18215
18216 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18217
18218 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18219 syscall on x86-64.
18220 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18221 syscall.
18222 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18223 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18224 syscall if possible.
18225
18226 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18227
18228 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18229 e_ident. Don't pass to find_mapsXX.
18230 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18231
18232 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18233
18234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18235 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18236 * sysdeps/x86_64/multiarch/strchr.S: Update.
18237 Check bit_slow_BSF bit.
18238 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18239 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18240 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18241
18242 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18243
18244 [BZ #13134]
18245 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18246 before glibc 2.15.
18247 (tryshell): Define.
18248 (__spawni): Change last parameter to be flag. Test
18249 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18250 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18251 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18252 * posix/spawni.c: Likewise.
18253 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18254 * posix/spawnp.c: Likewise. Change normal version to use
18255 SPAWN_XFLAGS_USE_PATH.
18256 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18257 SPAWN_XFLAGS_TRY_SHELL.
18258
18259 [BZ #13150]
18260 * posix/glob.h: Remove gcc 1.x support.
18261
18262 [BZ #13068]
18263 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18264
18265 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18266
18267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18268 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18269 strrchr-sse2-bsf
18270 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18271 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18272 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18273 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18274 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18275 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18276
18277 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18278
18279 * sysdeps/x86_64/wcscmp.S: New file.
18280
18281 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18282 wcscmp-c wcscmp-sse2
18283 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18284 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18285 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18286 * wcsmbs/wcscmp.c: Allow renaming.
18287
18288 2011-09-05 David S. Miller <davem@davemloft.net>
18289
18290 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18291 stack slot, rather than the struct return pointer slot.
18292 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18293 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18295 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18296
18297 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18298
18299 * po/ja.po: Update from translation team.
18300
18301 [BZ #13144]
18302 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18303 kernel in 64-bit binaries.
18304
18305 2011-09-01 David S. Miller <davem@davemloft.net>
18306
18307 * elf/elf.h (HWCAP_SPARC_*): Move to..
18308 * sysdeps/sparc/sysdep.h: this new file and add new values.
18309 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18310 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18311 _DL_HWCAP_COUNT to 24.
18312 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18313 entries.
18314 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18315 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18316 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18318 instead of magic constants.
18319 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18320
18321 2011-08-31 David S. Miller <davem@davemloft.net>
18322
18323 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18325 Reimplement to do errno handling inline.
18326 (SYSCALL_ERROR_HANDLER): New macro.
18327 (__SYSCALL_STRING): Do not do errno handling in asm.
18328 (__CLONE_SYSCALL_STRING): Delete.
18329 (__INTERNAL_SYSCALL_STRING): Delete.
18330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18331 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18332 (PSEUDO): Reimplement to do errno handling inline.
18333 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18334 (SYSCALL_ERROR_HANDLER): New macro.
18335 (__SYSCALL_STRING): Do not do errno handling in asm.
18336 (__CLONE_SYSCALL_STRING): Delete.
18337 (__INTERNAL_SYSCALL_STRING): Delete.
18338 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18339 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18340 i386.
18341 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18342 (inline_syscall*): Add 'err' argument.
18343 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18344 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18345 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18346 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18347
18348 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18349 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18350
18351 2011-08-30 Andreas Schwab <schwab@redhat.com>
18352
18353 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18354
18355 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18356
18357 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18358 directive.
18359
18360 2011-08-24 David S. Miller <davem@davemloft.net>
18361
18362 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18363
18364 2011-08-24 Andreas Schwab <schwab@redhat.com>
18365
18366 * elf/Makefile: Add rules to build and run unload8 test.
18367 * elf/unload8.c: New file.
18368 * elf/unload8mod1.c: New file.
18369 * elf/unload8mod1x.c: New file.
18370 * elf/unload8mod2.c: New file.
18371 * elf/unload8mod3.c: New file.
18372
18373 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18374 it wasn't used.
18375
18376 2011-08-23 David S. Miller <davem@davemloft.net>
18377
18378 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18379 subtract stack bias.
18380 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18381 %sp not %fp in calculations.
18382 (_JMPBUF_UNWINDS_ADJ): Likewise.
18383
18384 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18385 (aio_suspend): Call it to force an exception region around the
18386 AIO_MISC_WAIT() invocation.
18387
18388 2011-08-23 Andreas Schwab <schwab@redhat.com>
18389
18390 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18391 backslash.
18392
18393 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18394
18395 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18396 protection macro.
18397 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18398 and <dl-machine.h>.
18399 (Elf64_FuncDesc): Remove.
18400
18401 2011-08-22 David S. Miller <davem@davemloft.net>
18402
18403 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18404 sigaltstack check, add missing cfi directives.
18405 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18406 missing cfi directives, and sigaltstack handling.
18407
18408 2011-08-16 Andreas Schwab <schwab@redhat.com>
18409
18410 [BZ #11724]
18411 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18412 object is seen twice.
18413 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18414
18415 * elf/Makefile (distribute): Add tst-initorder2.c.
18416 (tests): Add tst-initorder2.
18417 (modules-names): Add tst-initorder2a tst-initorder2b
18418 tst-initorder2c tst-initorder2d. Add rules to build them.
18419 ($(objpfx)tst-initorder2.out): New rule.
18420 * elf/tst-initorder2.c: New file.
18421 * elf/tst-initorder2.exp: New file.
18422
18423 2011-08-22 Andreas Schwab <schwab@redhat.com>
18424
18425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18426
18427 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18428 dependencies back to end of function.
18429
18430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18431 $(elfobjdir)/ld.so.
18432
18433 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18434
18435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18436 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18438 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18439 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18440 of __vdso_gettimeofday.
18441 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18442 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18443 attribute_hidden.
18444 (_libc_vdso_platform_setup): Remove initialization of
18445 __vdso_gettimeofday and __vdso_time.
18446
18447 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18448
18449 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18450 and fgetc_unlocked.
18451 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18452 getc_unlocked.
18453
18454 * elf/dl-open.c (add_to_global): Report additions to the global scope
18455 for LD_DEBUG=scopes.
18456 (dl_open_worker): Also print scope of newly loaded dependencies.
18457 (_dl_show_scope): Indicate if there is no scope.
18458
18459 [BZ #13114]
18460 * stdio-common/Makefile (tests): Add bug24.
18461 * stdio-common/bug24.c: New file.
18462
18463 2011-08-19 Andreas Jaeger <aj@suse.de>
18464
18465 [BZ #13114]
18466 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18467 non-existant file when using close-on-exec mode.
18468
18469 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18470
18471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18472 the very first instruction.
18473
18474 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18475 the CFI state in the end.
18476 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18477 inclusion of dl-trampoline.h.
18478 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18479
18480 2011-08-19 Andreas Schwab <schwab@redhat.com>
18481
18482 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18483 expectations for long double.
18484
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18486 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18487
18488 2011-08-14 David S. Miller <davem@davemloft.net>
18489
18490 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18491 artificual limit depends upon the system page size.
18492
18493 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18494
18495 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18496 * resolv/Makefile: Define CFLAGS-libresolv.
18497
18498 2011-08-17 Andreas Schwab <schwab@redhat.com>
18499
18500 * nss/makedb.c (compute_tables): Make variables used in nested
18501 function static.
18502
18503 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18504
18505 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18506 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18507 if buffer was too small.
18508
18509 * elf/pldd.c (main): Attach to all threads in the process.
18510 Rewrite /proc handling to use *at functions.
18511
18512 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18513
18514 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18515 specifies first scope to show.
18516 (dl_open_worker): Update callers. Move printing scope of new
18517 object to before the relocation.
18518 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18519 * sysdeps/generic/ldsodefs.h: Update declaration.
18520
18521 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18522 string for the scope number.
18523
18524 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18525
18526 * nscd/servicescache.c (cache_addserv): Make sure written is always
18527 initialized.
18528
18529 2011-08-14 Roland McGrath <roland@hack.frob.com>
18530
18531 * sysdeps/i386/i486/bits/atomic.h
18532 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18533 statement expression, so as to suppress "set but not used" warning.
18534 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18535
18536 * string/strncat.c (STRNCAT): Use prototype definition.
18537
18538 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18539 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18540 -Iprograms here.
18541 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18542 (localedef-modules): Add localedef.
18543 (locale-modules): Add locale.
18544
18545 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18546 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18547 to avoid a warning.
18548
18549 2011-08-14 David S. Miller <davem@davemloft.net>
18550
18551 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18552 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18553
18554 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18555
18556 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18557 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18558 * elf/rtld.c (dl_main): Set l_name of vDSO.
18559 Call _dl_show_scope when DL_DEBUG_SCOPES.
18560 (process_dl_debug): Recognize scopes flag and also set it for all.
18561 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18562 Declare _dl_show_scope.
18563
18564 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18565 (do_dlopen): Pass caller_dlopen to dl_open.
18566 (__libc_dlopen_mode): Initialize caller_dlopen.
18567
18568 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18569 of libc. Make tolower call locale-independent. Optimize a bit by
18570 using isdigit instead of isalnum.
18571 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18572
18573 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18574
18575 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18576 was a dependency or dynamically loaded.
18577
18578 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18579
18580 * intl/l10nflist.c: Allow architecture-specific pop function.
18581 * sysdeps/x86_64/l10nflist.c: New file.
18582
18583 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18584 classification.
18585
18586 2011-08-10 Andreas Schwab <schwab@redhat.com>
18587
18588 * include/dirent.h: Add libc_hidden_proto for scandirat and
18589 scandirat64. Don't declare __scandirat64.
18590 * dirent/scandirat.c: Add libc_hidden_def.
18591 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18592 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18593
18594 2011-08-10 David S. Miller <davem@davemloft.net>
18595
18596 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18597 enum.
18598 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18599 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18600 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18601
18602 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18603
18604 * Versions.def [libc]: Add GLIBC_2.15.
18605 * dirent/Makefile (routines): Add scandirat and scandirat64.
18606 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18607 GLIBC_2.15.
18608 * dirent/dirent.h: Declare scandirat and scandirat64.
18609 * dirent/scandirat.c: New file.
18610 * dirent/scandirat64.c: New file.
18611 * sysdeps/wordsize-64/scandirat.c: New file.
18612 * sysdeps/wordsize-64/scandirat64.c: New file.
18613 * dirent/opendir.c: Define opendirat.
18614 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18615 using scandirat.
18616 * dirent/scandir64.c: Adjust for scandir.c change.
18617 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18618 __scandirat64, and __scandir_cancel_handler.
18619 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18620 additional parameter and use openat instead of open (outside of ld.so).
18621 Add new __opendir as wrapper around __opendirat.
18622 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18623 here without requiring old scandirat implementation.
18624
18625 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18626
18627 * dirent/scandir.c (cancel_handler): Renamed to
18628 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18629 defined. Adjust users.
18630 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18632
18633 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18634
18635 * string/test-string.h (IMPL): Use __STRING to expand name and then
18636 stringify it.
18637
18638 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18639 of cleanups.
18640
18641 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18642
18643 * string/Makefile: Update.
18644 (strop-tests): Append strncat.
18645 * string/test-wcscmp.c: New file.
18646 New comprehensive test for wcscmp.
18647 * string/test-strcmp.c: Update.
18648 (WIDE): New define.
18649
18650 2011-07-22 Andreas Schwab <schwab@redhat.com>
18651
18652 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18653 line.
18654
18655 2011-07-26 Andreas Schwab <schwab@redhat.com>
18656
18657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18658 encoding to ACE if AI_IDN.
18659
18660 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18661
18662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18663 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18664
18665 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18666
18667 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18668 Fix overflow bug in strncat.
18669 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18670
18671 * string/test-strncat.c: Update.
18672 Add new tests for checking overflow bugs.
18673
18674 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18675
18676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18677 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18678 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18679 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18680 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18681 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18682 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18683 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18684 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18685
18686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18687 (USE_AS_STRCAT): Define.
18688 Add strcat and strncat support.
18689 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18690
18691 2011-07-25 Andreas Schwab <schwab@redhat.com>
18692
18693 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18694 __n bigger than INT_MAX+1.
18695 (__strncmp_g): Likewise.
18696
18697 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18698
18699 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18700 * libio/stido.h: Likewise.
18701
18702 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18703 (AF_NFC): Define.
18704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18705 (AF_NFC): Define.
18706
18707 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18708 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18710 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18711 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18712
18713 [BZ #13021]
18714 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18715 installed.
18716
18717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18718 typo.
18719 (_dl_x86_64_save_sse): Likewise.
18720
18721 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18722
18723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18724 OSXSAVE.
18725 (_dl_x86_64_save_sse): Likewise.
18726
18727 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18728
18729 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18730
18731 2011-07-21 Andreas Schwab <schwab@redhat.com>
18732
18733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18734 change.
18735 (_dl_x86_64_save_sse): Use correct AVX check.
18736
18737 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18738
18739 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18740 bug in strncpy/strncat.
18741 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18742
18743 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18744
18745 * string/tester.c (test_strcat): Add tests for different alignments
18746 of source and destination.
18747 (test_strncat): Likewise.
18748
18749 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18750
18751 [BZ #12852]
18752 * posix/glob.c (glob): Check passed in values before using them in
18753 expressions to avoid some overflows.
18754 (glob_in_dir): Likewise.
18755
18756 [BZ #13007]
18757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18758 check for AVX enablement so that we don't crash with old kernels and
18759 new hardware.
18760 * elf/tst-audit4.c: Add same checks here.
18761 * elf/tst-audit6.c: Likewise.
18762
18763 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18764
18765 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18766
18767 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18768
18769 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18770
18771 * po/cs.po: Update from translation team.
18772 * po/bg.po: Likewise.
18773
18774 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18775
18776 * misc/sys/cdefs.h: Add support for const attribute.
18777 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18778 to gnu_dev_{major,minor,makedev} functions.
18779
18780 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18781
18782 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18783
18784 2011-07-20 Andreas Schwab <schwab@redhat.com>
18785
18786 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18787 strlen results.
18788
18789 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18790
18791 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18792 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18793 register in order to avoid conflicts with the soft frame pointer
18794 being held in r11 when necessary.
18795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18796 (INTERNAL_VSYSCALL_NCS): Likewise.
18797
18798 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18799
18800 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18801 * elf/dl-fini.c (_dl_fini): Adjust caller.
18802 * elf/dl-close.c (_dl_close_worker): Likewise.
18803 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18804
18805 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18806
18807 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18808 "aux_cache->nlibs < 0".
18809
18810 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18811 in the reload-count case.
18812
18813 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18814
18815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18816 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18817 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18818 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18819 * sysdeps/x86_64/multiarch/strcat.S: New file.
18820 * sysdeps/x86_64/multiarch/strncat.S: New file.
18821 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18822 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18823 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18824 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18825 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18826 (USE_AS_STRCAT): Define.
18827 Add strcat and strncat support.
18828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18830 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18831 * string/strncat.c: Update.
18832 (USE_AS_STRNCAT): Define.
18833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18834 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18835 and i7.
18836 * sysdeps/x86_64/multiarch/init-arch.h
18837 (bit_Prefer_PMINUB_for_stringop): New.
18838 (index_Prefer_PMINUB_for_stringop): Likewise.
18839 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18840 bit_Prefer_PMINUB_for_stringop.
18841
18842 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18843
18844 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18845 buffer64.
18846 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18847 of casting of buffer.
18848 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18849 buffer32 and buffer64.
18850 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18851 writes instead of casting of buffer.
18852 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18853 buffer32.
18854 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18855 casting of buffer.
18856
18857 2011-07-19 Andreas Schwab <schwab@redhat.com>
18858
18859 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18860
18861 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18862
18863 * nscd/nscd.c (termination_handler): Don't do anything for a database
18864 if it has not yet been initialized.
18865
18866 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18867
18868 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18869
18870 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18871
18872 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18873
18874 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18875
18876 * po/nl.po: Update from translation team.
18877 * po/sv.po: Likewise.
18878
18879 2011-07-16 Roland McGrath <roland@hack.frob.com>
18880
18881 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18882 now disallowed by GCC.
18883
18884 * configure.in (use-default-link): Default to yes if a test -shared
18885 link meets our qualifications.
18886 * configure: Regenerated.
18887
18888 * config.make.in (output-format): New variable.
18889 * configure.in: Check for ld --print-output-format support.
18890 * configure: Regenerated.
18891 * Makerules ($(common-objpfx)format.lds)
18892 [$(output-format) != unknown]: Just use $(output-format),
18893 instead of the linker-script munging.
18894
18895 2011-07-14 Roland McGrath <roland@hack.frob.com>
18896
18897 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18898 of $(common-objpfx)shlib.lds.
18899 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18900
18901 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18902 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18903
18904 * configure.in (-z relro check): Adjust test code to add a large
18905 writable data section after it.
18906 * configure: Regenerated.
18907
18908 2011-07-11 Roland McGrath <roland@hack.frob.com>
18909
18910 * configure.in (-z relro check): Fix test code to make the variable
18911 truly const.
18912 * configure: Regenerated.
18913
18914 2011-07-11 Ulrich Drepper <drepper@gmail.com>
18915
18916 * nscd/nscd.h (struct traced_file): Define.
18917 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18918 elements. Add traced_files.
18919 (inotify_fd): Declare.
18920 (register_traced_file): Declare.
18921 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18922 (inotify_fd): Export.
18923 (resolv_conf_descr): Remove.
18924 (nscd_init): Move inotify descriptor creation to main.
18925 Don't register files for notification here.
18926 (register_traced_file): New function.
18927 (invalidate_cache): Don't use reset_res to determine whether to call
18928 res_init, go through the list of registered files.
18929 (main_loop_poll): The inotify descriptors are now stored in the
18930 structures for the traced files.
18931 (main_loop_epoll): Likewise
18932 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18933 to __nss_disable_nscd.
18934 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18935 for a database anymore. Check the records for all the registered
18936 files instead.
18937 * nss/Makefile (libnss_files-routines): Add files-init.
18938 (libnss_db-routines): Add db-init.
18939 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18940 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18941 * nss/nss_db/db-init.c: New file.
18942 * nss/nss_files/files-init.c: New file.
18943 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18944 __nss_lookup_function.
18945 (__nss_lookup_function): Call nss_load_library.
18946 (nss_load_all_libraries): New function.
18947 (__nss_disable_nscd): Take parameter with callback function for files
18948 to register. Set is_nscd. Load all the DSOs for the NSS modules
18949 used for the cached services.
18950 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18951 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18952 options for features to all the files in nscd.
18953
18954 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18955
18956 2011-07-10 Roland McGrath <roland@hack.frob.com>
18957
18958 * csu/elf-init.c (__libc_csu_init): Comment typo.
18959
18960 2011-07-09 Ulrich Drepper <drepper@gmail.com>
18961
18962 * po/pl.po: Update from translation team.
18963 * po/ja.po: Likewise.
18964 * po/ru.po: Likewise.
18965 * po/ko.po: Likewise.
18966 * po/fr.po: Likewise.
18967
18968 2011-07-09 Roland McGrath <roland@hack.frob.com>
18969
18970 * configure.in (.ctors/.dtors header and trailer check):
18971 Use an empirical test on a built program.
18972 * configure: Regenerated.
18973
18974 * configure.in (-z relro check): Use an empirical test on a built DSO.
18975 Detect, but do not require, on ia64.
18976 * configure: Regenerated.
18977
18978 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18979 Update tests that use readelf to use $READELF instead.
18980 * configure: Regenerated.
18981
18982 2011-07-08 Ulrich Drepper <drepper@gmail.com>
18983
18984 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18985 if the result is not used.
18986
18987 2011-07-05 Andreas Jaeger <aj@suse.de>
18988
18989 [BZ#9696]
18990 * stdlib/tst-strtod.c: Add testcase.
18991
18992 2011-07-07 Ulrich Drepper <drepper@gmail.com>
18993
18994 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18995 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18996 The latter has a higher limit. Take additional parameter to pass to
18997 the new function.
18998 (__pathconf): Pass file to __statfs_link_max.
18999 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19000 __statfs_link_max.
19001 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19002 __statfs_link_max.
19003
19004 [BZ #12868]
19005 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19006 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19007 Handle Lustre.
19008 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19009 (__statfs_filesize_max): Likewise.
19010 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19011
19012 2011-07-05 Andreas Jaeger <aj@suse.de>
19013
19014 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19015
19016 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19017
19018 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19019 `status' variable.
19020 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19021 Likewise.
19022
19023 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19024
19025 * Makefile (strop-tests): Add strncat.
19026 * string/test-strncat.c: New file.
19027
19028 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19029
19030 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19031
19032 2011-06-21 Andreas Jaeger <aj@suse.de>
19033
19034 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19035 Copy rule from iconvdata/Makefile.
19036
19037 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19038
19039 [BZ #12922]
19040 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19041 but no long options are defined, just return 'W'.
19042
19043 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19044
19045 [BZ #9696]
19046 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19047
19048 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19049
19050 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19051 netgroups to read.
19052 (innetgr): Likewise.
19053
19054 2011-07-05 Roland McGrath <roland@hack.frob.com>
19055
19056 * config.make.in (install_root): Default to $(DESTDIR).
19057
19058 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19059
19060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19061
19062 2011-07-02 Roland McGrath <roland@hack.frob.com>
19063
19064 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19065
19066 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19067 containing directory rather than embedding absolute directory names.
19068
19069 * scripts/check-local-headers.sh: Rewritten using awk.
19070 Match by word, not by line. Print error messages for matches.
19071 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19072
19073 * Makerules [shlib-lds-flags empty]:
19074 ($(common-objpfx)libc_pic.opts): New target.
19075 ($(common-objpfx)libc_pic.os.clean): New target.
19076 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19077
19078 * config.make.in (OBJCOPY): New variable.
19079 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19080 * configure: Regenerated.
19081
19082 * config.make.in (use-default-link): New variable.
19083 * configure.in (use_default_link): Grok --with-default-link to set it.
19084 * configure: Regenerated.
19085 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19086 (shlib-lds, shlib-lds-flags): Define to empty.
19087
19088 * Makerules (shlib-lds): New variable.
19089 (shlib-lds-flags): New variable.
19090 (build-shlib, build-moduile, build-module-asneeded): Use it.
19091 ($(common-objpfx)libc.so): Use $(shlib-lds).
19092 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19093 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19094
19095 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19096 DT_FLAGS/DT_FLAGS_1 with zero flags.
19097
19098 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19099 linker script munging.
19100
19101 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19102
19103 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19104 as 128-bit value.
19105 * crypt/sha512.c (sha512_process_block): Perform total addition using
19106 128-bit if possible.
19107 (__sha512_finish_ctx): Likewise.
19108 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19109 as 64-bit value.
19110 * crypt/sha256.c (SWAP64): Define.
19111 (sha256_process_block): Perform total addition using 64-bit if
19112 possible.
19113 (__sha256_finish_ctx): Likewise.
19114
19115 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19116
19117 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19118 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19119 * nscd/hstcache.c (cache_addhst): Likewise.
19120 * nscd/grpcache.c (cache_addgr): Likewise.
19121 * nscd/aicache.c (addhstaiX): Likewise
19122 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19123
19124 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19125
19126 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19127 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19128 * nscd/hstcache.c (cache_addhst): Likewise.
19129 * nscd/grpcache.c (cache_addgr): Likewise.
19130 * nscd/aicache.c (addhstaiX): Likewise
19131
19132 2011-07-01 Andreas Schwab <schwab@redhat.com>
19133
19134 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19135 domain only when needed.
19136
19137 2011-06-30 Andreas Schwab <schwab@redhat.com>
19138
19139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19140 is always restored.
19141
19142 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19143
19144 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19145 are re-adding the entry.
19146 * nscd/servicescache.c (cache_addserv): Likewise.
19147
19148 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19149
19150 * sysdeps/generic/dl-irel.h: fix protection against multiple
19151 inclusions.
19152 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19153
19154 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19155
19156 [BZ #12935]
19157 * malloc/memusage.sh: Fix quoting in message.
19158 * debug/xtrace.sh: Likewise.
19159
19160 * configure.in: Remove support for --experimental-malloc option, make
19161 it the default.
19162 * config.make.in: Likewise.
19163 * malloc/Makefile: Likewise.
19164
19165 2011-06-27 Andreas Schwab <schwab@redhat.com>
19166
19167 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19168 two-byte characters.
19169
19170 2011-06-27 Roland McGrath <roland@hack.frob.com>
19171
19172 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19173 AC_CACHE_CHECK invocation.
19174 * configure: Regenerated.
19175
19176 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19177
19178 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19179
19180 [BZ #12350]
19181 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19182 bit from old_res_options.
19183
19184 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19185
19186 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19187 value type for setfct.
19188
19189 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19190
19191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19192 __gettimeofday instead of gettimeofday.
19193
19194 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19195
19196 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19197
19198 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19199
19200 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19201
19202 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19203 info.
19204
19205 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19206
19207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19208 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19209 strcpy-sse2-unaligned strncpy-sse2-unaligned
19210 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19211 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19212 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19213 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19214 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19216 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19217 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19218 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19219 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19220 (STRCPY): Support SSE2 and SSSE3 versions.
19221
19222 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19223
19224 [BZ #12874]
19225 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19226 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19227 kernels which artificially limit size of requests.
19228
19229 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19230
19231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19232 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19233 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19234 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19235 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19236 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19237 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19238 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19241 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19242 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19243 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19244 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19245 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19247 Enable unaligned load optimization for Intel Core i3, i5 and i7
19248 processors.
19249 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19250 Define.
19251 (index_Fast_Unaligned_Load): Define.
19252 (HAS_FAST_UNALIGNED_LOAD): Define.
19253
19254 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19255
19256 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19257
19258 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19259
19260 [BZ #12907]
19261 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19262 until it is clear that the information is realy needed.
19263 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19264
19265 2011-06-22 Andreas Schwab <schwab@redhat.com>
19266
19267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19268
19269 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19270
19271 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19272 /sys/devices/system/cpu/online if it is usable.
19273
19274 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19275 reading the information from the /proc filesystem to once a second.
19276
19277 2011-06-21 Andreas Jaeger <aj@suse.de>
19278
19279 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19280 NULL after inclusion of kernel headers.
19281
19282 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19283
19284 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19285 calls to internal_setent.
19286
19287 [BZ #12885]
19288 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19289 addresses using gethostbyname4_r ignore IPv4 addresses.
19290
19291 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19292 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19293
19294 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19295
19296 2011-06-20 David S. Miller <davem@davemloft.net>
19297
19298 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19299 inclusions.
19300 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19301
19302 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19303 (elf_irel): Use it.
19304 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19305 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19306 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19307 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19308 * sysdeps/x86_64/dl-irel.h: Likewise.
19309
19310 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19311 * elf/dl-sym.c: Likewise.
19312
19313 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19314
19315 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19316 need to dereference resplen2.
19317
19318 2011-06-14 Andreas Schwab <schwab@redhat.com>
19319
19320 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19321
19322 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19323
19324 * Makeconfig: Define vardbdir and inst_vardbdir.
19325 * nss/Makefile: Add rules to install db-Makefile.
19326
19327 * nss/nss_db/db-XXX.c: Cleanup.
19328
19329 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19330 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19331 GLIBC_PRIVATE.
19332 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19333 * nss/makedb.c: Implement -g option to specify that value strings
19334 are generated and should not be added to table iterated over for
19335 get*ent calls.
19336 * nss/nss_db/db-initgroups.c: New file.
19337
19338 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19339 interface.
19340
19341 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19342 (internal_getgrouplist): Adjust to name change.
19343 Update use_initgroups_entry if this is not the first call.
19344 * nss/databases.def: Add initgroups entry.
19345
19346 * nss/makedb.c (compute_tables): Check result of multiple hash table
19347 sizes to minimize maximum chain length.
19348
19349 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19350
19351 * Versions.def: Add entry for libnss_db.
19352 * shlib-versions: Likewise.
19353 * nss/Makefile: Add rules to build libnss_db.
19354 * nss/Versions: Add libnss_db information. Organize libnss_files
19355 entries better.
19356 * nss/db-Makefile: Add gshadow support. Change rules for the new
19357 makedb progra. Some minor improvements to generate smaller files.
19358 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19359 here from...
19360 * nss/makedb.c: ...here.
19361 Improve database format to be smaller and require less memory at
19362 runtime.
19363 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19364 db anymore.
19365 * nss/nss_db/db-netgrp.c: Likewise.
19366 * nss/nss_db/db-open.c: Likewise.
19367 * nss/nss_files/flies-XXX.x: Adjust comments.
19368 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19369 * nss/nss_files/files-grp.c: Likewise.
19370 * nss/nss_files/files-hosts.c: Likewise.
19371 * nss/nss_files/files-network.c: Likewise.
19372 * nss/nss_files/files-proto.c: Likewise.
19373 * nss/nss_files/files-pwd.c: Likewise.
19374 * nss/nss_files/files-rpc.c: Likewise.
19375 * nss/nss_files/files-service.c: Likewise.
19376 * nss/nss_files/files-sgrp.c: Likewise.
19377 * nss/nss_files/files-spwd.c: Likewise.
19378 * nss/nss_db/db-alias.c: Removed.
19379 * nss/nss_db/dummy-db.h: Removed.
19380
19381 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19382
19383 * nss/makedb.c: Rewritten to not use database library.
19384 * nss/Makefile: Update to build new makedb program.
19385
19386 2011-06-14 Andreas Jaeger <aj@suse.de>
19387
19388 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19389 memset declaration.
19390
19391 2011-06-10 Andreas Schwab <schwab@redhat.com>
19392
19393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19394 tmpbuf.
19395
19396 2011-06-10 Roland McGrath <roland@hack.frob.com>
19397
19398 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19399 * elf/Makefile ($(objpfx)ld.so): Likewise.
19400
19401 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19402 Don't list ld.so twice in dependencies.
19403
19404 * posix/bug-regex31.c: Include <stdlib.h>.
19405
19406 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19407
19408 * nis/nss_compat/compat-spwd.c
19409 (getspent_next_nss_netgr): Remove unused variable.
19410 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19411
19412 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19413 nonmembers" output to use the right array.
19414
19415 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19416
19417 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19418
19419 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19420 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19421 * catgets/gencat.c (read_input_file): Likewise.
19422 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19423
19424 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19425 variable definition inside #if's controlling its use.
19426
19427 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19428
19429 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19430
19431 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19432
19433 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19434 unreachable code.
19435
19436 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19437
19438 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19439 * configure: Regenerated.
19440
19441 * Makerules: Revert last change.
19442 * elf/Makefile: Likewise.
19443
19444 2011-06-09 Roland McGrath <roland@hack.frob.com>
19445
19446 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19447 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19448 (reloc-link): Likewise.
19449
19450 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19451
19452 * elf/Makefile: Add rules to build pldd.
19453 * elf/pldd.c: New file.
19454 * elf/pldd-xx.c: New file.
19455
19456 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19457
19458 * version.h: Update for 2.15 development version.
19459
19460 2011-06-07 David S. Miller <davem@davemloft.net>
19461
19462 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19463 ifuncs.
19464 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19465 elf_machine_lazy_rel): Likewise.
19466 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19467 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19468 elf_machine_lazy_rel): Likewise.
19469 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19470 dl_hwcap via passed in argument.
19471 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19472 Likewise.
19473
19474 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19475
19476 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19477
19478 2011-06-06 Roland McGrath <roland@hack.frob.com>
19479
19480 [BZ #12849]
19481 * manual/fdl-1.1.texi: New file, verbatim from:
19482 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19483 * manual/lgpl-2.1.texi: New file, verbatim from:
19484 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19485 * manual/Makefile (licenses): New variable, list those new file names.
19486 (texis): Use it.
19487 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19488
19489 * manual/fdl.texi: File removed.
19490 * manual/lesser.texi: File removed.
19491 * manual/libc.texinfo (Copying, Documentation License):
19492 Use new @include file names, put @appendix directive before @include.
19493
19494 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19495
19496 [BZ #12841]
19497 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19498 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19499 (mq_open): Add __NTH.
19500
19501 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19502
19503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19504 Assume Intel Core i3/i5/i7 processor if AVX is available.
19505
19506 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19507
19508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19509 typo.
19510
19511 2011-05-31 Andreas Schwab <schwab@redhat.com>
19512
19513 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19514 memory. Use alloca_account. Fix memory leak when retrying.
19515
19516 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19517
19518 * version.h (RELEASE): Bump for 2.14 release.
19519 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19520
19521 * config.make.in (RANLIB): Remove entry.
19522
19523 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19524
19525 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19526 (libc.pot): Work around missing support for .ksh extension in xgettext.
19527
19528 [BZ #12684]
19529 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19530 if both request failed.
19531 (send_dg): In case of server errors clear resplen or *resplen2.
19532
19533 [BZ #12454]
19534 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19535 when there are multiple maps.
19536 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19537 (_dl_fini): Remove test here.
19538
19539 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19540
19541 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19542
19543 [BZ #12350]
19544 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19545 bit from old_res_options.
19546 (gaih_inet): Likewise.
19547
19548 [BZ #11099]
19549 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19550 as signed.
19551
19552 * resolv/res_init.c (res_setoptions): Make the code more compact.
19553
19554 [BZ #11558]
19555 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19556 set RES_USEVC.
19557
19558 [BZ #11634]
19559 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19560
19561 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19562
19563 [BZ #11781]
19564 * malloc/malloc.h: Declare malloc hook variables as volatile.
19565
19566 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19567 in last patch.
19568
19569 [BZ #11799]
19570 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19571 raise in the comment.
19572 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19574 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19575
19576 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19577
19578 [BZ #12811]
19579 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19580 grow the buffers more if it already has to be sufficient.
19581 (build_wcs_upper_buffer): Likewise.
19582 * posix/regexec.c (check_matching): Likewise.
19583 (clean_state_log_if_needed): Likewise.
19584 (extend_buffers): Don't enlarge buffers beyond size of the input
19585 buffer.
19586 Patches mostly by Emil Wojak <emil@wojak.eu>.
19587 * posix/bug-regex32.c: New file.
19588 * posix/Makefile (tests): Add bug-regex32.
19589
19590 * locale/findlocale.c (_nl_find_locale): Return right away if
19591 _nl_explode_name failed.
19592 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19593
19594 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19595
19596 * debug/xtrace.sh: Unify messages.
19597 * malloc/memusage.sh: Likewise.
19598
19599 [BZ #12813]
19600 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19601 time symbol from vDSO. Substitute with vsyscall if not available.
19602 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19603 __vdso_time.
19604
19605 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19606 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19607 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19608 Add sendmmsg and internal_sendmmsg.
19609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19610 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19612
19613 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19614 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19616
19617 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19618
19619 [BZ #12813]
19620 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19621 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19622 available.
19623 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19624 __vdso_getcpu.
19625
19626 [BZ #12814]
19627 * iconvdata/Makefile (tests): Add bug-iconv9.
19628 * iconvdata/bug-iconv9.c: New file.
19629
19630 2011-05-27 Andreas Schwab <schwab@redhat.com>
19631
19632 [BZ #12814]
19633 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19634
19635 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19636
19637 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19638 (struct user_regs_struct): Change intcs field back to cs.
19639
19640 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19641
19642 * po/ja.po: Update from translation team.
19643
19644 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19645
19646 [BZ #12795]
19647 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19649
19650 2011-05-20 Andreas Schwab <schwab@redhat.com>
19651
19652 * stdlib/longlong.h: Update from GCC.
19653
19654 2011-05-23 Andreas Schwab <schwab@redhat.com>
19655
19656 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19657 parameter name.
19658 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19659 Add parameter name.
19660 (__sysconf): Pass it down.
19661
19662 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19663
19664 [BZ #12671]
19665 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19666 some situations.
19667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19668 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19669 add in in __libc_use_alloca calls. Adjust callers.
19670 (glob): Use malloc in some situations.
19671
19672 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19673 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19674 pltexit.
19675
19676 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19677
19678 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19679 and CLOCK_BOOTTIME_ALARM.
19680
19681 [BZ #12782]
19682 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19683 is returned.
19684
19685 * string/_strerror.c (__strerror_r): Print negative errors as signed
19686 numbers.
19687
19688 [BZ #12777]
19689 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19690 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19691 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19692
19693 * configure.in: Fix typo in redirection and correct removal of test
19694 files in two cases.
19695
19696 [BZ #12788]
19697 * locale/setlocale.c (new_composite_name): Fix test to check for
19698 identical name of all categories.
19699
19700 [BZ #12792]
19701 * libio/filedoalloc.c (local_isatty): New function.
19702 (_IO_file_doallocate): Use local_isatty.
19703 * stdio-common/perror.c (perror): In case a new stream is used
19704 forward the stream error.
19705 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19706 error flag.
19707
19708 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19709
19710 [BZ #11869]
19711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19712 alloca.
19713 * include/alloca.h (extend_alloca_account): Define.
19714
19715 [BZ #11857]
19716 * posix/regex.h: Fix comments with documentation of user-accessible
19717 fields after compilation and describe correct free'ing of pattern
19718 after re_compile_pattern.
19719 Patch by Reuben Thomas <rrt@sc3d.org>.
19720
19721 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19722
19723 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19724 and -mno-altivec to prevent the compiler from using Altivec and/or
19725 VSX instructions when the corresponding registers are not available.
19726
19727 2011-05-19 Andreas Schwab <schwab@redhat.com>
19728
19729 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19730
19731 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19732
19733 * libio/freopen.c (freopen): Use __dup2, not dup2.
19734 * libio/freopen64.c (freopen64): Likewise.
19735
19736 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19737
19738 [BZ #12775]
19739 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19740 * math/Makefile (tests): Add test-powl.
19741 (CFLAGS-test-powl.c): Define.
19742 * math/test-powl.c: New file.
19743
19744 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19745
19746 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19747
19748 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19749
19750 [BZ #11837]
19751 * iconvdata/gb18030.c: Update to GB18020-2005.
19752
19753 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19754
19755 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19756 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19757 Patch by Aharon Robbins <arnold@skeeve.com>.
19758
19759 [BZ #11892]
19760 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19761 on the stack.
19762
19763 [BZ #11895]
19764 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19765 through underflows.
19766
19767 [BZ #12766]
19768 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19769 point to strings before performing equality test for error_one_per_line
19770 mode.
19771
19772 [BZ #11697]
19773 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19774
19775 [BZ #11820]
19776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19777 (struct user_fpregs_struct): Avoid __uint*_t types.
19778
19779 [BZ #6420]
19780 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19781 symbol info. Use it instead of calling _dl_addr locally.
19782 (lock_and_info): New function.
19783 (tr_freehook): Call lock_and_info and pass symbol info as additional
19784 parameter to tr_where.
19785 (tr_mallochook): Likewise.
19786 (tr_reallochook): Likewise.
19787 (tr_memalignhook): Likewise.
19788
19789 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19790 used and couldn't be at all thread-safe.
19791
19792 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19793
19794 * libio/freopen.c (freopen): Don't close old file descriptor
19795 before the new one is opened. Instead dup the new file descriptor
19796 to the old one after the new stream is created.
19797 * libio/freopen64.c (freopen64): Likewise.
19798 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19799 * libio/fileops.c (_IO_new_file_close_it): Handle new
19800 _IO_FLAGS2_NOCLOSE flag.
19801 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19802 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19803 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19804 _IO_FLAGS2_NOCLOSE flag.
19805 * include/unistd.h: Add hidden_proto for dup3.
19806 Define __have_dup3.
19807 * io/dup3.c: Define hidden symbol.
19808 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19809
19810 [BZ #7101]
19811 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19812 when an incomplete long option is used.
19813 * posix/tst-getopt_long1.c: New file.
19814 * posix/Makefile (tests): Add tst-getopt_long1.
19815
19816 [BZ #10138]
19817 * scripts/config.guess: Update from autoconf-2.68.
19818 * scripts/config.sub: Likewise.
19819
19820 [BZ #10157]
19821 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19822 tests into ...
19823 (has_cpuclock): ...this. New function.
19824 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19825 macro here based on has_cpuclock code.
19826
19827 [BZ #10149]
19828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19829 First byte (not low byte) is now always NUL.
19830 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19831
19832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19833 Use non-cancelable interfaces.
19834
19835 [BZ #9809]
19836 * locale/iso-639.def: Add entry for Sorani.
19837
19838 [BZ #11901]
19839 * include/stdlib.h: Move include protection to the right place.
19840 Define abort_msg_s. Declare __abort_msg with it.
19841 * stdlib/abort.c (__abort_msg): Adjust type.
19842 * assert/assert.c (__assert_fail_base): New function. Majority
19843 of code from __assert_fail. Allocate memory for __abort_msg with
19844 mmap.
19845 (__assert_fail): Now call __assert_fail_base.
19846 * assert/assert-perr.c: Remove bulk of implementation. Use
19847 __assert_fail_base.
19848 * include/assert.hL Declare __assert_fail_base.
19849 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19850 mmap.
19851 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19852
19853 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19854
19855 [BZ #11952]
19856 [BZ #12453]
19857 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19858 until all modules are registered in the DTV.
19859 * elf/Makefile: Add rules to build and run tst-tls19.
19860 * elf/tst-tls19.c: New file.
19861 * elf/tst-tls19mod1.c: New file.
19862 * elf/tst-tls19mod2.c: New file.
19863 * elf/tst-tls19mod3.c: New file.
19864 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19865
19866 [BZ #12083]
19867 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19868 correctly.
19869
19870 [BZ #12601]
19871 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19872 two-byte sequence errors.
19873 * iconvdata/Makefile (tests): Add bug-iconv8.
19874 * iconvdata/bug-iconv8.c: New file.
19875
19876 [BZ #12626]
19877 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19878 buf2 definition.
19879
19880 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19881
19882 [BZ #12432]
19883 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19884 (dummy_getcfa): New function.
19885 (init): Get _Unwind_GetCFA address, use dummy if not found.
19886 (backtrace_helper): In recursion check, also check whether CFA changes.
19887 (__backtrace): Completely initialize arg.
19888
19889 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19890 storing incomplete byte sequence in state object. Avoid testing for
19891 guaranteed too small input if we know there is enough data available.
19892
19893 2011-05-11 Andreas Schwab <schwab@redhat.com>
19894
19895 * Makeconfig (+link-pie): Indent.
19896 * Rules (binaries-pie): Define if $(have-fpie) and
19897 $(build-shared).
19898 (binaries-shared): Also filter out $(binaries-pie).
19899 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19900 * nscd/Makefile (others-pie): Add nscd.
19901 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19902 ($(objpfx)nscd): Remove command override.
19903 * login/Makefile (others-pie): Add pt_chown.
19904 ($(objpfx)pt_chown): Remove command override.
19905 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19906 remove command overrides.
19907
19908 2011-05-13 Ulrich Drepper <drepper@gmail.com>
19909
19910 * libio/tst_putwc.c: Fix error messages.
19911
19912 [BZ #12724]
19913 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19914 currently writing and seek to current position when not.
19915 * libio/Makefile (tests): Add bug-fclose1.
19916 * libio/bug-fclose1.c: New file.
19917
19918 2011-05-12 Ulrich Drepper <drepper@gmail.com>
19919
19920 [BZ #12511]
19921 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19922 don't set DF_1_NODELETE here.
19923 (do_lookup_x): When entering new entry test for copy relocation
19924 and if necessary set DF_1_NODELETE flag.
19925 * elf/tst-unique4.cc: New file.
19926 * elf/tst-unique4.h: New file.
19927 * elf/tst-unique4lib.cc: New file.
19928 * elf/Makefile: Add rules to build and run tst-unique4.
19929 Patch by Piotr Bury <pbury@goahead.com>.
19930
19931 2011-05-11 Ulrich Drepper <drepper@gmail.com>
19932
19933 [BZ #12052]
19934 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19935
19936 [BZ #12625]
19937 * misc/mntent_r.c (addmntent): Flush the stream after the output
19938
19939 [BZ #12393]
19940 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19941 (is_trusted_path_normalize): Skip initial colon. Append slash
19942 to empty buffer. Duplicate is_trusted_path code but allow
19943 constructed patch to be prefix.
19944 (is_dst): Allow $ORIGIN followed by /.
19945 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19946 Correct testing of result of is_trusted_path_normalize
19947 (decompose_rpath): Fix warning.
19948
19949 2011-05-10 Ulrich Drepper <drepper@gmail.com>
19950
19951 [BZ #11257]
19952 * grp/initgroups.c (internal_getgrouplist): When we found the service
19953 list through the initgroups entry in nsswitch.conf do not always
19954 continue on a successful lookup. Don't always use the
19955 __nss_group_database value if it is set.
19956 * nss/nsswitch.conf (initgroups): Change action for successful db
19957 lookup to continue for compatibility.
19958
19959 2011-05-09 Ulrich Drepper <drepper@gmail.com>
19960
19961 [BZ #11532]
19962 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19963 and CP774 modules.
19964 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19965 and CP774 modules.
19966 * iconvdata/tst-tables.sh: Likewise.
19967 * iconvdata/cp770.c: New file.
19968 * iconvdata/cp771.c: New file.
19969 * iconvdata/cp772.c: New file.
19970 * iconvdata/cp773.c: New file.
19971 * iconvdata/cp774.c: New file.
19972 * iconvdata/testdata/CP770: New file.
19973 * iconvdata/testdata/CP770..UTF8: New file.
19974 * iconvdata/testdata/CP771: New file.
19975 * iconvdata/testdata/CP771..UTF8: New file.
19976 * iconvdata/testdata/CP772: New file.
19977 * iconvdata/testdata/CP772..UTF8: New file.
19978 * iconvdata/testdata/CP773: New file.
19979 * iconvdata/testdata/CP773..UTF8: New file.
19980 * iconvdata/testdata/CP774: New file.
19981 * iconvdata/testdata/CP774..UTF8: New file.
19982
19983 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19984 END CHARMAP line.
19985 * iconvdata/gen-8bit-gap.sh: Likewise.
19986 * iconvdata/gen-8bit.sh: Likewise.
19987
19988 * locale/iso-639.def: Add ary entry.
19989
19990 [BZ #11258]
19991 * locale/C-translit.h.in: Add U20A1 transliteration.
19992
19993 [BZ #12178]
19994 * locale/iso-639.def: Add wae entry.
19995 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19996
19997 [BZ #12545]
19998 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19999 for n.
20000
20001 [BZ #12711]
20002 * locale/C-translit.h.in: Add entry for U20B9.
20003 Patch by pravin.d.s@gmail.com.
20004
20005 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20006
20007 [BZ #12713]
20008 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20009 ENAMETOOLONG use generic getcwd.
20010 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20011 in rtld. Use *stat64.
20012 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20013 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20014 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20015 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20016 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20017 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20018 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20019 __fstatat64 macros.
20020 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20021 * dirent/rewinddir.c: Add libc_hidden_def.
20022 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20023 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20024
20025 * include/dirent.h (__alloc_dir): Add flags parameter.
20026 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20027 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20028 __alloc_dir.
20029 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20030 from fdopendir if O_CLOEXEC is already set.
20031
20032 2011-03-15 Alan Modra <amodra@gmail.com>
20033
20034 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20035 l_tls_firstbyte_offset non-zero. Save padding offset in
20036 l_tls_firstbyte_offset for later use.
20037 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20038 freeing static tls block.
20039
20040 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20041
20042 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20043 where #ifdef was intended. The intent is to prevent ARG_MAX from
20044 being defined by the kernel headers.
20045
20046 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20047
20048 [BZ #12734]
20049 * resolv/resolv.h: Define RES_NOTLDQUERY.
20050 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20051 no-tld-query and set RES_NOTLDQUERY.
20052 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20053 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20054 modern BIND to search name as TLD unless forbidden.
20055
20056 2011-05-07 Petr Baudis <pasky@suse.cz>
20057 Ulrich Drepper <drepper@gmail.com>
20058
20059 [BZ #12393]
20060 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20061 (is_trusted_path): ...to here.
20062 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20063 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20064 using is_trusted_path_normalize() in setuid scripts.
20065
20066 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20067
20068 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20069 __BEGIN/__END_DECLS.
20070
20071 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20072
20073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20074 NSS_STATUS_NOTFOUND if no record was found.
20075
20076 2011-05-05 Andreas Schwab <schwab@redhat.com>
20077
20078 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20079 (headers-not-in-tirpc): Remove rpc/netdb.h
20080 * resolv/netdb.h: Revert last change.
20081
20082 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20083
20084 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20085 circular dependency between libgcc.a and libc.a.
20086
20087 2011-05-05 Andreas Schwab <schwab@redhat.com>
20088
20089 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20090 * nis/Makefile: Don't install rpcsvc/*.
20091 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20092 instead of <rpc/types.h>.
20093 (MAXHOSTNAMELEN): Define.
20094
20095 2011-05-03 Andreas Schwab <schwab@redhat.com>
20096
20097 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20098
20099 2011-04-28 Maciej Babinski <mbabinski@google.com>
20100
20101 [BZ #12714]
20102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20103 gethostbyname4_r when IPv6 results are possible.
20104
20105 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20106
20107 [BZ #12723]
20108 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20109 _PC_PIPE_BUF handling.
20110
20111 2011-04-30 Bruno Haible <bruno@clisp.org>
20112
20113 [BZ #12717]
20114 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20115 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20116 to 'int'.
20117 * inet/getnameinfo.c (getnameinfo): Likewise.
20118
20119 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20120
20121 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20122 to groups setting in database lookup.
20123 * nss/nsswitch.conf: Add initgroups entry.
20124
20125 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20126
20127 [BZ #12685]
20128 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20129 mode string.
20130 Patch by Eric Blake <eblake@redhat.com>.
20131
20132 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20133
20134 * sunrpc/Makefile (need-export-routines): Add svc_run.
20135 (routines): Remove svc_run.
20136 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20137 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20138 * sunrpc/svc_run.c (svc_run): Likewise.
20139 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20140
20141 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20142
20143 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20144 problem in reallocation in last patch.
20145
20146 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20147
20148 * sunrpc/Makefile: Move inclusion of Rules.
20149
20150 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20151
20152 * nss/nss_files/files-initgroups.c: New file.
20153 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20154 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20155 _nss_files_initgroups_dyn.
20156
20157 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20158
20159 * elf/elf.h (R_ARM_IRELATIVE): Define.
20160
20161 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20162
20163 * po/ru.po: Update from translation team.
20164
20165 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20166
20167 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20168 dependencies.
20169
20170 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20171
20172 [BZ #12653]
20173 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20174 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20178
20179 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20180
20181 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20182 differing bytes.
20183 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20185 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20186
20187 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20188
20189 [BZ #12420]
20190 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20191 storing it.
20192 * stdlib/bug-getcontext.c: New file.
20193 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20194
20195 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20196
20197 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20198 instructions into .machine "z9-109".
20199 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20200 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20201
20202 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20203
20204 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20205 between environment variables and auxiliary vector.
20206
20207 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20208
20209 * Makefile: Add rules to build linkobj/libc.so.
20210 * include/libc-symbols.h: Define libc_hidden_nolink.
20211 * include/rpc/auth.h: Mark functions which are to be hidden.
20212 * include/rpc/auth_des.h: Likewise.
20213 * include/rpc/auth_unix.h: Likewise.
20214 * include/rpc/clnt.h: Likewise.
20215 * include/rpc/des_crypt.h: Likewise.
20216 * include/rpc/key_prot.h: Likewise.
20217 * include/rpc/pmap_clnt.h: Likewise.
20218 * include/rpc/pmap_prot.h: Likewise.
20219 * include/rpc/pmap_rmt.h: Likewise.
20220 * include/rpc/rpc_msg.h: Likewise.
20221 * include/rpc/svc.h: Likewise.
20222 * include/rpc/svc_auth.h: Likewise.
20223 * include/rpc/xdr.h: Likewise.
20224 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20225 * nss/Makefile: Likewise.
20226 * sunrpc/Makefile: Don't install headers. Build library with normal
20227 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20228 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20229 for the compat linking library. Remove use of INTDEF/INTUSE.
20230 * sunrpc/auth_none.c: Likewise.
20231 * sunrpc/auth_unix.c: Likewise.
20232 * sunrpc/authdes_prot.c: Likewise.
20233 * sunrpc/authuxprot.c: Likewise.
20234 * sunrpc/clnt_gen.c: Likewise.
20235 * sunrpc/clnt_perr.c: Likewise.
20236 * sunrpc/clnt_raw.c: Likewise.
20237 * sunrpc/clnt_simp.c: Likewise.
20238 * sunrpc/clnt_tcp.c: Likewise.
20239 * sunrpc/clnt_udp.c: Likewise.
20240 * sunrpc/clnt_unix.c: Likewise.
20241 * sunrpc/des_crypt.c: Likewise.
20242 * sunrpc/des_soft.c: Likewise.
20243 * sunrpc/get_myaddr.c: Likewise.
20244 * sunrpc/key_call.c: Likewise.
20245 * sunrpc/key_prot.c: Likewise.
20246 * sunrpc/netname.c: Likewise.
20247 * sunrpc/pm_getmaps.c: Likewise.
20248 * sunrpc/pm_getport.c: Likewise.
20249 * sunrpc/pmap_clnt.c: Likewise.
20250 * sunrpc/pmap_prot.c: Likewise.
20251 * sunrpc/pmap_prot2.c: Likewise.
20252 * sunrpc/pmap_rmt.c: Likewise.
20253 * sunrpc/publickey.c: Likewise.
20254 * sunrpc/rpc_cmsg.c: Likewise.
20255 * sunrpc/rpc_common.c: Likewise.
20256 * sunrpc/rpc_dtable.c: Likewise.
20257 * sunrpc/rpc_prot.c: Likewise.
20258 * sunrpc/rpc_thread.c: Likewise.
20259 * sunrpc/rtime.c: Likewise.
20260 * sunrpc/svc.c: Likewise.
20261 * sunrpc/svc_auth.c: Likewise.
20262 * sunrpc/svc_authux.c: Likewise.
20263 * sunrpc/svc_raw.c: Likewise.
20264 * sunrpc/svc_run.c: Likewise.
20265 * sunrpc/svc_simple.c: Likewise.
20266 * sunrpc/svc_tcp.c: Likewise.
20267 * sunrpc/svc_udp.c: Likewise.
20268 * sunrpc/svc_unix.c: Likewise.
20269 * sunrpc/svcauth_des.c: Likewise.
20270 * sunrpc/xcrypt.c: Likewise.
20271 * sunrpc/xdr.c: Likewise.
20272 * sunrpc/xdr_array.c: Likewise.
20273 * sunrpc/xdr_float.c: Likewise.
20274 * sunrpc/xdr_intXX_t.c: Likewise.
20275 * sunrpc/xdr_mem.c: Likewise.
20276 * sunrpc/xdr_rec.c: Likewise.
20277 * sunrpc/xdr_ref.c: Likewise.
20278 * sunrpc/xdr_sizeof.c: Likewise.
20279 * sunrpc/xdr_stdio.c: Likewise.
20280
20281 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20282
20283 [BZ #12650]
20284 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20285 * sysdeps/ia64/dl-tls.h: Likewise.
20286 * sysdeps/powerpc/dl-tls.h: Likewise.
20287 * sysdeps/s390/dl-tls.h: Likewise.
20288 * sysdeps/sh/dl-tls.h: Likewise.
20289 * sysdeps/sparc/dl-tls.h: Likewise.
20290 * sysdeps/x86_64/dl-tls.h: Likewise.
20291 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20292
20293 2011-03-14 Andreas Schwab <schwab@redhat.com>
20294
20295 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20296 rpath element also skip the following colon.
20297 (expand_dynamic_string_token): Add is_path parameter and pass
20298 down to DL_DST_REQUIRED and _dl_dst_substitute.
20299 (decompose_rpath): Call expand_dynamic_string_token with
20300 non-zero is_path. Ignore empty rpaths.
20301 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20302 with zero is_path.
20303
20304 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20305
20306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20307 Make cancelable.
20308
20309 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20310
20311 [BZ #12655]
20312 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20313 Patch by Filipe David Manana <fdmanana@apache.org>.
20314
20315 2011-04-07 Andreas Schwab <schwab@redhat.com>
20316
20317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20318 Maintain aligned stack.
20319 (CHECK_RSP): Remove unused macro.
20320
20321 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20322
20323 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20324 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20325
20326 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20327
20328 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20329
20330 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20331
20332 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20333
20334 [BZ #12518]
20335 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20336 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20337 * sysdeps/x86_64/memmove.c: New file.
20338 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20339 (memcpy): Renamed to ...
20340 (__new_memcpy): This.
20341 (memcpy): Provide GLIBC_2_14 memcpy.
20342 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20343 (memcpy): Provide GLIBC_2_2_5 memcpy.
20344
20345 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20346
20347 [BZ #12631]
20348 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20349
20350 2011-03-30 Andreas Schwab <schwab@redhat.com>
20351
20352 * misc/syncfs.c: New file.
20353 * misc/Makefile (routines): Add syncfs.
20354 * posix/unistd.h: Declare syncfs.
20355 * sysdeps/unix/syscalls.list: Add syncfs.
20356
20357 2011-04-01 Andreas Schwab <schwab@redhat.com>
20358
20359 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20360 open_by_handle_at.
20361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20362 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20364 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20366 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20368
20369 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20370
20371 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20372 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20373 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20375 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20378
20379 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20380 sync_file_range.c with -fexceptions.
20381 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20382 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20383 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20384 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20385 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20386 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20388 sync_file_range as cancellation point
20389 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20390 now a wrapper around __call_sync_file_range with cancellation handling.
20391 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20392 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20393 function name to __call_sync_file_range.
20394 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20395 Add call_sync_file_range.
20396
20397 2011-04-01 Andreas Schwab <schwab@redhat.com>
20398
20399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20400 bits/timex.h.
20401
20402 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20403
20404 * iconv/iconv.h: Fix typo in comment.
20405 * io/fcntl.h: Likewise.
20406 * libio/stdio.h: Likewise.
20407 * posix/spawn.h: Likewise.
20408 * posix/unistd.h: Likewise.
20409 * stdlib/stdlib.h: Likewise.
20410 * time/time.h: Likewise.
20411 * wcsmbs/wchar.h: Likewise.
20412
20413 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20414 open_by_handle): Add.
20415 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20416 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20417 Augment a few comments.
20418 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20420 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20423 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20424 open_by_handle.
20425
20426 * io/fcntl.h (AT_EMPTY_PATH): Define.
20427
20428 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20429
20430 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20431 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20432 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20433 to...
20434 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20435 * Versions.def: Add GLIBC_2.14.
20436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20437 Export.
20438
20439 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20440
20441 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20442 round counter.
20443 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20444
20445 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20446
20447 [BZ #12597]
20448 * string/test-strncmp.c (do_page_test): New function.
20449 (check2): Likewise.
20450 (test_main): Call check2.
20451 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20452
20453 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20454
20455 [BZ #12587]
20456 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20457 Handle cache information in CPU leaf 4.
20458 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20459
20460 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20461
20462 [BZ #12583]
20463 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20464 character representation.
20465 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20466
20467 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20468
20469 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20470 END(__isnan) to END(__isnanf) to match function entry point/label
20471 EALIGN(__isnanf,...).
20472
20473 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20474
20475 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20476
20477 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20478
20479 [BZ #12510]
20480 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20481 copy from the symbol referenced in the relocation to initialize the
20482 used variable.
20483 Patch by Piotr Bury <pbury@goahead.com>.
20484 * elf/Makefile: Add rules to build and tst-unique3.
20485 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20486 * elf/tst-unique3.cc: New file.
20487 * elf/tst-unique3.h: New file.
20488 * elf/tst-unique3lib.cc: New file.
20489 * elf/tst-unique3lib2.cc: New file.
20490
20491 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20492
20493 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20494
20495 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20496 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20497 to _start.
20498
20499 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20500
20501 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20502 to-be-loaded object along a path to loader is ld.so.
20503
20504 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20505 Ulrich Drepper <drepper@gmail.com>
20506
20507 * sysdeps/x86_64/memset.S: After aligning destination, code
20508 branches to different locations depending on the value of
20509 misalignment, when multiarch is enabled. Fix this.
20510
20511 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20512
20513 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20514 Set _x86_64_preferred_memory_instruction for AMD processsors.
20515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20516 Set bit_Prefer_SSE_for_memop for AMD processors.
20517
20518 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20519
20520 * libio/fmemopen.c (fmemopen): Optimize a bit.
20521
20522 2011-03-03 Andreas Schwab <schwab@redhat.com>
20523
20524 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20525
20526 2011-03-03 Roland McGrath <roland@redhat.com>
20527
20528 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20529
20530 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20531
20532 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20533 __bzero_ultra1 instead of __memset_ultra1.
20534
20535 2011-02-23 Andreas Schwab <schwab@redhat.com>
20536 Ulrich Drepper <drepper@gmail.com>
20537
20538 [BZ #12509]
20539 * include/link.h (struct link_map): Add l_orig_initfini.
20540 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20541 returning unsuccessfully.
20542 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20543 close of a file loaded at startup, restore the original l_initfini
20544 list.
20545 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20546 list, store the pointer.
20547 * elf/Makefile ($(objpfx)noload-mem): New rule.
20548 (noload-ENV): Define.
20549 (tests): Add $(objpfx)noload-mem.
20550 * elf/noload.c: Include <memcheck.h>.
20551 (main): Call mtrace. Close all opened handles.
20552
20553 2011-02-17 Andreas Schwab <schwab@redhat.com>
20554
20555 [BZ #12454]
20556 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20557 dependencies are missing.
20558
20559 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20560
20561 Fix __if_freereq crash: Unlike the generic version which uses free,
20562 Hurd needs munmap.
20563 * sysdeps/mach/hurd/ifreq.h: New file.
20564
20565 2011-01-27 Petr Baudis <pasky@suse.cz>
20566 Ulrich Drepper <drepper@gmail.com>
20567
20568 [BZ 12445]#
20569 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20570 to extend_alloca().
20571 * stdio-common/bug23.c: New file.
20572 * stdio-common/Makefile (tests): Add bug23.
20573
20574 2010-09-28 Andreas Schwab <schwab@redhat.com>
20575 Ulrich Drepper <drepper@gmail.com>
20576
20577 [BZ #12489]
20578 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20579 before performing relro protection. At old place add assertion
20580 to make sure nothing changed.
20581
20582 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20583 Glauber de Oliveira Costa <glommer@gmail.com>
20584
20585 * elf/elf.h: Add new ARM TLS relocs.
20586
20587 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20588
20589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20590 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20591 cast from r3.
20592 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20593 'tests' variable.
20594 * sysdeps/wordsize-64/tst-writev.c: New file.
20595
20596 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20597
20598 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20599 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20600 insns in _dl_start to prevent a TOC reference before relocs are
20601 resolved.
20602
20603 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20604
20605 [BZ #12469]
20606 * Makeconfig: Remove RANLIB definition.
20607 * Makerules: Don't use RANLIB.
20608 * aclocal.m4: Remove ranlib test.
20609 * configure.in: No need to check for ranlib.
20610 * elf/rtld-Rules: Don't use RANLIB.
20611
20612 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20613
20614 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20615 protection macro.
20616 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20617 inclusion protection macro.
20618
20619 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20620 SIGRTMIN and SIGRTMAX and print information in that case only when
20621 SIGRTMIN is defined.
20622
20623 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20624
20625 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20626 arginfo fn returning -1.
20627
20628 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20629 and thousands string is zero terminated.
20630
20631 2011-02-03 Andreas Schwab <schwab@redhat.com>
20632
20633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20634 sysdeps/unix/sysv/linux/bits/socket.h.
20635
20636 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20637
20638 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20639 (__CPU_COUNT): Remove old macros.
20640 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20641 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20642 (__CPU_ALLOC, __CPU_FREE): Add macros.
20643 (__sched_cpualloc, __sched_cpufree): Add declarations.
20644
20645 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20646
20647 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20648 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20649 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20650 (readdhstai): Return value of addhstaiX call.
20651 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20652 (addgrbyX): Return value returned by cache_addgr.
20653 (readdgrbyname): Return value returned by addgrbyX.
20654 (readdgrbygid): Likewise.
20655 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20656 (addpwbyX): Return value returned by cache_addpw.
20657 (readdpwbyname): Return value returned by addhstbyX.
20658 (readdpwbyuid): Likewise.
20659 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20660 (addservbyX): Return value returned by cache_addserv.
20661 (readdservbyname): Return value returned by addservbyX:
20662 (readdservbyport): Likewise.
20663 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20664 (addhstbyX): Return value returned by cache_addhst.
20665 (readdhstbyname): Return value returned by addhstbyX.
20666 (readdhstbyaddr): Likewise.
20667 (readdhstbynamev6): Likewise.
20668 (readdhstbyaddrv6): Likewise.
20669 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20670 (readdinitgroups): Return value returned by addinitgroupsX.
20671 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20672 (prune_cache): Keep track of timeout value of re-added entries.
20673 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20674 * nscd/nscd.h: Adjust prototypes of readd* functions.
20675
20676 2011-02-04 Roland McGrath <roland@redhat.com>
20677
20678 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20679 (nis_stats): Likewise.
20680 * nis/nis_modify.c (nis_modify): Likewise.
20681 * nis/nis_remove.c (nis_remove): Likewise.
20682 * nis/nis_add.c (nis_add): Likewise.
20683
20684 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20685
20686 * posix/fnmatch_loop.c: Add some consts.
20687
20688 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20689
20690 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20691
20692 [BZ #12460]
20693 * config.make.in (config-cflags-novzeroupper): Define.
20694 * configure.in: Substitute libc_cv_cc_novzeroupper.
20695 * elf/Makefile (AVX-CFLAGS): Define.
20696 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20697 (CFLAGS-tst-auditmod4a.c): Likewise.
20698 (CFLAGS-tst-auditmod4b.c): Likewise.
20699 (CFLAGS-tst-auditmod6b.c): Likewise.
20700 (CFLAGS-tst-auditmod6c.c): Likewise.
20701 (CFLAGS-tst-auditmod7b.c): Likewise.
20702 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20703
20704 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20705
20706 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20707 function to the callback.
20708 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20709
20710 2011-02-02 Andreas Schwab <schwab@redhat.com>
20711
20712 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20713 of errno.
20714
20715 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20716
20717 [BZ #11724]
20718 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20719 of constructors.
20720 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20721 of destructors.
20722 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20723
20724 [BZ #11724]
20725 * elf/Makefile: Add rules to build and run new test.
20726 * elf/tst-initorder.c: New file.
20727 * elf/tst-initorder.exp: New file.
20728 * elf/tst-initordera1.c: New file.
20729 * elf/tst-initordera2.c: New file.
20730 * elf/tst-initordera3.c: New file.
20731 * elf/tst-initordera4.c: New file.
20732 * elf/tst-initorderb1.c: New file.
20733 * elf/tst-initorderb2.c: New file.
20734 * elf/tst-order-a1.c: New file.
20735 * elf/tst-order-a2.c: New file.
20736 * elf/tst-order-a3.c: New file.
20737 * elf/tst-order-a4.c: New file.
20738 * elf/tst-order-b1.c: New file.
20739 * elf/tst-order-b2.c: New file.
20740 * elf/tst-order-main.c: New file.
20741 New test case by George Gensure <werkt0@gmail.com>.
20742
20743 2010-10-01 Andreas Schwab <schwab@redhat.com>
20744
20745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20746 decoding ACE if AI_CANONIDN.
20747
20748 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20749
20750 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20751
20752 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20753
20754 * version.h (RELEASE): Bump for 2.13 release.
20755 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20756
20757 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20758
20759 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20760 MADV_NOHUGEPAGE.
20761 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20762 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20763 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20764 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20765 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20766 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20767
20768 * posix/getconf.c: Update copyright year.
20769 * catgets/gencat.c: Likewise.
20770 * csu/version.c: Likewise.
20771 * debug/catchsegv.sh: Likewise.
20772 * debug/xtrace.sh: Likewise.
20773 * elf/ldconfig.c: Likewise.
20774 * elf/ldd.bash.in: Likewise.
20775 * elf/sprof.c (print_version): Likewise.
20776 * iconv/iconv_prog.c: Likewise.
20777 * iconv/iconvconfig.c: Likewise.
20778 * locale/programs/locale.c: Likewise.
20779 * locale/programs/localedef.c: Likewise.
20780 * malloc/memusage.sh: Likewise.
20781 * malloc/mtrace.pl: Likewise.
20782 * nscd/nscd.c (print_version): Likewise.
20783 * nss/getent.c: Likewise.
20784
20785 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20786 PF_CAIF, and PF_ALG.
20787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20788
20789 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20790
20791 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20792 (modules-names): Use them.
20793 (ifunc-test-modules, ifunc-pie-tests): Define.
20794 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20795 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20796 (test-extras): Likewise.
20797 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20798 $(compile-command.c).
20799 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20800 (all-built-dso): Define.
20801 (check-textrel.out, check-execstack.out): Depend on it.
20802
20803 * configure.in: Don't override --enable-multi-arch.
20804
20805 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20806
20807 [BZ #6812]
20808 * nscd/hstcache.c (tryagain): Define.
20809 (cache_addhst): Return tryagain not notfound for temporary errors.
20810 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20811 failed.
20812
20813 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20814
20815 [BZ #10563]
20816 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20817 to make the syscall.
20818 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20819
20820 [BZ #12378]
20821 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20822 and fall back to matching as normal character if the string ends before
20823 the matching ']' is found. This is what POSIX requires.
20824 * posix/testfnm.c: Adjust test result.
20825 * posix/globtest.sh: Adjust test result. Add new test.
20826 * posix/tst-fnmatch.input: Likewise.
20827 * posix/tst-fnmatch2.c: Add new test.
20828
20829 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20830
20831 * elf/Makefile (check-execstack): Revert last change. Depend on
20832 check-execstack.h.
20833 (check-execstack.h): New target.
20834 (generated): Add check-execstack.h.
20835 * elf/check-execstack.c: Include "check-execstack.h".
20836 (main): Revert last change.
20837 (handle_file): Return zero if GNU_STACK is absent and
20838 DEFAULT_STACK_PERMS doesn't include PF_X.
20839
20840 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20841
20842 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20843 in child fails because the descriptor is already closed.
20844 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20845 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20846 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20847
20848 [BZ #12397]
20849 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20850 syscall.
20851
20852 [BZ #10484]
20853 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20854 temporary buffer used to handle multi lookups locally.
20855 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20856
20857 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20858
20859 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20860 loader is ld.so.
20861
20862 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20863
20864 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20865 alignment for SSE2.
20866
20867 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20868
20869 [BZ #12394]
20870 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20871 characters. When rounding increased number of integer digits recompute
20872 number of groups.
20873 * stdio-common/tst-grouping.c: New file.
20874 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20875
20876 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20877
20878 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20879 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20880
20881 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20882 void.
20883 * bits/select.h: Likewise.
20884
20885 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20886
20887 * po/ja.po: Update from translation team.
20888
20889 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
20890
20891 [BZ #11155]
20892 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20893 implementation just like for lxstat, fxstatat, et al.
20894
20895 2010-12-27 Jim Meyering <meyering@redhat.com>
20896
20897 [BZ #12348]
20898 * posix/regexec.c (build_trtable): Return failure indication upon
20899 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20900
20901 2010-12-25 Ulrich Drepper <drepper@gmail.com>
20902
20903 [BZ #12201]
20904 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20905 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20906 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20907 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20908
20909 [BZ #12207]
20910 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20911
20912 [BZ #12204]
20913 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20914 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20915
20916 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20917
20918 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20919 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20920 script has SORT_BY_INIT_PRIORITY.
20921 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20922 NO_CTORS_DTORS_SECTIONS is defined.
20923 * elf/soinit.c: Likewise.
20924 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20925 NO_CTORS_DTORS_SECTIONS is defined.
20926 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20927 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20928 * sysdeps/sh/init-first.c: Likewise.
20929 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20930
20931 2010-12-24 Ulrich Drepper <drepper@gmail.com>
20932
20933 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20934 always use the slow path.
20935
20936 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20937
20938 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20939 similar rule which adds the sysdep directories to the header search in
20940 order to pick up the correct platform stackinfo.h.
20941 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20942 perform test if it is, otherwise return successfully without testing.
20943 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20944 DEFAULT_STACK_PERMS define in stackinfo.h.
20945 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20946 defined in stackinfo.h.
20947 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20948 DEFAULT_STACK_PERMS defined in stackinfo.h.
20949 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20950 * sysdeps/ia64/stackinfo.h: Likewise.
20951 * sysdeps/s390/stackinfo.h: Likewise.
20952 * sysdeps/sh/stackinfo.h: Likewise.
20953 * sysdeps/sparc/stackinfo.h: Likewise.
20954 * sysdeps/x86_64/stackinfo.h: Likewise.
20955 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20956 PF_X for powerpc64. Retain PF_X for powerpc32.
20957
20958 2010-12-19 Ulrich Drepper <drepper@gmail.com>
20959
20960 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20961 accurately.
20962 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20963 GETDENTS_64BIT_ALIGNED.
20964
20965 2010-12-14 Ulrich Drepper <dreper@gmail.com>
20966
20967 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20968
20969 2010-12-10 Andreas Schwab <schwab@redhat.com>
20970
20971 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20972 _GNU_SOURCE.
20973
20974 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20975 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20976 Remove __restrict.
20977 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20978 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20979
20980 2010-12-09 Ulrich Drepper <drepper@gmail.com>
20981
20982 [BZ #11655]
20983 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20984 are initialized.
20985
20986 2010-12-09 Jakub Jelinek <jakub@redhat.com>
20987
20988 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20989
20990 2010-12-03 Ulrich Drepper <drepper@gmail.com>
20991
20992 * po/it.po: Update from translation team.
20993
20994 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20995
20996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20997 unused codes.
20998
20999 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21000
21001 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21002
21003 2010-11-24 Andreas Schwab <schwab@redhat.com>
21004
21005 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21006 specially.
21007 (gaih_getanswer_slice): Likewise.
21008
21009 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21010
21011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21012
21013 2010-05-31 Petr Baudis <pasky@suse.cz>
21014
21015 [BZ #11149]
21016 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21017 silently even in the chroot mode.
21018
21019 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21020
21021 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21022 last patch a bit. Pretty printing
21023
21024 2010-05-31 Petr Baudis <pasky@suse.cz>
21025
21026 [BZ #10085]
21027 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21028 initialization of skip_initgroups_dyn.
21029
21030 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21031
21032 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21033 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21034
21035 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21036
21037 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21038
21039 2010-11-11 Andreas Schwab <schwab@redhat.com>
21040
21041 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21042 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21043 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21044 ($(objpfx)tst-fnmatch-mem): New rule.
21045 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21046 * posix/tst-fnmatch.c (main): Call mtrace.
21047
21048 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21049
21050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21051 Support Intel processor model 6 and model 0x2c.
21052
21053 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21054
21055 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21056 signed comparison.
21057
21058 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21059
21060 [BZ #12205]
21061 * string/test-strncasecmp.c (check_result): New function.
21062 (do_one_test): Use it.
21063 (check1): New function.
21064 (test_main): Use it.
21065 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21066 Support strcasecmp and strncasecmp.
21067
21068 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21069
21070 [BZ #12194]
21071 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21072 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21073
21074 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21075
21076 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21077 IFUNC support.
21078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21079 memset-x86-64.
21080 * sysdeps/x86_64/multiarch/bzero.S: New file.
21081 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21082 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21083 * sysdeps/x86_64/multiarch/memset.S: New file.
21084 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21086 Set bit_Prefer_SSE_for_memop for Intel processors.
21087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21088 Define.
21089 (index_Prefer_SSE_for_memop): Define.
21090 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21091
21092 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21093
21094 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21095 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21096
21097 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21098
21099 [BZ #12191]
21100 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21101 (__x86_64_raw_data_cache_size_half): Likewise.
21102 (__x86_64_raw_shared_cache_size): Likewise.
21103 (__x86_64_raw_shared_cache_size_half): Likewise.
21104
21105 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21106 (__x86_64_raw_data_cache_size_half): Likewise.
21107 (__x86_64_raw_shared_cache_size): Likewise.
21108 (__x86_64_raw_shared_cache_size_half): Likewise.
21109 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21110 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21111 and __x86_64_raw_shared_cache_size_half. Round
21112 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21113 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21114 to multiple of 256 bytes.
21115
21116 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21117
21118 [BZ #12167]
21119 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21120 of inacessible symlinks. Verify result of symlink before returning it.
21121 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21122 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21123
21124 2010-10-28 Erich Ritz <erichritz@gmail.com>
21125
21126 * math/math.h (isinf): Fix typo in comment.
21127
21128 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21129
21130 * po/da.po: Update from translation team.
21131
21132 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21133
21134 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21135 is added to the list.
21136
21137 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21138 Ulrich Drepper <drepper@gmail.com>
21139
21140 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21141 the global list here. Move code to...
21142 (_dl_add_to_namespace_list): ...here. New function.
21143 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21144 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21145 * elf/dl-load.c (lose): Don't remove the element from the list.
21146 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21147 (_dl_map_object): Likewise.
21148
21149 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21150
21151 [BZ #12159]
21152 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21153 into all bytes of SSE register.
21154 Patch by Richard Li <richardpku@gmail.com>.
21155
21156 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21157
21158 [BZ #12140]
21159 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21160 perturbing.
21161
21162 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21163
21164 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21165 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21166 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21167 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21169 submachine.
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21171
21172 2010-10-22 Andreas Schwab <schwab@redhat.com>
21173
21174 * include/dlfcn.h (__RTLD_SECURE): Define.
21175 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21176 mode & __RTLD_SECURE instead.
21177 (open_path): Rename preloaded parameter to secure.
21178 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21179 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21180 * elf/dl-deps.c (openaux): Likewise.
21181 * elf/rtld.c (struct map_args): Remove is_preloaded.
21182 (map_doit): Don't use it.
21183 (dl_main): Likewise.
21184 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21185 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21186
21187 2010-09-09 Andreas Schwab <schwab@redhat.com>
21188
21189 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21190 (sysd-rules-targets): Remove duplicates.
21191 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21192 rtld-%.$o dependency.
21193
21194 2010-10-18 Andreas Schwab <schwab@redhat.com>
21195
21196 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21197 _dl_map_object do it.
21198
21199 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21200
21201 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21202 fast fma builtins, define the macros in the C99 standard.
21203 (FP_FAST_FMAF): Likewise.
21204 (FP_FAST_FMAL): Likewise.
21205 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21206
21207 * bits/mathdef.h: Update copyright year.
21208 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21209
21210 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21211
21212 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21213 builtins, define the macros in the C99 standard.
21214 (FP_FAST_FMAF): Likewise.
21215 (FP_FAST_FMAL): Likewise.
21216 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21217 multiply/add.
21218 (FP_FAST_FMAF): Likewise.
21219
21220 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21221
21222 [BZ #3268]
21223 * math/libm-test.inc (fma_test): Some new testcases.
21224 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21225 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21226 y and infinite z. Do multiplication by C already in long double.
21227 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21229 y and infinite z. Do bitwise or of inexact bit into u.d.
21230 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21231 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21232 * sysdeps/i386/fpu/s_fma.S: Removed.
21233 * sysdeps/i386/fpu/s_fmal.S: Removed.
21234
21235 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21236
21237 [BZ #3268]
21238 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21240 computation is not scheduled after fetestexcept. Fix value
21241 of minimum denormal long double.
21242
21243 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21244
21245 [BZ #3268]
21246 * math/libm-test.inc (fma_test): Add some more tests.
21247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21248 correctly.
21249
21250 2010-10-15 Andreas Schwab <schwab@redhat.com>
21251
21252 * scripts/data/localplt-s390-linux-gnu.data: New file.
21253 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21254
21255 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21256
21257 [BZ #3268]
21258 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21259 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21260 instead of dbl-64.
21261 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21262 inlines.
21263 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21265 if one of x and y is very large and the other is subnormal.
21266 * sysdeps/s390/fpu/s_fmaf.c: New file.
21267 * sysdeps/s390/fpu/s_fma.c: New file.
21268 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21269 * sysdeps/powerpc/fpu/s_fma.S: New file.
21270 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21271 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21272 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21273
21274 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21275
21276 [BZ #3268]
21277 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21278 fma tests.
21279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21280 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21281 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21282 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21283 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21284 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21285 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21286
21287 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21288
21289 [BZ #12078]
21290 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21291 * posix/bug-regex31.input: Add test case.
21292
21293 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21294
21295 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21296 * posix/bug-regex31.input: New file.
21297
21298 [BZ #12078]
21299 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21300 (parse_sub_exp): Fix last change, use postorder.
21301
21302 * posix/bug-regex31.c: New file.
21303 * posix/Makefile: Add rules to build and run bug-regex31.
21304
21305 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21306
21307 [BZ #12078]
21308 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21309
21310 [BZ #12108]
21311 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21312 to have entries in sys_siglist.
21313
21314 [BZ #12093]
21315 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21316 be NULL.
21317
21318 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21319
21320 [BZ #3268]
21321 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21322 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21323 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21324 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21325 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21326 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21327 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21328 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21329 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21330 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21331 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21332 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21333 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21334 * math/ftestexcept.c (fetestexcept): Likewise.
21335 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21336 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21337 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21338 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21339 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21340 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21341 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21342
21343 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21344
21345 [BZ #12107]
21346 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21347 newline.
21348
21349 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21350
21351 * string/bug-strstr1.c: New file.
21352 * string/Makefile: Add rules to build and run bug-strstr1.
21353
21354 2010-10-05 Eric Blake <eblake@redhat.com>
21355
21356 [BZ #12092]
21357 * string/str-two-way.h (two_way_long_needle): Always clear memory
21358 when skipping input due to the shift table.
21359
21360 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21361
21362 [BZ #12005]
21363 * malloc/mcheck.c: Handle large requests.
21364
21365 [BZ #12077]
21366 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21367 for strncmp and strncasecmp.
21368 * string/stratcliff.c: Add tests for strcmp and strncmp.
21369 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21370
21371 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21372
21373 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21374 __set_fpscr.
21375
21376 2010-09-30 Andreas Jaeger <aj@suse.de>
21377
21378 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21379 (CGROUP_SUPER_MAGIC): Define.
21380 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21381 Handle btrfs and cgroup file systems.
21382 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21383 Likewise.
21384
21385 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21386
21387 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21388 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21389
21390 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21391
21392 [BZ #12067]
21393 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21394 trying to locate the ELF header.
21395
21396 2010-09-27 Andreas Schwab <schwab@redhat.com>
21397
21398 [BZ #11611]
21399 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21400 Mask out sign-bit copies when constructing f_fsid.
21401
21402 2010-09-24 Petr Baudis <pasky@suse.cz>
21403
21404 * debug/stack_chk_fail_local.c: Add missing licence exception.
21405 * debug/warning-nop.c: Likewise.
21406
21407 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21408
21409 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21410 implementing getdents64 using getdents syscall, set d_type if
21411 __ASSUME_GETDENTS32_D_TYPE.
21412
21413 2010-09-16 Andreas Schwab <schwab@redhat.com>
21414
21415 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21416 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21417
21418 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21419
21420 [BZ #12037]
21421 * posix/unistd.h: Undo change of feature selection for ftruncate from
21422 2010-01-11.
21423
21424 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21425
21426 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21427 detection.
21428
21429 2010-09-20 Andreas Schwab <schwab@redhat.com>
21430
21431 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21432 fanotify_mark.
21433 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21434
21435 2010-09-14 Andreas Schwab <schwab@redhat.com>
21436
21437 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21438 variables after CHECK_SP call.
21439 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21440
21441 2010-09-13 Andreas Schwab <schwab@redhat.com>
21442 Ulrich Drepper <drepper@redhat.com>
21443
21444 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21445 re-relocationg ld.so.
21446 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21447 _dl_init_paths call.
21448 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21449 here anymore.
21450
21451 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21452
21453 * resolv/res_init.c (__res_vinit): Count the default server we added.
21454
21455 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21456 Ulrich Drepper <drepper@redhat.com>
21457
21458 [BZ #11968]
21459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21460 (____longjmp_chk): Use %ebx for saving value across system call.
21461 Add unwind info.
21462
21463 2010-09-06 Andreas Schwab <schwab@redhat.com>
21464
21465 * manual/Makefile: Don't mix pattern rules with normal rules.
21466
21467 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21468
21469 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21470 operation.
21471 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21472 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21473 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21474 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21476 Likewise.
21477
21478 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21479
21480 [BZ #11979]
21481 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21482 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21483
21484 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21485
21486 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21487 * sysdeps/x86_64/addmul_1.S: Likewise.
21488 * sysdeps/x86_64/lshift.S: Likewise.
21489 * sysdeps/x86_64/mul_1.S: Likewise.
21490 * sysdeps/x86_64/rshift.S: Likewise.
21491 * sysdeps/x86_64/sub_n.S: Likewise.
21492 * sysdeps/x86_64/submul_1.S: Likewise.
21493
21494 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21495
21496 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21497 Define __sched_param instead of SCHED_* and sched_param when
21498 <bits/sched.h> is included with __need_schedparam defined.
21499 * bits/sched.h [__need_schedparam]
21500 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21501 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21502 (__defined_schedparam): Define to 1.
21503 (__sched_param): New structure, identical to sched_param.
21504 (__need_schedparam): Undefine.
21505
21506 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21507
21508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21509 (epoll_create1): Declare.
21510
21511 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21512
21513 2010-08-31 Andreas Schwab <schwab@redhat.com>
21514
21515 [BZ #7066]
21516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21517 shifting retval into place.
21518
21519 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21520
21521 * nis/rpcsvc/nis.h: Update copyright notice.
21522 * nis/rpcsvc/nis.x: Likewise.
21523 * nis/rpcsvc/nis_callback.h: Likewise.
21524 * nis/rpcsvc/nis_callback.x: Likewise.
21525 * nis/rpcsvc/nis_object.x: Likewise.
21526 * nis/rpcsvc/nis_tags.h: Likewise.
21527 * nis/rpcsvc/yp.h: Likewise.
21528 * nis/rpcsvc/yp.x: Likewise.
21529 * nis/rpcsvc/ypupd.h: Likewise.
21530 * nis/yp_xdr.c: Likewise.
21531 * nis/ypupdate_xdr.c: Likewise.
21532
21533 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21534 mainly the body of pmap_getport. Add parameters to specify timeouts.
21535 (pmap_getport): Use __libc_rpc_getport.
21536 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21537 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21538 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21539
21540 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21541
21542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21543 fanotify_mark.
21544
21545 2010-08-27 Roland McGrath <roland@redhat.com>
21546
21547 * sysdeps/i386/i686/multiarch/Makefile
21548 (CFLAGS-varshift.c): New variable.
21549
21550 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21551
21552 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21553 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21554
21555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21556
21557 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21558
21559 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21560
21561 * sysdeps/x86_64/strlen.S: Unroll the loop.
21562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21563 strlen-sse2 strlen-sse2-bsf.
21564 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21565 __strlen_no_bsf if bit_Slow_BSF is set.
21566 (__strlen_sse42): Removed.
21567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21568 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21569
21570 2010-08-25 Roland McGrath <roland@redhat.com>
21571
21572 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21573 * sysdeps/x86_64/multiarch/varshift.c: New file.
21574 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21575 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21576 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21577 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21578
21579 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21582 strlen-sse2 strlen-sse2-bsf.
21583 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21584 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21585 (__strlen_sse2): Removed.
21586 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21589 bit_Slow_BSF for Atom.
21590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21591 (index_Slow_BSF): Define.
21592 (HAS_SLOW_BSF): Define.
21593
21594 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21595
21596 [BZ #10851]
21597 * resolv/res_init.c (__res_vinit): When no server address at all
21598 is given default to loopback.
21599
21600 2010-08-24 Roland McGrath <roland@redhat.com>
21601
21602 * configure.in: Remove config-name.h generation.
21603 * configure: Regenerated.
21604 * config-name.in: File removed.
21605 * scripts/config-uname.sh: New file.
21606 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21607 ($(objdir)config-name.h): New target.
21608
21609 * sunrpc/rpc_parse.h: Avoid nested comment.
21610
21611 2010-08-24 Richard Henderson <rth@redhat.com>
21612 Ulrich Drepper <drepper@redhat.com>
21613 H.J. Lu <hongjiu.lu@intel.com>
21614
21615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21617 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21618 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21619 _mm_alignr_epi8 with _mm_loadu_si128.
21620 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21621 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21622 (__m128i_shift_right): Removed.
21623 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21624 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21625 * sysdeps/x86_64/multiarch/varshift.h: New file.
21626 * sysdeps/x86_64/multiarch/varshift.S: New file.
21627
21628 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21629
21630 * configure.in: Move assembler checks to before sysdep dir checking.
21631
21632 2010-08-20 Petr Baudis <pasky@suse.cz>
21633
21634 * LICENSES: Sync the sunrpc license.
21635
21636 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21637
21638 * sunrpc/auth_des.c: Update copyright notice once again.
21639 * sunrpc/auth_none.c: Likewise.
21640 * sunrpc/auth_unix.c: Likewise.
21641 * sunrpc/authdes_prot.c: Likewise.
21642 * sunrpc/authuxprot.c: Likewise.
21643 * sunrpc/bindrsvprt.c: Likewise.
21644 * sunrpc/clnt_gen.c: Likewise.
21645 * sunrpc/clnt_perr.c: Likewise.
21646 * sunrpc/clnt_raw.c: Likewise.
21647 * sunrpc/clnt_simp.c: Likewise.
21648 * sunrpc/clnt_tcp.c: Likewise.
21649 * sunrpc/clnt_udp.c: Likewise.
21650 * sunrpc/clnt_unix.c: Likewise.
21651 * sunrpc/des_crypt.c: Likewise.
21652 * sunrpc/des_soft.c: Likewise.
21653 * sunrpc/get_myaddr.c: Likewise.
21654 * sunrpc/getrpcport.c: Likewise.
21655 * sunrpc/key_call.c: Likewise.
21656 * sunrpc/key_prot.c: Likewise.
21657 * sunrpc/openchild.c: Likewise.
21658 * sunrpc/pm_getmaps.c: Likewise.
21659 * sunrpc/pm_getport.c: Likewise.
21660 * sunrpc/pmap_clnt.c: Likewise.
21661 * sunrpc/pmap_prot.c: Likewise.
21662 * sunrpc/pmap_prot2.c: Likewise.
21663 * sunrpc/pmap_rmt.c: Likewise.
21664 * sunrpc/rpc/auth.h: Likewise.
21665 * sunrpc/rpc/auth_unix.h: Likewise.
21666 * sunrpc/rpc/clnt.h: Likewise.
21667 * sunrpc/rpc/des_crypt.h: Likewise.
21668 * sunrpc/rpc/key_prot.h: Likewise.
21669 * sunrpc/rpc/netdb.h: Likewise.
21670 * sunrpc/rpc/pmap_clnt.h: Likewise.
21671 * sunrpc/rpc/pmap_prot.h: Likewise.
21672 * sunrpc/rpc/pmap_rmt.h: Likewise.
21673 * sunrpc/rpc/rpc.h: Likewise.
21674 * sunrpc/rpc/rpc_des.h: Likewise.
21675 * sunrpc/rpc/rpc_msg.h: Likewise.
21676 * sunrpc/rpc/svc.h: Likewise.
21677 * sunrpc/rpc/svc_auth.h: Likewise.
21678 * sunrpc/rpc/types.h: Likewise.
21679 * sunrpc/rpc/xdr.h: Likewise.
21680 * sunrpc/rpc_clntout.c: Likewise.
21681 * sunrpc/rpc_cmsg.c: Likewise.
21682 * sunrpc/rpc_common.c: Likewise.
21683 * sunrpc/rpc_cout.c: Likewise.
21684 * sunrpc/rpc_dtable.c: Likewise.
21685 * sunrpc/rpc_hout.c: Likewise.
21686 * sunrpc/rpc_main.c: Likewise.
21687 * sunrpc/rpc_parse.c: Likewise.
21688 * sunrpc/rpc_parse.h: Likewise.
21689 * sunrpc/rpc_prot.c: Likewise.
21690 * sunrpc/rpc_sample.c: Likewise.
21691 * sunrpc/rpc_scan.c: Likewise.
21692 * sunrpc/rpc_scan.h: Likewise.
21693 * sunrpc/rpc_svcout.c: Likewise.
21694 * sunrpc/rpc_tblout.c: Likewise.
21695 * sunrpc/rpc_util.c: Likewise.
21696 * sunrpc/rpc_util.h: Likewise.
21697 * sunrpc/rpcinfo.c: Likewise.
21698 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21699 * sunrpc/rpcsvc/key_prot.x: Likewise.
21700 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21701 * sunrpc/rpcsvc/mount.x: Likewise.
21702 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21703 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21704 * sunrpc/rpcsvc/rex.x: Likewise.
21705 * sunrpc/rpcsvc/rstat.x: Likewise.
21706 * sunrpc/rpcsvc/rusers.x: Likewise.
21707 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21708 * sunrpc/rpcsvc/spray.x: Likewise.
21709 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21710 * sunrpc/rtime.c: Likewise.
21711 * sunrpc/svc.c: Likewise.
21712 * sunrpc/svc_auth.c: Likewise.
21713 * sunrpc/svc_authux.c: Likewise.
21714 * sunrpc/svc_raw.c: Likewise.
21715 * sunrpc/svc_run.c: Likewise.
21716 * sunrpc/svc_simple.c: Likewise.
21717 * sunrpc/svc_tcp.c: Likewise.
21718 * sunrpc/svc_udp.c: Likewise.
21719 * sunrpc/svc_unix.c: Likewise.
21720 * sunrpc/svcauth_des.c: Likewise.
21721 * sunrpc/xcrypt.c: Likewise.
21722 * sunrpc/xdr.c: Likewise.
21723 * sunrpc/xdr_array.c: Likewise.
21724 * sunrpc/xdr_float.c: Likewise.
21725 * sunrpc/xdr_mem.c: Likewise.
21726 * sunrpc/xdr_rec.c: Likewise.
21727 * sunrpc/xdr_ref.c: Likewise.
21728 * sunrpc/xdr_sizeof.c: Likewise.
21729 * sunrpc/xdr_stdio.c: Likewise.
21730
21731 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21732 handling.
21733
21734 2010-08-19 Andreas Schwab <schwab@redhat.com>
21735
21736 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21737
21738 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21739
21740 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21741 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21742 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21743 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21744 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21745 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21746 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21747 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21749 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21750 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21751 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21752 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21753 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21754
21755 2010-07-26 Anton Blanchard <anton@samba.org>
21756
21757 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21758 * malloc/arena.c (heap_trim): Likewise.
21759
21760 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21761
21762 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21763 here. Not...
21764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21765 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21766
21767 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21768
21769 * sysdeps/i386/elf/Makefile: New file.
21770
21771 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21772
21773 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21774 from fanotify_init.
21775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21776 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21777
21778 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21779
21780 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21781 of strncasecmp_l.
21782 * sysdeps/multiarch/strcmp.S: Likewise.
21783
21784 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21785
21786 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21787 strncase_l-nonascii.
21788 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21789 Add strncase_l-ssse3.
21790 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21791 * sysdeps/x86_64/strcmp.S: Likewise.
21792 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21793 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21794 * sysdeps/x86_64/strncase.S: New file.
21795 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21796 * sysdeps/x86_64/strncase_l.S: New file.
21797 * string/Makefile (strop-tests): Add strncasecmp.
21798 * string/test-strncasecmp.c: New file.
21799
21800 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21801 warning.
21802
21803 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21804 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21805
21806 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21807
21808 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21809
21810 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21811
21812 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21813 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21814 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21815
21816 2010-05-01 Alan Modra <amodra@gmail.com>
21817
21818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21819 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21820 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21821 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21822 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21823 tidying. Don't tail-call __sigjmp_save for static lib.
21824 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21825 save location.
21826 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21827 (CALL_MCOUNT): Add eh info, and nop after bl.
21828 (TAIL_CALL_SYSCALL_ERROR): New macro.
21829 (PSEUDO_RET): Use it.
21830 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21831 Correct save location of integer regs and cr.
21832 (_dl_profile_resolve): Correct cr save location. Delete nops
21833 after bl when SHARED. Reduce cfi size a little by better
21834 placement of cfi directives.
21835 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21836 make a stack frame. Instead use parm save area as a temp.
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21838 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21840 Don't make a stack frame for parent, use parm save area.
21841 Increase child stack frame to 112 bytes. Don't save unused reg,
21842 and adjust reg usage. Set up cfi on error recovery and
21843 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21845 (__makecontext): Add dummy nop after jump to exit.
21846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21847 Use correct parm save area and cr save, reduce stack frame.
21848 Correct cfi for possible PSEUDO_RET frame setup.
21849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21850 Branch to local label emitted by PSEUDO_RET rather than
21851 __syscall_error.
21852
21853 2010-08-12 Andreas Schwab <schwab@redhat.com>
21854
21855 [BZ #11904]
21856 * locale/programs/locale.c (print_assignment): New function.
21857 (show_locale_vars): Use it.
21858
21859 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21860
21861 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21862 field.
21863 (struct statfs64): Likewise.
21864 (_STATFS_F_FLAGS): Define.
21865 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21867 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21868 (ST_VALID): Define locally.
21869 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21870 __statvfs_getflags, use the provided value.
21871 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21872 __ASSUME_STATFS_F_FLAGS.
21873
21874 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21875
21876 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21877 Add sys/fanotify.h.
21878 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21879 fanotify_mask for GLIBC_2.13.
21880 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21881 fanotify_init and fanotify_mark.
21882 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21883 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21884
21885 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21886 Add prlimit.
21887 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21888 prlimit64 for GLIBC_2.13.
21889 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21890 prlimit64.
21891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21892 syscall.
21893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21894 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21895 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21896 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21898 add prlimit alias.
21899 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21900
21901 [BZ #11903]
21902 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21903 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21904
21905 * nss/Makefile: Add rules to build and run tst-nss-test1.
21906 * shlib-versions: Add entry for libnss_test1.
21907 * nss/nss_test1.c: New file.
21908 * nss/tst-nss-test1.c: New file.
21909
21910 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21911 (__nss_configure_lookup): Set appropriate entry in
21912 __nss_configure_lookup to true.
21913 * nss/nsswitch.h: Define enum with indeces of databases in
21914 databases and __nss_database_custom arrays. Declare
21915 __nss_database_custom.
21916 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21917 to avoid using nscd when custom rules are installed.
21918 * nss/getXXbyYY_r.c: Likewise.
21919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21920
21921 * nss/nss_files/files-parse.c: Whitespace fixes.
21922
21923 2010-08-09 Ulrich Drepper <drepper@redhat.com>
21924
21925 [BZ #11883]
21926 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21927 * posix/fnmatch_loop.c: Likewise.
21928
21929 2010-07-17 Andi Kleen <ak@linux.intel.com>
21930
21931 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21932 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21933 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21934 * Versions.def [GLIBC_2.13]: Add.
21935
21936 2010-08-06 Ulrich Drepper <drepper@redhat.com>
21937
21938 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21939 Also fail if tpwd after pwuid call is NULL.
21940
21941 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21942
21943 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21944 when converting to ms.
21945
21946 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21947
21948 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21949 EOPNOTSUPP errors with ENOTTY.
21950 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21951 EOPNOTSUPP errors with ENOTTY.
21952
21953 2010-07-31 Ulrich Drepper <drepper@redhat.com>
21954
21955 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21956 Add strcasecmp_l-ssse3.
21957 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21958 strcasecmp.
21959 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21960 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21961 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21962
21963 2010-07-30 Ulrich Drepper <drepper@redhat.com>
21964
21965 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21966
21967 * string/Makefile (strop-tests): Add strcasecmp.
21968 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21969 strcasecmp_l-nonascii.
21970 (gen-as-const-headers): Add locale-defines.sym.
21971 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21972 * sysdeps/x86_64/strcasecmp.S: New file.
21973 * sysdeps/x86_64/strcasecmp_l.S: New file.
21974 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21975 * sysdeps/x86_64/locale-defines.sym: New file.
21976 * string/test-strcasecmp.c: New file.
21977
21978 * string/test-strcasestr.c: Test both ends of the range of characters.
21979 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21980
21981 2010-07-29 Roland McGrath <roland@redhat.com>
21982
21983 [BZ #11856]
21984 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21985
21986 2010-07-27 Ulrich Drepper <drepper@redhat.com>
21987
21988 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21989 for ld.so.
21990
21991 2010-07-27 Andreas Schwab <schwab@redhat.com>
21992
21993 * manual/memory.texi (Malloc Tunable Parameters): Document
21994 M_PERTURB.
21995
21996 2010-07-26 Roland McGrath <roland@redhat.com>
21997
21998 [BZ #11840]
21999 * configure.in (-fgnu89-inline check): Set and substitute
22000 gnu89_inline, not libc_cv_gnu89_inline.
22001 * configure: Regenerated.
22002 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22003
22004 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22005
22006 * string/test-strnlen.c: New file.
22007 * string/Makefile (strop-tests): Add strnlen.
22008 * string/tester.c (test_strnlen): Add a few more test cases.
22009 * string/tst-strlen.c: Better error reporting.
22010
22011 * sysdeps/x86_64/strnlen.S: New file.
22012
22013 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22014
22015 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22016 lower-latency instructions.
22017
22018 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22019
22020 * string/test-strcasestr.c: New file.
22021 * string/test-strstr.c: New file.
22022 * string/Makefile (strop-tests): Add strstr and strcasestr.
22023 * string/str-two-way.h: Don't undefine MAX.
22024 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22025
22026 2010-07-21 Andreas Schwab <schwab@redhat.com>
22027
22028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22029 strcasestr-nonascii.
22030 (CFLAGS-strcasestr-nonascii.c): Define.
22031 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22032 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22033 Remove unused attribute.
22034
22035 2010-07-20 Roland McGrath <roland@redhat.com>
22036
22037 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22038 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22039 ld.so.cache was broken. With it, there is no way to disable dsocaps
22040 like LD_HWCAP_MASK can disable hwcaps.
22041
22042 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22043
22044 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22045
22046 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22047
22048 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22049 call in strcasestr.
22050 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22051 __strcasestr_sse42_nonascii.
22052 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22053 strcasestr-nonascii.c.
22054 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22055
22056 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22057
22058 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22059 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22060 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22061 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22062
22063 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22064
22065 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22066 fcntl.
22067
22068 2010-07-06 Andreas Schwab <schwab@redhat.com>
22069
22070 [BZ #11577]
22071 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22072 dl_signal_cerror.
22073
22074 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22075
22076 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22077 _PC_PIPE_BUF using F_GETPIPE_SZ.
22078
22079 2010-07-05 Roland McGrath <roland@redhat.com>
22080
22081 * manual/arith.texi (Rounding Functions): Fix rint description
22082 implicit in round description.
22083
22084 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22085
22086 * elf/Makefile: Fix linking for a few tests to make recent linker
22087 happy.
22088
22089 2010-06-30 Andreas Schwab <schwab@redhat.com>
22090
22091 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22092 $(common-objpfx)libc_nonshared.a.
22093
22094 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22095
22096 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22097 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22098 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22099 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22100 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22101 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22102 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22103 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22118 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22119 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22120 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22121 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22122 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22123 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22124 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22125 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22126 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22127 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22128 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22129 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22144
22145 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22146
22147 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22148 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22149 * string/memmove.c (memmove): Renamed to ...
22150 (MEMMOVE): ...this. Default to memmove.
22151 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22152 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22153 (END_CHK): Define.
22154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22155 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22156 mempcpy-ssse3-back memmove-ssse3-back.
22157 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22158 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22159 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22160 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22161 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22162 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22163 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22164 * sysdeps/x86_64/multiarch/memmove.c: New file.
22165 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22166 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22167 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22168 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22169 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22171 Define.
22172 (index_Fast_Copy_Backward): Define.
22173 (HAS_ARCH_FEATURE): Define.
22174 (HAS_FAST_REP_STRING): Define.
22175 (HAS_FAST_COPY_BACKWARD): Define.
22176
22177 2010-06-21 Andreas Schwab <schwab@redhat.com>
22178
22179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22180 Restore proper fallback handling.
22181
22182 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22183
22184 [BZ #11701]
22185 * posix/group_member.c (__group_member): Correct checking loop.
22186
22187 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22188 OOM in getpwuid_r correctly. Return error number when the caller
22189 should return, otherwise -1.
22190 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22191 call returning > 0 value.
22192 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22193
22194 2010-06-07 Andreas Schwab <schwab@redhat.com>
22195
22196 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22197 libc_nonshared.a from targets in modules-names.
22198
22199 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22200
22201 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22202 requires it.
22203
22204 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22205
22206 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22207 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22208 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22209 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22210
22211 2010-06-02 Andreas Schwab <schwab@redhat.com>
22212
22213 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22214
22215 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22216
22217 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22218 and F_GETPIPE_SZ.
22219 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22220 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22225
22226 2010-06-14 Roland McGrath <roland@redhat.com>
22227
22228 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22229
22230 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22231
22232 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22233 __REDIRECT followed by __THROW.
22234 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22235 * posix/getopt.h (getopt): Likewise.
22236
22237 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22238
22239 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22240 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22241 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22242 in AT_FLAGS.
22243 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22244 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22245
22246 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22247
22248 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22249
22250 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22251
22252 [BZ #11640]
22253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22254 Properly check family and model.
22255
22256 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22257
22258 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22259
22260 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22261
22262 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22263
22264 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22265
22266 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22267 symbol reference.
22268
22269 2010-05-19 Andreas Schwab <schwab@redhat.com>
22270
22271 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22272 symbol reference.
22273
22274 2010-05-21 Andreas Schwab <schwab@redhat.com>
22275
22276 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22277 and internal_recvmmsg.
22278 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22279 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22280 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22281 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22282
22283 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22284 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22285 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22286
22287 2010-05-20 Andreas Schwab <schwab@redhat.com>
22288
22289 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22290
22291 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22292
22293 POWER7 optimizations.
22294 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22295 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22296
22297 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22298
22299 * version.h: Update for 2.13 development version.
22300
22301 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22302
22303 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22304 exceptions. Return 0.
22305
22306 2010-05-07 Roland McGrath <roland@redhat.com>
22307
22308 * elf/ldconfig.c (main): Add a const.
22309
22310 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22311
22312 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22313 (args_options): Add no-idn option.
22314 (ahosts_keys_int): Add idn_flags to ai_flags.
22315 (parse_option): Handle 'i' option to clear idn_flags.
22316
22317 * malloc/malloc.c (_int_free): Possible race in the most recently
22318 added check. Only act on the data if no current modification
22319 happened.
22320
22321 See ChangeLog.17 for earlier changes.