]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update tzcode from upstream git and support --with-bugurl for it.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8ca89318
JM
12012-11-13 Joseph Myers <joseph@codesourcery.com>
2
e27d476a
JM
3 * timezone/tzselect.ksh: Update from tzcode git revision
4 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5 * timezone/zdump.c: Likewise.
6 * timezone/zic.c: Likewise.
7 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8 in TZVERSION setting, not $(PKGVERSION).
9 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10 REPORT_BUGS_TO settings.
11
8ca89318
JM
12 [BZ #14838]
13 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14 macro.
15
47594329
MS
162012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17
18 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19 detection to immediately after _FP_ROUND().
20 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21 bits are 0.
22
640ac3f1
DM
232012-11-11 David S. Miller <davem@davemloft.net>
24
25 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26 inttypes.h
27 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28 __close rather than their public counterparts.
29
3d2577bb
JM
302012-11-10 Joseph Myers <joseph@codesourcery.com>
31
32 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33 file.
34 [UNIX98] (sem_timedwait): Do not expect.
35 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36 [XPG4 || UNIX98] (sockatmark): Do not expect.
37 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38 (clock_getcpuclockid): Do not expect.
39 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41 Do not expect.
42 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44 [UNIX98] (vwscanf): Likewise.
45 [UNIX98] (vswscanf): Likewise.
46
fb1ae1ee
JM
472012-11-09 Joseph Myers <joseph@codesourcery.com>
48
9ec6f8bd
JM
49 * timezone/version.h: Remove file.
50 * timezone/README: Do not refer to version.h.
51 * timezone/Makefile ($(objpfx)zic.o): New dependency on
52 $(objpfx)version.h.
53 ($(objpfx)zdump.o): Likewise.
c3f81911 54 ($(objpfx)version.h): New target.
9ec6f8bd 55
0aa8f8a1
JM
56 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57 2012i.
58 * timezone/README: Don't mention modification to tzselect.ksh.
59 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60 work on unmodified tzselect.ksh. Substitute version numbers in
61 tzselect.ksh.
62
4e87147f
JM
63 * Makefile (format-me): Remove.
64 (INSTALL): Adjust indentation. Use commands directly instead of
65 using $(format-me).
66
8b748aed
JM
67 * aclocal.m4 (ACX_PKGVERSION): New macro.
68 (ACX_BUGURL): Likewise.
69 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
70 (PKGVERSION): New AC_DEFINE_UNQUOTED.
71 (REPORT_BUGS_TO): Likewise.
72 * configure: Regenerated.
73 * config.h.in (PKGVERSION): New macro.
74 (REPORT_BUGS_TO): Likewise.
75 * config.make.in (PKGVERSION): New variable.
76 (PKGVERSION_TEXI): Likewise.
77 (REPORT_BUGS_TO): Likewise.
78 (REPORT_BUGS_TEXI): Likewise.
79 * Makefile (format-me): Use -I$(common-objpfx)manual.
80 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
81 ($(common-objpfx)manual/%): New target.
82 (manual/%): Remove target.
83 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
84 (print_version): Use PKGVERSION.
85 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
86 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
87 and REPORT_BUGS_TO.
88 ($(objpfx)xtrace): Likewise.
89 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
90 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
91 (print_version): Use PKGVERSION.
92 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
93 (do_version): Use PKGVERSION.
94 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
95 REPORT_BUGS_TO.
96 (common-ldd-rewrite): Likewise.
97 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
98 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
99 (print_version): Use PKGVERSION.
100 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
101 * elf/pldd.c (argp_program_bug_address): Remove variable.
102 (more_help): New function.
103 (argp): Use more_help.
104 (print_version): Use PKGVERSION.
105 * elf/sln.c (main): Use PKGVERSION.
106 (usage): Use REPORT_BUGS_TO.
107 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
108 (top level): Use PKGVERSION.
109 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
110 (print_version): Use PKGVERSION.
111 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
112 (print_version): Use PKGVERSION.
113 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
114 (print_version): Use PKGVERSION.
115 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
116 (print_version): Use PKGVERSION.
117 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
118 (print_version): Use PKGVERSION.
119 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
120 (print_version): Use PKGVERSION.
121 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
122 and BUGURL.
123 ($(objpfx)memusage): Likewise.
124 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
125 (do_version): Use PKGVERSION.
126 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
127 (print_version): Use PKGVERSION.
128 * malloc/mtrace.pl ($PACKAGE): Remove variable.
129 ($PKGVERSION): New variable.
130 ($REPORT_BUGS_TO): Likewise.
131 (usage): Use $REPORT_BUGS_TO.
132 (top level): Use $PKGVERSION.
133 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
134 ($(objpfx)pkgvers.texi): New rule.
135 ($(objpfx)stamp-pkgvers): Likewise.
136 * manual/install.texi: Include pkgvers.texi.
137 (--with-pkgversion): Document new configure option.
138 (--with-bugurl): Likewise.
139 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
140 than necessarily for this particular distribution. Use
141 REPORT_BUGS_TO for where to report bugs.
142 * INSTALL: Regenerated.
143 * manual/libc.texinfo: Include pkgvers.texi.
144 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
145 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
146 (print_version): Use PKGVERSION.
147 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
148 (print_version): Use PKGVERSION.
149 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
150 (print_version): Use PKGVERSION.
151 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
152 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
153 macro.
154 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
155 (print_version): Use PKGVERSION.
156 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
157 (print_version): Use PKGVERSION.
158 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
159 and PKGVERSION.
160
92e4b6a9
JM
161 * timezone/checktab.awk: Update from tzcode 2012i.
162 * timezone/ialloc.c: Likewise.
163 * timezone/private.h: Likewise.
164 * timezone/scheck.c: Likewise.
165 * timezone/tzfile.h: Likewise.
166 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
167 (TZVERSION): Hardcode tzcode version number.
168 * timezone/zdump.c: Update from tzcode 2012i.
169 * timezone/zic.c: Likewise.
170 * timezone/version.h: New file.
171 * timezone/README: Describe version.h. Update upstream location.
172
9bde902c
JM
173 [BZ #14824]
174 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
175 (mktemp): Enable declaration.
176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
180 Likewise.
181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
182 Likewise.
183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
184 Likewise.
185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
186 Likewise.
187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
188 Likewise.
189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
190 Likewise.
191
fb1ae1ee
JM
192 [BZ #14821]
193 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
194 offset in buffer as u_int32_t not u_long. Consistently use memcpy
195 for copies of such integer values.
196 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
197 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
198
2c1adbcb
AJ
1992012-11-09 Andreas Jaeger <aj@suse.de>
200
201 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
202 definitions and declarations that are provided by
203 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
204
d0f8457e
AK
2052012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
206
207 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
208 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
209 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
210 definition.
211
57241e26
MS
2122012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
213
214 * elf/elf.h: Update comment before AArch64 relocations.
215
60e8270d
DM
2162012-11-07 David S. Miller <davem@davemloft.net>
217
218 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
219 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
220 (__start_context): Declare.
221 (__makecontext_ret): Delete.
222 (__makecontext): Hook up __start_context instead of
223 __makecontext_ret.
224 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
225 (sysdep_routines): Add __start_context when in stdlib.
226
0fbb0fbc
JM
2272012-11-07 Joseph Myers <joseph@codesourcery.com>
228
229 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
230 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
231 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
232 hardcoded "nm".
233 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
234 (READELF): New variable. Use it instead of hardcoded "readelf".
235
eb48db7e
L
2362012-11-07 H.J. Lu <hongjiu.lu@intel.com>
237
238 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
239 * sysdeps/x86/Makefile: Here.
240 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
241 * sysdeps/x86/tst-xmmymm.sh: This.
242
05bcf62a
JM
2432012-11-07 Joseph Myers <joseph@codesourcery.com>
244
c4b6cf53
JM
245 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
246 expectations.
247 [UNIX98] (pthread_barrier_t): Do not expect.
248 [UNIX98] (pthread_barrierattr_t): Likewise.
249 [UNIX98] (pthread_spinlock_t): Likewise.
250 [UNIX98] (pthread_barrier_destroy): Likewise.
251 [UNIX98] (pthread_barrier_init): Likewise.
252 [UNIX98] (pthread_barrier_wait): Likewise.
253 [UNIX98] (pthread_barrierattr_destroy): Likewise.
254 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
255 [UNIX98] (pthread_barrierattr_init): Likewise.
256 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
257 [UNIX98] (pthread_getcpuclockid): Likewise.
258 [UNIX98] (pthread_mutex_timedlock): Likewise.
259 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
260 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
261 [UNIX98] (pthread_sigmask): Likewise.
262 [UNIX98] (pthread_spin_destroy): Likewise.
263 [UNIX98] (pthread_spin_init): Likewise.
264 [UNIX98] (pthread_spin_lock): Likewise.
265 [UNIX98] (pthread_spin_trylock): Likewise.
266 [UNIX98] (pthread_spin_unlock): Likewise.
267 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
268 Do not expect.
269 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
270 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
271 [XPG3 || XPG4] (pthread_cond_t): Likewise.
272 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
273 [XPG3 || XPG4] (pthread_key_t): Likewise.
274 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
275 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
276 [XPG3 || XPG4] (pthread_once_t): Likewise.
277 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
278 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
279 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
280 [XPG3 || XPG4] (pthread_t): Likewise.
281
cbe6e120
JM
282 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
283 not expect.
284 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
285
1b126443
JM
286 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
287 Change function return type to int.
288
b961a573
JM
289 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
290 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
291 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
292 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
293 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
294 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
295 [!POSIX] (posix_madvise): Likewise.
296 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
297 && !UNIX98].
298 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
299 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
300 (mode_t): Likewise.
301 (posix_mem_offset): Likewise.
302 (posix_typed_mem_get_info): Likewise.
303 (posix_typed_mem_open): Likewise.
304
9e188909
JM
305 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
306 Change condition to [XOPEN2K8].
307
05bcf62a
JM
308 * conform/conformtest.pl: Preprocess allow-header data with -x c
309 instead of from stdin.
310 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
311 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
312 [C99-based standards] (cerfc): Likewise.
313 [C99-based standards] (cexp2): Likewise.
314 [C99-based standards] (cexpm1): Likewise.
315 [C99-based standards] (clog10): Likewise.
316 [C99-based standards] (clog1p): Likewise.
317 [C99-based standards] (clog2): Likewise.
318 [C99-based standards] (clgamma): Likewise.
319 [C99-based standards] (ctgamma): Likewise.
320 [C99-based standards] (cerff): Likewise.
321 [C99-based standards] (cerfcf): Likewise.
322 [C99-based standards] (cexp2f): Likewise.
323 [C99-based standards] (cexpm1f): Likewise.
324 [C99-based standards] (clog10f): Likewise.
325 [C99-based standards] (clog1pf): Likewise.
326 [C99-based standards] (clog2f): Likewise.
327 [C99-based standards] (clgammaf): Likewise.
328 [C99-based standards] (ctgammaf): Likewise.
329 [C99-based standards] (cerfl): Likewise.
330 [C99-based standards] (cerfcl): Likewise.
331 [C99-based standards] (cexp2l): Likewise.
332 [C99-based standards] (cexpm1l): Likewise.
333 [C99-based standards] (clog10l): Likewise.
334 [C99-based standards] (clog1pl): Likewise.
335 [C99-based standards] (clog2l): Likewise.
336 [C99-based standards] (clgammal): Likewise.
337 [C99-based standards] (ctgammal): Likewise.
338 * conform/data/inttypes.h-data [C99-based standards]: Include
339 stdint.h-data. Remove all expectations for stdint.h contents.
340 [C99-based standards] (PRI*): Do not allow.
341 [C99-based standards] (SCN*): Likewise.
342 [C99-based standards] (*_t): Likewise.
343 [C99-based-standards] (PRId8): Expect macro.
344 [C99-based-standards] (PRIi8): Likewise.
345 [C99-based-standards] (PRIo8): Likewise.
346 [C99-based-standards] (PRIu8): Likewise.
347 [C99-based-standards] (PRIx8): Likewise.
348 [C99-based-standards] (PRIX8): Likewise.
349 [C99-based-standards] (SCNd8): Likewise.
350 [C99-based-standards] (SCNi8): Likewise.
351 [C99-based-standards] (SCNo8): Likewise.
352 [C99-based-standards] (SCNu8): Likewise.
353 [C99-based-standards] (SCNx8): Likewise.
354 [C99-based-standards] (PRIdLEAST8): Likewise.
355 [C99-based-standards] (PRIiLEAST8): Likewise.
356 [C99-based-standards] (PRIoLEAST8): Likewise.
357 [C99-based-standards] (PRIuLEAST8): Likewise.
358 [C99-based-standards] (PRIxLEAST8): Likewise.
359 [C99-based-standards] (PRIXLEAST8): Likewise.
360 [C99-based-standards] (SCNdLEAST8): Likewise.
361 [C99-based-standards] (SCNiLEAST8): Likewise.
362 [C99-based-standards] (SCNoLEAST8): Likewise.
363 [C99-based-standards] (SCNuLEAST8): Likewise.
364 [C99-based-standards] (SCNxLEAST8): Likewise.
365 [C99-based-standards] (PRIdFAST8): Likewise.
366 [C99-based-standards] (PRIiFAST8): Likewise.
367 [C99-based-standards] (PRIoFAST8): Likewise.
368 [C99-based-standards] (PRIuFAST8): Likewise.
369 [C99-based-standards] (PRIxFAST8): Likewise.
370 [C99-based-standards] (PRIXFAST8): Likewise.
371 [C99-based-standards] (SCNdFAST8): Likewise.
372 [C99-based-standards] (SCNiFAST8): Likewise.
373 [C99-based-standards] (SCNoFAST8): Likewise.
374 [C99-based-standards] (SCNuFAST8): Likewise.
375 [C99-based-standards] (SCNxFAST8): Likewise.
376 [C99-based-standards] (PRId16): Likewise.
377 [C99-based-standards] (PRIi16): Likewise.
378 [C99-based-standards] (PRIo16): Likewise.
379 [C99-based-standards] (PRIu16): Likewise.
380 [C99-based-standards] (PRIx16): Likewise.
381 [C99-based-standards] (PRIX16): Likewise.
382 [C99-based-standards] (SCNd16): Likewise.
383 [C99-based-standards] (SCNi16): Likewise.
384 [C99-based-standards] (SCNo16): Likewise.
385 [C99-based-standards] (SCNu16): Likewise.
386 [C99-based-standards] (SCNx16): Likewise.
387 [C99-based-standards] (PRIdLEAST16): Likewise.
388 [C99-based-standards] (PRIiLEAST16): Likewise.
389 [C99-based-standards] (PRIoLEAST16): Likewise.
390 [C99-based-standards] (PRIuLEAST16): Likewise.
391 [C99-based-standards] (PRIxLEAST16): Likewise.
392 [C99-based-standards] (PRIXLEAST16): Likewise.
393 [C99-based-standards] (SCNdLEAST16): Likewise.
394 [C99-based-standards] (SCNiLEAST16): Likewise.
395 [C99-based-standards] (SCNoLEAST16): Likewise.
396 [C99-based-standards] (SCNuLEAST16): Likewise.
397 [C99-based-standards] (SCNxLEAST16): Likewise.
398 [C99-based-standards] (PRIdFAST16): Likewise.
399 [C99-based-standards] (PRIiFAST16): Likewise.
400 [C99-based-standards] (PRIoFAST16): Likewise.
401 [C99-based-standards] (PRIuFAST16): Likewise.
402 [C99-based-standards] (PRIxFAST16): Likewise.
403 [C99-based-standards] (PRIXFAST16): Likewise.
404 [C99-based-standards] (SCNdFAST16): Likewise.
405 [C99-based-standards] (SCNiFAST16): Likewise.
406 [C99-based-standards] (SCNoFAST16): Likewise.
407 [C99-based-standards] (SCNuFAST16): Likewise.
408 [C99-based-standards] (SCNxFAST16): Likewise.
409 [C99-based-standards] (PRId32): Likewise.
410 [C99-based-standards] (PRIi32): Likewise.
411 [C99-based-standards] (PRIo32): Likewise.
412 [C99-based-standards] (PRIu32): Likewise.
413 [C99-based-standards] (PRIx32): Likewise.
414 [C99-based-standards] (PRIX32): Likewise.
415 [C99-based-standards] (SCNd32): Likewise.
416 [C99-based-standards] (SCNi32): Likewise.
417 [C99-based-standards] (SCNo32): Likewise.
418 [C99-based-standards] (SCNu32): Likewise.
419 [C99-based-standards] (SCNx32): Likewise.
420 [C99-based-standards] (PRIdLEAST32): Likewise.
421 [C99-based-standards] (PRIiLEAST32): Likewise.
422 [C99-based-standards] (PRIoLEAST32): Likewise.
423 [C99-based-standards] (PRIuLEAST32): Likewise.
424 [C99-based-standards] (PRIxLEAST32): Likewise.
425 [C99-based-standards] (PRIXLEAST32): Likewise.
426 [C99-based-standards] (SCNdLEAST32): Likewise.
427 [C99-based-standards] (SCNiLEAST32): Likewise.
428 [C99-based-standards] (SCNoLEAST32): Likewise.
429 [C99-based-standards] (SCNuLEAST32): Likewise.
430 [C99-based-standards] (SCNxLEAST32): Likewise.
431 [C99-based-standards] (PRIdFAST32): Likewise.
432 [C99-based-standards] (PRIiFAST32): Likewise.
433 [C99-based-standards] (PRIoFAST32): Likewise.
434 [C99-based-standards] (PRIuFAST32): Likewise.
435 [C99-based-standards] (PRIxFAST32): Likewise.
436 [C99-based-standards] (PRIXFAST32): Likewise.
437 [C99-based-standards] (SCNdFAST32): Likewise.
438 [C99-based-standards] (SCNiFAST32): Likewise.
439 [C99-based-standards] (SCNoFAST32): Likewise.
440 [C99-based-standards] (SCNuFAST32): Likewise.
441 [C99-based-standards] (SCNxFAST32): Likewise.
442 [C99-based-standards] (PRId64): Likewise.
443 [C99-based-standards] (PRIi64): Likewise.
444 [C99-based-standards] (PRIo64): Likewise.
445 [C99-based-standards] (PRIu64): Likewise.
446 [C99-based-standards] (PRIx64): Likewise.
447 [C99-based-standards] (PRIX64): Likewise.
448 [C99-based-standards] (SCNd64): Likewise.
449 [C99-based-standards] (SCNi64): Likewise.
450 [C99-based-standards] (SCNo64): Likewise.
451 [C99-based-standards] (SCNu64): Likewise.
452 [C99-based-standards] (SCNx64): Likewise.
453 [C99-based-standards] (PRIdLEAST64): Likewise.
454 [C99-based-standards] (PRIiLEAST64): Likewise.
455 [C99-based-standards] (PRIoLEAST64): Likewise.
456 [C99-based-standards] (PRIuLEAST64): Likewise.
457 [C99-based-standards] (PRIxLEAST64): Likewise.
458 [C99-based-standards] (PRIXLEAST64): Likewise.
459 [C99-based-standards] (SCNdLEAST64): Likewise.
460 [C99-based-standards] (SCNiLEAST64): Likewise.
461 [C99-based-standards] (SCNoLEAST64): Likewise.
462 [C99-based-standards] (SCNuLEAST64): Likewise.
463 [C99-based-standards] (SCNxLEAST64): Likewise.
464 [C99-based-standards] (PRIdFAST64): Likewise.
465 [C99-based-standards] (PRIiFAST64): Likewise.
466 [C99-based-standards] (PRIoFAST64): Likewise.
467 [C99-based-standards] (PRIuFAST64): Likewise.
468 [C99-based-standards] (PRIxFAST64): Likewise.
469 [C99-based-standards] (PRIXFAST64): Likewise.
470 [C99-based-standards] (SCNdFAST64): Likewise.
471 [C99-based-standards] (SCNiFAST64): Likewise.
472 [C99-based-standards] (SCNoFAST64): Likewise.
473 [C99-based-standards] (SCNuFAST64): Likewise.
474 [C99-based-standards] (SCNxFAST64): Likewise.
475 [C99-based-standards] (PRIdMAX): Likewise.
476 [C99-based-standards] (PRIiMAX): Likewise.
477 [C99-based-standards] (PRIoMAX): Likewise.
478 [C99-based-standards] (PRIuMAX): Likewise.
479 [C99-based-standards] (PRIxMAX): Likewise.
480 [C99-based-standards] (PRIXMAX): Likewise.
481 [C99-based-standards] (SCNdMAX): Likewise.
482 [C99-based-standards] (SCNiMAX): Likewise.
483 [C99-based-standards] (SCNoMAX): Likewise.
484 [C99-based-standards] (SCNuMAX): Likewise.
485 [C99-based-standards] (SCNxMAX): Likewise.
486 [C99-based-standards] (PRIdPTR): Likewise.
487 [C99-based-standards] (PRIiPTR): Likewise.
488 [C99-based-standards] (PRIoPTR): Likewise.
489 [C99-based-standards] (PRIuPTR): Likewise.
490 [C99-based-standards] (PRIxPTR): Likewise.
491 [C99-based-standards] (PRIXPTR): Likewise.
492 [C99-based-standards] (SCNdPTR): Likewise.
493 [C99-based-standards] (SCNiPTR): Likewise.
494 [C99-based-standards] (SCNoPTR): Likewise.
495 [C99-based-standards] (SCNuPTR): Likewise.
496 [C99-based-standards] (SCNxPTR): Likewise.
497 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
498 allow.
499 * conform/data/stdint.h-data: Update comments to clarify
500 requirements.
501 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
502 type.
503 [C99-based standards] (INT8_MAX): Likewise.
504 [C99-based standards] (INT16_MIN): Likewise.
505 [C99-based standards] (INT16_MAX): Likewise.
506 [C99-based standards] (INT32_MIN): Likewise.
507 [C99-based standards] (INT32_MAX): Likewise.
508 [C99-based standards] (INT64_MIN): Likewise.
509 [C99-based standards] (INT64_MAX): Likewise.
510 [C99-based standards] (UINT8_MAX): Likewise.
511 [C99-based standards] (UINT16_MAX): Likewise.
512 [C99-based standards] (UINT32_MAX): Likewise.
513 [C99-based standards] (UINT64_MAX): Likewise.
514 [C99-based standards] (INT_LEAST8_MIN): Likewise.
515 [C99-based standards] (INT_LEAST8_MAX): Likewise.
516 [C99-based standards] (INT_LEAST16_MIN): Likewise.
517 [C99-based standards] (INT_LEAST16_MAX): Likewise.
518 [C99-based standards] (INT_LEAST32_MIN): Likewise.
519 [C99-based standards] (INT_LEAST32_MAX): Likewise.
520 [C99-based standards] (INT_LEAST64_MIN): Likewise.
521 [C99-based standards] (INT_LEAST64_MAX): Likewise.
522 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
523 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
524 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
525 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
526 [C99-based standards] (INT_FAST8_MIN): Likewise.
527 [C99-based standards] (INT_FAST8_MAX): Likewise.
528 [C99-based standards] (INT_FAST16_MIN): Likewise.
529 [C99-based standards] (INT_FAST16_MAX): Likewise.
530 [C99-based standards] (INT_FAST32_MIN): Likewise.
531 [C99-based standards] (INT_FAST32_MAX): Likewise.
532 [C99-based standards] (INT_FAST64_MIN): Likewise.
533 [C99-based standards] (INT_FAST64_MAX): Likewise.
534 [C99-based standards] (UINT_FAST8_MAX): Likewise.
535 [C99-based standards] (UINT_FAST16_MAX): Likewise.
536 [C99-based standards] (UINT_FAST32_MAX): Likewise.
537 [C99-based standards] (UINT_FAST64_MAX): Likewise.
538 [C99-based standards] (INTPTR_MIN): Likewise.
539 [C99-based standards] (INTPTR_MAX): Likewise.
540 [C99-based standards] (UINTPTR_MAX): Likewise.
541 [C99-based standards] (INTMAX_MIN): Likewise.
542 [C99-based standards] (INTMAX_MAX): Likewise.
543 [C99-based standards] (UINTMAX_MAX): Likewise.
544 [C99-based standards] (PTRDIFF_MIN): Likewise.
545 [C99-based standards] (PTRDIFF_MAX): Likewise.
546 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
547 [C99-based standards] (SIZE_MAX): Likewise.
548 [C99-based standards] (WCHAR_MAX): Likewise.
549 [C99-based standards] (WINT_MAX): Likewise.
550 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
551 constraint on value.
552 [C99-based standards] (WCHAR_MIN): Likewise.
553 [C99-based standards] (WINT_MIN): Likewise.
554 [C99-based standards] (*_t): Allow.
555 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
556 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
557 Include math.h-data and complex.h-data. Remove all expectations
558 of math.h and complex.h contents.
559 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
560 at end of line.
561 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
562 (struct tm): Expect tag.
563 [C99-based-standards] (wcstof): Expect function.
564 [C99-based-standards] (wcstold): Likewise.
565 [C99-based-standards] (wcstoll): Likewise.
566 [C99-based-standards] (wcstoull): Likewise.
567 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
568 macro-int-constant. Specify type.
569 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
570 constraint on value.
571 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
572 Specify type.
573 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
574 Specify value.
575 [ISO C standards]: Do not allow headers.
576 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
577 wcs[abcdefghijklmnopqrstuvwxyz]*.
578 [ISO C standards] (*_t): Do not allow.
579 * conform/data/wctype.h-data [C99-based standards] (iswblank):
580 Expect function.
581 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
582 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
583 Specify type.
584 [ISO C standards]: Do not allow headers.
585 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
586 is[abcdefghijklmnopqrstuvwxyz]*.
587 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
588 to[abcdefghijklmnopqrstuvwxyz]*.
589 [ISO C standards] (*_t): Do not allow.
590 * conform/data/stdalign.h-data: New file.
591 * conform/data/stdbool.h-data: Likewise.
592 * conform/data/stdnoreturn.h-data: Likewise.
593
01f34a3b
JL
5942012-11-07 Andreas Jaeger <aj@suse.de>
595
596 [BZ #14809]
597 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
598 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
599 guards are changed. Only define if not yet defined, #undef back
600 after including linux/sysctl.h if defined here.
601
7514feb8
RM
6022012-11-07 Roland McGrath <roland@hack.frob.com>
603
604 [BZ #14815]
605 * manual/filesys.texi (Directory Entries): Typo fix.
606 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
607
19b2ecfc
MS
6082012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
609
610 * elf/elf.h (EM_AARCH64): New macro.
611 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
612 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
613 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
614 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
615 (R_AARCH64_TLSDESC): Likewise.
616 (NT_ARM_TLS): Likewise.
617 (NT_ARM_HW_BREAK): Likewise.
618 (NT_ARM_HW_WATCH): Likewise.
619
60e235ee
JM
6202012-11-07 Joseph Myers <joseph@codesourcery.com>
621
622 [BZ #14811]
623 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
624 (__ieee754_powl): Saturate nonzero exponents with absolute value
625 below 0x1p-79 to +/- 0x1p-79.
626 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
627 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
628 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
629 nonzero exponents with absolute value below 0x1p-32 to +/-
630 0x1p-32.
631 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
632 (__ieee754_powl): Saturate nonzero exponents with absolute value
633 below 0x1p-79 to +/- 0x1p-79.
634 * math/libm-test.inc (pow_test): Add more tests.
635
0ab234b7
AK
6362012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
637
638 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
639 _dl_s390_cap_flags with kernel. Increase string length.
640 (_dl_s390_platforms): Add z196 and zEC12.
641
45832f74
JM
6422012-11-07 Joseph Myers <joseph@codesourcery.com>
643
644 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
645 Change XOPEN21K to XOPEN2K.
646
19218757
MK
6472012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
648
649 * string/memmove.c: Use memcpy when possible.
650
c5f45721
AJ
6512012-11-06 Andreas Jaeger <aj@suse.de>
652
653 * po/eo.po: Update from translation team.
654
82477c28
JM
6552012-11-06 Joseph Myers <joseph@codesourcery.com>
656
657 [BZ #14793]
658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
659 exponent and small x and y exponents, scale x or y up. Increase
660 by 2 the exponent used in scaling up.
661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
663 * math/libm-test.inc (fma_test): Add more tests.
664 (fma_test_towardzero): Likewise.
665 (fma_test_downward): Likewise.
666 (fma_test_upward): Likewise.
667
99252c8c
JM
6682012-11-05 Joseph Myers <joseph@codesourcery.com>
669
acfa885f
JM
670 [BZ #14805]
671 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
672 fenv_t *.
673
99252c8c
JM
674 [BZ #14801]
675 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
676 namespace for names of struct fields.
677 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
678 fenv_t fields.
679 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
680 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
681
d6d98dea
ST
6822012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
683
684 [BZ #3665]
685 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
686
e10bb107
TS
6872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
688
689 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
690 PTR_DEMANGLE.
691
692 [BZ #5246]
693 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
694 PTR_DEMANGLE.
695
a0c2940d
JM
6962012-11-04 Joseph Myers <joseph@codesourcery.com>
697
698 [BZ #14797]
699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
700 definitely overflow as x * y not x * y + z.
701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
703 * math/libm-test.inc (fma_test): Add more tests.
704 (fma_test_towardzero): Likewise.
705 (fma_test_downward): Likewise.
706 (fma_test_upward): Likewise.
707
b830319d
TS
7082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
709
710 [BZ #157]
711
712 * include/stub-tag.h: Remove file.
713 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
714 '#include' of it.
715 * manual/maint.texi (Porting): Don't reference it.
716 * Makerules ($(objpfx)stubs): Likewise.
717 * dirent/closedir.c: Don't include <stub-tag.h>.
718 * dirent/dirfd.c: Likewise.
719 * dirent/fdopendir.c: Likewise.
720 * dirent/getdents.c: Likewise.
721 * dirent/getdents64.c: Likewise.
722 * dirent/opendir.c: Likewise.
723 * dirent/readdir.c: Likewise.
724 * dirent/readdir64.c: Likewise.
725 * dirent/readdir64_r.c: Likewise.
726 * dirent/readdir_r.c: Likewise.
727 * dirent/rewinddir.c: Likewise.
728 * dirent/seekdir.c: Likewise.
729 * dirent/telldir.c: Likewise.
730 * gmon/profil.c: Likewise.
731 * grp/setgroups.c: Likewise.
732 * inet/if_index.c: Likewise.
733 * io/access.c: Likewise.
734 * io/chdir.c: Likewise.
735 * io/chmod.c: Likewise.
736 * io/chown.c: Likewise.
737 * io/close.c: Likewise.
738 * io/dup.c: Likewise.
739 * io/dup2.c: Likewise.
740 * io/dup3.c: Likewise.
741 * io/euidaccess.c: Likewise.
742 * io/faccessat.c: Likewise.
743 * io/fchdir.c: Likewise.
744 * io/fchmod.c: Likewise.
745 * io/fchmodat.c: Likewise.
746 * io/fchown.c: Likewise.
747 * io/fchownat.c: Likewise.
748 * io/fcntl.c: Likewise.
749 * io/flock.c: Likewise.
750 * io/fstatfs.c: Likewise.
751 * io/fstatfs64.c: Likewise.
752 * io/fstatvfs.c: Likewise.
753 * io/fstatvfs64.c: Likewise.
754 * io/futimens.c: Likewise.
755 * io/fxstat.c: Likewise.
756 * io/fxstat64.c: Likewise.
757 * io/fxstatat.c: Likewise.
758 * io/fxstatat64.c: Likewise.
759 * io/getcwd.c: Likewise.
760 * io/isatty.c: Likewise.
761 * io/lchmod.c: Likewise.
762 * io/lchown.c: Likewise.
763 * io/link.c: Likewise.
764 * io/linkat.c: Likewise.
765 * io/lseek.c: Likewise.
766 * io/lseek64.c: Likewise.
767 * io/lxstat64.c: Likewise.
768 * io/mkdir.c: Likewise.
769 * io/mkdirat.c: Likewise.
770 * io/mkfifo.c: Likewise.
771 * io/mkfifoat.c: Likewise.
772 * io/open.c: Likewise.
773 * io/open64.c: Likewise.
774 * io/openat.c: Likewise.
775 * io/openat64.c: Likewise.
776 * io/pipe.c: Likewise.
777 * io/pipe2.c: Likewise.
778 * io/poll.c: Likewise.
779 * io/posix_fadvise.c: Likewise.
780 * io/posix_fadvise64.c: Likewise.
781 * io/posix_fallocate.c: Likewise.
782 * io/posix_fallocate64.c: Likewise.
783 * io/read.c: Likewise.
784 * io/readlink.c: Likewise.
785 * io/readlinkat.c: Likewise.
786 * io/rmdir.c: Likewise.
787 * io/sendfile.c: Likewise.
788 * io/sendfile64.c: Likewise.
789 * io/statfs.c: Likewise.
790 * io/statfs64.c: Likewise.
791 * io/statvfs.c: Likewise.
792 * io/statvfs64.c: Likewise.
793 * io/symlink.c: Likewise.
794 * io/symlinkat.c: Likewise.
795 * io/ttyname.c: Likewise.
796 * io/ttyname_r.c: Likewise.
797 * io/umask.c: Likewise.
798 * io/unlink.c: Likewise.
799 * io/unlinkat.c: Likewise.
800 * io/utime.c: Likewise.
801 * io/utimensat.c: Likewise.
802 * io/write.c: Likewise.
803 * io/xmknod.c: Likewise.
804 * io/xmknodat.c: Likewise.
805 * io/xstat.c: Likewise.
806 * io/xstat64.c: Likewise.
807 * login/getpt.c: Likewise.
808 * login/grantpt.c: Likewise.
809 * login/unlockpt.c: Likewise.
810 * math/e_acoshl.c: Likewise.
811 * math/e_acosl.c: Likewise.
812 * math/e_asinl.c: Likewise.
813 * math/e_atan2l.c: Likewise.
814 * math/e_atanhl.c: Likewise.
815 * math/e_coshl.c: Likewise.
816 * math/e_expl.c: Likewise.
817 * math/e_fmodl.c: Likewise.
818 * math/e_gammal_r.c: Likewise.
819 * math/e_hypotl.c: Likewise.
820 * math/e_j0l.c: Likewise.
821 * math/e_j1l.c: Likewise.
822 * math/e_jnl.c: Likewise.
823 * math/e_lgammal_r.c: Likewise.
824 * math/e_log10l.c: Likewise.
825 * math/e_log2l.c: Likewise.
826 * math/e_logl.c: Likewise.
827 * math/e_powl.c: Likewise.
828 * math/e_rem_pio2l.c: Likewise.
829 * math/e_sinhl.c: Likewise.
830 * math/e_sqrtl.c: Likewise.
831 * math/fclrexcpt.c: Likewise.
832 * math/fedisblxcpt.c: Likewise.
833 * math/feenablxcpt.c: Likewise.
834 * math/fegetenv.c: Likewise.
835 * math/fegetexcept.c: Likewise.
836 * math/fegetround.c: Likewise.
837 * math/feholdexcpt.c: Likewise.
838 * math/fesetenv.c: Likewise.
839 * math/fesetround.c: Likewise.
840 * math/feupdateenv.c: Likewise.
841 * math/fgetexcptflg.c: Likewise.
842 * math/fraiseexcpt.c: Likewise.
843 * math/fsetexcptflg.c: Likewise.
844 * math/ftestexcept.c: Likewise.
845 * math/k_cosl.c: Likewise.
846 * math/k_rem_pio2l.c: Likewise.
847 * math/k_sinl.c: Likewise.
848 * math/k_tanl.c: Likewise.
849 * math/s_asinhl.c: Likewise.
850 * math/s_atanl.c: Likewise.
851 * math/s_cbrtl.c: Likewise.
852 * math/s_erfl.c: Likewise.
853 * math/s_expm1l.c: Likewise.
854 * math/s_log1pl.c: Likewise.
855 * math/s_tanhl.c: Likewise.
856 * misc/acct.c: Likewise.
857 * misc/brk.c: Likewise.
858 * misc/chflags.c: Likewise.
859 * misc/chroot.c: Likewise.
860 * misc/fchflags.c: Likewise.
861 * misc/fgetxattr.c: Likewise.
862 * misc/flistxattr.c: Likewise.
863 * misc/fremovexattr.c: Likewise.
864 * misc/fsetxattr.c: Likewise.
865 * misc/fsync.c: Likewise.
866 * misc/ftruncate.c: Likewise.
867 * misc/futimes.c: Likewise.
868 * misc/futimesat.c: Likewise.
869 * misc/getdomain.c: Likewise.
870 * misc/getdtsz.c: Likewise.
871 * misc/gethostid.c: Likewise.
872 * misc/gethostname.c: Likewise.
873 * misc/getloadavg.c: Likewise.
874 * misc/getpagesize.c: Likewise.
875 * misc/getsysstats.c: Likewise.
876 * misc/getxattr.c: Likewise.
877 * misc/gtty.c: Likewise.
878 * misc/ioctl.c: Likewise.
879 * misc/lgetxattr.c: Likewise.
880 * misc/listxattr.c: Likewise.
881 * misc/llistxattr.c: Likewise.
882 * misc/lremovexattr.c: Likewise.
883 * misc/lsetxattr.c: Likewise.
884 * misc/lutimes.c: Likewise.
885 * misc/madvise.c: Likewise.
886 * misc/mincore.c: Likewise.
887 * misc/mlock.c: Likewise.
888 * misc/mlockall.c: Likewise.
889 * misc/mmap.c: Likewise.
890 * misc/mprotect.c: Likewise.
891 * misc/msync.c: Likewise.
892 * misc/munlock.c: Likewise.
893 * misc/munlockall.c: Likewise.
894 * misc/munmap.c: Likewise.
895 * misc/preadv.c: Likewise.
896 * misc/preadv64.c: Likewise.
897 * misc/ptrace.c: Likewise.
898 * misc/pwritev.c: Likewise.
899 * misc/pwritev64.c: Likewise.
900 * misc/readv.c: Likewise.
901 * misc/reboot.c: Likewise.
902 * misc/remap_file_pages.c: Likewise.
903 * misc/removexattr.c: Likewise.
904 * misc/revoke.c: Likewise.
905 * misc/select.c: Likewise.
906 * misc/setdomain.c: Likewise.
907 * misc/setegid.c: Likewise.
908 * misc/seteuid.c: Likewise.
909 * misc/sethostid.c: Likewise.
910 * misc/sethostname.c: Likewise.
911 * misc/setregid.c: Likewise.
912 * misc/setreuid.c: Likewise.
913 * misc/setxattr.c: Likewise.
914 * misc/sstk.c: Likewise.
915 * misc/stty.c: Likewise.
916 * misc/swapoff.c: Likewise.
917 * misc/swapon.c: Likewise.
918 * misc/sync.c: Likewise.
919 * misc/syncfs.c: Likewise.
920 * misc/syscall.c: Likewise.
921 * misc/truncate.c: Likewise.
922 * misc/ualarm.c: Likewise.
923 * misc/usleep.c: Likewise.
924 * misc/ustat.c: Likewise.
925 * misc/utimes.c: Likewise.
926 * misc/vhangup.c: Likewise.
927 * misc/writev.c: Likewise.
928 * posix/_exit.c: Likewise.
929 * posix/alarm.c: Likewise.
930 * posix/execve.c: Likewise.
931 * posix/fexecve.c: Likewise.
932 * posix/fork.c: Likewise.
933 * posix/fpathconf.c: Likewise.
934 * posix/getaddrinfo.c: Likewise.
935 * posix/getegid.c: Likewise.
936 * posix/geteuid.c: Likewise.
937 * posix/getgid.c: Likewise.
938 * posix/getgroups.c: Likewise.
939 * posix/getlogin.c: Likewise.
940 * posix/getlogin_r.c: Likewise.
941 * posix/getpgid.c: Likewise.
942 * posix/getpid.c: Likewise.
943 * posix/getppid.c: Likewise.
944 * posix/getresgid.c: Likewise.
945 * posix/getresuid.c: Likewise.
946 * posix/getsid.c: Likewise.
947 * posix/getuid.c: Likewise.
948 * posix/glob64.c: Likewise.
949 * posix/nanosleep.c: Likewise.
950 * posix/pathconf.c: Likewise.
951 * posix/pause.c: Likewise.
952 * posix/posix_madvise.c: Likewise.
953 * posix/pread.c: Likewise.
954 * posix/pread64.c: Likewise.
955 * posix/pwrite.c: Likewise.
956 * posix/pwrite64.c: Likewise.
957 * posix/sched_getaffinity.c: Likewise.
958 * posix/sched_getp.c: Likewise.
959 * posix/sched_gets.c: Likewise.
960 * posix/sched_primax.c: Likewise.
961 * posix/sched_primin.c: Likewise.
962 * posix/sched_rr_gi.c: Likewise.
963 * posix/sched_setaffinity.c: Likewise.
964 * posix/sched_setp.c: Likewise.
965 * posix/sched_sets.c: Likewise.
966 * posix/sched_yield.c: Likewise.
967 * posix/setgid.c: Likewise.
968 * posix/setlogin.c: Likewise.
969 * posix/setpgid.c: Likewise.
970 * posix/setresgid.c: Likewise.
971 * posix/setresuid.c: Likewise.
972 * posix/setsid.c: Likewise.
973 * posix/setuid.c: Likewise.
974 * posix/sleep.c: Likewise.
975 * posix/spawni.c: Likewise.
976 * posix/sysconf.c: Likewise.
977 * posix/times.c: Likewise.
978 * posix/wait.c: Likewise.
979 * posix/wait3.c: Likewise.
980 * posix/wait4.c: Likewise.
981 * posix/waitpid.c: Likewise.
982 * resolv/gai_sigqueue.c: Likewise.
983 * resource/getpriority.c: Likewise.
984 * resource/getrlimit.c: Likewise.
985 * resource/getrusage.c: Likewise.
986 * resource/nice.c: Likewise.
987 * resource/setpriority.c: Likewise.
988 * resource/setrlimit.c: Likewise.
989 * resource/ulimit.c: Likewise.
990 * rt/aio_cancel.c: Likewise.
991 * rt/aio_fsync.c: Likewise.
992 * rt/aio_read.c: Likewise.
993 * rt/aio_sigqueue.c: Likewise.
994 * rt/aio_suspend.c: Likewise.
995 * rt/aio_write.c: Likewise.
996 * rt/clock_getres.c: Likewise.
997 * rt/clock_gettime.c: Likewise.
998 * rt/clock_nanosleep.c: Likewise.
999 * rt/clock_settime.c: Likewise.
1000 * rt/lio_listio.c: Likewise.
1001 * rt/mq_close.c: Likewise.
1002 * rt/mq_getattr.c: Likewise.
1003 * rt/mq_notify.c: Likewise.
1004 * rt/mq_open.c: Likewise.
1005 * rt/mq_receive.c: Likewise.
1006 * rt/mq_send.c: Likewise.
1007 * rt/mq_setattr.c: Likewise.
1008 * rt/mq_timedreceive.c: Likewise.
1009 * rt/mq_timedsend.c: Likewise.
1010 * rt/mq_unlink.c: Likewise.
1011 * rt/shm_open.c: Likewise.
1012 * rt/shm_unlink.c: Likewise.
1013 * rt/timer_create.c: Likewise.
1014 * rt/timer_delete.c: Likewise.
1015 * rt/timer_getoverr.c: Likewise.
1016 * rt/timer_gettime.c: Likewise.
1017 * rt/timer_settime.c: Likewise.
1018 * setjmp/__longjmp.c: Likewise.
1019 * setjmp/setjmp.c: Likewise.
1020 * signal/kill.c: Likewise.
1021 * signal/killpg.c: Likewise.
1022 * signal/raise.c: Likewise.
1023 * signal/sigaction.c: Likewise.
1024 * signal/sigaltstack.c: Likewise.
1025 * signal/sigblock.c: Likewise.
1026 * signal/sigignore.c: Likewise.
1027 * signal/sigintr.c: Likewise.
1028 * signal/signal.c: Likewise.
1029 * signal/sigpause.c: Likewise.
1030 * signal/sigpending.c: Likewise.
1031 * signal/sigqueue.c: Likewise.
1032 * signal/sigreturn.c: Likewise.
1033 * signal/sigset.c: Likewise.
1034 * signal/sigsetmask.c: Likewise.
1035 * signal/sigstack.c: Likewise.
1036 * signal/sigsuspend.c: Likewise.
1037 * signal/sigtimedwait.c: Likewise.
1038 * signal/sigvec.c: Likewise.
1039 * signal/sigwait.c: Likewise.
1040 * signal/sigwaitinfo.c: Likewise.
1041 * signal/sysv_signal.c: Likewise.
1042 * socket/accept.c: Likewise.
1043 * socket/accept4.c: Likewise.
1044 * socket/bind.c: Likewise.
1045 * socket/connect.c: Likewise.
1046 * socket/getpeername.c: Likewise.
1047 * socket/getsockname.c: Likewise.
1048 * socket/getsockopt.c: Likewise.
1049 * socket/isfdtype.c: Likewise.
1050 * socket/listen.c: Likewise.
1051 * socket/recv.c: Likewise.
1052 * socket/recvfrom.c: Likewise.
1053 * socket/recvmsg.c: Likewise.
1054 * socket/send.c: Likewise.
1055 * socket/sendmsg.c: Likewise.
1056 * socket/sendto.c: Likewise.
1057 * socket/setsockopt.c: Likewise.
1058 * socket/shutdown.c: Likewise.
1059 * socket/sockatmark.c: Likewise.
1060 * socket/socket.c: Likewise.
1061 * socket/socketpair.c: Likewise.
1062 * stdio-common/ctermid.c: Likewise.
1063 * stdio-common/cuserid.c: Likewise.
1064 * stdio-common/remove.c: Likewise.
1065 * stdio-common/rename.c: Likewise.
1066 * stdio-common/renameat.c: Likewise.
1067 * stdio-common/tempname.c: Likewise.
1068 * stdlib/getcontext.c: Likewise.
1069 * stdlib/makecontext.c: Likewise.
1070 * stdlib/setcontext.c: Likewise.
1071 * stdlib/swapcontext.c: Likewise.
1072 * stdlib/system.c: Likewise.
1073 * streams/fattach.c: Likewise.
1074 * streams/fdetach.c: Likewise.
1075 * streams/getmsg.c: Likewise.
1076 * streams/getpmsg.c: Likewise.
1077 * streams/putmsg.c: Likewise.
1078 * streams/putpmsg.c: Likewise.
1079 * sysdeps/unix/bsd/getpt.c: Likewise.
1080 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1081 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1082 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1084 Likewise.
1085 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1086 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1087 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1088 * sysvipc/msgctl.c: Likewise.
1089 * sysvipc/msgget.c: Likewise.
1090 * sysvipc/msgrcv.c: Likewise.
1091 * sysvipc/msgsnd.c: Likewise.
1092 * sysvipc/semctl.c: Likewise.
1093 * sysvipc/semget.c: Likewise.
1094 * sysvipc/semop.c: Likewise.
1095 * sysvipc/semtimedop.c: Likewise.
1096 * sysvipc/shmat.c: Likewise.
1097 * sysvipc/shmctl.c: Likewise.
1098 * sysvipc/shmdt.c: Likewise.
1099 * sysvipc/shmget.c: Likewise.
1100 * termios/tcdrain.c: Likewise.
1101 * termios/tcflow.c: Likewise.
1102 * termios/tcflush.c: Likewise.
1103 * termios/tcgetattr.c: Likewise.
1104 * termios/tcgetpgrp.c: Likewise.
1105 * termios/tcsendbrk.c: Likewise.
1106 * termios/tcsetattr.c: Likewise.
1107 * termios/tcsetpgrp.c: Likewise.
1108 * time/adjtime.c: Likewise.
1109 * time/clock.c: Likewise.
1110 * time/getitimer.c: Likewise.
1111 * time/gettimeofday.c: Likewise.
1112 * time/setitimer.c: Likewise.
1113 * time/settimeofday.c: Likewise.
1114 * time/stime.c: Likewise.
1115 * time/time.c: Likewise.
1116
11172012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1118
a20492cf
PT
1119 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1120 /usr/old/bin.
1121
72e182e3
PT
1122 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1123 instead of spaces.
1124 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1125
fbeafede
JM
11262012-11-03 Joseph Myers <joseph@codesourcery.com>
1127
5b5b04d6
JM
1128 [BZ #14796]
1129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1130 FE_TONEAREST before applying Dekker multiplication and Knuth
1131 addition. Clear inexact exceptions and check for exact zero
1132 results afterwards.
1133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1134 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1135 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1136 * math/libm-test.inc (fma_test): Add more tests.
1137 (fma_test_towardzero): Likewise.
1138 (fma_test_downward): Likewise.
1139 (fma_test_upward): Likewise.
1140 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1141 function.
1142 (libc_fesetround): New macro.
1143 (libc_fesetroundf): Likewise.
1144 (libc_fesetroundl): Likewise.
1145 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1146 function.
1147 (libc_fesetround_387): Likewise.
1148 (libc_fesetroundf): New macro.
1149 (libc_fesetround): Likewise.
1150 (libc_fesetroundl): Likewise.
1151 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1152 function.
1153 (libc_fesetroundf): New macro.
1154 (libc_fesetround): Likewise.
1155 (libc_fesetroundl): Likewise.
1156 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1157 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1158 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1159 libm_hidden_ver.
1160 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1161 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1162 libm_hidden_def.
1163 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1164 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1165 libm_hidden_ver.
1166 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1167 libm_hidden_def.
1168
fbeafede
JM
1169 [BZ #3439]
1170 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1171 integer constant usable in #if and use that to give value to enum
1172 constant.
1173 (FE_DIVBYZERO): Likewise.
1174 (FE_UNDERFLOW): Likewise.
1175 (FE_OVERFLOW): Likewise.
1176 (FE_INVALID): Likewise.
1177 (FE_INVALID_SNAN): Likewise.
1178 (FE_INVALID_ISI): Likewise.
1179 (FE_INVALID_IDI): Likewise.
1180 (FE_INVALID_ZDZ): Likewise.
1181 (FE_INVALID_IMZ): Likewise.
1182 (FE_INVALID_COMPARE): Likewise.
1183 (FE_INVALID_SOFTWARE): Likewise.
1184 (FE_INVALID_SQRT): Likewise.
1185 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1186 (FE_TONEAREST): Likewise.
1187 (FE_TOWARDZERO): Likewise.
1188 (FE_UPWARD): Likewise.
1189 (FE_DOWNWARD): Likewise.
1190 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1191 (FE_DIVBYZERO): Likewise.
1192 (FE_OVERFLOW): Likewise.
1193 (FE_UNDERFLOW): Likewise.
1194 (FE_INEXACT): Likewise.
1195 (FE_TONEAREST): Likewise.
1196 (FE_DOWNWARD): Likewise.
1197 (FE_UPWARD): Likewise.
1198 (FE_TOWARDZERO): Likewise.
1199 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1200 (FE_UNDERFLOW): Likewise.
1201 (FE_OVERFLOW): Likewise.
1202 (FE_DIVBYZERO): Likewise.
1203 (FE_INVALID): Likewise.
1204 (FE_TONEAREST): Likewise.
1205 (FE_TOWARDZERO): Likewise.
1206 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1207 (FE_OVERFLOW): Likewise.
1208 (FE_UNDERFLOW): Likewise.
1209 (FE_DIVBYZERO): Likewise.
1210 (FE_INEXACT): Likewise.
1211 (FE_TONEAREST): Likewise.
1212 (FE_TOWARDZERO): Likewise.
1213 (FE_UPWARD): Likewise.
1214 (FE_DOWNWARD): Likewise.
1215 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1216 (FE_DIVBYZERO): Likewise.
1217 (FE_OVERFLOW): Likewise.
1218 (FE_UNDERFLOW): Likewise.
1219 (FE_INEXACT): Likewise.
1220 (FE_TONEAREST): Likewise.
1221 (FE_DOWNWARD): Likewise.
1222 (FE_UPWARD): Likewise.
1223 (FE_TOWARDZERO): Likewise.
1224
105ca950
CM
12252012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1226
1227 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1228
a542b389
AS
12292012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1230
1231 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1232 commands. Quote $PWD.
1233 (blacklist_exports): Don't use remove_newlines. Replace "declare
1234 -x" by "export".
1235 (remove_newlines): Remove.
1236
f62c8abc
L
12372012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1238
1239 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1240 * stdlib/stdlib.h (atof): Moved to ...
1241 * include/bits/stdlib-float.h: Here. New file.
1242 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1243 * stdlib/bits/stdlib-float.h: New file.
1244 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1245 -mno-sse -mno-mmx.
1246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1247 <xmmintrin.h>.
1248
0155d5b2
JM
12492012-11-02 Joseph Myers <joseph@codesourcery.com>
1250
a68d0680
JM
1251 * conform/conformtest.pl (@headers): Add fenv.h.
1252 * conform/data/fenv.h-data: New file.
1253 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1254 include of <math/fenv.h>.
1255
caf7f573
JM
1256 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1257 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1258 && !UNIX98]. Enables tests for XOPEN2K8.
1259 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1260 POSIX2008]: Likewise.
1261
6c073ad6
JM
1262 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1263 (struct rusage): Do not expect type or its members.
1264
0155d5b2
JM
1265 [BZ #3439]
1266 * math/math.h (FP_NAN): Define macro to integer constant usable in
1267 #if and use that to give value to enum constant.
1268 (FP_INFINITE): Likewise.
1269 (FP_ZERO): Likewise.
1270 (FP_SUBNORMAL): Likewise.
1271 (FP_NORMAL): Likewise.
1272
b5dcacb4
AS
12732012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1274
1275 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1276 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1277 arguments.
1278
f7934be8
RM
12792012-11-02 Roland McGrath <roland@hack.frob.com>
1280
1281 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1282 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1283 autoconf-time if not.
1284 * configure.in: Remove AC_PREREQ.
1285
d7d08bde
TMQMF
12862012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1287
1288 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1289 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1290 of the internal implementation.
1291
dcdae19a
JM
12922012-11-02 Joseph Myers <joseph@codesourcery.com>
1293
1294 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1295 except include of <misc/sys/syslog.h>.
1296
d6cffd3e
AS
12972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1298
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1300 function returns with a NULL context exit with zero.
1301
b3563932
TMQMF
13022012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1303
1304 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1305
b288a93d
L
13062012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1307
1308 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1309 (run_program_cmd): This.
1310 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1311 (tst_langinfo): New variable. Use it.
1312
a2421a68
SAS
13132012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1314
1315 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1316 floating point opcodes.
1317
6f796e1b
TS
13182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1319
7402596b
TS
1320 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1321 variable.
1322
d0d4f868
TS
1323 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1324
6f796e1b
TS
1325 * sysdeps/mach/hurd/powerpc: Remove directory.
1326 * sysdeps/mach/powerpc: Likewise.
1327
4da224a2
AS
13282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1329
1330 * scripts/check-local-headers.sh: Ignore c++ headers.
1331
341dd673
TS
13322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1333
1334 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1335 __libc_cleanup_region_start argument.
1336
473611b2
JM
13372012-11-01 Joseph Myers <joseph@codesourcery.com>
1338
1339 [BZ #14784]
1340 [BZ #14785]
1341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1342 x * y using scaling, not as x * y + z.
1343 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1344 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1345 * math/libm-test.inc (fma_test): Add more tests.
1346 (fma_test_towardzero): Likewise.
1347 (fma_test_downward): Likewise.
1348 (fma_test_upward): Likewise.
1349
4078da3d
TS
13502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1351
1352 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1353
903252aa
JM
13542012-10-31 Joseph Myers <joseph@codesourcery.com>
1355
1356 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1357 New variable.
1358
cbc818d0
TS
13592012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1360
1361 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1362
5a03cb1e
AS
13632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1364
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1366 Fix sort order.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1368 Likewise.
1369
90aff2ff
TMQMF
13702012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1371
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1373 Fix the order of the list for glibc 2.17.
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1375 Likewise.
1376
1818fcb7
AS
13772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1378
1379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1380
ef82f4da
JM
13812012-10-31 Joseph Myers <joseph@codesourcery.com>
1382
16a0e2ec
JM
1383 [BZ #14610]
1384 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1385 for low part of x being zero before using __atanl (y).
1386 * math/libm-test.inc (atan2_test): Add another test.
1387
0eb69512
JM
1388 * manual/install.texi (Configuring and compiling): Document
1389 general use of test-wrapper and test-wrapper-env.
1390 * INSTALL: Regenerated.
1391
ef82f4da
JM
1392 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1393 (__fma): Do not extract and scale down low bits on after-rounding
1394 systems when result rounded to normal precision would have normal
1395 exponent.
1396 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1397 (__fmal): Do not extract and scale down low bits on after-rounding
1398 systems when result rounded to normal precision would have normal
1399 exponent.
1400 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1401 (__fmal): Do not extract and scale down low bits on after-rounding
1402 systems when result rounded to normal precision would have normal
1403 exponent.
1404 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1405 macro.
1406 (fma_test): Add more tests.
1407 (fma_test_towardzero): Likewise.
1408 (fma_test_downward): Likewise.
1409 (fma_test_upward): Likewise.
1410
954ef0d9
L
14112012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1412
1413 * sysdeps/i386/tininess.h: Renamed to ...
1414 * sysdeps/x86/tininess.h: This.
1415 * sysdeps/x86_64/tininess.h: Removed.
1416
df61ffb2
JM
14172012-10-30 Joseph Myers <joseph@codesourcery.com>
1418
1419 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1420 input. Use $(build-program-cmd).
1421 ($(objpfx)tst-array1-static.out): Likewise.
1422 ($(objpfx)tst-array2.out): Likewise.
1423 ($(objpfx)tst-array3.out): Likewise.
1424 ($(objpfx)tst-array4.out): Likewise.
1425 ($(objpfx)tst-array5.out): Likewise.
1426 ($(objpfx)tst-array5-static.out): Likewise.
1427
01767843
CM
14282012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1429
47cc1490
CM
1430 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1431 if defined.
1432
01767843
CM
1433 * nss/nsswitch.h (nss_interface_function): Provide new
1434 macro for use with NSS functions.
1435 * grp/initgroups.c: Use new macro.
1436 * nss/getXXbyYY.c: Likewise.
1437 * nss/getXXbyYY_r.c: Likewise.
1438 * nss/getXXent.c: Likewise.
1439 * nss/getXXent_r.c: Likewise.
1440 * sysdeps/posix/getaddrinfo.c: Likewise.
1441
8321aa97
AJ
14422012-10-30 Andreas Jaeger <aj@suse.de>
1443
1444 * po/ru.po: Update Russion translation from translation project.
1445
2a27fd6d
JM
14462012-10-30 Joseph Myers <joseph@codesourcery.com>
1447
8627a232
JM
1448 [BZ #14152]
1449 [BZ #14783]
1450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1451 result and shift together with sticky bit instead of replicating
1452 round-to-nearest rounding.
1453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1455 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1456 missing underflow exceptions.
1457 (fma_test_towardzero): Add more tests.
1458 (fma_test_downward): Likewise.
1459 (fma_test_upward): Likewise.
1460
2a27fd6d
JM
1461 [BZ #14047]
1462 * sysdeps/generic/tininess.h: New file.
1463 * sysdeps/i386/tininess.h: Likewise.
1464 * sysdeps/sh/tininess.h: Likewise.
1465 * sysdeps/x86_64/tininess.h: Likewise.
1466 * stdlib/tst-strtod-underflow.c: Likewise.
1467 * stdlib/tst-tininess.c: Likewise.
1468 * stdlib/strtod_l.c: Include <tininess.h>.
1469 (round_and_return): Do not set errno for exact underflow cases.
1470 Force an underflow exception when setting errno for underflow.
1471 Determine underflow based on rounding to normal precision if
1472 TININESS_AFTER_ROUNDING.
1473 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1474 ERANGE for exact underflow cases.
1475 * stdlib/Makefile (tests): Add tst-tininess and
1476 tst-strtod-underflow.
1477 ($(objpfx)tst-tininess): Use $(link-libm).
1478 ($(objpfx)tst-strtod-underflow): Likewise.
1479
e7170363
AJ
14802012-10-30 Andreas Jaeger <aj@suse.de>
1481
e5088dc6
AJ
1482 [BZ#14767]
1483 * elf/Makefile (tests): Remove conditional for have-initfini-array
1484 since this is now always required and the variable does not exist
1485 anymore.
1486 (tests-static): Likewise.
1487 (modules-names): Likewise.
1488
e7170363 1489 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1490
1491 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1492 merged with constructor/destructor.
1493 (init_array): Likewise.
1494 * elf/tst-array2dep.c (fini_array): Likewise.
1495 (init_array): Likewise.
1496
60457d8a
MF
14972012-10-29 Mike Frysinger <vapier@gentoo.org>
1498
1499 * manual/message.texi: Delete @cartouche tags.
1500
8bece752
PT
15012012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1502
94ce799f
PT
1503 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1504 EOPNOTSUPP.
1505 * sysdeps/mach/hurd/fsync.c: Likewise.
1506
8bece752
PT
1507 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1508 [_POSIX_REALTIME_SIGNALS]: Change condition to
1509 [_POSIX_REALTIME_SIGNALS > 0].
1510
86ebe6b1
AJ
15112012-10-27 Andreas Jaeger <aj@suse.de>
1512
1513 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1514 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1515 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1516 [__WORDSIZE != 64]: Likewise.
1517
54399c08
L
15182012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1519
1520 * iconvdata/tst-table.sh: Remove ${SHELL}.
1521 * iconvdata/tst-tables.sh: Likewise.
1522
e2211bed
DM
15232012-10-25 David S. Miller <davem@davemloft.net>
1524
1525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1526 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1527 of strtoull.
1528
f303f97c
DM
1529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1530 ifunc-impl-list.c
1531 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1532 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1533 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1534 file.
1535
1e9d84cd
RM
15362012-10-25 Roland McGrath <roland@hack.frob.com>
1537
1538 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1539 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1540 __getdirentries.
1541
df381762
JM
15422012-10-25 Joseph Myers <joseph@codesourcery.com>
1543 Jim Blandy <jimb@codesourcery.com>
1544
1545 * scripts/cross-test-ssh.sh: New file.
1546 * manual/install.texi (Configuring and compiling): Document use of
1547 cross-test-ssh.sh.
1548 * INSTALL: Regenerated.
1549
bff64913
PT
15502012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1551
1552 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1553 EOPNOTSUPP.
1554
25fe8932
JM
15552012-10-25 Joseph Myers <joseph@codesourcery.com>
1556
1557 * Makeconfig (run-program-prefix): Fix comment.
1558
cc1290d0
JM
15592012-10-24 Joseph Myers <joseph@codesourcery.com>
1560 Jim Blandy <jimb@codesourcery.com>
1561
1562 * Makeconfig (test-wrapper): New variable,
1563 (test-wrapper-env): Likewise.
1564 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1565 (run-built-tests): Define to yes.
1566 (run-program-prefix): Use $(test-wrapper).
1567 (built-program-cmd): Likewise.
1568 * Rules (make-test-out): Use $(test-wrapper-env) and
1569 $(host-built-program-cmd).
1570 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1571 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1572 tst-pathopt.sh.
1573 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1574 $(test-wrapper-env) to tst-rtld-load-self.sh.
1575 ($(objpfx)order2.out): Use $(test-wrapper).
1576 ($(objpfx)tst-initorder.out): Likewise.
1577 ($(objpfx)tst-initorder2.out): Likewise.
1578 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1579 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1580 (test_wrapper_env): New variable. Use it to run ld.so.
1581 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1582 Use it to run ld.so.
1583 (test_wrapper_env): Likewise.
1584 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1585 $(test-wrapper) to run-iconv-test.sh.
1586 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1587 (ICONV): Use $test_wrapper.
1588 * posix/Makefile ($(objpfx)globtest.out): Pass
1589 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1590 globtest.sh, not $(run-program-prefix).
1591 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1592 (test_wrapper): Likewise.
1593 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1594 set together with run_via_rtld_prefix.
1595 (run_program_prefix): Define in terms of test_wrapper and
1596 run_via_rtld_prefix.
1597
6e6249d0
RM
15982012-10-24 Roland McGrath <roland@hack.frob.com>
1599
1600 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1601 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1602 Targets removed.
1603
1604 [BZ #14743]
1605 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1606 Declare __clock_getres, __clock_gettime, __clock_settime,
1607 __clock_nanosleep, and __clock_getcpuclockid.
1608 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1609 Remove librt_hidden_def (clock_gettime).
1610 * sysdeps/unix/clock_gettime.c: Likewise.
1611 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1612 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1613 * rt/clock_getres.c: Define __clock_getres as an alias.
1614 * sysdeps/posix/clock_getres.c: Likewise.
1615 * rt/clock_settime.c: Define __clock_settime as an alias.
1616 * sysdeps/unix/clock_settime.c: Likewise.
1617 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1618 * sysdeps/unix/clock_nanosleep.c: Likewise.
1619 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1620 * rt/clock-compat.c: New file.
1621 * rt/Makefile (librt-routines): Add clock-compat and move
1622 $(clock-routines) to ...
1623 (routines): ... here, new variable.
1624 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1625 Don't add get_clockfreq here.
1626 * rt/Versions (libc: GLIBC_2.17): New version set.
1627 Add clock_* symbols here.
1628 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1630 (GLIBC_2.17): Add clock_* symbols.
1631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1635 Likewise.
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1637 Likewise.
1638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1642 * NEWS: Mention the move.
1643
1644 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1645 Use __open, __read, __close rather than their public counterparts.
1646 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1647 (__get_clockfreq_via_cpuinfo): Likewise.
1648 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1649 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1650
1651 * config.h.in (HAVE_IFUNC): New #undef.
1652 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1653 was successful.
1654 * configure: Regenerated.
1655
0cae3f4b
MF
16562012-10-24 Mike Frysinger <vapier@gentoo.org>
1657
1658 * configure.in: Move READELF check to start of file.
1659 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1660 libc_cv_asm_gnu_indirect_function in the process.
1661 * configure: Regenerated.
1662
8175a253
MF
16632012-10-24 Mike Frysinger <vapier@gentoo.org>
1664
1665 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1666 send the output to /dev/null.
1667 (libc_cv_cc_with_libunwind): Likewise.
1668 (libc_cv_as_noexecstack): Likewise.
1669 * configure: Regenerate.
1670
0708a7d1
JM
16712012-10-24 Joseph Myers <joseph@codesourcery.com>
1672
10b40d85
JM
1673 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1674
0708a7d1
JM
1675 * posix/globtest.sh (TMPDIR): Do not set.
1676 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1677 (testout): Likewise.
1678
9fddec1a
AJ
16792012-10-24 Andreas Jaeger <aj@suse.de>
1680
3a8db22f
AJ
1681 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1682 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1683 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1684 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1685 posix_fadvise64, posix_fallocate64.
1686
9fddec1a
AJ
1687 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1688 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1689 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1690 Likewise.
1691 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1692 Likewise.
1693 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1694
1695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1696 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1697 <bits/fcntl-linux.h>.
1698 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1699
1700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1701 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1702 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1703 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1704 [__WORDSIZE != 64]: Likewise.
1705
ebfd1bbd
JM
17062012-10-23 Joseph Myers <joseph@codesourcery.com>
1707
03ac099f
JM
1708 * Makeconfig (run-built-tests): New variable.
1709 * Rules [$(cross-compiling) = yes]: Change condition to
1710 [$(run-built-tests) = no].
1711 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1712 to [$(run-built-tests) = yes].
1713 * elf/Makefile [$(cross-compiling) = no]: Likewise
1714 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1715 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1716 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1717 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1718 * io/Makefile [$(cross-compiling) = no]: Likewise.
1719 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1720 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1721 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1722 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1723 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1724 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1725 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1726 * string/Makefile [$(cross-compiling) = no]: Likewise.
1727
ebfd1bbd
JM
1728 * posix/Makefile ($(objpfx)globtest.out): Pass
1729 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1730 $(rtld-installed-name).
1731 * posix/globtest.sh (elf_objpfx): Remove variable.
1732 (rtld_installed_name): Likewise.
1733 (library_path): Likewise.
1734 (run_program_prefix): New variable. Use for running globtest
1735 binary.
1736
166bca24
JB
17372012-10-23 Jim Blandy <jimb@codesourcery.com>
1738 Joseph Myers <joseph@codesourcery.com>
1739
1740 * Makeconfig (host-built-program-cmd): New variable.
1741 * elf/Makefile (tst-stackguard1-ARGS): Use
1742 $(host-built-program-cmd).
1743 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1744 (tst-spawn-ARGS): Likewise.
1745 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1746
88866099
JM
17472012-10-23 Joseph Myers <joseph@codesourcery.com>
1748 Jim Blandy <jimb@codesourcery.com>
1749
1750 * Makeconfig (run-via-rtld-prefix): New variable.
1751 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1752 (built-program-cmd): Likewise.
1753
b4b4c296
AJ
17542012-10-22 Andreas Jaeger <aj@suse.de>
1755
1756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1757 __O_RSYNC if it exists, otherwise to O_SYNC.
1758
6fb54a22
JB
17592012-10-22 Jim Blandy <jimb@codesourcery.com>
1760 Joseph Myers <joseph@codesourcery.com>
1761
1762 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1763 /dev/null.
1764 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1765 from /dev/null
1766 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1767 /dev/null.
1768
481b90b9
AJ
17692012-10-22 Andreas Jaeger <aj@suse.de>
1770
2a0e2669
AJ
1771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1772 Define always.
1773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1774
76e38f9a
AJ
1775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1776 bits/fcntl-linux.h.
1777
7cd37b43
AJ
1778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1779 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1780
481b90b9
AJ
1781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1782 to __O_LARGEFILE.
1783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1784 to __O_LARGEFILE.
1785
aba75984
JB
17862012-10-21 Jim Blandy <jimb@codesourcery.com>
1787 Joseph Myers <joseph@codesourcery.com>
1788
1789 * config.make.in (NM): New variable.
1790
88d4247f
AJ
17912012-10-21 Andreas Jaeger <aj@suse.de>
1792
1793 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1794 definitions and declarations that are provided by
1795 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1796
f2eed205
L
17972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 [BZ #14683]
1800 * elf/Makefile (tests-static): Add tst-leaks1-static.
1801 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1802 ($(objpfx)tst-leaks1-static): New rule.
1803 ($(objpfx)tst-leaks1-static-mem): Likewise.
1804 (tst-leaks1-static-ENV): New macro.
1805 * elf/dl-open.c (dl_open_worker): Check the main application
1806 only if SHARED is defined.
1807 * elf/tst-leaks1-static.c: New file.
1808
335e6931
AJ
18092012-10-20 Andreas Jaeger <aj@suse.de>
1810
1811 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1812 generic values for Linux.
1813 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1814 and declarations that are provided by <bits/fcntl-linux.h> and
1815 include <bits/fcntl-linux.h>.
1816 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1818
ac5c94d3
RM
18192012-10-20 Roland McGrath <roland@hack.frob.com>
1820
1821 * io/fcntl.h: Move include of <bits/types.h> to the top and
1822 include it unconditionally.
1823
de54b33a
L
18242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1825
228cfb01
L
1826 * wcsmbs/Makefile (tests-ifunc): New variable.
1827 (tests): Add $(tests-ifunc).
1828 * wcsmbs/test-wcschr-ifunc.c: New file.
1829 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1830 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1831 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1832 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1833 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1834
69f07e5f
L
1835 * string/Makefile (tests-ifunc): New variable.
1836 (tests): Add $(tests-ifunc).
1837 * string/test-memccpy.c (TEST_NAME): New macro.
1838 * string/test-memchr.c (TEST_NAME): Likewise.
1839 * string/test-memcmp.c (TEST_NAME): Likewise.
1840 * string/test-memcpy.c (TEST_NAME): Likewise.
1841 * string/test-memmem.c (TEST_NAME): Likewise.
1842 * string/test-memmove.c (TEST_NAME): Likewise.
1843 * string/test-memset.c (TEST_NAME): Likewise.
1844 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1845 * string/test-stpcpy.c (TEST_NAME): Likewise.
1846 * string/test-stpncpy.c (TEST_NAME): Likewise.
1847 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1848 * string/test-strcasestr.c (TEST_NAME): Likewise.
1849 * string/test-strcat.c (TEST_NAME): Likewise.
1850 * string/test-strchr.c (TEST_NAME): Likewise.
1851 * string/test-strcmp.c(TEST_NAME): Likewise.
1852 * string/test-strcpy.c (TEST_NAME): Likewise.
1853 * string/test-strcspn.c (TEST_NAME): Likewise.
1854 * string/test-strlen.c (TEST_NAME): Likewise.
1855 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1856 * string/test-strncmp.c (TEST_NAME): Likewise.
1857 * string/test-strncpy.c (TEST_NAME): Likewise.
1858 * string/test-strnlen.c (TEST_NAME): Likewise.
1859 * string/test-strpbrk.c (TEST_NAME): Likewise.
1860 * string/test-strrchr.c (TEST_NAME): Likewise.
1861 * string/test-strspn.c (TEST_NAME): Likewise.
1862 * string/test-strstr.c (TEST_NAME): Likewise.
1863 * string/test-bcopy-ifunc.c: New file.
1864 * string/test-bzero-ifunc.c: Likewise.
1865 * string/test-memccpy-ifunc.c: Likewise.
1866 * string/test-memchr-ifunc.c: Likewise.
1867 * string/test-memcmp-ifunc.c: Likewise.
1868 * string/test-memcpy-ifunc.c: Likewise.
1869 * string/test-memmem-ifunc.c: Likewise.
1870 * string/test-memmove-ifunc.c: Likewise.
1871 * string/test-mempcpy-ifunc.c: Likewise.
1872 * string/test-memset-ifunc.c: Likewise.
1873 * string/test-rawmemchr-ifunc.c: Likewise.
1874 * string/test-stpcpy-ifunc.c: Likewise.
1875 * string/test-stpncpy-ifunc.c: Likewise.
1876 * string/test-strcasecmp-ifunc.c: Likewise.
1877 * string/test-strcasestr-ifunc.c: Likewise.
1878 * string/test-strcat-ifunc.c: Likewise.
1879 * string/test-strchr-ifunc.c: Likewise.
1880 * string/test-strchrnul-ifunc.c: Likewise.
1881 * string/test-strcmp-ifunc.c: Likewise.
1882 * string/test-strcpy-ifunc.c: Likewise.
1883 * string/test-strcspn-ifunc.c: Likewise.
1884 * string/test-strlen-ifunc.c: Likewise.
1885 * string/test-strncasecmp-ifunc.c: Likewise.
1886 * string/test-strncat-ifunc.c: Likewise.
1887 * string/test-strncmp-ifunc.c: Likewise.
1888 * string/test-strncpy-ifunc.c: Likewise.
1889 * string/test-strnlen-ifunc.c: Likewise.
1890 * string/test-strpbrk-ifunc.c: Likewise.
1891 * string/test-strrchr-ifunc.c: Likewise.
1892 * string/test-strspn-ifunc.c: Likewise.
1893 * string/test-strstr-ifunc.c: Likewise.
1894
de54b33a
L
1895 * debug/Makefile (tests-ifunc): New variable.
1896 (tests): Add $(tests-ifunc).
1897 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1898 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1899 * debug/test-stpcpy_chk-ifunc.c: New file.
1900 * debug/test-strcpy_chk-ifunc.c: Likewise.
1901
88481c16
SP
19022012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1903
1904 [BZ #13601]
1905 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1906 header is not read in.
1907
135948bd
JM
19082012-10-19 Joseph Myers <joseph@codesourcery.com>
1909
89f1c388
JM
1910 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1911 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1912 directly. Pass built executable to script as
1913 $(built-program-cmd).
1914 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1915 $testprogram without using LD_LIBRARY_PATH and $ldso.
1916
e40a0d21
JM
1917 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1918 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1919 $(rtld-installed-name).
1920 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1921 (rtld_installed_name): Likewise.
1922 (library_path): Likewise.
1923 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1924 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1925 $(run-program-prefix) to tst-tables.sh.
1926 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1927 it to run tst-table-from and tst-table-to.
1928 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1929 Pass it to tst-table.sh.
1930 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1931 $(run-program-prefix) to tst-gettext.sh.
1932 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1933 tst-translit.sh.
1934 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1935 tst-gettext2.sh.
1936 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1937 to run tst-gettext.
1938 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1939 to run tst-gettext2.
1940 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1941 to run tst-translit.
1942 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1943 $(run-program-prefix) to tst-mtrace.sh.
1944 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1945 to run tst-mtrace.
1946 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1947 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1948 $(rtld-installed-name).
1949 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1950 (rtld_installed_name): Likewise.
1951 (run_program_prefix): New variable. Use it to run wordexp-test.
1952
728e272a
JM
1953 * Makeconfig (ARCH): Remove all definitions.
1954 (machine): Likewise.
1955 [ARCH]: Remove conditional code.
1956 [!objdir]: Give error.
1957 [!objdir] (objpfx): Remove.
1958 [!objdir] (common-objpfx): Likewise.
1959 [!objdir] (common-objdir): Likewise.
1960 * configure.in (config_makefile): Remove. Hardcode Makefile in
1961 AC_CONFIG_FILES call.
1962 * configure: Regenerated.
1963
d528cdcf
JM
1964 [BZ #13888]
1965 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1966 or TMPDIR.
1967 (testout): Likewise.
1968
135948bd
JM
1969 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1970 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1971 $(rtld-installed-name).
1972 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1973 (rtld_installed_name): Likwise.
1974 (runit): Remove function.
1975 (run_getconf): New variable, Use it for running getconf binary.
1976
38c78296
L
19772012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1978
1979 [BZ #14716]
1980 * string/test-memmem.c (check_result): New function.
1981 (do_one_test): Use it.
1982 (check1): New function.
1983 (test_main): Use it.
1984
d077f65f
MT
19852012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1986
1987 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1988
ced52c71
JM
19892012-10-18 Joseph Myers <joseph@codesourcery.com>
1990
1991 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1992 (_G_LSEEK64): Likewise.
1993 (_G_MMAP64): Likewise.
1994 (_G_FSTAT64): Likewise.
1995 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1996 (_G_LSEEK64): Likewise.
1997 (_G_MMAP64): Likewise.
1998 (_G_FSTAT64): Likewise.
1999 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2000 unconditional. Call __mmap64 directly.
2001 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2002 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2003 __lseek64 directly.
2004 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2005 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2006 __mmap64 directly.
2007 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2008 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2009 __lseek64 directly.
2010 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2011 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2012 __lseek64 directly.
2013 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2014 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2015 __lseek64 directly.
2016 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2017 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2018 __fxstat64 directly.
2019 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2020 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2021 unconditional.
2022 (freopen64) [!_G_OPEN64]: Remove conditional code.
2023 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2024 unconditional.
2025 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2026 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2027 unconditional.
2028 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2029 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2030 unconditional.
2031 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2032 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2033 unconditional.
2034 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2035 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2036 unconditional.
2037 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2038 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2039 unconditional.
2040 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2041 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2042 unconditional.
2043 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2044
b741de23
SP
20452012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2046
2047 [BZ #12140]
2048 * manual/memory.texi (Malloc Tunable Parameters): Add note
2049 about free list pointers overwriting some perturb bytes.
2050 Wording suggested by Roland McGrath.
2051
f9b9d9c9
JM
20522012-10-17 Joseph Myers <joseph@codesourcery.com>
2053
2054 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2055 (lgamma_test): Likewise.
2056 (tgamma_test): Likewise.
2057
172a631a
FW
20582012-10-16 Florian Weimer <fweimer@redhat.com>
2059
2060 [BZ #14700]
2061 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2062 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2063
e9f37252
MK
20642012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2065
2066 * NEWS: Mention BZ #14716.
2067 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2068 when removing AVAILABLE1_USES_J macro.
2069
d394eb74
L
20702012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2071
2072 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2073 (__bswap_64): __uint64_t for unsigned 64-bit int.
2074
ca38dc17
AS
20752012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2076
2077 * include/string.h (memmem): Declare libc hidden alias.
2078 * string/memmem.c (memmem): Define libc hidden alias.
2079 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2080 __read, __close instead of open, read, close.
2081
9a387d1f
L
20822012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2083
ac49ecaf
L
2084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2085 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2086 global and hidden.
2087 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2088 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2089 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2090 Likewise.
2091 (__rawmemchr_sse2): Likewise.
2092 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2093 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2094 (__strchr_sse2): Likewise.
2095 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2096 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2097 (__strcasecmp_sse2): Likewise.
2098 (__strncasecmp_sse2): Likewise.
2099 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2100 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2101 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2102 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2103 (__strrchr_sse2): Likewise.
2104 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2105 ifunc-impl-list.c.
2106 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2107 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2108 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2109 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2110 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2111 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2112 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2113 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2114 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2115 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2116 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2117 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2118 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2119 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2120 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2121 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2122 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2123 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2124 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2125 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2126 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2127 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2128 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2129 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2130 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2131 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2132 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2133 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2134 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2135 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2136
b090e8ea
L
2137 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2138 global and hidden.
2139 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2140 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2141 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2142 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2143 Likewise.
2144 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2145 Likewise.
2146 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2147 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2148 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2149 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2150 ifunc-impl-list.c.
2151 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2152 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2153 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2154 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2155 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2156 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2157 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2158 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2159 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2160 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2161 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2162 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2163 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2164 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2165 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2166 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2167 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2168 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2169 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2170 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2171 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2172 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2173 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2174 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2175 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2176 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2177 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2178 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2179 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2180 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2181 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2182 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2183 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2184 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2185 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2186 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2187 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2188 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2189 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2190 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2191 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2192
11dd4af6
L
2193 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2194 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2195 * include/ifunc-impl-list.h: New file.
2196 * misc/ifunc-impl-list.c: Likewise.
2197 * misc/Makefile (routines): Add ifunc-impl-list.
2198 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2199 * string/test-string.h: Include <ifunc-impl-list.h>.
2200 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2201 impl_array): New variables.
2202 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2203 are defined.
2204 (test_init): Call __libc_ifunc_impl_list to initialize
2205 func_list if TEST_IFUNC and TEST_NAME are defined.
2206
9a387d1f
L
2207 * string/Makefile (strop-tests): Add bcopy and bzero.
2208 * string/test-bcopy.c: New file.
2209 * string/test-bzero.c: Likewise.
2210 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2211 defined.
2212 * string/test-memset.c: Support bzero test if TEST_BZERO is
2213 defined.
2214 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2215 __libc_memmove.
2216 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2217 __libc_memset.
2218 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2219 of memset.
2220
472371b9
JM
22212012-10-10 Joseph Myers <joseph@codesourcery.com>
2222
1e4a9536
JM
2223 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2224 * configure: Regenerated.
2225
d173d12e
JM
2226 * Makeconfig (+link-static-before-libc): Don't include
2227 $(link-static-libc).
2228
472371b9
JM
2229 * libio/libio.h (_IO_pos_t): Remove.
2230
89a3ad0b
AO
22312012-10-10 Alexandre Oliva <aoliva@redhat.com>
2232
2233 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2234 McGrath.
2235
e7451425
AO
22362012-10-10 Alexandre Oliva <aoliva@redhat.com>
2237
2238 * crypt/crypt-entry.c: Include fips-private.h.
2239 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2240 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2241 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2242 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2243
4ba74a35
AO
22442012-10-10 Alexandre Oliva <aoliva@redhat.com>
2245
2246 * crypt/crypt-private.h: Include stdbool.h.
2247 (_ufc_setup_salt_r): Return bool.
2248 * crypt/crypt-entry.c: Include errno.h.
2249 (__crypt_r): Return NULL with EINVAL for bad salt.
2250 * crypt/crypt_util.c (bad_for_salt): New.
2251 (_ufc_setup_salt_r): Check that salt is long enough and within
2252 the specified alphabet.
2253 * crypt/badsalttest.c: New file.
2254 * crypt/Makefile (tests): Add it.
2255 ($(objpfx)badsalttest): New.
2256
f96f1242
MK
22572012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2258
2259 * NEWS: Add entry for BZ #14602.
2260
0e8e0c1c
JM
22612012-10-09 Joseph Myers <joseph@codesourcery.com>
2262
2263 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2264 type-generic.
2265 * math/libm-test.inc: Update comment listing what functions and
2266 macros are tested.
2267 (isgreater_test): New function.
2268 (isgreaterequal_test): Likewise.
2269 (isless_test): Likewise.
2270 (islessequal_test): Likewise.
2271 (islessgreater_test): Likewise.
2272 (isunordered_test): Likewise.
2273 (main): Call the new functions.
2274
273edc5e
RM
22752012-10-09 Roland McGrath <roland@hack.frob.com>
2276
b8493de0
RM
2277 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2278 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2279 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2280 * sysdeps/i386/configure: Regenerated.
2281 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2282 * sysdeps/mach/configure: Regenerated.
2283 * sysdeps/mach/hurd/configure: Regenerated.
2284 * sysdeps/powerpc/configure: Regenerated.
2285 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2286 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2287 * sysdeps/s390/s390-32/configure: Regenerated.
2288 * sysdeps/s390/s390-64/configure: Regenerated.
2289 * sysdeps/sh/configure: Regenerated.
2290 * sysdeps/sparc/configure: Regenerated.
2291 * sysdeps/unix/sysv/linux/configure: Regenerated.
2292 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2293 * sysdeps/x86_64/configure: Regenerated.
2294
273edc5e
RM
2295 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2296 defined. Don't check if MAP is NULL.
2297
c8450f70
JM
22982012-10-09 Joseph Myers <joseph@codesourcery.com>
2299
2300 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2301 (_G_stat64): Likewise.
2302 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2303 (_G_stat64): Likewise.
2304 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2305 instead of struct _G_stat64.
2306 * libio/fileops.c (mmap_remap_check): Likewise.
2307 (decide_maybe_mmap): Likewise.
2308 (_IO_new_file_seekoff): Likewise.
2309 (_IO_file_stat): Likewise.
2310 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2311 _G_off64_t.
2312 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2313 instead of struct _G_stat64.
2314 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2315
57e605ba
MK
23162012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2317
2318 [BZ #14602]
2319 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2320 Replace with ...
2321 (CHECK_EOL): New macro.
2322 (two_way_short_needle): Check beginning of haystack for EOL. Use
2323 CHECK_EOL.
2324 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2325 Replace with CHECK_EOL.
2326 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2327 Replace with CHECK_EOL.
2328
ef1bb361
JM
23292012-10-08 Joseph Myers <joseph@codesourcery.com>
2330
2331 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2332 type-generic.
2333 * math/libm-test.inc: Update comment listing what functions and
2334 macros are tested.
2335 (finite_test): New function.
2336 (isinf_test): Likewise.
2337 (isnan_test): Likewise.
2338 (fpclassify_test): Test subnormal input.
2339 (isfinite_test): Likewise.
2340 (isnormal_test): Likewise.
2341 (main): Call the new functions.
2342
55f11534
JN
23432012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2344
2345 [BZ #14660]
2346 * Makerules (%.dynsym): Force C locale when running
2347 $(OBJDUMP) --dynamic-syms.
2348
1ab29350
AS
23492012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2350
2351 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2352 <stdint.h>.
2353
f1ecb7ef
DM
23542012-10-06 David S. Miller <davem@davemloft.net>
2355
2356 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2357 upper 32-bits of the length value in %o2 since we use branch-on-register
2358 tests which consider the entire 64-bit register.
2359
5d41d91a
L
23602012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2361
2362 * string/test-strstr.c (check2): Add a test for page boundary.
2363
3baddb72
DM
23642012-10-05 David S. Miller <davem@davemloft.net>
2365
2366 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2367 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2368 file.
2369 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2370 sysdep_routines.
2371 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2372 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2373 and bzero when HWCAP_SPARC_CRYPTO is present.
2374
9cee5585
L
23752012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2376
d7e0dab9
L
2377 [BZ #14602]
2378 * string/test-strstr.c (check2): New function.
2379 (test_main): Call check2.
2380
03759f47
L
2381 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2382 and bug-strchr1.
2383 * string/bug-strcasestr1.c (do_test): Moved to ...
2384 * string/test-strcasestr.c (check1): Here. New function.
2385 (do_one_test): Break out result checking code into ...
2386 (check_result): This. New function.
2387 (do_one_test): Call check_result.
2388 (test_main): Call check1.
2389 * string/bug-strchr1.c (do_test): Moved to ...
2390 * string/test-strchr.c (check1): Here. New function.
2391 (do_one_test): Break out result checking code into ...
2392 (check_result): This. New function.
2393 (do_one_test): Call check_result.
2394 (test_main): Call check1.
2395 * string/bug-strstr1.c (main): Moved to ...
2396 * string/test-strchr.c (check1): Here. New function.
2397 (do_one_test): Break out result checking code into ...
2398 (check_result): This. New function.
2399 (do_one_test): Call check_result.
2400 (test_main): Call check1.
2401 * string/bug-strcasestr1.c: Removed.
2402 * string/bug-strchr1.c: Likewise.
2403 * string/bug-strstr1.c: Likewise.
2404
53cea63e
L
2405 * elf/Makefile (dl-routines): Add hwcaps.
2406 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2407 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2408 (_dl_important_hwcaps): Moved to ...
2409 * elf/dl-hwcaps.c: Here. New file.
2410 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2411
9cee5585 2412 [BZ #14557]
bb859b06
L
2413 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2414 if IS_IN_rtld isn't defined.
2415
9cee5585
L
2416 * elf/dl-support.c (_dl_sysinfo_map): New.
2417 Include "get-dynamic-info.h" and "setup-vdso.h".
2418 (_dl_non_dynamic_init): Call setup_vdso.
2419 * elf/dynamic-link.h: Don't include <assert.h>.
2420 (elf_get_dynamic_info): Moved to ...
2421 * elf/get-dynamic-info.h: Here. New file.
2422 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2423 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2424 * elf/setup-vdso.h: Here. New file.
2425 * elf/rtld.c: Include "setup-vdso.h".
2426 (dl_main): Call setup_vdso.
2427
23c31b76
JM
24282012-10-05 Joseph Myers <joseph@codesourcery.com>
2429
28234b07
JM
2430 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2431 creal in comment listing functions tested. List finite, isinf,
2432 isnan, isless, islessequal, isgreater, isgreaterequal,
2433 islessgreater, isunordered, lgamma_r and pow10 as functions and
2434 macros not tested. Mention which functions not tested are aliases
2435 for other functions. Fix typo. Note that signs of NaNs are not
2436 tested.
2437
23c31b76
JM
2438 * scripts/config.guess: Update from config.git.
2439 * scripts/config.sub: Likewise.
2440
9043e228
RM
24412012-10-04 Roland McGrath <roland@hack.frob.com>
2442
2443 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2444 * misc/madvise.c (madvise): Renamed to __madvise.
2445 Make madvise a weak alias.
2446 * include/sys/mman.h: Declare __madvise.
2447 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2448 * sysdeps/unix/syscalls.list
2449 (madvise): Make __madvise the strong name, and madvise a weak alias.
2450 * sysdeps/unix/sysv/linux/syscalls.list
2451 (madvise, mmap): Remove redundant entries.
2452 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2453 * malloc/malloc.c (mtrim): Likewise.
2454 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2455
f57f8055
RM
24562012-10-03 Roland McGrath <roland@hack.frob.com>
2457
2458 * sysdeps/mach/hurd/dl-cache.c: File removed.
2459 * config.h.in (USE_LDCONFIG): New #undef.
2460 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2461 * configure: Regenerated.
2462 * elf/Makefile (dl-routines): Add dl-cache only under
2463 [$(use-ldconfig) = yes].
2464 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2465 cache on [USE_LDCONFIG].
2466 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2467 [USE_LDCONFIG].
2468 * elf/rtld.c (dl_main): Likewise.
2469
5bb0c10a
PT
24702012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2471
2472 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2473 _SC_LEVEL4_CACHE_LINESIZE.
2474
010188c6
RM
24752012-10-03 Roland McGrath <roland@hack.frob.com>
2476
2477 * sysdeps/unix/bsd/confstr.h: File removed.
2478
b6c5ec07
AO
24792012-10-02 Alexandre Oliva <aoliva@redhat.com>
2480
2481 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2482 sys/sdt-config.h.
2483
408223d4
RM
24842012-10-02 Roland McGrath <roland@hack.frob.com>
2485
2486 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2487 Make 'mapoff' field ElfW(Off) rather than off_t.
2488
bb9510dc
DL
24892012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2490
fc997c6e
DL
2491 * nscd/Makefile: Remove nscd-cflags and all its users.
2492 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2493 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2494
bb9510dc
DL
2495 [BZ #10631]
2496 * malloc.c (malloc_printerr): Clarify error message.
2497
05699367
L
24982012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2499
2500 [BZ #14648]
2501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2502 Set bit_FMA_Usable if FMA is supported.
2503 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2504 macro.
2505 (bit_FMA4_Usable): Updated.
2506 (index_FMA_Usable): New macro.
2507 (CPUID_FMA): Likewise
2508 (HAS_FMA): Defined with bit_FMA_Usable.
2509
51367701
RM
25102012-10-01 Roland McGrath <roland@hack.frob.com>
2511
2512 * bits/types.h (__swblk_t): Type removed.
2513 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2514 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2516 (__SWBLK_T_TYPE): Likewise.
2517 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2518 (__SWBLK_T_TYPE): Likewise.
2519 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2520 (__SWBLK_T_TYPE): Likewise.
2521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2522 (__SWBLK_T_TYPE): Likewise.
2523
4d57bf63 25242012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2525 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2526
2527 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2528 (xdr_mapname): Use YPMAXMAP as maxsize.
2529 (xdr_peername): Use YPMAXPEER as maxsize.
2530 (xdr_keydat): Use YPAXRECORD as maxsize.
2531 (xdr_valdat): Use YPMAXRECORD as maxsize.
2532
93c65d43
RM
25332012-10-01 Roland McGrath <roland@hack.frob.com>
2534
497a03d6
RM
2535 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2536
93c65d43
RM
2537 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2538 * csu/init-first.c: ... here.
2539 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2540 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2541 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2542 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2543 * sysdeps/i386/init-first.c: File removed.
2544 * sysdeps/sh/init-first.c: File removed.
2545
bec749fd
JM
25462012-10-01 Joseph Myers <joseph@codesourcery.com>
2547
2548 [BZ #14645]
2549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2550 if x * y might underflow to zero and z is zero.
2551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2552 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2553 * math/libm-test.inc (min_subnorm_value): New variable.
2554 (fma_test): Add more tests.
2555 (fma_test_towardzero): Likewise.
2556 (fma_test_downward): Likewise
2557 (fma_test_upward): Likewise.
2558 (initialize): Set min_subnorm_value.
2559
8ec5b013
JM
25602012-09-29 Joseph Myers <joseph@codesourcery.com>
2561
2562 [BZ #14638]
2563 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2564 0 + 0.
2565 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2566 mode for addition resulting in exact zero.
2567 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2569 exact 0 + 0.
2570 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2572 * math/libm-test.inc (fma_test): Add more tests.
2573 (fma_test_towardzero): New function.
2574 (fma_test_downward): Likewise.
2575 (fma_test_upward): Likewise.
2576 (main): Call the new functions.
2577
b1fa802e
DM
25782012-09-28 David S. Miller <davem@davemloft.net>
2579
2580 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2581
d3b9fd9e
RM
25822012-09-28 Roland McGrath <roland@hack.frob.com>
2583
ea4d37b3
RM
2584 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2585 instead of SIGALRM.
2586
ac51c949
RM
2587 * sysdeps/gnu/_G_config.h: Moved to ...
2588 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2589 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2590 * sysdeps/generic/_G_config.h: ... here.
2591
28c195f7
RM
2592 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2593
848917f9
RM
2594 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2595
6bacf05b
RM
2596 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2597 Conditionalize target on [libnss_test1.so-version].
2598
91363dbb
RM
2599 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2600
cc87f7d8
RM
2601 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2602 (elfobjdir): Move out of conditionals.
2603
b1c608fe
RM
2604 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2605 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2606 (__nss_lookup_function): Conditionalize label remove_from_tree on
2607 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 2608
1d9a6d96
DM
26092012-09-28 David S. Miller <davem@davemloft.net>
2610
2611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2612 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2613 file.
2614 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2615 sysdep_routines.
2616 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2617 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2618 when HWCAP_SPARC_CRYPTO is present.
2619
72581615
PT
26202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2621
2622 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2623
715a900c
JL
26242012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2625
2626 [BZ #6530]
2627 * stdio-common/vfprintf.c (process_string_arg): Revert
2628 2000-07-22 change.
2629
26302011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2631
2632 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2633 for testcase.
2634 * stdio-common/tst-sprintf.c: Include <locale.h>
2635 (main): Test sprintf's handling of incomplete multibyte
2636 characters.
2637
9bac1d86
L
26382012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 * elf/dl-runtime.c (VERSYMIDX): Removed.
2641 * elf/dl-version.c (VERSYMIDX): Likewise.
2642 * elf/do-rel.h (VERSYMIDX): Likewise.
2643 (VALIDX): Likewise.
2644 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2645 * elf/rtld.c (VALIDX): Likewise.
2646 (ADDRIDX): Likewise.
9bac1d86
L
2647 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2648 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2649 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2650 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2651 (VALIDX): Likewise.
2652 (ADDRIDX): Likewise.
9bac1d86 2653
b31606c0
PT
26542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2655
2656 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2657
11541177
JL
26582012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2659
2660 [BZ #11438]
2661 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2662 to global scope.
2663 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2664 addresses are in the same scope as 192.0.2/24.
2665 * posix/gai.conf: Document new scope table defaults.
2666
adb26fae
SP
26672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2668
2669 [BZ #5298]
2670 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2671 for ftell. Compute offsets from write pointers instead.
2672 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2673
4573c6b0
SP
26742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2675
2676 [BZ #14543]
2677 * libio/Makefile (tests): New test case tst-fseek.
2678 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2679 combination works in wide mode.
2680 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2681 state when the external buffer state changes.
2682
aa9bbfe6
DM
26832012-09-27 David S. Miller <davem@davemloft.net>
2684
2685 [BZ #14376]
2686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2687 pass reloc->r_addend in as the 'high' argument to
2688 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2689
784421e7
DM
2690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2691
c39bc8b8
PT
26922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2693
2694 * rt/tst-aio2.c: Include <pthread.h>.
2695 * rt/tst-aio3.c: Likewise.
2696
1ccc2399
SE
26972012-09-27 Steve Ellcey <sellcey@mips.com>
2698
2699 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2700
31ed4153
L
27012012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2702
25f5f885
L
2703 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2704 contents on [SHARED].
31ed4153 2705
b7bfe116
MP
27062012-09-26 Marek Polacek <polacek@redhat.com>
2707
2708 [BZ #14530]
2709 [BZ #13741]
2710 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2711 for C++ and GCC <4.3 as well as for non GCC compilers.
2712
43c4edba
MT
27132012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2714
2715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2716
6a1bf82f
RM
27172012-09-25 Roland McGrath <roland@hack.frob.com>
2718
2719 * Makefile.in (all, install): Declare with .PHONY.
2720 Reported by Michael Hope <michael.hope@linaro.org>.
2721
8ad11b9a
TMQMF
27222012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2723
2724 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2725 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2726 system header.
2727 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2728 Likewise.
2729 (sydep_routines): Add the new and the internal functions.
2730 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2731 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2733 (GLIBC_2.17): Add the new function.
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2735 (GLIBC_2.17): Likewise.
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2737 (GLIBC_2.17): Likewise.
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2739 (GLIBC_2.17): Likewise.
2740 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2741
7e2fca8d
AM
27422012-09-25 Alan Modra <amodra@gmail.com>
2743
2744 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2745 Add release barrier before setting once_control to say
2746 initialisation is done. Add hints on lwarx. Use macro in
2747 place of isync.
2748 (clear_once_control): Add release barrier.
2749
b87c4b24
JM
27502012-09-25 Joseph Myers <joseph@codesourcery.com>
2751
d032e0d2
JM
2752 [BZ #13629]
2753 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2754 specially.
2755 * math/s_clog10.c (__clog10): Likewise.
2756 * math/s_clog10f.c (__clog10f): Likewise.
2757 * math/s_clog10l.c (__clog10l): Likewise.
2758 * math/s_clogf.c (__clogf): Likewise.
2759 * math/s_clogl.c (__clogl): Likewise.
2760 * math/Makefile (libm-calls): Add x2y2m1.
2761 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2762 (__x2y2m1): Likewise.
2763 (__x2y2m1l): Likewise.
2764 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2765 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2766 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2767 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2768 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2769 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2770 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2771 * sysdeps/i386/fpu/libm-test-ulps: Update.
2772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2773
b87c4b24
JM
2774 [BZ #14621]
2775 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2776 int as type of variable DEPTH.
2777 (glob): Use size_t instead of int as type of variables NEWCOUNT
2778 and OLD_PATHC.
2779
6d3bf199
LD
27802012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2781
22bf5c17
LD
2782 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2783 Add s_sincosf-sse2.
2784 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2785 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2786 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2787 macros for using routine as __sincosf_ia32.
2788 Use macro for function declaration and weak_alias.
2789 * sysdeps/i386/fpu/libm-test-ulps: Update.
2790
2791 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2793
2794 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2795 subnormal argument.
2796 * math/s_cexpf.c (__cexpf): Likewise.
2797 * math/s_csinf.c (__csinf): Likewise.
2798 * math/s_csinhf.c (__csinhf): Likewise.
2799 * math/s_ctanf.c (__ctanf): Likewise.
2800 * math/s_ctanhf.c (__ctanhf): Likewise.
2801 * math/s_ccosh.c (__ccoshf): Likewise.
2802 * math/s_cexp.c (__cexpl): Likewise.
2803 * math/s_csin.c (__csin): Likewise.
2804 * math/s_csinh.c (__csinh): Likewise.
2805 * math/s_ctan.c (__ctan): Likewise.
2806 * math/s_ctanh.c (ctanh): Likewise.
2807 * math/s_ccoshl.c (__ccoshl): Likewise.
2808 * math/s_cexpl.c (__cexpl): Likewise.
2809 * math/s_csinl.c (__csinl): Likewise.
2810 * math/s_csinhl.c (__csinhl): Likewise.
2811 * math/s_ctanl.c (__ctanl): Likewise.
2812 * math/s_ctanhl.c (__ctanhl): Likewise.
2813
203e5603
JM
28142012-09-25 Joseph Myers <joseph@codesourcery.com>
2815
2816 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2817 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2818 (_IO_off_t): Define to __off_t, not _G_off_t.
2819 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2820 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2821 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2822 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2823 type of __dummy and __dummy2 fields.
2824 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2825 (_G_ssize_t): Likewise.
2826 (_G_off_t): Likewise.
2827 (_G_pid_t): Likewise.
2828 (_G_uid_t): Likewise.
2829 (_G_wchar_t): Likewise.
2830 (_G_wint_t): Likewise.
2831 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2832 (_G_ssize_t): Likewise.
2833 (_G_off_t): Likewise.
2834 (_G_pid_t): Likewise.
2835 (_G_uid_t): Likewise.
2836 (_G_wchar_t): Likewise.
2837 (_G_wint_t): Likewise.
2838 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2839 (_G_ssize_t): Likewise.
2840 (_G_off_t): Likewise.
2841 (_G_pid_t): Likewise.
2842 (_G_uid_t): Likewise.
2843 (_G_wchar_t): Likewise.
2844 (_G_wint_t): Likewise.
2845
9fab36eb
SP
28462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2847
2848 * malloc/arena.c: Include malloc-sysdep.h.
2849 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2850 is sufficient to shrink the heap or an unmap is needed.
2851 * sysdeps/generic/malloc-sysdep.h: New file. Define
2852 new function check_may_shrink_heap.
2853 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2854 new function check_may_shrink_heap.
2855
2b4f00d1
SP
28562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2857
2858 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2859 comments.
2860
9a9028b1
DL
28612012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2862
57c69bef
DL
2863 * catgets/test-gencat.sh: Add "set -e".
2864 * elf/tst-pathopt.sh: Likewise.
2865 * grp/tst_fgetgrent.sh: Likewise.
2866 * iconvdata/run-iconv-test.sh: Likewise.
2867 * intl/tst-gettext.sh: Likewise.
2868 * intl/tst-gettext2.sh: Likewise.
2869 * intl/tst-gettext4.sh: Likewise.
2870 * intl/tst-gettext6.sh: Likewise.
2871 * intl/tst-translit.sh: Likewise.
2872 * io/ftwtest-sh: Likewise.
2873 * libio/test-freopen.sh: Likewise.
2874 * malloc/tst-mtrace.sh: Likewise.
2875 * posix/globtest.sh: Likewise.
2876 * posix/tst-getconf.sh: Likewise.
2877 * posix/wordexp-tst.sh: Likewise.
2878 * stdio-common/tst-printf.sh: Likewise.
2879 * stdio-common/tst-unbputc.sh: Likewise.
2880 * stdlib/tst-fmtmsg.sh: Likewise.
2881 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2882 * catgets/Makefile: Do not specify -e option when running
2883 testsuite shell scripts.
2884 * elf/Makefile: Likewise.
2885 * grp/Makefile: Likewise.
2886 * iconvdata/Makefile: Likewise.
2887 * intl/Makefile: Likewise.
2888 * io/Makefile: Likewise.
2889 * libio/Makefile: Likewise.
2890 * malloc/Makefile: Likewise.
2891 * posix/Makefile: Likewise.
2892 * stdio-common/Makefile: Likewise.
2893 * stdlib/Makefile: Likewise.
2894 * sysdeps/x86_64/Makefile: Likewise.
2895
9a9028b1
DL
2896 * io/ftwtest-sh: Add copyright header.
2897 * posix/globtest.sh: Likewise.
2898 * posix/tst-getconf.sh: Likewise.
2899 * posix/wordexp-tst.sh: Likewise.
2900 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2901
ced6f16e
L
29022012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2903
94b32c39
L
2904 [BZ #13679]
2905 * Makeconfig (+link): Defined as $(+link-static) if
2906 $(build-shared) isn't yes.
2907 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2908 isn't yes.
2909 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2910
189e935b
L
2911 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2912
ced6f16e
L
2913 [BZ #14562]
2914 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2915 new chunk size with MALLOC_ALIGN_MASK.
2916
a9f8e53a
JM
29172012-09-24 Joseph Myers <joseph@codesourcery.com>
2918
2919 [BZ #5044]
2920 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2921 <rounding-mode.h>.
2922 (__printf_fphex): Determine rounding using get_rounding_mode and
2923 round_away.
2924 * stdio-common/tst-printf-round.c (struct hex_test): New
2925 structure.
2926 (hex_tests): New variable.
2927 (test_hex_in_one_mode): New function.
2928 (do_test): Also run tests for hex float output.
2929
43153109
JM
29302012-09-21 Joseph Myers <joseph@codesourcery.com>
2931
2932 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2933 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2934 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2935 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2936 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2937 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2938 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2939 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2940
8a26625d
JM
29412012-09-20 Joseph Myers <joseph@codesourcery.com>
2942
2943 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2944 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2945 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2946 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2947
f3fd569c
DL
29482012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2949
2950 [BZ #14579]
2951 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2952 mode only.
2953 * elf/tst-rtld-load-self.sh: New test.
2954 * elf/Makefile: Run it.
2955
63bbedd4
JM
29562012-09-18 Joseph Myers <joseph@codesourcery.com>
2957
2958 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2959 (tst-writev-ENV): Remove.
2960 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2961
626f8b6a
CM
29622012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2963
2964 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2965
b7aaa4d6
JM
29662012-09-17 Joseph Myers <joseph@codesourcery.com>
2967
2968 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2969 unconditional.
2970 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2971 Likewise.
2972 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2973 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2974 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2975 Likewise.
2976
65513990
L
29772012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 [BZ #14587]
2980 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2981 * config.make.in (have-cpp-asm-debuginfo): Removed.
2982 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2983 * configure: Regenerated.
2984
784761be
JM
29852012-09-14 Joseph Myers <joseph@codesourcery.com>
2986
2987 [BZ #5044]
2988 * stdio-common/printf_fp.c: Include <stdbool.h> and
2989 <rounding-mode.h>.
2990 (___printf_fp): Determine rounding using get_rounding_mode and
2991 round_away.
2992 * stdio-common/tst-printf-round.c: New file.
2993 * stdio-common/Makefile (tests): Add tst-printf-round.
2994 (link-libm): New variable.
2995 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2996
9503345f
L
29972012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2998
2999 [BZ #14576]
3000 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3001 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3002 Likewise.
3003 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3004 Likewise.
3005
ad35fc00
JM
30062012-09-13 Joseph Myers <joseph@codesourcery.com>
3007
3008 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3009 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3010 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3011 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3012
6c9b0f68
JM
30132012-09-12 Joseph Myers <joseph@codesourcery.com>
3014
3015 [BZ #14518]
3016 * include/rounding-mode.h: New file.
3017 * sysdeps/generic/get-rounding-mode.h: Likewise.
3018 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3019 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3020 (MAX_VALUE): New macro.
3021 (MIN_VALUE): Likewise.
3022 (overflow_value): New function.
3023 (underflow_value): Likewise.
3024 (round_and_return): Use overflow_value and underflow_value to
3025 determine return values in overflow and underflow cases. Use
3026 round_away to determine rounding depending on rounding mode.
3027 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3028 determine return values in overflow and underflow cases.
3029 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3030 (struct test_results): New structure.
3031 (struct test): Use struct test_results to store expected results
3032 for all rounding modes.
3033 (TEST): Include expected results for all rounding modes.
3034 (test_in_one_mode): New function.
3035 (do_test): Use test_in_one_mode to compute and check results.
3036 Check results for all rounding modes.
3037 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3038 $(link-libm).
3039
19fcedd5
AM
30402012-12-09 Allan McRae <allan@archlinux.org>
3041
1e9d84cd 3042 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3043
8bbfd2f1
JM
30442012-09-11 Joseph Myers <joseph@codesourcery.com>
3045
3046 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3047 (_G_int32_t): Likewise.
3048 (_G_uint16_t): Likewise.
3049 (_G_uint32_t): Likewise.
3050 (_G_HAVE_BOOL): Likewise.
3051 (_G_HAVE_ATEXIT): Likewise.
3052 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3053 (_G_HAVE_IO_FILE_OPEN): Likewise.
3054 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3055 (_G_int32_t): Likewise.
3056 (_G_uint16_t): Likewise.
3057 (_G_uint32_t): Likewise.
3058 (_G_HAVE_BOOL): Likewise.
3059 (_G_HAVE_ATEXIT): Likewise.
3060 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3061 (_G_HAVE_IO_FILE_OPEN): Likewise.
3062 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3063 (_G_int32_t): Likewise.
3064 (_G_uint16_t): Likewise.
3065 (_G_uint32_t): Likewise.
3066 (_G_HAVE_BOOL): Likewise.
3067 (_G_HAVE_ATEXIT): Likewise.
3068 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3069 (_G_HAVE_IO_FILE_OPEN): Likewise.
3070
b1dc5912
L
30712012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3072
3073 * csu/libc-tls.c: Update copyright years.
3074
0e886ef9
JM
30752012-09-10 Joseph Myers <joseph@codesourcery.com>
3076
28361c5e
JM
3077 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3078 [!_G_USING_THUNKS]: Remove conditional code.
3079 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3080 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3081
0e886ef9
JM
3082 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3083 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3084 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3085 (_G_VTABLE_LABEL_PREFIX): Likewise.
3086 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3087 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3088 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3089 (_G_VTABLE_LABEL_PREFIX): Likewise.
3090 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3091 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3092 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3093 (_G_VTABLE_LABEL_PREFIX): Likewise.
3094 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3095
bcba7aa2
L
30962012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 * libio/Makefile: Include ../Makeconfig before tests.
3099 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3100 only if $(build-shared) is yes.
3101
06585ee8
L
3102 * iconv/gconv_db.c: Update copyright years.
3103
80ccd52c
LD
31042012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3105
3106 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3107 unwind info if defined PIC. Fix special cases description.
3108 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3109
3110 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3111 DP_HI_MASK entry.
3112 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3113
691bc9c1
L
31142012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3115
3d9b46b3
L
3116 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3117
de2139a9
L
3118 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3119 is NULL.
3120
5ca78dd0
L
3121 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3122 (LDLIBS-tst-chk4): This.
3123 (LDFLAGS-tst-chk5): Renamed to ...
3124 (LDLIBS-tst-chk5): This.
3125 (LDFLAGS-tst-chk6): Renamed to ...
3126 (LDLIBS-tst-chk6): This.
3127 (LDFLAGS-tst-lfschk4): Renamed to ...
3128 (LDLIBS-tst-lfschk4): This.
3129 (LDFLAGS-tst-lfschk5): Renamed to ...
3130 (LDLIBS-tst-lfschk5): This.
3131 (LDFLAGS-tst-lfschk6): Renamed to ...
3132 (LDLIBS-tst-lfschk6): This.
3133
691bc9c1
L
3134 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3135 on $(common-objpfx)soversions.mk.
3136
65cafb1c
JM
31372012-09-07 Joseph Myers <joseph@codesourcery.com>
3138
3139 [BZ #10014]
3140 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3141 example host name.
3142
c78ab094
SP
31432012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3144
3145 * malloc/arena.c (arena_get_retry): New function that gets
3146 another arena for the caller to try its request on.
3147 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3148 current arena cannot fulfill the request.
3149 (__libc_memalign): Likewise.
3150 (__libc_memalign): Likewise.
3151 (__libc_pvalloc): Likewise.
3152 (__libc_calloc): Likewise.
3153
01f49f59
JT
31542012-09-05 John Tobey <john.tobey@gmail.com>
3155
3156 [BZ #13542]
3157 * manual/arith.texi (Operations on Complex): Fix description
3158 of carg branch cut.
3159
4c23fed5
JM
31602012-09-06 Joseph Myers <joseph@codesourcery.com>
3161
1d3c8572
JM
3162 [BZ #10014]
3163 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3164 host name.
3165
4c23fed5
JM
3166 [BZ #10038]
3167 * manual/memory.texi (Memory): Make order of menu items match
3168 order of sections.
3169
04570aaa
L
31702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3171
3172 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3173 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3174 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3175
b80af2f4
L
31762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3177
3178 * csu/libc-tls.c (static_dtv): Renamed to ...
3179 (_dl_static_dtv): This. Make it global.
3180 (_dl_initial_dtv): Removed.
3181 (__libc_setup_tls): Updated.
3182 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3183 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3184 DL_INITIAL_DTV.
3185
2abe9f15
PM
31862012-09-06 Petr Machata <pmachata@redhat.com>
3187
3188 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3189 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3190 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3191 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3192
0948c3af
L
31932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3194
3195 [BZ #14545]
3196 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3197 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3198 freeing dtv[-1].
3199
a5055ad1
L
32002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3201
3202 [BZ #14544]
3203 * Makeconfig (link-static-before-libc): Replace $(+prector)
3204 with $(+prectorT).
3205 (link-static-after-libc): Replace $(+postctor) with
3206 $(+postctorT).
3207 (link-bounded): Replace $(+prector)/$(+postctor) with
3208 $(+prectorT)/$(+postctorT).
3209 (+prectorT): New macro.
3210 (+postctorT): Likewise.
3211
ed8c2ecd
JM
32122012-09-06 Joseph Myers <joseph@codesourcery.com>
3213
3214 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3215 (round_str): Handle values above the maximum for IBM long double
3216 as inexact.
3217 * stdlib/tst-strtod-round.c (tests): Regenerated.
3218
14c996c8
AK
32192012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3220
3221 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3222 assembler flag.
3223 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3224 zarch_nohighgprs around the zarch optimized routines.
3225 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3226 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3227 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3228 for zarch.
3229
430d6ce6
DM
32302012-09-05 David S. Miller <davem@davemloft.net>
3231
3232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3233
ff04dda4
DM
3234 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3235 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3236 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3237 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3238 entries.
3239
24d4e01b
AO
32402012-09-05 Alexandre Oliva <aoliva@redhat.com>
3241
3242 * malloc/arena.c: Fold copyright years.
3243 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3244
61d58174
AO
32452012-09-05 Alexandre Oliva <aoliva@redhat.com>
3246
3247 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3248
20196a5e
AO
32492012-09-05 Alexandre Oliva <aoliva@redhat.com>
3250
3251 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3252
5c447383
AO
32532012-09-05 Alexandre Oliva <aoliva@redhat.com>
3254
3255 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3256 change internal state upon failure.
3257
fad64255
AO
32582012-09-05 Alexandre Oliva <aoliva@redhat.com>
3259
3260 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3261 * malloc/memusage.c (mmap): Likewise.
3262 (mmap64, mremap): Likewise. Adjust name in comment.
3263
1ffb8c90
SP
32642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3265
3266 * libio/fileops.c: Fix typos in comments.
3267 * libio/oldfileops.c: Likewise.
3268 * libio/wfileops.c: Likewise.
3269
6ef9cc37
SP
32702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3271
3272 [BZ #1349]
3273 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3274 (tst-malloc-usable-ENV): Set environment for test case.
3275 * malloc/hooks.c (malloc_check_get_size): New function to get
3276 requested size.
3277 * malloc/malloc.c (musable): Use malloc_check_get_size.
3278 * malloc/tst-malloc-usable.c: New test case.
3279
4d038ae3
AS
32802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3281
3282 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3283
c4e85184
AM
32842012-09-05 Allan McRae <allan@archlinux.org>
3285
b9dafc56 3286 [BZ #13966]
c4e85184
AM
3287 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3288 determine header location.
3289 * configure: Regenerated.
3290
e1343020
AS
32912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3292
3293 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3294 float format.
3295 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3296 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3297 format.
e1343020
AS
3298 (test): Regenerate.
3299
0a9f1987
DM
33002012-09-04 David S. Miller <davem@davemloft.net>
3301
3302 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3303 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3304 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3305
29237804
FW
33062012-09-04 Florian Weimer <fweimer@redhat.com>
3307
3308 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3309 failures.
3310
edb3cb88
FW
3311 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3312
60160d83
JM
33132012-09-04 Joseph Myers <joseph@codesourcery.com>
3314
3315 [BZ #9914]
3316 * libio/iogetdelim.c: Include <limits.h>.
3317 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3318 + len + 1 would overflow.
3319
bcd6c8dc
AJ
33202012-09-03 Andreas Jaeger <aj@suse.de>
3321
3322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3323 * sysdeps/i386/fpu/libm-test-ulps: Update.
3324
4ffffbd2
LD
33252012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3326
3327 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3328 Add s_sinf-sse2, s_conf-sse2.
3329
3330 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3331 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3332 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3333 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3334
3335 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3336 for using routine as __sinf_ia32.
3337 Use macro for function declaration and weak_alias.
3338 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3339 for using routine as __cosf_ia32.
3340 Use macro for function declaration and weak_alias.
3341
3342 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3343 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3344
3345 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3346 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3348
3349 * math/libm-test.inc (cos_test): Add more test cases.
3350 (sin_test): Likewise.
3351 (sincos_test): Likewise.
3352
511fa286
AK
33532012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3354
3355 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3356 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3357 hidden.
3358 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3359
5f30cfec
L
33602012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3361
3362 [BZ #14538]
3363 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3364 first element of the GOT.
3365 (elf_machine_load_address): Return the difference between
3366 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3367
0786794f
AM
33682012-09-01 Allan McRae <allan@archlinux.org>
3369
5f30cfec
L
3370 [BZ #13412]
3371 * configure.in (AWK): Require gawk version 3.0 or later.
3372 * configure: Regenerated.
0786794f 3373
26889eac
JM
33742012-09-01 Joseph Myers <joseph@codesourcery.com>
3375
3376 * sysdeps/unix/sysv/linux/kernel-features.h
3377 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3378 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3379 [__NR_clock_getres]: Make code unconditional.
3380 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3381 (clock_getcpuclockid): Remove code left unreachable by removal of
3382 conditionals.
3383 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3384 code unconditional.
3385 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3386 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3387 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3388 Make code unconditional.
3389 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3390 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3391 * sysdeps/unix/sysv/linux/clock_settime.c
3392 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3393 conditional code.
3394 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3395 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3396
d22e28b0
L
33972012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3398
3399 [BZ #14476]
3400 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3401 scripts/test-installation.pl.
3402
3403 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3404 and $ld_so_version if it is set.
3405
050af9c4
SP
34062012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3407
3408 [BZ #14516]
3409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3410 failure if reading from procfs failed.
3411 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3412
ad845c0b
JM
34132012-08-27 Joseph Myers <joseph@codesourcery.com>
3414
3415 * sysdeps/unix/sysv/linux/kernel-features.h
3416 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3417 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3418 Remove conditional code.
3419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3420 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3421 Remove conditional code.
3422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3423 * sysdeps/unix/sysv/linux/i386/fxstat.c
3424 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3425 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3426 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3427 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3428 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3429 * sysdeps/unix/sysv/linux/i386/lxstat.c
3430 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3431 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3432 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3433 Remove conditional code.
3434 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3435 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3436 Remove conditional code.
3437 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3438 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3439 <kernel-features.h>.
3440 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3441 Remove.
3442 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3443 Remove conditional code.
3444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3445 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3446 Remove conditional.
3447
5dbf56af
MF
34482012-08-27 Mike Frysinger <vapier@gentoo.org>
3449
3450 [BZ #5400]
3451 * NEWS: Add fixed bug number.
3452
d6e70f43
JM
34532012-08-27 Joseph Myers <joseph@codesourcery.com>
3454
7efb4737
JM
3455 [BZ #14519]
3456 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3457 underflowing exponent in case of negative sign.
3458 * stdlib/tst-strtod-round-data: Add more tests.
3459 * stdlib/tst-strtod-round.c (tests): Regenerated.
3460
af92131a
JM
3461 [BZ #3479]
3462 * stdlib/strtod_l.c (NDIG): Remove.
3463 (HEXNDIG): Likewise.
3464 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3465 smallest representable value.
3466 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3467 lie within an exact representation of 1/2 ulp of the result.
3468 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3469 unconditionally.
3470 (TENS_P9_IDX): Define unconditionally.
3471 (TENS_P9_SIZE): Likewise.
3472 (TENS_P10_IDX): Likewise.
3473 (TENS_P10_SIZE): Likewise.
3474 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3475 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3476 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3477 entries for 10^2^13 and 10^2^14.
3478 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3479 (TENS_P13_IDX): Define.
3480 (TENS_P13_SIZE): Likewise.
3481 (TENS_P14_IDX): Likewise.
3482 (TENS_P14_SIZE): Likewise.
3483 (_fpioconst_pow10): Change array size to
3484 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3485 unconditional.
3486 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3487 1024]: Add entries for 10^2^13 and 10^2^14.
3488 [LAST_POW10 > _LAST_POW10]: Remove #error.
3489 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3490 (_fpioconst_pow10): Change array size to
3491 FPIOCONST_POW10_ARRAY_SIZE.
3492 * stdlib/gen-fpioconst.c: New file.
3493 * stdlib/gen-tst-strtod-round.c: Likewise.
3494 * stdlib/tst-strtod-round-data: Likewise.
3495 * stdlib/tst-strtod-round.c: Likewise.
3496 * stdlib/Makefile (tests): Add tst-strtod-round.
3497
d6e70f43
JM
3498 [BZ #14459]
3499 * stdlib/strtod_l.c: Include <stdint.h>.
3500 (NDEBUG): Do not define.
3501 (round_and_return): Change EXPONENT parameter to type intmax_t.
3502 Rearrange calculations to avoid internal overflow possibilities.
3503 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3504 Rearrange calculations to avoid internal overflow possibilities.
3505 Assert that number fits inside MPNSIZE limbs.
3506 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3507 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3508 calculations and add assertions to avoid internal overflow
3509 possibilities. Add casts to avoid signed/unsigned operations.
3510 * stdlib/tst-strtod-overflow.c: New file.
3511 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3512
1f529f7d
MP
35132012-08-25 Marek Polacek <polacek@redhat.com>
3514
3515 * time/time.h: Fix some typos in comments.
3516
59a629f1
RM
35172012-08-23 Roland McGrath <roland@hack.frob.com>
3518
3519 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3520 * posix/tst-rfc3484-2.c: Likewise.
3521 * posix/tst-rfc3484-3.c: Likewise.
3522
d3bafbc9
SM
35232012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3524
3525 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3526 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3527
4efcc022
JM
35282012-08-23 Joseph Myers <joseph@codesourcery.com>
3529
3530 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3531 #include of fxstatat64.c.
3532
3cc3ef96
RM
35332012-08-22 Roland McGrath <roland@hack.frob.com>
3534
f04e2132
RM
3535 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3536 * shadow/getspent_r.c: Likewise.
3537 * shadow/getspnam.c: Likewise.
3538 * shadow/getspnam_r.c: Likewise.
3539 * gshadow/getsgent.c: Likewise.
3540 * gshadow/getsgent_r.c: Likewise.
3541 * gshadow/getsgnam.c: Likewise.
3542 * gshadow/getsgnam_r.c: Likewise.
3543 * inet/getnetbyad.c: Likewise.
3544 * inet/getnetbyad_r.c: Likewise.
3545 * inet/getnetbynm.c: Likewise.
3546 * inet/getnetbynm_r.c: Likewise.
3547 * inet/getnetent.c: Likewise.
3548 * inet/getnetent_r.c: Likewise.
3549 * inet/getproto.c: Likewise.
3550 * inet/getproto_r.c: Likewise.
3551 * inet/getprtent.c: Likewise.
3552 * inet/getprtent_r.c: Likewise.
3553 * inet/getprtname.c: Likewise.
3554 * inet/getprtname_r.c: Likewise.
3555 * inet/getrpcbyname.c: Likewise.
3556 * inet/getrpcbyname_r.c: Likewise.
3557 * inet/getrpcbynumber.c: Likewise.
3558 * inet/getrpcbynumber_r.c: Likewise.
3559 * inet/getrpcent.c: Likewise.
3560 * inet/getrpcent_r.c: Likewise.
3561 * inet/getaliasent.c: Likewise.
3562 * inet/getaliasent_r.c: Likewise.
3563 * inet/getaliasname.c: Likewise.
3564 * inet/getaliasname_r.c: Likewise.
3565 * nscd/getgrgid_r.c: Likewise.
3566 * nscd/getgrnam_r.c: Likewise.
3567 * nscd/gethstbyad_r.c: Likewise.
3568 * nscd/gethstbynm3_r.c: Likewise.
3569 * nscd/getpwnam_r.c: Likewise.
3570 * nscd/getpwuid_r.c: Likewise.
3571 * nscd/getsrvbynm_r.c: Likewise.
3572 * nscd/getsrvbypt_r.c: Likewise.
3573 * nscd/gai.c: Likewise.
3574
c53d909c
RM
3575 * configure.in (build_nscd): New substituted variable, set
3576 by --disable-build-nscd and defaults to $use_nscd.
3577 * configure: Regenerated.
3578 * config.make.in (build-nscd): New substituted variable.
3579 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3580 Change conditional to require [$(build-nscd) = yes] as well.
3581 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3582
3cc3ef96
RM
3583 [BZ# 13696]
3584 * configure.in (use_nscd): New substituted variable, set by
3585 --disable-nscd. If enabled, define USE_NSCD.
3586 * configure: Regenerated.
3587 * config.h.in: Add USE_NSCD.
3588 * config.make.in (use-nscd): New substituted variable.
3589 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3590 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3591 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3592 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3593 (CFLAGS-getgrnam_r.c): Likewise.
3594 (CFLAGS-initgroups.c): Likewise.
3595 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3596 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3597 Variables removed.
3598 * inet/getnetgrent_r.c
3599 (nscd_setnetgrent): New function, broken out of ...
3600 (setnetgrent): ... here. Call it.
3601 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3602 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3603 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3604 * nscd/Makefile (routines, aux): Move definitions after include of
3605 Makeconfig. Conditionalize on [$(use-nscd) != no].
3606 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3607 Conditionalize on [USE_NSCD].
3608 (is_nscd, nscd_init_cb): Likewise.
3609 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3610 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3611 * nss/nss_db/db-init.c: Likewise.
3612 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3613 [USE_NSCD].
3614 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3615 (make_request): Use it.
3616 (cache_valid_p): New function.
3617 (__check_pf): Use it.
3618 * NEWS: Add item for --disable-nscd.
3619
07e51550
DL
36202012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3621
3622 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3623 to support sed >= 4.2.1-20-ga9bf076.
3624 * configure: Regenerated.
3625
35a5b08b
RM
36262012-08-22 Roland McGrath <roland@hack.frob.com>
3627
3628 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3629 Conditionalize whole body on [IREL].
3630
8479f23a
JL
36312012-08-22 Jeff Law <law@redhat.com>
3632
3633 [BZ #14505]
3634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3635 if the family is PF_UNSPEC.
3636
48da0b21
MF
36372012-08-22 Mike Frysinger <vapier@gentoo.org>
3638
3639 * Makerules (lib-version): Rename from V.
3640 (install-lib-nosubdir): Change V to lib-version.
3641
15d0da8c
WS
36422012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3643
3644 [BZ #14252]
3645 * powerpc32/power6/wcschr.c: New file.
3646 * powerpc32/power6/wcscpy.c: New file.
3647 * powerpc32/power6/wcsrchr.c: New file.
3648 * powerpc64/power6/wcschr.c: New file.
3649 * powerpc64/power6/wcscpy.c: New file.
3650 * powerpc64/power6/wcsrchr.c: New file.
3651
bcca0895
MK
36522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3653
3654 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3655 (two_way_short_needle): Use it.
5a4aaa33
RM
3656 * string/strstr.c (AVAILABLE1_USES_J): Define.
3657 * string/strcasestr.c: Likewise.
99677e57
MK
3658
3659 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3660 array references.
3661 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3662
400726de
MK
3663 [BZ #11607]
3664 * NEWS: Add an entry.
3665 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3666 define their defaults.
3667 (two_way_short_needle): Detect end-of-string on-the-fly.
3668 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3669 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3670 * string/bug-strcasestr1.c: New test.
3671 * string/Makefile: Run it.
3672
20a71f2c
MK
36732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3674
3675 [BZ #11607]
3676 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3677 the first character.
3678
21ad0558
RM
36792012-08-21 Roland McGrath <roland@hack.frob.com>
3680
3681 * csu/elf-init.c (__libc_csu_irel): Function removed.
3682 * csu/libc-start.c (apply_irel): New function.
3683 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3684
0e1d9911
JM
36852012-08-21 Joseph Myers <joseph@codesourcery.com>
3686
3687 * sysdeps/unix/sysv/linux/kernel-features.h
3688 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3689 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3690 <kernel-features.h>.
3691 [__NR_fadvise64_64]: Make code unconditional.
3692 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3693 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3694 !__NR_fadvise64_64)]: Likewise.
3695 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3696 !__NR_fadvise64_64))]: Likewise.
3697 [__NR_fadvise64]: Make code unconditional.
3698 [!__NR_fadvise64]: Remove conditional code.
3699 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3700 <kernel-features.h>.
3701 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3702 unconditional.
3703 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3704 conditional code.
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3706 not include <kernel-features.h>.
3707 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3708 unconditional.
3709 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3710 conditional code.
3711 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3712 include <kernel-features.h>.
3713 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3714 unconditional.
3715 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3716 conditional code.
3717
14a50c9d
WS
37182012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3719
3720 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3721 slight instruction rearrangements per scrollpipe analysis.
3722 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3723
c0f4faf0
RM
37242012-08-20 Roland McGrath <roland@hack.frob.com>
3725
696da859
RM
3726 * manual/syslog.texi (syslog; vsyslog, closelog):
3727 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3728 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3729
c0f4faf0
RM
3730 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3731 DSOCAPS to match condition on defining it.
3732
348363b2
JM
37332012-08-20 Joseph Myers <joseph@codesourcery.com>
3734
a35cbf28
JM
3735 * sysdeps/unix/sysv/linux/kernel-features.h
3736 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3738 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3739 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3741 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3742 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3744 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3745 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3746
445f7ecd
JM
3747 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3748 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3749
348363b2
JM
3750 * sysdeps/unix/sysv/linux/kernel-features.h
3751 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3752 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3753 unconditional.
3754 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3755 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3756 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3757 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3758 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3759 Make code unconditional.
3760 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3761 (__mmap64) [!__NR_mmap2]: Likewise.
3762 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3763 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3764 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3765 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3766 [__NR_mmap2]: Make code unconditional.
3767 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3768 (__mmap64) [!__NR_mmap2]: Likewise.
3769
bc5bc0e5
AK
37702012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3771
3772 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3773
88d506de
AJ
37742012-08-18 Andreas Jaeger <aj@suse.de>
3775
3776 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3777
493387d2
MF
37782012-08-18 Mike Frysinger <vapier@gentoo.org>
3779
3780 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3781 * include/unistd.h (__have_sock_cloexec): Likewise.
3782 (__have_pipe2): Likewise.
3783 (__have_dup3): Likewise.
3784
a277af22
MF
37852012-08-18 Mike Frysinger <vapier@gentoo.org>
3786
3787 [BZ #9685]
3788 * include/unistd.h (__have_pipe2): Change define into an extern int.
3789 (__have_dup3): Likewise.
3790 * socket/have_sock_cloexec.c: Include fcntl.h.
3791 (__have_pipe2): New variable.
3792 (__have_dup3): Likewise.
3793
fdab8fd3
MF
37942012-08-17 Mike Frysinger <vapier@gentoo.org>
3795
3796 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3797
31035e80
MP
37982012-08-17 Marek Polacek <polacek@redhat.com>
3799
3800 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3801 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3802
3bd9e993
RM
38032012-08-17 Roland McGrath <roland@hack.frob.com>
3804
c91c505f
RM
3805 * configure.in: Add AC_SUBST for sysheaders.
3806 * configure: Regenerated.
3807 * config.make.in (sysheaders): New substituted variable.
3808
7c6f9d53
RM
3809 * sysdeps/unix/mkfifo.c: Moved ...
3810 * sysdeps/posix/mkfifo.c: ... here.
3811 * sysdeps/unix/mkfifoat.c: Moved ...
3812 * sysdeps/posix/mkfifoat.c: ... here.
3813
3814 * sysdeps/unix/utime.c: Moved ...
3815 * sysdeps/posix/utime.c: ... here.
3816
3817 * sysdeps/unix/time.c: Moved ...
3818 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3819 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3820 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3821
3822 * sysdeps/unix/nice.c: Moved ...
3823 * sysdeps/posix/nice.c: ... here.
3824
3825 * sysdeps/unix/alarm.c: Moved ...
3826 * sysdeps/posix/alarm.c: ... here.
3827
3bd9e993
RM
3828 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3829
d1f09384
JL
38302012-08-17 Jeff Law <law@redhat.com>
3831
3832 * intl/Makefile (codeset_mo): New variable.
3833 ($(codeset_mo)): New target.
3834 (tst-codeset.out): Depend on that. Remove explicit rule.
3835 (tst-gettext3.out, tst-gettext5.out): Likewise.
3836 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3837 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3838 * intl/tst-codeset.sh: Remove.
3839 * intl/tst-gettext3.sh: Likewise.
3840 * intl/tst-gettext5.sh: Likewise.
3841
2ae1ae5c
RM
38422012-08-17 Roland McGrath <roland@hack.frob.com>
3843
c31fdb83
RM
3844 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3845 * sysdeps/unix/syscalls.list: ... here.
3846
a0844057
RM
3847 * sysdeps/posix/getaddrinfo.c
3848 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3849 (gaiconf_init, gaiconf_reload): Use them.
3850 [!_STATBUF_ST_NSEC]
3851 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3852 Define using time_t rather than struct timespec.
3853
750c1f2a
RM
3854 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3855 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3856 Macros removed.
3857 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3858 [!NO_THREADS].
3859 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3860 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3861 Likewise.
3862
2ae1ae5c
RM
3863 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3864 __libc_cleanup_push argument.
3865
e66a42f5
RM
3866 * bits/param.h: New file.
3867 * misc/sys/param.h: New file.
3868 * include/sys/param.h: New file.
3869 * misc/Makefile (headers): Add bits/param.h.
3870 * sysdeps/generic/sys/param.h: File removed.
3871 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3872 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3873 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 3874 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 3875
b7c08a66
RM
3876 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3877 last change.
3878
b2e1c562
RM
3879 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3880 [_IO_MTSAFE_IO].
3881 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3882 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3883 New macros.
3884
c75ccd4c
RM
3885 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3886 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3887 rather than -D_IO_MTSAFE_IO conditionally.
3888 * stdio-common/Makefile (CPPFLAGS): Likewise.
3889 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3890 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3891 Use $(libio-mtsafe).
3892 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3893 of -D_IO_MTSAFE_IO.
3894 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3895 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3896 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3897 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3898 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3899 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3900 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3901 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3902 (CFLAGS-fread_u_chk.c): Likewise.
3903 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3904 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3905 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3906 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3907 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3908 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3909 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3910 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3911 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3912
3913 * libio/Makefile: Test [$(libc-reentrant) = yes]
3914 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3915
3916 * Makeconfig
3917 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3918 * sysdeps/pthread/configure: File removed.
3919 * sysdeps/pthread/Makeconfig: New file.
3920 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3921 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3922
d9195db8
GB
39232012-08-16 Gary Benson <gbenson@redhat.com>
3924
3925 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3926 unmapping the first object in a namespace.
3927
86466cd9
RM
39282012-08-16 Roland McGrath <roland@hack.frob.com>
3929
3930 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3931 (__internal_setnetgrent): ... this. Add internal_function to
3932 definition. Add libc_hidden_def.
3933 (setnetgrent): Update caller.
3934 (internal_endnetgrent): Renamed to ...
3935 (__internal_endnetgrent): ... this. Add internal_function to
3936 definition. Add libc_hidden_def.
3937 (endnetgrent): Update caller.
3938 (internal_getnetgrent_r): Renamed to ...
3939 (__internal_getnetgrent_r): ... this. Add internal_function to
3940 definition. Add libc_hidden_def.
3941 (__getnetgrent_r): Update caller.
3942 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3943
c3c8283c
JM
39442012-08-16 Joseph Myers <joseph@codesourcery.com>
3945
3946 * stdlib/longlong.h: Update from GCC.
3947
db1ee0a8
RM
39482012-08-16 Roland McGrath <roland@hack.frob.com>
3949
3950 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3951 on _QL, which is set by umul_ppmm but never used.
3952 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3953 variables, which are set by GMP macros but never used.
3954 * stdio-common/_itowa.c (_itowa): Likewise.
3955 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3956 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3957
30f69637
CD
39582012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3959
3960 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3961 struct La_sh_regs is not constant.
3962 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3963 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3964 and struct La_sparc64_regs are not constant.
3965
93a78ac4
JM
39662012-08-16 Joseph Myers <joseph@codesourcery.com>
3967
3968 * sysdeps/unix/sysv/linux/kernel-features.h
3969 (__ASSUME_POSIX_TIMERS): Remove.
3970 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3971 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3972 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3973 Make code unconditional.
3974 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3975 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3976 Make code unconditional.
3977 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3978 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3979 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3980 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3981 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3982 Make code unconditional.
3983 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3984 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3985 (__libc_missing_posix_timers): Remove.
3986
dd924cd7
RM
39872012-08-15 Roland McGrath <roland@hack.frob.com>
3988
4b4f2771
RM
3989 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3990 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3991
601c888b
RM
3992 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3993
176790a7
RM
3994 * elf/dl-sym.c: Include <stdlib.h>.
3995
329bc018
RM
3996 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3997 constants, which avoids warnings in 32-bit builds.
3998
e04e272d
RM
3999 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4000 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4001
952bf94a
RM
4002 * misc/lseek.c: File moved to ...
4003 * io/lseek.c: ... here.
4004
7c99b50a
RM
4005 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4006
dd924cd7
RM
4007 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4008 shifting LEN more than 31 bits at once.
4009
b3f479a8
LD
40102012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4011
4012 [BZ #14195]
8c4ae0d4
RM
4013 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4014 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4015 * string/test-strncasecmp.c (check1): Renamed to...
4016 (bz12205): ...this.
4017 (bz14195): Add new testcase for two empty input strings and N > 0.
4018 (test_main): Call new testcase, adapt for renamed function.
4019
9c55864e
AJ
40202012-08-15 Andreas Jaeger <aj@suse.de>
4021
4022 [BZ #14090]
4023 * crypt/md5test2.c: New test, based on test supplied by Serge
4024 Belyshev <belyshev@depni.sinp.msu.ru>.
4025 * crypt/Makefile (xtests): Add md5test-giant..
4026 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4027
02dcb6c5
PE
40282012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4029
4030 [BZ #14090]
4031 * crypt/md5.c (md5_process_block): Don't assume the buffer
4032 length is less than 2**32.
4033 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4034 length is less than 2**64.
4035
a3f95dcc
RM
40362012-08-15 Roland McGrath <roland@hack.frob.com>
4037
be75d758
RM
4038 * string/str-two-way.h: Include <sys/param.h>.
4039 (MAX): Macro removed.
4040
7312ca90
RM
4041 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4042 Move #define and #undef of memmove to just before and after
4043 including <string.h>.
4044
9a0a5486
RM
4045 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4046 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4047 and after including <string.h>. Move declarations of
4048 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4049 to before #include "string/memmove.c".
4050
67cc348d
RM
4051 * include/dirent.h: Declare __getdirentries.
4052
a3f95dcc
RM
4053 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4054 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4055
ca98e171
MF
40562012-08-14 Mike Frysinger <vapier@gentoo.org>
4057
4058 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4059 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4060 * sysdeps/i386/configure: Regenerated.
4061 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4062 STABS_CURRENT_FILE, and STABS_FUN.
4063 (END): Remove call to STABS_FUN_END.
4064 (STABS_CURRENT_FILE1): Delete.
4065 (STABS_CURRENT_FILE): Likewise.
4066 (STABS_FUN): Likewise.
4067 (STABS_FUN_END): Likewise.
4068 (STABS_FUN2): Likewise.
4069 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4070 * sysdeps/x86_64/configure: Regenerated.
4071
5908bf46
RM
40722012-08-14 Roland McGrath <roland@hack.frob.com>
4073
4074 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4075 * elf/dl-lookup.c: Likewise.
5908bf46 4076
f2c05b9e
JM
40772012-08-14 Joseph Myers <joseph@codesourcery.com>
4078
4079 * sysdeps/unix/sysv/linux/kernel-features.h
4080 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4081 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4082 unconditionally.
4083 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4084 unconditionally.
4085 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4086 condition on __ASSUME_CLONE_THREAD_FLAGS.
4087
e11f5155
AJ
40882012-08-14 Andreas Jaeger <aj@suse.de>
4089
4090 * sysdeps/i386/fpu/libm-test-ulps: Update.
4091
51a9ba86
MK
40922012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4093
2fdd4f78
AJ
4094 * include/atomic.h (atomic_exchange_and_add): Split into ...
4095 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4096 New atomic macros.
51a9ba86 4097
ba6cba9e
MT
40982012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4099
4100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4101
42443a47
JL
41022012-08-13 Jeff Law <law@redhat.com>
4103
4104 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4105 null byte in the output string.
4106
121dce05
JM
41072012-08-10 Joseph Myers <joseph@codesourcery.com>
4108
4109 * sysdeps/unix/sysv/linux/kernel-features.h
4110 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4111 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4112 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4113 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4114 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4115 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4116 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4117
bf51f568
JL
41182012-08-09 Jeff Law <law@redhat.com>
4119
4120 [BZ #13939]
4121 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4122 When avoid_arena is set, don't retry in the that arena. Pick the
4123 next one, whatever it might be.
4124 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4125 (arena_lock): Pass in new parameter to arena_get2.
4126 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4127 arena_get2.
4128 (__libc_malloc): Unify retrying after main arena failure with
4129 __libc_memalign version.
4130 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4131
f85fa270
L
41322012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4133
4134 [BZ #14166]
4135 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4136 to __redirect_strstr.
4137 (__strstr_sse42): Use typeof __redirect_strstr.
4138 (__strstr_ia32): Likewise.
4139 (__libc_strstr): New prototype.
4140 (strstr): Renamed to ...
4141 (__libc_strstr): This.
4142 (strstr): New strong alias of __libc_strstr.
4143 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4144 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4145 __redirect_time.
4146 Include <time.h>.
4147 (__libc_time): New prototype.
4148 (time_ifunc): Replace time with __libc_time.
4149 (time): New strong alias and hidden definition of __libc_time.
4150 (__GI_time): Remove strong alias.
4151 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4152 Include <stddef.h>.
4153 (memmove): Redefined to __redirect_memmove.
4154 (__memmove_sse2): Use typeof __redirect_memmove.
4155 (__memmove_ssse3): Likewise.
4156 (__memmove_ssse3_back): Likewise.
4157 (__libc_memmove): New prototype.
4158 (memmove): Renamed to ...
4159 (__libc_memmove): This.
4160 (memmove): New strong alias of __libc_memmove.
4161
33b4a91e
MS
41622012-08-08 Mark Salter <msalter@redhat.com>
4163
4164 * elf/elf.h
4165 (R_MN10300_TLS_GD): Define.
4166 (R_MN10300_TLS_LD): Likewise.
4167 (R_MN10300_TLS_LDO): Likewise.
4168 (R_MN10300_TLS_GOTIE): Likewise.
4169 (R_MN10300_TLS_IE): Likewise.
4170 (R_MN10300_TLS_LE): Likewise.
4171 (R_MN10300_TLS_DTPMOD): Likewise.
4172 (R_MN10300_TLS_DTPOFF): Likewise.
4173 (R_MN10300_TLS_TPOFF): Likewise.
4174 (R_MN10300_SYM_DIFF): Likewise.
4175 (R_MN10300_ALIGN): Likewise.
4176 (R_MN10300_NUM): Update.
4177
b36137f1
JM
41782012-08-08 Joseph Myers <joseph@codesourcery.com>
4179
4180 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4181 Remove.
4182
cdd915fd
RM
41832012-08-08 Roland McGrath <roland@hack.frob.com>
4184
a2433aac
RM
4185 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4186
cdd915fd
RM
4187 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4188 sysdeps/unix -> sysdeps/posix move.
4189 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4190
bf9b740a
AM
41912012-08-07 Allan McRae <allan@archlinux.org>
4192
4193 [BZ #14303]
4194 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4195 (SUNOS_CPP): Likewise.
4196 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4197 not found.
4198 (open_input): Call CPP using execvp.
4199
93df14ee
JM
42002012-08-07 Joseph Myers <joseph@codesourcery.com>
4201
4202 * sysdeps/unix/sysv/linux/kernel-features.h
4203 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4204 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4205 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4206 (__ASSUME_WAITID_SYSCALL): Likewise.
4207 * sysdeps/unix/sysv/linux/dl-execstack.c
4208 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4209 code unconditional.
4210 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4211 conditional code.
4212 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4213 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4214 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4215 code.
4216 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4217 unconditional.
4218 [__ASSUME_WAITID_SYSCALL]: Likewise.
4219 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4220
d34689de
RM
42212012-08-07 Roland McGrath <roland@hack.frob.com>
4222
a281decc
RM
4223 * sysdeps/unix/closedir.c: Renamed to ...
4224 * sysdeps/posix/closedir.c: ... here.
4225 * sysdeps/unix/dirfd.c: Renamed to ...
4226 * sysdeps/posix/dirfd.c: ... here.
4227 * sysdeps/unix/dirstream.h: Renamed to ...
4228 * sysdeps/posix/dirstream.h: ... here.
4229 * sysdeps/unix/fdopendir.c: Renamed to ...
4230 * sysdeps/posix/fdopendir.c: ... here.
4231 * sysdeps/unix/opendir.c: Renamed to ...
4232 * sysdeps/posix/opendir.c: ... here.
4233 * sysdeps/unix/readdir.c: Renamed to ...
4234 * sysdeps/posix/readdir.c: ... here.
4235 * sysdeps/unix/readdir_r.c: Renamed to ...
4236 * sysdeps/posix/readdir_r.c: ... here.
4237 * sysdeps/unix/rewinddir.c: Renamed to ...
4238 * sysdeps/posix/rewinddir.c: ... here.
4239 * sysdeps/unix/seekdir.c: Renamed to ...
4240 * sysdeps/posix/seekdir.c: ... here.
4241 * sysdeps/unix/telldir.c: Renamed to ...
4242 * sysdeps/posix/telldir.c: ... here.
4243 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4244 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4245 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4246 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4247
22895b47
RM
4248 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4249 * bits/fcntl.h: ... here.
4250
707a53b6
RM
4251 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4252 not 0.
4253 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4254 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4255 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4256 (struct flock): Move l_start, l_len to the beginning.
4257 Use __pid_t for l_pid.
4258 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4259 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4260 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4261 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4262 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4263 [__USE_LARGEFILE64] (struct flock64): New type.
4264 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4265
f0bd3e25
RM
4266 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4267 * bits/dirent.h: ... here.
4268
d34689de
RM
4269 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4270 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4271
6dad2c06
JM
42722012-08-07 Joseph Myers <joseph@codesourcery.com>
4273
4274 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4275 Change from 2.6.0 to 2.6.16.
4276 * sysdeps/unix/sysv/linux/configure: Regenerated.
4277 * sysdeps/unix/sysv/linux/kernel-features.h
4278 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4279 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4280 version.
4281 (__ASSUME_UTIMES): Likewise.
4282 (__ASSUME_CLONE_STOPPED): Remove.
4283 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4284 architectures, not kernel version.
4285 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4286 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4287 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4288 (__ASSUME_WAITID_SYSCALL): Likewise.
4289 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4290 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4291 * README: State 2.6.16 as minimum Linux kernel version. Do not
4292 refer to older versions.
4293
03af9520
RM
42942012-08-06 Roland McGrath <roland@hack.frob.com>
4295
8e49df1d
RM
4296 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4297 Define alphasort64 as an alias.
4298 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4299 Define versionsort64 as an alias.
4300 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4301 Define scandir64 as an alias.
4302 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4303 Define scandirat64 as an alias.
4304 * dirent/alphasort64.c (alphasort64):
4305 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4306 * dirent/versionsort64.c: Likewise.
4307 * dirent/scandir64.c: Likewise.
4308 * dirent/scandirat64.c: Likewise.
4309 * sysdeps/wordsize-64/alphasort.c: File removed.
4310 * sysdeps/wordsize-64/alphasort64.c: File removed.
4311 * sysdeps/wordsize-64/scandir.c: File removed.
4312 * sysdeps/wordsize-64/scandir64.c: File removed.
4313 * sysdeps/wordsize-64/scandirat.c: File removed.
4314 * sysdeps/wordsize-64/scandirat64.c: File removed.
4315 * sysdeps/wordsize-64/versionsort.c: File removed.
4316 * sysdeps/wordsize-64/versionsort64.c: File removed.
4317 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4318 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4319 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4320 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4321 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4322 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4323 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4324 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4325
4326 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4327 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4328 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4330 [defined __arch64__ || defined __sparcv9]
4331 (__INO_T_MATCHES_INO64_T): New macro.
4332 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4333 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4334 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4335 * sysdeps/unix/sysv/linux/bits/dirent.h
4336 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4337 (_DIRENT_MATCHES_DIRENT64): New macro.
4338
03af9520
RM
4339 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4340 Define lockf64 as an alias.
4341 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4342 Define fseeko64 as an alias.
4343 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4344 Define ftello64 as an alias.
4345 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4346 Define _IO_fgetpos64 and fgetpos64 as aliases.
4347 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4348 Define _IO_fsetpos64 and fsetpos64 as aliases.
4349 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4350 Conditionalize body on this.
4351 * libio/fseeko64.c: Likewise.
4352 * libio/ftello64.c: Likewise.
4353 * libio/iofgetpos64.c: Likewise.
4354 * libio/iofsetpos64.c: Likewise.
4355 * sysdeps/wordsize-64/lockf.c: File removed.
4356 * sysdeps/wordsize-64/lockf64.c: File removed.
4357 * sysdeps/wordsize-64/fseeko.c: File removed.
4358 * sysdeps/wordsize-64/fseeko64.c: File removed.
4359 * sysdeps/wordsize-64/ftello.c: File removed.
4360 * sysdeps/wordsize-64/ftello64.c: File removed.
4361 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4362 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4363 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4364 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4366 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4367 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4368 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4369 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4370 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4371 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4372 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4374 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4375
4376 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4378 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4380 [defined __arch64__ || defined __sparcv9]
4381 (__OFF_T_MATCHES_OFF64_T): New macro.
4382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4383 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4385 (__OFF_T_MATCHES_OFF64_T): New macro.
4386
c5757acd
L
43872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4388
4389 * stdlib/secure-getenv.c (__secure_getenv): Replace
4390 GLIBC_2_16 with GLIBC_2_17.
4391
3a31811e
L
43922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4393
4394 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4395 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4396
faa2bccb
DM
43972012-08-03 David S. Miller <davem@davemloft.net>
4398
4399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4400
85fe1997
JM
44012012-08-03 Joseph Myers <joseph@codesourcery.com>
4402
4403 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4404 Remove.
4405 (__ASSUME_CORRECT_SI_PID): Likewise.
4406 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4407 (__ASSUME_TMPFS_NAME): Likewise.
4408 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4409 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4410 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4411 (HAVE_AUX_SECURE): Make definition unconditional.
4412 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4413 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4414
4f75b7a0
RM
44152012-08-03 Roland McGrath <roland@hack.frob.com>
4416
4417 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4418 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4419 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4420 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4421 __eloop_threshold instead of SYMLOOP_MAX.
4422
4423 * sysdeps/generic/eloop-threshold.h: New file.
4424 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4425 of MAXSYMLINKS.
4426 * elf/chroot_canon.c (chroot_canon): Likewise.
4427
7aab07e4
JM
44282012-08-03 Joseph Myers <joseph@codesourcery.com>
4429
4430 [BZ #13717]
4431 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4432 Change to 2.6.0 everywhere.
4433 * sysdeps/unix/sysv/linux/configure: Regenerated.
4434 * sysdeps/unix/sysv/linux/kernel-features.h
4435 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4436 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4437 kernel versions.
4438 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4439 (__ASSUME_FUTEX_REQUEUE): Remove.
4440 (__ASSUME_STATFS64): Define unconditionally.
4441 (__ASSUME_AT_SECURE): Likewise.
4442 (__ASSUME_CORRECT_SI_PID): Likewise.
4443 (__ASSUME_TGKILL): Define without depending on kernel version for
4444 i386.
4445 (__ASSUME_UTIMES): Likewise.
4446 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4447 kernel version.
4448 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4449 (__ASSUME_TMPFS_NAME): Likewise.
4450 * README: Update reference to Linux kernel versions.
4451
b67e9372
MP
44522012-08-02 Marek Polacek <polacek@redhat.com>
4453
1f529f7d 4454 [BZ# 14150]
b67e9372
MP
4455 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4456 libc_cv_asm_type_prefix with %.
4457 * configure: Regenerated.
d2441631
RM
4458 * include/libc-symbols.h: Remove comment about
4459 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4460 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4461 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4462 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4463 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4464 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4465 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4466 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4467 * elf/tst-unique2mod1.c: Likewise.
4468 * elf/tst-unique1mod2.c: Likewise.
4469 * elf/tst-unique1mod1.c: Likewise.
4470 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4471 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4472 Replace ASM_TYPE_DIRECTIVE with .type.
4473 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4474 * sysdeps/i386/sysdep.h: Likewise.
4475 * sysdeps/x86_64/sysdep.h: Likewise.
4476 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4478 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4479 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4480 * sysdeps/powerpc/powerpc32/sysdep.h:
4481 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4482 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4483 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4484 * sysdeps/i386/fpu/e_powf.S: Likewise.
4485 * sysdeps/i386/fpu/e_expl.S: Likewise.
4486 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4487 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4488 * sysdeps/i386/fpu/e_pow.S: Likewise.
4489 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4490 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4491 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4492 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4493 * sysdeps/i386/fpu/e_log2.S: Likewise.
4494 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4495 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4496 * sysdeps/i386/fpu/e_powl.S: Likewise.
4497 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4498 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4499 * sysdeps/i386/fpu/e_logl.S: Likewise.
4500 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4501 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4502 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4503 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4504 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4505 * sysdeps/i386/fpu/e_log.S: Likewise.
4506 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4507 * sysdeps/i386/fpu/e_logf.S: Likewise.
4508 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4509 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4510 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4511 * sysdeps/i386/fpu/e_log10.S: Likewise.
4512 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4513 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4514 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4515 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4516 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4517 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4518 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4519 * sysdeps/i386/i686/strtok.S: Likewise.
4520 * sysdeps/i386/i386-mcount.S: Likewise.
4521 * sysdeps/i386/strtok.S: Likewise.
4522 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4523 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4524 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4526 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4527 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4528 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4529 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4530 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4531 * sysdeps/x86_64/_mcount.S: Likewise.
4532 * sysdeps/x86_64/strtok.S: Likewise.
4533 * sysdeps/sh/_mcount.S: Likewise.
4534
2747bf9a
RM
45352012-08-01 Roland McGrath <roland@hack.frob.com>
4536
4537 * libio/iofopen.c: Include <fcntl.h>.
4538 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4539 (_IO_fopen64, fopen64): Define as aliases.
4540 * libio/iofopen64.c: Include <fcntl.h>.
4541 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4542 Conditionalize body on this.
4543 * sysdeps/wordsize-64/iofopen.c: File removed.
4544 * sysdeps/wordsize-64/iofopen64.c: File removed.
4545
3fb791b8
MP
45462012-08-01 Marek Polacek <polacek@redhat.com>
4547
4548 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4549 Use dlfcn directly instead of a variable.
4550 (binfmt-subdir): Do not define.
4551 (dlfcn): Likewise.
4552
a9f1039f
JM
45532012-08-01 Joseph Myers <joseph@codesourcery.com>
4554
23bddc06
JM
4555 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4556 Remove all definitions.
4557 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4558 <kernel-features.h>.
4559 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4560 (miss_F_GETOWN_EX): Remove all definitions.
4561 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4562 macro definition.
4563 [!__ASSUME_FCNTL64]: Remove conditional code.
4564 [__ASSUME_FCNTL64]: Make code unconditional.
4565 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4566 <kernel-features.h>.
4567 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4568 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4569 (lockf64) [__NR_fcntl64]: Make code unconditional.
4570 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4571
a9f1039f
JM
4572 * sysdeps/unix/sysv/linux/kernel-features.h
4573 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4574 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4575 Make code unconditional.
4576 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4577 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4579 [__NR_vfork]: Make code unconditional.
4580 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4581 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4583 [__NR_vfork]: Make code unconditional.
4584 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4585 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4586
09c0ee5f
RM
45872012-08-01 Roland McGrath <roland@hack.frob.com>
4588
48aec5b9
RM
4589 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4590 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4591
cd97c966
RM
4592 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4593 Define mkstemp64 as an alias.
3f55550c
RM
4594 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4595 Define mkstemps64 as an alias.
cd97c966
RM
4596 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4597 Define mkostemp64 as an alias.
b8625cfc
RM
4598 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4599 Define mkostemps64 as an alias.
cd97c966
RM
4600 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4601 Conditionalize body on this.
4602 * misc/mkostemp64.c: Likewise.
b8625cfc 4603 * misc/mkostemps64.c: Likewise.
3f55550c 4604 * misc/mkstemps64.c: Likewise.
cd97c966
RM
4605 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4606 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4607 * sysdeps/wordsize-64/mkostemp.c: File removed.
4608 * sysdeps/wordsize-64/mkstemp.c: File removed.
4609 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4610 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4611 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4612 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4613
09c0ee5f
RM
4614 [BZ #14138]
4615 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4616 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4617 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4618 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4619
4620 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4621 compat_symbol macros from <shlib-compat.h> rather than the underlying
4622 default_symbol_version and symbol_version macros, so that DEFAULT
4623 lines in shlib-versions are respected.
4624 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4625
7e66ee51
FW
46262012-08-01 Florian Weimer <fweimer@redhat.com>
4627
4628 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4629 Declare with warn_unused_result.
4630 (setgid, setregid, setegid, setresgid): Likewise.
4631 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4632 Likewise.
4633 * WUR-REPORT: Remove set*id functions.
4634
d2a54255
PT
46352012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4636
4637 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4638
7ecdb005
RM
46392012-07-31 Roland McGrath <roland@hack.frob.com>
4640
789bd351
RM
4641 * include/sys/socket.h (__libc_accept, __libc_accept4):
4642 Add attribute_hidden.
4643 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4644
40ce302d
RM
4645 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4646 use of PTR_MANGLE.
4647 * inet/getnetgrent_r.c (setup): Likewise.
4648
7ecdb005
RM
4649 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4650
e2eabb2c
DM
46512012-07-31 David S. Miller <davem@davemloft.net>
4652
4653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4654
d0419dbf
JM
46552012-07-31 Joseph Myers <joseph@codesourcery.com>
4656
4657 [BZ #13629]
4658 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4659 value between 1.0 and 2.0 and smaller part has absolute value less
4660 than 1.0.
4661 * math/s_clog10.c (__clog10): Likewise.
4662 * math/s_clog10f.c (__clog10f): Likewise.
4663 * math/s_clog10l.c (__clog10l): Likewise.
4664 * math/s_clogf.c (__clogf): Likewise.
4665 * math/s_clogl.c (__clogl): Likewise.
4666 * math/libm-test.inc (clog_test): Add more tests.
4667 (clog10_test): Likewise.
4668 * sysdeps/i386/fpu/libm-test-ulps: Update.
4669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4670
2bc13872
FW
46712012-07-31 Florian Weimer <fweimer@redhat.com>
4672
4673 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4674 Exit with zero in case no suitable GID is found, and write a
4675 message to standard error.
4676
bea9b193
RM
46772012-07-30 Roland McGrath <roland@hack.frob.com>
4678
4679 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4680 rather than to 1.
4681 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4682 (MAXPATHLEN): Removed.
4683 (NOGROUP, NODEV): New macros.
4684 (setbit, clrbit, isset, isclr): New macros.
4685 (howmany, roundup, powerof2): New macros.
4686 (DEV_BSIZE): New macro.
4687
4688 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4689 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4690
4691 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4692 definition on [!__NO_LONG_DOUBLE_MATH].
4693
4694 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4695 PTR_MANGLE and PTR_DEMANGLE.
4696
4697 * socket/accept4.c (accept4): Rename to __libc_accept4.
4698 Define accept4 as a weak alias.
4699
4700 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4701 on [_DIRENT_HAVE_D_TYPE].
4702 * io/ftw.c (ftw_dir): Likewise.
4703
4704 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4705
4706 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4707
4708 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4709 Use the BSD numbers rather than the arbitrary ones we had.
4710 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4711 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4712 (SIGXCPU, SIGXFSZ): New macros.
4713 (_NSIG): Now 32.
4714
4715 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4716 initializer on [_LIBC_REENTRANT].
4717
4718 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4719 definitions inside [_POSIX_MAPPED_FILES].
4720
4721 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4722
4723 * dirent/opendir.c: Include <fcntl.h>.
4724
4725 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4726 (__libc_getspecific): Likewise.
4727 (__libc_key_create): Likewise.
4728
4729 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4730 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4731 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4732 (tmpfile64): Define as alias.
4733 * sysdeps/wordsize-64/tmpfile.c: File removed.
4734 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4735 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4736 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4737
4738 * stdio-common/vfscanf.c: Include <stdbool.h>.
4739 * nss/makedb.c: Likewise.
4740 * stdio-common/_i18n_number.h: Likewise.
4741 * argp/argp-help.c: Likewise.
4742 * posix/wordexp.c: Likewise.
4743 * sysdeps/posix/spawni.c: Likewise.
4744 * nss/nss_files/files-initgroups.c: Likewise.
4745 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4746 * nss/nss_files/files-initgroups.c: Likewise.
4747 * nss/nss_db/db-netgrp.c: Likewise.
4748 * nss/nss_db/db-initgroups.c: Likewise.
4749 * io/fchmodat.c: Include <sys/stat.h>.
4750
4751 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4752 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4753
4754 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4755 [HAVE_MMAP].
4756
4757 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4758 Add multiple inclusion protection.
4759
e5abc686
DM
47602012-07-27 David S. Miller <davem@davemloft.net>
4761
4762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4763
815e6fa3
GB
47642012-07-27 Gary Benson <gbenson@redhat.com>
4765
4766 [BZ #14298]
4767 * elf/rtld.c: Include <stap-probe.h>.
4768 (dl_main): Added static probes "init_start" and "init_complete".
4769 * elf/dl-load.c: Include <stap-probe.h>.
4770 (lose): Take new parameter "nsid".
4771 Added static probe "map_failed".
4772 (_dl_map_object_from_fd): Pass namespace id to lose.
4773 Added static probe "map_start".
4774 (open_verify): Pass namespace id to lose.
4775 * elf/dl-open.c: Include <stap-probe.h>.
4776 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4777 and "reloc_complete".
4778 * elf/dl-close.c: Include <stap-probe.h>.
4779 (_dl_close_worker): Added static probes "unmap_start" and
4780 "unmap_complete".
4781 * elf/rtld-debugger-interface.txt: New file documenting the above.
4782
9f98c16c
RM
47832012-07-26 Roland McGrath <roland@hack.frob.com>
4784
4785 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4786 rather than a string variable.
4787 * sunrpc/rpc_main.c (h_output): Likewise.
4788 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4789
f3c22df3
PT
47902012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4791
4792 * inet/check_native.c: New file.
4793
3129cfc6
JM
47942012-07-26 Joseph Myers <joseph@codesourcery.com>
4795
da865e95
JM
4796 [BZ #13629]
4797 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4798 if larger part has absolute value 1.0.
4799 * math/s_clog10.c (__clog10): Likewise.
4800 * math/s_clog10f.c (__clog10f): Likewise.
4801 * math/s_clog10l.c (__clog10l): Likewise.
4802 * math/s_clogf.c (__clogf): Likewise.
4803 * math/s_clogl.c (__clogl): Likewise.
4804 * math/libm-test.inc (clog_test): Add more tests.
4805 (clog10_test): Likewise.
4806 * sysdeps/i386/fpu/libm-test-ulps: Update.
4807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4808
3129cfc6
JM
4809 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4810 (pltexit): Likewise.
4811 (La_regs): Likewise.
4812 (La_retval): Likewise.
4813 (int_retval): Likewise.
4814 Update #error for removed macros to refer only to definitions in
4815 tst-audit.h.
4816 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4817 macro.
4818 (pltexit): Likewise.
4819 (La_regs): Likewise.
4820 (La_retval): Likewise.
4821 (int_retval): Likewise.
4822 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4823 macro.
4824 (pltexit): Likewise.
4825 (La_regs): Likewise.
4826 (La_retval): Likewise.
4827 (int_retval): Likewise.
4828 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4829 macro.
4830 (pltexit): Likewise.
4831 (La_regs): Likewise.
4832 (La_retval): Likewise.
4833 (int_retval): Likewise.
4834 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4835 macro.
4836 (pltexit): Likewise.
4837 (La_regs): Likewise.
4838 (La_retval): Likewise.
4839 (int_retval): Likewise.
4840 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4841 macro.
4842 (pltexit): Likewise.
4843 (La_regs): Likewise.
4844 (La_retval): Likewise.
4845 (int_retval): Likewise.
4846 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4847 macro.
4848 (pltexit): Likewise.
4849 (La_regs): Likewise.
4850 (La_retval): Likewise.
4851 (int_retval): Likewise.
4852 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4853 macro definitions in tst-audit.h.
4854 * sysdeps/i386/tst-audit.h: New file.
4855 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4856 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4857 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4858 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4859 * sysdeps/sh/tst-audit.h: Likewise.
4860 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4861 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4862 * sysdeps/x86_64/tst-audit.h: Likewise.
4863
bfc07087
AJ
48642012-07-26 Andreas Jaeger <aj@suse.de>
4865
b1b2aaf8
AJ
4866 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4867 ptrace.
4868
4869 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4870 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4871 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4872 PTRACE_O_MASK.
4873 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4874 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4875 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4876
bfc07087
AJ
4877 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4878 value.
4879
4880 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4881 _sigsys.
4882 (si_call_addr, si_syscall, si_arch): Define new macro.
4883 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4884 _sigsys.
4885 (si_call_addr, si_syscall, si_arch): Define new marcro.
4886 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4887 _sigsys.
4888 (si_call_addr, si_syscall, si_arch): Define new macro.
4889 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4890 _sigsys.
4891 (si_call_addr, si_syscall, si_arch): Define new macro.
4892
89b4b02f
JM
48932012-07-25 Joseph Myers <joseph@codesourcery.com>
4894
4895 [BZ #13717]
4896 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4897 Change to 2.4.21 where previously 2.4.1.
4898 * sysdeps/unix/sysv/linux/configure: Regenerated.
4899 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4900 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4901 Linux kernel version.
4902 (__ASSUME_STD_AUXV): Remove.
4903 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4904 kernel version.
4905 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4906 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4907 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4908 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4909 (__ASSUME_NETLINK_SUPPORT): Likewise.
4910 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4911 (__no_netlink_support): Remove conditional definition.
4912 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4913 Remove.
4914 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4915 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4916 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4917 (if_nameindex_ioctl): Remove.
4918 (if_nameindex_netlink): Do not handle __no_netlink_support.
4919 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4920 code.
4921 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4922 Remove conditional code.
4923 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4924 code.
4925 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4926 unconditional.
4927 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4928 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4929 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4930 Remove.
4931 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4932 [!__ASSUME_STD_AUXV]: Remove conditional code.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4934 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4935 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4937 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4938 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4939 code.
4940 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4942 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4943 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4944 conditional code.
4945 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4947 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4948 code.
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4950 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4951 conditional code.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4953 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4954 code unconditional.
4955 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4956 conditional code.
4957 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4958 unconditional.
4959 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4960 conditional code.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4962 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4963 unconditional.
4964 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4965 conditional code.
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4967 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4968 code unconditional.
4969 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4970 conditional code.
4971 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4972 unconditional.
4973 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4974 conditional code.
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4976 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4977 code unconditional.
4978 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4979 conditional code.
4980 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4981 unconditional.
4982 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4983 conditional code.
4984
842a39cd
AS
49852012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4986
4987 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4988 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4989 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4990 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4991 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4992 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4993 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4994 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4995 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4996 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4997 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4998 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4999 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5000 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5001 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5002 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5003 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5005 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5007 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5008 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5009 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5010
84b3fd84
FW
50112012-07-25 Florian Weimer <fweimer@redhat.com>
5012
5013 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5014 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5015 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5016 Introduce __libc_secure_getenv.
0c7936d5
FW
5017 * stdlib/Versions (2.17): Add secure_getenv
5018 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5019 * stdlib/secure-getenv.c: Rename __secure_getenv to
5020 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5021 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5022 * stdlib/tst-secure-getenv.c: New.
5023 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5024 * manual/startup.texi (Environment Access): Document
5025 secure_getenv.
84b3fd84
FW
5026 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5027 __libc_secure_getenv.
5028 * inet/ruserpass.c (ruserpass): Likewise.
5029 * malloc/mtrace.c (mtrace): Likewise.
5030 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5031 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5032 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5033 * sysdeps/posix/tempname.c: Likewise. Evaluate
5034 HAVE_SECURE_GETENV.
5035 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5036 __secure_getenv to __libc_secure_getenv.
84b3fd84 5037 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5039 Likewise.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5041 Likewise.
5042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5044 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5049
56e49b71
JM
50502012-07-25 Joseph Myers <joseph@codesourcery.com>
5051
5052 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5053 (struct La_i86_retval): Likewise.
5054 (struct La_x86_64_regs): Likewise.
5055 (struct La_x86_64_retval): Likewise.
5056 (struct La_x32_regs): Likewise.
5057 (struct La_x32_retval): Likewise.
5058 (struct La_ppc32_regs): Likewise.
5059 (struct La_ppc32_retval): Likewise.
5060 (struct La_ppc64_regs): Likewise.
5061 (struct La_ppc64_retval): Likewise.
5062 (struct La_sh_regs): Likewise.
5063 (struct La_sh_retval): Likewise.
5064 (struct La_s390_32_regs): Likewise.
5065 (struct La_s390_32_retval): Likewise.
5066 (struct La_s390_64_regs): Likewise.
5067 (struct La_s390_64_retval): Likewise.
5068 (struct La_sparc32_regs): Likewise.
5069 (struct La_sparc32_retval): Likewise.
5070 (struct La_sparc64_regs): Likewise.
5071 (struct La_sparc64_retval): Likewise.
5072 (struct audit_ifaces): Remove architecture-specific pltenter and
5073 pltexit members.
5074 * sysdeps/i386/ldsodefs.h: New file.
5075 * sysdeps/powerpc/ldsodefs.h: Likewise.
5076 * sysdeps/s390/ldsodefs.h: Likewise.
5077 * sysdeps/sh/ldsodefs.h: Likewise.
5078 * sysdeps/sparc/ldsodefs.h: Likewise.
5079 * sysdeps/x86_64/ldsodefs.h: Likewise.
5080
354691b7
MP
50812012-07-25 Marek Polacek <polacek@redhat.com>
5082
5083 [BZ #6808]
5084 * math/libm-test.inc (yn_test): Add another test.
5085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5086 to ERANGE when the result is +-Inf.
5087 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5088 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5089 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5090 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5091
bf9e2071
JM
50922012-07-24 Joseph Myers <joseph@codesourcery.com>
5093
5094 * conform/data/time.h-data (NULL): Use macro-constant. Require
5095 equal to 0.
5096 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5097 clock_t.
5098 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5099
57633811
TS
51002012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5101
5102 * configure.in <sysdeps resolving>: Correct printing
5103 Implies_before.
5104 * configure: Regenerate.
5105
c23c33b0
TS
51062012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5107
5108 * math/w_ilogb.c: Include <limits.h>.
5109 * math/w_ilogbl.c: Likewise.
5110
b5982523
JM
51112012-07-20 Joseph Myers <joseph@codesourcery.com>
5112
5113 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5114 va_copy. Document allowing for unavailable va_copy only as
5115 pre-C99 compatibility.
5116 * manual/string.texi (Copying and Concatenation): Use va_copy
5117 instead of __va_copy in concat example.
5118
ac4ea442
PT
51192012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5120
5121 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5122 (__sendto): Use create_address_port. Initialize APORT and deallocate
5123 it if not null.
5124
f98eafbd
PT
5125 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5126 with O_NOLINK passed to __file_name_lookup.
5127
898c7aab
PT
5128 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5129 with O_NOLINK passed to __file_name_lookup.
5130
0ced335a
PT
5131 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5132 negative N or less than NGIDS.
5133
b3404dbd
PT
5134 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5135 type to string_t. Set ERANGE as errno and return it if NAME is not big
5136 enough. Use memcpy instead of strncpy.
5137
0f48659e
JM
51382012-07-20 Joseph Myers <joseph@codesourcery.com>
5139
5140 * elf/Makefile (check-data): Remove.
5141 (localplt.data): New vpath directive.
5142 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5143 instead of $(check-data).
5144 * scripts/data/localplt-generic.data: Move to ...
5145 * sysdeps/generic/localplt.data: ... here.
5146 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5147 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5148 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5150 ... here.
5151 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5153 ... here.
5154 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5156 ... here.
5157 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5159 ... here.
5160 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5162 ... here.
5163 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5165 ... here.
5166
d37cbdaa
AZ
51672012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5168
5169 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5170 PPC32 and PPC64 files.
5171 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5172 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5173
46f85fc2
AK
51742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5175
5176 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5177 __makecontext_ret to ...
5178 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5179 ... here and call exit if uc_link is NULL. New file.
5180 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5181 __makecontext_ret.S.
5182 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5183 __makecontext_ret to ...
5184 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5185 ... here and call exit if uc_link is NULL. New file.
5186 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5187 __makecontext_ret.S.
5188
08f43f9b
AK
51892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5190
5191 * elf/elf.h (R_390_IRELATIVE): New definition.
5192 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5193 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5194 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5195 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5196 (elf_machine_lazy_rel): Likewise.
5197 * sysdeps/s390/dl-irel.h: New file.
5198 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5199 * sysdeps/s390/s390-64/memset.S: New asm code.
5200 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5201 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5202 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5203 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5204 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5205 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5206 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5207 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5208 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5209 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5210 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5211 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5212 * sysdeps/s390/s390-32/memset.S: New asm code.
5213 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5214
3b05db33
MP
52152012-07-17 Marek Polacek <polacek@redhat.com>
5216
5217 [BZ #14349]
5218 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5219 * sysdeps/s390/s390-64/configure.in: Likewise.
5220 * sysdeps/sparc/configure.in: Likewise.
5221 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5222 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5223 * sysdeps/i386/configure.in: Likewise.
5224 * sysdeps/x86_64/configure.in: Likewise.
5225 * sysdeps/sh/configure.in: Likewise.
5226 * sysdeps/s390/s390-32/configure: Regenerated.
5227 * sysdeps/s390/s390-64/configure: Likewise.
5228 * sysdeps/x86_64/configure: Likewise.
5229 * sysdeps/sh/configure: Likewise.
5230 * sysdeps/powerpc/powerpc64/configure: Likewise.
5231 * sysdeps/powerpc/powerpc32/configure: Likewise.
5232 * sysdeps/sparc/configure: Likwise.
5233 * sysdeps/i386/configure: Likewise.
5234
a66877c6
MP
5235 * elf/dl-open.c: Comment fixes.
5236
cfc82fd8
JM
52372012-07-17 Joseph Myers <joseph@codesourcery.com>
5238
bd29910a
JM
5239 * Makefile [CXX] (check-data): Remove.
5240 [CXX] (c++-types.data): New vpath directive.
5241 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5242 vpath. Do not allow for C++ type data being missing.
5243 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5244 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5245 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5246 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5247 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5248 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5249 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5251 ... here.
5252 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5254 ... here.
5255 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5257 ... here.
5258 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5260 ... here.
5261 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5263 ... here.
5264 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5266 ... here.
5267 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5269 ... here.
5270 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5272
cfc82fd8
JM
5273 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5274 definitions to architecture-specific files.
5275 (TLS_IE): Likewise.
5276 (TLS_LD): Likewise.
5277 (TLS_GD): Likewise.
5278 * sysdeps/i386/tls-macros.h: New file.
5279 * sysdeps/powerpc/tls-macros.h: Likewise.
5280 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5281 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5282 * sysdeps/sh/tls-macros.h: Likewise.
5283 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5284 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5285 * sysdeps/x86_64/tls-macros.h: Likewise.
5286
f7db3170
TS
52872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5288
07cbfc23
TS
5289 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5290 zero value for regular exit case.
5291
f7db3170
TS
5292 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5293 (__start_context): Preserve zero value for regular exit case.
5294
dc97c227
TS
52952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5296 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5297
5298 * manual/setjmp.texi (setcontext): Clarify normal process
5299 termination when uc_link is the null pointer.
5300 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5301 exit call.
5302
d0cd7d02
AS
53032012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5304
5305 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5306 preprocessor. Test for each exception mask separately.
5307
dd318934
AJ
53082012-07-16 Andreas Jaeger <aj@suse.de>
5309
5310 * po/ru.po: Update from translation team.
5311
8048311a
JM
53122012-07-15 Joseph Myers <joseph@codesourcery.com>
5313
5314 * conform/data/string.h-data (NULL): Use macro-constant. Require
5315 equal to 0.
5316 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5317 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5318 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5319 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5321
b637d46e
AJ
53222012-07-13 Andreas Jaeger <aj@suse.de>
5323
5324 * po/fr.po: Update from translation team.
5325
541428fe
MP
53262012-07-12 Marek Polacek <polacek@redhat.com>
5327
5328 [BZ #14173]
5329 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5330 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5331 loop condition.
5332
ec332e94
JM
53332012-07-12 Joseph Myers <joseph@codesourcery.com>
5334
5335 [BZ #13717]
5336 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5337 Change to 2.4.1 where previously 2.4.0.
5338 * sysdeps/unix/sysv/linux/configure: Regenerated.
5339 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5340 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5341 version.
5342 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5343 (__ASSUME_AT_CLKTCK): Remove.
5344 (__ASSUME_AT_PAGESIZE): Likewise.
5345 (__ASSUME_AT_XID): Likewise.
5346 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5347 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5348 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5349 unconditionally.
5350 (HAVE_AUX_PAGESIZE): Likewise.
5351 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5352 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5353 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5354
7b6e99be
JB
53552012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5356
5357 [BZ #14307]
5358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5359 the temporary buffer used to invoke __gethostbyname2_r,
5360 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5361 host_data / struct gaih_addrtuple.
5362 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5363 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5364 header file nss/nsswitch.h.
5365 * nss/nsswitch.h (global scope): Add definition of implementation
5366 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5367 resolv/nss_dns/dns-host.c).
5368
608404eb
AJ
53692012-07-11 Andreas Jaeger <aj@suse.de>
5370
5371 * po/fr.po: Update from translation team.
5372
71220aca
AJ
5373 * po/sv.po: Update from translation team
5374 * po/fr.po: Another update from translation team.
5375
28cfe843
AZ
53762012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5377
5378 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5379 for subnormals or multiply small sinh result by itself.
5380 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5382
6b90f981
DM
53832012-07-11 David S. Miller <davem@davemloft.net>
5384
5385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5386
c6825772
AS
53872012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5388
5389 [BZ #14347]
5390 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5391 (INTERNAL_MARK): Shift it here.
5392
7b8e0d49
MP
53932012-07-10 Marek Polacek <polacek@redhat.com>
5394
5395 [BZ #14151]
5396 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5397 libc_cv_asm_global_directive with .globl.
5398 * configure: Regenerated.
5399 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5400 with .globl.
5401 * sysdeps/i386/configure: Regenerated.
5402 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5403 with .globl.
5404 * sysdeps/x86_64/configure: Regenerated.
5405 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5406 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5407 * elf/tst-unique2mod2.c: Likewise.
5408 * elf/tst-unique2mod1.c: Likewise.
5409 * elf/tst-unique1mod2.c: Likewise.
5410 * elf/tst-unique1mod1.c: Likewise.
5411 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5412 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5413 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5414 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5415 * sysdeps/mach/sysdep.h: Likewise.
5416 * sysdeps/i386/sysdep.h: Likewise.
5417 * sysdeps/i386/i386-mcount.S: Likewise.
5418 * sysdeps/x86_64/_mcount.S: Likewise.
5419 * sysdeps/x86_64/sysdep.h: Likewise.
5420 * sysdeps/sh/_mcount.S: Likewise.
5421 * sysdeps/sh/sysdep.h: Likewise.
5422 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5423 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5424 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5425 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5426 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5427 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5428 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5429 * locale/localeinfo.h: Likewise.
5430 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5431 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5432
6c55cda3
RM
54332012-07-09 Roland McGrath <roland@hack.frob.com>
5434
5435 [BZ #14336]
5436 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5437 system".
5438 * manual/message.texi (The Uniforum approach): Likewise.
5439 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5440 (glibc iconv Implementation): Likewise.
5441
638a572e
JM
54422012-07-09 Joseph Myers <joseph@codesourcery.com>
5443
5444 [BZ #14337]
5445 * math/s_clog.c (__clog): Avoid scaling a value down where that
5446 could result in underflow.
5447 * math/s_clog10.c (__clog10): Likewise.
5448 * math/s_clog10f.c (__clog10f): Likewise.
5449 * math/s_clog10l.c (__clog10l): Likewise.
5450 * math/s_clogf.c (__clogf): Likewise.
5451 * math/s_clogl.c (__clogl): Likewise.
5452 * math/libm-test.inc (clog_test): Add more tests.
5453 (clog10_test): Likewise.
5454 * sysdeps/i386/fpu/libm-test-ulps: Update.
5455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5456
261f4859
AS
54572012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5458
0abaf3e4
AS
5459 [BZ #14283]
5460 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5461 by 7 not 8 to examine high bit of fractional part.
5462
261f4859
AS
5463 [BZ #14042]
5464 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5465 for call to __mcount_internal.
5466 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5467 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5468 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5469
f17ac40d
JM
54702012-07-06 Joseph Myers <joseph@codesourcery.com>
5471
9ad63c23
JM
5472 [BZ #14154]
5473 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5474 approximation for values within 0x1p-13f of an odd multiple of
5475 pi/4.
5476 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5477 exception. Add more tests.
5478 * sysdeps/i386/fpu/libm-test-ulps: Update.
5479
f17ac40d
JM
5480 [BZ #6778]
5481 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5482 inputs and return -1 for them. Do not check for +Inf in case not
5483 reachable for +Inf.
5484 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5485 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5486 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5487 and return -1 for them. Do not check for +Inf in case not
5488 reachable for +Inf.
5489 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5490 define.
5491 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5492 and return -1 for them. Do not check for +Inf in case not
5493 reachable for +Inf.
5494 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5495 spurious underflow.
5496 * sysdeps/i386/fpu/libm-test-ulps: Update.
5497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5498
fb21f89b
MF
54992012-07-06 Mike Frysinger <vapier@gentoo.org>
5500
5501 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5502
cdfe2c5e
JM
55032012-07-05 Joseph Myers <joseph@codesourcery.com>
5504
5505 [BZ #14157]
5506 [BZ #14331]
5507 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5508 could result in spurious underflow. Scale down values above
5509 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5510 * math/s_csqrtf.c (__csqrtf): Likewise.
5511 * math/s_csqrtl.c (__csqrtl): Likewise.
5512 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5513 spurious underflow.
5514 * sysdeps/i386/fpu/libm-test-ulps: Update.
5515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5516
70d35b67
AS
55172012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5518
704bc459
AS
5519 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5520 xopen-msg.sed.
5521 * catgets/xopen-msg.awk: New file.
5522 * catgets/xopen-msg.sed: Removed.
5523
70d35b67
AS
5524 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5525 po2text.sed.
5526 * intl/po2test.awk: New file.
5527 * intl/po2test.sed: Removed.
5528
ca61cf32
JM
55292012-07-04 Joseph Myers <joseph@codesourcery.com>
5530
5531 [BZ #14328]
5532 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5533 or multiply small sinh result by itself.
5534 * math/s_ctanf.c (__ctanf): Likewise.
5535 * math/s_ctanh.c (__ctanh): Likewise.
5536 * math/s_ctanhf.c (__ctanhf): Likewise.
5537 * math/s_ctanhl.c (__ctanhl): Likewise.
5538 * math/s_ctanl.c (__ctanl): Likewise.
5539 * math/libm-test.inc (ctan_test_tonearest): New function.
5540 (ctan_test_towardzero): Likewise.
5541 (ctan_test_downward): Likewise.
5542 (ctan_test_upward): Likewise.
5543 (ctanh_test_tonearest): Likewise.
5544 (ctanh_test_towardzero): Likewise.
5545 (ctanh_test_downward): Likewise.
5546 (ctanh_test_upward): Likewise.
5547 (main): Call these new functions.
5548 * sysdeps/i386/fpu/libm-test-ulps: Update.
5549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5550
ca48a46a
MF
55512012-07-03 Mike Frysinger <vapier@gentoo.org>
5552
5553 * .gitignore: Delete /ports entry.
5554
9d63d37d
AJ
55552012-07-03 Andreas Jaeger <aj@suse.de>
5556
5557 * po/bg.po: Update from translation team.
5558 * po/cs.po: Likewise.
5559 * po/de.po: Likewise.
5560 * po/hr.po: Likewise.
5561 * po/nl.pl: Likewise.
5562 * po/pl.po: Likewise.
5563 * po/vi.po: Likewise.
5564
370ca3d2
JM
55652012-07-03 Joseph Myers <joseph@codesourcery.com>
5566
95f5a9a8
JM
5567 * Makeconfig [!+link] (+link-before-libc): New variable.
5568 [!+link] (+link-after-libc): Likewise.
5569 [!+link] (+link-tests): Likewise.
5570 [!+link] (+link): Define in terms of $(+link-before-libc) and
5571 $(+link-after-libc).
5572 [!+link-static] (+link-static-before-libc): New variable.
5573 [!+link-static] (+link-static-after-libc): Likewise.
5574 [!+link-static] (+link-static-tests): Likewise.
5575 [!+link-static] (+link-static): Define in terms of
5576 $(+link-static-before-libc) and $(+link-static-after-libc).
5577 [build-shared] (link-libc-before-gnulib): New variable.
5578 [build-shared] (link-libc-tests): Likewise.
5579 [build-shared] (link-libc): Define in terms of
5580 $(link-libc-before-gnulib).
5581 [!build-shared] (link-libc-tests): New variable.
5582 (link-libc-static-tests): New variable.
5583 [!gnulib] (gnulib-arch): New variable.
5584 [!gnulib] (gnulib-tests): Likewise.
5585 [!gnulib] (static-gnulib-arch): Likewise.
5586 [!gnulib] (static-gnulib-tests): Likewise.
5587 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5588 Define with "=" instead of ":=".
5589 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5590 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5591 * Rules (binaries-all-notests): New variable.
5592 (binaries-all-tests): Likewise.
5593 (binaries-static-notests): Likewise.
5594 (binaries-static-tests): Likewise.
5595 (binaries-all): Define using $(binaries-all-notests) and
5596 $(binaries-all-tests).
5597 (binaries-static): Define using $(binaries-static-notests) and
5598 $(binaries-static-tests).
5599 (binaries-shared-tests): New variable.
5600 (binaries-shared-notests): Likewise.
5601 (binaries-shared): Remove variable.
5602 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5603 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5604 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5605 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5606 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5607 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5608 * elf/Makefile (sln-modules): New variable.
5609 (extra-objs): Add $(sln-modules:=.o).
5610 (ldconfig-modules): Add static-stubs.
5611 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5612 * elf/static-stubs.c: New file.
5613
7a845b2c
JM
5614 [BZ #14283]
5615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5616 by 7 not 8 to examine high bit of fractional part. Use volatile
5617 variables when splitting into final array of floats if
5618 __FLT_EVAL_METHOD__ != 0.
5619 * math/libm-test.inc (cos_test): Add another test.
5620 (sin_test): Likewise.
5621 * sysdeps/i386/fpu/libm-test-ulps: Update.
5622
e2283f38
JM
5623 [BZ #14273]
5624 * math/libm-test.inc (cosh_test): Add more tests.
5625
370ca3d2
JM
5626 * version.h (RELEASE): Set to "development".
5627 (VERSION): Set to "2.16.90".
5628
ee9247c3
CD
56292012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5630
5631 * NEWS: Update copyright. Remove last-updated date.
5632 Mention math library bug fixes and timezone data changes.
5633 * README: Mention GNU/Hurd, x32, and HPPA support status.
5634
4648c381
TS
56352012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5636
5637 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5638
aac78a43
AJ
56392012-06-27 Andreas Jaeger <aj@suse.de>
5640
5641 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5642
ed3dbfad
AJ
56432012-06-25 Andreas Jaeger <aj@suse.de>
5644
5645 * sysdeps/s390/fpu/libm-test-ulps: Update.
5646
4d0ee855
AS
56472012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5648 Thomas Schwinge <thomas@codesourcery.com>
5649
5650 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5651 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5652 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5653 fanotify_mark.
5654
af1bce34
TS
56552012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5656
a9fa33ba
TS
5657 * sysdeps/mach/start.c: Remove file.
5658 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5659 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5660 * sysdeps/sh/init-first.c: Likewise.
5661
58f902b8
TS
5662 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5663 registers for frame unwinding purposes, add CFI directives.
5664 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5665 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5666 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5667 Likewise.
5668
1518f58b
TS
5669 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5670 __fortify_fail returning.
5671 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5672
db9b5059
TS
5673 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5674 sysdeps/sh/____longjmp_chk.S.
5675 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5676 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5677 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5678 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5679
967705fe
TS
5680 * sysdeps/sh/abort-instr.h: New file.
5681 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5682 process in case exit returns.
5683
a9def8c4
TS
5684 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5685 initialize the GOT register before use.
5686
2a649725
TS
5687 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5688 calculation of ARGC > 4.
5689
af1bce34
TS
5690 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5691 meaningful names to some local labels.
5692
d230f50a
KK
56932012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5694 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5695
5696 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5697 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5698 (__arch_compare_and_exchange_val_16_acq): Likewise.
5699 (__arch_compare_and_exchange_val_32_acq): Likewise.
5700 (atomic_exchange_and_add): Fix gUSA sequence.
5701 (atomic_add): Likewise.
5702 (atomic_add_negative): Likewise.
5703 (atomic_add_zero): Likewise.
5704 (atomic_bit_test_set): Likewise.
5705
0479b305
AS
57062012-06-22 Andreas Schwab <schwab@redhat.com>
5707
5708 [BZ #13579]
5709 * include/link.h (struct link_map): Add l_free_initfini.
5710 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5711 l_initfini.
5712 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5713 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5714 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5715 set.
5716
0e3933b9
CD
57172012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5718
5719 * configure.in: Use AC_LANG_SOURCE.
5720 * configure: Regenerate.
5721
4248b1b1
RM
57222012-06-22 Roland McGrath <roland@hack.frob.com>
5723
5724 * configure.in (libc_cv_localstatedir): New substituted variable.
5725 * configure: Regenerated.
5726 * config.make.in (localstatedir): New variable, substituted from
5727 libc_cv_localstatedir.
5728 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5729 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5730 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5731 * sysdeps/gnu/configure: Regenerated.
5732
006dd861
JL
57332012-06-21 Jeff Law <law@redhat.com>
5734
5735 [BZ #14277]
5736 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5737 free. Simplify list management for _LIBC case.
5738
79662d42
JM
57392012-06-21 Joseph Myers <joseph@codesourcery.com>
5740
b7abb4bf
JM
5741 [BZ #14273]
5742 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5743 Clear sign bit of 64-bit integer value before comparing against
5744 overflow value.
5745
79662d42
JM
5746 * sysdeps/mach/configure: Regenerated.
5747
1f150908
L
57482012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5749
5750 [BZ #14278]
5751 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5752
28363bbf
JL
57532012-06-21 Jeff Law <law@redhat.com>
5754
5755 [BZ #13882]
5756 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5757 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5758 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5759 * elf/dl-open.c (dl_open_worker): Likewise.
5760
09615db4
CD
57612012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5762
5763 * scripts/list-sources.sh: Scan PORTS for translations.
5764 * po/libc.pot: Regenerated.
5765
2174c6dd
AJ
57662012-06-21 Andreas Jaeger <aj@suse.de>
5767
5768 [BZ #12194]
5769 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5770 warning.
5771 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5772 * bits/byteswap-16.h (__bswap_16): Likewise.
5773 * bits/byteswap.h (__bswap_constant_16): Likewise.
5774
3ee947b1
L
57752012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5776
5777 [BZ #14117]
a2f34833
L
5778 * sysdeps/i386/fpu_control.h: Removed.
5779 * sysdeps/x86_64/fpu_control.h: Moved to ...
5780 * sysdeps/x86/fpu_control.h: Here.
5781
3ee947b1
L
5782 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5783 (_FPU_SETCW): Likewise.
5784
ed1825f8
L
57852012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5786
25f1282a
L
5787 [BZ #14117]
5788 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5789 * sysdeps/x86/fpu/bits/mathinline.h: This.
5790 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5791
ed1825f8
L
5792 [BZ #14050]
5793 [BZ #14117]
5794 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5795 functions if __x86_64__ is defined.
5796
36d54b74
CLT
57972012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5798
5799 * string/endian.h: Add !__ASSEMBLER__ condition for including
5800 conversion interfaces.
5801
10285c21
JM
58022012-06-15 Joseph Myers <joseph@codesourcery.com>
5803
5804 [BZ #14241]
5805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5806 of ABS(x) in calculating zero to negative powers other than odd
5807 integers.
5808 * math/libm-test.inc (pow_test): Add more tests.
5809
06c5abbd
AJ
58102012-06-15 Andreas Jaeger <aj@suse.de>
5811
5812 * manual/contrib.texi (Contributors): Update entry of Liubov
5813 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5814 Machado Filho.
5815
a3aeac40
CH
58162012-06-15 Cyril Hrubis <metan@ucw.cz>
5817
5818 * string/string.h: Add __wur to GNU version of strerror_r.
5819
49bdf4c1
L
58202012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5821
5822 [BZ #14229]
5823 * string/Makefile (tests): Add tst-strtok_r.
5824 * string/tst-strtok_r.c: New file.
5825 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5826 RAX_LP/RDX_LP on SAVE_PTR.
5827
834f9b8d
RM
58282012-06-14 Roland McGrath <roland@hack.frob.com>
5829
5830 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5831
75fa1921
JM
58322012-06-14 Joseph Myers <joseph@codesourcery.com>
5833
5834 * libm_test.inc (csqrt_test): Allow more spurious underflow
5835 exceptions.
5836 (j0_test): Likewise.
5837 (j1_test): Likewise.
5838 (y0_test): Likewise.
5839 (y1_test): Likewise.
5840
771766df
CD
58412012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5842
5843 * po/Makefile (libc.pot): Use UTF-8 charset.
5844
ceb9e56b
PP
58452012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5846
5847 [BZ #14210]
5848 Suppress sign-conversion warning from FD_SET.
5849 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5850 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5851 not unsigned long int.
5852 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5853
ddb28975
L
58542012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 [BZ #14050]
5857 [BZ #14117]
5858 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5859 __extern_always_inline instead of __extern_inline.
5860 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5861 (__signbit): Likewise.
5862 (__signbitl): Support C++ namespace.
5863 (lrintf): New inline function.
5864 (lrint): Likewise.
5865 (llrintf): Likewise.
5866 (llrint): Likewise.
5867 (fmaxf): Likewise.
5868 (fmax): Likewise.
5869 (fminf): Likewise.
5870 (fmin): Likewise.
5871 (rint): Likewise.
5872 (rintf): Likewise.
5873 (ceil): Likewise.
5874 (ceilf): Likewise.
5875 (floor): Likewise.
5876 (floorf): Likewise.
5877 (nearbyint): Likewise.
5878 (nearbyintf): Likewise.
5879
d7b4fb26
TS
58802012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5881
5882 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5883 non-default versions.
5884
eb55f5c2
RM
58852012-06-11 Roland McGrath <roland@hack.frob.com>
5886
5887 [BZ #14218]
5888 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5889
366af02c
TS
58902012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5891
99ff6e5c
TS
5892 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5893 (FE_UPWARD, FE_DOWNWARD): Don't define.
5894 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5895 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5896
366af02c
TS
5897 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5898 reading it.
5899 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5900 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5901
793ea851
KK
59022012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5903
5904 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5906 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5907 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5908
a728a38f
L
59092012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5910
5911 [BZ #14117]
c08010c7
L
5912 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5913 * sysdeps/i386/fpu/Implies: New file.
5914 * sysdeps/x86_64/fpu/Implies: Likewise.
5915 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5916 * sysdeps/x86/fpu/bits/fenv.h: This.
5917
a728a38f
L
5918 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5919 __SSE_MATH__.
5920
6e230d11
SP
59212012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5922
5923 [BZ #14134]
5924 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5925 character 0xffff that matches the last element of the
5926 conversion table.
5927
1b671feb
AZ
59282012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929
5930 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5931 fmodl commit.
5932
6043738b
AZ
59332012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934
5935 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5936 values higher than 25.6283.
5937
34ae0b32
AZ
59382012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5939
5940 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5941 subnormal exponent extraction and add some __builtin_expect.
5942 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5943 Fix for subnormal mantissa calculation.
5944
1214ec8f
MF
59452012-06-04 Mike Frysinger <vapier@gentoo.org>
5946
5947 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5948 cpu2 is -1 and errno is not ENOSYS.
5949
f3d1f93c
L
59502012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5951
5952 [BZ #14117]
0e4a3cd7
L
5953 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5954 * sysdeps/x86/bits/string.h: This.
5955 * sysdeps/x86_64/bits/string.h: Removed.
5956
6704c645
L
5957 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5958 if not compiling for x86-64, but compiling for >= i486.
5959
48495318
L
5960 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5961 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5962
14adcbfc
L
5963 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5964 New macro from Linux kernel 3.4.0.
5965 (FP_XSTATE_MAGIC2): Likewise.
5966 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5967 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5968 (struct _fpx_sw_bytes): New struct.
5969 (struct _xsave_hdr): Likewise.
5970 (struct _ymmh_state): Likewise.
5971 (struct _xstate): Likewise.
5972
68e408ab
L
5973 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5974 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5976 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5977 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5978 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5979
f3d1f93c
L
5980 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5981 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5982 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5983 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5984 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5985 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5986
d9dc34cd
TMQMF
59872012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5988
5989 [BZ #13743]
5990 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5991 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5992 (sysdep_headers): Include sys/platform/ppc.h.
5993 * sysdeps/powerpc/test-gettimebase.c: Test for
5994 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5995 * manual/Makefile (appendices): Include platform.texi.
5996 * manual/contrib.texi (Contributors): Update @node pointers.
5997 * manual/maint.texi (Maintenance): Likewise.
5998 (Platform): New node.
5999 * manual/platform.texi: New file. Document the new features.
6000
4af3879c
SP
60012012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6002 Jakub Jelinek <jakub@redhat.com>
6003
6004 [BZ #14188]
6005 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6006 where __builtin_expect is unavailable.
6007
2fd6ff13
DM
60082012-06-03 David S. Miller <davem@davemloft.net>
6009
6010 * stdlib/longlong.h: Updated from GCC.
6011
173f7220
AS
60122012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6013
6014 [BZ #14042]
6015 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6016 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6017 __mcount_internal.
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6019 (GLIBC_2.16): Likewise.
6020
f34a1c6f
L
60212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6022
6023 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6024
88a4576f
JM
60252012-06-01 Joseph Myers <joseph@codesourcery.com>
6026
ea32bcdd
JM
6027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6028 (default-abi): New variable.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6030 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6031 variable.
6032 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6033 Likewise.
6034 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6035 Likewise.
6036 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6037 Likewise.
6038
88a4576f
JM
6039 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6040 definition. Document in comment.
6041
402fe938
DM
60422012-06-01 David S. Miller <davem@davemloft.net>
6043
6044 * stdlib/longlong.h: Updated from GCC.
6045
3553723f
L
60462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6047
6048 [BZ #14117]
3bd872c4
L
6049 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6050 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6051 sys/debugreg.h sys/io.h here.
6052 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6053 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6054 sys/io.h.
6055 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6056 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6057 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6058 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6059 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6060 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6061
3553723f
L
6062 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6063 Define only if __x86_64__ is defined.
6064
4842e4fe
JM
60652012-06-01 Joseph Myers <joseph@codesourcery.com>
6066
c5bfe3d5
JM
6067 [BZ #14048]
6068 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6069 Use int64_t for variable i.
6070 * math/libm-test.inc (fmod_test): Add more tests.
6071
4842e4fe
JM
6072 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6073 z computation is not scheduled after fetestexcept.
6074 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6075 Use math_force_eval instead of asm to ensure calculation scheduled
6076 before exception test.
6077 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6078 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6079
efb73488
AJ
60802012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6081
6082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6083 computation is not scheduled after fetestexcept.
6084
29bcce7c
L
60852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6086
6087 [BZ #14117]
6088 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6089 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6090
73a68f94
AZ
60912012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6092
6093 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6094 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6095
67b6df78
L
60962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6097
edf2933a 6098 [BZ #14117]
ebc64a18
L
6099 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6100 <bits/wordsize.h>.
6101 (__WCHAR_MIN): Support __WORDSIZE == 64.
6102 (__WCHAR_MAX): Likewise.
6103
edf2933a
L
6104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6105 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6106
57c6cf40
L
6107 [BZ #14183]
6108 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6109 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6110
67b6df78 6111 [BZ #14117]
8eb6281e
L
6112 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6113 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6114
aac639f4
L
6115 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6116 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6117
67b6df78
L
6118 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6119 Defined to 1 if __x86_64__ isn't defined.
6120 (_STAT_VER_LINUX_OLD): New.
6121 (st_atime): Remove duplicate.
6122 (st_mtime): Likewise.
6123 (st_ctime): Likewise.
6124
1c2cfe81
DM
61252012-05-31 David S. Miller <davem@davemloft.net>
6126
6127 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6128 entries.
6129
5be8418c
AS
61302012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6131
e7725326
AS
6132 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6133 gen-libm-test.pl.
6134
5be8418c
AS
6135 [BZ #14132]
6136 * elf/dl-reloc.c: Include <_itoa.h>.
6137 (_dl_reloc_bad_type): Remove use of INTUSE.
6138 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6139 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6140 * stdio-common/psiginfo.c (psiginfo): Likewise.
6141 * stdio-common/psignal.c (psignal): Likewise.
6142 * string/strsignal.c (strsignal): Likewise.
6143 * include/signal.h (_sys_siglist): Declare hidden proto.
6144 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6145 INTVARDEF with libc_hidden_data_def.
6146 * stdio-common/itoa-udigits.c: Likewise.
6147 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6148 (_itoa_lower_digits_internal): Remove declaration.
6149 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6150 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6151 (_sys_sigabbrev_internal): Remove aliases.
6152 (_sys_siglist): Define hidden alias.
6153
507352f1
MT
61542012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6155
6156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6157 bits/sysctl.h.
6158
42bbb1c3
L
61592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6160
6161 [BZ #14117]
6bd784b6
L
6162 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6163 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6164
8bca20f0
L
6165 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6166 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6167 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6168 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6169 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6170 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6171
f9e890a9
L
6172 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6173 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6174 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6175
471101a1
L
6176 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6177 with __addr.
6178 (insw): Likewise.
6179 (insl): Likewise.
6180 (outsb): Likewise.
6181 (outsw): Likewise.
6182 (outsl): Likewise.
6183
6451c862
L
6184 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6185 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6186 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6187
a254b8c9
L
6188 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6189 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6190 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6191 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6192 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6193 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6194
b8dfdd92
L
6195 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6196 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6197
578cd270
L
6198 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6199 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6200
de662f5f
L
6201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6203 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6204
25653439
L
6205 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6206 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6207 to ...
6208 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6209
6bad24a0
L
6210 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6211 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6212 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6213
42bbb1c3
L
6214 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6215 for x86-64.
6216 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6217
2d10d547
JM
62182012-05-31 Joseph Myers <joseph@codesourcery.com>
6219
6220 * math/math.h (M_El): Use two more decimal places.
6221 (M_LOG2El): Likewise.
6222 (M_LOG10El): Likewise.
6223 (M_LN2l): Likewise.
6224 (M_LN10l): Likewise.
6225 (M_PIl): Likewise.
6226 (M_PI_2l): Likewise.
6227 (M_PI_4l): Likewise.
6228 (M_1_PIl): Likewise.
6229 (M_2_PIl): Likewise.
6230 (M_2_SQRTPIl): Likewise.
6231 (M_SQRT2l): Likewise.
6232 (M_SQRT1_2l): Likewise.
6233
f230c29b
DM
62342012-05-31 David S. Miller <davem@davemloft.net>
6235
6236 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6237 values between float registers.
6238 * sysdeps/sparc/sparc64/memset.S: Likewise.
6239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6240
fed806c3
MF
62412012-05-31 Mike Frysinger <vapier@gentoo.org>
6242
6243 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6244 -D_FORTIFY_SOURCE=1.
6245 (CPPFLAGS-tst-longjmp_chk.c): Define.
6246 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6247 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6248 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6249 CFLAGS-tst-wchar-h.c.
6250
30917259
MP
62512012-05-31 Marek Polacek <polacek@redhat.com>
6252
6253 [BZ #14132]
6254 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6255 __endmntent_internal): Remove declaration.
6256 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6257 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6258 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6259
1c58d5dc
DM
62602012-05-30 David S. Miller <davem@davemloft.net>
6261
6262 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6263 (___Q_simulate_exceptions): Use real FP ops rather than writing
6264 into the %fsr.
6265 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6266 Likewise.
6267
7dc00e0d
L
62682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6269
6270 [BZ #14117]
0bd53985
L
6271 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6272 * sysdeps/x86/bits/xtitypes.h: This.
6273
3a257e66
L
6274 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6275 * sysdeps/x86/bits/wordsize.h: This.
6276
62f62904
L
6277 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6278 * sysdeps/x86/bits/huge_vall.h: This.
6279
404fe9d9
L
6280 * sysdeps/i386/bits/select.h: Removed.
6281 * sysdeps/x86_64/bits/select.h: Renamed to ...
6282 * sysdeps/x86/bits/select.h: This.
6283
d48d0446
L
6284 * sysdeps/i386/bits/setjmp.h: Removed.
6285 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6286 * sysdeps/x86/bits/setjmp.h: This.
6287
7dc00e0d
L
6288 * sysdeps/i386/bits/mathdef.h: Removed.
6289 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6290 * sysdeps/x86/bits/mathdef.h: This.
6291
03277f8f
AS
62922012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6293
6294 [BZ #14132]
6295 * include/sys/socket.h (__connect_internal)
6296 (__libc_sa_len_internal): Remove declaration.
6297 (__connect, __libc_sa_len): Declare hidden_proto.
6298 (SA_LEN): Remove use of INTUSE.
6299 * socket/connect.c: Add libc_hidden_def.
6300 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6301 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6302 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6303 alias.
6304 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6305 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6306 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6307 of adding _internal alias.
6308
13764867
L
63092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6310
6311 [BZ #14117]
6bd97696
L
6312 * sysdeps/i386/bits/link.h: Removed.
6313 * sysdeps/i386/bits/linkmap.h: Likewise.
6314 * sysdeps/x86_64/bits/link.h: Renamed to ...
6315 * sysdeps/x86/bits/link.h: This.
6316 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6317 * sysdeps/x86/bits/linkmap.h: This.
6318
f726f0bb
L
6319 * sysdeps/i386/bits/endian.h: Removed.
6320 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6321 * sysdeps/x86/bits/endian.h: This.
6322
13764867
L
6323 * sysdeps/i386/bits/byteswap.h: Removed.
6324 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6325 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6326 * sysdeps/x86/bits/byteswap.h: This.
6327 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6328 * sysdeps/x86/bits/byteswap-16.h: This.
6329 * sysdeps/i386/Implies: Add x86.
6330 * sysdeps/x86_64/Implies: Likewise.
6331
ae251b0b
DM
63322012-05-30 David S. Miller <davem@davemloft.net>
6333
6334 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6335 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6336 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6337 (FP_TRAPPING_EXCEPTIONS): Define.
6338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6339 (FP_TRAPPING_EXCEPTIONS): Define.
6340 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6341 subnormals only when inexact has been signalled or underflow
6342 exceptions are enabled.
6343 (_FP_PACK_CANONICAL): Likewise.
6344
d5c90867
L
63452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6346
6347 [BZ #14183]
6348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6349 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6350
63f1549e
RH
63512012-05-30 Richard Henderson <rth@twiddle.net>
6352
8d8f2279
RH
6353 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6354 with #ifndef NOT_IN_libc.
6355
63f1549e
RH
6356 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6357 marked to avoid plt entry.
6358
0ab0291b
L
63592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6360
6361 [BZ #14112]
6362 * Makeconfig (default-abi): New macro.
6363 (abi-includes): Likewise.
6364 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6365 $(abi-$(default-abi)-lib-soname) for soname if defined.
6366 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6367 abi-variants.
6368 * Makefile (installed-stubs): Likewise.
6369 * include/stubs-biarch.h: Removed.
6370 * scripts/lib-names.awk: Only handle one library at a time.
6371 * scripts/soversions.awk: Remove WORDSIZE support.
6372 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6373 entries.
6374 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6375 Removed.
6376 (syscall-list-default-condition): Likewise.
6377 (syscall-list-default-condition): Likewise.
6378 (syscall-list-includes): Likewise.
6379 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6380 syscall-list-* with abi-*. Handle undefined abi-variants.
6381 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6382 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6383 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6384 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6385 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6386 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6387 Removed.
6388 (syscall-list-32-options): Likewise.
6389 (syscall-list-32-condition): Likewise.
6390 (syscall-list-64-options): Likewise.
6391 (syscall-list-64-condition): Likewise.
6392 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6393 macro.
6394 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6395 Renamed to ...
6396 (abi-*): This.
6397 (abi-64-ld-soname): New macro.
6398 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6399 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6400 Renamed to ...
6401 (abi-*): This.
6402 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6403 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6404
4da0431d
JM
64052012-05-30 Joseph Myers <joseph@codesourcery.com>
6406
3a85279c
JM
6407 * sysdeps/unix/sysv/linux/kernel-features.h
6408 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6409 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6410 include <kernel-features.h>.
6411 [!__NR_ftruncate64]: Remove conditional code.
6412 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6413 [__NR_ftruncate64]: Make code unconditional.
6414 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6415 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6416 include <kernel-features.h>.
6417 [!__NR_ftruncate64]: Remove conditional code.
6418 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6419 [__NR_ftruncate64]: Make code unconditional.
6420 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6422 include <kernel-features.h>.
6423 [!__NR_ftruncate64]: Remove conditional code.
6424 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6425 [__NR_ftruncate64]: Make code unconditional.
6426 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6428 include <kernel-features.h>.
6429 [!__NR_ftruncate64]: Remove conditional code.
6430 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6431 [__NR_ftruncate64]: Make code unconditional.
6432 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6433
4da0431d
JM
6434 * configure.in (libc_cv_fpie): Weaken to a compile test using
6435 LIBC_TRY_CC_OPTION.
6436 * configure: Regenerated.
6437
11ef492c
AK
64382012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6439
6440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6444 Refreshed.
6445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6451 Refreshed.
6452
d66ef399
DM
64532012-05-27 David S. Miller <davem@davemloft.net>
6454
6455 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6456 (___Q_zero): New.
6457 (__Q_simulate_exceptions): Return void. Change to simulate
6458 exceptions by writing into the %fsr.
6459 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6460 (__Qp_handle_exceptions): Likewise.
6461 (numbers): Delete.
6462 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6463 __Qp_handle_exceptions.
6464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6465 __Qp_handle_exceptions.
6466 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6467 as unused and give dummy FP_RND_NEAREST initializer.
6468 (FP_INHIBIT_RESULTS): Define.
6469 (___Q_simulate_exceptions): Update declaration.
6470 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6471 formatting.
6472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6473 as unused and give dummy FP_RND_NEAREST initializer.
6474 (__Qp_handle_exceptions): Update declaration.
6475 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6476 formatting.
6477
04fb54b5
TS
64782012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6479
6480 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6481 the temporary FPU control word.
6482 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6483 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6484 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6485 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6486 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6487 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6488 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6489 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6490 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6491 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6492 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6493
3f99608f
KK
64942012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6495
6496 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6497 fields.
6498
65a4de4e
CLT
64992012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6500
6501 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6502 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6503 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6504 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6505 Likewise.
6506 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6507 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6508 Likewise.
6509
15749d40
UD
65102012-05-27 Ulrich Drepper <drepper@gmail.com>
6511
6512 * po/h.po: Update from translation team.
6513
25dbcb27
AS
65142012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6515
3d3f8e55
AS
6516 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6517
25dbcb27
AS
6518 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6519 handling of denormals.
6520 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6521 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6522 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6523 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6527 Likewise.
6528
7ad47a80 65292012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6530
6531 [BZ #14152]
6532 * math/libm-test.inc (fma_test): Don't always expect underflow
6533 exception.
6534
9c6ea9fa
SP
65352012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6536
6537 [BZ #12416]
6538 * elf/tst-execstack.c: Include stackinfo.h.
6539 (do_test): Adjust test case to ensure that pthread_getattr_np
6540 behaviour remains the same after marking stack executable.
6541
a8239222
JM
65422012-05-25 Joseph Myers <joseph@codesourcery.com>
6543
6544 * sysdeps/unix/sysv/linux/kernel-features.h
6545 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6546 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6547 kernel-features.h.
6548 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6549 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6550 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6551 kernel-features.h.
6552 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6553 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6554
918b5606
L
65552012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6556
6557 * configure.in: Define the default includes to being none.
6558 * configure: Regenerated.
6559
3a097cc7
RM
65602012-05-25 Roland McGrath <roland@hack.frob.com>
6561
8422c9a5
RM
6562 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6563 * sysdeps/x86_64/setjmp.S: Likewise.
6564 * sysdeps/i386/bsd-setjmp.S: Likewise.
6565 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6566 * sysdeps/i386/setjmp.S: Likewise.
6567 * sysdeps/i386/__longjmp.S: Likewise.
6568 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6569 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6570
3a097cc7
RM
6571 * include/stap-probe.h: New file.
6572 * configure.in: Handle --enable-systemtap.
6573 * configure: Regenerated.
6574 * config.h.in (USE_STAP_PROBE): New #undef.
6575 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6576 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6577 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6578
21708942
JM
65792012-05-25 Joseph Myers <joseph@codesourcery.com>
6580
6581 [BZ #13717]
6582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6583 to 2.4.0 where earlier.
6584 * sysdeps/unix/sysv/linux/configure: Regenerated.
6585 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
6594 [__ASSUME_32BITUIDS]: Make code unconditional.
6595 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6596 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6597 <kernel-features.h>.
6598 [__ASSUME_32BITUIDS]: Make code unconditional.
6599 [!__ASSUME_32BITUIDS]: Remove conditional code.
6600 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6601 <kernel-features.h>.
6602 [__ASSUME_32BITUIDS]: Make code unconditional.
6603 [!__ASSUME_32BITUIDS]: Remove conditional code.
6604 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6605 <kernel-features.h>.
6606 [__ASSUME_32BITUIDS]: Make code unconditional.
6607 [!__ASSUME_32BITUIDS]: Remove conditional code.
6608 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6609 <kernel-features.h>.
6610 [__ASSUME_32BITUIDS]: Make code unconditional.
6611 [!__ASSUME_32BITUIDS]: Remove conditional code.
6612 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6613 <kernel-features.h>.
6614 [__ASSUME_32BITUIDS]: Make code unconditional.
6615 [!__ASSUME_32BITUIDS]: Remove conditional code.
6616 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6617 <kernel-features.h>.
6618 [__ASSUME_32BITUIDS]: Make code unconditional.
6619 [!__ASSUME_32BITUIDS]: Remove conditional code.
6620 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6621 <kernel-features.h>.
6622 [__ASSUME_32BITUIDS]: Make code unconditional.
6623 [!__ASSUME_32BITUIDS]: Remove conditional code.
6624 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6625 <kernel-features.h>.
6626 [__ASSUME_32BITUIDS]: Make code unconditional.
6627 [!__ASSUME_32BITUIDS]: Remove conditional code.
6628 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6629 <kernel-features.h>.
6630 [__ASSUME_32BITUIDS]: Make code unconditional.
6631 [!__ASSUME_32BITUIDS]: Remove conditional code.
6632 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6633 <kernel-features.h>.
6634 [__ASSUME_32BITUIDS]: Make code unconditional.
6635 [!__ASSUME_32BITUIDS]: Remove conditional code.
6636 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6637 <kernel-features.h>.
6638 [__NR_setresgid] (__setresgid): Do not declare.
6639 [__ASSUME_32BITUIDS]: Make code unconditional.
6640 [!__ASSUME_32BITUIDS]: Remove conditional code.
6641 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6642 <kernel-features.h>.
6643 [__NR_setresuid] (__setresuid): Do not declare.
6644 [__ASSUME_32BITUIDS]: Make code unconditional.
6645 [!__ASSUME_32BITUIDS]: Remove conditional code.
6646 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6647 <kernel-features.h>.
6648 [__ASSUME_32BITUIDS]: Make code unconditional.
6649 [!__ASSUME_32BITUIDS]: Remove conditional code.
6650 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6651 <kernel-features.h>.
6652 [__ASSUME_32BITUIDS]: Make code unconditional.
6653 [!__ASSUME_32BITUIDS]: Remove conditional code.
6654 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6655 <kernel-features.h>.
6656 [__ASSUME_32BITUIDS]: Make code unconditional.
6657 [!__ASSUME_32BITUIDS]: Remove conditional code.
6658 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6659 <kernel-features.h>.
6660 [__ASSUME_32BITUIDS]: Make code unconditional.
6661 [!__ASSUME_32BITUIDS]: Remove conditional code.
6662 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6663 <kernel-features.h>.
6664 [__ASSUME_32BITUIDS]: Make code unconditional.
6665 [!__ASSUME_32BITUIDS]: Remove conditional code.
6666 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6667 <kernel-features.h>.
6668 [__ASSUME_32BITUIDS]: Make code unconditional.
6669 [!__ASSUME_32BITUIDS]: Remove conditional code.
6670 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6671 <kernel-features.h>.
6672 [__ASSUME_32BITUIDS]: Make code unconditional.
6673 [!__ASSUME_32BITUIDS]: Remove conditional code.
6674 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6675 <kernel-features.h>.
6676 [__ASSUME_32BITUIDS]: Make code unconditional.
6677 [!__ASSUME_32BITUIDS]: Remove conditional code.
6678 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6679 <kernel-features.h>.
6680 [__ASSUME_32BITUIDS]: Make code unconditional.
6681 [!__ASSUME_32BITUIDS]: Remove conditional code.
6682 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6683 <kernel-features.h>.
6684 [__ASSUME_32BITUIDS]: Make code unconditional.
6685 [!__ASSUME_32BITUIDS]: Remove conditional code.
6686 * sysdeps/unix/sysv/linux/kernel-features.h
6687 (__ASSUME_SETRESUID_SYSCALL): Remove.
6688 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6689 (__ASSUME_32BITUIDS): Likewise.
6690 (__ASSUME_LDT_WORKS): Likewise.
6691 (__ASSUME_O_DIRECTORY): Likewise.
6692 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6693 architecture but not kernel version.
6694 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6695 (__ASSUME_MMAP2_SYSCALL): Likewise.
6696 (__ASSUME_STAT64_SYSCALL): Likewise.
6697 (__ASSUME_IPC64): Likewise.
6698 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6699 <kernel-features.h>.
6700 [__ASSUME_32BITUIDS]: Make code unconditional.
6701 [!__ASSUME_32BITUIDS]: Remove conditional code.
6702 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6703 <kernel-features.h>.
6704 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6705 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6706 132096]: Remove conditional code.
6707 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6708 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6709 <kernel-features.h>.
6710 [__ASSUME_32BITUIDS]: Make code unconditional.
6711 [!__ASSUME_32BITUIDS]: Remove conditional code.
6712 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6713 <kernel-features.h>.
6714 [__ASSUME_32BITUIDS]: Make code unconditional.
6715 [!__ASSUME_32BITUIDS]: Remove conditional code.
6716 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6717 <kernel-features.h>.
6718 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6719 unconditional.
6720 (__setresgid): Do not declare.
6721 [__ASSUME_32BITUIDS]: Make code unconditional.
6722 [!__ASSUME_32BITUIDS]: Remove conditional code.
6723 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6724 <kernel-features.h>.
6725 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6726 unconditional.
6727 (__setresuid): Do not declare.
6728 [__ASSUME_32BITUIDS]: Make code unconditional.
6729 [!__ASSUME_32BITUIDS]: Remove conditional code.
6730 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6731 <kernel-features.h>.
6732 [__ASSUME_32BITUIDS]: Make code unconditional.
6733 [!__ASSUME_32BITUIDS]: Remove conditional code.
6734 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6735 <kernel-features.h>.
6736 [__ASSUME_32BITUIDS]: Make code unconditional.
6737 [!__ASSUME_32BITUIDS]: Remove conditional code.
6738
a386f1cc
RH
67392012-05-25 Richard Henderson <rth@twiddle.net>
6740
6741 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6742 dl_hwcap to ifunc resolver.
6743 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6744 elf_ifunc_invoke.
6745 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6746 dl_hwcap to ifunc resolver.
6747 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6748
b6550497
JM
67492012-05-24 Joseph Myers <joseph@codesourcery.com>
6750
6751 [BZ #14153]
6752 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6753 for |x| <= 2**-26, not 2**-57.
6754 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6755 exception.
6756
b0bc23a1
JL
67572012-05-24 Jeff Law <law@redhat.com>
6758
6759 * stdio-common/Makefile (tests): Add bug25.
6760 * stdio-common/bug25.c: New test.
6761
347c92e9
L
67622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6763
6764 [BZ #13576]
6765 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6766 multiple of MALLOC_ALIGNMENT in size.
6767 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6768
6bcc8b3f
JM
67692012-05-24 Joseph Myers <joseph@codesourcery.com>
6770
6771 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6772 Require >= 256.
6773 (FILENAME_MAX): Use macro-int-constant.
6774 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6775 (_IOFBF): Use macro-int-constant.
6776 (_IOLBF): Likewise.
6777 (_IONBF): Likewise.
6778 (SEEK_CUR): Likewise.
6779 (SEEK_END): Likewise.
6780 (SEEK_SET): Likewise.
6781 (TMP_MAX): Likewise.
6782 (EOF): Use macro-int-constant. Require < 0.
6783 (NULL): Use macro-constant. Require == 0.
6784 (stdin): Require type to be FILE *.
6785 (stdout): Likewise.
6786 (stderr): Likewise.
6787 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6788 macro-int-constant.
6789 (EXIT_SUCCESS): Likewise.
6790 (NULL): Use macro-constant. Require == 0.
6791 (RAND_MAX): Use macro-int-constant.
6792 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6793 [C99-based standards] (strtof): Require function.
6794 [C99-based standards] (strtold): Likewise.
6795 [C99-based standards] (strtoll): Likewise.
6796 [C99-based standards] (strtoull): Likewise.
6797 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6798 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6799 [ISO || ISO99 || ISO11] (math.h): Likewise.
6800 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6801 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6803
d18ea0c5
AS
68042012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6805
6806 [BZ #14132]
56d25bb8
AS
6807 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6808 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6809 * intl/dgettext.c (DCGETTEXT): Likewise.
6810 * intl/gettext.c (DCGETTEXT): Likewise.
6811 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6812 * posix/regex_internal.h (gettext): Likewise.
6813 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6814 Remove declaration.
6815 * include/argz.h (__argz_count_internal)
6816 (__argz_stringify_internal): Remove declaration.
6817 (__argz_count, __argz_stringify): Declare hidden proto.
6818 * intl/dcgettext.c: Remove use of INTDEF.
6819 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6820 * string/argz-stringify.c: Likewise.
6821 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6822 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6823 Declare hidden proto.
d18ea0c5
AS
6824 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6825 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6826 Declare hidden proto.
6827 * include/stdio.h (__asprintf_internal): Don't declare.
6828 (__asprintf): Don't define as macro. Declare hidden proto.
6829 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6830 (__fsetlocking): Declare hidden proto.
6831 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6832 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6833 hidden proto.
6834 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6835 (_IO_setlinebuf): Remove use of INTUSE.
6836 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6837 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6838 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6839 Remove declaration.
6840 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6841 (_IO_do_flush): Remove use of INTUSE.
6842 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6843 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6844 (_IO_adjust_column, _IO_least_wmarker)
6845 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6846 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6847 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6848 (_IO_default_doallocate, _IO_wdefault_doallocate)
6849 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6850 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6851 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6852 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6853 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6854 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6855 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6856 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6857 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6858 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6859 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6860 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6861 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6862 proto.
6863 (_IO_flush_all_internal, _IO_adjust_column_internal)
6864 (_IO_default_uflow_internal, _IO_default_finish_internal)
6865 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6866 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6867 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6868 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6869 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6870 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6871 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6872 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6873 (_IO_file_close_internal, _IO_file_close_it_internal)
6874 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6875 (_IO_file_init_internal, _IO_file_attach_internal)
6876 (_IO_file_fopen_internal, _IO_file_read_internal)
6877 (_IO_file_sync_internal, _IO_file_seek_internal)
6878 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6879 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6880 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6881 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6882 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6883 (_IO_list_all_internal, _IO_link_in_internal)
6884 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6885 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6886 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6887 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6888 (_IO_do_write_internal, _IO_padn_internal)
6889 (_IO_getline_info_internal, _IO_getline_internal)
6890 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6891 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6892 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6893 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6894 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6895 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6896 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6897 with libc_hidden_ver, remove use of INTUSE.
6898 * libio/genops.c: Likewise.
6899 * libio/freopen.c: Likewise.
6900 * libio/freopen64.c: Likewise.
6901 * libio/iofclose.c: Likewise.
6902 * libio/iofdopen.c: Likewise.
6903 * libio/iofflush.c: Likewise.
6904 * libio/iofflush_u.c: Likewise.
6905 * libio/iofgets.c: Likewise.
6906 * libio/iofgets_u.c: Likewise.
6907 * libio/iofopen.c: Likewise.
6908 * libio/iofopncook.c: Likewise.
6909 * libio/iofread.c: Likewise.
6910 * libio/iofread_u.c: Likewise.
6911 * libio/ioftell.c: Likewise.
6912 * libio/iofwrite.c: Likewise.
6913 * libio/iogetline.c: Likewise.
6914 * libio/iogets.c: Likewise.
6915 * libio/iogetwline.c: Likewise.
6916 * libio/iopadn.c: Likewise.
6917 * libio/iopopen.c: Likewise.
6918 * libio/ioseekoff.c: Likewise.
6919 * libio/ioseekpos.c: Likewise.
6920 * libio/iosetbuffer.c: Likewise.
6921 * libio/iosetvbuf.c: Likewise.
6922 * libio/ioungetc.c: Likewise.
6923 * libio/ioungetwc.c: Likewise.
6924 * libio/iovdprintf.c: Likewise.
6925 * libio/iovsprintf.c: Likewise.
6926 * libio/iovsscanf.c: Likewise.
6927 * libio/memstream.c: Likewise.
6928 * libio/obprintf.c: Likewise.
6929 * libio/oldfileops.c: Likewise.
6930 * libio/oldiofclose.c: Likewise.
6931 * libio/oldiofdopen.c: Likewise.
6932 * libio/oldiofopen.c: Likewise.
6933 * libio/oldiopopen.c: Likewise.
6934 * libio/oldstdfiles.c: Likewise.
6935 * libio/putc.c: Likewise.
6936 * libio/setbuf.c: Likewise.
6937 * libio/setlinebuf.c: Likewise.
6938 * libio/stdfiles.c: Likewise.
6939 * libio/strops.c: Likewise.
6940 * libio/vasprintf.c: Likewise.
6941 * libio/vscanf.c: Likewise.
6942 * libio/vsnprintf.c: Likewise.
6943 * libio/vswprintf.c: Likewise.
6944 * libio/wfiledoalloc.c: Likewise.
6945 * libio/wfileops.c: Likewise.
6946 * libio/wgenops.c: Likewise.
6947 * libio/wmemstream.c: Likewise.
6948 * libio/wstrops.c: Likewise.
6949 * libio/__fpurge.c: Likewise.
6950 * libio/__fsetlocking.c: Likewise.
6951 * assert/assert.c: Likewise.
6952 * debug/fgets_chk.c: Likewise.
6953 * debug/fgets_u_chk.c: Likewise.
6954 * debug/fread_chk.c: Likewise.
6955 * debug/fread_u_chk.c: Likewise.
6956 * debug/gets_chk.c: Likewise.
6957 * debug/obprintf_chk.c: Likewise.
6958 * debug/vasprintf_chk.c: Likewise.
6959 * debug/vdprintf_chk.c: Likewise.
6960 * debug/vsnprintf_chk.c: Likewise.
6961 * debug/vsprintf_chk.c: Likewise.
6962 * malloc/mtrace.c: Likewise.
6963 * misc/error.c: Likewise.
6964 * misc/syslog.c: Likewise.
6965 * stdio-common/asprintf.c: Likewise.
6966 * stdio-common/fxprintf.c: Likewise.
6967 * stdio-common/getw.c: Likewise.
6968 * stdio-common/isoc99_fscanf.c: Likewise.
6969 * stdio-common/isoc99_scanf.c: Likewise.
6970 * stdio-common/isoc99_vfscanf.c: Likewise.
6971 * stdio-common/isoc99_vscanf.c: Likewise.
6972 * stdio-common/isoc99_vsscanf.c: Likewise.
6973 * stdio-common/printf-prs.c: Likewise.
6974 * stdio-common/printf_fp.c: Likewise.
6975 * stdio-common/printf_fphex.c: Likewise.
6976 * stdio-common/printf_size.c: Likewise.
6977 * stdio-common/putw.c: Likewise.
6978 * stdio-common/scanf.c: Likewise.
6979 * stdio-common/sprintf.c: Likewise.
6980 * stdio-common/tmpfile.c: Likewise.
6981 * stdio-common/vfprintf.c: Likewise.
6982 * stdio-common/vfscanf.c: Likewise.
6983 * stdlib/strfmon_l.c: Likewise.
6984 * sunrpc/openchild.c: Likewise.
6985 * sunrpc/xdr_stdio.c: Likewise.
6986 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6987 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6988
d6c33fda
RM
69892012-05-24 Roland McGrath <roland@hack.frob.com>
6990
c1487492
RM
6991 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6992
6993 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6994 in the third column, to generate for the shared library an IFUNC
6995 that uses _dl_vdso_vsym.
6996 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6997 * Makeconfig (object-suffixes-noshared): New variable.
6998
6999 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7000 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7001 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7002 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7003
d6c33fda
RM
7004 [BZ #14132]
7005 * include/sys/time.h (__gettimeofday): Remove macro.
7006 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7007 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7008 Remove INTDEF.
7009 (__gettimeofday): Add libc_hidden_def.
7010 (gettimeofday): Add libc_hidden_weak.
7011 * sysdeps/mach/gettimeofday.c: Likewise.
7012 * sysdeps/posix/gettimeofday.c: Likewise.
7013 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7014 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7016 (__gettimeofday_internal): Remove strong_alias.
7017 (__gettimeofday): Add libc_hidden_def.
7018 (gettimeofday): Add libc_hidden_weak.
7019 * sysdeps/unix/syscalls.list (gettimeofday):
7020 Remove __gettimeofday_internal alias.
7021
b5a2bbe6
L
70222012-05-24 Daniel Jacobowitz <drow@false.org>
7023 H.J. Lu <hongjiu.lu@intel.com>
7024
7025 [BZ #12495]
7026 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7027 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7028 (largebin_index_32_big): New.
7029 (largebin_index): Use it for 16-byte alignment.
7030 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7031 correction with front_misalign.
7032
cfba4fda
L
70332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7034
7f907421
L
7035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7037 Likewise.
7038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7039 Likewise.
7040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7041 Likewise.
7042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7043 Likewise.
7044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7045 Likewise.
7046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7047 Likewise.
7048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7049 Likewise.
7050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7051 Likewise.
7052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7053 Likewise.
7054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7055 Likewise.
7056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7057 Likewise.
7058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7059 Likewise.
7060
cfba4fda
L
7061 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7062 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7063
80bad0cc
JM
70642012-05-24 Joseph Myers <joseph@codesourcery.com>
7065
7a25eb06
JM
7066 [BZ #10846]
7067 [BZ #14036]
7068 * math/libm-test.inc (exp_test): Add test from bug 14036.
7069 (pow_test): Add test from bug 10846.
7070
795405f9
JM
7071 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7072 and other flags.
7073 (special_function): Do not include flags in test name.
7074 (parse_args): Likewise.
7075 * sysdeps/i386/fpu/libm-test-ulps: Update.
7076 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7077 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7078 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7080
80bad0cc
JM
7081 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7082 exceptions.
7083 * math/libm-test.inc ("Philosophy"): Update comment about
7084 exception testing.
7085 (UNDERFLOW_EXCEPTION): New macro.
7086 (UNDERFLOW_EXCEPTION_OK): Likewise.
7087 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7088 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7089 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7090 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7091 (INVALID_EXCEPTION_OK): Update value.
7092 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7093 (OVERFLOW_EXCEPTION_OK): Likewise.
7094 (IGNORE_ZERO_INF_SIGN): Likewise.
7095 (test_exceptions): Handle underflow exceptions.
7096 (acos_test): Update for underflow exception expectations.
7097 (cexp_test): Likewise.
7098 (clog_test): Likewise.
7099 (clog10_test): Likewise.
7100 (csqrt_test): Likewise.
7101 (ctan_test): Likewise.
7102 (ctanh_test): Likewise.
7103 (exp_test): Likewise.
7104 (exp10_test): Likewise.
7105 (exp2_test): Likewise.
7106 (expm1_test): Likewise.
7107 (fma_test): Likewise.
7108 (j0_test): Likewise.
7109 (jn_test): Likewise.
7110 (nexttoward_test): Likewise.
7111 (pow_test): Likewise.
7112 (scalbn_test): Likewise.
7113 (scalbln_test): Likewise.
7114 (tan_test): Likewise.
7115 (y1_test): Likewise.
7116 * sysdeps/i386/fpu/libm-test-ulps: Update.
7117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7118
9e0e3d0b
DM
71192012-05-23 David S. Miller <davem@davemloft.net>
7120
7121 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7122 (__libc_sigaction): Remove unused local variables.
7123
ccd0a08f
L
71242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7125
7126 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7127
62bdf9a6
PE
71282012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7129
f8591f80
PE
7130 mktime: avoid signed integer overflow
7131 * time/mktime.c (__mktime_internal): Do not mishandle the case
7132 where diff == INT_MIN.
7133
94c7d826
PE
7134 mktime: simplify computation of average
7135 * time/mktime.c (ranged_convert): Use new time_t_avg function
7136 instead of rolling our own (probably-slower) code.
7137
ce73d683
PE
7138 mktime: do not assume signed right shift propagates sign bit
7139 * time/mktime.c (isdst_differ): New static function.
7140 (__mktime_internal): No need to normalize tm_isdst now.
7141 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7142 tm_isdst values.
7143
72a22e59
PE
7144 mktime: merge another wrapv change from gnulib
7145 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7146 from some compilers.
7147
68605433
PE
7148 mktime: remove incorrect attempt at unusual arithmetics
7149 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7150 The code didn't really work on such machines anyway.
7151 (TYPE_MINIMUM): Assume two's complement.
7152 (twos_complement_arithmetic): Verify that long_int and time_t
7153 are two's complement (or unsigned, in the latter case).
7154
03cf7fe3
PE
7155 mktime: check signed shifts on long_int and time_t, too
7156 * time/mktime.c (SHR): Check that shifts work as desired
7157 on the types long_int and time_t too, as SHR is used on
7158 such types.
7159
f04dfbc2
PE
7160 mktime: do not assume 'long' is wide enough
7161 * time/mktime.c (verify): Move decl up.
7162 (long_int): New type.
7163 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7164 to remove assumption in the code that 'long' is wide enough to
7165 store year values. This assumption is not true on x32 and on
7166 some non-glibc platforms.
7167
62bdf9a6
PE
7168 mktime: merge wrapv change from gnulib
7169 * time/mktime.c (WRAPV): New macro.
7170 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7171 (guess_time_tm, __mktime_internal): Do not assume that signed
7172 integer overflow wraps around; modern compilers generate code
7173 where this assumption is no longer valid.
7174
5e292e4f
L
71752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7176
7177 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7178 Replace "jmp L(pseudo_end)" with "ret".
7179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7180 Likewise.
7181
8caf8c87
AJ
71822012-05-23 Andreas Jaeger <aj@suse.de>
7183
7184 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7185 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7186
1a09dc56
AJ
71872012-05-23 Andreas Jaeger <aj@suse.de>
7188 Maximilian Attems <max@stro.at>
7189
7190 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7191 New macros.
7192
1c87aba0
L
71932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7194
7195 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7196 code so that pseudo_end is just ret and the stack pointer is
7197 correct also for static library in error case.
7198
40e45bd5
JM
71992012-05-23 Joseph Myers <joseph@codesourcery.com>
7200
c2670533
JM
7201 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7202 move to syscalls.list.
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7207
40e45bd5
JM
7208 * manual/install.texi (Running make install): Do not mention Linux
7209 kernel version for which pt_chown is not needed.
7210 (Linux): Do not mention problems with nscd with 2.0 kernels.
7211 * INSTALL: Regenerated.
7212
be08eda5
AJ
72132012-05-23 Andreas Jaeger <aj@suse.de>
7214
7215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7216 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7217 macro.
7218 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7219 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7220 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7221 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7222 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7223 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7224 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7225 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7227 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7228 * sysdeps/unix/sysv/linux/bits/in.h
7229 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7230
a6a056bb
RM
72312012-05-22 Roland McGrath <roland@hack.frob.com>
7232
7233 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7234 (PREPARE_VERSION): Just use assert instead, it will be elided
7235 under [NDEBUG] anyway.
7236
c9009328
L
72372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7238
7239 * sysdeps/unix/sysv/linux/Makefile: Include
7240 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7241 (sysdep_routines): Remove sysctl.
c9009328
L
7242 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7243 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7244 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7245 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7246 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7247
73338355
AJ
72482012-05-22 Andreas Jaeger <aj@suse.de>
7249
7250 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7251 that pseudo_end is just ret and the stack pointer is correct also
7252 for static library in error case.
7253
d44638b0
PP
72542012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7255
7256 [BZ #14122]
7257 * nss/nsswitch.c (defconfig_entries): New variable.
7258 (__nss_database_lookup): Don't leak defconfig entries.
7259 (nss_parse_service_list): Don't leak on error paths.
7260 (free_database_entries): New function.
7261 (free_defconfig): New function.
7262 (free_mem): Move common code to free_database_entries.
7263
31a39bd8
L
72642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7265
da0331a8
L
7266 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7267 Add arch_prctl.
7268 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7269
31a39bd8
L
7270 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7271 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7273 New macro.
7274 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7275 (INTERNAL_SYSCALL_TYPES): Likewise.
7276 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7277 (LOAD_REGS_TYPES_[1-6]): Likewise.
7278 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7279 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7280
45470df3
AZ
72812012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7282
7283 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7284 copysignl for GLIBC_2_0.
7285 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7286 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7288 logbl for GLIBC_2_0.
7289 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7290 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7291
98a61bcb
L
72922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7293
a4f6e481
L
7294 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7295 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7296
f63d5db6
L
7297 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7298 Use "neg %eax".
7299
98a61bcb
L
7300 * time/mktime.c: Update copyright years.
7301
95770f14
PE
73022012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7303
6226efbd
PE
7304 mktime: merge comment-quoting-style change from gnulib
7305 * time/mktime.c: Quote 'like this' in comments.
7306 The GNU coding standards suggest that we no longer quote `like this',
7307 as "`" and "'" are typically rendered asymmetrically nowadays.
7308 The typical gnulib style is to quote 'like this' when quoting
7309 code, and "like this" when quoting English.
7310
b99e4f78
PE
7311 * time/mktime.c (compile-command): Add "-I.".
7312
643e01e6
PE
7313 mktime: merge mktime-internal.h change from gnulib
7314 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7315
2554247d
PE
7316 mktime: merge time_r change from gnulib
7317 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7318
826dd0ab
PE
7319 mktime: merge DEBUG change from gnulib
7320 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7321 case system <time.h> has a #define.
7322
bd83aabe
PE
7323 mktime: merge <sys/types.h> change from gnulib
7324 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7325 since <time.t> is now guaranteed to define time_t.
7326
95770f14
PE
7327 mktime: merge HAVE_CONFIG_H change from gnulib
7328 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7329
5e1a27a9
L
73302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7331
0e44a77e
L
7332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7333 Use "neg %eax".
7334
5e1a27a9
L
7335 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7336 __rlim_t cast.
7337 (struct rusage): Use anonymous union to pad each field to
7338 __syscall_slong_t.
7339
46259bec
DM
73402012-05-21 David S. Miller <davem@davemloft.net>
7341
7342 * Makefules (o-iterator): Remove .s cases.
7343 (compile-command.s): Delete.
7344 (COMPILE.s): Delete.
7345 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7346
59f0c22e
JM
73472012-05-21 Joseph Myers <joseph@codesourcery.com>
7348
7349 * configure.in (libc_cv_predef_stack_protector): Only consider
7350 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7351 * configure: Regenerated.
7352
20c07380
L
73532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7354
bbb3154b
L
7355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7356 New macro. Use R*LP on int and pointer.
7357 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7358 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7359 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7360 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7361
20c07380
L
7362 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7363 [__WORDSIZE_TIME64_COMPAT32] instead of
7364 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7365 (struct utmp): Likewise.
7366 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7367 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7368 Renamed to ...
7369 (__WORDSIZE_TIME64_COMPAT32): This.
7370 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7371 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7372 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7373 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7374 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7375 (__WORDSIZE_TIME64_COMPAT32): New macro.
7376
d8d1017e
AJ
73772012-05-21 Andreas Jaeger <aj@suse.de>
7378
7379 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7380 only if [SHARED]. Add prototype for __wcschr_ia32.
7381
6c7fb145
RM
73822012-05-21 Roland McGrath <roland@hack.frob.com>
7383
7384 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7385 of %rbp unmolested in the jmp_buf while mangling the low bits.
7386 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7387 unmolested high bits of %rbp while demangling the low bits.
7388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7389
66274218
AJ
73902012-05-21 Andreas Jaeger <aj@suse.de>
7391
07c58f8f
AJ
7392 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7393 * sunrpc/svc_simple.c: Use it for registerrpc.
7394 * sunrpc/xcrypt.c: Use it for passwd2des.
7395
66274218
AJ
7396 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7397
61f65140
L
73982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7399
7400 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7401 Don't define if [__SYSCALL_WORDSIZE != 32].
7402 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7403 New macro.
7404
5fefb436
AJ
74052012-05-21 Bruno Haible <bruno@clisp.org>
7406 Andreas Jaeger <aj@suse.de>
7407
7408 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7409 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7410 inptr and inend for must_buffer_ch.
7411 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7412 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7413 * stdio-common/Makefile (tests): Remove bug15.
7414 (bug15-ENV): Remove macro.
7415 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7416 anymore.
7417
d8e272ab
AJ
74182012-05-19 Andreas Jaeger <aj@suse.de>
7419 Roland McGrath <roland@hack.frob.com>
7420
7421 * manual/contrib.texi: Completely rewritten. It contains now an
7422 alphabetical list of contributors and their contributions.
7423
4a56a162
RH
74242012-05-21 Richard Henderson <rth@twiddle.net>
7425
7426 * misc/getauxval.c (__getauxval): Use unsigned long int.
7427 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7428 (getauxval): Use unsigned long int.
7429
d024d23c
L
74302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7431
7432 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7433
cbc00a03
RM
74342012-05-21 Roland McGrath <roland@hack.frob.com>
7435
7436 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7437 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7438 __alignof__ (long double).
7439
478143fa
AZ
74402012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7441
7442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7443
c7683a6d
RH
74442012-05-20 Richard Henderson <rth@twiddle.net>
7445
7446 * misc/getauxval.c: New file.
7447 * misc/sys/auxv.h: New file.
7448 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7449 (routines): Add getauxval.
7450 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7451 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7452 * elf/dl-sysdep.c (_dl_auxv): Remove.
7453 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7454 * elf/dl-support.c (_dl_auxv): New variable.
7455 (_dl_aux_init): Initialize it.
7456 * manual/startup.texi (Auxiliary Vector): New node.
7457 * sysdeps/generic/bits/hwcap.h: New file.
7458 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7459 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7460 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7461 * sysdeps/sparc/sysdep.h: ... here. Include it.
7462 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7465 Update.
c7683a6d
RH
7466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7469 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7474
a6f1845d
AZ
74752012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7476
7477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7478
cbcbe830
DM
74792012-05-19 David S. Miller <davem@davemloft.net>
7480
7481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7482
e0b16cc2
JM
74832012-05-19 Joseph Myers <joseph@codesourcery.com>
7484
7485 [BZ #14123]
7486 * math/s_ccosh.c: Include <float.h>
7487 (__ccosh): Avoid internal overflow calculating sinh and cosh
7488 values before multiplying by sin and cos values.
7489 * math/s_ccoshf.c: Likewise.
7490 * math/s_ccoshl.c: Likewise.
7491 * math/s_csin.c: Likewise.
7492 * math/s_csinf.c: Likewise.
7493 * math/s_csinl.c: Likewise.
7494 * math/s_csinh.c: Likewise.
7495 * math/s_csinhf.c: Likewise.
7496 * math/s_csinhl.c: Likewise.
7497 * math/libm-test.inc (ccos_test): Add more tests.
7498 (ccosh_test): Likewise.
7499 (csin_test): Likewise.
7500 (csinh_test): Likewise.
7501 * sysdeps/i386/fpu/libm-test-ulps: Update.
7502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7503
6ad13e08
L
75042012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7505
f66f0ce8
L
7506 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7507 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7508
6ad13e08
L
7509 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7510
b1d072a7
JM
75112012-05-19 Joseph Myers <joseph@codesourcery.com>
7512
7513 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7514 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7515 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7516 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7517 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7518 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7519 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7520 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7521 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7522 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7523 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7524 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7525 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7526 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7527 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7528 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7529 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7530 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7531 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7532 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7533 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7534 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7535 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7536 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7537 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7538 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7539 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7540 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7541 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7542 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7543 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7544
9eae47cb
AJ
75452012-05-18 Andreas Jaeger <aj@suse.de>
7546
7547 * csu/.gitignore: Delete.
7548
bb07f69f
L
75492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7550
7551 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7552 (timex): Use __syscall_slong_t.
7553
e6bdb741
AJ
75542012-05-18 Andreas Jaeger <aj@suse.de>
7555 Carlos O'Donell <carlos_odonell@mentor.com>
7556
7557 * manual/install.texi (Configuring and compiling): Update
7558 description about files modified in the source directory.
d6c33fda 7559 * INSTALL: Regenerated.
e6bdb741 7560
1b74487e
L
75612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7562
7563 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7564 value. Use "or" to set return value to -1.
7565 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7566 negate return value.
7567
a88b64b9
TMQMF
75682012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7569
7570 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7571 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7572 failure if the compiler has Graphite support disabled.
7573 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7574 Likewise.
7575 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7576 CFLAGS-memmove.c): Likewise.
7577 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7578 Likewise.
7579
3707636e
L
75802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7581
610b8622
L
7582 * sysdeps/x86_64/x32/_itoa.h: New file.
7583
7cd195df
L
7584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7585 getdents system call only if kernel and user dirents have the
7586 same d_ino and d_off.
7587
94b07d20
L
7588 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7589 LLONG_MAX != LONG_MAX.
7590 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7591 (_fitoa_word): Likewise.
7592
18298070
L
7593 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7594 years.
7595 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7596 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7597 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7598
553c7ea4
L
7599 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7600 include <bits/wordsize.h>. Check __x86_64__ instead of
7601 __WORDSIZE.
7602 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7603 if __x86_64__ is defined. Use anonymous union on fpstate.
7604
3707636e
L
7605 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7606 anonymous union.
7607
b53ef01a
AS
76082012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7609
37fb1dc0
AS
7610 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7611 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7612 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7613 Refer to _rtld_local_ro instead of _rtld_global_ro.
7614 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7615 Likewise.
7616 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7617 Likewise.
7618 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7619 Likewise.
7620 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7621 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7622 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7623
b53ef01a
AS
7624 * sysdeps/powerpc/powerpc32/dl-machine.c
7625 (__elf_machine_runtime_setup) [PROF]: Don't reference
7626 _dl_prof_resolve.
7627
7a185db2
AJ
76282012-05-18 Andreas Jaeger <aj@suse.de>
7629
7630 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7631 function only available for GCCs before 3.4 since GCC 3.4
7632 introduced a builtin.
7633 (lrint): Likewise.
7634 (llrintf): Likewise.
7635 (llrint): Likewise.
7636 (fmaxf): Likewise.
7637 (fmax): Likewise.
7638 (fminf): Likewise.
7639 (fmin): Likewise.
7640 (rint): Likewise.
7641 (rintf): Likewise.
7642 (nearbyint): Likewise.
7643 (nearbyintf): Likewise.
7644 (ceil): Likewise.
7645 (ceilf): Likewise.
7646 (floor): Likewise.
7647 (floorf): Likewise.
7648
3e5aef87
L
76492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7650
428bd707
L
7651 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7652 on both fields and cast pointer to __syscall_ulong_t.
7653
3e5aef87
L
7654 * bits/types.h (__fsword_t): New type.
7655 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7656 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7658 (__FSWORD_T_TYPE): Likewise.
7659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7660 (__FSWORD_T_TYPE): Likewise.
7661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7662 (__FSWORD_T_TYPE): Likewise.
7663 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7664 (__FSWORD_T_TYPE): Likewise.
7665 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7666 __SWORD_TYPE with __fsword_t.
7667 (statfs64): Likewise.
7668
1ba7c3dc
DM
76692012-05-17 David S. Miller <davem@davemloft.net>
7670
7671 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7672
59910343
AJ
76732012-05-17 Andreas Jaeger <aj@suse.de>
7674
7675 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7676 warning.
7677
2e4c1e9e
L
76782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7679
7680 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7681
de7f5ce7
AJ
76822012-05-17 Andreas Jaeger <aj@suse.de>
7683
7684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7685 when it is used.
7686
286abc3d
CM
76872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7688
7689 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7690
477cc68e
L
76912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7692
7693 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7694 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7695
1a0994f5
CD
76962012-05-17 Andreas Jaeger <aj@suse.de>
7697 Carlos O'Donell <carlos_odonell@mentor.com>
7698
7699 [BZ #14059]
7700 * sysdeps/x86_64/multiarch/init-arch.h
7701 (bit_YMM_Usable): Rename to...
7702 (bit_AVX_Usable): ... this.
7703 (bit_FMA4_Usable): New macro.
7704 (bit_XMM_state): New macro.
7705 (bit_YMM_state): New macro.
7706 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7707 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7708 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7709 (CPUID_OSXSAVE): New macro.
7710 (CPUID_AVX): New macro.
7711 (CPUID_FMA4): New macro.
7712 (index_YMM_Usable): Rename to...
7713 (index_AVX_Usable): ... this.
7714 (HAS_AVX): Use HAS_ARCH_FEATURE.
7715 (HAS_FMA4): Likewise.
7716 (HAS_YMM_USABLE): Remove.
7717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7718 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7719 are present.
7720 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7721 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7722 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7723 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7724 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7725
0af797de
CM
77262012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7727
7728 * math/libm-test.c: Support platforms without multiple rounding modes.
7729 * math/bug-nextafter.c: Support platforms without FP exceptions.
7730 * math/bug-nexttoward.c: Likewise.
7731 * math/test-fenv.c: Likewise.
7732 * math/test-misc.c: Likewise.
7733 * stdlib/bug-getcontext.c: Likewise.
7734
e39745ff
AJ
77352012-05-17 Andreas Jaeger <aj@suse.de>
7736
7737 * manual/examples/search.c (critter_cmp): Change signature to
7738 avoid warnings.
7739 * manual/string.texi (Collation Functions): Likewise.
7740
48970aba
L
77412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7742
7743 * bits/types.h: Fold copyright years.
7744 * bits/typesizes.h: Likewise.
7745 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7749 * time/time.h: Likewise.
7750
bedee953
PP
77512012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7752
7753 [BZ #208]
7754 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7755 in instead of returning them. Return void.
7756 (__libc_mallinfo): Accumulate over all arenas.
7757 (__malloc_stats): Adjust for change in int_mallinfo interface.
7758
61653dfb
RM
77592012-05-16 Roland McGrath <roland@hack.frob.com>
7760
30b99d79
RM
7761 [BZ #10375]
7762 * configure.in (NM): Add AC_CHECK_TOOL for it.
7763 (libc_extra_cflags): New substituted variable.
7764 Check for -fstack-protector being used implicitly.
7765 * configure: Regenerated.
7766 * config.make.in (config-extra-cflags): New variable,
7767 gets @libc_extra_cflags@.
7768 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7769
61653dfb
RM
7770 [BZ #10375]
7771 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7772 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7773 * configure: Regenerated.
7774 * config.make.in (CPPUNDEFS): New substituted variable.
7775 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7776 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7777 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7778
661768bb
L
77792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7780
7781 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7782 (mq_attr): Use __syscall_slong_t.
7783
d4261567
L
77842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7787 Check __x86_64__ instead of __WORDSIZE.
7788 (_STAT_VER_LINUX): Likewise.
7789 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7790 __syscall_ulong_t and __syscall_slong_t.
7791 (stat64): Likewise.
7792
cf3ff365
L
77932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7796
76cf3e4d
L
77972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7798
7799 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7800
a637753a
L
78012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7802
7803 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7804 __syscall_ulong_t.
7805
d5e05119
L
7806 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7807 include <bits/wordsize.h>. Check __x86_64__ instead of
7808 __WORDSIZE.
7809 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7810 defined.
7811 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7812
f62ee380
L
7813 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7814 include <bits/wordsize.h>. Check __x86_64__ instead of
7815 __WORDSIZE.
7816 (user_regs_struct): Use "__extension__ unsigned long long"
7817 instead of "unsigned long" if __x86_64__ is defined.
7818 (user): Likewise. Pad after pointer field if __ILP32__ is
7819 defined.
7820
4e124ced
JM
78212012-05-16 Joseph Myers <joseph@codesourcery.com>
7822
6a3951a0
JM
7823 * configure.in (makeinfo): Require version 4.5 or later. Allow
7824 versions 5 to 9.
7825 * configure: Regenerated.
7826 * manual/install.texi (texinfo): Increase version requirement to
7827 4.5 or later.
7828 * INSTALL: Regenerated.
7829
4e124ced
JM
7830 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7831
953ca31a
L
78322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7833
7834 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7835
617aca05
L
7836 * sysdeps/x86_64/x32/ffs.c: New file.
7837
5762f7ae
L
7838 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7839 __syscall_ulong_t.
7840 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7841 defined. Use __syscall_ulong_t.
7842 (shminfo): Use __syscall_ulong_t.
7843 (shm_info): Likewise.
7844
a26b6856
L
7845 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7846 __syscall_ulong_t.
7847
cb2b9ef7
L
7848 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7849 <bits/wordsize.h>.
7850 (msgqnum_t): Use __syscall_ulong_t.
7851 (msglen_t): Likewise.
7852 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7853 __syscall_ulong_t.
7854
34683bb0
L
7855 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7856 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7857
84a68786
L
7858 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7859
48baa5f1
L
7860 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7861 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7862
180be88b
L
7863 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7864 __syscall_slong_t.
7865
5e90c8ad
L
7866 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7867 include <bits/wordsize.h>. Check __x86_64__ instead of
7868 __WORDSIZE.
7869
23dfb58b
L
7870 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7871 "unsigned long long int" if __x86_64__ is defined.
7872 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7873
ce5d54b0
L
7874 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7875 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7876 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7877
13dc9eac
L
7878 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7879 <stdint.h>.
7880 (GET_PC): Cast to uintptr_t first.
7881 (GET_FRAME): Likewise.
7882 (GET_STACK): Likewise.
7883
a7895d15
L
7884 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7885 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7886 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7887 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7888 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7890 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7891 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7892 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7894 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7896 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7897 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7898 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7900 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7902 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7904 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7905 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7906 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7907 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7908 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7909 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7910 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7912 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7913
656416c9
AS
79142012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7915
5bd66283
AS
7916 * Makerules (+depfiles): Also collect depfiles from .oS in
7917 $(extra-objs).
7918 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7919 .oS, $(libnldbl-routines)).
7920
656416c9
AS
7921 * Makerules (native-compile-mkdep-flags): Define.
7922 * sunrpc/Makefile (extra-objs): Add $(addprefix
7923 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7924 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7925 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7926 calling $(make-target-directory).
7927
a46f2169
L
79282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7929
7930 * bits/types.h (__snseconds_t): Removed.
7931 * time/time.h (struct timespec): Replace __snseconds_t with
7932 __syscall_slong_t.
7933 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7934 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7935 Likewise.
7936 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7937 (__SNSECONDS_T_TYPE): Likewise.
7938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7939 (__SNSECONDS_T_TYPE): Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7941 (__SNSECONDS_T_TYPE): Likewise.
7942
6af6528b
L
79432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7944
7945 * sysdeps/mach/hurd/bits/typesizes.h
7946 (__SYSCALL_SLONG_TYPE): New macro.
7947 (__SYSCALL_ULONG_TYPE): Likewise.
7948
de986b56
L
79492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7950
7951 * bits/types.h (__syscall_slong_t): New type.
7952 (__syscall_ulong_t): Likewise.
7953
7954 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7955 (__SYSCALL_ULONG_TYPE): Likewise.
7956 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7957 (__SYSCALL_SLONG_TYPE): Likewise.
7958 (__SYSCALL_ULONG_TYPE): Likewise.
7959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7960 (__SYSCALL_SLONG_TYPE): Likewise.
7961 (__SYSCALL_ULONG_TYPE): Likewise.
7962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7963 (__SYSCALL_SLONG_TYPE): Likewise.
7964 (__SYSCALL_ULONG_TYPE): Likewise.
7965
85736dc7
L
79662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7967
7968 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7969 Add sigaltstack-offsets.sym.
7970 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7971 <sigaltstack-offsets.h>.
7972 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7973 longjmp_msg pointer.
7974 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7975 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7976 signal stack.
7977 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7978
cc03b296
JM
79792012-05-15 Joseph Myers <joseph@codesourcery.com>
7980
a9538892
JM
7981 * elf/stackguard-macros.h: Remove file.
7982 * sysdeps/generic/stackguard-macros.h: New file.
7983 * sysdeps/i386/stackguard-macros.h: Likewise.
7984 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7985 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7986 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7987 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7988 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7989 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7990 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7991 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7992 <elf/stackguard-macros.h>.
7993
cc03b296
JM
7994 [BZ #14109]
7995 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7996 __aligned__ in attribute.
7997 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7998 (gregset_t): Likewise.
7999
93171016
L
80002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8001
8002 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8003 * sysdeps/x86_64/64/Implies-after: Here. New file.
8004 * sysdeps/x86_64/x32/Implies-after: New file.
8005
d86813a0
L
80062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8007
8008 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8009 and access return value for _dl_profile_fixup. Use R10_LP to
8010 load frame size.
8011
2953ec75
L
80122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8015
3b550e9e
L
80162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8017
8018 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8019 * sysdeps/x86_64/x32/sysdep.h: New file.
8020
eda41706
L
80212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8022
8023 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8024 * sysdeps/x86_64/setjmp.S: Likewise.
8025
9ea01d93
AZ
80262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8027
8028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8029 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8030 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8031 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8032 remove unused global constant.
8033
02a91938
CM
80342012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8035
8036 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8037 include of <not-cancel.h>.
8038
6540185f
RM
80392012-05-15 Roland McGrath <roland@hack.frob.com>
8040
8041 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8042
509072a0
AJ
80432012-05-15 Jeff Law <law@redhat.com>
8044 Andreas Jaeger <aj@suse.de>
8045
8046 [BZ #13594]
8047 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8048 out from...
8049 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8050 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8051 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8052 code changing __hst_map_handle.map.
8053
ba75122d
RM
80542012-05-15 Roland McGrath <roland@hack.frob.com>
8055
8056 * configure.in (sysnames): Look for Implies-before and Implies-after
8057 files.
8058 * configure: Regenerated.
8059
890d8bd8
L
80602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8061
8062 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8063 8-byte data alignment with LP_SIZE alignment.
8064
f6ee6623
L
80652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8066
8067 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8068 into R10_LP.
8069
ea2626f6
L
80702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8071
8072 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8073
085f715e
L
80742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8075
8076 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8077 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8078 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8079 Likewise.
8080 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8081
be8498fc
L
80822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8083
8084 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8085 (stackinfo_sub_sp): Likewise.
8086
70bc83b9
L
80872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8088
8089 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8090 RAX_LP.
8091
9bc0b730
L
80922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8093
8094 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8095 into R*_LP.
8096
6d2850e7
L
80972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8098
8099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8100 sizes into R*_LP.
8101
3cb84561
L
81022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8103
8104 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8105
54e2ed81
L
81062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8109 into R11_LP and load __x86_64_shared_cache_size_half into
8110 R8_LP.
8111
8a17f349
L
81122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8113
8114 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8115 R8_LP.
8116
777b1eea
AZ
81172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8118
8119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8120 logb for POWER7.
8121 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8122 logbf for POWER7.
8123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8124 logbl for POWER7.
8125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8126 powerpc32/power7/fpu/s_logb.c via #include.
8127 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8128 powerpc32/power7/fpu/s_logbf.c via #include.
8129 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8130 powerpc32/power7/fpu/s_logbl.c via #include.
8131
d20d4ac2
JM
81322012-05-15 Joseph Myers <joseph@codesourcery.com>
8133
8134 * README.libm: Remove file.
8135
6cdef1ab
L
81362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8137
8138 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8139 count for x32. Use R*_LP and omit operand-size suffix.
8140
0b254d8f
L
81412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8142
8143 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8144 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8145 * sysdeps/x86_64/x32/shlib-versions: New file.
8146
ceb809dc
RM
81472012-05-14 Roland McGrath <roland@hack.frob.com>
8148
8149 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8150 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8151 Use _dl_fatal_printf instead.
8152
37f1abd4
JM
81532012-05-14 Joseph Myers <joseph@codesourcery.com>
8154
8155 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8156 set if not set by the user. Do not allow for being unset.
8157 * sysdeps/unix/sysv/linux/configure: Regenerated.
8158
11de3a33
L
81592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8160
8161 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8162 the `q' suffix from lea and replace .quad with ASM_ADDR.
8163
e02f153a
L
81642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8165
8166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8167 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8168 instead of $17.
8169 (PTR_DEMANGLE): Likewise.
8170
520ae0fd
L
81712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8172
8173 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8174 (LP_OP): Likewise.
8175 (ASM_ADDR): Likewise.
8176 (RAX_LP): Likewise.
8177 (RBP_LP): Likewise.
8178 (RBX_LP): Likewise.
8179 (RCX_LP): Likewise.
8180 (RDI_LP): Likewise.
8181 (RSI_LP): Likewise.
8182 (RSP_LP): Likewise.
8183 (R8_LP): Likewise.
8184 (R9_LP): Likewise.
8185 (R10_LP): Likewise.
8186 (R10_LP): Likewise.
8187 (R11_LP): Likewise.
8188 (R12_LP): Likewise.
8189 (R13_LP): Likewise.
8190 (R14_LP): Likewise.
8191 (R15_LP): Likewise.
8192
b985be81
L
81932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8194
8195 * sysdeps/x86_64/x32/dl-machine.h: New file.
8196
6a4888ff
AJ
81972012-05-14 Andreas Jaeger <aj@suse.de>
8198
8199 * manual/Makefile (subdir): Remove export of subdir.
8200 (all): Remove target.
8201 (.PHONY): Remove all from list.
8202 (mkinstalldirs): Remove.
8203 (.PHONY): Remove installdirs from list.
8204 ($(inst_infodir)/libc.info): Use make-target-directory.
8205 (installdirs): Remove.
8206 (subdir_%): Remove.
8207 (glibc-targets): Remove.
8208 (lib): Remove.
8209 (stubs): Remove.
8210 ($(objpfx)stubs ../po/manual.pot): Remove.
8211 ($(objpfx)stamp%): Remove.
8212 (make-target-directory): Remove.
8213 (subdir_install): Remove.
8214 (routines): Remove.
8215 (aux): Remove.
8216 (sources): Remove.
8217 (objects): Remove.
8218 (headers): Remove.
8219
8220 [BZ #13750]
8221 * manual/.gitignore: Remove, it's not needed anymore.
8222 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8223 all files in it.
8224 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8225 directory.
8226 (texis): Renamed to $(objpfx)texis.
8227 (texis-path): New, contains path to generated files.
8228 (chapters.%): Use texis-path for complete path, add extra argument
8229 libc-texinfo.sh.
8230 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8231 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8232 (summary,texi, stamp-summary): Use complete path of
8233 files. Generate files in build dir.
8234 (dir-add.texi): Build in build dir.
8235 (libm-err.texi,stamp-libm-err): Likewise.
8236 (version.texi, stamp-version): Likewise.
8237 (.%c.texi): Likewise.
8238 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8239 (mostlyclean): Remove target.
8240 (realclean): Remove target.
8241 (generated): Add new variable with contents from mostlyclean and
8242 realclean, remove entries duplicated in common-mostlyclean, add
8243 stamp-libm-err and stamp-version.
8244 (generated-dirs): Add libc directory.
8245 ($(inst_infodir)/libc.info): Install files from build dir.
8246
8247 * manual/install.texi (Configuring and compiling): Adjust since
8248 the info files are not part of the tar ball anymore.
8249
7ac77294
AJ
82502012-05-14 Andreas Jaeger <aj@suse.de>
8251
8252 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8253 variable.
8254
ffb7875d
JM
82552012-05-14 Joseph Myers <joseph@codesourcery.com>
8256
8257 [BZ #13717]
8258 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8259 to 2.2.0 where earlier.
8260 * sysdeps/unix/sysv/linux/configure: Regenerated.
8261 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8262 Remove conditional code.
8263 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8264 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8265 Remove conditional code.
8266 [!__NR_lchown]: Likewise.
8267 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8268 [__NR_lchown]: Likewise.
8269 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8270 comment referencing __ASSUME_LCHOWN_SYSCALL.
8271 * sysdeps/unix/sysv/linux/i386/sigaction.c
8272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8274 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8275 Remove conditional code.
8276 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8277 (__protocol_available): Remove #if 0 code.
8278 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8279 conditional code.
8280 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8281 * sysdeps/unix/sysv/linux/kernel-features.h
8282 (__ASSUME_GETCWD_SYSCALL): Don't define.
8283 (__ASSUME_REALTIME_SIGNALS): Likewise.
8284 (__ASSUME_PREAD_SYSCALL): Likewise.
8285 (__ASSUME_PWRITE_SYSCALL): Likewise.
8286 (__ASSUME_POLL_SYSCALL): Likewise.
8287 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8288 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8289 non-SPARC.
8290 (__ASSUME_SIOCGIFNAME): Don't define.
8291 (__ASSUME_MSG_NOSIGNAL): Likewise.
8292 (__ASSUME_SENDFILE): Define unconditionally.
8293 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8294 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8295 conditional code.
8296 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8297 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8298 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8299 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8300 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8301 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8302 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8304 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8307 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8310 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8313 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8316 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8319 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8325 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8327 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8328 Remove conditional code.
8329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8330 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8331 Remove conditional code.
8332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8333 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8334 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8335 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8336 Remove conditional code.
8337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8338 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8339 Remove conditional code.
8340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8341 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8342 Remove conditional code.
8343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8344 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8345 Remove conditional code.
8346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8347 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8348 Remove conditional code.
8349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8350 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8351 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8353 * sysdeps/unix/sysv/linux/sigaction.c
8354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8356 * sysdeps/unix/sysv/linux/sigpending.c
8357 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8358 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8359 * sysdeps/unix/sysv/linux/sigprocmask.c
8360 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8361 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8362 * sysdeps/unix/sysv/linux/sigsuspend.c
8363 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8364 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8366 (__libc_missing_rt_sigs): Remove.
8367 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8368 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8369 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8370 Remove conditional code.
8371 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8372 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8373 return 1.
8374 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8375 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8376 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8377 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8378
1bfb7291
AJ
83792012-05-14 Andreas Jaeger <aj@suse.de>
8380
caae5a81
AJ
8381 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8382 it's not used in glibc.
8383 (__coshm1): Likewise.
8384 (__acosh1p): Likewise.
8385 (__sgn): Likewise.
8386
1bfb7291
AJ
8387 * manual/string.texi (Copying and Concatenation): Add missing
8388 variable in concat example.
8389 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8390
c044d724
L
83912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8392
144c5467 8393 [BZ #14103]
c044d724
L
8394 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8395 __builtin_clzl with __builtin_clzll.
8396
2523c62b
L
83972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8398
8399 [BZ #14104]
8400 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8401 libc_freeres_ptr.
8402
d7bb4c42
LD
84032012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8404
8405 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8406 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8407 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8408 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8409
9dc4e1fb
MF
84102012-05-14 Mike Frysinger <vapier@gentoo.org>
8411
8412 * NEWS: Update ia64 info.
8413
c7df0112
AS
84142012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8415
8416 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8417 used as bcopy.
8418
dc70356c
TS
84192012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8420
8421 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8422 * sysdeps/unix/syscalls.list (dup3): Likewise.
8423 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8424 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8425
9fb1a21f
L
84262012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8429 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8430
4822a2a5
L
84312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8432
8433 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8434 thread pointer.
8435 (TLS_IE): Use mov/add instead of movq/addq to load thread
8436 pointer.
8437 (TLS_GD_PREFIX): New.
8438 (TLS_GD): Use it.
8439
842b81d6
DM
84402012-05-11 David S. Miller <davem@davemloft.net>
8441
8442 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8443 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8444 (_FPU_SETCW): Likewise.
8445
1cf463cd
L
84462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8447
8448 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8449 is 32-byte aligned.
8450
60cc4a18
AS
84512012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8452
8453 [BZ #11837]
8454 * iconvdata/gb18030.c: Update tables.
8455 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8456 characters specially.
8457 (BODY for TO_LOOP): Add encoding of missing ranges.
8458
febb44a4
TS
84592012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8460
8461 [BZ #13673]
8462 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8463 * sysdeps/mach/hurd/dup3.c: Likewise.
8464 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8465 * sysdeps/powerpc/memmove.c:: Likewise.
8466
0a10fb9e
L
84672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8470 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8471
df8a552f
L
84722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8473
8474 * elf/elf.h (R_X86_64_RELATIVE64): New.
8475 (R_X86_64_NUM): Updated.
8476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8477 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8478 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8479 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8480 tst-quad1pie tst-quad2pie
8481 (modules-names): Add tst-quadmod1 tst-quadmod2.
8482 ($(objpfx)tst-quad1): New dependency.
8483 ($(objpfx)tst-quad2): Likewise.
8484 ($(objpfx)tst-quad1pie): Likewise.
8485 ($(objpfx)tst-quad2pie): Likewise.
8486 * sysdeps/x86_64/tst-quad1.c: New file.
8487 * sysdeps/x86_64/tst-quad1pie.c: New file.
8488 * sysdeps/x86_64/tst-quad2.c: Likewise.
8489 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8490 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8491 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8492 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8493 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8494
f34d6f84
ST
84952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8496
f42d41d1
ST
8497 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8498 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8499 * streams/stropts.h (t_scalar_t): Define type.
8500
3c3571fc
ST
8501 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8502 (_PATH_PRESERVE): Set to "/var/lib".
8503 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8504
61f06bd3
ST
8505 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8506 instead of int.
8507
918d4d71
ST
8508 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8509 if __dir_mkfile succeeded.
8510
f34d6f84
ST
8511 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8512 checking for _hurd_dtablesize. Unlock it right after having
8513 finished _hurd_dtable allocation.
8514
10589b4a
TS
85152012-05-10 Thomas Schwinge <thomas@schwinge.name>
8516
674cdbc7
TS
8517 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8518 * sysdeps/mach/hurd/configure: Regenerated.
8519 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8520 special-casing to...
8521 * sysdeps/gnu/configure.in: ... this new file.
8522 * sysdeps/unix/sysv/linux/configure: Regenerated.
8523 * sysdeps/gnu/configure: New generated file.
8524
8e41b99f
TS
8525 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8526 for Linux: use nsec instead of usec, as well as:
8527 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8528 members of type struct timespec.
8529 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8530 New macros.
8531 (struct stat64): Likewise.
8532 (_STATBUF_ST_NSEC): New macro.
8533 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8534
10589b4a
TS
8535 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8536 __strtoul_internal rather than strtoul.
8537
63643c85
PT
85382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8539
8540 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8541 and reject them.
8542
3faebe6a
ST
85432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8544
8545 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8546 which preserves existing values.
8547 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8548
c6474b07
PT
85492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8550
8551 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8552 TIMEOUT values. Return EINVAL for NFDS values either negative or
8553 greater than FD_SETSIZE.
8554
1043890b
ST
85552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8556
8557 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8558 allocated, call __vm_protect to finish enabling the existing space, and
8559 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8560 allocate the remainder.
8561
37ed8b9b
PT
85622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8563
8564 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8565 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8566
db653660
ST
85672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8568
37ed8b9b
PT
8569 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8570 sysdeps/mach/hurd/readlink.c.
b29d4053 8571
db653660
ST
8572 * posix/tst-sysconf.c (posix_options): Only use
8573 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8574 _POSIX_SYNCHRONIZED_IO when they are defined
8575 * sysdeps/mach/hurd/bits/posix_opt.h:
8576 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8577 (_XOPEN_REALTIME): Undefine macro.
8578 (_XOPEN_REALTIME_THREADS): Undefine macro.
8579 (_XOPEN_SHM): Undefine macro.
8580 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8581 macro to -1.
8582 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8583 macro to -1.
8584 (_POSIX_ASYNC_IO): Undefine macro.
8585 (_POSIX_PRIORITIZED_IO): Undefine macro.
8586 (_POSIX_SPIN_LOCKS): Define macro to -1.
8587
ee16e894
ST
8588 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8589 SA_NODEFER, SA_RESETHAND.
8590 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8591 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8592 F_DUPFD_CLOEXEC.
8593
6103ae3b
TS
85942012-05-10 Thomas Schwinge <thomas@schwinge.name>
8595
8596 * elf/Makefile (pldd-modules): Define unconditionally.
8597
80b4e5f3
TS
85982012-05-10 Thomas Schwinge <thomas@schwinge.name>
8599
8600 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8601
edadcbd6
ST
86022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8603
8604 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8605 Return ENOENT when name is empty.
8606 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8607
80694780
TS
86082012-05-10 Thomas Schwinge <thomas@schwinge.name>
8609
1792c087
TS
8610 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8611
80694780
TS
8612 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8613
6b645f0d
ST
86142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8615
80694780
TS
8616 Fix mlock in all cases except non-readable pages.
8617 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8618 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8619
6b645f0d
ST
8620 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8621 (__mkdir): When path is `/', just fail with EEXIST.
8622 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8623
e468f8a3
TS
86242012-05-10 Thomas Schwinge <thomas@schwinge.name>
8625
8626 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8627 <sys/uio.h> (for writev).
8628 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8629 and <sys/param.h> (for MIN).
8630
a4186cff
PT
86312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8632
8633 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8634 REQUESTED_TIME. Properly set the remaining time and return EINTR
8635 if interrupted.
8636
510bbf14
TS
86372012-05-10 Thomas Schwinge <thomas@schwinge.name>
8638
8639 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8640 Depend on against $(link-rpcuserlibs).
8641
5d5722e8
ST
86422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8643
a4186cff
PT
8644 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8645 (__libc_stack_end): Do not use attribute_relro.
8646 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8647 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8648 to libthread-provided value.
a4186cff
PT
8649 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8650 attribute_relro.
5d5722e8 8651
37233df9
TS
86522012-05-10 Thomas Schwinge <thomas@schwinge.name>
8653
be971a2b
TS
8654 [BZ #3748]
8655 * bits/libc-lock.h (__libc_once_get): New macro.
8656 * sysdeps/mach/bits/libc-lock.h: Likewise.
8657 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8658 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8659 instead of using implementation details.
8660
37233df9
TS
8661 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8662 * libio/freopen.c: Likewise.
8663 * libio/freopen64.c: Likewise.
8664 * misc/syslog.c: Likewise.
8665 * nscd/connections.c: Likewise.
8666 * nscd/netgroupcache.c: Likewise.
8667 * sysdeps/posix/getcwd.c: Likewise.
8668
38de94a5
RM
86692012-05-10 Roland McGrath <roland@hack.frob.com>
8670
8671 * math/w_ilogbf.c: Add #include <limits.h>.
8672
67530489
ST
86732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8674
a4186cff 8675 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8676 path instead of returning without unlocking.
8677
67530489
ST
8678 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8679 immediate-write ioctls.
8680 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8681
5aa3a74a
TS
86822012-05-10 Thomas Schwinge <thomas@schwinge.name>
8683
18bad2ae
TS
8684 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8685 __builtin_frame_address instead of making assumptions about the
8686 location of the return address relative to DATA. Force early load of
8687 the return address.
8688 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8689 __builtin_frame_address.
8690
5aa3a74a
TS
8691 dup3 for GNU Hurd.
8692 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8693 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8694 implement dup3 and do some further code clean-ups.
8695 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8696 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8697
ecd0de9a
ST
86982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8699
cd9fa985
ST
8700 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8701
a4186cff
PT
8702 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8703 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8704 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8705 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8706 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8707 d->port.lock.
802ca5a5 8708
a4186cff
PT
8709 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8710 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8711 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8712
bcf55240
TS
87132012-05-10 Thomas Schwinge <thomas@schwinge.name>
8714
6960eb42
TS
8715 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8716 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8717 definitions.
8718
eb43375f
TS
8719 accept4 for GNU Hurd.
8720 * include/sys/socket.h (__libc_accept4): New prototype.
8721 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8722 to implement __libc_accept4.
8723 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8724 __libc_accept4.
8725 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8726
bcf55240
TS
8727 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8728 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8729 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8730 signal-defines.sym.
8731
6178c55b
ST
87322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8733
a4186cff 8734 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8735
6f080c2f
TS
87362012-05-10 Thomas Schwinge <thomas@schwinge.name>
8737
8738 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8739 assertion on O_CLOEXEC flag.
8740 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8741 * hurd/intern-fd.c: Likewise.
8742 * hurd/port2fd.c: Likewise.
8743
bcfe3a54
ST
87442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8745
8746 [BZ #3906]
8747 * bits/in.h (IPV6_PKTINFO): Define new macro.
8748 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8749
89c9aa49
AZ
87502012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8751
8752 [BZ #13954]
8753 [BZ #13955]
8754 [BZ #13956]
8755 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8757 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8758 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8760 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8761 * math/libm-test.inc (logb_test) : Additional logb tests.
8762
021db4be
AJ
87632012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8764 Andreas Jaeger <aj@suse.de>
8765
8766 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8767 * configure: Regenerated.
8768 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8769 * config.make.in (link-obsolete-rpc): New substituted variable.
8770 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8771 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8772 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8773 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8774 so that libc.a contains the symbols.
8775 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8776 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8777 * sunrpc/auth_none.c: Likewise.
8778 * sunrpc/auth_unix.c: Likewise.
8779 * sunrpc/authdes_prot.c: Likewise.
8780 * sunrpc/authuxprot.c: Likewise.
8781 * sunrpc/clnt_gen.c: Likewise.
8782 * sunrpc/clnt_perr.c: Likewise.
8783 * sunrpc/clnt_raw.c: Likewise.
8784 * sunrpc/clnt_simp.c: Likewise.
8785 * sunrpc/clnt_tcp.c: Likewise.
8786 * sunrpc/clnt_udp.c: Likewise.
8787 * sunrpc/clnt_unix.c: Likewise.
8788 * sunrpc/des_crypt.c: Likewise.
8789 * sunrpc/des_soft.c: Likewise.
8790 * sunrpc/get_myaddr.c: Likewise.
8791 * sunrpc/key_call.c: Likewise.
8792 * sunrpc/key_prot.c: Likewise.
8793 * sunrpc/netname.c: Likewise.
8794 * sunrpc/pm_getmaps.c: Likewise.
8795 * sunrpc/pm_getport.c: Likewise.
8796 * sunrpc/pmap_clnt.c: Likewise.
8797 * sunrpc/pmap_prot.c: Likewise.
8798 * sunrpc/pmap_prot2.c: Likewise.
8799 * sunrpc/pmap_rmt.c: Likewise.
8800 * sunrpc/publickey.c: Likewise.
8801 * sunrpc/rpc_cmsg.c: Likewise.
8802 * sunrpc/rpc_common.c: Likewise.
8803 * sunrpc/rpc_dtable.c: Likewise.
8804 * sunrpc/rpc_prot.c: Likewise.
8805 * sunrpc/rpc_thread.c: Likewise.
8806 * sunrpc/rtime.c: Likewise.
8807 * sunrpc/svc.c: Likewise.
8808 * sunrpc/svc_auth.c: Likewise.
8809 * sunrpc/svc_raw.c: Likewise.
8810 * sunrpc/svc_run.c: Likewise.
8811 * sunrpc/svc_tcp.c: Likewise.
8812 * sunrpc/svc_udp.c: Likewise.
8813 * sunrpc/svc_unix.c: Likewise.
8814 * sunrpc/svcauth_des.c: Likewise.
8815 * sunrpc/xcrypt.c: Likewise.
8816 * sunrpc/xdr.c: Likewise.
8817 * sunrpc/xdr_array.c: Likewise.
8818 * sunrpc/xdr_float.c: Likewise.
8819 * sunrpc/xdr_intXX_t.c: Likewise.
8820 * sunrpc/xdr_mem.c: Likewise.
8821 * sunrpc/xdr_rec.c: Likewise.
8822 * sunrpc/xdr_ref.c: Likewise.
8823 * sunrpc/xdr_sizeof.c: Likewise.
8824 * sunrpc/xdr_stdio.c: Likewise.
8825
b5c086a2
RM
88262012-05-10 Roland McGrath <roland@hack.frob.com>
8827
8828 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8829 change. Update copyright years.
8830
6d74dd09
JM
88312012-05-10 Joseph Myers <joseph@codesourcery.com>
8832
8833 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8834
28e72501
MK
88352012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8836 Joseph Myers <joseph@codesourcery.com>
8837 Paul Pluzhnikov <ppluzhnikov@google.com>
8838
8839 [BZ #14012]
8840 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8841 requiring rpcgen.
8842 [cross-compiling] (extra-libs): Likewise.
8843 [cross-compiling] (extra-libs-others): Likewise.
8844 [cross-compiling] (librpcsvc-routines): Likewise.
8845 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8846 [cross-compiling] (omit-deps): Likewise.
8847 (sunrpc-CPPFLAGS): New variable.
8848 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8849 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8850 (cross-rpcgen-objs): New variable.
8851 (extra-objs): Append $(cross-rpcgen-objs).
8852 ($(cross-rpcgen-objs)): New rule.
8853 ($(objpfx)cross-rpcgen): Likewise.
8854 (rpcgen-cmd): Define to use $(built-program-file). Expand
8855 comment.
8856 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8857 ($(objpfx)x%.stmp): Likewise.
8858 * sunrpc/proto.h [IS_IN_build] (_): Define.
8859 [IS_IN_build] (_libc_intl_domainname): Likewise.
8860
c8c59454
L
88612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8864 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8865 and R_X86_64_TPOFF64.
8866
6f27cd16
JM
88672012-05-10 Joseph Myers <joseph@codesourcery.com>
8868
8869 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8870 sysdeps/unix/sysv/syscalls.list.
8871 (stime): Likewise.
8872 (utime): Likewise.
8873 * sysdeps/unix/sysv/syscalls.list: Remove file.
8874
02467e1c
PE
88752012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8876
8877 [BZ #3440]
8878 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8879 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8880 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8881 (__LC_IDENTIFICATION): Make these macros useful in #if
8882 expressions, as required by C99.
8883
da392631
AS
88842012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8885
8886 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8887 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8888 after this.
8889
8115f29b
L
88902012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8891
8892 * stdlib/longlong.h: Updated from GCC.
8893
bdd74070
AJ
88942012-05-09 Andreas Jaeger <aj@suse.de>
8895
edfe0dbe
AJ
8896 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8897 default is first entry.
8898 (run_mode): Set type.
8899 (main): Remove informal message about syslog.
8900 (options): Fix typo.
8901
bcfe3a54
ST
8902 [BZ #14053]
8903 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 8904 to asm.
bcfe3a54
ST
8905 (lrint): Likewise.
8906 (llrintf): Likewise.
8907 (llrint): Likewise.
8908 (rint): Likewise.
8909 (rintf): Likewise.
8910 (nearbyint): Likewise.
8911 (nearbyintf): Likewise.
bdd74070 8912
91d8d69e
AJ
89132012-05-09 Andreas Jaeger <aj@suse.de>
8914 Pedro Alves <palves@redhat.com>
8915
8916 * nscd/nscd.c (run_mode): Use enum.
8917 (main): Cleanup coding style issue.
8918
bb90b80b
AJ
89192012-05-09 Alexandre Oliva <aoliva@redhat.com>
8920 Andreas Jaeger <aj@suse.de>
8921
bcfe3a54
ST
8922 * nscd/nscd.c (go_background): Replaced with...
8923 (run_mode): ... this.
bb90b80b 8924 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
8925 (options): Add -F --foreground.
8926 (main): Implement it.
8927 (parse_opt): Parse it.
bb90b80b 8928
1a4b75a1
AJ
89292012-05-09 Andreas Jaeger <aj@suse.de>
8930
8931 [BZ #14083]
8932 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8933 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8934 -Wconversion warning.
8935 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8936 Likewise.
8937
b1cc2472
JM
89382012-05-09 Joseph Myers <joseph@codesourcery.com>
8939
8940 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8941 == 0.
8942 (LC_ALL): Use macro-int-constant.
8943 (LC_COLLATE): Likewise.
8944 (LC_CTYPE): Likewise.
8945 (LC_MESSAGES): Likewise.
8946 (LC_MONETARY): Likewise.
8947 (LC_NUMERIC): Likewise.
8948 (LC_TIME): Likewise.
8949 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8950 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8952 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8953 Specify type.
8954 [C99-based standards] (float_t): Expect type.
8955 [C99-based standards] (double_t): Expect type.
8956 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8957 type.
8958 [C99-based standards] (HUGE_VALL): Likewise.
8959 [C99-based standards] (INFINITY): Likewise.
8960 [C99-based standards] (NAN): Likewise.
8961 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8962 [C99-based standards] (FP_NAN): Likewise.
8963 [C99-based standards] (FP_NORMAL): Likewise.
8964 [C99-based standards] (FP_SUBNORMAL): Likewise.
8965 [C99-based standards] (FP_ZERO): Likewise.
8966 [C99-based standards] (FP_FAST_FMA): Use
8967 optional-macro-int-constant. Specify type. Require == 1.
8968 [C99-based standards] (FP_FAST_FMAF): Likewise.
8969 [C99-based standards] (FP_FAST_FMAL): Likewise.
8970 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8971 [C99-based standards] (FP_ILOGBNAN): Likewise.
8972 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8973 Specify type.
8974 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8975 [C99-based standards] (math_errhandling): Specify type.
8976 [ISO99 || ISO11] (signgam): Do not allow.
8977 [non-C99-based standards] (copysignf): Do not allow.
8978 [non-C99-based standards] (exp2f): Likewise.
8979 [non-C99-based standards] (log2f): Likewise.
8980 [non-C99-based standards] (modff): Allow.
8981 [non-C99-based standards] (erff): Do not allow.
8982 [non-C99-based standards] (erfcf): Likewise.
8983 [non-C99-based standards] (gammaf): Likewise.
8984 [non-C99-based standards] (hypotf): Likewise.
8985 [non-C99-based standards] (j0f): Likewise.
8986 [non-C99-based standards] (j1f): Likewise.
8987 [non-C99-based standards] (jnf): Likewise.
8988 [non-C99-based standards] (lgammaf): Likewise.
8989 [non-C99-based standards] (tgammaf): Likewise.
8990 [non-C99-based standards] (y0f): Likewise.
8991 [non-C99-based standards] (y1f): Likewise.
8992 [non-C99-based standards] (ynf): Likewise.
8993 [non-C99-based standards] (isnanf): Likewise.
8994 [non-C99-based standards] (acoshf): Likewise.
8995 [non-C99-based standards] (asinhf): Likewise.
8996 [non-C99-based standards] (atanhf): Likewise.
8997 [non-C99-based standards] (cbrtf): Likewise.
8998 [non-C99-based standards] (expm1f): Likewise.
8999 [non-C99-based standards] (ilogbf): Likewise.
9000 [non-C99-based standards] (log1pf): Likewise.
9001 [non-C99-based standards] (logbf): Likewise.
9002 [non-C99-based standards] (nextafterf): Likewise.
9003 [non-C99-based standards] (remainderf): Likewise.
9004 [non-C99-based standards] (rintf): Likewise.
9005 [non-C99-based standards] (scalbf): Likewise.
9006 [non-C99-based standards] (copysignl): Likewise.
9007 [non-C99-based standards] (exp2l): Likewise.
9008 [non-C99-based standards] (log2l): Likewise.
9009 [non-C99-based standards] (modfl): Allow.
9010 [non-C99-based standards] (erfl): Do not allow.
9011 [non-C99-based standards] (erfcl): Likewise.
9012 [non-C99-based standards] (gammal): Likewise.
9013 [non-C99-based standards] (hypotl): Likewise.
9014 [non-C99-based standards] (j0l): Likewise.
9015 [non-C99-based standards] (j1l): Likewise.
9016 [non-C99-based standards] (jnl): Likewise.
9017 [non-C99-based standards] (lgammal): Likewise.
9018 [non-C99-based standards] (tgammal): Likewise.
9019 [non-C99-based standards] (y0l): Likewise.
9020 [non-C99-based standards] (y1l): Likewise.
9021 [non-C99-based standards] (ynl): Likewise.
9022 [non-C99-based standards] (isnanl): Likewise.
9023 [non-C99-based standards] (acoshl): Likewise.
9024 [non-C99-based standards] (asinhl): Likewise.
9025 [non-C99-based standards] (atanhl): Likewise.
9026 [non-C99-based standards] (cbrtl): Likewise.
9027 [non-C99-based standards] (expm1l): Likewise.
9028 [non-C99-based standards] (ilogbl): Likewise.
9029 [non-C99-based standards] (log1pl): Likewise.
9030 [non-C99-based standards] (logbl): Likewise.
9031 [non-C99-based standards] (nextafterl): Likewise.
9032 [non-C99-based standards] (remainderl): Likewise.
9033 [non-C99-based standards] (rintl): Likewise.
9034 [non-C99-based standards] (scalbl): Likewise.
9035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9036 [non-C99-based standards] (FP_*): Do not allow.
9037 [C99-based standards] (FP_*): Change to
9038 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9039 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9040 allow.
9041 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9042 (SIG_ERR): Likewise.
9043 [X/Open-based standards] (SIG_HOLD): Likewise.
9044 (SIG_IGN): Likewise.
9045 (SIGABRT): Use macro-int-constant. Specify type. Require
9046 positive value.
9047 (SIGFPE): Likewise.
9048 (SIGILL): Likewise.
9049 (SIGINT): Likewise.
9050 (SIGSEGV): Likewise.
9051 (SIGTER): Likewise.
9052 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9053 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9054 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9055 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9056 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9057 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9058 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9059 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9060 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9061 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9062 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9063 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9064 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9065 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9066 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9067 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9068 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9069 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9070 [X/Open-based standards] (SIGTRAP): Likewise.
9071 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9072 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9073 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9074 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9075 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9076 allow.
9077
b9f1922d
IW
90782012-05-08 Ian Wienand <ianw@vmware.com>
9079
9080 [BZ #14080]
9081 * time/tzset.c (__tzset_parse_tz): Update default rules for
9082 daylight time changes in the Energy Policy Act of 2005.
9083
1db86e88
AJ
90842012-05-09 Andreas Jaeger <aj@suse.de>
9085
9086 [BZ #13983]
9087 * elf/ldconfig.c (parse_conf): Change string to make clear that
9088 ldconfig only issued a warning if ld.so.conf does not exist.
9089
dee4a4e3
DM
90902012-05-08 David S. Miller <davem@davemloft.net>
9091
ee0db190
DM
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9093 movxtod instead of popping the value on the stack.
9094
dee4a4e3
DM
9095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9096
6a43ec98
CD
90972012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9098
9099 * config.h.in: Add HAVE_ARM_PCS_VFP.
9100
05c2c961
RMG
91012012-05-08 Roland Mc Grath <roland@hack.frob.com>
9102
bcfe3a54
ST
9103 [BZ #13979]
9104 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9105 checking but the checks are disabled for any reason.
05c2c961 9106
4b30f61a
L
91072012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9108
9109 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9110 and ELF64_R_TYPE with ELFW(R_TYPE).
9111
eee2bc67
JM
91122012-05-08 Joseph Myers <joseph@codesourcery.com>
9113
7ea5391a
JM
9114 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9115 (ulimit): Likewise.
9116
eee2bc67
JM
9117 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9118 (settimeofday): Likewise.
9119
abb66a67
MF
91202012-05-08 Mike Frysinger <vapier@gentoo.org>
9121
9122 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9123 a struct th_u2 inside the union, and move tu_block/tu_code into
9124 a new th_u3 union of tu_block/tu_code inside of that. Move
9125 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9126 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9127 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9128 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9129 (th_stuff): Change to th_u1.tu_stuff.
9130 (th_data): Define.
9131 (th_msg): Change to th_u1.th_u2.tu_data.
9132
7f18b530
DM
91332012-05-07 David S. Miller <davem@davemloft.net>
9134
05760585
DM
9135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9136
7f18b530
DM
9137 [BZ #14074]
9138 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9139 (SETUP_PIC_REG): Use it.
9140 (SETUP_PIC_REG_LEAF): Use it.
9141
495fd99f
JM
91422012-05-07 Joseph Myers <joseph@codesourcery.com>
9143
9144 [BZ #13885]
9145 [BZ #13923]
9146 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9147 USE_AS_EXPM1L.
9148 (EXPL_FINITE): Likewise.
9149 (FLDLOG): Likewise.
9150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9151 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9152 e_expl.S.
9153 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9154 USE_AS_EXPM1L.
9155 (EXPL_FINITE): Likewise.
9156 (FLDLOG): Likewise.
9157 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9158 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9159 e_expl.S.
9160 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9161 test of -max_value argument for long double.
9162 * sysdeps/i386/fpu/libm-test-ulps: Update.
9163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9164
6693d694
DM
91652012-05-06 David S. Miller <davem@davemloft.net>
9166
9167 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9168 quad soft-float symbols whose references which are compiler
9169 generated.
9170 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9171
6c23e11c
JM
91722012-05-06 Joseph Myers <joseph@codesourcery.com>
9173
d8b82cad
JM
9174 [BZ #13884]
9175 [BZ #13914]
9176 * sysdeps/i386/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 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9186 e_expl.S.
9187 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9188 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9190 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9191 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9192 USE_AS_EXP10L.
9193 (EXPL_FINITE): Likewise.
9194 (FLDLOG): Likewise.
9195 (c0): Likewise.
9196 (c1): Likewise.
9197 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9198 Adjust comments for base varying.
9199 (__expl_finite): Change alias to EXPL_FINITE.
9200 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9201 tests for bugs.
9202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9203
6c23e11c
JM
9204 [BZ #14064]
9205 * math/libm-test.inc (check_float_internal): Correct ulp
9206 calculation for subnormal expected results.
9207
29ba805c
AJ
92082012-05-06 Andreas Jaeger <aj@suse.de>
9209
9210 * Makeconfig (+math-flags): New, set to -frounding-math.
9211 (+cflags): Add +math-flags so that all of glibc gets compiled with
9212 it.
9213
9214 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9215
7b17aeda
JM
92162012-05-05 Joseph Myers <joseph@codesourcery.com>
9217
5779f134
JM
9218 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9219 Disable one test.
9220
41498f4d
JM
9221 [BZ #13787]
9222 [BZ #13922]
9223 [BZ #14036]
9224 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9225 (__ieee754_expl): Allow for and saturate large arguments.
9226 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9227 (u_threshold): Likewise.
9228 (__exp): Call __ieee754_exp before checking for overflow and
9229 underflow.
9230 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9231 (u_threshold): Likewise.
9232 (__expf): Call __ieee754_expf before checking for overflow and
9233 underflow.
9234 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9235 (u_threshold): Likewise.
9236 (__expl): Call __ieee754_expl before checking for overflow and
9237 underflow.
9238 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9239 (__ieee754_expl): Allow for and saturate large arguments.
9240 * math/libm-test.inc (exp_test): Add another test. Do not allow
9241 missing overflow exception on overflow.
9242 (expm1_test): Do not allow missing overflow exception on overflow.
9243
6698b8bf
JM
9244 * sysdeps/i386/fpu/e_expl.c: Move to ...
9245 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9246 rather than using inline asm.
9247 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9248 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9249 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9250
7b17aeda
JM
9251 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9252 (nice): Likewise.
9253 (poll): Likewise.
9254 (signal): Likewise.
9255 (time): Likewise.
9256 (times): Likewise.
9257
f7c85819
JM
92582012-05-04 Joseph Myers <joseph@codesourcery.com>
9259
9260 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9261 sysdeps/unix/common/syscalls.list.
9262 (fchmod): Likewise.
9263 (fchown): Likewise.
9264 (ftruncate): Likewise.
9265 (getrusage): Likewise.
9266 (gettimeofday): Likewise.
9267 (setpgid): Likewise.
9268 (setregid): Likewise.
9269 (setreuid): Likewise.
9270 (sigaction): Likewise.
9271 (truncate): Likewise.
9272 (vhangup): Likewise.
9273 * sysdeps/unix/common/syscalls.list: Remove file.
9274 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9275 * sysdeps/unix/sysv/linux/Implies: Likewise.
9276
336270d0
L
92772012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9278
9279 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9281 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9282 Moved to ...
9283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9284 Here.
9285 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9286 to ...
9287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9288 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9289 to ...
9290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9291 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9292 to ...
9293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9294 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9295 to ...
9296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9297 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9298 to ...
9299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9300 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9301 to ...
9302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9303 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9304 to ...
9305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9306 Here.
9307 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9308 to ...
9309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9310 Here.
9311 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9312 to ...
9313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9314 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9315 Moved to ...
9316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9317 Here.
9318 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9319 to ...
9320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9321
d128e450
JM
93222012-05-04 Joseph Myers <joseph@codesourcery.com>
9323
fa8ee516
JM
9324 * sysdeps/unix/common/bits/dirent.h: Remove file.
9325 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9326
d128e450
JM
9327 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9328 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9329 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9330 * sysdeps/unix/bsd/isatty.c: Likewise.
9331 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9332 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9333 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9334
ff8faaf0 93352012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9336
62881be4 9337 [BZ #13563]
31dc8730
AZ
9338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9339 long double comparison inaccuracies.
9340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9342
6fef930c
AS
93432012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9344
9345 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9346 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9347
8f203e6c
JM
93482012-05-04 Joseph Myers <joseph@codesourcery.com>
9349
9350 [BZ #14049]
9351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9352 nonzero digits before rounding a hex value.
9353 * stdlib/tst-strtod.c (tests): Add another test.
9354
5197d9c2
AK
93552012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9356
9357 * sysdeps/s390/fpu/libm-test-ulps: Update.
9358
f0c1dedf
AJ
93592012-05-03 Andreas Jaeger <aj@suse.de>
9360
9361 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9362 does not get optimized out.
9363 (malloc_opt_barrier): New.
9364
a65ef2ae 93652012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9366 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9367
2b942cb7 9368 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9369 intermediate file deletion.
2b942cb7 9370 (generated): Add .symlist files.
a65ef2ae 9371
54b71e02
JM
93722012-05-03 Joseph Myers <joseph@codesourcery.com>
9373
9374 [BZ #13775]
9375 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9376 Redirect under this condition.
9377 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9378 [__USE_GNU] (__dprintf_chk): Not under this condition.
9379 [__USE_GNU] (__vdprintf_chk): Likewise.
9380 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9381 under this condition.
9382 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9383 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9384 [__USE_XOPEN2K8] (vdprintf): Likewise.
9385 [__USE_GNU] (__dprintf_chk): Not under this condition.
9386 [__USE_GNU] (__vdprintf_chk): Likewise.
9387 [__USE_GNU] (dprintf): Likewise.
9388 [__USE_GNU] (vdprintf): Likewise.
9389
d3dfcc41
RM
93902012-05-03 Roland McGrath <roland@hack.frob.com>
9391
9392 * elf/Makefile (common-generated): Set this instead of generated for
9393 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9394 $(all-built-dso)-derived lists.
9395
7ac30cc5
AJ
93962012-05-03 Andreas Jaeger <aj@suse.de>
9397
0c51e550
AJ
9398 * sysdeps/i386/fpu/libm-test-ulps: Update.
9399
7ac30cc5
AJ
9400 * FAQ: Removed.
9401 * FAQ.in: Likewise.
9402 * scripts/gen-FAQ.pl: Likewise.
9403 * manual/install.texi (Installation): Point to online location of
9404 FAQ.
9405 * Makefile (files-for-dist): Remove FAQ.
9406 (FAQ): Remove.
9407
d4c2917f
AM
94082012-05-02 Allan McRae <allan@archlinux.org>
9409
9410 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9411 (LDFLAGS-reldepmod5.so): Likewise.
9412 (LDFLAGS-reldep6mod1.so): Likewise.
9413 (LDFLAGS-reldep6mod4.so): Likewise.
9414 (LDFLAGS-reldep8mod3.so): Likewise.
9415 (LDFLAGS-unload4mod1.so): Likewise.
9416 (LDFLAGS-unload4mod2.so): Likewise.
9417 (LDFLAGS-tst-initorder): Likewise.
9418 (LDFLAGS-tst-initordera2.so): Likewise.
9419 (LDFLAGS-tst-initordera3.so): Likewise.
9420 (LDFLAGS-tst-initordera4.so): Likewise.
9421 (LDFLAGS-tst-initorderb2.so): Likewise.
9422 (LDFLAGS-noload): Likewise.
9423 (LDFLAGS-next): Likewise.
9424 (LDFLAGS-order2mod1.so): Likewise.
9425 (LDFLAGS-order2mod2.so): Likewise.
9426 (LDFLAGS-tst-initorder2): Likewise.
9427 (LDFLAGS-tst-initorder2a.so): Likewise.
9428 (LDFLAGS-tst-initorder2b.so): Likewise.
9429 (LDFLAGS-tst-initorder2c.so): Likewise.
9430 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9431
d77f993f
DM
94322012-05-02 David S. Miller <davem@davemloft.net>
9433
9434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9435
171a70b4
PP
94362012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9437
9438 [BZ #14055]
9439 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9440
0be196ad
AJ
94412012-05-02 Andreas Jaeger <aj@suse.de>
9442
9443 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9444 since we manipulate rounding mode.
9445 (CPPFLAGS-test-idouble.c): Likewise.
9446 (CPPFLAGS-test-ifloat.c): Likewise.
9447 (CFLAGS-test-ldouble.c): Likewise.
9448 (CFLAGS-test-double.c): Likewise.
9449 (CFLAGS-test-float.c): Likewise.
9450 (CFLAGS-test-misc.c): Likewise.
9451 (CFLAGS-test-test-fenv.c): Likewise.
9452
4f9d04aa
AZ
94532012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9454
2b942cb7
RM
9455 [BZ #2550]
9456 [BZ #2570]
9457 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9458 comparisons to determine direction to adjust input.
4f9d04aa 9459
82a79e7d
RM
94602012-05-01 Roland McGrath <roland@hack.frob.com>
9461
f5a01ca9
RM
9462 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9463 output to the target.
9464
90fe4186
RM
9465 * scripts/localplt.awk: New file.
9466 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9467 (check-localplt-CFLAGS): Variable removed.
9468 ($(all-built-dso:=.jmprel)): New static pattern rule.
9469 (generated): Add those targets.
9470 (localplt-built-dso): New variable.
9471 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9472
9473 * elf/check-localplt.c: File removed.
9474
82397ed6
RM
9475 * scripts/check-execstack.awk: New file.
9476 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9477 (check-execstack-CFLAGS): Variable removed.
9478 ($(objpfx)check-execstack.h): Target removed.
9479 ($(objpfx)execstack-default): New target.
9480 (generated): Add that instead of check-execstack.h.
9481 ($(all-built-dso:=.phdr)): New static pattern rule.
9482 (generated): Add those targets.
9483 * elf/check-execstack.c: File removed.
9484
82a79e7d
RM
9485 * scripts/check-textrel.awk: New file.
9486 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9487 (check-textrel-CFLAGS): Variable removed.
9488 (all-built-dso): Use := to define.o
9489 ($(all-built-dso:=.dyn)): New static pattern rule.
9490 (generated): Add those targets.
9491 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9492 * config.make.in (READELF): New substituted variable.
9493 * elf/check-textrel.c: File removed.
9494
62fde54f 94952012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9496
615605c9
JM
9497 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9498 allow.
9499 * conform/data/ctype.h-data [C99-based standards] (isblank):
9500 Expect function.
9501 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9502 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9504 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9505 Specify type. Require positive value.
9506 (EILSEQ): Likewise.
9507 (ERANGE): Likewise.
9508 [ISO || POSIX] (EILSEQ): Do not expect.
9509 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9510 Specify type. Require positive value.
9511 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9513 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9514 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9515 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9516 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9517 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9518 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9519 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9520 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9521 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9522 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9523 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9524 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9525 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9526 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9527 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9528 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9529 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9530 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9531 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9532 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9533 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9534 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9535 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9536 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9537 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9538 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9539 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9540 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9541 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9542 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9543 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9544 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9545 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9546 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9547 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9548 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9549 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9550 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9551 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9552 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9553 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9554 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9555 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9556 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9557 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9558 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9559 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9560 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9561 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9562 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9563 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9564 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9565 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9566 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9567 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9568 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9569 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9570 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9571 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9572 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9573 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9574 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9575 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9576 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9577 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9578 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9579 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9580 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9581 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9582 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9583 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9584 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9585 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9586 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9587 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9588 Require >= 2.
9589 (FLT_ROUNDS): Expect as macro, not constant.
9590 (FLT_MANT_DIG): Use macro-int-constant.
9591 (DBL_MANT_DIG): Likewise.
9592 (LDBL_MANT_DIG): Likewise.
9593 (FLT_DIG): Likewise.
9594 (DBL_DIG): Likewise.
9595 (LDBL_DIG): Likewise.
9596 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9597 (DBL_MIN_EXP): Likewise.
9598 (LDBL_MIN_EXP): Likewise.
9599 (FLT_MAX_EXP): Use macro-int-constant.
9600 (DBL_MAX_EXP): Likewise.
9601 (LDBL_MAX_EXP): Likewise.
9602 (FLT_MAX_10_EXP): Likewise.
9603 (DBL_MAX_10_EXP): Likewise.
9604 (LDBL_MAX_10_EXP): Likewise.
9605 (FLT_MAX): Use macro-constant.
9606 (DBL_MAX): Likewise.
9607 (LDBL_MAX): Likewise.
9608 (FLT_EPSILON): Use macro-constant. Give upper bound.
9609 (DBL_EPSILON): Likewise.
9610 (LDBL_EPSILON): Likewise.
9611 (FLT_MIN): Likewise.
9612 (DBL_MIN): Likewise.
9613 (LDBL_MIN): Likewise.
9614 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9615 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9616 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9617 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9618 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9619 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9620 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9621 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9622 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9623 [ISO11] (FLT_TRUE_MIN): Likewise.
9624 [ISO11] (LDBL_TRUE_MIN): Likewise.
9625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9626 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9627 (SCHAR_MIN): Use macro-int-constant. Specify type.
9628 (SCHAR_MAX): Likewise.
9629 (UCHAR_MAX): Likewise.
9630 (CHAR_MIN): Likewise.
9631 (CHAR_MAX): Likewise.
9632 (MB_LEN_MAX): Use macro-int-constant.
9633 (SHRT_MIN): Use macro-int-constant. Specify type.
9634 (SHRT_MAX): Likewise.
9635 (USHRT_MAX): Likewise.
9636 (INT_MAX): Likewise.
9637 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9638 bound negative.
9639 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9640 bound with "U".
9641 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9642 bound with "L".
9643 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9644 bound negative. Suffix upper bound with "L".
9645 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9646 bound with "UL".
9647 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9648 Specify type.
9649 [C99-based standards] (LLONG_MAX): Likewise.
9650 [C99-based standards] (ULLONG_MAX): Likewise.
9651 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9652 == 0.
9653 [ISO11] (max_align_t): Require type.
9654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9655
c9140a62
JM
9656 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9657 from $CFLAGS, without defining away __attribute__ calls.
9658 (checknamespace): Use $CFLAGS_namespace.
9659
9af0bf29
JM
9660 * conform/conformtest.pl (@keywords): Only include C99 keywords
9661 for standards based on C99 or C11.
9662
343222a2
JM
9663 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9664 Disable tests.
9665 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9666 UNIX98]: Likewise.
9667
661f8cf0
JM
9668 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9669 usability of symbols in #if.
9670
ee74b9cb
JM
9671 * conform/conformtest.pl: If macro or constant types start
9672 "promoted:", expect the symbol to be of the following type
9673 promoted by the integer promotions.
62fde54f 9674
aafc49b3
JM
9675 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9676 in one place. Also handle "macro-constant".
9677
fefdf574
JM
9678 * conform/conformtest.pl: Only accept expected macro values with
9679 "==". Parse all "macro" lines in one place.
9680 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9681
f2d922fe
JM
9682 * conform/conformtest.pl: Handle braced types on "constant" lines
9683 instead of handling "typed-constant".
9684 * conform/data/signal.h-data: Use "constant" instead of
9685 "typed-constant".
9686
d22956c9
JM
9687 * conform/conformtest.pl: Handle "optional-" at start of lines in
9688 one place rather than duplicating several cases. Handle each
9689 format of "macro" line with initial "optional-".
9690
028e2e38
JM
9691 * conform/conformtest.pl: Only accept expected constant or
9692 optional-constant values with "==". Parse all "constant" lines in
9693 one place. Parse all "optional-constant" lines in one place.
9694 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9695 * conform/data/fmtmsg.h-data: Likewise.
9696 * conform/data/netinet/in.h-data: Likewise.
9697 * conform/data/tar.h-data: Likewise.
9698 * conform/data/limits.h-data: Use "==" form on "constant" and
9699 "optional-constant" lines.
9700
1b8f2850
JM
9701 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9702 Use -std=c99 for XOPEN2K.
9703 (@knownproblems): Remove.
9704 (newtoken): Don't check %isknown.
9705
a05a144b
JM
9706 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9707 Do not expect macro.
9708 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9709 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9710 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9711 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9712 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9713 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9714 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9715 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9716 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9717 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9718 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9719 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9720 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9721 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9722 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9723 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9724 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9725 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9726 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9727 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9728 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9729 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9730 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9731 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9732 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9733 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9734 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9735 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9736 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9737 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9738 [XPG3] (acosh): Likewise.
9739 [XPG3] (asinh): Likewise.
9740 [XPG3] (atanh): Likewise.
9741 [XPG3] (cbrt): Likewise.
9742 [XPG3] (expm1): Likewise.
9743 [XPG3] (ilogb): Likewise.
9744 [XPG3] (log1p): Likewise.
9745 [XPG3] (logb): Likewise.
9746 [XPG3] (nextafter): Likewise.
9747 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9748 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9749 [XPG3] (remainder): Likewise.
9750 [XPG3] (rint): Likewise.
9751 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9752 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9753 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9754 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9755 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9756 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9757 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9758 [UNIX98 || XOPEN2K] (scalb): Expect.
9759 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9760 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9761 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9762 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9763 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9764 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9765 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9766 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9767 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9768 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9769 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9770 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9771 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9772 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9773 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9774 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9775 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9776 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9777 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9778 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9779 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9780 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9781 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9782 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9783 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9784 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9785 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9786 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9787 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9788 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9789 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9790 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9791 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9792 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9793 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9794 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9795 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9796 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9797 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9798 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9799 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9800 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9801 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9802 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9803 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9804 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9805 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9806 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9807 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9808 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9809 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9810 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9811 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9812 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9813 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9814 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9815 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9816 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9821 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9822 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9823 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9826 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9827 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9828 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9829 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9830 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9831 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9832 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9833 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9834 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9835 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9836 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9837 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9838 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9839 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9840 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9841 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9842 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9843 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9844 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9845 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9846 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9847 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9848 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9849 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9850 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9851 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9852 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9853 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9854 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9855 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9856 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9857 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9858 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9859 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9860 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9861 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9862 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9863 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9864 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9865 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9866 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9867 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9868 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9869 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9870 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9871 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9872 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9873 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9874 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9875 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9876 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9877 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9878 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9879 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9880 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9881 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9882 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9883 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9884 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9885 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9886 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9887 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9888 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9889 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9890 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9891 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9892 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9893 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9894 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9895 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9896
73c5ebe3
JM
9897 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9898 _XOPEN_SOURCE_EXTENDED for XPG4.
9899
39c33b6c
JM
9900 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9901
62fde54f
JM
9902 * Makeconfig (localtime): Remove variable.
9903 (inst_localtime-file): Likewise.
9904
0741d64c
AS
99052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9906
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9908 Update.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9910 Update.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9912 Update.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9914 Update.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9916 Update.
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9918 Update.
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9920 Update.
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9922 Update.
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9924 Update.
9925
7cb029ee
JM
99262012-05-01 Joseph Myers <joseph@codesourcery.com>
9927
9928 [BZ #2550]
9929 [BZ #2570]
9930 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9931 comparisons to determine direction to adjust input.
9932 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9933 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9935 Likewise.
9936 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9937 Likewise.
9938 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9939 Likewise.
9940 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9941 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9942 Likewise.
9943 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9944 Likewise.
9945 * math/libm-test.inc (nexttoward_test): Add more tests.
9946
412bd966
AS
99472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9948
9949 [BZ #14040]
9950 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9951 in version GLIBC_2.1, not GLIBC_2.0.
9952 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9953 Likewise.
9954
9568c0c2
JM
99552012-04-30 Joseph Myers <joseph@codesourcery.com>
9956
adfbc8ac
JM
9957 [BZ #13942]
9958 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9959 (1 - x) * (1 + x).
9960 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9961 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9962 * math/libm-test.inc (acos_test): Add more tests.
9963 (asin_test): Likewise.
9964 * sysdeps/i386/fpu/libm-test-ulps: Update.
9965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9966
5ba3cc69
JM
9967 [BZ #14034]
9968 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9969 of square root.
9970 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9971 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9972 * math/libm-test.inc (acos_test_tonearest): New function.
9973 (acos_test_towardzero): Likewise.
9974 (acos_test_downward): Likewise.
9975 (acos_test_upward): Likewise.
9976 (asin_test_tonearest): Likewise.
9977 (asin_test_towardzero): Likewise.
9978 (asin_test_downward): Likewise.
9979 (asin_test_upward): Likewise.
9980 (main): Call the new functions.
9981 * sysdeps/i386/fpu/libm-test-ulps: Update.
9982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9983
9568c0c2
JM
9984 [BZ #13884]
9985 [BZ #13924]
9986 * math/e_exp10.c: Include <float.h>.
9987 (__ieee754_exp10): Handle underflow here rather than multiplying
9988 large negative argument by M_LN10.
9989 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9990 of __ieee754_expf.
9991 * math/e_exp10l.c: Include <float.h>.
9992 (__ieee754_exp10l): Handle underflow here rather than multiplying
9993 large negative argument by M_LN10l.
9994 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9995 spurious overflow exception on underflow.
9996
5ac3ea17
MP
99972012-04-29 Marek Polacek <polacek@redhat.com>
9998
9999 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10000 (__fortify_function): New macro.
10001 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10002 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10003 __extern_always_inline.
10004 * libio/bits/stdio2.h: Likewise.
10005 * libio/bits/stdio.h: Likewise.
10006 * string/string.h: Likewise.
10007 * string/bits/string3.h: Likewise.
10008 * include/stdio.h: Likewise.
10009 * stdlib/bits/stdlib.h: Likewise.
10010 * stdlib/stdlib.h: Likewise.
10011 * rt/bits/mqueue2.h: Likewise.
10012 * rt/mqueue.h: Likewise.
10013 * posix/bits/unistd.h: Likewise.
10014 * posix/unistd.h: Likewise.
10015 * io/bits/poll2.h: Likewise.
10016 * io/bits/fcntl2.h: Likewise.
10017 * io/fcntl.h: Likewise.
10018 * io/sys/poll.h: Likewise.
10019 * misc/bits/syslog.h: Likewise.
10020 * misc/bits/syslog-ldbl.h: Likewise.
10021 * misc/sys/syslog.h: Likewise.
10022 * socket/bits/socket2.h: Likewise.
10023 * socket/sys/socket.h: Likewise.
10024 * debug/tst-chk1.c: Likewise.
10025 * wcsmbs/bits/wchar2.h: Likewise.
10026 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10027 * wcsmbs/wchar.h: Likewise.
10028
ecf0ebfb
AJ
100292012-04-29 Andreas Jaeger <aj@suse.de>
10030
10031 * Makerules (tests): Remove enable-check-abi protection.
10032 (check-abi-warn): Remove.
10033 (check-abi-%): Remove check-abi-warn usage.
10034
10035 * configure.in: Remove check-abi configure option.
10036 * configure: Regenerated.
10037 * config.make.in (enable-check-abi): Remove.
10038
6d5c57fa
AS
100392012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10040
24c5d07e 10041 [BZ #14033]
ded5180a
AS
10042 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10043 double functions to double *_finite functions.
10044
7e0d315d
AS
10045 [BZ #13941]
10046 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10047 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10048 LDBL_MIN_EXP.
10049 * stdio-common/Makefile (tests): Add tst-sprintf3.
10050 * stdio-common/tst-sprintf3.c: New file.
10051
6d5c57fa
AS
10052 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10053 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10054
0749ff8b
JM
100552012-04-28 Joseph Myers <joseph@codesourcery.com>
10056
10057 * conform/conformtest.pl: Remove duplicate typed-constant
10058 handling.
10059
8dbd5d7b
DM
100602012-04-28 David S. Miller <davem@davemloft.net>
10061
10062 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10063 (check-abi-%): Remove AWK script prerequisite and explicit
10064 abilist directory.
10065 (check-abi): Rewrite to just diff the symlist with the abilist.
10066 (config-tls, config-abi-config): Delete, no longer used.
10067 (update-abi-%): Remove AWK script and explicit abilist directory.
10068 (update-abi): Rewrite to simply compare and conditionally copy the
10069 symlist and the sysdep abilist file. Remove update-abi-config
10070 checks.
10071 * abilist/ld.abilist: Remove.
10072 * abilist/libBrokenLocale.abilist: Remove.
10073 * abilist/libanl.abilist: Remove.
10074 * abilist/libcrypt.abilist: Remove.
10075 * abilist/libdl.abilist: Remove.
10076 * abilist/librt.abilist: Remove.
10077 * abilist/libthread_db.abilist: Remove.
10078 * abilist/libutil.abilist: Remove.
10079 * scripts/extract-abilist.awk: Remove.
10080 * scripts/merge-abilist.awk: Remove.
10081 * sysdeps/generic/libcidn.abilist: New file.
10082 * sysdeps/generic/libnss_compat.abilist: New file.
10083 * sysdeps/generic/libnss_db.abilist: New file.
10084 * sysdeps/generic/libnss_dns.abilist: New file.
10085 * sysdeps/generic/libnss_files.abilist: New file.
10086 * sysdeps/generic/libnss_hesiod.abilist: New file.
10087 * sysdeps/generic/libnss_nis.abilist: New file.
10088 * sysdeps/generic/libnss_nisplus.abilist: New file.
10089 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10090 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10091 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10092 file.
10093 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10094 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10095 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10096 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10097 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10098 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10099 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10100 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10101 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10102 file.
10103 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10104 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10105 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10106 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10107 file.
10108 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10109 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10110 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10111 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10112 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10113 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10114 file.
10115 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10116 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10117 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10118 file.
10119 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10121 New file.
10122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10123 New file.
10124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10125 New file.
10126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10127 New file.
10128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10129 New file.
10130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10131 New file.
10132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10133 New file.
10134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10135 New file.
10136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10137 New file.
10138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10139 New file.
10140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10141 New file.
10142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10143 New file.
10144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10145 New file.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10147 file.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10149 New file.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10151 New file.
10152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10153 file.
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10155 New file.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10157 New file.
10158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10159 file.
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10161 New file.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10163 New file.
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10165 New file.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10167 New file.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10169 New file.
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10171 New file.
10172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10174 file.
10175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10176 New file.
10177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10178 file.
10179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10180 file.
10181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10182 file.
10183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10184 file.
10185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10186 file.
10187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10188 New file.
10189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10190 file.
10191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10192 file.
10193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10194 New file.
10195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10196 file.
10197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10199 file.
10200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10201 New file.
10202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10203 file.
10204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10205 file.
10206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10207 file.
10208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10209 file.
10210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10211 file.
10212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10213 New file.
10214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10215 file.
10216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10217 file.
10218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10219 New file.
10220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10221 file.
10222 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10223 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10224 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10225 file.
10226 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10227 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10228 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10229 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10230 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10231 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10232 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10233 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10234 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10235 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10238 file.
10239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10240 New file.
10241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10242 file.
10243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10244 file.
10245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10246 file.
10247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10248 file.
10249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10250 file.
10251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10252 New file.
10253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10254 New file.
10255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10256 file.
10257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10258 New file.
10259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10260 file.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10263 file.
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10265 New file.
10266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10267 file.
10268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10269 file.
10270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10271 file.
10272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10273 file.
10274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10275 file.
10276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10277 New file.
10278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10279 New file.
10280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10281 file.
10282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10283 New file.
10284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10285 file.
10286
41d73a1b
JM
102872012-04-28 Joseph Myers <joseph@codesourcery.com>
10288
10289 * conform/conformtest.pl: Fix typo in handling typed-constant from
10290 allow-header.
10291
28aeeda4
JM
102922012-04-27 Joseph Myers <joseph@codesourcery.com>
10293
adae8f5e
JM
10294 * README: Cut down references to pre-2.6 Linux kernels and
10295 Linuxthreads. Update lists of configurations in libc and ports
10296 and sort alphabetically. Say "or newer" with Linux kernel version
10297 requirements.
10298
28aeeda4
JM
10299 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10300
a462cb63
RA
103012012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10302
10303 [BZ #887]
10304 * math/libm-test.inc (logb_test_downward): New test to expose
10305 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10306 rounding mode.
10307
6ad3493e
JM
103082012-04-27 Joseph Myers <joseph@codesourcery.com>
10309
10310 [BZ #14027]
10311 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10312 to be done.
10313 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10314 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10315
2ce4f015
JM
103162012-04-26 Joseph Myers <joseph@codesourcery.com>
10317
5aeb141a
JM
10318 * sysdeps/unix/i386/brk.S: Remove file.
10319 * sysdeps/unix/i386/dl-brk.S: Likewise.
10320 * sysdeps/unix/i386/pipe.S: Likewise.
10321 * sysdeps/unix/i386/sigreturn.S: Likewise.
10322 * sysdeps/unix/i386/syscall.S: Likewise.
10323 * sysdeps/unix/i386/vfork.S: Likewise.
10324 * sysdeps/unix/i386/wait.S: Likewise.
10325
7143acae
JM
10326 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10327 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10328
2ce4f015
JM
10329 * configure.in (arm*-none*): Do not allow without
10330 --enable-hacker-mode.
10331 (netbsd*): Remove case setting base_os.
10332 (386bsd*): Likewise.
10333 (freebsd*): Likewise.
10334 (bsdi*): Likewise.
10335 (osf*): Likewise.
10336 (sunos*): Likewise.
10337 (ultrix*): Likewise.
10338 (newsos*): Likewise.
10339 (dynix*): Likewise.
10340 (*bsd*): Likewise.
10341 (sysv*): Likewise.
10342 (isc*): Likewise.
10343 (esix*): Likewise.
10344 (sco*): Likewise.
10345 (minix*): Likewise.
10346 (irix4*): Likewise.
10347 (irix6*): Likewise.
10348 (solaris[2-9]*): Likewise.
10349 (none): Likewise.
10350 * configure: Regenerated.
10351
0ac229c8
AZ
103522012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10353
10354 [BZ #11521]
10355 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10356 overflow or cancellation in calculating denominator.
10357 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10358 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10359 down expression to avoid unexpected rounding in newer GCCs.
10360 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10361
33f244f4
DM
103622012-04-26 David S. Miller <davem@davemloft.net>
10363
10364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10365 long-double compat symbols.
10366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10379
cfa1f3e8
DM
103802012-04-25 David S. Miller <davem@davemloft.net>
10381
10382 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10383 HWCAP_* values only after the memory barriers have been defined.
10384 (atomic_full_barrier): Define.
10385 (atomic_read_barrier): Define.
10386 (atomic_write_barrier): Define.
10387
6e236b92
SP
103882012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10389
10390 * shlib-versions: Add libgcc_s version information.
10391 * sysdeps/generic/libgcc_s.h: Remove.
10392 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10393 libgcc_s.h.
10394 * sysdeps/gnu/unwind-resume.c: Likewise.
10395 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10396
aab39a09
DM
103972012-04-25 David S. Miller <davem@davemloft.net>
10398
10399 * sysdeps/unix/sparc/brk.S: Delete.
10400 * sysdeps/unix/sparc/dl-brk.S: Delete.
10401 * sysdeps/unix/sparc/pipe.S: Delete.
10402 * sysdeps/unix/sparc/sysdep.S: Delete.
10403 * sysdeps/unix/sparc/sysdep.h: Delete.
10404 * sysdeps/unix/sparc/vfork.S: Delete.
10405 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10406 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10407 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10408 ret_ERRVAL, r0, r1, MOVE): Define.
10409 (JUMPTARGET): Remove.
10410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10411 sysdeps/unix/sparc/sysdep.h
10412 (ENTRY, END): Remove.
10413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10414
a3cc4f48
JM
104152012-04-25 Joseph Myers <joseph@codesourcery.com>
10416
2ed8cda2
JM
10417 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10418 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10419 -DIS_IN_build.
10420
35d76d59
JM
10421 * timezone/README: Update upstream location and email address for
10422 tzcode and tzdata.
10423 * timezone/zdump.c: Update from tzcode 2012b.
10424 * timezone/zic.c: Likewise.
10425
a3cc4f48
JM
10426 * configure.in (libc_cv_as_needed): Remove test.
10427 * configure: Regenerated.
10428 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10429 conditional definition.
10430 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10431 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10432 * config.make.in (have-as-needed): Remove variable.
10433
ceab42c3
SP
104342012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10435 Paul Pluzhnikov <ppluzhnikov@google.com>
10436
10437 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10438 strings correctly.
10439
3ce2865f
CLT
104402012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10441
10442 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10443 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10444 * sysdeps/sh/strlen.S: Likewise.
10445
f37e0d68
JM
104462012-04-24 Joseph Myers <joseph@codesourcery.com>
10447
ae186e9a
JM
10448 * sysdeps/unix/fork.S: Remove file.
10449 * sysdeps/unix/i386/fork.S: Likewise.
10450 * sysdeps/unix/sparc/fork.S: Likewise.
10451
b96914af
JM
10452 * sysdeps/unix/system.c: Remove file.
10453 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10454
f37e0d68
JM
10455 * sysdeps/unix/getegid.S: Remove file.
10456 * sysdeps/unix/geteuid.S: Likewise.
10457
87ef29ca
RM
104582012-04-24 Roland McGrath <roland@hack.frob.com>
10459
83bcd236
RM
10460 * scripts/check-localplt.awk: New file.
10461 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10462 of diff.
10463 * scripts/data/localplt-generic.data: Add a comment.
10464
87ef29ca
RM
10465 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10466 NODE when __dir_mkfile failed.
10467 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10468 Reported by Ludovic Courtès <ludo@gnu.org>.
10469
e5a6e567
AJ
104702012-04-24 Andreas Jaeger <aj@suse.de>
10471
10472 * Makerules (common-clean): Also remove gen-as-const-headers
10473 files.
10474
c1820385
JM
104752012-04-24 Joseph Myers <joseph@codesourcery.com>
10476
10477 * Makerules (native-compile): Do not change working directory for
10478 build. Use $(OUTPUT_OPTION) in command.
10479 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10480
94e02fc4
AZ
104812012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10482
10483 [BZ #13886]
10484 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10485 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10486 * math/libm-test.inc (floor_test): Add more tests.
10487 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10488
3a533ca3
JM
104892012-04-24 Joseph Myers <joseph@codesourcery.com>
10490
940ab4b3
JM
10491 * sysdeps/unix/getdents.c: Remove file.
10492 * sysdeps/unix/sysv/getdents.c: Likewise.
10493 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10494
90e037bd
JM
10495 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10496 sysdeps/unix/mman/syscalls.list.
10497 (mmap): Likewise.
10498 (mprotect): Likewise.
10499 (msync): Likewise.
10500 (munmap): Likewise.
10501 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10502 * sysdeps/unix/mman/syscalls.list: Remove.
10503 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10504
3a533ca3
JM
10505 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10506 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10507 * configure: Regenerated.
10508 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10509 $(libgcc_s_suffix).
10510 * config.make.in (libgcc_s_suffix): Remove variable.
10511
1ad743de
JM
105122012-04-23 Joseph Myers <joseph@codesourcery.com>
10513
4ad451e2
JM
10514 * sysdeps/unix/sysv/gethostname.c: Move to ...
10515 * sysdeps/posix/gethostname.c: ... here.
10516
5e37ce39
JM
10517 * sysdeps/unix/execve.S: Remove file.
10518
1ad743de
JM
10519 * sysdeps/unix/_exit.S: Remove file.
10520
4e681b5b
AJ
105212012-04-23 Andreas Jaeger <aj@suse.de>
10522
10523 [BZ #13739]
10524 * manual/Makefile: Remove make dist support, there's no
10525 need for a stand-alone documentation tar ball.
10526 (TEXI2DVI): Define always, it's not in Makeconfig.
10527 (dist): Removed.
10528 (tar-it): Removed.
10529 (edition): Removed.
10530 (glibc-doc-$(edition).tar): Removed
10531 (%.Z): Removed.
10532 (%.gz): Removed.
10533 (%.uu): Removed.
10534 (ETAGS): Remove, it's in Makeconfig.
10535 (move-if-change): Remove, it's in Makeconfig.
10536
c0baea34
PE
105372013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10538
10539 [BZ #13970]
10540 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10541 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10542 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10543 (strtod_l, strtof_l, strtold_l): Remove __wur.
10544 It is not necessarily an error to ignore strtol's return value.
10545 One can reliably look at the stored endptr to decide whether
10546 the number had valid syntax.
10547
7c0616fa
AJ
105482012-04-21 Andreas Jaeger <aj@suse.de>
10549
803cb6b7 10550 [BZ #13739]
7c0616fa
AJ
10551 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10552
b0fe253f
JM
105532012-04-21 Joseph Myers <joseph@codesourcery.com>
10554
10555 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10556 * sysdeps/unix/sysv/Versions: Remove file.
10557
8280f22d
MT
105582012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10559
10560 [BZ #13927]
10561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10562
75ce411f 105632012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10564
10565 [BZ #7064]
10566 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10567 version from __vm86.
10568
097d59fa
JM
105692012-04-20 Joseph Myers <joseph@codesourcery.com>
10570
a90f3bcb
JM
10571 * sysdeps/unix/common/lxstat.c: Remove file.
10572 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10573
edc7ea78
JM
10574 * sysdeps/unix/sysv/Makefile: Remove file.
10575
cb78c221
JM
10576 * sysdeps/unix/sysv/direct.h: Remove file.
10577
efa6a45f
JM
10578 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10579 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10580 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10581 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10582 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10583 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10584 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10585
9c9f2d0c
JM
10586 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10587
4541c83b
JM
10588 * sysdeps/unix/xmknod.c: Remove file.
10589 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10590
f5d153a0
JM
10591 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10592
aa746595
JM
10593 * sysdeps/unix/sysv/i386/time.S: Remove file.
10594
cce5905e
JM
10595 * sysdeps/unix/fxstat.c: Remove file.
10596 * sysdeps/unix/xstat.c: Likewise.
10597 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10598
37fa3841
JM
10599 * sysdeps/unix/sysv/sigaction.c: Remove file.
10600
ff1962a3
JM
10601 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10602 (sysdep_headers): Remove variable.
10603 [termio.h not in sysdep_headers] (generated): Likewise.
10604 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10605 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10606 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10607 * sysdeps/unix/sysv/tcflow.c: Likewise.
10608 * sysdeps/unix/sysv/tcflush.c: Likewise.
10609 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10610 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10611 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10612 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10613 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10614
e7740d31
JM
10615 * sysdeps/unix/siglist.c: Remove file.
10616
ee06f18b
JM
10617 * sysdeps/unix/getppid.S: Remove file.
10618
097d59fa
JM
10619 * sysdeps/unix/mkdir.c: Remove file.
10620 * sysdeps/unix/rmdir.c: Likewise.
10621
ff3d51ec
AS
106222012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10623
10624 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10625 ERR_MAX value.
10626 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10627 errlist-compat value.
10628
50f81fd7
DM
106292012-04-18 David S. Miller <davem@davemloft.net>
10630
10631 * sysdeps/generic/memcopy.h (reg_char): Delete.
10632 * debug/strcat_chk.c: Use char, not reg_char.
10633 * debug/strcpy_chk.c: Likewise.
10634 * debug/strncat_chk.c: Likewise.
10635 * debug/strncpy_chk.c: Likewise.
10636 * string/memchr.c: Likewise.
10637 * string/memrchr.c: Likewise.
10638 * string/rawmemchr.c: Likewise.
10639 * string/strcat.c: Likewise.
10640 * string/strchr.c: Likewise.
10641 * string/strchrnul.c: Likewise.
10642 * string/strcmp.c: Likewise.
10643 * string/strcpy.c: Likewise.
10644 * string/strncat.c: Likewise.
10645 * string/strncmp.c: Likewise.
10646 * string/strncpy.c: Likewise.
10647
8ff41c46
WS
106482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10649
10650 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10651 __builtin_memcopy is called when src and dest ranges are known to not
10652 overlap.
10653
6b652f46
WS
106542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10655
10656 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10657 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10658 fwd_align_merge macro call.
10659 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10660 bwd_align_merge macro call.
10661 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10662
b282631e
WS
106632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10664
10665 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10666 bwd_align_merge macros.
10667 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10668 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10669 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10670
95aa737c
DM
106712012-04-18 David S. Miller <davem@davemloft.net>
10672
10673 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10674
7a99a614
AJ
106752012-04-18 Andreas Jaeger <aj@suse.de>
10676
10677 [BZ# 6794]
10678 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10679 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10680 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10681
10682 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10683 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10684 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10685
10686 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10687 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10688 Adjust for changed ldbl-128 files.
10689
10690 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10691 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10692 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10693
e5270c23
DM
106942012-04-17 David S. Miller <davem@davemloft.net>
10695
10696 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10697
fb5e92c9
AS
106982012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10699
10700 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10701 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10702 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10703 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10704 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10705 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10706
76da7265
AZ
107072012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10708
10709 [BZ #6794]
10710 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10711 * math/libm-test.inc: Add ilogb errno and exception tests.
10712 * math/w_ilogb.c: New file: ilogb wrapper.
10713 * math/w_ilogbf.c: New file: ilogbf wrapper.
10714 * math/w_ilogbl.c: New file: ilogbl wrapper.
10715 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10716 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10717 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10718 exception being thrown with 0.0 as argument.
10719 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10720 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10721 exception being thrown with 0.0 as argument.
10722 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10723 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10724 exception being thrown with 0.0 as argument.
10725 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10726 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10727 exception being thrown with 0.0 as argument.
10728 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10729 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10730 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10731 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10732 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10733 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10734 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10735 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10736 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10737
0396e69d
PB
107382012-04-17 Petr Baudis <pasky@ucw.cz>
10739
10740 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10741 with altivec.
10742
750b5926
MP
107432012-04-16 Marek Polacek <polacek@redhat.com>
10744
10745 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10746
751728a1
MP
107472012-04-16 Marek Polacek <polacek@redhat.com>
10748
10749 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10750 operands of fdivp instruction.
10751
34a27407
L
107522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10753
10754 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10755 * elf/tst-auditmod3b.c: Likewise.
10756 * elf/tst-auditmod4b.c: Likewise.
10757 * elf/tst-auditmod5b.c: Likewise.
10758 * elf/tst-auditmod6b.c: Likewise.
10759 * elf/tst-auditmod6c.c: Likewise.
10760 * elf/tst-auditmod7b.c: Likewise.
10761 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10762 * sysdeps/x86_64/preconfigure.in: Likewise.
10763 * sysdeps/x86_64/preconfigure: Regenerated.
10764
7e73e17d
L
107652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10766
10767 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10768 __ILP32__.
10769
c7a6ab72
AB
107702012-04-13 Antoine Balestrat <merkil33@gmail.com>
10771
10772 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10773 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10774
a9e8e0e0
CL
107752012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10776
10777 [BZ #13973]
10778 * locale/iso-639.def: Fix gl language name. Spotted by
10779 Yaron Shahrabani.
10780
ec98af7d
RM
107812012-04-12 Roland McGrath <roland@hack.frob.com>
10782
10783 [BZ #2074]
10784 * libio/libio.h (__io_write_fn): Update comment.
10785
247c3ede
PB
107862012-04-12 Petr Baudis <pasky@ucw.cz>
10787
10788 [BZ #2074]
10789 * stdio.texi (Hook Functions): The user provided writer function
10790 is not allowed to return -1.
10791
55939d6d
DM
107922012-04-11 David S. Miller <davem@davemloft.net>
10793
10794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10795
90020f5a
MF
107962012-04-11 Mike Frysinger <vapier@gentoo.org>
10797
10798 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10799 Add a leading slash to rtkaio.
10800
288f9098
JM
108012012-04-11 Jim Meyering <meyering@redhat.com>
10802
90020f5a
MF
10803 [BZ #11959]
10804 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10805 It is not necessarily an error to ignore fwrite's return
10806 value. One can reliably use ferror to test for errors after
10807 the fact.
288f9098 10808
4be2b570
L
108092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10810
10811 * bits/types.h (__snseconds_t): New type.
10812 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10813
10814 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10816 (__SNSECONDS_T_TYPE): Likewise.
10817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10818 (__SNSECONDS_T_TYPE): Likewise.
10819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10820 (__SNSECONDS_T_TYPE): Likewise.
10821
288f9098 108222012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10823
10824 [BZ #2636]
10825 * manual/time.texi (Processor Time): Return type of times is
10826 elapsed real time since an arbitrary point in the past.
10827 (CPU Time): Move CLK_TCK from here...
10828 (Processor Time): ...to here. Correct description.
10829 * manual/conf.texi (Constants for Sysconf): Correct description of
10830 _SC_CLK_TCK.
10831
d7dd4413
DM
108322012-04-10 David S. Miller <davem@davemloft.net>
10833
10834 [BZ #13967]
10835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10836 where the is a gap between DT_REL(A) and DT_JMPREL.
10837
b46068fc
L
108382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10839
10840 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10841 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10842 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10843
73d65cc3
SP
108442012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10845
10846 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10847 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10848 (dl_main): Handle --inhibit-cache.
10849 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10850 _dl_inhibit_cache.
10851 * elf/dl-load.c (_dl_map_object): Use it.
10852 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10853
bcc8d661
JM
108542012-04-09 Joseph Myers <joseph@codesourcery.com>
10855
8f9a2fae
JM
10856 [BZ #13872]
10857 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10858 (__ieee754_powl): Saturate large exponents rather than testing for
10859 overflow of y*log2(x).
10860 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10861 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10862 exceptions.
10863
bcc8d661
JM
10864 [BZ #11521]
10865 * math/s_ctan.c: Include <float.h>.
10866 (__ctan): Avoid internal overflow or cancellation in calculating
10867 denominator.
10868 * math/s_ctanf.c: Likewise.
10869 * math/s_ctanl.c: Likewise.
10870 * math/s_ctanh.c: Likewise.
10871 * math/s_ctanhf.c: Likewise.
10872 * math/s_ctanhl.c: Likewise.
10873 * math/libm-test.inc (ctan_test): Add more tests.
10874 (ctanh_test): Likewise.
10875 * sysdeps/i386/fpu/libm-test-ulps: Update.
10876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10877
823fbbb4
AJ
108782012-04-09 Andreas Jaeger <aj@suse.de>
10879
03879793
AJ
10880 [BZ #6894]
10881 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10882 is an optional BSD extension.
10883
823fbbb4
AJ
10884 [BZ #10254]
10885 * manual/stdio.texi (Opening Streams): Document additional fopen
10886 parameters.
10887
8de131cb
RM
108882012-04-09 Roland McGrath <roland@hack.frob.com>
10889
10890 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10891 %eax without telling the compiler.
10892
c0ed9d7d
CD
108932012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10894
10895 [BZ # 13963]
10896 * manual/install.texi: Use sourceware.org.
10897
c483f6b4
JM
108982012-04-09 Joseph Myers <joseph@codesourcery.com>
10899
d7dd9453
JM
10900 [BZ #13873]
10901 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10902 (__ieee754_pow): Generate overflow and underflow using huge*huge
10903 and tiny*tiny rather than just returning constant infinity or zero
10904 for large exponents.
10905 * math/libm-test.inc (pow_test): Require overflow exceptions for
10906 applicable cases of large exponents.
10907
c483f6b4
JM
10908 [BZ #706]
10909 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10910 (__ieee754_pow): Use iterative multiplication algorithm only for
10911 integer exponents with absolute value below 1024. Check for odd
10912 integer exponents when using algorithm for real exponents.
10913 * math/libm-test.inc (pow_test): Add more tests.
10914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10915
d2de7579
JM
109162012-04-08 Joseph Myers <joseph@codesourcery.com>
10917
10918 [BZ #13705]
10919 * math/libm-test.inc (exp_test): Do not allow overflow exception
10920 on underflow test.
10921
f77f1232
AJ
109222012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10923
10924 [BZ #13705]
10925 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10926 instead of __kernel_standard_f.
10927
3884932b
MF
109282012-04-08 Mike Frysinger <vapier@gentoo.org>
10929
10930 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10931 * sysdeps/x86_64/memset_chk.S: Likewise.
10932
54472e9c
AJ
109332012-04-08 Andreas Jaeger <aj@suse.de>
10934
6ab0fbfc
AJ
10935 [BZ #10153]
10936 * manual/startup.texi (Environment Access): Describe return value
10937 for putenv and setenv.
10938
61efba8c
AJ
10939 [BZ #6895]
10940 * manual/filesys.texi (Directory Entries): Add description for
10941 DT_LNK.
10942
95c3f29a
AJ
10943 [BZ #6890]
10944 * manual/filesys.texi (Directory Entries): Clarify that it's file
10945 system not operating system in the description of DT_UNKNOWN.
10946
54472e9c
AJ
10947 [BZ #6578]
10948 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10949
624254b1
SC
109502012-04-08 Stephen Compall <s11@member.fsf.org>
10951
10952 [BZ #6649]
10953 * manual/llio.texi (Opening and Closing Files): Add cross
10954 reference to explain mode argument.
10955
1e4920e0
MF
109562012-04-07 Mike Frysinger <vapier@gentoo.org>
10957
10958 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10959 * sysdeps/x86_64/memset_chk.S: Likewise.
10960
5ed848f3
DM
109612012-04-07 David S. Miller <davem@davemloft.net>
10962
10963 * elf/elf.h (R_SPARC_WDISP10): Define.
10964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10965 R_SPARC_SIZE32.
10966 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10967 R_SPARC_SIZE64 and R_SPARC_H34.
10968
96154cd8
CD
109692012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10970
10971 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10972 conditions and remove no longer applicable assertion.
10973
9904dc47
L
109742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10975
10976 * bits/byteswap.h: Include <features.h>.
10977 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10978 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10979
f8887d0a
L
109802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10981
10982 * bits/byteswap.h (__bswap_16): Removed.
10983 Include <bits/byteswap-16.h> to get __bswap_16.
10984 * sysdeps/i386/bits/byteswap.h: Likewise.
10985 * sysdeps/s390/bits/byteswap.h: Likewise.
10986 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10987 * bits/byteswap-16.h: New file.
10988 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10989 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10990 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10991 * string/Makefile (headers): Add bits/byteswap-16.h.
10992
62470f60
PP
109932012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10994
10995 [BZ #13895]
10996 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10997 extra indirection.
10998 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10999 * nss/tst-nss-static.c: New.
11000
4dad7bab
RM
110012012-04-06 Robert Millan <rmh@gnu.org>
11002
11003 [BZ #6486]
11004 * manual/llio.texi (File Position Primitive): lseek
11005 refers to WHENCE when it really means OFFSET.
11006
e9142a17
AJ
110072012-04-06 Andreas Jaeger <aj@suse.de>
11008
2c040eff
AJ
11009 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11010 strncmp declarations.
11011
e9142a17
AJ
11012 * abilist/libc.abilist: Add __poll and __ppoll.
11013
ff9f1c5f
DM
110142012-04-05 David S. Miller <davem@davemloft.net>
11015
dcd2ae90
DM
11016 * scripts/check-local-headers.sh: Accept a host triplet in the
11017 path matched by the exclude regexp.
11018
993eb054
DM
11019 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11020 definition.
11021 * sysdeps/powerpc/powerpc32/dl-machine.h
11022 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11023 * sysdeps/s390/s390-32/dl-machine.h
11024 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11025 * sysdeps/sparc/sparc32/dl-machine.h
11026 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11027 * sysdeps/sparc/sparc64/dl-machine.h
11028 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11029
ff9f1c5f
DM
11030 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11031 lazy binding.
48e2e132 11032 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11033 undefined symbol errors.
11034
48e2e132 11035 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11036 DT_NEEDED entries.
11037
e80d6f94
MM
110382012-04-05 Michael Matz <matz@suse.de>
11039
11040 [BZ #13592]
11041 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11042
349fa79f
AJ
110432012-04-05 Andreas Jaeger <aj@suse.de>
11044
11045 [BZ #13908]
11046 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11047 comment.
11048
f402708f
KK
110492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11050
11051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11052 which ROUND is no valid rounding mode.
11053
2ecccfc9
KK
110542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11055
11056 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11057 read again.
11058 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11059
8a53f50f
KK
110602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11061
11062 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11063 an exception using FPU order intentionally.
11064
110652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11066
11067 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11068 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11069 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11070 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11071
d653abb7
SJ
110722012-04-05 Simon Josefsson <simon@josefsson.org>
11073
11074 [BZ #12340]
11075 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11076 EINVAL when BUFLEN is too smal.
11077
c3b1bf7d
TS
110782012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11079
11080 [BZ #13553]
11081 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11082 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11083
b1aa60f3
AJ
110842012-04-03 Andreas Jaeger <aj@suse.de>
11085
c3b1bf7d 11086 [BZ #13938]
67f60a26
AJ
11087 * manual/setjmp.texi (System V contexts): Fix sentence.
11088
b1aa60f3
AJ
11089 [BZ #13926]
11090 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11091 New macro for this case.
11092 [!__GNUC__] (__bswap_64): New inline function for this case.
11093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11094 * bits/byteswap.h: Likewise.
11095 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11096 ull, guard with __GLIBC_HAVE_LONG_LONG.
11097
11098 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11099 __GLIBC_HAVE_LONG_LONG.
11100
11101 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11102 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11103
39c59c35
TMQMF
111042012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11105
11106 [BZ #13691]
11107 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11108 inptr and inend, rather than using last_ch.
11109
135ffda8
DM
111102012-04-02 David S. Miller <davem@davemloft.net>
11111
11112 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11113 * stdio-common/printf-parse.h (read_int): Change return type to
11114 'int', return -1 on INT_MAX overflow.
11115 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11116 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11117 overflows INT_MAX. Check for overflow of in-format-string precision
11118 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11119 SIZE_MAX not INT_MAX for integer overflow test.
11120 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11121 skip the construct in the format string but do not record anything.
11122 * stdio-common/bug22.c: Adjust to test both width/prevision
11123 INT_MAX overflow as well as total length INT_MAX overflow. Check
11124 explicitly for proper errno values.
11125
228c019e
TS
111262012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11127
302cadd3
TS
11128 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11129 CHAR_MAX.
11130 * string/test-strcmp.c [! WIDE]: Likewise.
11131 * time/tst-mktime2.c: Likewise for INT_MAX.
11132 * string/test-string.h: #include <sys/param.h> for MIN.
11133
228c019e
TS
11134 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11135 * sysdeps/i386/init-first.c (init): Likewise.
11136 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11137 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11138 * sysdeps/sh/init-first.c (init): Likewise.
11139
cfa633f5
UD
111402012-04-01 Ulrich Drepper <drepper@gmail.com>
11141
11142 * po/ru.po: Update from translation team.
d1635ef8 11143 * po/vi.po: Likewise.
cfa633f5 11144
6cd0a5ea
SP
111452012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11146
11147 * resolv/nss_dns/dns-host.c: Merge copyright years.
11148
4b43400f
LD
111492012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11150
11151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11152 Optimize memcpy with prefetch if
11153 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11154 src, dst pointers have unequal 16 byte alignments.
11155
48c41d04
SP
111562012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11157
11158 [BZ #13928]
11159 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11160 from a CNAME entry and return the minimum ttl for the query.
11161 (gaih_getanswer_slice): Likewise.
11162
b8dc394d
JL
111632012-03-30 Jeff Law <law@redhat.com>
11164
11165 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11166 due to long keys.
11167 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11168 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11169
2f5a5ed0
JL
11170 * resolv/nss_dns/dns-host.c: Update copyright year.
11171
1d39e359
UD
111722012-03-30 Ulrich Drepper <drepper@gmail.com>
11173
c030f70c 11174 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11175 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11176
1d39e359
UD
11177 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11178 comments for sendmmsg.
11179
111802012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11181
11182 [BZ #13691]
11183 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11184 with only 1 character between 0x0041 and 0x01b0.
11185 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11186 * wcsmbs/tst-mbsnrtowcs.c: New file.
11187
20fde227
DM
111882012-03-29 David S. Miller <davem@davemloft.net>
11189
11190 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11191 small copies by hand.
11192
984a4237
JL
111932012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11194
11195 [BZ #13761]
11196 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11197 _nss_compat_initgroups_dyn): Fall back to malloc/free
11198 for large group memberships.
11199
18c9d62b
DM
112002012-03-28 David S. Miller <davem@davemloft.net>
11201
88d85d4f
DM
11202 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11203 that branches into memcpy.
11204 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11207 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11209 bits.
11210 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11211 implementation too.
11212 * sysdeps/sparc/mempcpy.S: New file.
11213
e5aa83e1
DM
11214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11215 the IFUNC routine in the libc case.
11216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11217
88570753
DM
11218 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11219 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11220 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11221 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11222 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11223 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11224 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11225 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11226
249d7567
DM
11227 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11228 loop to 256 bytes instead of 64 bytes and fix test signedness.
11229
18c9d62b
DM
11230 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11231 * sysdeps/sparc/sparc32/Makefile: rather than here...
11232 * sysdeps/sparc/sparc64/Makefile: and here.
11233
05f3d1f6
UD
112342012-03-28 Ulrich Drepper <drepper@gmail.com>
11235
11236 * malloc/mallocbug.c: Avoid warnings about unused variables.
11237
86ae07a8
JL
112382012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11239
11240 [BZ #13760]
11241 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11242 in the right place. Discard and retry query if response is
11243 larger than input buffer size.
11244
41bf21a1
JM
112452012-03-28 Joseph Myers <joseph@codesourcery.com>
11246
d6270972
JM
11247 [BZ #369]
11248 [BZ #2678]
11249 [BZ #3866]
11250 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11251 x for large integer exponent.
11252 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11253 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11254 sign of result as needed afterwards.
11255 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11256 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11257 result for underflowing pow the same as for overflow.
11258 (__kernel_standard_l): Handle powl overflow and underflow here
11259 rather than calling __kernel_standard.
11260 * math/libm-test.inc (pow_test): Add more tests.
11261
414fca03 11262 [BZ #3868]
41bf21a1
JM
11263 [BZ #13879]
11264 [BZ #13910]
11265 [BZ #13911]
11266 [BZ #13912]
11267 [BZ #13913]
11268 [BZ #13915]
11269 [BZ #13916]
11270 [BZ #13917]
11271 [BZ #13918]
11272 [BZ #13919]
11273 [BZ #13920]
11274 [BZ #13921]
11275 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11276 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11277 (__kernel_standard_l): New function.
11278 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11279 __kernel_standard.
11280 * math/w_acosl.c (__acosl): Likewise.
11281 * math/w_asinl.c (__asinl): Likewise.
11282 * math/w_atan2l.c (__atan2l): Likewise.
11283 * math/w_atanhl.c (__atanhl): Likewise.
11284 * math/w_coshl.c (__coshl): Likewise.
11285 * math/w_exp10l.c (__exp10l): Likewise.
11286 * math/w_exp2l.c (__exp2l): Likewise.
11287 * math/w_fmodl.c (__fmodl): Likewise.
11288 * math/w_hypotl.c (__hypotl): Likewise.
11289 * math/w_j0l.c (__j0l, __y0l): Likewise.
11290 * math/w_j1l.c (__j1l, __y1l): Likewise.
11291 * math/w_jnl.c (__jnl, __ynl): Likewise.
11292 * math/w_lgammal.c (__lgammal): Likewise.
11293 * math/w_log10l.c (__log10l): Likewise.
11294 * math/w_log2l.c (__log2l): Likewise.
11295 * math/w_logl.c (__logl): Likewise.
11296 * math/w_powl.c (__powl): Likewise.
11297 * math/w_remainderl.c (__remainderl): Likewise.
11298 * math/w_scalbl.c (sysv_scalbl): Likewise.
11299 * math/w_sinhl.c (__sinhl): Likewise.
11300 * math/w_sqrtl.c (__sqrtl): Likewise.
11301 * math/w_tgammal.c (__tgammal): Likewise.
11302 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11303 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11304 * math/libm-test.inc (acos_test): Add more tests.
11305 (acosh_test): Likewise.
11306 (asin_test): Likewise.
11307 (atanh_test): Likewise.
11308 (exp_test): Likewise.
11309 (exp10_test): Likewise.
11310 (exp2_test): Likewise.
11311 (expm1_test): Likewise.
11312 (lgamma_test): Likewise.
11313 (log_test): Likewise.
11314 (log10_test): Likewise.
11315 (log1p_test): Likewise.
11316 (log2_test): Likewise.
11317 (pow_test): Do not allow some spurious overflow exceptions.
11318 (sqrt_test): Add more tests.
11319 (tgamma_test): Likewise.
11320 (y0_test): Likewise.
11321 (y1_test): Likewise.
11322 (yn_test): Likewise.
11323
dd62fda6
AB
113242012-03-27 Anton Blanchard <anton@samba.org>
11325
11326 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11327 MAP_HUGETLB.
11328 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11329 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11330 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11331
1e3cdfda
AJ
113322012-03-27 David S. Miller <davem@davemloft.net>
11333
b855ab85
DM
11334 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11335
1e3cdfda
AJ
11336 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11337 have-as-vis3 check.
11338
113392012-03-27 Andreas Jaeger <aj@suse.de>
11340
11341 * sysdeps/x86_64/elf/configure.in: Moved to ...
11342 * sysdeps/x86_64/configure.in: ... here.
11343 * sysdeps/x86_64/elf/start.S: Moved to ...
11344 * sysdeps/x86_64/start.S: ... here.
11345 * sysdeps/x86_64/elf/configure: Delete.
11346
11347 * sysdeps/x86_64/configure.in: Merge contents from
11348 sysdeps/i386/configure.in (without i686 check).
11349
11350 * sysdeps/i386/elf/Versions: Merge into ...
11351 * sysdeps/i386/Versions: ... this.
11352 * sysdeps/i386/elf/Versions: Delete file.
11353 * sysdeps/i386/elf/start.S: Moved to ...
11354 * sysdeps/i386/start.S: ...here.
11355 * sysdeps/i386/elf/configure.in: Merge into...
11356 * sysdeps/i386/configure.in: ...here.
11357 * sysdeps/i386/elf/configure.in: Delete file.
11358 * sysdeps/i386/elf/configure: Delete file.
11359
11360 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11361 * debug/backtracesyms.c: ... here.
11362 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11363 * debug/backtracesymsfd.c: ... here.
11364 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11365 * sysdeps/generic/ifunc-sel.h: ... here.
11366
11367 * sysdeps/unix/i386/start.c: Delete file.
11368 * sysdeps/unix/sparc/start.c: Delete file.
11369 * sysdeps/unix/start.c: Delete file.
11370
11371 * sysdeps/sh/elf/configure.in: Moved to ...
11372 * sysdeps/sh/configure.in: ... here.
11373 * sysdeps/sh/elf/start.S: Moved to ...
11374 * sysdeps/sh/start.S: ... here.
11375 * sysdeps/sh/elf/configure: Delete file.
11376
11377 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11378 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11379 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11380 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11381 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11382 * sysdeps/powerpc/powerpc64/start.S: here.
11383 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11384 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11385 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11386 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11387 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11388
11389 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11390 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11391 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11392 * sysdeps/powerpc/powerpc32/start.S: ... here.
11393 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11394 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11395 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11396
11397 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11398 * sysdeps/powerpc/ifunc-sel.h: ... here.
11399 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11400 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11401
11402 * sysdeps/sparc/elf/configure.in: Moved to ...
11403 * sysdeps/sparc/configure.in: ... here.
11404 * sysdeps/sparc/elf/configure: Delete file.
11405 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11406 * sysdeps/sparc/sparc32/start.S: ... here.
11407 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11408 * sysdeps/sparc/sparc64/start.S: ... here.
11409 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11410 * sysdeps/sparc/sparc32/Makefile: ... this.
11411 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11412 * sysdeps/sparc/sparc64/Makefile: ... this.
11413
11414 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11415 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11416 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11417 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11418 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11419 * sysdeps/s390/s390-32/setjmp.S: ... here.
11420 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11421 * sysdeps/s390/s390-32/configure.in: ... here.
11422 * sysdeps/s390/s390-32/elf/configure: Delete file.
11423 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11424 * sysdeps/s390/s390-32/start.S: ... here.
11425
11426 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11427 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11428 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11429 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11430 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11431 * sysdeps/s390/s390-64/setjmp.S: ... here.
11432 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11433 * sysdeps/s390/s390-64/configure.in: ... here
11434 * sysdeps/s390/s390-64/elf/configure: Delete file.
11435 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11436 * sysdeps/s390/s390-64/start.S: ... here.
11437 * sysdeps/s390/s390-64/elf/configure: Delete.
11438
11439 * configure.in: Remove support for elf directories in sysdeps.
11440
11441 * configure: Regenerated.
11442 * sysdeps/i386/configure: Regenerated.
11443 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11444 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11445 * sysdeps/s390/s390-32/configure: Regenerated.
11446 * sysdeps/s390/s390-64/configure: Regenerated.
11447 * sysdeps/sh/configure: Regenerated.
11448 * sysdeps/sparc/configure: Regenerated.
11449 * sysdeps/x86_64/configure: Regenerated.
11450
a3f61311
AS
114512012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11452
c876e002
AS
11453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11454
a3f61311
AS
11455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11456 denormal result into account.
11457
ac4c54f0
RM
114582012-03-25 Roland McGrath <roland@hack.frob.com>
11459
11460 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11461 Reported by Allan McRae <allan@archlinux.org>.
11462
6a9b9c02
JL
114632012-03-23 Jeff Law <law@redhat.com>
11464
11465 * nss/getnssent.c (__nss_getent): Fix typo.
11466
4c42a0c1
DM
114672012-03-23 David S. Miller <davem@davemloft.net>
11468
11469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11470
1532c7ac
L
114712012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11472
11473 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11474 to pad to uint64_t for each field.
11475 (dl_tls_index): Replace unsigned long with uint64_t.
11476
3ff42526
PP
114772012-03-23 Daniel Jacobowitz <dmj@google.com>
11478 Paul Pluzhnikov <ppluzhnikov@google.com>
11479
11480 [BZ #6528]
11481 * grp/Makefile (otherlibs): Don't set it.
11482 * inet/Makefile (otherlibs): Likewise.
11483 * login/Makefile (otherlibs): Likewise.
11484 * nscd/Makefile (otherlibs): Likewise.
11485 * posix/Makefile (otherlibs): Likewise.
11486 * pwd/Makefile (otherlibs): Likewise.
11487 * rt/Makefile (otherlibs): Likewise.
11488 * sunrpc/Makefile (otherlibs): Likewise.
11489 * nss/Makefile (otherlibs): Likewise.
11490 Add libnss_files to routines and static-only-routines.
11491 ($(objpfx)getent): Remove rule.
11492 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11493 static-only-routines.
11494
7c69cd14
JM
114952012-03-22 Joseph Myers <joseph@codesourcery.com>
11496
11497 [BZ #13892]
11498 * math/s_cexp.c: Include <float.h>.
11499 (__cexp): Handle exp result overflowing not necessarily
11500 overflowing both real and imaginary parts of result.
11501 * math/s_cexpf.c: Likewise.
11502 * math/s_cexpl.c: Likewise.
11503 * math/libm-test.inc (cexp_test): Add more tests.
11504 * sysdeps/i386/fpu/libm-test-ulps: Update.
11505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11506
81b035fe
L
115072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11508
11509 * include/link.h (ELFW): New macro.
11510 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11511 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11512
1da7940c
L
115132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11514
11515 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11516 with uint64_t.
11517
b749dbb9
L
115182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11519
11520 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11521 declaration.
11522 (struct La_x32_retval): Likewise.
11523
2ff87f3f
L
115242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11525
11526 * sysdeps/x86_64/preconfigure.in: New file.
11527 * sysdeps/x86_64/preconfigure: New generated file.
11528
c0df8e69
JM
115292012-03-22 Joseph Myers <joseph@codesourcery.com>
11530
48e44791
JM
11531 [BZ #13824]
11532 * math/e_exp2l.c: Include <float.h>.
11533 (__ieee754_exp2l): Handle overflow and underflow cases
11534 separately. Only pass fractional part of argument to
11535 __ieee754_expl.
11536 * math/libm-test.inc (exp2_test): Add more tests.
11537
c0df8e69
JM
11538 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11539 negating x to take absolute value.
11540 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11541 Likewise.
11542 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11543 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11544 Likewise.
11545 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11546 computing low part if x was negated.
11547 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11548
c8e43ba7
L
115492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11550
11551 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11552 la_x32_gnu_pltexit.
11553 (pltexit): Cast int_retval to ptrdiff_t.
11554 * elf/tst-auditmod3b.c: Likewise.
11555 * elf/tst-auditmod4b.c: Likewise.
11556 * elf/tst-auditmod5b.c: Likewise.
11557 * elf/tst-auditmod6b.c: Likewise.
11558 * elf/tst-auditmod6c.c: Likewise.
11559 * elf/tst-auditmod7b.c: Likewise.
11560
11561 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11562 and x32_gnu_pltexit.
11563
11564 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11565 __ELF_NATIVE_CLASS.
11566 (La_x32_regs): New macro.
11567 (La_x32_retval): Likewise.
11568 (la_x32_gnu_pltenter): New function prototype.
11569 (la_x32_gnu_pltexit): Likewise.
11570
7998fa78
AS
115712012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11572
dcb33988
AS
11573 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11574 exponent.
11575
233fc563
AS
11576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11577
7998fa78
AS
11578 * configure.in (libc_cv_cc_nofma): Check for option to disable
11579 generation of FMA instructions.
11580 * configure: Regenerate.
11581 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11582 * sysdeps/ieee754/dbl-64/Makefile: New file.
11583 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11584 Remove brandred-fma4.
11585 (CFLAGS-brandred-fma4.c): Remove.
11586 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11587 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11588 define.
11589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11590 define.
11591
8e95c99a
L
115922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11593
11594 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11595 LLONG_MAX != LONG_MAX.
11596 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11597 (_fitoa_word): Likewise.
11598 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11599 LLONG_MAX != LONG_MAX.
11600 * stdio-common/_itowa.h: Include <_itoa.h>.
11601 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11602 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11603 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11604 only if not defined.
11605 (_ITOA_WORD_TYPE): Likewise.
11606 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11607 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11608
6f4db457
DM
116092012-03-21 David S. Miller <davem@davemloft.net>
11610
11611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11612
7785fe5a
L
116132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11614
11615 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11616 of x86_64 when setting libc_cv_slibdir, libdir and
11617 libc_cv_localedir.
11618 * sysdeps/unix/sysv/linux/configure: Regenerated.
11619
4535cd55
JM
116202012-03-21 Joseph Myers <joseph@codesourcery.com>
11621
11622 * manual/lang.texi (Old Varargs): Remove section.
11623 (How Variadic): Update menu.
11624 (va_start): Do not mention varargs.h.
11625
17228132
TS
116262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11627 Joseph Myers <joseph@codesourcery.com>
11628
11629 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11630 link test.
11631 * configure: Regenerated.
11632
8149f976
TS
116332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11634
05f3d1f6
UD
11635 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11636 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11637 conformtest.pl
8149f976 11638
1a4ac776
JM
116392012-03-21 Joseph Myers <joseph@codesourcery.com>
11640
be22ce65
JM
11641 * NOTES: Remove.
11642 * Makefile (files-for-dist): Remove NOTES.
11643 (NOTES): Remove rule.
11644 * README: Don't refer to NOTES.
11645 * manual/creature.texi: Don't include macros.texi.
11646 * manual/intro.texi (creature.texi): Remove comment referring to
11647 NOTES.
11648
40b601fb
JM
11649 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11650 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11651 * configure: Regenerated.
11652 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11653 LIBC_TRY_CC_OPTION.
11654 (libc_cv_as_i686): Likewise.
11655 (libc_cv_cc_avx): Likewise.
11656 (libc_cv_cc_sse2avx): Likewise.
11657 (libc_cv_cc_fma4): Likewise.
11658 (libc_cv_cc_novzeroupper): Likewise.
11659 * sysdeps/i386/configure: Regenerated.
11660
1a4ac776
JM
11661 [BZ #13883]
11662 * sysdeps/i386/fpu/s_cexp.S: Remove.
11663 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11664 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11665 * math/libm-test.inc (cexp_test): Add more tests.
11666 * sysdeps/i386/fpu/libm-test-ulps: Update.
11667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11668
a458e7fe
AM
116692012-03-21 Allan McRae <allan@archlinux.org>
11670
11671 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11672
0cb7efc5
JM
116732012-03-21 Joseph Myers <joseph@codesourcery.com>
11674
11675 [BZ #13871]
11676 * math/w_exp2.c: Do not include <float.h>.
11677 (o_threshold, u_threshold): Remove.
11678 (__exp2): Calculate result before checking finiteness and calling
11679 __kernel_standard.
11680 * math/w_exp2f.c: Likewise.
11681 * math/w_exp2l.c: Likewise.
11682 * math/libm-test.inc (exp2_test): Require overflow exception for
11683 1e6 input.
2460d3aa
JM
11684
11685 [BZ #3866]
11686 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11687 range of signed 64-bit integers before using fistpll. Remove
11688 checks for whether integers fit in mantissa bits.
11689 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11690 the range of signed 32-bit integers before using fistpl. Remove
11691 checks for whether integers fit in mantissa bits.
11692 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11693 (__ieee754_powl): Test for y outside the range of signed 64-bit
11694 integers before using fistpll. Reduce 64-bit values to 63-bit
11695 ones as needed.
11696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11697 divide-by-zero is raised for zero to large negative powers.
11698 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11699 (__ieee754_powl): Test for y outside the range of signed 64-bit
11700 integers before using fistpll. Reduce 64-bit values to 63-bit
11701 ones as needed.
11702 * math/libm-test.inc (pow_test): Add more tests.
11703
eb96ffb0
L
117042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11705
11706 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11707 <stdio-common/_itoa.h>.
11708 * debug/segfault.c: Likewise.
11709 * elf/dl-cache.c: Likewise.
11710 * elf/dl-minimal.c: Likewise.
11711 * elf/dl-misc.c: Likewise.
11712 * elf/dl-sysdep.c: Likewise.
11713 * elf/dl-version.c: Likewise.
11714 * elf/rtld.c: Likewise.
11715 * hurd/hurdsock.c: Likewise.
11716 * hurd/lookup-retry.c: Likewise.
11717 * malloc/malloc.c: Likewise.
11718 * malloc/mtrace.c: Likewise.
11719 * nscd/nscd_getgr_r.c: Likewise.
11720 * nscd/nscd_getpw_r.c: Likewise.
11721 * nscd/nscd_getserv_r.c: Likewise.
11722 * posix/getopt_init.c: Likewise.
11723 * posix/wordexp.c: Likewise.
11724 * stdio-common/_itoa.c: Likewise.
11725 * stdio-common/printf_fphex.c: Likewise.
11726 * stdio-common/vfprintf.c: Likewise.
11727 * string/_strerror.c: Likewise.
11728 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11729 * sysdeps/i386/i686/hp-timing.h: Likewise.
11730 * sysdeps/mach/_strerror.c: Likewise.
11731 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11732 * sysdeps/mach/hurd/sethostid.c: Likewise.
11733 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11734 * sysdeps/mach/xpg-strerror.c: Likewise.
11735 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11736 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11737 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11738 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11739 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11740 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11741 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11742 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11743 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11744 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11745 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11746 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11747 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11748 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11749 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11750 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11751 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11752 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11753 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11754 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11755 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11756
11757 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11758
11759 * stdio-common/_itoa.h: Moved to ...
11760 * sysdeps/generic/_itoa.h: Here.
11761
11762 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11763
11764 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11765 instead of "_itoa.h" and "_itowa.h".
11766 * stdio-common/vfprintf.: Likewise.
11767
d1af992d
L
117682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11769
11770 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11771 <bits/wordsize.h>.
11772 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11773 (__signbit): Likwise.
11774 (llrintf): Likwise.
11775 (llrint): Likwise.
11776
114883e0
L
117772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11778
11779 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11780 __WORDSIZE != 64.
11781
c135cc1b
JM
117822012-03-20 Joseph Myers <joseph@codesourcery.com>
11783
11784 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11785 OVERFLOW_EXCEPTION_OK.
11786 * math/libm-test.inc ("Philosophy"): Update comment about
11787 exception testing.
11788 (OVERFLOW_EXCEPTION): Define.
11789 (OVERFLOW_EXCEPTION_OK): Likewise.
11790 (INVALID_EXCEPTION_OK): Renumber.
11791 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11792 (IGNORE_ZERO_INF_SIGN): Likewise.
11793 (test_exceptions): Handle FE_OVERFLOW.
11794 (exp10_test): Expect overflow exceptions.
11795 (exp2_test): Likewise.
11796 (expm1_test): Likewise.
11797 (nextafter_test): Likewise.
11798 (pow_test): Likewise.
11799 (scalbn_test): Likewise.
11800 (scalbln_test): Likewise.
11801
95443d88
L
118022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11803
11804 * sysdeps/x86_64/bits/atomic.h
11805 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11806 64bit integer.
11807 (atomic_exchange_acq): Likewise.
11808 (__arch_exchange_and_add_body): Likewise.
11809 (__arch_add_body): Likewise.
11810 (atomic_add_negative): Likewise.
11811 (atomic_add_zero): Likewise.
11812
490df6c4
L
118132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11814
c2722551 11815 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11816 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11817
5e52b189
L
118182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11819
11820 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11821 Check __x86_64__ instead of __WORDSIZE.
11822
a9879d4c
L
118232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11824
11825 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11826
5df98260
DM
118272012-03-19 David S. Miller <davem@davemloft.net>
11828
e1497744
DM
11829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11830
5df98260
DM
11831 * sysdeps/sparc/fpu/fenv_private.h: New file.
11832 * sysdeps/sparc/fpu/math_private.h: Use it.
11833 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11834 Remove.
11835 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11836 (libc_feholdexcept_setroundl): Remove.
11837 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11838 Remove.
11839 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11840 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11841
b4c35121
L
118422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11843
11844 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11845 int64_t instead of long int.
11846 (INSERT_WORDS64): Likwise.
11847
56965fd7
L
118482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11849
11850 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11851 _Unwind_GetCFA return to _Unwind_Ptr first.
11852
83d1aec8
JM
118532012-03-19 Joseph Myers <joseph@codesourcery.com>
11854
1897ad44
JM
11855 [BZ #13629]
11856 * math/s_clog.c: Include <float.h>.
11857 (__clog): Scale large or subnormal inputs.
11858 * math/s_clogf.c: Likewise.
11859 * math/s_clogl.c: Likewise.
11860 * math/s_clog10.c: Include <float.h>.
11861 (M_LOG10_2): Define.
11862 (__clog10): Scale large or subnormal inputs.
11863 * math/s_clog10f.c: Likewise.
11864 * math/s_clog10l.c: Likewise.
11865 * math/libm-test.inc (clog_test): Add more tests.
11866 (clog10_test): Likewise.
11867 * sysdeps/i386/fpu/libm-test-ulps: Update.
11868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11869
7726d6a9
JM
11870 [BZ #11451]
11871 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11872 x and y.
11873 * math/libm-test.inc (atan2_test): Add another test.
11874
83d1aec8
JM
11875 * Makerules (common-objdir-compile): Remove.
11876 * sysdeps/unix/Makefile (config-generated): Do not add
11877 $(unix-generated) to variable.
11878 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11879 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11880 Remove rule.
11881 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11882 Likewise.
11883 [generic bits/local_lim.h] (before-compile): Do not append to
11884 variable.
11885 [generic bits/local_lim.h] (common-generated): Likewise.
11886 [generic sys/param.h] (before-compile): Do not append to variable.
11887 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11888 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11889 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11890 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11891 include.
11892 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11893 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11894 [generic sys/param.h] ($(addprefix
11895 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11896 [generic sys/param.h] (common-generated): Do not append to
11897 variable.
11898 [generic sys/param.h] (sysdep_headers): Likewise.
11899 [generic bits/errno.h] (before-compile): Do not append to
11900 variable.
11901 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11902 rule.
11903 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11904 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11905 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11906 [generic bits/errno.h] (common-generated): Do not append to
11907 variable.
11908 [generic bits/ioctls.h] (before-compile): Do not append to
11909 variable.
11910 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11911 rule.
11912 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11913 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11914 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11915 rule.
11916 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11917 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11918 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11919 [generic bits/ioctls.h] (common-generated): Do not append to
11920 variable.
11921 [generic sys/syscall.h] (syscall.h): Remove variable.
11922 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11923 rule.
11924 [generic sys/syscall.h] (before-compile): Do not append to
11925 variable.
11926 [generic sys/syscall.h] (common-generated): Likewise.
11927 * sysdeps/unix/errnos-tmpl.c: Remove file.
11928 * sysdeps/unix/errnos.awk: Likewise.
11929 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11930 * sysdeps/unix/ioctls.awk: Likewise.
11931 * sysdeps/unix/mk-local_lim.c: Likewise.
11932 * sysdeps/unix/snarf-ioctls: Likewise.
11933
4851a949
RH
119342012-03-19 Richard Henderson <rth@twiddle.net>
11935
bd37f2ee
RH
11936 * sysdeps/i386/fpu/fenv_private.h: New file.
11937 * sysdeps/i386/fpu/math_private.h: Use it.
11938 (math_opt_barrier, math_force_eval): Remove.
11939 (libc_feholdexcept_setround_53bit): Remove.
11940 (libc_feupdateenv_53bit): Remove.
11941 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11942 (math_opt_barrier, math_force_eval): Remove.
11943 (libc_feholdexcept): Remove.
11944 (libc_feholdexcept_setround): Remove.
11945 (libc_fetestexcept, libc_fesetenv): Remove.
11946 (libc_feupdateenv_test): Remove.
11947 (libc_feupdateenv, libc_feholdsetround): Remove.
11948 (libc_feresetround): Remove.
11949
d0adc922
RH
11950 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11951 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11952
0fe0f1f8
RH
11953 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11954 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11955 (libc_feupdateenv_testl): New.
11956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11957 (libc_feupdateenv_testf): New.
11958 (libc_feupdateenv): Use libc_feupdateenv_test.
11959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11960 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11961
eb92c487
RH
11962 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11963 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11964 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11965 (libc_feresetround_noex): New.
11966 (libc_feresetround_noexf): New.
11967 (libc_feresetround_noexl): New.
11968 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11969 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11970 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11971 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11972 SET_RESTORE_ROUND.
11973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11974 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11975 (__cos): Likewise.
11976 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11977 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11978 SET_RESTORE_ROUND_NOEX.
11979 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11980 SET_RESTORE_ROUND_NOEXF.
11981 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11982 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11983 (libc_feholdsetroundf): New.
11984 (libc_feresetround, libc_feresetroundf): New.
11985
7d2e8012
RH
11986 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11987 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11988 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11989
b4dabbb4
RH
11990 * sysdeps/generic/math_private.h: Include <fenv.h>.
11991 (default_libc_feholdexcept): New.
11992 (default_libc_feholdexcept_setround): New.
11993 (default_libc_fesetenv, default_libc_feupdateenv): New.
11994 (libc_feholdexcept): Only define if undefined.
11995 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11996 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11997 (libc_feholdexcept_setroundl): Likewise.
11998 (libc_feholdexcept_setround_53bit): Likewise.
11999 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12000 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12001 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12002 (libc_feupdateenv_53bit): Likewise.
12003 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12004 (libc_feholdexcept): Convert from macro to inline function.
12005 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12006 (libc_fesetenv, libc_feupdateenv): Likewise.
12007
4851a949
RH
12008 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12009 not previously defined.
12010 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12011 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12012 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12013 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12014 * sysdeps/ieee754/flt-32/math_private.h: New file.
12015 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12016 math_private.h below SET_FLOAT_WORD.
12017 (__isnan, __isinf_ns, __finite): Remove.
12018 (__isnanf, __isinf_nsf, __finitef): Remove.
12019
e79d442e
AS
120202012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12021
12022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12023
90b80344
DM
120242012-03-17 David S. Miller <davem@davemloft.net>
12025
12026 [BZ #6471]
12027 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12028 for 2.16.
12029
edc21804
DM
120302012-03-16 David S. Miller <davem@davemloft.net>
12031
77e927af
DM
12032 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12033 warnings.
12034
374976dd
DM
12035 [BZ #6471]
12036 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12037 properly.
12038 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12039 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12040 sysdep_routines when subdir is sysvipc.
12041 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12042 __getshmlba helper.
12043
edc21804
DM
12044 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12045
473c3ef3
L
120462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12047
12048 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12049 [__LP64__].
12050
eb0f39b6
L
120512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12052
12053 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12054 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12055 (__lround): Renamed to ...
12056 (__llround): This. Replace long int with long long int.
12057 Define lround functions as aliases of llround functions.
12058 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12059
6b6cd74b
L
120602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12063 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12064 adresses to uintptr_t. Replace "long int" and "unsigned long
12065 int" with "greg_t" on va_arg.
12066
f1a77b01
L
120672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12068
12069 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12070 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12071
12072 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12073 Move e_machine check before EI_CLASS check. Handle x32
12074 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12075 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12076 SKIP_EM_IA_64 and include
12077 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12078
12079 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12080 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12081 (add_system_dir): New macro.
12082
12083 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12084 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12085
11b90b9f
JM
120862012-03-16 Joseph Myers <joseph@codesourcery.com>
12087
c36e1d23
JM
12088 [BZ #2551]
12089 [BZ #2552]
12090 [BZ #2553]
12091 [BZ #2554]
12092 [BZ #2562]
12093 [BZ #2563]
12094 [BZ #2565]
12095 [BZ #2566]
12096 [BZ #2576]
12097 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12098 (y0): Likewise.
12099 * math/w_j0f.c (j0f): Likewise.
12100 (y0f): Likewise.
12101 * math/w_j0l.c (__j0l): Likewise.
12102 (__y0l): Likewise.
12103 * math/w_j1.c (j1): Likewise.
12104 (y1): Likewise.
12105 * math/w_j1f.c (j1f): Likewise.
12106 (y1f): Likewise.
12107 * math/w_j1l.c (__j1l): Likewise.
12108 (__y1l): Likewise.
12109 * math/w_jn.c (jn): Likewise.
12110 (yn): Likewise.
12111 * math/w_jnf.c (jnf): Likewise.
12112 (ynf): Likewise.
12113 * math/w_jnl.c (__jnl): Likewise.
12114 (__ynl): Likewise.
12115 * math/libm-test.inc (j0_test): Add more tests.
12116 (j1_test): Likewise.
12117 (jn_test): Likewise. Add trailing semicolon to existing test.
12118 (y0_test): Likewise.
12119 (y1_test): Likewise.
12120 * sysdeps/i386/fpu/libm-test-ulps: Update.
12121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12122
11b90b9f
JM
12123 [BZ #13851]
12124 [BZ #13854]
12125 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12126 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12127 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12128 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12129 (__tanl): Set errno for infinite argument.
12130 * sysdeps/i386/fpu/mptan.c: Remove.
12131 * sysdeps/i386/fpu/s_tan.S: Likewise.
12132 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12133 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12134 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12135 * math/libm-test.inc (tan_test): Add more tests and enable more
12136 tests for double and long double.
12137 * sysdeps/i386/fpu/libm-test-ulps: Update.
12138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12139
6a1bd2a1
JK
121402012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12141
12142 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12143 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12144
10a803e0
RM
121452012-03-16 Roland McGrath <roland@hack.frob.com>
12146
12147 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12148 * configure.in: Use it for both main tree and add-ons.
12149 * configure: Regenerated.
12150
f196c7f7
L
121512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12152
12153 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12154
8848d99d
JM
121552012-03-16 Joseph Myers <joseph@codesourcery.com>
12156
96cbe7f4
JM
12157 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12158 in comment.
12159
8848d99d
JM
12160 [BZ #13851]
12161 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12162 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12166 infinite argument.
12167 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12168 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12169 != 0 for prec == 2.
12170 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12171 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12172 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12173 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12174 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12175 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12176 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12177 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12178 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12179 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12180 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12181 * math/libm-test.inc (cos_test): Add more tests and enable more
12182 tests for long double.
12183 (sin_test): Likewise.
12184 (sincos_test): Likewise.
12185 * sysdeps/i386/fpu/libm-test-ulps: Update.
12186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12187
dd7f4703
DM
121882012-03-16 David S. Miller <davem@davemloft.net>
12189
12190 * sysdeps/sparc/fpu/math_private.h: New file.
12191
006f1daa
DM
121922012-03-15 David S. Miller <davem@davemloft.net>
12193
c0c83bc8
DM
12194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12195 file.
e6a62e18 12196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12198 file.
e6a62e18
DM
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12205 sysdep routines.
12206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12207
88cb87d9
DM
12208 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12209 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12210
006f1daa 12211 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12213 sparc-ifunc.h
006f1daa 12214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12216 Likewise.
12217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12218 Likewise.
006f1daa
DM
12219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12223 Likewise.
006f1daa
DM
12224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12229 Likewise.
12230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12231 Likewise.
006f1daa
DM
12232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12256
11e0098e
AS
122572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12258
12259 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12260 scaling.
12261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12262
e85b09d0
AJ
122632012-03-15 Andreas Jaeger <aj@suse.de>
12264
12265 [BZ #13852]
12266 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12267 ieee754/flt-32 implementation for sin, cos and sincos.
12268 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12269 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12270 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12271 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12272 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12273 ieee754/flt-32 implementation for tan.
12274
12275 * math/libm-test.inc (cos_test): Enable some large input tests for
12276 float as well
12277 (sin_test): Likewise.
12278 (sincos_test): Likewise.
12279 (tan_test): Add tests for large input.
12280
12281 * sysdeps/i386/fpu/libm-test-ulps: Update.
12282
81c64153
AJ
122832012-03-15 Andreas Jaeger <aj@suse.de>
12284
12285 [BZ #13658]
12286 * math/libm-test.inc (cos_test): Add more test cases.
12287 (sin_test): Likewise.
12288 (sincos_test): Likewise.
12289
7bbfa5c6
AJ
122902012-03-15 Andreas Jaeger <aj@suse.de>
12291
12292 [BZ #13837]
12293 * math/libm-test.inc (cos_test): Add a test case for large input
12294 value.
12295 (sin_test): Likewise.
12296 (sincos_test): Likewise.
12297
122982012-03-15 Andreas Jaeger <aj@suse.de>,
12299 Joseph Myers <joseph@codesourcery.com>
12300
12301 [BZ #13658]
0671f479 12302 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12303 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12304 * sysdeps/i386/fpu/branred.c: Likewise.
12305 * sysdeps/i386/fpu/dosincos.c: Likewise.
12306 * sysdeps/i386/fpu/mpa.c: Likewise.
12307 * sysdeps/i386/fpu/s_cos.S: Likewise.
12308 * sysdeps/i386/fpu/s_sin.S: Likewise.
12309 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12310 * sysdeps/i386/fpu/sincos32.c: Likewise.
12311
12312 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12313 Define.
12314 (libc_feupdateenv_53bit): Define.
12315 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12316 Define.
12317 (libc_feupdateenv_53bit): Define.
12318
12319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12320 53 bit (without extend i386 double precision).
12321
12322 * math/libm-test.inc (sincos_test): Add tests for large input.
12323 (sin): Likewise.
12324 (cos): Likewise.
12325
12326 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12327
9cad04ea
AS
123282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12329
12330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12331
f7062b9a
DM
123322012-03-15 David S. Miller <davem@davemloft.net>
12333
12334 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12335 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12336 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12337 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12350 file.
f7062b9a 12351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12353 file.
f7062b9a 12354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12356 file.
f7062b9a 12357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12359 file.
f7062b9a
DM
12360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12362 fmin/fmax sysdep routines.
12363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12364
7bd951ff
DM
123652012-03-14 David S. Miller <davem@davemloft.net>
12366
559398ab
DM
12367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12373 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12396 routines.
12397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12398 file.
559398ab 12399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12401 file.
559398ab 12402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12404 file.
559398ab 12405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12407 file.
559398ab 12408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12410 file.
559398ab 12411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12413 file.
12414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12415 file.
12416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12417 file.
12418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12419 file.
12420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12421 New file.
12422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12423 file.
12424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12425 file.
559398ab 12426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12428 file.
559398ab 12429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12431 file.
559398ab 12432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12434 file.
559398ab 12435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12437 VIS3 routines.
559398ab
DM
12438
12439 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12440 New file.
12441
5a1c1e32
DM
12442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12443
eae47a36
DM
12444 * sysdeps/sparc/configure.in: New file.
12445 * sysdeps/sparc/configure: Generate.
12446 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12447 * configure: Regenerate.
12448 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12449 * config.make.in (have-as-vis3): New.
12450 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12451 available use -Av9d instead of -Av9a.
12452 * sysdeps/sparc/sparc64/Makefile: Likewise.
12453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12455 New file.
12456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12457 file.
12458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12459 New file.
12460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12461 file.
eae47a36
DM
12462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12467
c0c83bc8
DM
12468 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12469 fzeros/fnegs to load 0x80000000 into a float register instead of
12470 using the stack.
7bd951ff
DM
12471 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12472
bd951ccb
JM
124732012-03-14 Joseph Myers <joseph@codesourcery.com>
12474
12475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12476 bits/syscall.h.
12477 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12478 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12479 ($(inst_includedir)/bits/syscall.h): Remove rule.
12480 ($(objpfx)bits/syscall.d): Include instead of
12481 $(objpfx)syscall-list.d.
12482 (generated): Change syscall-list.h and syscall-list.d to
12483 bits/syscall.h and bits/syscall.d.
12484
bb4e6db2
RM
124852012-03-14 Roland McGrath <roland@hack.frob.com>
12486
12487 [BZ #13846]
12488 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12489
aa4a2ae1
JM
124902012-03-14 Joseph Myers <joseph@codesourcery.com>
12491
e456826d
JM
12492 [BZ #13841]
12493 * math/s_csqrt.c: Include <float.h>.
12494 (__csqrt): Scale large or subnormal inputs.
12495 * math/s_csqrtf.c: Likewise.
12496 * math/s_csqrtl.c: Likewise.
12497 * math/libm-test.inc (csqrt_test): Add more tests.
12498 * sysdeps/i386/fpu/libm-test-ulps: Update.
12499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12500
aa4a2ae1
JM
12501 [BZ #13840]
12502 * math/libm-test.inc (hypot_test): Add more tests.
12503
7c10fd35
DM
125042012-03-13 David S. Miller <davem@davemloft.net>
12505
12506 [BZ #13840]
12507 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12508 double-precision for the calculation instead of scaling.
12509
f453b98b
JM
125102012-03-13 Joseph Myers <joseph@codesourcery.com>
12511
12512 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12513 manipulate bits before adding and subtracting TWO52[sx].
12514 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12516 Likewise.
12517 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12518
09a3453f
DM
125192012-03-13 David S. Miller <davem@davemloft.net>
12520
8e59da90
DM
12521 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12522 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12524 rtld-global-offsets.h
12525 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12526
2a8ab7f2
DM
12527 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12528 large parameters.
12529
10f62770
DM
12530 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12531
5f0bdb18
DM
12532 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12533 'err' in the ifdef scope in which it is actually used.
12534
09a3453f
DM
12535 * nss/nss_db/db-init.c: Include string.h
12536
b4b2eb5e
DM
125372012-03-12 David S. Miller <davem@davemloft.net>
12538
98bb2f1c
DM
12539 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12540 masking out of the most significant byte of random value used.
12541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12542 Fix coding style in previous change.
12543
b4b2eb5e
DM
12544 * sysdeps/unix/sysv/linux/kernel-features.h
12545 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12546 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12547 expression.
12548 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12549 later.
12550
6e226b09
DM
125512012-03-11 David S. Miller <davem@davemloft.net>
12552
a1bcbd40
DM
12553 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12554 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12555 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12556 for 'resultvar' otherwise things get truncated on 64-bit.
12557
cb9d6174
DM
12558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12559 Fix masking out of the most significant byte of random value used.
12560
6e226b09
DM
12561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12562
058c132d
AS
125632012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12564
12565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12566
2d2cd515
DM
125672012-03-09 David S. Miller <davem@davemloft.net>
12568
12569 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12570 variables with appropriate CPP guards.
12571 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12572 frame pointer, not the stack pointer. Correct layout comments. Fix test
12573 on resulting framesize and the management of the outregs buffer for pltexit.
12574 Preserve floating point return values across _dl_call_pltexit call.
12575 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12576 framesize and the management of the outregs buffer for pltexit.
12577 Preserve floating point return values across _dl_call_pltexit
12578 call.
12579 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12580 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12581 (print_exit): Fix format string for return register value.
12582
9a07f9d0
JM
125832012-03-10 Joseph Myers <joseph@codesourcery.com>
12584
12585 * sunrpc/Makefile (others): Add rpcgen.
12586 ($(objpfx)rpcgen): Remove special build rule and dependency on
12587 libc.
12588 * sunrpc/rpcgen.c: New file.
12589
547b5e30
PE
125902012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12591
c524201a
PE
12592 [BZ #13673]
12593 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12594 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12595 * sysdeps/i386/crti.S: Likewise.
12596 * sysdeps/i386/crtn.S: Likewise.
12597 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12598 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12599 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12600 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12601 * sysdeps/sh/crti.S: Likewise.
12602 * sysdeps/sh/crtn.S: Likewise.
12603 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12604
7b6235f2
PE
12605 [BZ #13673]
12606 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12607 with URL.
12608 * locale/programs/locfile-kw.gperf: Likewise.
12609 * locale/programs/charmap-kw.h: Regenerated.
12610 * locale/programs/locfile-kw.h: Likewise.
12611
547b5e30
PE
12612 [BZ #13673]
12613 * intl/plural.y: Replace FSF snail mail address with URL.
12614 * intl/plural.c: Regenerated.
12615
5f0a5dae
RH
126162012-03-09 Richard Henderson <rth@twiddle.net>
12617
12618 * include/math_private.h: Remove file.
12619 * math/math_private.h: Move file ...
12620 * sysdeps/generic/math_private.h: ... here.
12621
b8c03620
RH
12622 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12623 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12624 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12625
4e234f5d 12626 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12627 and <math_private.h>.
12628 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12629 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12630 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12631 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12632 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12660 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12661 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12692 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12693 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12694 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12695 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12700 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12701 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12702 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12708 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12709 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12710 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12711 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12712 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12714 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12716 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12719 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12720 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12721 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12722 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12723 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12724 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12725 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12726 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12727 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12728 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12729 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12730 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12731 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12732 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12733 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12734 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12735 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12736 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12738 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12739 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12740 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12741 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12742 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12744 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12745 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12746 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12747 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12748 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12749 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12750 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12751 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12752 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12753 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12754 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12755 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12756 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12757 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12758 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12759 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12760 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12761 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12762 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12763 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12764 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12765 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12766 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12767 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12768 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12769 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12770 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12771 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12772 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12773 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12774 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12775 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12776 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12777 * sysdeps/ieee754/k_standard.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12862 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12867 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12868 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12869 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12871 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12893 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12897 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12898 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12899 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12900 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12903 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12905 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12910 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12917 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12926 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12927 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12928 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12938 * sysdeps/ieee754/s_lib_version.c: Likewise.
12939 * sysdeps/ieee754/s_matherr.c: Likewise.
12940 * sysdeps/ieee754/s_signgam.c: Likewise.
12941 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12942 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12943 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12944 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12945 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12946 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12947 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12948 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12949 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12950 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12951 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12952 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12953 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12954 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12955 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12956 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12957 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12958 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12959 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12960 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 12962
1991fa03
JM
129632012-03-09 Joseph Myers <joseph@codesourcery.com>
12964
12965 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12966 * sunrpc/rpc_main.c: Likewise.
12967 * sunrpc/rpc_svcout.c: Likewise.
12968
60d6f5a6
DM
129692012-03-09 David S. Miller <davem@davemloft.net>
12970
12971 * include/math_private.h: New file.
12972
4962050e
JM
129732012-03-09 Joseph Myers <joseph@codesourcery.com>
12974
02a6f887
JM
12975 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12976 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12977 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12978 from <bits/socket_type.h>.
12979 (enum __socket_type): Don't define here.
12980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12982 bits/socket_type.h.
12983
c6e013c1
JM
12984 [BZ #13566]
12985 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12986 checking __USE_GNU.
12987
4962050e
JM
12988 * Makerules ($(inst_includedir)/%.h): New rule.
12989 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12990 (install-others): Remove variable setting.
12991 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12992
38842f45
RH
129932012-03-08 Richard Henderson <rth@twiddle.net>
12994
67bb6da6
RH
12995 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12996 from macro to inline function; merge with the
12997 !__LIBC_INTERNAL_MATH_INLINES version.
12998 (__ieee754_sqrtf): Likewise.
12999
15194b4b
RH
13000 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13001 to inline function.
13002 (__rintf, __floor, __floorf): Likewise.
13003
64e21ede
RH
13004 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13005 macro to inline function.
13006 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13007
38842f45
RH
13008 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13009 not <math/math_private.h>.
13010
c64bf5fe
DM
130112012-03-08 David S. Miller <davem@davemloft.net>
13012
13013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13014 copyright year.
13015 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13016
82d86f28
TS
130172012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13018
13019 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13020 normalization.
13021 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13022 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13023
aea5d727
UD
130242012-03-08 Ulrich Drepper <drepper@gmail.com>
13025
13026 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13027 be defined individually, they must be defined as a block. Define
13028 S for printing a string instead of hidint the different by using a
13029 macro for adding the 'l'.
13030 * stdio-common/tst-fphex-wide.c: Adjust.
13031
70bca0a3
MP
130322012-03-07 Marek Polacek <polacek@redhat.com>
13033
13034 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13035
65b81130
MP
130362012-03-08 Marek Polacek <polacek@redhat.com>
13037
13038 [BZ #13806]
13039 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13040 * stdio-common/tst-fphex.c: Define a few macros to make the
13041 test reusable. Use them.
13042 * stdio-common/tst-fphex-wide.c: New file.
13043
07037eeb
JM
130442012-03-08 Joseph Myers <joseph@codesourcery.com>
13045
a7a93d50
JM
13046 [BZ #6911]
13047 * manual/macros.texi (gnusystems): New macro.
13048 (nongnusystems): Likewise.
13049 (gnulinuxhurdsystems): Likewise.
13050 (gnuhurdsystems): Likewise..
13051 (gnulinuxsystems): Likewise.
13052 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13053 variants of the GNU system, not "GNU system".
13054 * manual/conf.texi: Likewise.
13055 * manual/errno.texi: Likewise. Update example of errno macro
13056 expansion.
13057 * manual/filesys.texi: Likewise.
13058 (getumask): Document as specific to GNU/Hurd.
13059 * manual/install.texi: Likewise. Reword some references to
13060 GNU/Linux.
13061 * manual/intro.texi: Likewise.
13062 * manual/io.texi: Likewise.
13063 (File Name Portability): Detail which constraints are inapplicable
13064 to all GNU systems and which are only inapplicable to GNU/Hurd.
13065 * manual/job.texi: Likewise.
13066 * manual/llio.texi: Likewise.
13067 (O_NOCTTY): Document as present on GNU/Linux.
13068 * manual/maint.texi: Likewise.
13069 * manual/memory.texi: Likewise.
13070 * manual/pattern.texi: Likewise.
13071 * manual/pipe.texi: Likewise.
13072 * manual/process.texi: Likewise.
13073 * manual/resource.texi: Likewise.
13074 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13075 child on GNU/Hurd.
13076 * manual/setjmp.texi: Likewise.
13077 * manual/signal.texi: Likewise.
13078 * manual/startup.texi: Likewise.
13079 * manual/stdio.texi: Likewise.
13080 * manual/terminal.texi: Likewise.
13081 (ONLCR): Document as POSIX.
13082 (OXTABS): Document availability on GNU/Linux as XTABS.
13083 (ONOEOT): Document availability separately from other bits.
13084 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13085 * manual/time.texi: Likewise.
13086 * manual/users.texi: Likewise.
13087 * INSTALL: Regenerated.
13088 * sysdeps/gnu/errlist.c: Regenerated.
13089
07037eeb
JM
13090 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13091 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13092 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13093 puts.
13094 * configure: Regenerated.
13095
d1d3431a
JM
130962012-03-07 Joseph Myers <joseph@codesourcery.com>
13097
af6a1e37
JM
13098 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13099 default includes instead of AC_HEADER_CHECK.
13100 * sysdeps/i386/configure: Regenerated.
13101
d1d3431a
JM
13102 [BZ #10716]
13103 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13104 * math/s_cacoshf.c (__cacoshf): Likewise.
13105 * math/s_cacoshl.c (__cacoshl): Likewise.
13106 * math/s_casinh.c (__casinh): Set signs of result from argument.
13107 * math/s_casinhf.c (__casinhf): Likewise.
13108 * math/s_casinhl.c (__casinhl): Likewise.
13109 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13110 (casinh_test): Add more tests.
13111 * sysdeps/i386/fpu/libm-test-ulps: Update.
13112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13113
482ff4da
UD
131142012-03-07 Ulrich Drepper <drepper@gmail.com>
13115
872fda05
UD
13116 * po/zh_TW.po: Update from translation team.
13117
a4300c7a
UD
13118 * login/Makefile (distribute): Remove variable.
13119 * catgets/Makefile: Likewise.
13120 * mach/Makefile: Likewise.
13121 * malloc/Makefile: Likewise.
13122 * misc/Makefile: Likewise.
13123 * iconv/Makefile: Likewise.
13124 * nscd/Makefile: Likewise.
13125 * hurd/Makefile: Likewise.
13126 * manual/Makefile: Likewise.
13127 * locale/Makefile: Likewise.
13128 * intl/Makefile: Likewise.
13129 * conform/Makefile: Likewise.
13130 * nss/Makefile: Likewise.
13131 * time/Makefile: Likewise.
13132 * soft-fp/Makefile: Likewise.
13133 * dirent/Makefile: Likewise.
13134 * gmon/Makefile: Likewise.
13135 * po/Makefile: Likewise.
13136 * rt/Makefile: Likewise.
13137 * socket/Makefile: Likewise.
13138 * math/Makefile: Likewise.
13139 * signal/Makefile: Likewise.
13140 * debug/Makefile: Likewise.
13141 * elf/Makefile: Likewise.
13142 * timezone/Makefile: Likewise.
13143 * stdlib/Makefile: Likewise.
13144 * iconvdata/Makefile: Likewise.
13145 * sunrpc/Makefile: Likewise.
13146 * io/Makefile: Likewise.
13147 * argp/Makefile: Likewise.
13148 * inet/Makefile: Likewise.
13149 * hesiod/Makefile: Likewise.
13150 * grp/Makefile: Likewise.
13151 * csu/Makefile: Likewise.
13152 * wctype/Makefile: Likewise.
13153 * crypt/Makefile: Likewise.
13154 * libio/Makefile: Likewise.
13155 * string/Makefile: Likewise.
13156 * nis/Makefile: Likewise.
13157 * resolv/Makefile: Likewise.
13158 * stdio-common/Makefile: Likewise.
13159 * wcsmbs/Makefile: Likewise.
13160 * dlfcn/Makefile: Likewise.
13161 * posix/Makefile: Likewise.
13162
3b7c4e74 13163 [BZ #6959]
482ff4da
UD
13164 * timezone/Makefile: Don't install timezone files, just the programs
13165 and scripts.
13166
f72ed77d
UD
131672012-03-06 Ulrich Drepper <drepper@gmail.com>
13168
a000466f
UD
13169 * nss/databases.def: Add missing gshadow entry.
13170
f72ed77d
UD
13171 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13172
a53b7a4e
MP
131732012-03-06 Marek Polacek <polacek@redhat.com>
13174
13175 [BZ #13726]
13176 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13177 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13178 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13179 * stdio-common/tst-long-dbl-fphex.c: New file.
13180
e9258400
DM
131812012-03-06 David S. Miller <davem@davemloft.net>
13182
13183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13184 (set_obp_int): New function.
13185 (get_obp_int): New function.
13186 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13187 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13188 Avoid unused variable warnings on 'val' and use builtin_expect.
13189 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13190 __builtin_expect.
e9258400
DM
13191 (INLINE_CLONE_SYSCALL): Likewise.
13192
3bd2c723
DM
131932012-03-05 David S. Miller <davem@davemloft.net>
13194
13195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13196
bbb78d03
AS
131972012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13198
884c5db4
AS
13199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13200
bbb78d03
AS
13201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13202 only for |x| >= 40.
13203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13204
1c9f702a 132052012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13206
13207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13208 Replace gettimeofday with __vdso_gettimeofday.
13209
7be16f82
RM
13210 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13211 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13212 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13213
13214 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13215 time with __vdso_time.
13216
ed58a00f
JM
132172012-03-05 Joseph Myers <joseph@codesourcery.com>
13218
13219 * manual/lang.texi (size_t): Note types to which size_t may be
13220 equivalent with the GNU C Library, but do not describe when
13221 differences between them are significant.
13222
30ee4ced
AJ
132232012-03-05 Andreas Jaeger <aj@suse.de>
13224
13225 * sysdeps/i386/fpu/libm-test-ulps: Update.
13226
b7cd39e8
JM
132272012-03-05 Joseph Myers <joseph@codesourcery.com>
13228
13229 [BZ #3976]
13230 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13231 (__ieee754_pow): Save and restore rounding mode and use
13232 round-to-nearest for main computations.
13233 * math/libm-test.inc (pow_test_tonearest): New function.
13234 (pow_test_towardzero): Likewise.
13235 (pow_test_downward): Likewise.
13236 (pow_test_upward): Likewise.
13237 (main): Call the new functions.
13238 * sysdeps/i386/fpu/libm-test-ulps: Update.
13239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13240
13241 [BZ #3976]
13242 * math/libm-test.inc (cosh_test_tonearest): New function.
13243 (cosh_test_towardzero): Likewise.
13244 (cosh_test_downward): Likewise.
13245 (cosh_test_upward): Likewise.
13246 (sinh_test_tonearest): Likewise.
13247 (sinh_test_towardzero): Likewise.
13248 (sinh_test_downward): Likewise.
13249 (sinh_test_upward): Likewise.
13250 (main): Call the new functions.
13251 * sysdeps/i386/fpu/libm-test-ulps: Update.
13252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13253
6c6a98c9
TV
132542012-03-05 Tom de Vries <tom@codesourcery.com>
13255
13256 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13257 default stack guard is set in last bytes.
13258 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13259
21bb2d2e 132602012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13261
21bb2d2e 13262 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13263
21bb2d2e
AJ
13264 [BZ #13656]
13265 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13266 possibly allocate from heap instead of stack.
13267 * stdio-common/bug-vfprintf-nargs.c: New file.
13268 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13269
c6922934
AS
132702012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13271
13272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13273
bc957d53
MP
132742012-03-03 Marek Polacek <polacek@redhat.com>
13275
13276 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13277 * math/math_private.h: Likewise.
13278 * stdlib/tst-strtod.c: Likewise.
13279 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13280 * sysdeps/x86_64/bits/atomic.h: Likewise.
13281
6358490d
DM
132822012-03-02 David S. Miller <davem@davemloft.net>
13283
13284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13288 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13289 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13290 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13291 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13292
01ae168d
RM
132932012-03-02 Roland McGrath <roland@hack.frob.com>
13294
d9a17c07
RM
13295 [BZ #13792]
13296 * manual/examples/README: New file, says the example source files
13297 can be used under GPL>=2.
13298 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13299 line containing just "*/".
13300 * manual/examples/add.c: Add copyright header (GPL>=2).
13301 * manual/examples/argp-ex1.c: Likewise.
13302 * manual/examples/argp-ex2.c: Likewise.
13303 * manual/examples/argp-ex3.c: Likewise.
13304 * manual/examples/argp-ex4.c: Likewise.
13305 * manual/examples/atexit.c: Likewise.
13306 * manual/examples/db.c: Likewise.
13307 * manual/examples/dir.c: Likewise.
13308 * manual/examples/dir2.c: Likewise.
13309 * manual/examples/execinfo.c: Likewise.
13310 * manual/examples/filecli.c: Likewise.
13311 * manual/examples/filesrv.c: Likewise.
13312 * manual/examples/fmtmsgexpl.c: Likewise.
13313 * manual/examples/genpass.c: Likewise.
13314 * manual/examples/inetcli.c: Likewise.
13315 * manual/examples/inetsrv.c: Likewise.
13316 * manual/examples/isockad.c: Likewise.
13317 * manual/examples/longopt.c: Likewise.
13318 * manual/examples/memopen.c: Likewise.
13319 * manual/examples/memstrm.c: Likewise.
13320 * manual/examples/mkfsock.c: Likewise.
13321 * manual/examples/mkisock.c: Likewise.
13322 * manual/examples/mygetpass.c: Likewise.
13323 * manual/examples/pipe.c: Likewise.
13324 * manual/examples/popen.c: Likewise.
13325 * manual/examples/rprintf.c: Likewise.
13326 * manual/examples/search.c: Likewise.
13327 * manual/examples/select.c: Likewise.
13328 * manual/examples/setjmp.c: Likewise.
13329 * manual/examples/sigh1.c: Likewise.
13330 * manual/examples/sigusr.c: Likewise.
13331 * manual/examples/stpcpy.c: Likewise.
13332 * manual/examples/strdupa.c: Likewise.
13333 * manual/examples/strftim.c: Likewise.
13334 * manual/examples/strncat.c: Likewise.
13335 * manual/examples/subopt.c: Likewise.
13336 * manual/examples/swapcontext.c: Likewise.
13337 * manual/examples/termios.c: Likewise.
13338 * manual/examples/testopt.c: Likewise.
13339 * manual/examples/testpass.c: Likewise.
13340 * manual/examples/timeval_subtract.c: Likewise.
13341
01ae168d
RM
13342 [BZ #13792]
13343 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13344 function to ...
13345 * manual/timeval_subtract.c.texi: ... here, new file.
13346
49efa33d
DM
133472012-03-02 David S. Miller <davem@davemloft.net>
13348
13349 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13350
28afd92d
JM
133512012-03-02 Joseph Myers <joseph@codesourcery.com>
13352
804360ed
JM
13353 [BZ #3976]
13354 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13355 (__sin): Save and restore rounding mode and use round-to-nearest
13356 for all computations.
13357 (__cos): Save and restore rounding mode and use round-to-nearest
13358 for all computations.
13359 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13360 <fenv.h>.
13361 (tan): Save and restore rounding mode and use round-to-nearest for
13362 all computations.
13363 * math/libm-test.inc (cos_test_tonearest): New function.
13364 (cos_test_towardzero): Likewise.
13365 (cos_test_downward): Likewise.
13366 (cos_test_upward): Likewise.
13367 (sin_test_tonearest): Likewise.
13368 (sin_test_towardzero): Likewise.
13369 (sin_test_downward): Likewise.
13370 (sin_test_upward): Likewise.
13371 (tan_test_tonearest): Likewise.
13372 (tan_test_towardzero): Likewise.
13373 (tan_test_downward): Likewise.
13374 (tan_test_upward): Likewise.
13375 (main): Call the new functions.
13376 * sysdeps/i386/fpu/libm-test-ulps: Update.
13377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13378
a6d06d7b
JM
13379 [BZ #10135]
13380 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13381 small n, then large n, before computing and testing k+n.
13382 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13384 Likewise.
13385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13386 Likewise.
13387 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13388 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13389 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13390 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13392 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13393 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13394 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13395 * math/libm-test.inc (scalbn_test): Add more tests.
13396 (scalbln_test): Likewise.
13397
07e12bb3
JM
13398 * manual/filesys.texi (mode_t): Describe constraints on size and
13399 signedness, not exact equivalence to a particular type.
13400 (ino_t): Likewise.
13401 (ino64_t): Likewise.
13402 (dev_t): Likewise.
13403 (nlink_t): Likewise.
13404 (blkcnt_t): Likewise.
13405 (blkcnt64_t): Likewise.
13406 * manual/llio.texi (off_t): Likewise.
13407
28afd92d
JM
13408 [BZ #3976]
13409 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13410 (__ieee754_exp): Save and restore rounding mode and use
13411 round-to-nearest for all computations.
13412 * math/libm-test.inc (exp_test_tonearest): New function.
13413 (exp_test_towardzero): Likewise.
13414 (exp_test_downward): Likewise.
13415 (exp_test_upward): Likewise.
13416 (main): Call the new functions.
13417 * sysdeps/i386/fpu/libm-test-ulps: Update.
13418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13419
b1eeb65d
CD
134202012-03-01 Chris Demetriou <cgd@google.com>
13421
13422 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13423 have predictable order.
13424
53362a4b
DM
134252012-03-01 David S. Miller <davem@davemloft.net>
13426
3c969083
DM
13427 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13428
759707de
DM
13429 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13430 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13431 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13432 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13433
dfdb8ff2
DM
13434 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13435 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13436 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13438 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13439 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13440 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13441 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13442 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13443
ead89f96
DM
13444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13445
7f66bd07
DM
13446 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13447 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13448 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13449
53362a4b
DM
13450 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13451 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13452 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13453 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13454 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13455 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13456 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13457 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13458 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13459 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13460 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13461 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13462 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13463 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13464 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13466 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13467 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13468 * sysdeps/sparc/elf/configure: Regenerated.
13469
7b1902cb
JM
134702012-03-01 Joseph Myers <joseph@codesourcery.com>
13471
bec039bc
JM
13472 * configure.in (AS, LD): Require binutils 2.20 or later.
13473 * configure: Regenerated.
13474 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13475 as required minimum version.
13476 * INSTALL: Regenerated.
13477
7b1902cb
JM
13478 [BZ #2541]
13479 [BZ #4108]
13480 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13481 before squaring exponent.
13482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13483 bottom long double and 27 bits of top long double before squaring
13484 exponent.
13485 * math/libm-test.inc (erfc_test): Add more tests.
13486 * sysdeps/i386/fpu/libm-test-ulps: Update.
13487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13489
f775c276
KT
134902012-03-01 Kai Tietz <ktietz@redhat.com>
13491
13492 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13493 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13494 containing bit-fields.
13495 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13496 * soft-fp/single.h (_FP_UNION_S): Likewise.
13497 * soft-fp/double.h (_FP_UNION_D): Likewise.
13498
5b8a4d4a
JM
134992012-02-29 Joseph Myers <joseph@codesourcery.com>
13500
0bab47b6
JM
13501 [BZ #13786]
13502 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13503 not include ../strcmp.S.
13504 [USE_AS_STRNCASECMP_L]: Likewise.
13505 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13506 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13507 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13508 (__strncasecmp_l_ia32): Define as alias to
13509 __strncasecmp_l_nonascii.
13510
0fcad3e2
JM
13511 [BZ #5794]
13512 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13513 * sysdeps/i386/fpu/libm-test-ulps: Update.
13514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13515
5b8a4d4a
JM
13516 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13518
8fdceb2e
JL
135192012-02-29 Jeff Law <law@redhat.com>
13520
13521 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13522 out of bounds read.
13523
1f393a11
MP
135242012-02-29 Marek Polacek <polacek@redhat.com>
13525
13526 [BZ #13706]
13527 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13528 * elf/Makefile: Add rules to run tst-unused-dep.out.
13529
8847f037
DM
135302012-02-28 David S. Miller <davem@davemloft.net>
13531
13532 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13533 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13534 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13535 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13536 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13537 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13538
169d7f11
JM
135392012-02-29 Joseph Myers <joseph@codesourcery.com>
13540
13541 * math/libm-test.inc (llround_test): Move one test from
13542 lround_test. Use TEST_f_L in moved test.
13543 (lround_test): Move misplaced test to llround_test. Add testcase
13544 from bug 2561.
13545
39adf059
UD
135462012-02-28 Ulrich Drepper <drepper@gmail.com>
13547
13548 * sysdeps/x86_64/fpu/e_expf.S: New file.
13549 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13550
71b5d1c5
SB
135512012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13552
13553 [BZ #13637]
13554 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13555 of remain_len that may cause incomplete multi-byte character and
13556 false match.
13557 * posix/bug-regex33.c: New file.
13558 * posix/Makefile (tests): Add bug-regex33.
13559
1f77f049
JM
135602012-02-28 Joseph Myers <joseph@codesourcery.com>
13561
13562 * manual/macros.texi: New file.
13563 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13564 * manual/libc.texinfo: Include macros.texi.
13565 * manual/creatute.texi: Likewise.
13566 * manual/install.texi: Likewise.
13567 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13568 @glibcadj{} in references to the GNU C Library.
13569 * manual/charset.texi: Likewise.
13570 * manual/conf.texi: Likewise.
13571 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13572 when not using those macros.
13573 * manual/creature.texi: Likewise.
13574 * manual/crypt.texi: Likewise.
13575 * manual/errno.texi: Likewise.
13576 * manual/filesys.texi: Likewise.
13577 * manual/header.texi: Likewise.
13578 * manual/install.texi: Likewise.
13579 * manual/intro.texi: Likewise.
13580 * manual/io.texi: Likewise.
13581 * manual/job.texi: Likewise.
13582 * manual/lang.texi: Likewise.
13583 * manual/libc.texiinfo: Likewise.
13584 * manual/llio.texi: Likewise.
13585 * manual/locale.texi: Likewise.
13586 * manual/maint.texi: Likewise.
13587 * manual/math.texi: Likewise.
13588 * manual/memory.texi: Likewise.
13589 * manual/message.texi: Likewise.
13590 * manual/nss.texi: Likewise.
13591 * manual/pattern.texi: Likewise.
13592 * manual/process.texi: Likewise.
13593 * manual/resource.texi: Likewise.
13594 * manual/search.texi: Likewise.
13595 * manual/setjmp.texi: Likewise.
13596 * manual/signal.texi: Likewise.
13597 * manual/socket.texi: Likewise.
13598 * manual/startup.texi: Likewise.
13599 * manual/stdio.texi: Likewise.
13600 * manual/string.texi: Likewise.
13601 * manual/sysinfo.texi: Likewise.
13602 * manual/syslog.texi: Likewise.
13603 * manual/terminal.texi: Likewise.
13604 * manual/time.texi: Likewise.
13605 * manual/users.texi: Likewise.
13606 * INSTALL: Regenerated.
13607 * NOTES: Regenerated.
d40c5d54 13608 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 13609
450bf206
AS
136102012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13611
13612 * include/dirent.h: Include <dirstream.h> before
13613 <dirent/dirent.h>.
13614
741a235b
DM
136152012-02-28 David S. Miller <davem@davemloft.net>
13616
13617 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13618 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13619 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13620 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13621
d6b5aa58
DM
136222012-02-27 David S. Miller <davem@davemloft.net>
13623
1aff59a3
DM
13624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13626 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13627 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13628
d6b5aa58
DM
13629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13630 frame pointer instead of stack pointer relative arg slot.
13631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13632 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13633 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13634
433f48bf
CD
136352012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13636
13637 [BZ #3992]
13638 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13639
d674b76d
DM
136402012-02-27 David S. Miller <davem@davemloft.net>
13641
13642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13646 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13647 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13648 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13649 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13650
0e7727f7
JM
136512012-02-27 Joseph Myers <joseph@codesourcery.com>
13652
13653 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13654 later. Allow versions 5-9.
43be4ca2 13655 * configure: Regenerated.
0e7727f7
JM
13656 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13657 required minimum version and 4.6 as recommended version. Do not
13658 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13659 * INSTALL: Regenerated.
0e7727f7 13660
a78bc654
DM
136612012-02-27 David S. Miller <davem@davemloft.net>
13662
428d5830
DM
13663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13667 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13668 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13669 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13670 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13671
a78bc654
DM
13672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13673 manipulate bits before adding and subtracting TWO112[sx].
13674 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13675
4579f81c
RM
136762012-02-27 Roland McGrath <roland@hack.frob.com>
13677
36c8acb4
RM
13678 [BZ #13775]
13679 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13680 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13681 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13682 being in POSIX, because they are in 1003.1-2008.
13683
84ad622b
RM
13684 * rt/tst-aio.c: Include <fcntl.h>.
13685 * rt/tst-aio7.c: Likewise.
13686 * rt/tst-aio64.c: Likewise.
13687
4579f81c
RM
13688 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13689
abd923db
JM
136902012-02-27 Joseph Myers <joseph@codesourcery.com>
13691
13692 * manual/install.texi (--with-headers): Describe headers as
13693 interface headers, not private headers.
13694 (Specific advice for GNU/Linux systems): Describe use of headers
13695 from "make headers_install", not private headers from older
13696 kernels.
43be4ca2 13697 * INSTALL: Regenerated.
abd923db
JM
13698 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13699 Change to 2.6.19.
13700 * sysdeps/unix/sysv/linux/configure: Regenerated.
13701
6664049b
JM
13702 * manual/llio.texi (fclean): Remove documentation.
13703
bb8b6697
JM
13704 * manual/Makefile (libc-texi-generated): New variable. Include
13705 version.texi.
13706 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13707 $(libc-texi-generated), not duplicated list of files.
13708 (version.texi, stamp-version): New rules.
13709 (realclean): Remove $(libc-texi-generated), not individual files
13710 from that list. Do not remove dir-add.texinfo.
13711 * manual/libc.texinfo: Comment out uses of edition numbers and
13712 references to printed manual. Remove last-updated dates.
13713 (EDITION): Comment out.
13714 (ISBN): Likewise.
13715 (VERSION, UPDATED): Remove.
13716 (version.texi): Include.
13717
12e5c3b9
AS
137182012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13719
13720 * sysdeps/posix/spawni.c: Include <signal.h>.
13721 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13722 * sysdeps/pthread/aio_fsync.c: Likewise.
13723
4efeffc1 137242012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13725
ba63ba08
UD
13726 * conform/Makefile (tests): Run only when not cross-compiling and
13727 when fast-check is not defined.
13728
d94a4670
UD
13729 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13730 * conform/data/limits.h-data: Fixes for POSIX2008.
13731 * conform/run-conformtest.sh: Run all tests.
13732 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13733 headers.
13734 * include/bits/dlfcn.h: Likewise.
13735 * include/langinfo.h: Likewise.
13736 * include/monetary.h: Likewise.
13737 * include/sys/poll.h: Likewise.
13738
13739 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13740 for __USE_GNU.
13741 * posix/spawn.h: Define __need_sigset_t.
13742 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13743 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13744 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13745 to get sigevent_t only.
13746 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13747 only for __USE_GNU.
13748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13749 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13750 process_vm_writev only for __USE_GNU.
13751 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13752
13753 * conform/Makefile: For now ignore errors from run-conformtest.
13754 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13755 POSIX to avoid namespace pollution. Don't prepend headers.
13756 * conform/data/aio.h-data: Fixes for POSIX testing.
13757 * conform/data/fcntl.h-data: Likewise.
13758 * conform/data/glob.h-data: Likewise.
13759 * conform/data/grp.h-data: Likewise.
13760 * conform/data/pthread.h-data: Likewise.
13761 * conform/data/pwd.h-data: Likewise.
13762 * conform/data/signal.h-data: Likewise.
13763 * conform/data/spawn.h-data: Likewise.
13764 * conform/data/stdio.h-data: Likewise.
13765 * conform/data/stdlib.h-data: Likewise.
13766 * conform/data/stropts.h-data: Likewise.
13767 * conform/data/sys/mman.h-data: Likewise.
13768 * conform/data/sys/stat.h-data: Likewise.
13769 * conform/data/sys/types.h-data: Likewise.
13770 * conform/data/sys/wait.h-data: Likewise.
13771 * conform/data/time.h-data: Likewise.
13772 * conform/data/unistd.h-data: Likewise.
13773 * conform/data/utime.h-data: Likewise.
13774
13775 * io/sys/stat.h: fchmod was always in POSIX.
13776 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13777 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13778 * rt/aio.h: Define __need_timespec before including <time.h>.
13779 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13780 struct. Add forward declaration of pthread_attr_t and use it in
13781 sigevent.
13782 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13783 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13784 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13785 always remove CLK_TCK definition.
13786
c20105c3
AS
137872012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13788
13789 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13790
7a270350
UD
137912012-02-25 Ulrich Drepper <drepper@gmail.com>
13792
31341567
UD
13793 * conform/run-conformtest.sh: New file.
13794 * conform/Makefile: Run run-conformtest for tests.
13795 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13796 support.
13797
13798 * conform/data/uchar.h-data: New file.
13799 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13800 * conform/data/arpa/inet.h-data: Likewise.
13801 * conform/data/assert.h-data: Likewise.
13802 * conform/data/complex.h-data: Likewise.
13803 * conform/data/cpio.h-data: Likewise.
13804 * conform/data/ctype.h-data: Likewise.
13805 * conform/data/dirent.h-data: Likewise.
13806 * conform/data/dlfcn.h-data: Likewise.
13807 * conform/data/errno.h-data: Likewise.
13808 * conform/data/fcntl.h-data: Likewise.
13809 * conform/data/float.h-data: Likewise.
13810 * conform/data/fmtmsg.h-data: Likewise.
13811 * conform/data/fnmatch.h-data: Likewise.
13812 * conform/data/ftw.h-data: Likewise.
13813 * conform/data/glob.h-data: Likewise.
13814 * conform/data/grp.h-data: Likewise.
13815 * conform/data/iconv.h-data: Likewise.
13816 * conform/data/inttypes.h-data: Likewise.
13817 * conform/data/langinfo.h-data: Likewise.
13818 * conform/data/libgen.h-data: Likewise.
13819 * conform/data/limits.h-data: Likewise.
13820 * conform/data/locale.h-data: Likewise.
13821 * conform/data/math.h-data: Likewise.
13822 * conform/data/monetary.h-data: Likewise.
13823 * conform/data/mqueue.h-data: Likewise.
13824 * conform/data/ndbm.h-data: Likewise.
13825 * conform/data/net/if.h-data: Likewise.
13826 * conform/data/netdb.h-data: Likewise.
13827 * conform/data/netinet/in.h-data: Likewise.
13828 * conform/data/nl_types.h-data: Likewise.
13829 * conform/data/poll.h-data: Likewise.
13830 * conform/data/pthread.h-data: Likewise.
13831 * conform/data/pwd.h-data: Likewise.
13832 * conform/data/regex.h-data: Likewise.
13833 * conform/data/sched.h-data: Likewise.
13834 * conform/data/search.h-data: Likewise.
13835 * conform/data/semaphore.h-data: Likewise.
13836 * conform/data/setjmp.h-data: Likewise.
13837 * conform/data/signal.h-data: Likewise.
13838 * conform/data/spawn.h-data: Likewise.
13839 * conform/data/stdarg.h-data: Likewise.
13840 * conform/data/stdio.h-data: Likewise.
13841 * conform/data/stdlib.h-data: Likewise.
13842 * conform/data/string.h-data: Likewise.
13843 * conform/data/strings.h-data: Likewise.
13844 * conform/data/stropts.h-data: Likewise.
13845 * conform/data/sys/ipc.h-data: Likewise.
13846 * conform/data/sys/mman.h-data: Likewise.
13847 * conform/data/sys/msg.h-data: Likewise.
13848 * conform/data/sys/resource.h-data: Likewise.
13849 * conform/data/sys/select.h-data: Likewise.
13850 * conform/data/sys/sem.h-data: Likewise.
13851 * conform/data/sys/shm.h-data: Likewise.
13852 * conform/data/sys/socket.h-data: Likewise.
13853 * conform/data/sys/stat.h-data: Likewise.
13854 * conform/data/sys/statvfs.h-data: Likewise.
13855 * conform/data/sys/time.h-data: Likewise.
13856 * conform/data/sys/timeb.h-data: Likewise.
13857 * conform/data/sys/times.h-data: Likewise.
13858 * conform/data/sys/types.h-data: Likewise.
13859 * conform/data/sys/uio.h-data: Likewise.
13860 * conform/data/sys/un.h-data: Likewise.
13861 * conform/data/sys/utsname.h-data: Likewise.
13862 * conform/data/sys/wait.h-data: Likewise.
13863 * conform/data/syslog.h-data: Likewise.
13864 * conform/data/tar.h-data: Likewise.
13865 * conform/data/termios.h-data: Likewise.
13866 * conform/data/utime.h-data: Likewise.
13867 * conform/data/utmpx.h-data: Likewise.
13868 * conform/data/varargs.h-data: Likewise.
13869 * conform/data/wchar.h-data: Likewise.
13870 * conform/data/wctype.h-data: Likewise.
13871 * conform/data/wordexp.h-data: Likewise.
13872
13873 * include/stropts.h: New file.
13874 * include/uchar.h: New file.
13875 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13876 * include/assert.h: Likewise.
13877 * include/ctype.h: Likewise.
13878 * include/dirent.h: Likewise.
13879 * include/dlfcn.h: Likewise.
13880 * include/fcntl.h: Likewise.
13881 * include/fnmatch.h: Likewise.
13882 * include/glob.h: Likewise.
13883 * include/grp.h: Likewise.
13884 * include/libio.h: Likewise.
13885 * include/locale.h: Likewise.
13886 * include/math.h: Likewise.
13887 * include/net/if.h: Likewise.
13888 * include/netdb.h: Likewise.
13889 * include/netinet/in.h: Likewise.
13890 * include/pthread.h: Likewise.
13891 * include/pwd.h: Likewise.
13892 * include/regex.h: Likewise.
13893 * include/sched.h: Likewise.
13894 * include/search.h: Likewise.
13895 * include/setjmp.h: Likewise.
13896 * include/signal.h: Likewise.
13897 * include/stdio.h: Likewise.
13898 * include/stdlib.h: Likewise.
13899 * include/string.h: Likewise.
13900 * include/sys/cdefs.h: Likewise.
13901 * include/sys/mman.h: Likewise.
13902 * include/sys/msg.h: Likewise.
13903 * include/sys/resource.h: Likewise.
13904 * include/sys/select.h: Likewise.
13905 * include/sys/socket.h: Likewise.
13906 * include/sys/stat.h: Likewise.
13907 * include/sys/statvfs.h: Likewise.
13908 * include/sys/time.h: Likewise.
13909 * include/sys/times.h: Likewise.
13910 * include/sys/uio.h: Likewise.
13911 * include/sys/utsname.h: Likewise.
13912 * include/sys/wait.h: Likewise.
13913 * include/termios.h: Likewise.
13914 * include/time.h: Likewise.
13915 * include/ulimit.h: Likewise.
13916 * include/unistd.h: Likewise.
13917 * include/utime.h: Likewise.
13918 * include/wchar.h: Likewise.
13919 * include/wctype.h: Likewise.
13920 * include/wordexp.h: Likewise.
13921
13922 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13923
7a270350
UD
13924 * time/time.h: TIME_UTC must be a macro.
13925 Make timespec_get available for ISO C11 only as well.
13926
7724defc
UD
139272012-02-24 Ulrich Drepper <drepper@gmail.com>
13928
13929 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13930 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13931
6b1d1d46
JM
139322012-02-24 Joseph Myers <joseph@codesourcery.com>
13933
13934 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 13935
0f8bbd69
JM
139362012-02-24 Joseph Myers <joseph@codesourcery.com>
13937
13938 * manual/texinfo.tex: Update to version 2012-01-19.16.
13939
66ab80bc
JM
139402012-02-24 Joseph Myers <joseph@codesourcery.com>
13941
13942 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13943
74981cc5
RM
139442012-02-24 Roland McGrath <roland@hack.frob.com>
13945
ee968201
RM
13946 [BZ #13738]
13947 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13948 * manual/fdl-1.3.texi: New file.
13949 * manual/fdl-1.1.texi: File removed.
13950
74981cc5
RM
13951 [BZ #13738]
13952 * manual/libc.texinfo (FDL_VERSION): New @set.
13953 Use it for mention of FDL in cover text.
13954 (Documentation License): Use it in @include file name.
13955
7bb764bc
JM
139562012-02-22 Joseph Myers <joseph@codesourcery.com>
13957 Roland McGrath <roland@hack.frob.com>
13958
13959 [BZ #5461]
13960 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13961 not LONG_LONG_MAX and LONG_LONG_MIN.
13962 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13963 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13964 name.
13965 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13966
6cbeae47
JM
139672012-02-22 Joseph Myers <joseph@codesourcery.com>
13968
13969 [BZ #2547]
13970 [BZ #11365]
13971 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13972 manipulate bits before adding and subtracting TWO23[sx].
13973 * math/libm-test.inc (nearbyint_test): Add more tests.
13974
fe45ce09
JM
139752012-02-22 Joseph Myers <joseph@codesourcery.com>
13976
13977 [BZ #2548]
13978 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13979 bits before adding and subtracting TWO23[sx].
13980 * math/libm-test.inc (rint_test): Add more tests.
13981 (rint_test_tonearest): Likewise.
13982 (rint_test_towardzero): Likewise.
13983 (rint_test_downward): Likewise.
13984 (rint_test_upward: Likewise.
13985
ff3b3d82
JM
139862012-02-22 Joseph Myers <joseph@codesourcery.com>
13987
13988 [BZ #10110]
13989 * include/stdc-predef.h: New file. Extracted from features.h.
13990 * include/features.h: Include stdc-predef.h.
13991 * Makefile (headers): Add stdc-predef.h.
13992 * CONFORMANCE (Compiler limitations): Update.
13993
ef0aab35
JM
139942012-02-22 Joseph Myers <joseph@codesourcery.com>
13995
13996 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13997
58639409
DM
139982012-02-21 David S. Miller <davem@davemloft.net>
13999
14000 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14001 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14002
c0e70b25
DM
140032012-02-20 David S. Miller <davem@davemloft.net>
14004
14005 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14006 using a normal save/restore sequence, rather than allocating a
14007 dummy stack frame just to store a frame pointer and restore.
14008 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14009
fb06851d
JM
140102012-02-21 Joseph Myers <joseph@codesourcery.com>
14011
14012 * manual/install.texi: Fix stray word in line-wrapped comment.
14013
7a8b71c3
DM
140142012-02-20 David S. Miller <davem@davemloft.net>
14015
d510c123
DM
14016 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14017 both binutils and gcc support GOTDATA.
14018
0722d7c2
DM
14019 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14020 "rd %pc" in the PIC register setup sequences.
14021
3d2b3019
DM
14022 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14023 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14024 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14025 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14026 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14029 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14031 (SYSCALL_ERROR_HANDLER): Likewise.
14032 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14033 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14035 (SYSCALL_ERROR_HANDLER): Likewise.
14036
c80098a9
DM
14037 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14038 (HAVE_GCC_GOTDATA): New.
14039 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14040 relocation support in both binutils and gcc.
14041 * sysdeps/sparc/elf/configure: Regenerate.
14042
3a2545a0
DM
14043 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14044 * sysdeps/sparc/sparc32/elf/configure: Delete.
14045 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14046 * sysdeps/sparc/sparc64/elf/configure: Delete.
14047 * sysdeps/sparc/elf/configure.in: New file.
14048 * sysdeps/sparc/elf/configure: Generate.
14049
7a8b71c3
DM
14050 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14051 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14052 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14053 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14054 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14055
f1e86fca
JM
140562012-02-21 Joseph Myers <joseph@codesourcery.com>
14057
14058 * manual/install.texi: Do not mention specific glibc version
14059 numbers.
14060 * manual/libc.texinfo (VERSION, UPDATED): Update.
14061 (@copying): Use @copyright{} and range of years.
14062
0e7dfaef
JM
140632012-02-21 Joseph Myers <joseph@codesourcery.com>
14064
14065 [BZ #13695]
14066 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14067 [crti.S not in sysdirs] (generated): Do not append.
14068 [crti.S not in sysdirs] (omit-deps): Likewise.
14069 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14070 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14071 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14072 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14073 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14074 Likewise.
14075 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14076 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14077 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14078 * csu/defs.awk: Remove file.
14079 * sysdeps/generic/initfini.c: Likewise.
14080 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14081 variable.
14082 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14083 Likewise.
14084
599af3ca
JM
140852012-02-20 Joseph Myers <joseph@codesourcery.com>
14086
14087 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14088 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14089 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14091 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14092 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14093 <bits/epoll.h>.
14094 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14095 (__EPOLL_PACKED): Define to empty if not defined by
14096 <bits/epoll.h>.
14097 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14099 bits/epoll.h.
14100
0e499750
JM
141012012-02-20 Joseph Myers <joseph@codesourcery.com>
14102
14103 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14104 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14105 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14106 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14107 <bits/timerfd.h>.
14108 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14110 bits/timerfd.h.
14111
5ad91f6e
JM
141122012-02-20 Joseph Myers <joseph@codesourcery.com>
14113
14114 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14115 in C locale.
14116 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14117 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14118 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14120
06b99b02
AJ
141212012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14122
14123 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14124 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14125
7638c0fd
AS
141262012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14127
14128 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14129 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14130 defined.
14131 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14132 Likewise.
14133 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14134 entry for 2.16.
14135
92221550
AJ
141362012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14137
14138 * math/w_acos.c: Use non-signaling floating-point comparisons.
14139 * math/w_acosf.c: Likewise.
14140 * math/w_acosh.c: Likewise.
14141 * math/w_acoshf.c: Likewise.
14142 * math/w_acoshl.c: Likewise.
14143 * math/w_acosl.c: Likewise.
14144 * math/w_asin.c: Likewise.
14145 * math/w_asinf.c: Likewise.
14146 * math/w_asinl.c: Likewise.
14147 * math/w_atanh.c: Likewise.
14148 * math/w_atanhf.c: Likewise.
14149 * math/w_atanhl.c: Likewise.
14150 * math/w_exp2.c: Likewise.
14151 * math/w_exp2f.c: Likewise.
14152 * math/w_exp2l.c: Likewise.
14153 * math/w_j0.c: Likewise.
14154 * math/w_j0f.c: Likewise.
14155 * math/w_j0l.c: Likewise.
14156 * math/w_j1.c: Likewise.
14157 * math/w_j1f.c: Likewise.
14158 * math/w_j1l.c: Likewise.
14159 * math/w_jn.c: Likewise.
14160 * math/w_jnf.c: Likewise.
14161 * math/w_log.c: Likewise.
14162 * math/w_log10.c: Likewise.
14163 * math/w_log10f.c: Likewise.
14164 * math/w_log10l.c: Likewise.
14165 * math/w_log2.c: Likewise.
14166 * math/w_log2f.c: Likewise.
14167 * math/w_log2l.c: Likewise.
14168 * math/w_logf.c: Likewise.
14169 * math/w_logl.c: Likewise.
14170 * math/w_sqrt.c: Likewise.
14171 * math/w_sqrtf.c: Likewise.
14172 * math/w_sqrtl.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14175 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14176 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14177 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14178
ebaf36eb
JM
141792012-02-19 Joseph Myers <joseph@codesourcery.com>
14180
14181 [BZ #9739]
14182 * manual/string.texi (strnlen): Use correct parameter name in
14183 equivalent expression.
14184
71c254a6
JM
141852012-02-19 Joseph Myers <joseph@codesourcery.com>
14186
14187 [BZ #11174]
14188 * manual/users.texi (seteuid): Consistently use neweuid for
14189 argument name.
14190
16d2c631
JM
141912012-02-19 Joseph Myers <joseph@codesourcery.com>
14192
14193 [BZ #13704]
14194 * manual/nss.texi (Services in the NSS configuration): Correct
14195 list of services in example configuration file.
14196
cd837b09
NB
141972012-02-19 Nick Bowler <nbowler@draconx.ca>
14198
14199 [BZ #11322]
14200 * manual/arith.texi: Remove statements about negative zero
14201 behaving identically to zero.
14202
02c4bbad
JM
142032012-02-18 Joseph Myers <joseph@codesourcery.com>
14204
14205 [BZ #5993]
14206 * manual/install.texi: Do not document upgrading from libc5.
14207
366842e7
JM
142082012-02-18 Joseph Myers <joseph@codesourcery.com>
14209
14210 [BZ #4596]
14211 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14212
dd54084d
DM
142132012-02-18 David S. Miller <davem@davemloft.net>
14214
14215 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14216 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14217 %o7 across the call.
14218 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14219 instead.
14220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14221 SETUP_PIC_REG_LEAF.
14222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14223 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14224 * sysdeps/sparc/crtn.S: Likewise.
14225
2bcc53a3
UD
142262012-02-17 Ulrich Drepper <drepper@gmail.com>
14227
14228 * aout/Makefile: Remove.
14229
09c093b5
RK
142302012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14231
14232 [BZ #13058]
14233 * manual/examples/argp-ex1.c (main): Format definition in GNU
14234 style.
14235 * manual/examples/argp-ex2.c (main): Likewise.
14236 * manual/examples/argp-ex3.c (main): Likewise.
14237 * manual/examples/argp-ex4.c (main): Likewise.
14238 * manual/examples/longopt.c (main): Use new-style prototype
14239 definition.
14240 * manual/examples/strncat.c (main): Specify return type and use
14241 (void) for arguments.
14242 * manual/examples/subopt.c (main): Use char **argv argument.
14243
2ee633a2
JM
142442012-02-17 Joseph Myers <joseph@codesourcery.com>
14245
14246 [BZ #5077]
14247 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14248 rounding modes.
14249
0520adde
FB
142502012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14251
14252 [BZ #6907]
14253 * manual/string.texi (strchr): Change when strchrnul is
14254 recommended.
14255
3f4081cd
DGM
142562012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14257
14258 [BZ #174]
14259 * manual/locale.texi (setlocale): Document LOCPATH.
14260
d1b10e78
JM
142612012-02-17 Joseph Myers <joseph@codesourcery.com>
14262
14263 [BZ #10210]
14264 * manual/process.texi (execle): Move @dots{} before last argument.
14265
79c6869c
PB
142662012-02-17 Paul Bolle <pebolle@tiscali.nl>
14267
14268 [BZ #12047]
14269 * manual/charset.texi (Generic Charset Conversion): Fix typo
14270 (LC_TYPE -> LC_CTYPE).
14271
cc6e48bc
NB
142722012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14273
14274 [BZ #5805]
14275 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14276 (scalbnf): Likewise.
14277 (scalbnl): Likewise.
14278 (scalbln): Likewise.
14279 (scalblnf): Likewise.
14280 (scalblnl): Likewise.
14281 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14282 (vwarnx): Likewise.
14283 (verr): Likewise.
14284 (verrx): Likewise.
14285 * manual/filesys.texi (telldir): Use braces around return type.
14286 * manual/llio.texi (mmap): Add space after comma.
14287 (mmap64): Likewise.
14288 * manual/math.texi (jn): Use @var{} on parameter names.
14289 (jnf): Likewise.
14290 (jnl): Likewise.
14291 (yn): Likewise.
14292 (ynf): Likewise.
14293 (ynl): Likewise.
14294 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14295 line.
14296 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14297 "...".
14298 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14299 (sched_get_priority_max): Likewise.
14300 * manual/signal.texi (sigvec): Add space after comma.
14301 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14302 names.
14303 (if_indextoname): Likewise.
14304 (if_freenameindex): Likewise.
14305 (sendto): Use ',' instead of '.' in prototype.
14306 * manual/startup.texi (syscall): Use @dots{} instead of literal
14307 "...".
14308 * manual/stdio.texi (__fpending): Separate initial words of
14309 paragraph from @deftypefun line.
14310 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14311 "...".
14312 (vsyslog): Use @var{} on parameter names.
14313 * manual/terminal.texi (stty): Use @var{} on parameter names.
14314 * manual/users.texi (getutmp): Use @var{} on parameter names.
14315 (getutmpx): Likewise.
14316
5b23062f
JM
143172012-02-17 Joseph Myers <joseph@codesourcery.com>
14318
14319 [BZ #6884]
14320 * manual/stdio.texi (fopen): Fix typos in description of
14321 ",ccs=STRING".
14322
8dee4833
AJ
143232012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14324
14325 [BZ #4026]
14326 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14327 get clock_id definition.
14328
9078ce93
TS
143292012-02-17 Thomas Schwinge <thomas@schwinge.name>
14330
14331 [BZ #4822]
14332 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14333 (madvise): Cast every argument to void on its own.
14334
3835c55f
JM
143352012-02-17 Joseph Myers <joseph@codesourcery.com>
14336
14337 [BZ #9902]
14338 * manual/startup.texi (Exit Status): Fix typo.
14339
35c47e37
JM
143402012-02-17 Joseph Myers <joseph@codesourcery.com>
14341
14342 [BZ #10140]
14343 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14344 * manual/examples/argp-ex2.c: Likewise.
14345 * manual/examples/argp-ex3.c: Likewise.
14346
e3b69ca7
RH
143472012-02-16 Richard Henderson <rth@redhat.com>
14348
14349 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14350 * sysdeps/s390/s390-32/initfini.c: Remove.
14351 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14352 * sysdeps/s390/s390-64/initfini.c: Remove.
14353
df83af67
KK
143542012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14355
14356 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14357 compiler output for sysdeps/generic/initfini.c.
14358 * sysdeps/sh/elf/initfini.c: Remove file.
14359
f63f3380
DM
143602012-02-16 David S. Miller <davem@davemloft.net>
14361
fb59b3a4
DM
14362 [BZ #11494]
14363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14364
f63f3380
DM
14365 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14366 * sysdeps/sparc/crti.S: New file.
14367 * sysdeps/sparc/crtn.S: New file.
14368 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14369 * sysdeps/sparc/sparc64/Makefile: Likewise.
14370
df6a4a4a
MF
143712012-02-15 Mike Frysinger <vapier@gentoo.org>
14372
6dd8f3dc 14373 [BZ #3335]
df6a4a4a
MF
14374 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14375
1cac7236
RM
143762012-02-15 Roland McGrath <roland@hack.frob.com>
14377
d2c736f8
RM
14378 [BZ #4822]
14379 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14380
1cac7236
RM
14381 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14382 (write, read, close): Likewise.
14383 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14384
8e475601
JM
143852012-02-15 Joseph Myers <joseph@codesourcery.com>
14386
14387 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14388 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14389 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14390 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14391 <bits/signalfd.h>.
14392 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14394 bits/signalfd.h.
14395
ed656b40
MP
143962012-02-14 Marek Polacek <polacek@redhat.com>
14397
14398 * sysdeps/x86_64/crti.S: New file.
14399 * sysdeps/x86_64/crtn.S: New file.
14400 * sysdeps/x86_64/elf/initfini.c: Remove file.
14401
2a979d3a
JM
144022012-02-13 Joseph Myers <joseph@codesourcery.com>
14403
14404 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14405 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14406 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14407 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14408 <bits/inotify.h>.
14409 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14411 bits/inotify.h.
14412
2a418ac3
JM
144132012-02-13 Joseph Myers <joseph@codesourcery.com>
14414
14415 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14416 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14417 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14418 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14419 <bits/eventfd.h>.
14420 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14422 bits/eventfd.h.
14423
fb779be7
TS
144242012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14425
e19e83c5
RM
14426 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14427 __feraiseexcept instead of feraiseexcept.
7c35ffed 14428
fb779be7
TS
14429 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14430 nanosleep invocations.
14431 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14432 strings, and add error checking for a nanosleep invocations.
14433
59ba27a6
PE
144342012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14435
14436 Replace FSF snail mail address with URLs, as per GNU coding standards.
14437 Most of the snail mail addresses were wrong anyway, and omitting
14438 them makes the source code easier to maintain. Almost all of the
14439 changes are to license notices and to locale LC_IDENTIFICATION
14440 addresses, except for this one:
14441 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14442 not its snail mail address.
14443
57b957eb
RH
144442012-02-09 Richard Henderson <rth@twiddle.net>
14445
af850b1c
RH
14446 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14447 of kernel-features.h.
14448
57b957eb
RH
14449 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14450
6b73181a
MP
144512012-02-08 Marek Polacek <polacek@redhat.com>
14452
14453 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14454 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14455 * sysdeps/gnu/_G_config.h: Likewise.
14456 * sysdeps/generic/_G_config.h: Likewise.
14457
26ecc33a
AS
144582012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14459
6c6dbc63
AS
14460 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14461 tests.
14462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14463
e216c012
AS
14464 * sysdeps/powerpc/powerpc32/crti.S: New file.
14465 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14466 * sysdeps/powerpc/powerpc64/crti.S: New file.
14467 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14468
26ecc33a
AS
14469 * Makeconfig (have-initfini): Don't set.
14470 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14471 * configure.in (nopic_initfini): Don't substitute.
14472 * config.h.in (HAVE_INITFINI): Don't #undef.
14473 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14474 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14475
3add8e13
JM
144762012-02-08 Joseph Myers <joseph@codesourcery.com>
14477
14478 Support crti.S and crtn.S provided directly by architectures.
14479 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14480 [crti.S in sysdirs] (omit-deps): Likewise.
14481 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14482 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14483 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14484 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14485 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14486 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14487 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14488 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14489 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14490 compiler output for sysdeps/generic/initfini.c.
14491 * sysdeps/i386/elf/Makefile: Remove file.
14492 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14493
a22f12b4
MP
144942012-02-07 Marek Polacek <polacek@redhat.com>
14495
14496 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14497 * sysdeps/gnu/_G_config.h: Likewise.
14498 * sysdeps/mach/hurd/_G_config.h: Likewise.
14499
148cf100
MP
145002012-02-07 Marek Polacek <polacek@redhat.com>
14501
14502 * math/Makefile (tests): Add tst-CMPLX2.
14503 * math/tst-CMPLX2.c: New file.
14504
cfdc0dd7
AS
145052012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14506
84ba42c4
AS
14507 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14508
cfdc0dd7
AS
14509 * math/libm-test.inc (jn_test): Add missing L suffix.
14510
622c86f4
MP
145112012-02-06 Marek Polacek <polacek@redhat.com>
14512
14513 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14514 * sysdeps/i386/fpu/e_powf.S: Likewise.
14515 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14516 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14517 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14518 * sysdeps/i386/fpu/e_pow.S: Likewise.
14519 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14520 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14521 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14522 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14523 * sysdeps/i386/fpu/e_log2.S: Likewise.
14524 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14525 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14526 * sysdeps/i386/fpu/e_powl.S: Likewise.
14527 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14528 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14529 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14530 * sysdeps/i386/fpu/e_logl.S: Likewise.
14531 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14532 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14533 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14534 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14535 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14536 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14537 * sysdeps/i386/fpu/e_log.S: Likewise.
14538 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14539 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14540 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14541 * sysdeps/i386/fpu/e_logf.S: Likewise.
14542 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14543 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14544 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14545 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14546 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14547 * sysdeps/i386/fpu/e_log10.S: Likewise.
14548 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14549 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14550 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14551 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14552 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14553 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14554 * sysdeps/i386/asm-syntax.h: Likewise.
14555 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14556 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14557 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14558 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14559 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14560 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14561 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14562 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14563 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14564 * sysdeps/powerpc/sysdep.h: Likewise.
14565 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14566 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14567
d4a54ac6
JM
145682012-02-06 Joseph Myers <joseph@codesourcery.com>
14569
14570 [BZ #411]
14571 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14572
314054ea
JM
145732012-02-06 Joseph Myers <joseph@codesourcery.com>
14574
14575 * sysdeps/i386/sysdep.h: Include <features.h>.
14576 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14577 version.
14578
d8e0ca50
JM
145792012-02-05 Joseph Myers <joseph@codesourcery.com>
14580
14581 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14582 Define.
14583 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14584 LOAD_PIC_REG_STR.
14585
b1da7dd9
JM
145862012-02-03 Joseph Myers <joseph@codesourcery.com>
14587
14588 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14589 (SETUP_PIC_REG): Use GET_PC_THUNK.
14590 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14591 macro.
14592
9a1d9254
JM
145932012-02-03 Joseph Myers <joseph@codesourcery.com>
14594
14595 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14596 for non-PIC compilation.
14597 (SETUP_PIC_REG): Add .p2align directive.
14598 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14599 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14600 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14601 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14602 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14603 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14604 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14605 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14606 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14607 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14608 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14609 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14610 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14611 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14612 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14613 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14614 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14615 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14616 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14617 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14618 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14620 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14621 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14622 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14624 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14626 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14627 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14628 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14629 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14630 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14631 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14632 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14633 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14634 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14635 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14636 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14637 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14638 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14639
65dc3b75
JM
146402012-02-03 Joseph Myers <joseph@codesourcery.com>
14641
14642 * math/tst-CMPLX.c: Include <stdio.h>.
14643
d55bf177
JM
146442012-01-31 Joseph Myers <joseph@codesourcery.com>
14645
14646 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14647 float.
14648 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14649 * sysdeps/sparc/bits/mathdef.h: Likewise.
14650
69db4f8f
MP
146512012-01-31 Marek Polacek <polacek@redhat.com>
14652
14653 * libio/libio.h: Don't define _PARAMS.
14654 * locale/programs/config.h: Don't define PARAMS.
14655 * stdlib/strtol_l.c: Likewise.
14656 (__strtol_l): Remove PARAMS from the prototype.
14657
41b81892
UD
146582012-01-31 Ulrich Drepper <drepper@gmail.com>
14659
3b49edc0
UD
14660 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14661 names. Just use the correct names. Remove unnecessary wrapper
14662 functions.
14663 * malloc/arena.c: Likewise.
14664 * malloc/hooks.c: Likewise.
14665
41b81892
UD
14666 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14667 ARENA_TEST says not to. Simplify test for creation of a new arena.
14668 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14669
27a25b6e
UD
146702012-01-30 Ulrich Drepper <drepper@gmail.com>
14671
14672 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14673 into tail calls.
14674 (update_get_addr): New function.
14675 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14676 GET_ADDR_MODULE parameter.
14677
c8a89e7d
JM
146782012-01-30 Joseph Myers <joseph@codesourcery.com>
14679
14680 * crypt/cert.c: Remove __STDC__ conditionals.
14681 * crypt/crypt-entry.c: Likewise.
14682 * crypt/crypt_util.c: Likewise.
14683 * libio/filedoalloc.c: Likewise.
14684 * libio/fileops.c: Likewise.
14685 * libio/genops.c: Likewise.
14686 * libio/iofclose.c: Likewise.
14687 * libio/iofdopen.c: Likewise.
14688 * libio/iofopen.c: Likewise.
14689 * libio/iofopen64.c: Likewise.
14690 * libio/iogetdelim.c: Likewise.
14691 * libio/iopopen.c: Likewise.
14692 * libio/obprintf.c: Likewise.
14693 * libio/oldfileops.c: Likewise.
14694 * libio/oldiofclose.c: Likewise.
14695 * libio/oldiofdopen.c: Likewise.
14696 * libio/oldiofopen.c: Likewise.
14697 * libio/oldiopopen.c: Likewise.
14698 * libio/wfiledoalloc.c: Likewise.
14699 * libio/wgenops.c: Likewise.
14700 * locale/programs/xmalloc.c: Likewise.
14701 * misc/syslog.c: Likewise.
14702 * stdio-common/xbug.c: Likewise.
14703 * string/memchr.c: Likewise.
14704 * string/memcmp.c: Likewise.
14705 * string/memrchr.c: Likewise.
14706 * string/rawmemchr.c: Likewise.
14707 * sysdeps/posix/getcwd.c: Likewise.
14708 * time/strftime_l.c: Likewise.
14709
3b100462
JM
147102012-01-30 Joseph Myers <joseph@codesourcery.com>
14711
14712 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14713 * config.make.in (config-cflags-sse2avx): Define.
14714 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14715 Fix typo.
14716
607998af
CM
147172012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14718
14719 * scripts/config.guess: Update from upstream config git repository.
14720 * scripts/config.sub: Likewise.
14721
3601428f
CM
147222012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14723
3ac8b282
CM
14724 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14725 (EM_NUM): Update.
14726 (R_TILEPRO_*, R_TILEGX_*): New macros.
14727
e034841e
CM
14728 * scripts/firstversions.awk: Fix bug in version range handling.
14729
540d7568
CM
14730 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14731
3601428f
CM
14732 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14733
463de862
CM
14734 * include/sys/epoll.h: New file.
14735 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14736 libc_hidden_def.
14737
73139a76
UD
147382012-01-28 Ulrich Drepper <drepper@gmail.com>
14739
96bc5b45
UD
14740 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14741 Avoid unnecessary __WORDSIZE == 64 test.
14742 (fmaxf): Use VEX format if possible.
14743 (fmax): Likewise.
14744 (fminf): Likewise.
14745 (fmin): Likewise.
14746
56f6f6a2
UD
14747 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14748 * math/math_private.h: Remove libc_fegetround* and
14749 libc_fesetround*.
14750 * sysdeps/i386/configure.in: Check for -msse2avx.
14751 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14752 also if SSE2AVX is defined.
14753 Remove libc_fegetround* and libc_fesetround*.
14754 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14755 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14757 of HAS_YMM_USABLE.
14758 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14759 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14761 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14762 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14763
73139a76
UD
14764 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14765
d73f93a4
AZ
147662012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14767
14768 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14769 size is not set.
14770 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14771
6ee65ed6
UD
147722012-01-27 Ulrich Drepper <drepper@gmail.com>
14773
14774 [BZ #13618]
14775 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14776 relocation.
14777 * Makeconfig (libm): Define.
14778 * elf/Makefile: Add rules to build and run tst-relsort1.
14779 * elf/tst-relsort1.c: New file.
14780 * elf/tst-relsort1mod1.c: New file.
14781 * elf/tst-relsort1mod2.c: New file.
14782
8db21882
JM
147832012-01-27 Joseph Myers <joseph@codesourcery.com>
14784
14785 * math/s_ldexp.c: Remove __STDC__ conditionals.
14786 * math/s_ldexpf.c: Likewise.
14787 * math/s_ldexpl.c: Likewise.
14788 * math/s_nextafter.c: Likewise.
14789 * math/s_nexttowardf.c: Likewise.
14790 * math/s_significand.c: Likewise.
14791 * math/s_significandf.c: Likewise.
14792 * math/s_significandl.c: Likewise.
14793 * math/w_jnl.c: Likewise.
14794 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14795 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14796 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14797 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14798 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14806 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14807 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14813 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14814 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14815 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14816 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14817 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14818 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14819 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14820 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14821 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14822 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14823 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14824 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14825 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14826 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14827 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14828 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14829 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14830 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14831 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14832 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14833 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14834 * sysdeps/ieee754/k_standard.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14844 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14846 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14848 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14849 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14851 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14852 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14853 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14854 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14883 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14884 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14889 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14894 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14895 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14896 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14898 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14899 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14901 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14902 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14903 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14904 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14906 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14907 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14908 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14909 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14910 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14914 * sysdeps/ieee754/s_matherr.c: Likewise.
14915 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14916 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14917 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14919
965a54a4
JM
149202012-01-26 Joseph Myers <joseph@codesourcery.com>
14921
14922 * crypt/md5.h: Remove __STDC__ conditionals.
14923 * libio/libioP.h: Likewise.
14924 * locale/programs/config.h: Likewise.
14925 * sysdeps/generic/sysdep.h: Likewise.
14926 * sysdeps/i386/asm-syntax.h: Likewise.
14927 * sysdeps/s390/asm-syntax.h: Likewise.
14928 * sysdeps/unix/sysdep.h: Likewise.
14929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14931
7071ad79
JM
149322012-01-26 Joseph Myers <joseph@codesourcery.com>
14933
14934 * libio/libio.h: Remove __STDC__ conditionals.
14935 * malloc/obstack.h: Likewise.
14936 * math/complex.h: Likewise.
14937 * math/math.h: Likewise.
14938 * sysdeps/generic/_G_config.h: Likewise.
14939 * sysdeps/gnu/_G_config.h: Likewise.
14940 * sysdeps/mach/hurd/_G_config.h: Likewise.
14941 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14942 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14943 * sysdeps/sparc/bits/mathdef.h: Likewise.
14944
afc5ed09
UD
149452012-01-26 Ulrich Drepper <drepper@gmail.com>
14946
14947 [BZ #13583]
14948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 14949 Clean up HAS_* macros.
afc5ed09 14950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
14951 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14952 possible.
14953 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14954 HAS_AVX.
14955 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14956 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14957 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14959 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 14960
bdb6de1d
JM
149612012-01-25 Joseph Myers <joseph@codesourcery.com>
14962
14963 * elf/tst-unique3.cc (gets): Remove declaration.
14964 * elf/tst-unique3lib.cc (gets): Likewise.
14965 * elf/tst-unique3lib2.cc (gets): Likewise.
14966 * elf/tst-unique4.cc (gets): Likewise.
14967
b15549e6
UD
149682012-01-24 Ulrich Drepper <drepper@gmail.com>
14969
14970 * include/stdio.h: Add C++ protection. Add gets declarations and
14971 definitions.
14972 * debug/tst-chk1.c: Don't declare gets here.
14973 * stdio-common/tst-gets.c: Likewise.
14974
a037381f
JM
149752012-01-24 Joseph Myers <joseph@codesourcery.com>
14976
14977 * posix/glob: Remove directory.
14978
f1d4aa75
JM
149792012-01-24 Joseph Myers <joseph@codesourcery.com>
14980
14981 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14982
81c0c964
PT
149832012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14984
14985 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14986 of the non-standard EPFNOSUPPORT.
14987
0ea698ae
ST
149882011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14989
14990 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14991 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14992 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14993
d220b117
UD
149942012-01-21 Ulrich Drepper <drepper@gmail.com>
14995
14996 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14997
3e1aa84e
UD
149982012-01-20 Ulrich Drepper <drepper@gmail.com>
14999
15000 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15001 transient errors.
15002 * nscd/grpcache.c (cache_addgr): Likewise.
15003 * nscd/hstcache.c (cache_addhst): Likewise.
15004 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15005 * nscd/pwdcache.c (cache_addpw): Likewise.
15006 * nscd/servicescache.c (cache_addserv): Likewise.
15007
400aa020
UD
150082012-01-16 Ulrich Drepper <drepper@gmail.com>
15009
d77e7869
UD
15010 * malloc/malloc.c: Various cleanups.
15011 * malloc/hooks.c: Likewise.
15012
400aa020
UD
15013 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15014 * stdlib/bug-fmtmsg1.c: New file.
15015
15016 * stdlib/fmtmsg.c (init): Add missing unlock.
15017 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15018
e0a309cf
MP
150192012-01-12 Marek Polacek <polacek@redhat.com>
15020
15021 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15022 and _GNU_SOURCE.
15023
929d11c7
WS
150242012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15025
15026 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15027 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15028 macro to ensure uniqueness of label name.
15029 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15030 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15031
41d0e869
UD
150322012-01-11 Ulrich Drepper <drepper@gmail.com>
15033
0cc5ed3b
UD
15034 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15035
41d0e869
UD
15036 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15037 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15038 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15040
a47a831a
UD
150412012-01-10 Ulrich Drepper <drepper@gmail.com>
15042
daa891c0
UD
15043 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15044
15045 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15046 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15047 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15048
e58ef0f2
UD
15049 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15050
a47a831a 15051 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15052 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15053 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15054 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15055
15056 * math/bits/math-finite.h: Add ldexp support.
15057
a0bfc9c7
MP
150582012-01-10 Marek Polacek <polacek@redhat.com>
15059
15060 * locale/programs/localedef.h (show_archive_content): Add noreturn
15061 attribute.
15062
d6e97a1d
UD
150632012-01-09 Ulrich Drepper <drepper@gmail.com>
15064
15065 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15066
d5835c26
UD
150672012-01-08 Ulrich Drepper <drepper@gmail.com>
15068
e5f484c6
UD
15069 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15070
d5835c26
UD
15071 * io/Makefile (headers): Add bits/poll2.h.
15072
d1f741e9
WS
150732011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15074
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15076 typo #include statement.
15077
ec09c1c4
UD
150782012-01-08 Ulrich Drepper <drepper@gmail.com>
15079
15080 * include/sys/cdefs.h: Define __attribute_alloc_size.
15081 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15082 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15083 * elf/pldd.c: Likewise.
15084 * iconv/iconv_charmap.c: Likewise.
15085 * iconv/iconvconfig.c: Likewise.
15086 * iconv/strtab.c: Likewise.
15087 * locale/programs/locale.c: Likewise.
15088 * locale/programs/localedef.h: Likewise.
15089 * locale/programs/simple-hash.c: Likewise.
15090 * nscd/nscd.h: Likewise.
15091 * nss/makedb.c: Likewise.
15092 * sysdeps/generic/ldconfig.h: Likewise.
15093 * locale/programs/localedef.c: Remove xmalloc prototype.
15094 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15095
20b38e03
PP
150962012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15097
15098 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15099 appropriate.
15100
a0da5fe1
UD
151012012-01-08 Ulrich Drepper <drepper@gmail.com>
15102
1d5a644a 15103 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15104 * math/tst-CMPLX.c: New file.
1d5a644a 15105
8784a6db
UD
15106 * math/complex.h (CMPLXL): Fix typo.
15107
d9a216c0
UD
15108 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15109 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15110 GLIBC_2.16.
15111 * debug/tst-chk1.c: Add poll and ppoll tests.
15112 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15113 * include/sys/poll.h: Add hidden proto for ppoll.
15114 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15115 * sysdeps/mach/hurd/ppoll.c: Likewise.
15116 * io/ppoll.c: Likewise.
15117 * debug/poll_chk.c: New file.
15118 * debug/ppoll_chk.c: New file.
15119 * include/bits/poll2.h: New file.
15120 * io/bits/poll2.h: New file.
15121
ac097f5c
UD
15122 [BZ #1350]
15123 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15124
2119dcfa
UD
15125 * configure.in: static is always set to yes. Remove.
15126 * config.make.in: Don't set build-static.
15127 * Makeconfig: Remove use of build-static.
15128 * dlfcn/Makefile: Likewise.
15129 * elf/Makefile: Likewise.
15130 * math/Makefile: Likewise.
15131 * misc/Makefile: Likewise.
15132 * nptl/Makefile: Likewise.
15133 * sysdeps/mach/hurd/Makefile: Likewise.
15134
121766a9
UD
15135 * configure.in: PWD_P is not used anymore.
15136 * config.make.in: Remove PWD_P entry.
15137
51a1d39c 15138 * configure.in: Remove last remnants of RANLIB.
8720d066 15139 No need to check for signed size_t anymore.
215f4bdc
UD
15140 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15141 and IA-64.
3857022a 15142 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15143 * aclocal.m4: Likewise.
15144
d3ed7225
UD
15145 * wcsmbs/mbrtoc16.c: Implement using towc function.
15146 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15147 * wcsmbs/wcsmbsload.c: Likewise.
15148 * iconv/gconv_simple.c: Likewise.
15149 * iconv/gconv_int.h: Likewise.
15150 * iconv/gconv_builtin.h: Likewise.
15151 * iconv/iconv_prog.c: Remove CHAR16 handling.
15152
15153 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15154
15155 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15156
a0da5fe1
UD
15157 * configure.in: Remove --with-elf and --enable-bounded options.
15158 Dont set base_machine for ia64. More non-ELF conditions removed.
15159 Remove testing and setting of leading underscore information.
15160 * config.make.in (build-bounded): Set to no.
15161 * config.h.in: Remove NO_UNDERSCORES entry.
15162 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15163 them.
15164 * csu/start.c: Remove !NO_UNDERSCORE code.
15165 * locale/localeinfo.h: Likewise.
15166 * sysdeps/generic/machine-gmon.h: Likewise.
15167 * sysdeps/generic/sysdep.h: Likewise.
15168 * sysdeps/i386/sysdep.h: Likewise.
15169 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15170 * sysdeps/mach/sysdep.h: Likewise.
15171 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15172 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15173 * sysdeps/sh/sysdep.h: Likewise.
15174 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15175 * sysdeps/unix/i386/sysdep.S: Likewise.
15176 * sysdeps/unix/sparc/start.c: Likewise.
15177 * sysdeps/unix/sparc/sysdep.S: Likewise.
15178 * sysdeps/unix/sparc/sysdep.h: Likewise.
15179 * sysdeps/unix/start.c: Likewise.
15180 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15181 * sysdeps/x86_64/sysdep.h: Likewise.
15182
df78418a
UD
151832012-01-07 Ulrich Drepper <drepper@gmail.com>
15184
a784e502
UD
15185 [BZ #13553]
15186 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15187 for non-gcc.
15188 * argp/argp-fmtstream.h: Use const instead __const.
15189 * argp/argp.h: Likewise.
15190 * assert/assert.h: Likewise.
15191 * bits/fenv.h: Likewise.
15192 * bits/sched.h: Likewise.
15193 * bits/sigset.h: Likewise.
15194 * bits/sigthread.h: Likewise.
15195 * catgets/nl_types.h: Likewise.
15196 * conform/data/pthread.h-data: Likewise.
15197 * crypt/crypt-private.h: Likewise.
15198 * crypt/crypt.h: Likewise.
15199 * crypt/crypt_util.c: Likewise.
15200 * ctype/ctype.h: Likewise.
15201 * debug/execinfo.h: Likewise.
15202 * debug/mbsnrtowcs_chk.c: Likewise.
15203 * debug/mbsrtowcs_chk.c: Likewise.
15204 * debug/wcsnrtombs_chk.c: Likewise.
15205 * debug/wcsrtombs_chk.c: Likewise.
15206 * debug/wcstombs_chk.c: Likewise.
15207 * dirent/dirent.h: Likewise.
15208 * dlfcn/dlfcn.h: Likewise.
15209 * elf/neededtest4.c: Likewise.
15210 * grp/grp.h: Likewise.
15211 * gshadow/gshadow.h: Likewise.
15212 * iconv/gconv.h: Likewise.
15213 * iconv/gconv_int.h: Likewise.
15214 * iconv/gconv_simple.c: Likewise.
15215 * iconv/iconv.h: Likewise.
15216 * iconv/loop.c: Likewise.
15217 * iconv/skeleton.c: Likewise.
15218 * include/aio.h: Likewise.
15219 * include/aliases.h: Likewise.
15220 * include/argz.h: Likewise.
15221 * include/arpa/inet.h: Likewise.
15222 * include/assert.h: Likewise.
15223 * include/dirent.h: Likewise.
15224 * include/dlfcn.h: Likewise.
15225 * include/execinfo.h: Likewise.
15226 * include/fcntl.h: Likewise.
15227 * include/fenv.h: Likewise.
15228 * include/glob.h: Likewise.
15229 * include/grp.h: Likewise.
15230 * include/libintl.h: Likewise.
15231 * include/mntent.h: Likewise.
15232 * include/netdb.h: Likewise.
15233 * include/pwd.h: Likewise.
15234 * include/rpc/netdb.h: Likewise.
15235 * include/sched.h: Likewise.
15236 * include/search.h: Likewise.
15237 * include/shadow.h: Likewise.
15238 * include/signal.h: Likewise.
15239 * include/stdio.h: Likewise.
15240 * include/stdlib.h: Likewise.
15241 * include/string.h: Likewise.
15242 * include/sys/socket.h: Likewise.
15243 * include/sys/stat.h: Likewise.
15244 * include/sys/statfs.h: Likewise.
15245 * include/sys/statvfs.h: Likewise.
15246 * include/sys/syslog.h: Likewise.
15247 * include/sys/time.h: Likewise.
15248 * include/sys/uio.h: Likewise.
15249 * include/time.h: Likewise.
15250 * include/unistd.h: Likewise.
15251 * include/utmp.h: Likewise.
15252 * include/wchar.h: Likewise.
15253 * include/wctype.h: Likewise.
15254 * inet/aliases.h: Likewise.
15255 * inet/arpa/inet.h: Likewise.
15256 * inet/netinet/ether.h: Likewise.
15257 * inet/netinet/in.h: Likewise.
15258 * intl/libintl.h: Likewise.
15259 * io/bits/fcntl2.h: Likewise.
15260 * io/fcntl.h: Likewise.
15261 * io/ftw.h: Likewise.
15262 * io/sys/poll.h: Likewise.
15263 * io/sys/stat.h: Likewise.
15264 * io/sys/statfs.h: Likewise.
15265 * io/sys/statvfs.h: Likewise.
15266 * io/utime.h: Likewise.
15267 * libio/bits/stdio.h: Likewise.
15268 * libio/bits/stdio2.h: Likewise.
15269 * libio/libio.h: Likewise.
15270 * libio/libioP.h: Likewise.
15271 * libio/stdio.h: Likewise.
15272 * locale/lc-ctype.c: Likewise.
15273 * locale/locale.h: Likewise.
15274 * login/utmp.h: Likewise.
15275 * malloc/arena.c: Likewise.
15276 * malloc/malloc.c: Likewise.
15277 * malloc/malloc.h: Likewise.
15278 * malloc/mcheck.c: Likewise.
15279 * malloc/mtrace.c: Likewise.
15280 * math/bits/mathcalls.h: Likewise.
15281 * math/fenv.h: Likewise.
15282 * math/math_private.h: Likewise.
15283 * misc/bits/error.h: Likewise.
15284 * misc/bits/syslog.h: Likewise.
15285 * misc/err.h: Likewise.
15286 * misc/error.h: Likewise.
15287 * misc/fstab.h: Likewise.
15288 * misc/mntent.h: Likewise.
15289 * misc/regexp.h: Likewise.
15290 * misc/search.h: Likewise.
15291 * misc/sgtty.h: Likewise.
15292 * misc/sys/mman.h: Likewise.
15293 * misc/sys/syslog.h: Likewise.
15294 * misc/sys/uio.h: Likewise.
15295 * misc/sys/xattr.h: Likewise.
15296 * misc/ttyent.h: Likewise.
15297 * nis/rpcsvc/ypclnt.h: Likewise.
15298 * nss/nss.h: Likewise.
15299 * posix/bits/unistd.h: Likewise.
15300 * posix/fnmatch.h: Likewise.
15301 * posix/glob.h: Likewise.
15302 * posix/sched.h: Likewise.
15303 * posix/spawn.h: Likewise.
15304 * posix/sys/wait.h: Likewise.
15305 * posix/unistd.h: Likewise.
15306 * posix/wordexp.h: Likewise.
15307 * pwd/pwd.h: Likewise.
15308 * resolv/netdb.h: Likewise.
15309 * resource/sys/resource.h: Likewise.
15310 * rt/aio.h: Likewise.
15311 * rt/bits/mqueue2.h: Likewise.
15312 * rt/mqueue.h: Likewise.
15313 * shadow/shadow.h: Likewise.
15314 * signal/signal.h: Likewise.
15315 * socket/send.c: Likewise.
15316 * socket/sendto.c: Likewise.
15317 * socket/sys/socket.h: Likewise.
15318 * stdio-common/printf.h: Likewise.
15319 * stdlib/bits/stdlib.h: Likewise.
15320 * stdlib/fmtmsg.h: Likewise.
15321 * stdlib/monetary.h: Likewise.
15322 * stdlib/stdlib.h: Likewise.
15323 * stdlib/ucontext.h: Likewise.
15324 * streams/stropts.h: Likewise.
15325 * string/argz.h: Likewise.
15326 * string/bits/string2.h: Likewise.
15327 * string/string.h: Likewise.
15328 * string/strings.h: Likewise.
15329 * sunrpc/rpc/auth.h: Likewise.
15330 * sunrpc/rpc/auth_des.h: Likewise.
15331 * sunrpc/rpc/clnt.h: Likewise.
15332 * sunrpc/rpc/netdb.h: Likewise.
15333 * sunrpc/rpc/pmap_clnt.h: Likewise.
15334 * sunrpc/rpc/xdr.h: Likewise.
15335 * sysdeps/generic/inttypes.h: Likewise.
15336 * sysdeps/generic/net/if.h: Likewise.
15337 * sysdeps/generic/sys/swap.h: Likewise.
15338 * sysdeps/gnu/net/if.h: Likewise.
15339 * sysdeps/gnu/utmpx.h: Likewise.
15340 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15341 * sysdeps/i386/i486/bits/string.h: Likewise.
15342 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15343 * sysdeps/s390/bits/string.h: Likewise.
15344 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15345 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15346 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15347 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15348 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15349 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15350 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15351 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15352 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15353 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15354 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15355 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15356 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15357 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15358 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15359 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15360 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15362 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15364 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15365 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15366 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15367 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15368 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15369 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15370 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15371 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15372 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15373 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15374 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15375 * sysvipc/sys/ipc.h: Likewise.
15376 * sysvipc/sys/msg.h: Likewise.
15377 * sysvipc/sys/sem.h: Likewise.
15378 * sysvipc/sys/shm.h: Likewise.
15379 * termios/termios.h: Likewise.
15380 * time/sys/time.h: Likewise.
15381 * time/time.h: Likewise.
15382 * wcsmbs/bits/wchar2.h: Likewise.
15383 * wcsmbs/uchar.h: Likewise.
15384 * wcsmbs/wchar.h: Likewise.
15385 * wctype/wctype.h: Likewise.
15386
0269750c
UD
15387 [BZ #13551]
15388 * Makeconfig: Remove all but ELF support including AIX support.
15389 * Makerules: Likewise.
15390 * config.h.in: Likewise.
15391 * config.make.in: Likewise.
15392 * configure: Likewise.
15393 * configure.in: Likewise.
15394 * csu/Makefile: Likewise.
15395 * csu/version.c: Likewise.
15396 * debug/Makefile: Likewise.
15397 * dlfcn/Makefile: Likewise.
15398 * elf/Makefile: Likewise.
15399 * extra-lib.mk: Likewise.
15400 * iconv/Makefile: Likewise.
15401 * include/libc-symbols.h: Likewise.
15402 * include/shlib-compat.h: Likewise.
15403 * resolv/Makefile: Likewise.
15404 * resolv/res_libc.c: Likewise.
15405 * rt/Makefile: Likewise.
15406 * sysdeps/i386/asm-syntax.h: Likewise.
15407 * sysdeps/i386/sysdep.h: Likewise.
15408 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15409 * sysdeps/mach/sysdep.h: Likewise.
15410 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15411 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15412 * sysdeps/s390/asm-syntax.h: Likewise.
15413 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15414 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15415 * sysdeps/sh/sysdep.h: Likewise.
15416 * sysdeps/unix/sparc/sysdep.h: Likewise.
15417 * sysdeps/wordsize-32/divdi3.c: Likewise.
15418 * sysdeps/x86_64/sysdep.h: Likewise.
15419
00bbd29b
UD
15420 * argp/Versions: Remove _argp_unlock_xxx.
15421
15422 [BZ #13559]
15423 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15424 * abilist/libBrokenLocale.abilist: Likewise.
15425 * abilist/libanl.abilist: Likewise.
15426 * abilist/libc.abilist: Likewise.
15427 * abilist/libcrypt.abilist: Likewise.
15428 * abilist/libdl.abilist: Likewise.
15429 * abilist/libm.abilist: Likewise.
15430 * abilist/libnsl.abilist: Likewise.
15431 * abilist/libpthread.abilist: Likewise.
15432 * abilist/libresolv.abilist: Likewise.
15433 * abilist/librt.abilist: Likewise.
15434 * abilist/libthread_db.abilist: Likewise.
15435 * abilist/libutil.abilist: Likewise.
15436 * abilist/libnss_db.abilist: New file.
15437
15438 * scripts/abilist.awk: Add support for indirect functions.
15439
a2693a0e
UD
15440 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15441
3f05895f
UD
15442 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15443
ecb6fb48
UD
15444 * shlib-versions: Remove entries for ports architectures.
15445
664f8cb9
UD
15446 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15447 files in ports.
15448 * elf/stackguard-macros.h: Remove support for IA-64.
15449 * elf/tst-auditmod1.c: Likewise.
15450 * sysdeps/generic/ldsodefs.h: Likewise.
15451
7ae81d88
UD
15452 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15453 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15454 configure files.
15455
bdeba135
UD
15456 [BZ #13552]
15457 * configure.in: Remove --enable-omitfp support.
15458 * FAQ.in: Adjust.
15459 * config.make.in: Likewise.
15460 * Makeconfig: Likewise.
15461 * manual/install.texi: Likewise.
15462
d75a0a62
UD
15463 In case anyone cares, the IA-64 architecture could move to ports.
15464 * sysdeps/ia64/*: Removed.
15465 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15466 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15467
dcc9756b
UD
15468 [BZ #13555]
15469 * configure.in: Remove entries for unsupported architectures.
15470
d3761ebc 15471 [BZ #13533]
9954432e
UD
15472 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15473 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15474 routines.
15475 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15476 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15477 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15478 fall back to using wcrtomb.
15479 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15480 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15481 renaming.
15482 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15483 * wcsmbs/tst-c16c32-1.c: New file.
15484
15485 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15486 local variable.
15487
c3a87236
UD
15488 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15489
28926a1b
UD
15490 * elf/tst-unique3.cc: Add explicit declaration of gets.
15491 * elf/tst-unique3lib.cc: Likewise.
15492 * elf/tst-unique3lib2.cc: Likewise.
15493 * elf/tst-unique4.cc: Likewise.
15494
df78418a
UD
15495 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15496
8ecd6b2a
JM
154972012-01-06 Joseph Myers <joseph@codesourcery.com>
15498
15499 [BZ #13566]
15500 * assert/assert.h (static_assert): Don't define for C++.
15501 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15502 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15503
9f115170
UD
155042012-01-03 Ulrich Drepper <drepper@gmail.com>
15505
5e0d0300
UD
15506 * iconv/loop.c (single loop): Fix assertion in storing of
15507 remaining bytes.
15508
9f115170
UD
15509 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15510
81fb02b0
UD
155112012-01-01 Ulrich Drepper <drepper@gmail.com>
15512
15513 * posix/getconf.c: Update copyright year.
15514 * nss/getent.c: Likewise.
a316c1f6 15515 * nss/makedb.c: Likewise.
81fb02b0
UD
15516 * iconv/iconvconfig.c: Likewise.
15517 * iconv/iconv_prog.c: Likewise.
15518 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15519 * elf/pldd.c: Likewise.
15520 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15521 * catgets/gencat.c: Likewise.
15522 * csu/version.c: Likewise.
15523 * elf/ldd.bash.in: Likewise.
15524 * elf/sprof.c (print_version): Likewise.
15525 * locale/programs/locale.c: Likewise.
15526 * locale/programs/localedef.c: Likewise.
a316c1f6 15527 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15528 * nscd/nscd.c (print_version): Likewise.
15529 * debug/xtrace.sh: Likewise.
15530 * malloc/memusage.sh: Likewise.
15531 * malloc/mtrace.pl: Likewise.
15532 * debug/catchsegv.sh: Likewise.
15533
2ba92745
JJ
155342011-12-30 Jakub Jelinek <jakub@redhat.com>
15535
15536 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15537 pure attribute.
15538
dadebdae
UD
155392011-12-24 Ulrich Drepper <drepper@gmail.com>
15540
d3761ebc 15541 [BZ #13533]
db6af3eb
UD
15542 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15543 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15544 transformations.
15545 * iconv/gconv_int.h: Likewise.
15546 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15547 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15548 from libc for GLIBC_2.16.
15549 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15550 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15551 * wcsmbs/uchar.h: Really define mbstate_t.
15552 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15553 * wcsmbs/c16rtomb.c: New file.
15554 * wcsmbs/mbrtoc16.c: New file.
15555 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15556 for C/POSIX locale.
15557 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15558 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15559
dadebdae
UD
15560 * wcsmbs/wchar.h: Add missing __restrict.
15561
67371b56
UD
155622011-12-23 Ulrich Drepper <drepper@gmail.com>
15563
74033a25
UD
15564 [BZ #13532]
15565 * time/Makefile (routines): Add timespec_get.
15566 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15567 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15568 timespec for ISO C11.
15569 * time/timespec_get.c: New file.
15570 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15571 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15572
380d7e87
UD
15573 [BZ #13531]
15574 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15575 * stdlib/stdlib.h: Declare aligned_alloc.
15576 * Versions.def: Add GLIBC_2.16 for libc.
15577 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15578
4e9e7a35
UD
15579 [BZ 13527]
15580 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15581 ISO C11.
15582
380d7e87 15583 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15584 code.
15585
03a71829
UD
15586 [BZ #13528]
15587 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15588
839e283e
UD
15589 [BZ #13529]
15590 * assert/assert.h (static_assert): Define.
15591
ce5294e2 15592 * version.h: Update for 2.16 development version.
90fa7312 15593
8d44e150 15594 [BZ #13526]
d7809905
UD
15595 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15596 _ISOC11_SOURCE.
15597
c0da14cd
UD
15598 * version.h (RELEASE): Bump for 2.15 release.
15599 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15600
530a3249
MP
15601 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15602 Patch by Marek Polacek <mpolacek@redhat.com>.
15603
67371b56
UD
15604 * bits/byteswap.h: Protect long long constants with __extension__.
15605 * sysdeps/i386/bits/byteswap.h: Likewise.
15606 * sysdeps/ia64/bits/byteswap.h: Likewise.
15607 * sysdeps/s390/bits/byteswap.h: Likewise.
15608 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15609
15db4de1
LD
156102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15611
15612 [BZ #13540]
bbe315ea
LD
15613 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15614 destination buffer.
15db4de1
LD
15615 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15616
2b2596b1
MP
156172011-12-23 Marek Polacek <polacek@redhat.com>
15618
15619 * elf/dl-addr.c (determine_info): Add inline keyword.
15620 * elf/tst-auditmod4b.c (check_avx): Likewise.
15621 * elf/tst-auditmod6b.c (check_avx): Likewise.
15622 * elf/tst-auditmod6c.c (check_avx): Likewise.
15623 * elf/tst-auditmod7b.c (check_avx): Likewise.
15624
70c6c246
UD
156252011-12-23 Ulrich Drepper <drepper@gmail.com>
15626
15627 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15628 !__SSE_MATH__.
15629
c044cf14
LD
156302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15631
15db4de1 15632 [BZ #13540]
c044cf14
LD
15633 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15634 processing for last bytes.
15635
6b13d9d9
BH
156362011-08-06 Bruno Haible <bruno@clisp.org>
15637
d455f537
BH
15638 [BZ #13061]
15639 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15640 U+0385, not to U+1FEE.
15641
6b13d9d9
BH
15642 [BZ #13062]
15643 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15644 entry for U+00A5 U+0301.
15645
db910efd
UD
156462011-12-22 Ulrich Drepper <drepper@gmail.com>
15647
27deeafc
UD
15648 [BZ #13166]
15649 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15650 buffer for the output is too small.
15651
aed9d171
UD
15652 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15653 optimization.
15654
db910efd
UD
15655 [BZ #13185]
15656 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15657 SSE flags if possible.
15658
2bd779ae
LD
156592011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15660
e7f9dac3 15661 [BZ #13540]
2bd779ae
LD
15662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15663 processing for last bytes.
15664
154bfc16
JM
156652011-12-22 Joseph Myers <joseph@codesourcery.com>
15666
15667 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15668 (syscall-list-default-options, syscall-list-default-condition)
15669 (syscall-list-includes): Define.
15670 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15671 list of ABIs and options and #if conditions for each ABI. Do not
15672 handle common syscalls between ABIs specially.
15673 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15674 Remove.
15675 (syscall-list-variants, syscall-list-32bit-options)
15676 (syscall-list-32bit-condition, syscall-list-64bit-options)
15677 (syscall-list-64bit-condition): Define.
15678 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15679 (syscall-list-variants, syscall-list-32bit-options)
15680 (syscall-list-32bit-condition, syscall-list-64bit-options)
15681 (syscall-list-64bit-condition): Define.
15682 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15683 Remove.
15684 (syscall-list-variants, syscall-list-32bit-options)
15685 (syscall-list-32bit-condition, syscall-list-64bit-options)
15686 (syscall-list-64bit-condition): Define.
15687 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15688 Remove.
15689 (syscall-list-variants, syscall-list-32bit-options)
15690 (syscall-list-32bit-condition, syscall-list-64bit-options)
15691 (syscall-list-64bit-condition): Define.
15692
21eaf3a5
UD
156932011-12-22 Ulrich Drepper <drepper@gmail.com>
15694
16c6f992
UD
15695 * locale/iso-639.def: Add brx entry.
15696
41043168
UD
15697 [BZ #13328]
15698 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15699 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15700
21eaf3a5
UD
15701 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15702 __feraiseexcept_renamed.
15703
e3a851a2
UD
157042011-12-21 Ulrich Drepper <drepper@gmail.com>
15705
4920765e
UD
15706 [BZ #13538]
15707 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15708 EPOLLET with unsigned values.
15709 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15711
e3a851a2
UD
15712 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15713 to large cancellation.
15714 * math/s_cacoshf.c: Likewise.
15715 * math/s_cacoshl.c: Likewise.
15716
b27e24b8
RK
157172011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15718
15719 [BZ #13305]
aebefeee 15720 [BZ #12786]
b27e24b8
RK
15721 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15722 * math/s_cacoshf.c: Likewise.
15723 * math/s_cacoshl.c: Likewise.
15724
ee190f67
UD
157252011-12-21 Ulrich Drepper <drepper@gmail.com>
15726
15727 [BZ #13439]
15728 * iconv/gconv.h: Define __GCONV_SWAP.
15729 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15730 * iconvdata/utf-16.c: Likewise.
15731 * iconvdata/utf-32.c: Likewise.
15732
707f25df
AS
157332011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15734
15735 [BZ #13524]
15736 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15737 numerator after shifting it by one limb.
15738
d2daaa1e
RÁE
157392011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15740
15741 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15742 under [__USE_EXTERN_INLINES].
15743
a4647e72
UD
157442011-12-17 Ulrich Drepper <drepper@gmail.com>
15745
15746 [BZ #13446]
15747 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15748
f0b264f1
AZ
157492011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15750
15751 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15752 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15753 optimized code.
15754 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15755 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15756 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15757 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15758 for strncasecmp/strncasecmp_l compilation.
15759 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15760 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15761
8ef4f244
MP
157622011-12-08 Marek Polacek <mpolacek@redhat.com>
15763
15764 [BZ #13484]
15765 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15766 of __asm__.
15767
97ac2654
UD
157682011-12-17 Ulrich Drepper <drepper@gmail.com>
15769
15770 [BZ #13506]
15771 * time/tzfile.c (__tzfile_read): Check values from file header.
15772
91d2a845
WS
157732011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15774
15775 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15776 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15777 * powerpc/powerpc32/dl-start.S: Likewise.
15778 * powerpc/powerpc32/elf/start.S: Likewise.
15779 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15780 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15781 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15782 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15783 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15784 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15785 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15786 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15787 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15788 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15789 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15790 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15791 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15792 * powerpc/powerpc32/memset.S: Likewise.
15793 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15794 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15795 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15796 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15797 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15798 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15799 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15800 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15801 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15802 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15803 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15804 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15805 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15806
a1267ba1
AZ
158072011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15808
15809 * math/libm-test.inc: Added more nearbyint tests.
15810 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15811 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15813 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15814
ad8ac1bd
RL
158152011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15816
15817 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15818 FD_CLOEXEC.
15819
1d3e4b61
UD
158202011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15821
15822 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15823 Add wcscpy-ssse3 wcscpy-c.
15824 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15825 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15826 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15827 * sysdeps/x86_64/wcschr.S: New file.
15828 * sysdeps/x86_64/wcsrchr.S: New file.
15829 * string/test-strcmp.c: Remove checking of wcscmp function for
15830 wrong alignments.
15831 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15832 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15833 wcsrchr-sse2 wcsrchr-c.
15834 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15835 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15836 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15837 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15838 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15839 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15840 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15841 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15842 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15843 * wcsmbc/wcschr.c (WCSCHR): New macro.
15844
5b330a2d
UD
158452011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15846
15847 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15848 * wcsmbs/test-wcsrchr.c: New file.
15849 * string/test-strrchr.c: Add wcsrchr support.
15850 (WIDE): New macro.
15851 * wcsmbs/test-wcscpy.c: New file.
15852 * string/test-strcpy.c: Add wcscpy support.
15853 (WIDE): New macro.
26428b7c 15854
f039c043
UD
158552011-12-10 Ulrich Drepper <drepper@gmail.com>
15856
15857 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15858 the inner loop.
15859
850fb039
AS
158602011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15861
15862 [BZ #13472]
15863 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15864
4efbd5cb
UD
158652011-12-04 Ulrich Drepper <drepper@gmail.com>
15866
52ff5dd0 15867 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 15868 Minor optimizations.
52ff5dd0 15869
4efbd5cb
UD
15870 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15871 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15872 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15873
8a426e12
UD
158742011-12-03 Ulrich Drepper <drepper@gmail.com>
15875
aff2453d
UD
15876 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15877 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15878 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15879 for gcc to avoid warnings.
15880 * inet/Makefile (tests): Add tst-checks.
15881 * inet/tst-checks.c: New file.
15882
15883 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15884 warning.
15885
15886 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15887 __wmemcmp_sse2.
15888
15889 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15890 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15891
8a426e12
UD
15892 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15893
9bea3473
UD
158942011-12-02 Ulrich Drepper <drepper@gmail.com>
15895
3a965496
UD
15896 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15897 problem.
15898
9bea3473
UD
15899 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15900
f101631b
UD
159012011-11-29 Joseph Myers <joseph@codesourcery.com>
15902
15903 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15904 conditional on GCC version.
15905 (__arch_compare_and_exchange_val_8_acq)
15906 (__arch_compare_and_exchange_val_16_acq)
15907 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15908 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15909 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15910
a98275aa
UD
159112011-12-02 Joseph Myers <joseph@codesourcery.com>
15912
15913 * sysdeps/sh/backtrace.c: New file.
15914
d4cc29a2
AS
159152011-12-02 Andreas Schwab <schwab@redhat.com>
15916
15917 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15918 parenthesis.
15919
6257af2d
AS
159202011-12-01 Andreas Schwab <schwab@redhat.com>
15921
15922 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15923 falling back to utime.
15924
b5f44c1a
AS
159252011-11-30 Andreas Schwab <schwab@redhat.com>
15926
15927 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15928 expectations for float.
15929
f3a6cc0a
AS
159302011-11-29 Andreas Schwab <schwab@redhat.com>
15931
15932 * locale/weight.h (findidx): Add parameter len.
15933 * locale/weightwc.h (findidx): Likewise.
15934 * posix/fnmatch_loop.c (FCT): Adjust caller.
15935 * posix/regcomp.c (build_equiv_class): Likewise.
15936 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15937 * posix/regexec.c (check_node_accept_bytes): Likewise.
15938 * string/strcoll_l.c (STRCOLL): Likewise.
15939 * string/strxfrm_l.c (STRXFRM): Likewise.
15940
9d65ea3a
UD
159412011-11-17 Ulrich Drepper <drepper@gmail.com>
15942
15943 * Makefile.in: Remove CVSOPT handling.
15944 * configure.in: Remove use of AC_REVISION.
15945 * iconvdata/Makefile (distribute): No need to filter out CVS.
15946 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15947 handling.
15948
5583a086
AS
159492011-11-16 Andreas Schwab <schwab@redhat.com>
15950
15951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15952 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15953 [USE_AS_STRNCASECMP_L]: Likewise.
15954 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15955 NO_TLS_DIRECT_SEG_REFS.
15956 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15957 Fix argument offsets for non-PIC.
15958 [USE_AS_STRNCASECMP_L]: Likewise.
15959 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15960 NO_TLS_DIRECT_SEG_REFS.
15961
d62a8200
UD
159622011-11-15 Ulrich Drepper <drepper@gmail.com>
15963
9d65ea3a 15964 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
15965 O_CLOEXEC.
15966 * locale/loadlocale.c (_nl_load_locale): Likewise.
15967
09f93bd3
AS
159682011-11-15 Andreas Schwab <schwab@redhat.com>
15969
446514f9
AS
15970 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15971 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15972 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15973 (SYSCALL_GETTIME): Set errno on error.
15974
09f93bd3
AS
15975 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15976 count references to noai6ai_cached.
15977
312be3f9
UD
159782011-11-15 Ulrich Drepper <drepper@gmail.com>
15979
15980 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15981
15982 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15983 FD_CLOEXEC for /proc/self/maps.
15984
15985 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15986 FD_CLOEXEC for /proc/meminfo.
15987
15988 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15989 gai.conf.
15990
15991 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15992 FD_CLOEXEC for given file.
15993
15994 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15995
15996 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15997 FD_CLOEXEC for /etc/hosts.
15998 (_gethtent): Likewise.
15999
16000 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16001
16002 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16003 cancellation and set FD_CLOEXEC for /etc/netgroup.
16004
16005 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16006 reading /etc/publickey.
16007
16008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16009 allow cancellation when reading /etc/group.
16010
16011 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16012 cancellation.
16013 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16014
16015 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16016 when using data file.
16017
16018 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16019
16020 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16021 (write_nis_obj): Use "c" and "e" in fopen.
16022
16023 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16024
16025 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16026
16027 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16028
16029 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16030
16031 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16032 locale.alias.
16033
16034 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16035
16036 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16037
16038 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16039
16040 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16041 file parsing and set FD_CLOEXEC.
16042
82af0fa8
UD
160432011-11-14 Ulrich Drepper <drepper@gmail.com>
16044
16045 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16046
a5fb313c
AS
160472011-11-14 Andreas Schwab <schwab@redhat.com>
16048
16049 * malloc/arena.c (arena_get2): Don't call reused_arena when
16050 _int_new_arena failed.
16051
6abf3465
UD
160522011-11-14 Ulrich Drepper <drepper@gmail.com>
16053
16054 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16055 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16056 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16057 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16058 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16059 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16060 to compile strcasecmp and strncasecmp.
16061 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16062 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16063
16064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16065
76e3966e
UD
160662011-11-13 Ulrich Drepper <drepper@gmail.com>
16067
16068 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16069 locale-defines.sym to gen-as-const-headers.
16070 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16071 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16073 to compile strcasecmp and strncasecmp.
16074 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16075 strcasecmp_l and strncasecmp_l.
16076 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16077 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16078 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16079 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16080 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16081 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16082 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16083 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16084 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16085 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16086 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16087
ab26144e
UD
160882011-11-12 Ulrich Drepper <drepper@gmail.com>
16089
7edb22ef
UD
16090 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16091 result of SYSDEP_GETTIME_CPU to retval.
16092 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16093 parameter list to macro. Remove trailing semicolon. Adjust users.
16094
9694fc44
UD
16095 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16096 variable.
16097
8ad89ef8
UD
16098 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16099 mantissa words.
16100 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16101
0c822ef9
UD
16102 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16103 from unused variable.
16104
874e0564
UD
16105 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16106 DWARF definitions.
16107 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16108 for assembling.
16109
3a2edc79
UD
16110 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16111 over namespaces.
16112
f3c2577f
UD
16113 * sunrpc/rpc_prot.c (rejected): Fix case value.
16114
294ce126
UD
16115 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16116 unsigned long long int to avoid warnings in shift.
16117
5e2b63c6
UD
16118 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16119 of use of trans.
16120 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16121 variable tmp.
16122
e7f4b08e
UD
16123 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16124 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16125 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16126
ab26144e
UD
16127 * nis/nis_table.c (nis_list): Use variable of correct type for
16128 result of __follow_path call.
16129
8a6d5255
AZ
161302011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16131
16132 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16133 of math functions ceil, trunc, floor, round, and sqrt, when
16134 avaliable on the platform.
16135 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16136 name clash.
16137 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16138 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16139 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16140
aaddc98c
MP
161412011-10-30 Marek Polacek <mpolacek@redhat.com>
16142
16143 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16144 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16145
95b7042b
RM
161462011-11-11 Roland McGrath <roland@hack.frob.com>
16147
16148 * include/unistd.h: Fix __readlink return type.
16149 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16150
57769839
UD
161512011-11-11 Ulrich Drepper <drepper@gmail.com>
16152
16153 * stdlib/ucontext.h: Undo last change for makecontext.
16154
edc5984d
AS
161552011-11-11 Andreas Schwab <schwab@redhat.com>
16156
98591e58
AS
16157 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16158
edc5984d
AS
16159 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16160 * setjmp/setjmp.h: Mark functions as non-leaf.
16161 * setjmp/bits/setjmp2.h: Likewise.
16162 * stdlib/ucontext.h: Likewise.
16163
77cdc054
AS
161642011-11-10 Andreas Schwab <schwab@redhat.com>
16165
16166 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16167 (reused_arena): Don't check arena limit.
16168 (arena_get2): Atomically check arena limit.
16169
fe72eebd
UD
161702011-11-08 Ulrich Drepper <drepper@gmail.com>
16171
5f078c32
UD
16172 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16173 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16174
fe72eebd
UD
16175 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16176 instructions.
16177
ae1bc2fa
AS
161782011-11-07 Andreas Schwab <schwab@redhat.com>
16179
7583a88d
AS
16180 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16181 handler when locking.
16182
ae1bc2fa
AS
16183 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16184 Fix size of allocated buffer.
16185
10fb0bfa
AS
161862011-11-04 Andreas Schwab <schwab@redhat.com>
16187
998832a4
AS
16188 [BZ #10103]
16189 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16190 declarations for long double functions.
16191 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16192
10fb0bfa
AS
16193 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16194
3d7ba52b
AS
161952011-11-03 Andreas Schwab <schwab@redhat.com>
16196
a9ae54a1
AS
16197 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16198 installed.
16199
3d7ba52b
AS
16200 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16201 is disabled.
16202
bc8db248
ST
162032011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16204
16205 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16206
45b96dd6
AS
162072011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16208
647776f6
AS
16209 * include/alloca.h (stackinfo_alloca_round): Define.
16210 (extend_alloca): Use it.
16211 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16212 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16213 here.
16214
d91a8b93
AS
16215 * scripts/check-local-headers.sh: Ignore libaudit.h.
16216
45b96dd6
AS
16217 * nscd/Makefile (extra-objs): Make recursively expanded.
16218
432d41ce
UD
162192011-11-01 Ulrich Drepper <drepper@gmail.com>
16220
34372fc6
UD
16221 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16222 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16223
fadb59f8
UD
16224 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16225 * posix/tst-rfc3484-2.c: Likewise.
16226 * posix/tst-rfc3484-3.c: Likewise.
16227
78239589
UD
16228 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16229 process_vm_writev.
16230 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16231 process_vm_writev.
16232 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16233 process_vm_writev from libc using GLIBC_2.15 version.
16234
432d41ce
UD
16235 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16236
02f9c6cf
PP
162372011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16238
16239 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16240 stack usage.
16241
3a2c0242
UD
162422011-10-31 Ulrich Drepper <drepper@gmail.com>
16243
f4ec4833
UD
16244 [BZ #13367]
16245 * nss/getent.c (initgroups_keys): Show error message in case no group
16246 names are given.
16247
3a2c0242
UD
16248 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16249 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16250 __bump_nl_timestamp.
16251 * nscd/connections (nscd_init): When host database is served open
16252 netlink socket and request notification about configuration changes.
16253 (main_loop_poll): Track netlink file descriptor and bump timestamp
16254 in case data becomes available.
16255 (main_loop_epoll): Likewise.
16256 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16257 (database_pers_head): Add extra_data fileds.
16258 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16259 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16260 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16261 Adjust caller.
16262 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16263 in6ai data, call __free_in6ai.
16264 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16265 Add -DHAVE_NETLINK.
16266 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16267 interface information. Reuse previous data if netlink timestamp
16268 is not changed.
16269 (__bump_nl_timestamp): New function.
16270 (__free_in6ai): New function.
16271
636064eb
UD
162722011-10-30 Ulrich Drepper <drepper@gmail.com>
16273
16274 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16275 close_not_cancel_no_status here.
16276 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16277
9beb2334
UD
162782011-10-29 Ulrich Drepper <drepper@gmail.com>
16279
6ef76f3b
UD
16280 [BZ #13276]
16281 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16282 return value.
16283
0ffc4f3e 16284 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16285 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16286 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16287
cb95113e
UD
162882011-07-03 Andreas Jaeger <aj@suse.de>
16289
16290 [BZ #10709]
16291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16292 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16293 * math/libm-test.inc (sin_test): Add test case.
16294
a1b560ff
UD
162952011-10-29 Ulrich Drepper <drepper@gmail.com>
16296
c9aaface
UD
16297 [BZ #13337]
16298 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16299 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16300
d272e7f1
UD
16301 * elf/chroot_canon.c (chroot_canon): Cleanups.
16302
1bc33071
UD
16303 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16304
1760874d
TJ
16305 [BZ #13335]
16306 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16307 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16308
51d91b18
UD
16309 * string/test-strchr.c: Make usable for strchrnul testing.
16310 * string/test-strchrnul.c: New file.
16311 * string/Makefile (strop-tests): Add strchrnul.
16312
a1b560ff 16313 * po/it.po: Update from translation team.
b611fb81 16314 * po/es.po: Likewise.
a1b560ff 16315
a5b81e1f
UD
163162011-10-28 Ulrich Drepper <drepper@gmail.com>
16317
fd52bc6d
UD
16318 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16319 the three constants needed as parameters. Drop the others.
16320 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16321 __m128i_strloadu_tolower.
52e4b9eb
UD
16322 Create and initialize variable zero and use it in all the places
16323 where _mm_setzero_si128 was used.
fd52bc6d 16324
a5b81e1f
UD
16325 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16326 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16327 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16328 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16329 anymore.
16330 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16331 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16332 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16333 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16334 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16335 __mpranred, __mptan.
16336 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16337 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16338 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16339 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16340 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16341 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16342 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16343 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16344 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16345
b4343346
AS
163462011-10-28 Andreas Schwab <schwab@redhat.com>
16347
0c92d8a8
AS
16348 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16349 redefine if SHARED.
16350 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16351
b4343346
AS
16352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16353 wide char related routines to wcsmbs subdir.
16354
3871f58f
AS
163552011-10-27 Andreas Schwab <schwab@redhat.com>
16356
16357 [BZ #13344]
16358 * misc/sys/cdefs.h (__THROWNL): Define.
16359 * posix/unistd.h: Use __THREADNL instead of __THREAD
16360 for memory synchronization functions.
16361
94d44d9f
RM
163622011-10-26 Roland McGrath <roland@hack.frob.com>
16363
21b64b15 16364 [BZ #13349]
94d44d9f
RM
16365 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16366 doesn't exist.
16367 * manual/stdio.texi (Obstack Streams): Node removed.
16368
f6ce9294
AS
163692011-10-26 Andreas Schwab <schwab@redhat.com>
16370
80479147
AS
16371 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16372 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16373 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16374
f6ce9294
AS
16375 * math/math_private.h (math_force_eval): Allow non-addressable
16376 arguments.
16377 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16378
618280a1
UD
163792011-10-25 Ulrich Drepper <drepper@gmail.com>
16380
e0016b11
UD
16381 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16382 file is not needed.
16383
16384 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16385 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16387 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16388 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16389 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16390 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16391 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16392 Add AVX variants.
16393 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16394 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16395 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16396 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16397 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16398 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16399 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16400 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16401 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16402 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16403 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16404 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16405 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16406 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16407 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16408 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16409 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16410 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16411 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16412
16413 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16414 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16415
618280a1
UD
16416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16417 place. Use VEX encoding when compiling for AVX.
16418
37822576
AS
164192011-10-25 Andreas Schwab <schwab@redhat.com>
16420
1f1e1947
AS
16421 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16422 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16423
37822576
AS
16424 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16425
31ea014d
UD
164262011-10-25 Ulrich Drepper <drepper@gmail.com>
16427
d7826aa1 16428 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16429 useless if() expression.
d7826aa1
UD
16430 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16431 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16432 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16433 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16434 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16435 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16436 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16437 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16438 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16439 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16440 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16441 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16442 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16443 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16444 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16445 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16446 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16447 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16448 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16449
31ea014d
UD
16450 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16451
16437fec
AS
164522011-10-25 Andreas Schwab <schwab@redhat.com>
16453
16454 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16455 condition.
16456 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16457
31d3cc00
UD
164582011-10-25 Ulrich Drepper <drepper@gmail.com>
16459
16460 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16461 .text section. Avoid duplicate constants.
16462 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16464 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16470 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16471 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16472 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16473 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16474 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16475 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16476 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16477 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16478 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16479 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16480 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16482 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16483 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16484 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16485 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16486 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16487 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16488 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16489 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16490 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16491 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16492 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16493 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16494 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16495 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16496 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16497 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16498 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16499 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16500 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16501 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16502 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16504 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16505 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16506 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16507
58985aa9
UD
165082011-10-24 Ulrich Drepper <drepper@gmail.com>
16509
202c9deb
UD
16510 * sysdeps/x86_64/dla.h: Move to ...
16511 * sysdeps/x86_64/fpu/dla.h: ...here.
16512 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16513 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16514
af968f62
UD
16515 * config.make.in: Add have-mfma4 entry.
16516 * configure.in: Substitute libc_cv_cc_fma4.
16517 * math/Makefile (dbl-only-routines): Add sincostab.
16518 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16519 Use __sincostab not sincos.
16520 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16521 name is a macro.
16522 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16526 using __copysign.
16527 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16528 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16529 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16530 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16531 and __inv.
16532 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16533 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16534 __copysign.
16535 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16536 define aliases when function name is a macro.
16537 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16538 sysdeps/ieee754/dbl-64/sincos.tbl.
16539 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16540 fma4-enabled routines.
16541 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16542 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16543 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16544 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16545 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16546 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16547 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16548 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16549 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16550 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16551 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16552 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16553 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16554 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16555 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16556 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16557 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16558 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16559 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16560 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16561 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16562 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16563 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16564 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16565 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16566 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16567 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16568 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16569 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16570 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16571
58985aa9
UD
16572 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16573 rename.
16574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16582
a201fbcf
AS
165832011-10-24 Andreas Schwab <schwab@redhat.com>
16584
16585 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16586
fc2ee42a
LD
165872011-10-23 Ulrich Drepper <drepper@gmail.com>
16588
bb3129bd
UD
16589 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16590
0275fff8
UD
16591 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16592 prediction.
16593 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16594
2fa2ae85
UD
16595 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16596 Remove unused variable magic_bits.
16597 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16598
fc2ee42a
LD
16599 * string/strnlen.c: Define and use STRNLEN macro.
16600 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16601 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16603 * wcsmbs/wcslen.c: Define and use WCSLEN.
16604 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16605 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16606 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16607 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16608 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16609 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16610 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16611
ce7dd29f
LD
166122011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16613
16614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16615 strnlen-sse2-no-bsf.
16616 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16618 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16619 Add strnlen support.
16620 (USE_AS_STRNLEN): New macro.
16621 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16622 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16623 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16624 * sysdeps/x86_64/wcslen.S: New file.
16625
979c70a3
MZ
166262011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16627
16628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16629 XMM-moves are used for copying on small sizes.
16630
2d09f82f
LD
166312011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16632
16633 * wcsmbs/Makefile (strop-tests): Add wcschr.
16634 * wcsmbs/test-wcschr.c: New file.
16635 * string/test-strchr.c: Update.
16636 Add wcschr support.
16637 (WIDE): New macro.
16638
619fccca
LD
166392011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16640
2d09f82f 16641 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16642 * wcsmbs/test-wcslen.c: New file.
16643 * string/test-strlen.c: Update.
16644 Add wcslen support.
16645 (WIDE): New macro.
16646
09f699ea
UD
166472011-10-23 Ulrich Drepper <drepper@gmail.com>
16648
16649 * po/it.po: Update from translation team.
16650
95584d3b
LD
166512011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16652
16653 * sysdeps/x86_64/wcscmp.S: Update.
16654 Fix wrong comparison semantics.
16655 wcscmp shall use signed comparison not unsigned.
16656 Don't use substraction to avoid overflow bug.
16657 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16658 * wcsmbc/wcscmp.c: Likewise.
16659 * string/test-strcmp.c: Likewise.
16660 Add new tests to check cases with negative values.
16661
c8b3296b
UD
166622011-10-23 Ulrich Drepper <drepper@gmail.com>
16663
16664 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16665 * sysdeps/x86_64/dla.h: ...here. New file.
16666 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16667 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16675
246ad57a
AS
166762011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16677
16678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16679 __ynl_finite aliases.
16680
a1a87169
UD
166812011-10-22 Ulrich Drepper <drepper@gmail.com>
16682
0d355eb7
UD
16683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16684
a1a87169
UD
16685 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16686 define DLA_FMA.
16687 [DLA_FMA] (EMULV): Use DLA_FMA.
16688 [DLA_FMA] (MUL12): Use EMULV.
16689 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16690 that are not needed.
16691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16692 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16698
ee2aafe0
AS
166992011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16700
16701 * math/s_nan.c: Undef __nan.
16702 * math/s_nanf.c: Undef __nanf.
16703 * math/s_nanl.c: Undef __nanl.
16704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16705 "math_private.h".
16706
bc62c2fb
UD
167072011-10-22 Ulrich Drepper <drepper@gmail.com>
16708
77425c63
UD
16709 * math/s_catan.c: Add branch predictions.
16710 * math/s_catanf.c: Likewise.
16711 * math/s_catanh.c: Likewise.
16712 * math/s_catanhf.c: Likewise.
16713 * math/s_catanhl.c: Likewise.
16714 * math/s_catanl.c: Likewise.
16715 * math/s_cexp.c: Likewise.
16716 * math/s_cexpf.c: Likewise.
16717 * math/s_cexpl.c: Likewise.
16718 * math/s_clog.c: Likewise.
16719 * math/s_clog10.c: Likewise.
16720 * math/s_clog10f.c: Likewise.
16721 * math/s_clog10l.c: Likewise.
16722 * math/s_clogf.c: Likewise.
16723 * math/s_clogl.c: Likewise.
16724 * math/s_csqrt.c: Likewise.
16725 * math/s_csqrtf.c: Likewise.
16726 * math/s_csqrtl.c: Likewise.
16727 * math/s_ctanf.c: Likewise.
16728 * math/s_ctanh.c: Likewise.
16729 * math/s_ctanhf.c: Likewise.
16730 * math/s_ctanhl.c: Likewise.
16731 * math/s_ctanl.c: Likewise.
16732
bc62c2fb
UD
16733 * math/math_private.h: Define __nan, __nanf, __nanl.
16734 * math/s_cacosh.c: Include <math_private.h>.
16735 * math/s_cacoshl.c: Likewise.
16736 * math/s_casinh.c: Likewise.
16737 * math/s_casinhf.c: Likewise.
16738 * math/s_casinhl.c: Likewise.
16739 * math/s_ccos.c: Rely entire on ccosh.
16740 * math/s_ccosf.c: Rely entire on ccoshf.
16741 * math/s_ccosl.c: Rely entirely on ccoshl.
16742 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16743 Remove tests for FE_INVALID.
16744 * math/s_ccoshf.c: Likewise.
16745 * math/s_ccoshl.c: Likewise.
16746 * math/s_csin.c: Likewise.
16747 * math/s_csinf.c: Likewise.
16748 * math/s_csinh.c Likewise.
16749 * math/s_csinhf.c: Likewise.
16750 * math/s_csinhl.c: Likewise.
16751 * math/s_csinl.c: Likewise.
16752 * math/s_ctan.c: Likewise.
16753 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16754 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16755 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16756
8ec250a4
UD
167572011-10-21 Ulrich Drepper <drepper@gmail.com>
16758
c196fed8
UD
16759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16760 compilation problems.
16761
8ec250a4
UD
16762 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16763 __builtin_expect.
16764
8d4f46c6
UD
167652011-10-20 Ulrich Drepper <drepper@gmail.com>
16766
ed72b654
UD
16767 * sysdeps/i386/configure.in: Test for -mfma4 option.
16768 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16769 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16770 COMMON_CPUID_INDEX_80000001.
16771 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16772 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16773 use it if FMA3 is not supported.
16774 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16775
8d4f46c6
UD
16776 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16777 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16778
d45c60c2
AS
167792011-10-20 Andreas Schwab <schwab@redhat.com>
16780
16781 [BZ #12892]
16782 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16783 it would create a cycle with a link time dependency.
16784
d9a4d2ab
UD
167852011-10-19 Ulrich Drepper <drepper@gmail.com>
16786
855d1560
UD
16787 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16788 instruction.
16789 * string/Makefile (strop-tests): Add rawmemchr.
16790 * string/test-rawmemchr.c: New file.
16791
d9a4d2ab
UD
16792 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16794 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16795 when compiling str{,n}casecmp and when AVX is available. Hook up
16796 new optimized code in initializers.
16797
8f3b1ffe
AS
167982011-10-19 Andreas Schwab <schwab@redhat.com>
16799
16800 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16801 __feraiseexcept instead of feraiseexcept.
16802
d38f1dba
UD
168032011-10-18 Ulrich Drepper <drepper@gmail.com>
16804
d9a8d0ab
UD
16805 * math/math_private.h: Define defaults for libc_fetestexcept and
16806 libc_feupdateenv.
16807 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16808 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16809 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16810 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16811 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16812 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16813 libc_fetestexcept and libc_feupdateenv.
16814
4855e3dd
UD
16815 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16816 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16817 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16818 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16819 libc_feholdexcept_setround.
16820
581d30e3
UD
16821 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16822 Add s_nearbyint-c and s_nearbyintf-c.
16823 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16824 nearbyintf inlines.
16825 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16826 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16827 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16828 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16829
d38f1dba
UD
16830 * math/math_private.h: Define defaults for libc_fegetround,
16831 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16832 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16833 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16834 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16835 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16836 standard functions.
16837 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16838 Remove comments and hacks for old compiler versions.
16839 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16840 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16841 libc_feholdexceptl.
16842
caa6c9d8
AS
168432011-10-18 Andreas Schwab <schwab@redhat.com>
16844
16845 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
16846 (__feraiseexcept_renamed): Add __NTH.
16847 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
16848 namespace violations.
16849
97c066e6
UD
168502011-10-17 Ulrich Drepper <drepper@gmail.com>
16851
99ce7b04
UD
16852 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16853
1004d182
UD
16854 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16855
228a984d
UD
16856 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16857 recently added interfaces.
16858 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16859
c8553a6a
UD
16860 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16861 about macro parameter expansion.
16862
ed22dcf6
UD
16863 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16864 __NO_MATH_INLINES is defined. Cleanups.
16865
16866 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16867 and __floorf is target has SSE4.1.
16868 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16869 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16870 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16871 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16872
b171c137
UD
16873 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16874 name.
16875 (floorf): Likewise.
16876
97c066e6
UD
16877 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16878
629f62ef
AS
168792011-10-17 Andreas Schwab <schwab@redhat.com>
16880
49a43d80
AS
16881 * misc/sys/cdefs.h: Fix last change.
16882
629f62ef
AS
16883 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16884 database lookup.
16885
e453f6cd
UD
168862011-10-16 Ulrich Drepper <drepper@gmail.com>
16887
aa78043a
UD
16888 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16889
ad0f5cad
UD
16890 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16891 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16892 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16893 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16894 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16895 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16896 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16897 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16898 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16899 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16900 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16901 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16902 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16903 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16904 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16905 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16906 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16907 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16908 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16909 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16910 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16911 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16912
16913 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16914 ceil, ceilf, floor, floorf.
16915
16916 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16917 Perform IRELATIVE relocations last.
16918
e453f6cd
UD
16919 * elf/do-rel.h: Add another parameter nrelative, replacing the
16920 local variable with the same name. Change name of the function
16921 to end in Rel or Rela (uppercase).
16922 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16923 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16924 elf_dynamic_do_##reloc function.
16925
fd5bdc09
UD
169262011-10-15 Ulrich Drepper <drepper@gmail.com>
16927
79b195b5
UD
16928 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16929 is sufficient, at least on modern CPUs.
16930
d4a28569
UD
16931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16932
b61099b5
UD
16933 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16934 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16935
bcf01e6d
UD
16936 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16937 __expl_finite.
16938 * math/bits/math-finite.h: Add entries for exp.
16939 * math/e_expl.c: Add __*_finite alias.
16940 * sysdeps/i386/fpu/e_exp.S: Likewise.
16941 * sysdeps/i386/fpu/e_expf.S: Likewise.
16942 * sysdeps/i386/fpu/e_expl.c: Likewise.
16943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16944 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16945 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16946 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16947 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16948 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16949 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16950
ba1a0d59
UD
16951 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16952 is sufficient, at least on modern CPUs.
16953
fd5bdc09
UD
16954 * ctype/ctype-info.c (__ctype_init): Define.
16955 * include/ctype.h (__ctype_init): Declare.
16956 (__ctype_b_loc): The variable is always initialized.
16957 (__ctype_toupper_loc): Likewise.
16958 (__ctype_tolower_loc): Likewise.
16959 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16960 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16961
7872cfb0
AS
169622011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16963
b468825a
AS
16964 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16965
7872cfb0
AS
16966 * configure.in: Also look in $cxxmachine/include for C++ system
16967 headers.
16968
be13f7bf
LD
169692011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16970
16971 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16972 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16973 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16974 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16975 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16976 (USE_AS_WMEMCMP): New macro.
16977 Fixing indents.
16978 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16979 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16980 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16981 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16983 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16984 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16985 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16986 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16987 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16988 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16989 (USE_AS_WMEMCMP): New macro.
16990 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16991 * sysdeps/string/test-memcmp.c: Update.
16992 Fix simple_wmemcmp.
16993 Add new tests.
16994 * wcsmbs/wmemcmp.c: Update.
16995 (WMEMCMP): New macro.
16996 Fix overflow bug.
16997
556a2007
AJ
169982011-10-12 Andreas Jaeger <aj@suse.de>
16999
17000 [BZ #13268]
17001 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17002
538faaa7
UD
170032011-10-15 Ulrich Drepper <drepper@gmail.com>
17004
ab6737ff
UD
17005 * libio/iofwide.c (do_length): Avoid warning.
17006
538faaa7
UD
17007 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17008
396a21b1
UD
170092011-10-14 Ulrich Drepper <drepper@gmail.com>
17010
cdf2901f
UD
17011 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17012
38ad40ce
UD
17013 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17014 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17015 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17016 * sysdeps/i386/i686/fpu/e_log.S: New file.
17017 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17018 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17019
396a21b1
UD
17020 * ctype/ctype.h: Add support for inlined isXXX functions when
17021 compiling C++ code.
17022
6b1f68c9
AS
170232011-10-14 Andreas Schwab <schwab@redhat.com>
17024
349290c0
AS
17025 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17026
6b1f68c9
AS
17027 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17028
f2282d42
RM
170292011-10-13 Roland McGrath <roland@hack.frob.com>
17030
17031 [BZ #13291]
17032 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17033
5298ffa8
AS
170342011-10-13 Andreas Schwab <schwab@redhat.com>
17035
714fad23
AS
17036 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17037 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17038 feraiseexcept.
17039
81dcc7fb
AS
17040 * sysdeps/x86_64/memrchr.S: Check for zero size.
17041
5298ffa8
AS
17042 * string/stratcliff.c: Add memrchr tests.
17043
951fbcec
LD
170442011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17045
17046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17047 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17048 rawmemchr-sse2 rawmemchr-sse2-bsf.
17049 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17050 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17051 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17052 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17053 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17054 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17055 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17056 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17057 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17058 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17059 * string/memrchr.c (MEMRCHR): New macro.
17060
0ac5ae23
UD
170612011-10-12 Ulrich Drepper <drepper@gmail.com>
17062
17063 Add integration with gcc's -ffinite-math-only and optimize wrapper
17064 functions in libm.
17065 * Versions.def: Define GLIBC_2.15 version for libm.
17066 * math/Makefile (headers): Add bits/math-finite.h.
17067 * math/bits/math-finite.h: New file.
17068 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17069 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17070 * math/e_acoshl.c: Add __*_finite alias.
17071 * math/e_acosl.c: Likewise.
17072 * math/e_asinl.c: Likewise.
17073 * math/e_atan2l.c: Likewise.
17074 * math/e_atanhl.c: Likewise.
17075 * math/e_coshl.c: Likewise.
17076 * math/e_exp10.c: Likewise.
17077 * math/e_exp10f.c: Likewise.
17078 * math/e_exp10l.c: Likewise.
17079 * math/e_exp2l.c: Likewise.
17080 * math/e_fmodl.c: Likewise.
17081 * math/e_gammal_r.c: Likewise.
17082 * math/e_hypotl.c: Likewise.
17083 * math/e_j0l.c: Likewise.
17084 * math/e_j1l.c: Likewise.
17085 * math/e_jnl.c: Likewise.
17086 * math/e_lgammal_r.c: Likewise.
17087 * math/e_log10l.c: Likewise.
17088 * math/e_log2l.c: Likewise.
17089 * math/e_logl.c: Likewise.
17090 * math/e_powl.c: Likewise.
17091 * math/e_sinhl.c: Likewise.
17092 * math/e_sqrtl.c: Likewise.
17093 * math/e_scalb.c: Completely rewritten and optimized.
17094 * math/e_scalbf.c: Likewise.
17095 * math/e_scalbl.c: Likewise.
17096 * math/w_acos.c: Likewise.
17097 * math/w_acosf.c: Likewise.
17098 * math/w_acosl.c: Likewise.
17099 * math/w_acosh.c: Likewise.
17100 * math/w_acoshf.c: Likewise.
17101 * math/w_acoshl.c: Likewise.
17102 * math/w_asin.c: Likewise.
17103 * math/w_asinf.c: Likewise.
17104 * math/w_asinl.c: Likewise.
17105 * math/w_atan2.c: Likewise.
17106 * math/w_atan2f.c: Likewise.
17107 * math/w_atan2l.c: Likewise.
17108 * math/w_atanh.c: Likewise.
17109 * math/w_atanhf.c: Likewise.
17110 * math/w_atanhl.c: Likewise.
17111 * math/w_exp10.c: Likewise.
17112 * math/w_exp10f.c: Likewise.
17113 * math/w_exp10l.c: Likewise.
17114 * math/w_fmod.c: Likewise.
17115 * math/w_fmodf.c: Likewise.
17116 * math/w_fmodl.c: Likewise.
17117 * math/w_j0.c: Likewise.
17118 * math/w_j0f.c: Likewise.
17119 * math/w_j0l.c: Likewise.
17120 * math/w_j1.c: Likewise.
17121 * math/w_j1f.c: Likewise.
17122 * math/w_j1l.c: Likewise.
17123 * math/w_jn.c: Likewise.
17124 * math/w_jnf.c: Likewise.
17125 * math/w_log.c: Likewise.
17126 * math/w_logf.c: Likewise.
17127 * math/w_logl.c: Likewise.
17128 * math/w_log10.c: Likewise.
17129 * math/w_log10f.c: Likewise.
17130 * math/w_log10l.c: Likewise.
17131 * math/w_log2.c: Likewise.
17132 * math/w_log2f.c: Likewise.
17133 * math/w_log2l.c: Likewise.
17134 * math/w_pow.c: Likewise.
17135 * math/w_powf.c: Likewise.
17136 * math/w_powl.c: Likewise.
17137 * math/w_remainder.c: Likewise.
17138 * math/w_remainderf.c: Likewise.
17139 * math/w_remainderl.c: Likewise.
17140 * math/w_scalb.c: Likewise.
17141 * math/w_scalbf.c: Likewise.
17142 * math/w_scalbl.c: Likewise.
17143 * math/w_sqrt.c: Likewise.
17144 * math/w_sqrtf.c: Likewise.
17145 * math/w_sqrtl.c: Likewise.
17146 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17147 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17148 used.
17149 * math/math_private.h: Declare __kernel_standard_f.
17150 * math/w_cosh.c: Remove cruft and optimize a bit.
17151 * math/w_coshf.c: Likewise.
17152 * math/w_coshl.c: Likewise.
17153 * math/w_exp2.c: Likewise.
17154 * math/w_exp2f.c: Likewise.
17155 * math/w_exp2l.c: Likewise.
17156 * math/w_hypot.c: Likewise.
17157 * math/w_hypotf.c: Likewise.
17158 * math/w_hypotl.c: Likewise.
17159 * math/w_lgamma.c: Likewise.
17160 * math/w_lgamma_r.c: Likewise.
17161 * math/w_lgammaf.c: Likewise.
17162 * math/w_lgammaf_r.c: Likewise.
17163 * math/w_lgammal.c: Likewise.
17164 * math/w_lgammal_r.c: Likewise.
17165 * math/w_sinh.c: Likewise.
17166 * math/w_sinhf.c: Likewise.
17167 * math/w_sinhl.c: Likewise.
17168 * math/w_tgamma.c: Likewise.
17169 * math/w_tgammaf.c: Likewise.
17170 * math/w_tgammal.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17172 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17173 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17174 Minor optimizations. Pretty printing. Remove cruft.
17175 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17176 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17177 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17178 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17179 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17180 * sysdeps/i386/fpu/e_asin.S: Likewise.
17181 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17182 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17183 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17184 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17185 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17186 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17187 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17188 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17189 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17190 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17191 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17192 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17193 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17194 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17195 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17196 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17197 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17198 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17199 * sysdeps/i386/fpu/e_log.S: Likewise.
17200 * sysdeps/i386/fpu/e_log10.S: Likewise.
17201 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17202 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17203 * sysdeps/i386/fpu/e_log2.S: Likewise.
17204 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17205 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17206 * sysdeps/i386/fpu/e_logf.S: Likewise.
17207 * sysdeps/i386/fpu/e_logl.S: Likewise.
17208 * sysdeps/i386/fpu/e_pow.S: Likewise.
17209 * sysdeps/i386/fpu/e_powf.S: Likewise.
17210 * sysdeps/i386/fpu/e_powl.S: Likewise.
17211 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17212 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17213 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17214 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17215 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17216 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17217 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17218 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17219 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17220 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17221 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17223 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17225 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17226 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17227 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17228 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17229 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17230 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17231 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17233 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17234 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17236 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17237 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17240 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17241 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17242 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17243 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17244 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17245 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17246 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17247 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17248 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17249 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17250 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17251 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17252 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17253 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17254 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17255 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17256 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17257 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17258 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17259 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17260 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17261 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17300 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17303 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17305 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17308 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17311 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17312 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17313 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17314 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17315 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17316 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17317 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17318 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17319 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17320 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17321 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17322 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17323 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17324 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17325 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17326 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17327 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17328 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17329 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17330 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17331 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17332 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17333 (__isnanf): Likewise.
17334 (__isinf_ns): Likewise.
17335 (__isinf_nsf): Likewise.
17336 (__finite): Likewise.
17337 (__finitef): Likewise.
17338 (__ieee754_sqrt): Define as macro.
17339 (__ieee754_sqrtf): Define as macro.
17340 (__ieee754_sqrtl): Define as macro.
17341 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17342 inlined copy.
17343 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17344 __FINITE_MATH_ONLY__ consistent.
17345 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17346
12cc2fcd
AS
173472011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17348
a843a204
AS
17349 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17350 of rawmemchr.
17351
12cc2fcd
AS
17352 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17353
c853acd5
UD
173542011-10-09 Ulrich Drepper <drepper@gmail.com>
17355
17356 * po/ja.po: Update from translation team.
17357
c658d255
RM
173582011-10-08 Roland McGrath <roland@hack.frob.com>
17359
110946e4
RM
17360 * locale/programs/locarchive.c (prepare_address_space): New function.
17361 (create_archive, enlarge_archive, open_archive): Use it.
17362
50604220
RM
17363 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17364 inside [SHARED], where it is used.
17365
c658d255
RM
17366 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17367
17368 * nss/getent.c (netgroup_keys): Remove unused variable.
17369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17370
6a621eb7
UD
173712011-10-08 Ulrich Drepper <drepper@gmail.com>
17372
7edb55ce
UD
17373 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17374 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17376 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17377 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17378 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17379 * math/Makefile (libm-calls): Add s_isinf_ns.
17380 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17381 * math/multc3.c: Likewise.
17382 * math/s_casin.c: Likewise.
17383 * math/s_casinf.c: Likewise.
17384 * math/s_casinl.c: Likewise.
17385 * math/s_ccos.c: Likewise.
17386 * math/s_ccosf.c: Likewise.
17387 * math/s_ccosl.c: Likewise.
17388 * math/s_ctan.c: Likewise.
17389 * math/s_ctanf.c: Likewise.
17390 * math/s_ctanh.c: Likewise.
17391 * math/s_ctanhf.c: Likewise.
17392 * math/s_ctanhl.c: Likewise.
17393 * math/s_ctanl.c: Likewise.
17394 * math/w_fmod.c: Likewise.
17395 * math/w_fmodf.c: Likewise.
17396 * math/w_fmodl.c: Likewise.
17397 * math/w_remainder.c: Likewise.
17398 * math/w_remainderf.c: Likewise.
17399 * math/w_remainderl.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17401 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17402 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17404 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17405 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17406 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17407 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17408
187da0ae
UD
17409 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17410 of the number.
17411 * stdio-common/printf_fphex.c: Likewise.
17412 * stdio-common/printf_size.c: Likewise.
17413
9277c064
UD
17414 * math/e_exp10.c: Include math_private.h using <...> not "...".
17415 * math/e_exp10f.c: Likewise.
17416 * math/e_exp10l.c: Likewise.
17417 * math/e_exp2l.c: Likewise.
17418 * math/e_j0l.c: Likewise.
17419 * math/e_j1l.c: Likewise.
17420 * math/e_jnl.c: Likewise.
17421 * math/e_lgammal_r.c: Likewise.
17422 * math/e_rem_pio2l.c: Likewise.
17423 * math/e_scalb.c: Likewise.
17424 * math/e_scalbf.c: Likewise.
17425 * math/e_scalbl.c: Likewise.
17426 * math/k_cosl.c: Likewise.
17427 * math/k_sinl.c: Likewise.
17428 * math/k_tanl.c: Likewise.
17429 * math/s_cacoshf.c: Likewise.
17430 * math/s_catan.c: Likewise.
17431 * math/s_catanf.c: Likewise.
17432 * math/s_catanh.c: Likewise.
17433 * math/s_catanhf.c: Likewise.
17434 * math/s_catanhl.c: Likewise.
17435 * math/s_catanl.c: Likewise.
17436 * math/s_ccosh.c: Likewise.
17437 * math/s_ccoshf.c: Likewise.
17438 * math/s_ccoshl.c: Likewise.
17439 * math/s_cexp.c: Likewise.
17440 * math/s_cexpf.c: Likewise.
17441 * math/s_cexpl.c: Likewise.
17442 * math/s_clog.c: Likewise.
17443 * math/s_clog10.c: Likewise.
17444 * math/s_clog10f.c: Likewise.
17445 * math/s_clog10l.c: Likewise.
17446 * math/s_clogf.c: Likewise.
17447 * math/s_clogl.c: Likewise.
17448 * math/s_csin.c: Likewise.
17449 * math/s_csinf.c: Likewise.
17450 * math/s_csinh.c: Likewise.
17451 * math/s_csinhf.c: Likewise.
17452 * math/s_csinhl.c: Likewise.
17453 * math/s_csinl.c: Likewise.
17454 * math/s_csqrt.c: Likewise.
17455 * math/s_csqrtf.c: Likewise.
17456 * math/s_csqrtl.c: Likewise.
17457 * math/s_ctan.c: Likewise.
17458 * math/s_ctanf.c: Likewise.
17459 * math/s_ctanh.c: Likewise.
17460 * math/s_ctanhf.c: Likewise.
17461 * math/s_ctanhl.c: Likewise.
17462 * math/s_ctanl.c: Likewise.
17463 * math/s_ldexp.c: Likewise.
17464 * math/s_ldexpf.c: Likewise.
17465 * math/s_ldexpl.c: Likewise.
17466 * math/s_significand.c: Likewise.
17467 * math/s_significandf.c: Likewise.
17468 * math/s_significandl.c: Likewise.
17469 * math/w_acos.c: Likewise.
17470 * math/w_acosf.c: Likewise.
17471 * math/w_acosh.c: Likewise.
17472 * math/w_acoshf.c: Likewise.
17473 * math/w_acoshl.c: Likewise.
17474 * math/w_acosl.c: Likewise.
17475 * math/w_asin.c: Likewise.
17476 * math/w_asinf.c: Likewise.
17477 * math/w_asinl.c: Likewise.
17478 * math/w_atan2.c: Likewise.
17479 * math/w_atan2f.c: Likewise.
17480 * math/w_atan2l.c: Likewise.
17481 * math/w_atanh.c: Likewise.
17482 * math/w_atanhf.c: Likewise.
17483 * math/w_atanhl.c: Likewise.
17484 * math/w_cosh.c: Likewise.
17485 * math/w_coshf.c: Likewise.
17486 * math/w_coshl.c: Likewise.
17487 * math/w_dremf.c: Likewise.
17488 * math/w_exp10.c: Likewise.
17489 * math/w_exp10f.c: Likewise.
17490 * math/w_exp10l.c: Likewise.
17491 * math/w_exp2.c: Likewise.
17492 * math/w_exp2f.c: Likewise.
17493 * math/w_fmod.c: Likewise.
17494 * math/w_fmodf.c: Likewise.
17495 * math/w_fmodl.c: Likewise.
17496 * math/w_hypot.c: Likewise.
17497 * math/w_hypotf.c: Likewise.
17498 * math/w_hypotl.c: Likewise.
17499 * math/w_j0.c: Likewise.
17500 * math/w_j0f.c: Likewise.
17501 * math/w_j0l.c: Likewise.
17502 * math/w_j1.c: Likewise.
17503 * math/w_j1f.c: Likewise.
17504 * math/w_j1l.c: Likewise.
17505 * math/w_jn.c: Likewise.
17506 * math/w_jnf.c: Likewise.
17507 * math/w_jnl.c: Likewise.
17508 * math/w_lgamma.c: Likewise.
17509 * math/w_lgamma_r.c: Likewise.
17510 * math/w_lgammaf.c: Likewise.
17511 * math/w_lgammaf_r.c: Likewise.
17512 * math/w_lgammal.c: Likewise.
17513 * math/w_lgammal_r.c: Likewise.
17514 * math/w_log.c: Likewise.
17515 * math/w_log10.c: Likewise.
17516 * math/w_log10f.c: Likewise.
17517 * math/w_log10l.c: Likewise.
17518 * math/w_log2.c: Likewise.
17519 * math/w_log2f.c: Likewise.
17520 * math/w_log2l.c: Likewise.
17521 * math/w_logf.c: Likewise.
17522 * math/w_logl.c: Likewise.
17523 * math/w_pow.c: Likewise.
17524 * math/w_powf.c: Likewise.
17525 * math/w_powl.c: Likewise.
17526 * math/w_remainder.c: Likewise.
17527 * math/w_remainderf.c: Likewise.
17528 * math/w_remainderl.c: Likewise.
17529 * math/w_scalb.c: Likewise.
17530 * math/w_scalbf.c: Likewise.
17531 * math/w_scalbl.c: Likewise.
17532 * math/w_sinh.c: Likewise.
17533 * math/w_sinhf.c: Likewise.
17534 * math/w_sinhl.c: Likewise.
17535 * math/w_sqrt.c: Likewise.
17536 * math/w_sqrtf.c: Likewise.
17537 * math/w_sqrtl.c: Likewise.
17538 * math/w_tgamma.c: Likewise.
17539 * math/w_tgammaf.c: Likewise.
17540 * math/w_tgammal.c: Likewise.
17541
6a621eb7
UD
17542 * po/ja.po: Update from translation team.
17543
bf582445
AJ
175442011-09-29 Andreas Jaeger <aj@suse.de>
17545
f9efbf3a
AJ
17546 [BZ #13179]
17547 * sunrpc/netname.c (netname2host): Fix logic.
17548
bf582445
AJ
17549 [BZ #6779]
17550 [BZ #6783]
17551 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17552 correctly.
17553 * math/w_remainder.c (__remainder): Likewise.
17554 * math/w_remainderf.c (__remainderf): Likewise.
17555 * math/libm-test.inc (remainder_test): Add test cases.
17556
48693bea
AK
175572011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17558
17559 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17560 sdiv_qrnnd.
17561
42622229
LD
175622011-10-07 Ulrich Drepper <drepper@gmail.com>
17563
17564 * string/test-memcmp.c: Avoid unncessary #defines.
17565 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17566
093ecf92
LD
175672011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17568
17569 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17570 Use new sse2 version for core i3 - i7 as it's faster
17571 than sse42 version.
17572 (bit_Prefer_PMINUB_for_stringop): New.
17573 * sysdeps/x86_64/rawmemchr.S: Update.
17574 Replace with faster SSE2 version.
17575 * sysdeps/x86_64/memrchr.S: New file.
17576 * sysdeps/x86_64/memchr.S: Update.
17577 Replace with faster SSE2 version.
17578
fde56e5c
MP
175792011-09-12 Marek Polacek <mpolacek@redhat.com>
17580
17581 * elf/dl-load.c (lose): Add cast to avoid warning.
17582
21fd49a9
UD
175832011-10-07 Ulrich Drepper <drepper@gmail.com>
17584
5a06e643
UD
17585 * po/ca.po: Update from translation team.
17586
684ae515
UD
17587 * inet/getnetgrent_r.c: Hook up nscd.
17588 * nscd/Makefile (routines): Add nscd_netgroup.
17589 (nscd-modules): Add netgroupcache.
17590 (CFLAGS-netgroupcache.c): Define.
17591 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17592 (cache_search): Add const to second parameter.
17593 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17594 INNETGR.
17595 (dbs): Add netgrdb entry.
17596 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17597 (verify_persistent_db): Handle netgrdb.
17598 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17599 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17600 GETFDNETGR.
17601 (netgroup_response_header): Define.
17602 (innetgroup_response_header): Define.
17603 (datahead): Add netgroup_response_header and innetgroup_response_header
17604 elements.
17605 * nscd/nscd.conf: Add entries for netgroup cache.
17606 * nscd/nscd.h (dbtype): Add netgrdb.
17607 (_PATH_NSCD_NETGROUP_DB): Define.
17608 (netgroup_iov_disabled): Declare.
17609 (xmalloc, xcalloc, xrealloc): Move declarations here.
17610 (cache_search): Adjust prototype.
17611 Add netgroup-related prototypes.
17612 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17613 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17614 (__nscd_innetgr): Declare.
17615 * nscd/selinux.c (perms): Use access_vector_t as element type and
17616 add netgroup-related initializers.
17617 * nscd/netgroupcache.c: New file.
17618 * nscd/nscd_netgroup.c: New file.
17619 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17620 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17621 For four parameters use innetgr.
17622 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17623 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17624 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17625 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17626
21fd49a9
UD
17627 * nscd/connections.c (register_traced_file): Don't register file
17628 for disabled databases.
17629
054c0457
UD
176302011-10-06 Ulrich Drepper <drepper@gmail.com>
17631
32b63198
UD
17632 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17633
054c0457
UD
17634 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17635 from tree and freeing node.
17636
64031225
JO
176372011-09-25 Jiri Olsa <jolsa@redhat.com>
17638
17639 * nss/nsswitch.c (__nss_database_lookup): Handle
17640 nss_parse_service_list out of memory case.
17641
0490345c
JO
176422011-09-15 Jiri Olsa <jolsa@redhat.com>
17643
17644 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17645 out of memory case.
17646
3a62d00d
AS
176472011-10-04 Andreas Schwab <schwab@redhat.com>
17648
17649 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17650 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17651 pass it down.
17652 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17653 elf_machine_rela, elf_machine_lazy_rel.
17654 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17655 (ELF_DYNAMIC_DO_REL): Likewise.
17656 (ELF_DYNAMIC_DO_RELA): Likewise.
17657 (ELF_DYNAMIC_RELOCATE): Likewise.
17658 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17659 to ELF_DYNAMIC_DO_REL.
17660 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17661 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17662 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17663 elf_machine_rela.
17664 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17665 skip_ifunc, don't call ifunc function if non-zero.
17666 (elf_machine_rela): Likewise.
17667 (elf_machine_lazy_rel): Likewise.
17668 (elf_machine_lazy_rela): Likewise.
17669 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17670 (elf_machine_lazy_rel): Likewise.
17671 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17672 Likewise.
17673 (elf_machine_lazy_rel): Likewise.
17674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17675 Likewise.
17676 (elf_machine_lazy_rel): Likewise.
17677 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17678 (elf_machine_lazy_rel): Likewise.
17679 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17680 (elf_machine_lazy_rel): Likewise.
17681 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17682 (elf_machine_lazy_rel): Likewise.
17683 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17684 (elf_machine_lazy_rel): Likewise.
17685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17686 (elf_machine_lazy_rel): Likewise.
17687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17688 (elf_machine_lazy_rel): Likewise.
17689
68577918
UD
176902011-09-28 Ulrich Drepper <drepper@gmail.com>
17691
17692 * nss/nss_files/files-init.c (_nss_files_init): Use static
17693 initialization for all the *_traced_file variables.
17694
68822d74
AS
176952011-09-28 Andreas Schwab <schwab@redhat.com>
17696
17697 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17698
2056100b
RM
176992011-09-27 Roland McGrath <roland@hack.frob.com>
17700
17701 [BZ #13226]
17702 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17703
32c76b63
AS
177042011-09-27 Andreas Schwab <schwab@redhat.com>
17705
17706 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17707 Reread the line before reparsing it.
17708
bf972c9d
AS
177092011-09-26 Andreas Schwab <schwab@redhat.com>
17710
17711 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17712
e057a1b5
JM
177132011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17714 Maxim Kuvyrkov <maxim@codesourcery.com>
17715 Joseph Myers <joseph@codesourcery.com>
17716
17717 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17718 if needed for __stack_chk_guard.
17719
bc7e1c36
RM
177202011-09-19 Roland McGrath <roland@hack.frob.com>
17721
ecb1482f
RM
17722 * sysdeps/posix/spawni.c (script_execute): Always define it.
17723 It will be optimized away if unused.
17724 (maybe_script_execute): New function.
17725 (__spawni): Call it.
17726
bc7e1c36
RM
17727 * Makerules: Don't include tls.make.
17728 (config-tls): Always set to thread.
17729 * tls.make.c: File removed.
17730
1c3b002b
MF
177312011-09-19 Mike Frysinger <vapier@gentoo.org>
17732
17733 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17734 * config.make.in (CPPFLAGS-config): New substituted variable.
17735
2840865d
UD
177362011-09-15 Ulrich Drepper <drepper@gmail.com>
17737
88738eb6
UD
17738 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17739
cbf645a6 17740 [BZ #13192]
2840865d
UD
17741 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17742 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17743
b402e91a
RM
177442011-09-15 Roland McGrath <roland@hack.frob.com>
17745
17746 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17747 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17748 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17749 (CALL_FAIL): Likewise.
17750 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17751 (CALL_FAIL): Macro removed.
17752 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17753
4c1a1f71
UD
177542011-09-15 Ulrich Drepper <drepper@gmail.com>
17755
17756 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17757 for __FINITE_MATH_ONLY__ == 1.
17758
edc121be
AS
177592011-09-15 Andreas Schwab <schwab@redhat.com>
17760
17761 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17762 __ieee754_sqrt instead of sqrt.
17763 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17764 __ieee754_sqrtf instead of sqrtf.
17765 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17766 __floorf instead of floorf.
17767 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17768 __floorf, __truncf instead of floorf, truncf.
17769
cd205654
UD
177702011-09-14 Ulrich Drepper <drepper@gmail.com>
17771
ee4d0315
UD
17772 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17773
cd205654
UD
17774 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17775 __extern_always_inline.
17776 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17777 32-bit.
17778
48b67d71
AS
177792011-09-14 Andreas Schwab <schwab@redhat.com>
17780
17781 * elf/rtld.c (dl_main): Also relocate in dependency order when
17782 doing symbol dependency testing.
17783
1ae12c75
AS
177842011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17785
17786 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17787 Always define `refsym'.
17788
995a80df
AS
177892011-09-13 Andreas Schwab <schwab@redhat.com>
17790
e529793b
AS
17791 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17792 (__FD_ELT): Renamed from __FDELT.
17793 * misc/bits/select2.h (__FD_ELT): Likewise.
17794 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17795 __FD_MASK instead of __FDELT, __FDMASK.
17796 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17797 Likewise.
17798 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17799 Likewise.
17800
52d4fef8
AS
17801 * elf/Makefile (gen-ldd): Fix pattern.
17802
995a80df
AS
17803 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17804 (init_tls): Likewise.
17805
8682f8b0
UD
178062011-09-12 Ulrich Drepper <drepper@gmail.com>
17807
17808 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17809
de82006d
AS
178102011-09-12 Andreas Schwab <schwab@redhat.com>
17811
a7c8e6a1
AS
17812 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17813 `struct cmsghdr *' instead of `void *'.
17814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17815 Likewise.
17816
0f31fe77
AS
178172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17818
17819 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17820 if non-absolute.
17821 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17822 ldd_rewrite_script.
0f31fe77 17823
32b4c839
UD
178242011-09-11 Ulrich Drepper <drepper@gmail.com>
17825
83cd1420
UD
17826 * configure.in: Remove --with-tls option.
17827 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17828 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17829 out in case it is missing.
17830 * sysdeps/ia64/elf/configure.in: Likewise.
17831 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17832 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17833 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17834 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17835 * sysdeps/sh/elf/configure.in: Likewise.
17836 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17837 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17838 * sysdeps/x86_64/elf/configure.in: Likewise.
17839 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17840 * sysdeps/mach/hurd/tls.h: Likewise.
17841
633f745d
UD
17842 [BZ #13067]
17843 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17844
f318beb8
UD
17845 [BZ #13090]
17846 * configure.in: Fix use of AC_INIT.
17847
32b4c839
UD
17848 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17849
3ce1f295
UD
178502011-09-10 Ulrich Drepper <drepper@gmail.com>
17851
bb016596
UD
17852 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17853 __set_errno.
8e58439c
UD
17854 * malloc/hooks.c: Likewise.
17855
aebae053 17856 [BZ #11929]
02d46fc4
UD
17857 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17858 variables statically.
17859 (narenas): Initialize.
17860 (list_lock): Initialize.
bb016596
UD
17861 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17862 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
17863 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17864 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17865 Add initializers to main_arena and mp_.
17866 (malloc_state): Remove pagesize member. Change all users to use
17867 GLRO(dl_pagesize).
17868
17869 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17870 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17871 is always initialized.
17872
22a89187
UD
17873 * malloc/malloc.c: Removed unused configurations and dead code.
17874 * malloc/arena.c: Likewise.
17875 * malloc/hooks.c: Likewise.
02d46fc4 17876 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 17877
d063d164
UD
17878 * include/tls.h: Removed. USE___THREAD must always be defined.
17879 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17880 * elf/dl-libc.c: Likewise.
17881 * elf/dl-tsd.c: Likewise.
17882 * include/errno.h: Likewise.
17883 * include/netdb.h: Likewise.
17884 * include/resolv.h: Likewise.
17885 * inet/herrno-loc.c: Likewise.
17886 * inet/herrno.c: Likewise.
17887 * malloc/arena.c: Likewise.
17888 * malloc/hooks.c: Likewise.
17889 * malloc/malloc.c: Likewise.
17890 * resolv/res-state.c: Likewise.
17891 * resolv/res_libc.c: Likewise.
17892 * sysdeps/i386/dl-machine.h: Likewise.
17893 * sysdeps/ia64/dl-machine.h: Likewise.
17894 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17895 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17896 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17897 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17898 * sysdeps/sh/dl-machine.h: Likewise.
17899 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17900 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17901 * sysdeps/unix/i386/sysdep.S: Likewise.
17902 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17903 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17905 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17908 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17911 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17912 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17913 * sysdeps/x86_64/dl-machine.h: Likewise.
17914 * tls.make.c: Likewise.
17915
3ce1f295
UD
17916 * configure.in: Remove --with-__thread option. Make tests for
17917 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17918 tls_model attribute fail if no support is available. Remove
17919 USE_IN_LIBIO.
17920 * Makeconfig: Adjust for dropped configure option. All features are
17921 now mandatory.
17922 * Makerules: Likewise.
17923 * Versions.def: Likewise.
17924 * argp/argp-fmtstream.c: Likewise.
17925 * argp/argp-fmtstream.h: Likewise.
17926 * argp/argp-help.c: Likewise.
17927 * assert/assert.c: Likewise.
17928 * config.h.in: Likewise.
17929 * config.make.in: Likewise.
17930 * configure: Likewise.
17931 * configure.in: Likewise.
17932 * csu/Versions: Likewise.
17933 * csu/init.c: Likewise.
17934 * elf/tst-audit2.c: Likewise.
17935 * elf/tst-tls10.c: Likewise.
17936 * elf/tst-tls10.h: Likewise.
17937 * elf/tst-tls11.c: Likewise.
17938 * elf/tst-tls12.c: Likewise.
17939 * elf/tst-tls14.c: Likewise.
17940 * elf/tst-tlsmod11.c: Likewise.
17941 * elf/tst-tlsmod12.c: Likewise.
17942 * elf/tst-tlsmod13.c: Likewise.
17943 * elf/tst-tlsmod13a.c: Likewise.
17944 * elf/tst-tlsmod14a.c: Likewise.
17945 * elf/tst-tlsmod15b.c: Likewise.
17946 * elf/tst-tlsmod16a.c: Likewise.
17947 * elf/tst-tlsmod16b.c: Likewise.
17948 * elf/tst-tlsmod7.c: Likewise.
17949 * elf/tst-tlsmod8.c: Likewise.
17950 * elf/tst-tlsmod9.c: Likewise.
17951 * gmon/gmon.c: Likewise.
17952 * grp/fgetgrent_r.c: Likewise.
17953 * grp/putgrent.c: Likewise.
17954 * hurd/fopenport.c: Likewise.
17955 * include/libc-symbols.h: Likewise.
17956 * include/tls.h: Likewise.
17957 * intl/gettextP.h: Likewise.
17958 * intl/loadinfo.h: Likewise.
17959 * locale/global-locale.c: Likewise.
17960 * locale/localeinfo.h: Likewise.
17961 * mach/devstream.c: Likewise.
17962 * malloc/arena.c: Likewise.
17963 * malloc/set-freeres.c: Likewise.
17964 * misc/err.c: Likewise.
17965 * misc/getttyent.c: Likewise.
17966 * misc/mntent_r.c: Likewise.
17967 * posix/getopt.c: Likewise.
17968 * posix/wordexp.c: Likewise.
17969 * pwd/fgetpwent_r.c: Likewise.
17970 * resolv/Versions: Likewise.
17971 * resolv/res_hconf.c: Likewise.
17972 * shadow/fgetspent_r.c: Likewise.
17973 * shadow/putspent.c: Likewise.
17974 * stdio-common/printf_fphex.c: Likewise.
17975 * stdio-common/tmpfile.c: Likewise.
17976 * stdlib/abort.c: Likewise.
17977 * stdlib/fmtmsg.c: Likewise.
17978 * sunrpc/auth_unix.c: Likewise.
17979 * sunrpc/clnt_perr.c: Likewise.
17980 * sunrpc/clnt_tcp.c: Likewise.
17981 * sunrpc/clnt_udp.c: Likewise.
17982 * sunrpc/clnt_unix.c: Likewise.
17983 * sunrpc/openchild.c: Likewise.
17984 * sunrpc/svc_simple.c: Likewise.
17985 * sunrpc/svc_tcp.c: Likewise.
17986 * sunrpc/svc_udp.c: Likewise.
17987 * sunrpc/svc_unix.c: Likewise.
17988 * sunrpc/xdr.c: Likewise.
17989 * sunrpc/xdr_array.c: Likewise.
17990 * sunrpc/xdr_rec.c: Likewise.
17991 * sunrpc/xdr_ref.c: Likewise.
17992 * sunrpc/xdr_stdio.c: Likewise.
17993
1248c1c4
PB
179942011-09-09 Ulrich Drepper <drepper@gmail.com>
17995
17996 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17997
179982011-07-03 Andreas Jaeger <aj@suse.de>
17999
18000 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18001 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18002 regenerate with gen-libm-tests.pl.
18003
180042010-05-12 Petr Baudis <pasky@suse.cz>
18005
18006 [BZ #11589]
18007 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18008 around j0() zero points by switching to j1().
18009 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18013
f22e1074
UD
180142011-09-09 Ulrich Drepper <drepper@gmail.com>
18015
f19009c1
UD
18016 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18017 instead of 0.
18018 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18019 instead of 0. .
18020 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18021 Patch in part by Pavel Roskin <proski@gnu.org>.
18022
3f8cc204
UD
18023 [BZ #13138]
18024 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18025 realloc.
18026 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18027 Free memory block if necessary.
18028
f22e1074
UD
18029 [BZ #12847]
18030 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18031 be NULL. Don't lock in this case.
18032
0a2349f9
RM
180332011-09-09 Roland McGrath <roland@hack.frob.com>
18034
18035 * elf/elf.h (ELFOSABI_GNU): New macro.
18036 (ELFOSABI_LINUX): Define to that.
18037
f3cdd467
DZ
180382011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18039
18040 * string/strncat.c (strncat): Undef the symbol in case it has been
18041 defined in bits/string.h.
18042
74718d13
UD
180432011-09-09 Ulrich Drepper <drepper@gmail.com>
18044
633e9e0f
UD
18045 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18046
0a2349f9 18047 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18048 link map.
18049
f9924780
AJ
180502011-08-17 Andreas Jaeger <aj@suse.de>
18051
18052 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18053
7f5517aa
PP
180542011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18055 Ian Lance Taylor <iant@google.com>
18056
18057 * math/libm-test.inc (lround_test): New testcase.
18058 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18059
762011fe
UD
180602011-09-08 Ulrich Drepper <drepper@gmail.com>
18061
92963737
UD
18062 * Makefile: Remove support for automatic cvs check-ins.
18063 * Makerules: Likewise.
18064 * config.make.in: Likewise.
18065 * configure.in: Likewise.
18066 * intl/Makefile: Likewise.
18067 * locale/Makefile: Likewise.
18068 * po/Makefile: Likewise.
18069 * posix/Makefile: Likewise.
18070 * sysdeps/gnu/Makefile: Likewise.
18071 * sysdeps/mach/hurd/Makefile: Likewise.
18072 * sysdeps/sparc/sparc32/Makefile: Likewise.
18073
b0727fd8
JS
18074 [BZ #13118]
18075 * posix/Makefile (bug-regex32-ENV): Define.
18076 Patch by John Stanley <jpsinthemix@verizon.net>.
18077
a0f33f99
UD
18078 * misc/Makefile (headers): Add bits/select2.h.
18079 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18080 * misc/bits/select2.h: New file.
18081 * include/bits/select2.h: New file.
18082 * debug/Makefile (routines): Add fdelt_chk.
18083 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18084 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18085 FD_ISSET.
18086 * debug/fdelt_chk.c: New file.
18087
762011fe
UD
18088 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18089 * wcsmbs/test-wmemcmp.c: Likewise.
18090 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18091 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18092
180932011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18094
18095 * string/Makefile (strop-tests): Add memcmp.
18096 * string/test-wmemcmp.c: New file.
18097 * string/test-memcmp.c: Add wmemcmp support.
18098
7f513ec8
RM
180992011-09-08 Roland McGrath <roland@hack.frob.com>
18100
0442afb4
RM
18101 [BZ #13153]
18102 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18103 2011-07-19 change.
18104
7f513ec8
RM
18105 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18106 garbage value in a __mach_port_mod_refs call in the cases of the
18107 task-self and thread-self ports.
18108
a12b2239
ST
181092011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18110
18111 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18112
610f9ab4
AS
181132011-09-08 Andreas Schwab <schwab@redhat.com>
18114
7f513ec8 18115 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18116
48882a1a
LD
181172011-09-07 Ulrich Drepper <drepper@gmail.com>
18118
b49865be
UD
18119 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18120
fdc86bc9
UD
18121 * elf/dl-libc.c (dlerror_run): Pass back error code from
18122 dl_catch_error.
18123
c966526a
UD
18124 [BZ #13123]
18125 * elf/dl-load.c (lose): Free l_origin if it is valid.
18126
48882a1a
LD
18127 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18128 names.
18129 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18130 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18131 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18132 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18133 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18134 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18135
77a2a8b4
AZ
181362011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18137
18138 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18139 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18140 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18141 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18142 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18143 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18144 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18145 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18146 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18147 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18148
24f579d8
AM
181492011-08-15 Alan Modra <amodra@gmail.com>
18150
18151 [BZ #13092]
18152 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18153 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18154 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18155 ppc_mcount to static-only-routines.
18156 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18157 __mcount_internal.
18158 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18159 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18160
3d4837df
UD
181612011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18162
18163 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18164 for finite and infinity parameters.
18165
22700377
WS
181662011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18167
18168 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18169 and add nop instructions for throughput optimization.
18170 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18171
5025581e
WS
181722011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18173
18174 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18175 aligned copy for power7 with vector-scalar instructions.
18176 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18177
08a300c9
L
181782011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18179
18180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18181 AVX check.
18182
59178ef9
AS
181832011-09-07 Andreas Schwab <schwab@redhat.com>
18184
18185 [BZ #13144]
18186 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18187 last change.
18188
e38ba7ab
UD
181892011-09-07 Ulrich Drepper <drepper@gmail.com>
18190
18191 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18192 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18193 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18194 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18195 clock_gettime.
18196
d53a73ac
UD
181972011-09-06 Ulrich Drepper <drepper@gmail.com>
18198
fc8bffcc
UD
18199 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18200 Forgot to demangle the pointer.
18201
ceaa0c5d
UD
18202 * sysdeps/i386/sysdep.h: Define atom_text_section.
18203 * sysdeps/x86_64/sysdep.h: Likewise.
18204 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18205 section with atom_text_section.
18206 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18207 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18208 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18209 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18210 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18211
a77d3c17
UD
18212 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18213 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18214 already be defined. Change to take two parameters and don't assign
18215 result to variable. Adjust all users.
18216 Define INTERNAL_GETTIME if not already defined.
18217 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18218 call.
18219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18220 HAVE_CLOCK_GETTIME_VSYSCALL.
18221 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18222
d53a73ac
UD
18223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18224 gettimeofday vsyscall, just use time.
18225
a8f84144
AS
182262011-09-06 Andreas Schwab <schwab@redhat.com>
18227
18228 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18229 <errno.h>.
18230
ef606249
UD
182312011-09-06 Ulrich Drepper <drepper@gmail.com>
18232
18233 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18234 syscall on x86-64.
18235 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18236 syscall.
18237 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18238 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18239 syscall if possible.
18240
6585cb60
UD
182412011-09-05 Ulrich Drepper <drepper@gmail.com>
18242
18243 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18244 e_ident. Don't pass to find_mapsXX.
18245 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18246
a5f524e4
LD
182472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18248
18249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18250 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18251 * sysdeps/x86_64/multiarch/strchr.S: Update.
18252 Check bit_slow_BSF bit.
18253 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18254 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18255 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18256
554881ef
UD
182572011-09-05 Ulrich Drepper <drepper@gmail.com>
18258
d96de963
UD
18259 [BZ #13134]
18260 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18261 before glibc 2.15.
18262 (tryshell): Define.
18263 (__spawni): Change last parameter to be flag. Test
18264 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18265 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18266 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18267 * posix/spawni.c: Likewise.
18268 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18269 * posix/spawnp.c: Likewise. Change normal version to use
18270 SPAWN_XFLAGS_USE_PATH.
18271 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18272 SPAWN_XFLAGS_TRY_SHELL.
18273
d48e5868
UD
18274 [BZ #13150]
18275 * posix/glob.h: Remove gcc 1.x support.
18276
554881ef
UD
18277 [BZ #13068]
18278 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18279
693fb948
LD
182802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18281
18282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18283 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18284 strrchr-sse2-bsf
18285 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18286 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18287 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18288 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18290 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18291
1b48c537
UD
182922011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18293
49d42c37
UD
18294 * sysdeps/x86_64/wcscmp.S: New file.
18295
1b48c537
UD
18296 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18297 wcscmp-c wcscmp-sse2
18298 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18299 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18300 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18301 * wcsmbs/wcscmp.c: Allow renaming.
18302
15c95c5d
DM
183032011-09-05 David S. Miller <davem@davemloft.net>
18304
18305 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18306 stack slot, rather than the struct return pointer slot.
18307 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18308 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18310 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18311
2f0ad8f3
UD
183122011-09-05 Ulrich Drepper <drepper@gmail.com>
18313
d88ae418
UD
18314 * po/ja.po: Update from translation team.
18315
2f0ad8f3
UD
18316 [BZ #13144]
18317 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18318 kernel in 64-bit binaries.
18319
5f4318d1
DM
183202011-09-01 David S. Miller <davem@davemloft.net>
18321
18322 * elf/elf.h (HWCAP_SPARC_*): Move to..
18323 * sysdeps/sparc/sysdep.h: this new file and add new values.
18324 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18325 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18326 _DL_HWCAP_COUNT to 24.
18327 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18328 entries.
18329 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18330 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18331 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18333 instead of magic constants.
18334 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18335
3ba57516
DM
183362011-08-31 David S. Miller <davem@davemloft.net>
18337
18338 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18339 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18340 Reimplement to do errno handling inline.
18341 (SYSCALL_ERROR_HANDLER): New macro.
18342 (__SYSCALL_STRING): Do not do errno handling in asm.
18343 (__CLONE_SYSCALL_STRING): Delete.
18344 (__INTERNAL_SYSCALL_STRING): Delete.
18345 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18346 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18347 (PSEUDO): Reimplement to do errno handling inline.
18348 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18349 (SYSCALL_ERROR_HANDLER): New macro.
18350 (__SYSCALL_STRING): Do not do errno handling in asm.
18351 (__CLONE_SYSCALL_STRING): Delete.
18352 (__INTERNAL_SYSCALL_STRING): Delete.
18353 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18354 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18355 i386.
18356 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18357 (inline_syscall*): Add 'err' argument.
18358 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18359 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18360 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18361 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18362
18363 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18364 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18365
2bc17433
AS
183662011-08-30 Andreas Schwab <schwab@redhat.com>
18367
18368 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18369
fbeb5f4d
JO
183702011-08-29 Jiri Olsa <jolsa@redhat.com>
18371
18372 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18373 directive.
18374
ad69cc26
DM
183752011-08-24 David S. Miller <davem@davemloft.net>
18376
18377 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18378
39dd69df
AS
183792011-08-24 Andreas Schwab <schwab@redhat.com>
18380
18381 * elf/Makefile: Add rules to build and run unload8 test.
18382 * elf/unload8.c: New file.
18383 * elf/unload8mod1.c: New file.
18384 * elf/unload8mod1x.c: New file.
18385 * elf/unload8mod2.c: New file.
18386 * elf/unload8mod3.c: New file.
18387
18388 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18389 it wasn't used.
18390
2c0b250a
DM
183912011-08-23 David S. Miller <davem@davemloft.net>
18392
18393 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18394 subtract stack bias.
18395 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18396 %sp not %fp in calculations.
18397 (_JMPBUF_UNWINDS_ADJ): Likewise.
18398
22044b48
DM
18399 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18400 (aio_suspend): Call it to force an exception region around the
18401 AIO_MISC_WAIT() invocation.
18402
2cae4995
AS
184032011-08-23 Andreas Schwab <schwab@redhat.com>
18404
18405 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18406 backslash.
18407
873a772e
AJ
184082011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18409
18410 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18411 protection macro.
18412 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18413 and <dl-machine.h>.
18414 (Elf64_FuncDesc): Remove.
18415
25ad0df1
DM
184162011-08-22 David S. Miller <davem@davemloft.net>
18417
18418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18419 sigaltstack check, add missing cfi directives.
18420 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18421 missing cfi directives, and sigaltstack handling.
18422
e888bcbe
AS
184232011-08-16 Andreas Schwab <schwab@redhat.com>
18424
18425 [BZ #11724]
18426 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18427 object is seen twice.
18428 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18429
18430 * elf/Makefile (distribute): Add tst-initorder2.c.
18431 (tests): Add tst-initorder2.
18432 (modules-names): Add tst-initorder2a tst-initorder2b
18433 tst-initorder2c tst-initorder2d. Add rules to build them.
18434 ($(objpfx)tst-initorder2.out): New rule.
18435 * elf/tst-initorder2.c: New file.
18436 * elf/tst-initorder2.exp: New file.
18437
87162f46
AS
184382011-08-22 Andreas Schwab <schwab@redhat.com>
18439
70538b7f
AS
18440 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18441
f55ffe58
AS
18442 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18443 dependencies back to end of function.
18444
87162f46
AS
18445 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18446 $(elfobjdir)/ld.so.
18447
91b392a4
UD
184482011-08-21 Ulrich Drepper <drepper@gmail.com>
18449
18450 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18451 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18453 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18454 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18455 of __vdso_gettimeofday.
18456 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18457 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18458 attribute_hidden.
18459 (_libc_vdso_platform_setup): Remove initialization of
18460 __vdso_gettimeofday and __vdso_time.
18461
5c43483f
UD
184622011-08-20 Ulrich Drepper <drepper@gmail.com>
18463
775a77e7
UD
18464 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18465 and fgetc_unlocked.
18466 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18467 getc_unlocked.
89f447ed 18468
49c74ba9
UD
18469 * elf/dl-open.c (add_to_global): Report additions to the global scope
18470 for LD_DEBUG=scopes.
18471 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18472 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18473
5c43483f
UD
18474 [BZ #13114]
18475 * stdio-common/Makefile (tests): Add bug24.
18476 * stdio-common/bug24.c: New file.
18477
a101b025
AJ
184782011-08-19 Andreas Jaeger <aj@suse.de>
18479
18480 [BZ #13114]
18481 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18482 non-existant file when using close-on-exec mode.
18483
c88f1766
UD
184842011-08-20 Ulrich Drepper <drepper@gmail.com>
18485
0276a718
UD
18486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18487 the very first instruction.
18488
c88f1766
UD
18489 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18490 the CFI state in the end.
18491 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18492 inclusion of dl-trampoline.h.
18493 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18494
51ccffa0
AS
184952011-08-19 Andreas Schwab <schwab@redhat.com>
18496
94d7165f
AS
18497 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18498 expectations for long double.
18499
51ccffa0
AS
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18501 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18502
fd708658 185032011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18504
18505 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18506 artificual limit depends upon the system page size.
18507
44f0a71e
UD
185082011-08-17 Ulrich Drepper <drepper@gmail.com>
18509
18510 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18511 * resolv/Makefile: Define CFLAGS-libresolv.
18512
8de79a24
AS
185132011-08-17 Andreas Schwab <schwab@redhat.com>
18514
18515 * nss/makedb.c (compute_tables): Make variables used in nested
18516 function static.
18517
27724598
UD
185182011-08-17 Ulrich Drepper <drepper@gmail.com>
18519
c5305d88
UD
18520 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18521 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18522 if buffer was too small.
18523
27724598
UD
18524 * elf/pldd.c (main): Attach to all threads in the process.
18525 Rewrite /proc handling to use *at functions.
18526
076fe015
UD
185272011-08-16 Ulrich Drepper <drepper@gmail.com>
18528
174baab3
UD
18529 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18530 specifies first scope to show.
18531 (dl_open_worker): Update callers. Move printing scope of new
18532 object to before the relocation.
44f0a71e 18533 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18534 * sysdeps/generic/ldsodefs.h: Update declaration.
18535
076fe015
UD
18536 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18537 string for the scope number.
18538
a60df2c3
UD
185392011-08-14 Ulrich Drepper <drepper@gmail.com>
18540
18541 * nscd/servicescache.c (cache_addserv): Make sure written is always
18542 initialized.
18543
5e4287d1
RM
185442011-08-14 Roland McGrath <roland@hack.frob.com>
18545
85ae0589
RM
18546 * sysdeps/i386/i486/bits/atomic.h
18547 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18548 statement expression, so as to suppress "set but not used" warning.
18549 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18550
69f63097
RM
18551 * string/strncat.c (STRNCAT): Use prototype definition.
18552
675456ef
RM
18553 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18554 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18555 -Iprograms here.
18556 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18557 (localedef-modules): Add localedef.
18558 (locale-modules): Add locale.
18559
5e4287d1
RM
18560 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18561 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18562 to avoid a warning.
18563
9c96ff23
DM
185642011-08-14 David S. Miller <davem@davemloft.net>
18565
18566 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18567 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18568
f9ddf089
UD
185692011-08-13 Ulrich Drepper <drepper@gmail.com>
18570
44f0a71e 18571 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18572 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18573 * elf/rtld.c (dl_main): Set l_name of vDSO.
18574 Call _dl_show_scope when DL_DEBUG_SCOPES.
18575 (process_dl_debug): Recognize scopes flag and also set it for all.
18576 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18577 Declare _dl_show_scope.
18578
1dc27704
UD
18579 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18580 (do_dlopen): Pass caller_dlopen to dl_open.
18581 (__libc_dlopen_mode): Initialize caller_dlopen.
18582
f9ddf089
UD
18583 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18584 of libc. Make tolower call locale-independent. Optimize a bit by
18585 using isdigit instead of isalnum.
18586 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18587
9ac533d3
UD
185882011-08-12 Ulrich Drepper <drepper@gmail.com>
18589
18590 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18591 was a dependency or dynamically loaded.
18592
89edf2e9
UD
185932011-08-11 Ulrich Drepper <drepper@gmail.com>
18594
8e999d29
UD
18595 * intl/l10nflist.c: Allow architecture-specific pop function.
18596 * sysdeps/x86_64/l10nflist.c: New file.
18597
89edf2e9
UD
18598 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18599 classification.
18600
14d96785
AS
186012011-08-10 Andreas Schwab <schwab@redhat.com>
18602
18603 * include/dirent.h: Add libc_hidden_proto for scandirat and
18604 scandirat64. Don't declare __scandirat64.
18605 * dirent/scandirat.c: Add libc_hidden_def.
18606 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18607 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18608
6761ac04
DM
186092011-08-10 David S. Miller <davem@davemloft.net>
18610
18611 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18612 enum.
18613 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18614 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18615 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18616
c55fbd1e
UD
186172011-08-09 Ulrich Drepper <drepper@gmail.com>
18618
18619 * Versions.def [libc]: Add GLIBC_2.15.
18620 * dirent/Makefile (routines): Add scandirat and scandirat64.
18621 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18622 GLIBC_2.15.
18623 * dirent/dirent.h: Declare scandirat and scandirat64.
18624 * dirent/scandirat.c: New file.
18625 * dirent/scandirat64.c: New file.
18626 * sysdeps/wordsize-64/scandirat.c: New file.
18627 * sysdeps/wordsize-64/scandirat64.c: New file.
18628 * dirent/opendir.c: Define opendirat.
18629 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18630 using scandirat.
18631 * dirent/scandir64.c: Adjust for scandir.c change.
18632 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18633 __scandirat64, and __scandir_cancel_handler.
18634 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18635 additional parameter and use openat instead of open (outside of ld.so).
18636 Add new __opendir as wrapper around __opendirat.
18637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18638 here without requiring old scandirat implementation.
18639
879165f2
UD
186402011-08-08 Ulrich Drepper <drepper@gmail.com>
18641
18642 * dirent/scandir.c (cancel_handler): Renamed to
18643 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18644 defined. Adjust users.
18645 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18646 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18647
cb7e923b
UD
186482011-08-04 Ulrich Drepper <drepper@gmail.com>
18649
16292edd
UD
18650 * string/test-string.h (IMPL): Use __STRING to expand name and then
18651 stringify it.
18652
cb7e923b
UD
18653 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18654 of cleanups.
18655
cff82933
LD
186562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18657
18658 * string/Makefile: Update.
18659 (strop-tests): Append strncat.
18660 * string/test-wcscmp.c: New file.
18661 New comprehensive test for wcscmp.
18662 * string/test-strcmp.c: Update.
18663 (WIDE): New define.
18664
9be9bfcc
AS
186652011-07-22 Andreas Schwab <schwab@redhat.com>
18666
18667 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18668 line.
18669
2e96f1c7
AS
186702011-07-26 Andreas Schwab <schwab@redhat.com>
18671
18672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18673 encoding to ACE if AI_IDN.
18674
85188888
JJ
186752011-08-01 Jakub Jelinek <jakub@redhat.com>
18676
18677 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18678 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18679
5fa16e9b
LD
186802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18681
18682 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18683 Fix overflow bug in strncat.
18684 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18685
18686 * string/test-strncat.c: Update.
18687 Add new tests for checking overflow bugs.
18688
186892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18690
18691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18692 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18693 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18694 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18695 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18696 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18697 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18698 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18699 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18700
18701 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18702 (USE_AS_STRCAT): Define.
18703 Add strcat and strncat support.
18704 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18705
8c1a459f
AS
187062011-07-25 Andreas Schwab <schwab@redhat.com>
18707
18708 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18709 __n bigger than INT_MAX+1.
18710 (__strncmp_g): Likewise.
18711
bba33c28
UD
187122011-07-23 Ulrich Drepper <drepper@gmail.com>
18713
798be72d
UD
18714 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18715 * libio/stido.h: Likewise.
18716
8accd4dc
UD
18717 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18718 (AF_NFC): Define.
18719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18720 (AF_NFC): Define.
18721
cbff0d96
UD
18722 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18723 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18724 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18725 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18727
9191c04a
UD
18728 [BZ #13021]
18729 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18730 installed.
18731
bba33c28
UD
18732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18733 typo.
18734 (_dl_x86_64_save_sse): Likewise.
18735
90f139dd
UD
187362011-07-22 Ulrich Drepper <drepper@gmail.com>
18737
1aae088a
UD
18738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18739 OSXSAVE.
18740 (_dl_x86_64_save_sse): Likewise.
18741
8e2045f5
UD
18742 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18743
90f139dd
UD
18744 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18745
1d002f25
AS
187462011-07-21 Andreas Schwab <schwab@redhat.com>
18747
18748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18749 change.
18750 (_dl_x86_64_save_sse): Use correct AVX check.
18751
21137f89
UD
187522011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18753
18754 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18755 bug in strncpy/strncat.
18756 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18757
a65c0b7a
UD
187582011-07-21 Ulrich Drepper <drepper@gmail.com>
18759
18760 * string/tester.c (test_strcat): Add tests for different alignments
18761 of source and destination.
18762 (test_strncat): Likewise.
18763
6986b98a
UD
187642011-07-20 Ulrich Drepper <drepper@gmail.com>
18765
90bb2039
UD
18766 [BZ #12852]
18767 * posix/glob.c (glob): Check passed in values before using them in
18768 expressions to avoid some overflows.
18769 (glob_in_dir): Likewise.
18770
5644ef54
UD
18771 [BZ #13007]
18772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18773 check for AVX enablement so that we don't crash with old kernels and
18774 new hardware.
18775 * elf/tst-audit4.c: Add same checks here.
18776 * elf/tst-audit6.c: Likewise.
18777
18778 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18779
bfc9dc9b
AS
187802011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18781
18782 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18783
702e64bb
UD
187842011-07-20 Ulrich Drepper <drepper@gmail.com>
18785
18786 * po/cs.po: Update from translation team.
18787 * po/bg.po: Likewise.
18788
295e904f
MP
187892011-07-12 Marek Polacek <mpolacek@redhat.com>
18790
18791 * misc/sys/cdefs.h: Add support for const attribute.
18792 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18793 to gnu_dev_{major,minor,makedev} functions.
18794
3ff94596
MP
187952011-07-20 Marek Polacek <mpolacek@redhat.com>
18796
18797 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18798
28b59fca
AS
187992011-07-20 Andreas Schwab <schwab@redhat.com>
18800
18801 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18802 strlen results.
18803
19df733e
AK
188042011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18805
18806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18807 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18808 register in order to avoid conflicts with the soft frame pointer
18809 being held in r11 when necessary.
18810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18811 (INTERNAL_VSYSCALL_NCS): Likewise.
18812
c8835729
MP
188132011-07-14 Marek Polacek <mpolacek@redhat.com>
18814
18815 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18816 * elf/dl-fini.c (_dl_fini): Adjust caller.
18817 * elf/dl-close.c (_dl_close_worker): Likewise.
18818 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18819
b902330c
MP
188202011-07-15 Marek Polacek <mpolacek@redhat.com>
18821
8991e135
MP
18822 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18823 "aux_cache->nlibs < 0".
18824
b902330c
MP
18825 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18826 in the reload-count case.
18827
99710781
LD
188282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18829
18830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18831 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18832 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18833 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18834 * sysdeps/x86_64/multiarch/strcat.S: New file.
18835 * sysdeps/x86_64/multiarch/strncat.S: New file.
18836 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18837 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18838 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18839 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18840 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18841 (USE_AS_STRCAT): Define.
18842 Add strcat and strncat support.
18843 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18844 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18845 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18846 * string/strncat.c: Update.
18847 (USE_AS_STRNCAT): Define.
18848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18849 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18850 and i7.
18851 * sysdeps/x86_64/multiarch/init-arch.h
18852 (bit_Prefer_PMINUB_for_stringop): New.
18853 (index_Prefer_PMINUB_for_stringop): Likewise.
18854 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18855 bit_Prefer_PMINUB_for_stringop.
18856
7dc6bd90
UD
188572011-07-19 Ulrich Drepper <drepper@gmail.com>
18858
18859 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18860 buffer64.
18861 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18862 of casting of buffer.
18863 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18864 buffer32 and buffer64.
18865 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18866 writes instead of casting of buffer.
18867 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18868 buffer32.
18869 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18870 casting of buffer.
18871
e0e72284
AS
188722011-07-19 Andreas Schwab <schwab@redhat.com>
18873
18874 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18875
feb1eb0b
UD
188762011-07-19 Ulrich Drepper <drepper@gmail.com>
18877
18878 * nscd/nscd.c (termination_handler): Don't do anything for a database
18879 if it has not yet been initialized.
18880
298711ff
UD
188812011-07-18 Ulrich Drepper <drepper@gmail.com>
18882
18883 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18884
188852011-07-15 Marek Polacek <mpolacek@redhat.com>
18886
18887 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18888
f9d68389
UD
188892011-07-18 Ulrich Drepper <drepper@gmail.com>
18890
18891 * po/nl.po: Update from translation team.
18892 * po/sv.po: Likewise.
18893
db290cf5
RM
188942011-07-16 Roland McGrath <roland@hack.frob.com>
18895
18896 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18897 now disallowed by GCC.
5c550700 18898
fd5e21c7
RM
18899 * configure.in (use-default-link): Default to yes if a test -shared
18900 link meets our qualifications.
18901 * configure: Regenerated.
18902
5c550700
RM
18903 * config.make.in (output-format): New variable.
18904 * configure.in: Check for ld --print-output-format support.
18905 * configure: Regenerated.
18906 * Makerules ($(common-objpfx)format.lds)
18907 [$(output-format) != unknown]: Just use $(output-format),
18908 instead of the linker-script munging.
18909
9fa2c032
RM
189102011-07-14 Roland McGrath <roland@hack.frob.com>
18911
a6928d51
RM
18912 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18913 of $(common-objpfx)shlib.lds.
18914 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18915
661607b3
RM
18916 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18917 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18918
9fa2c032
RM
18919 * configure.in (-z relro check): Adjust test code to add a large
18920 writable data section after it.
18921 * configure: Regenerated.
18922
defe9061
RM
189232011-07-11 Roland McGrath <roland@hack.frob.com>
18924
18925 * configure.in (-z relro check): Fix test code to make the variable
18926 truly const.
18927 * configure: Regenerated.
18928
319b9ad4
UD
189292011-07-11 Ulrich Drepper <drepper@gmail.com>
18930
18931 * nscd/nscd.h (struct traced_file): Define.
18932 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18933 elements. Add traced_files.
18934 (inotify_fd): Declare.
18935 (register_traced_file): Declare.
18936 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18937 (inotify_fd): Export.
18938 (resolv_conf_descr): Remove.
18939 (nscd_init): Move inotify descriptor creation to main.
18940 Don't register files for notification here.
18941 (register_traced_file): New function.
18942 (invalidate_cache): Don't use reset_res to determine whether to call
18943 res_init, go through the list of registered files.
18944 (main_loop_poll): The inotify descriptors are now stored in the
18945 structures for the traced files.
18946 (main_loop_epoll): Likewise
18947 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18948 to __nss_disable_nscd.
18949 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18950 for a database anymore. Check the records for all the registered
18951 files instead.
18952 * nss/Makefile (libnss_files-routines): Add files-init.
18953 (libnss_db-routines): Add db-init.
18954 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18955 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18956 * nss/nss_db/db-init.c: New file.
18957 * nss/nss_files/files-init.c: New file.
18958 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18959 __nss_lookup_function.
18960 (__nss_lookup_function): Call nss_load_library.
18961 (nss_load_all_libraries): New function.
18962 (__nss_disable_nscd): Take parameter with callback function for files
18963 to register. Set is_nscd. Load all the DSOs for the NSS modules
18964 used for the cached services.
18965 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18966 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18967 options for features to all the files in nscd.
18968
18969 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18970
23bee3e8
RM
189712011-07-10 Roland McGrath <roland@hack.frob.com>
18972
18973 * csu/elf-init.c (__libc_csu_init): Comment typo.
18974
46a5b7f0
UD
189752011-07-09 Ulrich Drepper <drepper@gmail.com>
18976
18977 * po/pl.po: Update from translation team.
18978 * po/ja.po: Likewise.
18979 * po/ru.po: Likewise.
18980 * po/ko.po: Likewise.
18981 * po/fr.po: Likewise.
18982
d30cf5bb
RM
189832011-07-09 Roland McGrath <roland@hack.frob.com>
18984
113ddea4
RM
18985 * configure.in (.ctors/.dtors header and trailer check):
18986 Use an empirical test on a built program.
18987 * configure: Regenerated.
18988
574920b4
RM
18989 * configure.in (-z relro check): Use an empirical test on a built DSO.
18990 Detect, but do not require, on ia64.
18991 * configure: Regenerated.
18992
d30cf5bb
RM
18993 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18994 Update tests that use readelf to use $READELF instead.
18995 * configure: Regenerated.
18996
8538fdb3
UD
189972011-07-08 Ulrich Drepper <drepper@gmail.com>
18998
18999 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19000 if the result is not used.
19001
04d08991
AJ
190022011-07-05 Andreas Jaeger <aj@suse.de>
19003
19004 [BZ#9696]
19005 * stdlib/tst-strtod.c: Add testcase.
19006
de283087
AD
190072011-07-07 Ulrich Drepper <drepper@gmail.com>
19008
4e5f31c8 19009 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19010 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19011 The latter has a higher limit. Take additional parameter to pass to
19012 the new function.
19013 (__pathconf): Pass file to __statfs_link_max.
19014 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19015 __statfs_link_max.
19016 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19017 __statfs_link_max.
19018
de283087
AD
19019 [BZ #12868]
19020 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19022 Handle Lustre.
19023 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19024 (__statfs_filesize_max): Likewise.
19025 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19026
c75fa153
AJ
190272011-07-05 Andreas Jaeger <aj@suse.de>
19028
19029 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19030
1a544854
UD
190312011-07-06 Marek Polacek <mpolacek@redhat.com>
19032
19033 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19034 `status' variable.
19035 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19036 Likewise.
19037
6f0eec67
UD
190382011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19039
19040 * Makefile (strop-tests): Add strncat.
19041 * string/test-strncat.c: New file.
19042
aae30307
UD
190432011-06-30 Marek Polacek <mpolacek@redhat.com>
19044
19045 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19046
c0cfb5eb
UD
190472011-06-21 Andreas Jaeger <aj@suse.de>
19048
19049 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19050 Copy rule from iconvdata/Makefile.
19051
01636b21
UD
190522011-07-06 Ulrich Drepper <drepper@gmail.com>
19053
19054 [BZ #12922]
19055 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19056 but no long options are defined, just return 'W'.
19057
9895c8bc
UD
190582011-06-22 Marek Polacek <mpolacek@redhat.com>
19059
19060 [BZ #9696]
19061 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19062
5d4cf042
UD
190632011-07-06 Ulrich Drepper <drepper@gmail.com>
19064
19065 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19066 netgroups to read.
960e5535 19067 (innetgr): Likewise.
5d4cf042 19068
751eb97e
RM
190692011-07-05 Roland McGrath <roland@hack.frob.com>
19070
19071 * config.make.in (install_root): Default to $(DESTDIR).
19072
f15f1e45
UD
190732011-07-05 Ulrich Drepper <drepper@gmail.com>
19074
19075 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19076
4e34ac6a
RM
190772011-07-02 Roland McGrath <roland@hack.frob.com>
19078
5e9b6af4
RM
19079 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19080
84f9ea0f
RM
19081 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19082 containing directory rather than embedding absolute directory names.
19083
ea5ee9f7
RM
19084 * scripts/check-local-headers.sh: Rewritten using awk.
19085 Match by word, not by line. Print error messages for matches.
19086 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19087
1b74661a
RM
19088 * Makerules [shlib-lds-flags empty]:
19089 ($(common-objpfx)libc_pic.opts): New target.
19090 ($(common-objpfx)libc_pic.os.clean): New target.
19091 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19092
19093 * config.make.in (OBJCOPY): New variable.
19094 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19095 * configure: Regenerated.
19096
f781ef40
RM
19097 * config.make.in (use-default-link): New variable.
19098 * configure.in (use_default_link): Grok --with-default-link to set it.
19099 * configure: Regenerated.
19100 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19101 (shlib-lds, shlib-lds-flags): Define to empty.
19102
2d4fa81e
RM
19103 * Makerules (shlib-lds): New variable.
19104 (shlib-lds-flags): New variable.
19105 (build-shlib, build-moduile, build-module-asneeded): Use it.
19106 ($(common-objpfx)libc.so): Use $(shlib-lds).
19107 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19108 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19109
31fffa6b
RM
19110 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19111 DT_FLAGS/DT_FLAGS_1 with zero flags.
19112
4e34ac6a
RM
19113 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19114 linker script munging.
19115
fcfc776b
UD
191162011-07-02 Ulrich Drepper <drepper@gmail.com>
19117
19118 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19119 as 128-bit value.
19120 * crypt/sha512.c (sha512_process_block): Perform total addition using
19121 128-bit if possible.
19122 (__sha512_finish_ctx): Likewise.
19123 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19124 as 64-bit value.
19125 * crypt/sha256.c (SWAP64): Define.
19126 (sha256_process_block): Perform total addition using 64-bit if
19127 possible.
19128 (__sha256_finish_ctx): Likewise.
19129
99231d9a
UD
191302011-07-01 Ulrich Drepper <drepper@gmail.com>
19131
19132 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19134 * nscd/hstcache.c (cache_addhst): Likewise.
19135 * nscd/grpcache.c (cache_addgr): Likewise.
19136 * nscd/aicache.c (addhstaiX): Likewise
19137 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19138
445b4a53
TK
191392011-07-01 Thorsten Kukuk <kukuk@suse.de>
19140
19141 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19142 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19143 * nscd/hstcache.c (cache_addhst): Likewise.
19144 * nscd/grpcache.c (cache_addgr): Likewise.
19145 * nscd/aicache.c (addhstaiX): Likewise
19146
6d4d8e8e
AS
191472011-07-01 Andreas Schwab <schwab@redhat.com>
19148
19149 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19150 domain only when needed.
19151
89f654c5
AS
191522011-06-30 Andreas Schwab <schwab@redhat.com>
19153
19154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19155 is always restored.
19156
cf3b23ff
UD
191572011-06-29 Ulrich Drepper <drepper@gmail.com>
19158
19159 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19160 are re-adding the entry.
19161 * nscd/servicescache.c (cache_addserv): Likewise.
19162
751626f9
AJ
191632011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19164
19165 * sysdeps/generic/dl-irel.h: fix protection against multiple
19166 inclusions.
19167 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19168
9113ea1f
UD
191692011-06-28 Ulrich Drepper <drepper@gmail.com>
19170
5c0b8d90
UD
19171 [BZ #12935]
19172 * malloc/memusage.sh: Fix quoting in message.
19173 * debug/xtrace.sh: Likewise.
19174
9113ea1f
UD
19175 * configure.in: Remove support for --experimental-malloc option, make
19176 it the default.
19177 * config.make.in: Likewise.
19178 * malloc/Makefile: Likewise.
19179
a4172181
AS
191802011-06-27 Andreas Schwab <schwab@redhat.com>
19181
19182 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19183 two-byte characters.
19184
78a7eee7
RM
191852011-06-27 Roland McGrath <roland@hack.frob.com>
19186
62bede13
RM
19187 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19188 AC_CACHE_CHECK invocation.
19189 * configure: Regenerated.
19190
78a7eee7
RM
19191 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19192
5ce33a62
UD
191932011-06-27 Ulrich Drepper <drepper@gmail.com>
19194
034807a9
UD
19195 [BZ #12350]
19196 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19197 bit from old_res_options.
19198
4902da17
UD
19199 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19200
5ce33a62
UD
19201 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19202 value type for setfct.
19203
c2344f56
L
192042011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19205
19206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19207 __gettimeofday instead of gettimeofday.
19208
68468076
UD
192092011-06-26 Ulrich Drepper <drepper@gmail.com>
19210
19211 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19212
acb0d739
L
192132011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19214
19215 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19216
19217 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19218 info.
19219
8912479f
L
192202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19221
19222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19223 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19224 strcpy-sse2-unaligned strncpy-sse2-unaligned
19225 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19226 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19227 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19228 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19229 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19230 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19232 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19233 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19234 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19235 (STRCPY): Support SSE2 and SSSE3 versions.
19236
d5495a11
UD
192372011-06-24 Ulrich Drepper <drepper@gmail.com>
19238
19239 [BZ #12874]
19240 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19241 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19242 kernels which artificially limit size of requests.
19243
0b1cbaae
L
192442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19245
19246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19247 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19248 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19249 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19250 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19251 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19252 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19253 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19254 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19255 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19256 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19257 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19258 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19259 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19260 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19262 Enable unaligned load optimization for Intel Core i3, i5 and i7
19263 processors.
19264 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19265 Define.
19266 (index_Fast_Unaligned_Load): Define.
19267 (HAS_FAST_UNALIGNED_LOAD): Define.
19268
07f494a0
MP
192692011-06-23 Marek Polacek <mpolacek@redhat.com>
19270
19271 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19272
fa3fc0fe
UD
192732011-06-22 Ulrich Drepper <drepper@gmail.com>
19274
19275 [BZ #12907]
19276 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19277 until it is clear that the information is realy needed.
19278 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19279
e12df166
AS
192802011-06-22 Andreas Schwab <schwab@redhat.com>
19281
19282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19283
852eb34d
UD
192842011-06-22 Ulrich Drepper <drepper@gmail.com>
19285
84e2a551
UD
19286 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19287 /sys/devices/system/cpu/online if it is usable.
19288
852eb34d
UD
19289 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19290 reading the information from the /proc filesystem to once a second.
19291
6e502e19
UD
192922011-06-21 Andreas Jaeger <aj@suse.de>
19293
19294 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19295 NULL after inclusion of kernel headers.
19296
75d39ff2
UD
192972011-06-21 Ulrich Drepper <drepper@gmail.com>
19298
51f9aa6a
UD
19299 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19300 calls to internal_setent.
19301
c0244a9d
UD
19302 [BZ #12885]
19303 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19304 addresses using gethostbyname4_r ignore IPv4 addresses.
19305
c5e3c2ae
UD
19306 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19307 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19308
75d39ff2
UD
19309 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19310
42675c6f
DM
193112011-06-20 David S. Miller <davem@davemloft.net>
19312
19313 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19314 inclusions.
19315 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19316
19317 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19318 (elf_irel): Use it.
19319 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19320 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19321 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19322 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19323 * sysdeps/x86_64/dl-irel.h: Likewise.
19324
19325 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19326 * elf/dl-sym.c: Likewise.
19327
57912a71
UD
193282011-06-15 Ulrich Drepper <drepper@gmail.com>
19329
19330 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19331 need to dereference resplen2.
19332
ee22793d
AS
193332011-06-14 Andreas Schwab <schwab@redhat.com>
19334
19335 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19336
a9e836b0
UD
193372011-06-15 Ulrich Drepper <drepper@gmail.com>
19338
77fb9117
UD
19339 * Makeconfig: Define vardbdir and inst_vardbdir.
19340 * nss/Makefile: Add rules to install db-Makefile.
19341
40c1b22c
UD
19342 * nss/nss_db/db-XXX.c: Cleanup.
19343
9f2da732
UD
19344 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19345 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19346 GLIBC_PRIVATE.
19347 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19348 * nss/makedb.c: Implement -g option to specify that value strings
19349 are generated and should not be added to table iterated over for
19350 get*ent calls.
19351 * nss/nss_db/db-initgroups.c: New file.
19352
82e9a1f7
UD
19353 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19354 interface.
19355
c41af17e
UD
19356 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19357 (internal_getgrouplist): Adjust to name change.
19358 Update use_initgroups_entry if this is not the first call.
19359 * nss/databases.def: Add initgroups entry.
19360
a9e836b0
UD
19361 * nss/makedb.c (compute_tables): Check result of multiple hash table
19362 sizes to minimize maximum chain length.
19363
2666d441
UD
193642011-06-14 Ulrich Drepper <drepper@gmail.com>
19365
19366 * Versions.def: Add entry for libnss_db.
19367 * shlib-versions: Likewise.
19368 * nss/Makefile: Add rules to build libnss_db.
19369 * nss/Versions: Add libnss_db information. Organize libnss_files
19370 entries better.
19371 * nss/db-Makefile: Add gshadow support. Change rules for the new
19372 makedb progra. Some minor improvements to generate smaller files.
19373 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19374 here from...
19375 * nss/makedb.c: ...here.
19376 Improve database format to be smaller and require less memory at
19377 runtime.
19378 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19379 db anymore.
19380 * nss/nss_db/db-netgrp.c: Likewise.
19381 * nss/nss_db/db-open.c: Likewise.
19382 * nss/nss_files/flies-XXX.x: Adjust comments.
19383 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19384 * nss/nss_files/files-grp.c: Likewise.
19385 * nss/nss_files/files-hosts.c: Likewise.
19386 * nss/nss_files/files-network.c: Likewise.
19387 * nss/nss_files/files-proto.c: Likewise.
19388 * nss/nss_files/files-pwd.c: Likewise.
19389 * nss/nss_files/files-rpc.c: Likewise.
19390 * nss/nss_files/files-service.c: Likewise.
19391 * nss/nss_files/files-sgrp.c: Likewise.
19392 * nss/nss_files/files-spwd.c: Likewise.
19393 * nss/nss_db/db-alias.c: Removed.
19394 * nss/nss_db/dummy-db.h: Removed.
19395
9ee76b5a
UD
193962011-06-02 Ulrich Drepper <drepper@gmail.com>
19397
19398 * nss/makedb.c: Rewritten to not use database library.
19399 * nss/Makefile: Update to build new makedb program.
19400
c71ca1f8
AJ
194012011-06-14 Andreas Jaeger <aj@suse.de>
19402
19403 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19404 memset declaration.
19405
3154bfb8
UD
194062011-06-10 Andreas Schwab <schwab@redhat.com>
19407
19408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19409 tmpbuf.
19410
b350afab
RM
194112011-06-10 Roland McGrath <roland@hack.frob.com>
19412
decd4e50
RM
19413 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19414 * elf/Makefile ($(objpfx)ld.so): Likewise.
19415
5615eaf2
RM
19416 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19417 Don't list ld.so twice in dependencies.
19418
19419 * posix/bug-regex31.c: Include <stdlib.h>.
19420
19421 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19422
19423 * nis/nss_compat/compat-spwd.c
19424 (getspent_next_nss_netgr): Remove unused variable.
19425 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19426
19427 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19428 nonmembers" output to use the right array.
19429
19430 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19431
19432 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19433
19434 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19435 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19436 * catgets/gencat.c (read_input_file): Likewise.
19437 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19438
19439 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19440 variable definition inside #if's controlling its use.
19441
19442 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19443
19444 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19445
19446 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19447
19448 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19449 unreachable code.
19450
19451 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19452
b68e08db
RM
19453 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19454 * configure: Regenerated.
19455
b350afab
RM
19456 * Makerules: Revert last change.
19457 * elf/Makefile: Likewise.
19458
28368601
RM
194592011-06-09 Roland McGrath <roland@hack.frob.com>
19460
19461 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19462 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19463 (reloc-link): Likewise.
19464
11988f8f
UD
194652011-06-09 Ulrich Drepper <drepper@gmail.com>
19466
19467 * elf/Makefile: Add rules to build pldd.
19468 * elf/pldd.c: New file.
19469 * elf/pldd-xx.c: New file.
19470
e80fab37
UD
194712011-06-07 Ulrich Drepper <drepper@gmail.com>
19472
19473 * version.h: Update for 2.15 development version.
19474
9b849836
DM
194752011-06-07 David S. Miller <davem@davemloft.net>
19476
19477 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19478 ifuncs.
19479 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19480 elf_machine_lazy_rel): Likewise.
19481 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19483 elf_machine_lazy_rel): Likewise.
19484 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19485 dl_hwcap via passed in argument.
19486 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19487 Likewise.
19488
5a31b283
AK
194892011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19490
19491 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19492
069e52f8
RM
194932011-06-06 Roland McGrath <roland@hack.frob.com>
19494
19495 [BZ #12849]
19496 * manual/fdl-1.1.texi: New file, verbatim from:
19497 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19498 * manual/lgpl-2.1.texi: New file, verbatim from:
19499 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19500 * manual/Makefile (licenses): New variable, list those new file names.
19501 (texis): Use it.
19502 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19503
19504 * manual/fdl.texi: File removed.
19505 * manual/lesser.texi: File removed.
19506 * manual/libc.texinfo (Copying, Documentation License):
19507 Use new @include file names, put @appendix directive before @include.
19508
f16846a5
JJ
195092011-06-04 Jakub Jelinek <jakub@redhat.com>
19510
19511 [BZ #12841]
19512 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19513 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19514 (mq_open): Add __NTH.
19515
3d29045b
L
195162011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19517
19518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19519 Assume Intel Core i3/i5/i7 processor if AVX is available.
19520
8c297311
UD
195212011-05-31 Ulrich Drepper <drepper@gmail.com>
19522
19523 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19524 typo.
19525
c8fc0c91
UD
195262011-05-31 Andreas Schwab <schwab@redhat.com>
19527
19528 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19529 memory. Use alloca_account. Fix memory leak when retrying.
19530
5b27a807
UD
195312011-05-31 Ulrich Drepper <drepper@gmail.com>
19532
356f8bc6
UD
19533 * version.h (RELEASE): Bump for 2.14 release.
19534 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19535
5b27a807
UD
19536 * config.make.in (RANLIB): Remove entry.
19537
01f16ab0
UD
195382011-05-30 Ulrich Drepper <drepper@gmail.com>
19539
41fce8bd
UD
19540 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19541 (libc.pot): Work around missing support for .ksh extension in xgettext.
19542
4769ae77
UD
19543 [BZ #12684]
19544 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19545 if both request failed.
19546 (send_dg): In case of server errors clear resplen or *resplen2.
19547
6b1e7d19
UD
19548 [BZ #12454]
19549 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19550 when there are multiple maps.
19551 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19552 (_dl_fini): Remove test here.
19553
01f16ab0
UD
19554 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19555
b1ebd700
UD
195562011-05-29 Ulrich Drepper <drepper@gmail.com>
19557
7ae22829
UD
19558 [BZ #12350]
19559 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19560 bit from old_res_options.
19561 (gaih_inet): Likewise.
19562
553149f6 19563 [BZ #11099]
18a84741 19564 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19565 as signed.
19566
652ffab1
UD
19567 * resolv/res_init.c (res_setoptions): Make the code more compact.
19568
16985fd0
UD
19569 [BZ #11558]
19570 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19571 set RES_USEVC.
19572
0464f746
UD
19573 [BZ #11634]
19574 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19575
7d17596c
UD
19576 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19577
cf6bbbd7
UD
19578 [BZ #11781]
19579 * malloc/malloc.h: Declare malloc hook variables as volatile.
19580
13f1ab36
UD
19581 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19582 in last patch.
19583
b1ebd700
UD
19584 [BZ #11799]
19585 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19586 raise in the comment.
80e2212d
UD
19587 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19588 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19589 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19590
ce67228d
UD
195912011-05-28 Ulrich Drepper <drepper@gmail.com>
19592
8887a920
UD
19593 [BZ #12811]
19594 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19595 grow the buffers more if it already has to be sufficient.
19596 (build_wcs_upper_buffer): Likewise.
19597 * posix/regexec.c (check_matching): Likewise.
19598 (clean_state_log_if_needed): Likewise.
19599 (extend_buffers): Don't enlarge buffers beyond size of the input
19600 buffer.
19601 Patches mostly by Emil Wojak <emil@wojak.eu>.
19602 * posix/bug-regex32.c: New file.
19603 * posix/Makefile (tests): Add bug-regex32.
19604
4f031072
UD
19605 * locale/findlocale.c (_nl_find_locale): Return right away if
19606 _nl_explode_name failed.
19607 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19608
d0478f0c
UD
19609 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19610
de81b246
UD
19611 * debug/xtrace.sh: Unify messages.
19612 * malloc/memusage.sh: Likewise.
19613
c738465a
UD
19614 [BZ #12813]
19615 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19616 time symbol from vDSO. Substitute with vsyscall if not available.
19617 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19618 __vdso_time.
19619
f1f929d7
UD
19620 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19621 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19622 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19623 Add sendmmsg and internal_sendmmsg.
19624 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19625 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19626 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19627
ce67228d
UD
19628 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19629 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19630 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19631
e57420c6
UD
196322011-05-27 Ulrich Drepper <drepper@gmail.com>
19633
a8509ca5
UD
19634 [BZ #12813]
19635 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19636 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19637 available.
19638 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19639 __vdso_getcpu.
19640
e57420c6
UD
19641 [BZ #12814]
19642 * iconvdata/Makefile (tests): Add bug-iconv9.
19643 * iconvdata/bug-iconv9.c: New file.
19644
4d07db15
AS
196452011-05-27 Andreas Schwab <schwab@redhat.com>
19646
19647 [BZ #12814]
19648 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19649
ea486f69
JJ
196502011-05-25 Jakub Jelinek <jakub@redhat.com>
19651
19652 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19653 (struct user_regs_struct): Change intcs field back to cs.
19654
6f038433
UD
196552011-05-25 Ulrich Drepper <drepper@gmail.com>
19656
19657 * po/ja.po: Update from translation team.
19658
67f86a25
UD
196592011-05-23 Ulrich Drepper <drepper@gmail.com>
19660
19661 [BZ #12795]
19662 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19663 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19664
def7fbd6
AS
196652011-05-20 Andreas Schwab <schwab@redhat.com>
19666
19667 * stdlib/longlong.h: Update from GCC.
19668
f50ef8f1
AS
196692011-05-23 Andreas Schwab <schwab@redhat.com>
19670
19671 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19672 parameter name.
19673 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19674 Add parameter name.
19675 (__sysconf): Pass it down.
19676
de7ce8f1
UD
196772011-05-22 Ulrich Drepper <drepper@gmail.com>
19678
f2962a71
UD
19679 [BZ #12671]
19680 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19681 some situations.
19682 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19683 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19684 add in in __libc_use_alloca calls. Adjust callers.
19685 (glob): Use malloc in some situations.
19686
de7ce8f1
UD
19687 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19688 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19689 pltexit.
19690
aec84f53
UD
196912011-05-21 Ulrich Drepper <drepper@gmail.com>
19692
05bb4a68
UD
19693 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19694 and CLOCK_BOOTTIME_ALARM.
19695
7ea72f99
UD
19696 [BZ #12782]
19697 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19698 is returned.
19699
7e4afad5
UD
19700 * string/_strerror.c (__strerror_r): Print negative errors as signed
19701 numbers.
19702
8e211fec
UD
19703 [BZ #12777]
19704 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19705 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19706 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19707
f7d82dc9
UD
19708 * configure.in: Fix typo in redirection and correct removal of test
19709 files in two cases.
19710
cc9e536d
UD
19711 [BZ #12788]
19712 * locale/setlocale.c (new_composite_name): Fix test to check for
19713 identical name of all categories.
19714
aec84f53
UD
19715 [BZ #12792]
19716 * libio/filedoalloc.c (local_isatty): New function.
19717 (_IO_file_doallocate): Use local_isatty.
19718 * stdio-common/perror.c (perror): In case a new stream is used
19719 forward the stream error.
19720 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19721 error flag.
19722
78e64fdc
RT
197232011-05-20 Ulrich Drepper <drepper@gmail.com>
19724
34a9094f
UD
19725 [BZ #11869]
19726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19727 alloca.
19728 * include/alloca.h (extend_alloca_account): Define.
19729
78e64fdc
RT
19730 [BZ #11857]
19731 * posix/regex.h: Fix comments with documentation of user-accessible
19732 fields after compilation and describe correct free'ing of pattern
19733 after re_compile_pattern.
19734 Patch by Reuben Thomas <rrt@sc3d.org>.
19735
457bddfc
RA
197362011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19737
19738 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19739 and -mno-altivec to prevent the compiler from using Altivec and/or
19740 VSX instructions when the corresponding registers are not available.
19741
a4527b51
AS
197422011-05-19 Andreas Schwab <schwab@redhat.com>
19743
19744 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19745
ed690b2f
UD
197462011-05-19 Ulrich Drepper <drepper@gmail.com>
19747
19748 * libio/freopen.c (freopen): Use __dup2, not dup2.
19749 * libio/freopen64.c (freopen64): Likewise.
19750
8db73634
L
197512011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19752
19753 [BZ #12775]
19754 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19755 * math/Makefile (tests): Add test-powl.
19756 (CFLAGS-test-powl.c): Define.
19757 * math/test-powl.c: New file.
19758
0a197a9d
L
197592011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19760
19761 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19762
ee30c380
UD
197632011-05-17 Ulrich Drepper <drepper@gmail.com>
19764
19765 [BZ #11837]
19766 * iconvdata/gb18030.c: Update to GB18020-2005.
19767
6ce75379
UD
197682011-05-16 Ulrich Drepper <drepper@gmail.com>
19769
a4b89fd8
AR
19770 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19771 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19772 Patch by Aharon Robbins <arnold@skeeve.com>.
19773
ea389b12
UD
19774 [BZ #11892]
19775 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19776 on the stack.
19777
68a3f91f
UD
19778 [BZ #11895]
19779 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19780 through underflows.
19781
15cc7dd1
UD
19782 [BZ #12766]
19783 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19784 point to strings before performing equality test for error_one_per_line
19785 mode.
19786
f3799213
UD
19787 [BZ #11697]
19788 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19789
d79a9c94
UD
19790 [BZ #11820]
19791 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19792 (struct user_fpregs_struct): Avoid __uint*_t types.
19793
56e5eb46
UD
19794 [BZ #6420]
19795 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19796 symbol info. Use it instead of calling _dl_addr locally.
19797 (lock_and_info): New function.
19798 (tr_freehook): Call lock_and_info and pass symbol info as additional
19799 parameter to tr_where.
19800 (tr_mallochook): Likewise.
19801 (tr_reallochook): Likewise.
19802 (tr_memalignhook): Likewise.
19803
6ce75379
UD
19804 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19805 used and couldn't be at all thread-safe.
19806
f8a3b5bf
UD
198072011-05-15 Ulrich Drepper <drepper@gmail.com>
19808
94b7cc37
UD
19809 * libio/freopen.c (freopen): Don't close old file descriptor
19810 before the new one is opened. Instead dup the new file descriptor
19811 to the old one after the new stream is created.
19812 * libio/freopen64.c (freopen64): Likewise.
19813 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19814 * libio/fileops.c (_IO_new_file_close_it): Handle new
19815 _IO_FLAGS2_NOCLOSE flag.
19816 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19817 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19818 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19819 _IO_FLAGS2_NOCLOSE flag.
19820 * include/unistd.h: Add hidden_proto for dup3.
19821 Define __have_dup3.
19822 * io/dup3.c: Define hidden symbol.
19823 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19824
bd25564e
UD
19825 [BZ #7101]
19826 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19827 when an incomplete long option is used.
19828 * posix/tst-getopt_long1.c: New file.
19829 * posix/Makefile (tests): Add tst-getopt_long1.
19830
c84cfef4
UD
19831 [BZ #10138]
19832 * scripts/config.guess: Update from autoconf-2.68.
19833 * scripts/config.sub: Likewise.
19834
3b85df27
UD
19835 [BZ #10157]
19836 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19837 tests into ...
19838 (has_cpuclock): ...this. New function.
19839 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19840 macro here based on has_cpuclock code.
19841
15a856b1
UD
19842 [BZ #10149]
19843 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19844 First byte (not low byte) is now always NUL.
19845 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19846
05f399e6
UD
19847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19848 Use non-cancelable interfaces.
19849
10a52685 19850 [BZ #9809]
94ecc67d
UD
19851 * locale/iso-639.def: Add entry for Sorani.
19852
f8a3b5bf
UD
19853 [BZ #11901]
19854 * include/stdlib.h: Move include protection to the right place.
19855 Define abort_msg_s. Declare __abort_msg with it.
19856 * stdlib/abort.c (__abort_msg): Adjust type.
19857 * assert/assert.c (__assert_fail_base): New function. Majority
19858 of code from __assert_fail. Allocate memory for __abort_msg with
19859 mmap.
19860 (__assert_fail): Now call __assert_fail_base.
19861 * assert/assert-perr.c: Remove bulk of implementation. Use
19862 __assert_fail_base.
19863 * include/assert.hL Declare __assert_fail_base.
19864 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19865 mmap.
19866 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19867
1af4e298
UD
198682011-05-14 Ulrich Drepper <drepper@gmail.com>
19869
f8a3b5bf 19870 [BZ #11952]
d26dfc60
MG
19871 [BZ #12453]
19872 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19873 until all modules are registered in the DTV.
19874 * elf/Makefile: Add rules to build and run tst-tls19.
19875 * elf/tst-tls19.c: New file.
19876 * elf/tst-tls19mod1.c: New file.
19877 * elf/tst-tls19mod2.c: New file.
19878 * elf/tst-tls19mod3.c: New file.
19879 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19880
2fc54d6f
UD
19881 [BZ #12083]
19882 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19883 correctly.
19884
98d76b46
UD
19885 [BZ #12601]
19886 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19887 two-byte sequence errors.
19888 * iconvdata/Makefile (tests): Add bug-iconv8.
19889 * iconvdata/bug-iconv8.c: New file.
19890
da3c19ef
UD
19891 [BZ #12626]
19892 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19893 buf2 definition.
19894
ca408c15
UD
19895 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19896
d6f67f7d
UD
19897 [BZ #12432]
19898 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19899 (dummy_getcfa): New function.
19900 (init): Get _Unwind_GetCFA address, use dummy if not found.
19901 (backtrace_helper): In recursion check, also check whether CFA changes.
19902 (__backtrace): Completely initialize arg.
19903
1af4e298 19904 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
19905 storing incomplete byte sequence in state object. Avoid testing for
19906 guaranteed too small input if we know there is enough data available.
1af4e298 19907
da62f81b
AS
199082011-05-11 Andreas Schwab <schwab@redhat.com>
19909
19910 * Makeconfig (+link-pie): Indent.
19911 * Rules (binaries-pie): Define if $(have-fpie) and
19912 $(build-shared).
19913 (binaries-shared): Also filter out $(binaries-pie).
19914 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19915 * nscd/Makefile (others-pie): Add nscd.
19916 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19917 ($(objpfx)nscd): Remove command override.
19918 * login/Makefile (others-pie): Add pt_chown.
19919 ($(objpfx)pt_chown): Remove command override.
19920 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19921 remove command overrides.
19922
fcabc0f8
UD
199232011-05-13 Ulrich Drepper <drepper@gmail.com>
19924
20030ae6
UD
19925 * libio/tst_putwc.c: Fix error messages.
19926
fcabc0f8
UD
19927 [BZ #12724]
19928 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19929 currently writing and seek to current position when not.
19930 * libio/Makefile (tests): Add bug-fclose1.
19931 * libio/bug-fclose1.c: New file.
19932
320a5dc0
PB
199332011-05-12 Ulrich Drepper <drepper@gmail.com>
19934
19935 [BZ #12511]
19936 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19937 don't set DF_1_NODELETE here.
19938 (do_lookup_x): When entering new entry test for copy relocation
19939 and if necessary set DF_1_NODELETE flag.
19940 * elf/tst-unique4.cc: New file.
19941 * elf/tst-unique4.h: New file.
19942 * elf/tst-unique4lib.cc: New file.
19943 * elf/Makefile: Add rules to build and run tst-unique4.
19944 Patch by Piotr Bury <pbury@goahead.com>.
19945
22836f52
UD
199462011-05-11 Ulrich Drepper <drepper@gmail.com>
19947
f574184a
UD
19948 [BZ #12052]
19949 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19950
e1fb097f
UD
19951 [BZ #12625]
19952 * misc/mntent_r.c (addmntent): Flush the stream after the output
19953
22836f52
UD
19954 [BZ #12393]
19955 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19956 (is_trusted_path_normalize): Skip initial colon. Append slash
19957 to empty buffer. Duplicate is_trusted_path code but allow
19958 constructed patch to be prefix.
19959 (is_dst): Allow $ORIGIN followed by /.
19960 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19961 Correct testing of result of is_trusted_path_normalize
19962 (decompose_rpath): Fix warning.
19963
7b3b0b2a
UD
199642011-05-10 Ulrich Drepper <drepper@gmail.com>
19965
19966 [BZ #11257]
19967 * grp/initgroups.c (internal_getgrouplist): When we found the service
19968 list through the initgroups entry in nsswitch.conf do not always
19969 continue on a successful lookup. Don't always use the
eac80ce2 19970 __nss_group_database value if it is set.
7b3b0b2a
UD
19971 * nss/nsswitch.conf (initgroups): Change action for successful db
19972 lookup to continue for compatibility.
19973
2a81eaa5
UD
199742011-05-09 Ulrich Drepper <drepper@gmail.com>
19975
be97a69e
UD
19976 [BZ #11532]
19977 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19978 and CP774 modules.
19979 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19980 and CP774 modules.
19981 * iconvdata/tst-tables.sh: Likewise.
19982 * iconvdata/cp770.c: New file.
19983 * iconvdata/cp771.c: New file.
19984 * iconvdata/cp772.c: New file.
19985 * iconvdata/cp773.c: New file.
19986 * iconvdata/cp774.c: New file.
19987 * iconvdata/testdata/CP770: New file.
19988 * iconvdata/testdata/CP770..UTF8: New file.
19989 * iconvdata/testdata/CP771: New file.
19990 * iconvdata/testdata/CP771..UTF8: New file.
19991 * iconvdata/testdata/CP772: New file.
19992 * iconvdata/testdata/CP772..UTF8: New file.
19993 * iconvdata/testdata/CP773: New file.
19994 * iconvdata/testdata/CP773..UTF8: New file.
19995 * iconvdata/testdata/CP774: New file.
19996 * iconvdata/testdata/CP774..UTF8: New file.
19997
19998 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19999 END CHARMAP line.
20000 * iconvdata/gen-8bit-gap.sh: Likewise.
20001 * iconvdata/gen-8bit.sh: Likewise.
20002
c1e9e399
UD
20003 * locale/iso-639.def: Add ary entry.
20004
24c55fb3 20005 [BZ #11258]
96b4b1b0
UD
20006 * locale/C-translit.h.in: Add U20A1 transliteration.
20007
bdc2f971
KB
20008 [BZ #12178]
20009 * locale/iso-639.def: Add wae entry.
20010 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20011
2952b117
UD
20012 [BZ #12545]
20013 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20014 for n.
20015
2a81eaa5
UD
20016 [BZ #12711]
20017 * locale/C-translit.h.in: Add entry for U20B9.
20018 Patch by pravin.d.s@gmail.com.
20019
28377d1b
UD
200202011-05-08 Ulrich Drepper <drepper@gmail.com>
20021
7fb90fb8
UD
20022 [BZ #12713]
20023 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20024 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20025 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20026 in rtld. Use *stat64.
7fb90fb8 20027 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20028 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20029 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20030 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20031 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20032 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20033 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20034 __fstatat64 macros.
7fb90fb8
UD
20035 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20036 * dirent/rewinddir.c: Add libc_hidden_def.
20037 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20038 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20039
28377d1b
UD
20040 * include/dirent.h (__alloc_dir): Add flags parameter.
20041 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20042 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20043 __alloc_dir.
20044 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20045 from fdopendir if O_CLOEXEC is already set.
20046
66bdbaa4
AM
200472011-03-15 Alan Modra <amodra@gmail.com>
20048
20049 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20050 l_tls_firstbyte_offset non-zero. Save padding offset in
20051 l_tls_firstbyte_offset for later use.
20052 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20053 freeing static tls block.
20054
95721191
JN
200552011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20056
20057 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20058 where #ifdef was intended. The intent is to prevent ARG_MAX from
20059 being defined by the kernel headers.
20060
f87dfb1f
UD
200612011-05-07 Ulrich Drepper <drepper@gmail.com>
20062
20063 [BZ #12734]
20064 * resolv/resolv.h: Define RES_NOTLDQUERY.
20065 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20066 no-tld-query and set RES_NOTLDQUERY.
20067 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20068 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20069 modern BIND to search name as TLD unless forbidden.
20070
47c3cd7a
UD
200712011-05-07 Petr Baudis <pasky@suse.cz>
20072 Ulrich Drepper <drepper@gmail.com>
20073
20074 [BZ #12393]
20075 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20076 (is_trusted_path): ...to here.
c1e9ea35 20077 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20078 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20079 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20080
8a35c912
PP
200812011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20082
20083 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20084 __BEGIN/__END_DECLS.
20085
acd41f47
UD
200862011-05-06 Ulrich Drepper <drepper@gmail.com>
20087
20088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20089 NSS_STATUS_NOTFOUND if no record was found.
20090
597df647
AS
200912011-05-05 Andreas Schwab <schwab@redhat.com>
20092
20093 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20094 (headers-not-in-tirpc): Remove rpc/netdb.h
20095 * resolv/netdb.h: Revert last change.
20096
b9af1301
PP
200972011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20098
20099 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20100 circular dependency between libgcc.a and libc.a.
20101
4e34d5f5
AS
201022011-05-05 Andreas Schwab <schwab@redhat.com>
20103
20104 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20105 * nis/Makefile: Don't install rpcsvc/*.
20106 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20107 instead of <rpc/types.h>.
20108 (MAXHOSTNAMELEN): Define.
20109
00ee369c
AS
201102011-05-03 Andreas Schwab <schwab@redhat.com>
20111
20112 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20113
0b592a30
MB
201142011-04-28 Maciej Babinski <mbabinski@google.com>
20115
20116 [BZ #12714]
20117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20118 gethostbyname4_r when IPv6 results are possible.
20119
6e04cbbe
UD
201202011-05-02 Ulrich Drepper <drepper@gmail.com>
20121
20122 [BZ #12723]
20123 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20124 _PC_PIPE_BUF handling.
20125
e4ecafe0
BH
201262011-04-30 Bruno Haible <bruno@clisp.org>
20127
20128 [BZ #12717]
20129 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20130 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20131 to 'int'.
20132 * inet/getnameinfo.c (getnameinfo): Likewise.
20133
125ee683
UD
201342011-04-29 Ulrich Drepper <drepper@gmail.com>
20135
20136 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20137 to groups setting in database lookup.
20138 * nss/nsswitch.conf: Add initgroups entry.
20139
b722481a
EB
201402011-04-22 Ulrich Drepper <drepper@gmail.com>
20141
20142 [BZ #12685]
20143 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20144 mode string.
20145 Patch by Eric Blake <eblake@redhat.com>.
20146
4df46dbd
L
201472011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20148
20149 * sunrpc/Makefile (need-export-routines): Add svc_run.
20150 (routines): Remove svc_run.
20151 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20152 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20153 * sunrpc/svc_run.c (svc_run): Likewise.
20154 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20155
e84142d2
UD
201562011-04-21 Ulrich Drepper <drepper@gmail.com>
20157
20158 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20159 problem in reallocation in last patch.
20160
877175d8
UD
201612011-04-20 Ulrich Drepper <drepper@gmail.com>
20162
20163 * sunrpc/Makefile: Move inclusion of Rules.
20164
ab8eed78
UD
201652011-04-19 Ulrich Drepper <drepper@gmail.com>
20166
20167 * nss/nss_files/files-initgroups.c: New file.
20168 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20169 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20170 _nss_files_initgroups_dyn.
20171
e3d8f584
RS
201722011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20173
20174 * elf/elf.h (R_ARM_IRELATIVE): Define.
20175
af190f45
UD
201762011-04-19 Ulrich Drepper <drepper@gmail.com>
20177
20178 * po/ru.po: Update from translation team.
20179
53cf59ef
UD
201802011-04-17 Ulrich Drepper <drepper@gmail.com>
20181
20182 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20183 dependencies.
20184
4c559bcd
MF
201852011-02-06 Mike Frysinger <vapier@gentoo.org>
20186
20187 [BZ #12653]
20188 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20189 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20190 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20193
4420675c
AS
201942011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20195
20196 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20197 differing bytes.
20198 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20199 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20200 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20201
75ea32ab
UD
202022011-04-17 Ulrich Drepper <drepper@gmail.com>
20203
20204 [BZ #12420]
20205 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20206 storing it.
20207 * stdlib/bug-getcontext.c: New file.
20208 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20209
27390476
AK
202102011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20211
20212 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20213 instructions into .machine "z9-109".
20214 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20215 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20216
10442705
AK
202172011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20218
20219 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20220 between environment variables and auxiliary vector.
20221
7b57bfe5
UD
202222011-04-16 Ulrich Drepper <drepper@gmail.com>
20223
20224 * Makefile: Add rules to build linkobj/libc.so.
20225 * include/libc-symbols.h: Define libc_hidden_nolink.
20226 * include/rpc/auth.h: Mark functions which are to be hidden.
20227 * include/rpc/auth_des.h: Likewise.
20228 * include/rpc/auth_unix.h: Likewise.
20229 * include/rpc/clnt.h: Likewise.
20230 * include/rpc/des_crypt.h: Likewise.
20231 * include/rpc/key_prot.h: Likewise.
20232 * include/rpc/pmap_clnt.h: Likewise.
20233 * include/rpc/pmap_prot.h: Likewise.
20234 * include/rpc/pmap_rmt.h: Likewise.
20235 * include/rpc/rpc_msg.h: Likewise.
20236 * include/rpc/svc.h: Likewise.
20237 * include/rpc/svc_auth.h: Likewise.
20238 * include/rpc/xdr.h: Likewise.
20239 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20240 * nss/Makefile: Likewise.
20241 * sunrpc/Makefile: Don't install headers. Build library with normal
20242 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20243 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20244 for the compat linking library. Remove use of INTDEF/INTUSE.
20245 * sunrpc/auth_none.c: Likewise.
20246 * sunrpc/auth_unix.c: Likewise.
20247 * sunrpc/authdes_prot.c: Likewise.
20248 * sunrpc/authuxprot.c: Likewise.
20249 * sunrpc/clnt_gen.c: Likewise.
20250 * sunrpc/clnt_perr.c: Likewise.
20251 * sunrpc/clnt_raw.c: Likewise.
20252 * sunrpc/clnt_simp.c: Likewise.
20253 * sunrpc/clnt_tcp.c: Likewise.
20254 * sunrpc/clnt_udp.c: Likewise.
20255 * sunrpc/clnt_unix.c: Likewise.
20256 * sunrpc/des_crypt.c: Likewise.
20257 * sunrpc/des_soft.c: Likewise.
20258 * sunrpc/get_myaddr.c: Likewise.
20259 * sunrpc/key_call.c: Likewise.
20260 * sunrpc/key_prot.c: Likewise.
20261 * sunrpc/netname.c: Likewise.
20262 * sunrpc/pm_getmaps.c: Likewise.
20263 * sunrpc/pm_getport.c: Likewise.
20264 * sunrpc/pmap_clnt.c: Likewise.
20265 * sunrpc/pmap_prot.c: Likewise.
20266 * sunrpc/pmap_prot2.c: Likewise.
20267 * sunrpc/pmap_rmt.c: Likewise.
20268 * sunrpc/publickey.c: Likewise.
20269 * sunrpc/rpc_cmsg.c: Likewise.
20270 * sunrpc/rpc_common.c: Likewise.
20271 * sunrpc/rpc_dtable.c: Likewise.
20272 * sunrpc/rpc_prot.c: Likewise.
20273 * sunrpc/rpc_thread.c: Likewise.
20274 * sunrpc/rtime.c: Likewise.
20275 * sunrpc/svc.c: Likewise.
20276 * sunrpc/svc_auth.c: Likewise.
20277 * sunrpc/svc_authux.c: Likewise.
20278 * sunrpc/svc_raw.c: Likewise.
20279 * sunrpc/svc_run.c: Likewise.
20280 * sunrpc/svc_simple.c: Likewise.
20281 * sunrpc/svc_tcp.c: Likewise.
20282 * sunrpc/svc_udp.c: Likewise.
20283 * sunrpc/svc_unix.c: Likewise.
20284 * sunrpc/svcauth_des.c: Likewise.
20285 * sunrpc/xcrypt.c: Likewise.
20286 * sunrpc/xdr.c: Likewise.
20287 * sunrpc/xdr_array.c: Likewise.
20288 * sunrpc/xdr_float.c: Likewise.
20289 * sunrpc/xdr_intXX_t.c: Likewise.
20290 * sunrpc/xdr_mem.c: Likewise.
20291 * sunrpc/xdr_rec.c: Likewise.
20292 * sunrpc/xdr_ref.c: Likewise.
20293 * sunrpc/xdr_sizeof.c: Likewise.
20294 * sunrpc/xdr_stdio.c: Likewise.
20295
e6c61494
UD
202962011-04-10 Ulrich Drepper <drepper@gmail.com>
20297
20298 [BZ #12650]
20299 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20300 * sysdeps/ia64/dl-tls.h: Likewise.
20301 * sysdeps/powerpc/dl-tls.h: Likewise.
20302 * sysdeps/s390/dl-tls.h: Likewise.
20303 * sysdeps/sh/dl-tls.h: Likewise.
20304 * sysdeps/sparc/dl-tls.h: Likewise.
20305 * sysdeps/x86_64/dl-tls.h: Likewise.
20306 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20307
34fe483e
AS
203082011-03-14 Andreas Schwab <schwab@redhat.com>
20309
20310 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20311 rpath element also skip the following colon.
20312 (expand_dynamic_string_token): Add is_path parameter and pass
20313 down to DL_DST_REQUIRED and _dl_dst_substitute.
20314 (decompose_rpath): Call expand_dynamic_string_token with
20315 non-zero is_path. Ignore empty rpaths.
20316 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20317 with zero is_path.
20318
f12a32e6
AS
203192011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20320
20321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20322 Make cancelable.
20323
38a7d692
UD
203242011-04-09 Ulrich Drepper <drepper@gmail.com>
20325
20326 [BZ #12655]
20327 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20328 Patch by Filipe David Manana <fdmanana@apache.org>.
20329
e451d22b
AS
203302011-04-07 Andreas Schwab <schwab@redhat.com>
20331
20332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20333 Maintain aligned stack.
20334 (CHECK_RSP): Remove unused macro.
20335
dedc7c7b
UD
203362011-04-03 Ulrich Drepper <drepper@gmail.com>
20337
20338 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20339 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20340
94521213
UD
203412011-04-02 Ulrich Drepper <drepper@gmail.com>
20342
20343 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20344
8cb700c0 20345 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20346
0354e355
L
203472011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20348
20349 [BZ #12518]
20350 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20351 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20352 * sysdeps/x86_64/memmove.c: New file.
20353 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20354 (memcpy): Renamed to ...
20355 (__new_memcpy): This.
20356 (memcpy): Provide GLIBC_2_14 memcpy.
20357 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20358 (memcpy): Provide GLIBC_2_2_5 memcpy.
20359
8593482f
UD
203602011-04-01 Ulrich Drepper <drepper@gmail.com>
20361
20362 [BZ #12631]
20363 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20364
81a5726b
AS
203652011-03-30 Andreas Schwab <schwab@redhat.com>
20366
20367 * misc/syncfs.c: New file.
20368 * misc/Makefile (routines): Add syncfs.
20369 * posix/unistd.h: Declare syncfs.
20370 * sysdeps/unix/syscalls.list: Add syncfs.
20371
00e5419f
AS
203722011-04-01 Andreas Schwab <schwab@redhat.com>
20373
20374 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20375 open_by_handle_at.
20376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20379 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20381 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20383
748876bf
UD
203842011-04-01 Ulrich Drepper <drepper@gmail.com>
20385
658e451d
UD
20386 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20390 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20392 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20393
748876bf
UD
20394 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20395 sync_file_range.c with -fexceptions.
20396 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20397 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20398 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20399 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20400 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20401 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20402 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20403 sync_file_range as cancellation point
20404 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20405 now a wrapper around __call_sync_file_range with cancellation handling.
20406 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20407 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20408 function name to __call_sync_file_range.
20409 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20410 Add call_sync_file_range.
748876bf 20411
6e63d5e1
AS
204122011-04-01 Andreas Schwab <schwab@redhat.com>
20413
20414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20415 bits/timex.h.
6e63d5e1 20416
46998f74
UD
204172011-04-01 Ulrich Drepper <drepper@gmail.com>
20418
4c1423ed
UD
20419 * iconv/iconv.h: Fix typo in comment.
20420 * io/fcntl.h: Likewise.
20421 * libio/stdio.h: Likewise.
20422 * posix/spawn.h: Likewise.
20423 * posix/unistd.h: Likewise.
20424 * stdlib/stdlib.h: Likewise.
20425 * time/time.h: Likewise.
20426 * wcsmbs/wchar.h: Likewise.
20427
158648c0
UD
20428 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20429 open_by_handle): Add.
20430 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20431 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20432 Augment a few comments.
20433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20437 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20438 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20439 open_by_handle.
20440
46998f74
UD
20441 * io/fcntl.h (AT_EMPTY_PATH): Define.
20442
83fe108b
UD
204432011-03-30 Ulrich Drepper <drepper@gmail.com>
20444
20445 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20446 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20447 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20448 to...
20449 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20450 * Versions.def: Add GLIBC_2.14.
20451 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20452 Export.
83fe108b 20453
bb242059
UD
204542011-03-22 Ulrich Drepper <drepper@gmail.com>
20455
20456 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20457 round counter.
20458 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20459
c97a1282
L
204602011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20461
20462 [BZ #12597]
20463 * string/test-strncmp.c (do_page_test): New function.
20464 (check2): Likewise.
20465 (test_main): Call check2.
20466 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20467
2a115601
UD
204682011-03-20 Ulrich Drepper <drepper@gmail.com>
20469
20470 [BZ #12587]
20471 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20472 Handle cache information in CPU leaf 4.
20473 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20474
8126d904
UD
204752011-03-18 Ulrich Drepper <drepper@gmail.com>
20476
042c49c6 20477 [BZ #12583]
8126d904
UD
20478 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20479 character representation.
20480 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20481
ccfe366e
RA
204822011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20483
20484 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20485 END(__isnan) to END(__isnanf) to match function entry point/label
20486 EALIGN(__isnanf,...).
20487
c6e13027
JJ
204882011-03-10 Jakub Jelinek <jakub@redhat.com>
20489
20490 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20491
33f85a3f
UD
204922011-03-10 Ulrich Drepper <drepper@gmail.com>
20493
028478fa
UD
20494 [BZ #12510]
20495 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20496 copy from the symbol referenced in the relocation to initialize the
20497 used variable.
20498 Patch by Piotr Bury <pbury@goahead.com>.
20499 * elf/Makefile: Add rules to build and tst-unique3.
20500 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20501 * elf/tst-unique3.cc: New file.
20502 * elf/tst-unique3.h: New file.
20503 * elf/tst-unique3lib.cc: New file.
20504 * elf/tst-unique3lib2.cc: New file.
20505
33f85a3f
UD
20506 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20507
03592fc7
MF
205082011-03-10 Mike Frysinger <vapier@gentoo.org>
20509
20510 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20511 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20512 to _start.
03592fc7 20513
6a5ee102
UD
205142011-03-06 Ulrich Drepper <drepper@gmail.com>
20515
20516 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20517 to-be-loaded object along a path to loader is ld.so.
20518
7e4ba49c
HJ
205192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20520 Ulrich Drepper <drepper@gmail.com>
20521
20522 * sysdeps/x86_64/memset.S: After aligning destination, code
20523 branches to different locations depending on the value of
20524 misalignment, when multiarch is enabled. Fix this.
20525
205262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20527
20528 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20529 Set _x86_64_preferred_memory_instruction for AMD processsors.
20530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20531 Set bit_Prefer_SSE_for_memop for AMD processors.
20532
13a804de
UD
205332011-03-04 Ulrich Drepper <drepper@gmail.com>
20534
20535 * libio/fmemopen.c (fmemopen): Optimize a bit.
20536
9d25c392
AS
205372011-03-03 Andreas Schwab <schwab@redhat.com>
20538
20539 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20540
a5543c6a
RM
205412011-03-03 Roland McGrath <roland@redhat.com>
20542
20543 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20544
012d35f7
DM
205452011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20546
7e4ba49c 20547 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20548 __bzero_ultra1 instead of __memset_ultra1.
20549
4bff6e01
AS
205502011-02-23 Andreas Schwab <schwab@redhat.com>
20551 Ulrich Drepper <drepper@gmail.com>
20552
20553 [BZ #12509]
20554 * include/link.h (struct link_map): Add l_orig_initfini.
20555 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20556 returning unsuccessfully.
20557 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20558 close of a file loaded at startup, restore the original l_initfini
20559 list.
20560 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20561 list, store the pointer.
20562 * elf/Makefile ($(objpfx)noload-mem): New rule.
20563 (noload-ENV): Define.
20564 (tests): Add $(objpfx)noload-mem.
20565 * elf/noload.c: Include <memcheck.h>.
20566 (main): Call mtrace. Close all opened handles.
20567
f2092faf
AS
205682011-02-17 Andreas Schwab <schwab@redhat.com>
20569
20570 [BZ #12454]
20571 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20572 dependencies are missing.
20573
6c8a2e88
ST
205742011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20575
f2092faf 20576 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20577 Hurd needs munmap.
20578 * sysdeps/mach/hurd/ifreq.h: New file.
20579
84a42118
PB
205802011-01-27 Petr Baudis <pasky@suse.cz>
20581 Ulrich Drepper <drepper@gmail.com>
20582
071f805e 20583 [BZ 12445]#
84a42118
PB
20584 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20585 to extend_alloca().
20586 * stdio-common/bug23.c: New file.
20587 * stdio-common/Makefile (tests): Add bug23.
20588
e23fe25b
AS
205892010-09-28 Andreas Schwab <schwab@redhat.com>
20590 Ulrich Drepper <drepper@gmail.com>
20591
20592 [BZ #12489]
20593 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20594 before performing relro protection. At old place add assertion
20595 to make sure nothing changed.
20596
d3f02e10
NS
205972011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20598 Glauber de Oliveira Costa <glommer@gmail.com>
20599
20600 * elf/elf.h: Add new ARM TLS relocs.
20601
d55fd7a5
RA
206022011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20603
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20605 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20606 cast from r3.
20607 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20608 'tests' variable.
20609 * sysdeps/wordsize-64/tst-writev.c: New file.
20610
2206397e
RA
206112011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20612
20613 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20614 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20615 insns in _dl_start to prevent a TOC reference before relocs are
20616 resolved.
20617
e9433893
UD
206182011-02-15 Ulrich Drepper <drepper@gmail.com>
20619
20620 [BZ #12469]
20621 * Makeconfig: Remove RANLIB definition.
20622 * Makerules: Don't use RANLIB.
20623 * aclocal.m4: Remove ranlib test.
20624 * configure.in: No need to check for ranlib.
20625 * elf/rtld-Rules: Don't use RANLIB.
20626
f75286c6
ST
206272011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20628
8e31c82d
ST
20629 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20630 protection macro.
20631 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20632 inclusion protection macro.
20633
f75286c6
ST
20634 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20635 SIGRTMIN and SIGRTMAX and print information in that case only when
20636 SIGRTMIN is defined.
20637
c1d0e639
JJ
206382011-02-11 Jakub Jelinek <jakub@redhat.com>
20639
20640 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20641 arginfo fn returning -1.
20642
20643 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20644 and thousands string is zero terminated.
20645
edf9294e
AS
206462011-02-03 Andreas Schwab <schwab@redhat.com>
20647
20648 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20649 sysdeps/unix/sysv/linux/bits/socket.h.
20650
2b7e92df
ST
206512011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20652
edf9294e
AS
20653 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20654 (__CPU_COUNT): Remove old macros.
20655 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20656 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20657 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20658 (__sched_cpualloc, __sched_cpufree): Add declarations.
20659
a4c7ea7b
UD
206602011-02-05 Ulrich Drepper <drepper@gmail.com>
20661
20662 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20663 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20664 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20665 (readdhstai): Return value of addhstaiX call.
20666 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20667 (addgrbyX): Return value returned by cache_addgr.
20668 (readdgrbyname): Return value returned by addgrbyX.
20669 (readdgrbygid): Likewise.
20670 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20671 (addpwbyX): Return value returned by cache_addpw.
20672 (readdpwbyname): Return value returned by addhstbyX.
20673 (readdpwbyuid): Likewise.
20674 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20675 (addservbyX): Return value returned by cache_addserv.
20676 (readdservbyname): Return value returned by addservbyX:
20677 (readdservbyport): Likewise.
20678 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20679 (addhstbyX): Return value returned by cache_addhst.
20680 (readdhstbyname): Return value returned by addhstbyX.
20681 (readdhstbyaddr): Likewise.
20682 (readdhstbynamev6): Likewise.
20683 (readdhstbyaddrv6): Likewise.
20684 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20685 (readdinitgroups): Return value returned by addinitgroupsX.
20686 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20687 (prune_cache): Keep track of timeout value of re-added entries.
20688 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20689 * nscd/nscd.h: Adjust prototypes of readd* functions.
20690
a0bf67cc
RM
206912011-02-04 Roland McGrath <roland@redhat.com>
20692
20693 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20694 (nis_stats): Likewise.
20695 * nis/nis_modify.c (nis_modify): Likewise.
20696 * nis/nis_remove.c (nis_remove): Likewise.
20697 * nis/nis_add.c (nis_add): Likewise.
20698
20699 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20700
20701 * posix/fnmatch_loop.c: Add some consts.
20702
20703 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20704
435b95eb
L
207052011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20706
20707 [BZ #12460]
20708 * config.make.in (config-cflags-novzeroupper): Define.
20709 * configure.in: Substitute libc_cv_cc_novzeroupper.
20710 * elf/Makefile (AVX-CFLAGS): Define.
20711 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20712 (CFLAGS-tst-auditmod4a.c): Likewise.
20713 (CFLAGS-tst-auditmod4b.c): Likewise.
20714 (CFLAGS-tst-auditmod6b.c): Likewise.
20715 (CFLAGS-tst-auditmod6c.c): Likewise.
20716 (CFLAGS-tst-auditmod7b.c): Likewise.
20717 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20718
8517b15e
UD
207192011-02-02 Ulrich Drepper <drepper@gmail.com>
20720
20721 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20722 function to the callback.
20723 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20724
10a656fe
AS
207252011-02-02 Andreas Schwab <schwab@redhat.com>
20726
20727 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20728 of errno.
20729
968dad0a
UD
207302011-01-19 Ulrich Drepper <drepper@gmail.com>
20731
9f94d2ea 20732 [BZ #11724]
968dad0a
UD
20733 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20734 of constructors.
20735 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20736 of destructors.
20737 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20738
20739 [BZ #11724]
20740 * elf/Makefile: Add rules to build and run new test.
20741 * elf/tst-initorder.c: New file.
20742 * elf/tst-initorder.exp: New file.
20743 * elf/tst-initordera1.c: New file.
20744 * elf/tst-initordera2.c: New file.
20745 * elf/tst-initordera3.c: New file.
20746 * elf/tst-initordera4.c: New file.
20747 * elf/tst-initorderb1.c: New file.
20748 * elf/tst-initorderb2.c: New file.
20749 * elf/tst-order-a1.c: New file.
20750 * elf/tst-order-a2.c: New file.
20751 * elf/tst-order-a3.c: New file.
20752 * elf/tst-order-a4.c: New file.
20753 * elf/tst-order-b1.c: New file.
20754 * elf/tst-order-b2.c: New file.
20755 * elf/tst-order-main.c: New file.
20756 New test case by George Gensure <werkt0@gmail.com>.
20757
86e92359
UD
207582010-10-01 Andreas Schwab <schwab@redhat.com>
20759
20760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20761 decoding ACE if AI_CANONIDN.
20762
5d5732b0
UD
207632011-01-18 Ulrich Drepper <drepper@gmail.com>
20764
20765 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20766
a77e8cbc
UD
207672011-01-17 Ulrich Drepper <drepper@gmail.com>
20768
6392473f
UD
20769 * version.h (RELEASE): Bump for 2.13 release.
20770 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20771
620a0529
UD
20772 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20773
18ba70a5
UD
20774 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20775 MADV_NOHUGEPAGE.
32465c3e
UD
20776 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20777 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20778 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20779 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20780 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20781 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20782
c0dafcf1
UD
20783 * posix/getconf.c: Update copyright year.
20784 * catgets/gencat.c: Likewise.
20785 * csu/version.c: Likewise.
20786 * debug/catchsegv.sh: Likewise.
20787 * debug/xtrace.sh: Likewise.
20788 * elf/ldconfig.c: Likewise.
20789 * elf/ldd.bash.in: Likewise.
20790 * elf/sprof.c (print_version): Likewise.
20791 * iconv/iconv_prog.c: Likewise.
20792 * iconv/iconvconfig.c: Likewise.
20793 * locale/programs/locale.c: Likewise.
20794 * locale/programs/localedef.c: Likewise.
20795 * malloc/memusage.sh: Likewise.
20796 * malloc/mtrace.pl: Likewise.
20797 * nscd/nscd.c (print_version): Likewise.
20798 * nss/getent.c: Likewise.
20799
a77e8cbc
UD
20800 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20801 PF_CAIF, and PF_ALG.
20802 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20803
77e8bddf
AS
208042011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20805
1f20b93a
AS
20806 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20807 (modules-names): Use them.
20808 (ifunc-test-modules, ifunc-pie-tests): Define.
20809 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20810 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20811 (test-extras): Likewise.
20812 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20813 $(compile-command.c).
20814 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20815 (all-built-dso): Define.
20816 (check-textrel.out, check-execstack.out): Depend on it.
20817
77e8bddf
AS
20818 * configure.in: Don't override --enable-multi-arch.
20819
bc425b33
UD
208202011-01-15 Ulrich Drepper <drepper@gmail.com>
20821
20822 [BZ #6812]
20823 * nscd/hstcache.c (tryagain): Define.
20824 (cache_addhst): Return tryagain not notfound for temporary errors.
20825 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20826 failed.
20827
794c3ad3
UD
208282011-01-14 Ulrich Drepper <drepper@gmail.com>
20829
70181fdd
UD
20830 [BZ #10563]
20831 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20832 to make the syscall.
20833 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20834
794c3ad3
UD
20835 [BZ #12378]
20836 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20837 and fall back to matching as normal character if the string ends before
20838 the matching ']' is found. This is what POSIX requires.
20839 * posix/testfnm.c: Adjust test result.
20840 * posix/globtest.sh: Adjust test result. Add new test.
20841 * posix/tst-fnmatch.input: Likewise.
20842 * posix/tst-fnmatch2.c: Add new test.
20843
68dc9497
AS
208442010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20845
20846 * elf/Makefile (check-execstack): Revert last change. Depend on
20847 check-execstack.h.
20848 (check-execstack.h): New target.
20849 (generated): Add check-execstack.h.
20850 * elf/check-execstack.c: Include "check-execstack.h".
20851 (main): Revert last change.
20852 (handle_file): Return zero if GNU_STACK is absent and
20853 DEFAULT_STACK_PERMS doesn't include PF_X.
20854
451f001b
UD
208552011-01-13 Ulrich Drepper <drepper@gmail.com>
20856
cfa28e56
UD
20857 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20858 in child fails because the descriptor is already closed.
8cf8ce17
UD
20859 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20860 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20861 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 20862
1086d70d
UD
20863 [BZ #12397]
20864 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20865 syscall.
20866
451f001b
UD
20867 [BZ #10484]
20868 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20869 temporary buffer used to handle multi lookups locally.
a85b5cb4 20870 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 20871
08769175
UD
208722011-01-12 Ulrich Drepper <drepper@gmail.com>
20873
20874 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20875 loader is ld.so.
20876
5e49c52e
UD
208772011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20878
20879 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20880 alignment for SSE2.
20881
60522a5f
UD
208822011-01-12 Ulrich Drepper <drepper@gmail.com>
20883
20884 [BZ #12394]
20885 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20886 characters. When rounding increased number of integer digits recompute
20887 number of groups.
20888 * stdio-common/tst-grouping.c: New file.
20889 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20890
f257bbd7
UD
208912011-01-09 Ulrich Drepper <drepper@gmail.com>
20892
20893 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20894 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20895
20896 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20897 void.
20898 * bits/select.h: Likewise.
20899
fa9c15cb
UD
209002011-01-08 Ulrich Drepper <drepper@gmail.com>
20901
20902 * po/ja.po: Update from translation team.
20903
16c2895f
DM
209042011-01-04 David S. Miller <davem@sunset.davemloft.net>
20905
20906 [BZ #11155]
20907 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20908 implementation just like for lxstat, fxstatat, et al.
20909
2543fef2
JM
209102010-12-27 Jim Meyering <meyering@redhat.com>
20911
20912 [BZ #12348]
20913 * posix/regexec.c (build_trtable): Return failure indication upon
20914 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20915
98727dbe
UD
209162010-12-25 Ulrich Drepper <drepper@gmail.com>
20917
5bd6dc5c
UD
20918 [BZ #12201]
20919 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20920 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20921 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20922 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20923
97983464
UD
20924 [BZ #12207]
20925 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20926
98727dbe
UD
20927 [BZ #12204]
20928 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20929 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20930
4a531bb0
L
209312010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20932
20933 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20934 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20935 script has SORT_BY_INIT_PRIORITY.
20936 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20937 NO_CTORS_DTORS_SECTIONS is defined.
20938 * elf/soinit.c: Likewise.
20939 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20940 NO_CTORS_DTORS_SECTIONS is defined.
20941 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20942 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20943 * sysdeps/sh/init-first.c: Likewise.
20944 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20945
07eb4b71
UD
209462010-12-24 Ulrich Drepper <drepper@gmail.com>
20947
20948 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20949 always use the slow path.
20950
30950a5f
RA
209512010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20952
20953 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20954 similar rule which adds the sysdep directories to the header search in
20955 order to pick up the correct platform stackinfo.h.
20956 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20957 perform test if it is, otherwise return successfully without testing.
20958 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20959 DEFAULT_STACK_PERMS define in stackinfo.h.
20960 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20961 defined in stackinfo.h.
20962 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20963 DEFAULT_STACK_PERMS defined in stackinfo.h.
20964 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20965 * sysdeps/ia64/stackinfo.h: Likewise.
20966 * sysdeps/s390/stackinfo.h: Likewise.
20967 * sysdeps/sh/stackinfo.h: Likewise.
20968 * sysdeps/sparc/stackinfo.h: Likewise.
20969 * sysdeps/x86_64/stackinfo.h: Likewise.
20970 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20971 PF_X for powerpc64. Retain PF_X for powerpc32.
20972
db753e2c
UD
209732010-12-19 Ulrich Drepper <drepper@gmail.com>
20974
14b697f7
UD
20975 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20976 accurately.
db753e2c
UD
20977 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20978 GETDENTS_64BIT_ALIGNED.
20979
28300719
UD
209802010-12-14 Ulrich Drepper <dreper@gmail.com>
20981
14b697f7 20982 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 20983
4f197237
AS
209842010-12-10 Andreas Schwab <schwab@redhat.com>
20985
dbb0472f
AS
20986 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20987 _GNU_SOURCE.
20988
4f197237
AS
20989 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20990 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20991 Remove __restrict.
20992 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20993 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20994
fb88ac72
UD
209952010-12-09 Ulrich Drepper <drepper@gmail.com>
20996
20997 [BZ #11655]
20998 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20999 are initialized.
21000
42acbb92
JJ
210012010-12-09 Jakub Jelinek <jakub@redhat.com>
21002
21003 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21004
c038d98d
UD
210052010-12-03 Ulrich Drepper <drepper@gmail.com>
21006
21007 * po/it.po: Update from translation team.
21008
3a4a2499
L
210092010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21010
21011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21012 unused codes.
21013
1e24cf6e
UD
210142010-11-30 Ulrich Drepper <drepper@gmail.com>
21015
21016 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21017
a7690819
AS
210182010-11-24 Andreas Schwab <schwab@redhat.com>
21019
21020 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21021 specially.
21022 (gaih_getanswer_slice): Likewise.
21023
3bf8d1b1
JJ
210242010-10-20 Jakub Jelinek <jakub@redhat.com>
21025
21026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21027
6db52fbb
PB
210282010-05-31 Petr Baudis <pasky@suse.cz>
21029
21030 [BZ #11149]
21031 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21032 silently even in the chroot mode.
21033
eaca7569
UD
210342010-11-22 Ulrich Drepper <drepper@gmail.com>
21035
21036 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21037 last patch a bit. Pretty printing
21038
3056dcdb
UD
210392010-05-31 Petr Baudis <pasky@suse.cz>
21040
21041 [BZ #10085]
21042 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21043 initialization of skip_initgroups_dyn.
21044
cf7c9078
UD
210452010-11-19 Ulrich Drepper <drepper@gmail.com>
21046
21047 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21048 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21049
a1fb5e3e
UD
210502010-11-16 Ulrich Drepper <drepper@gmail.com>
21051
21052 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21053
3540d66b
AS
210542010-11-11 Andreas Schwab <schwab@redhat.com>
21055
21056 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21057 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21058 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21059 ($(objpfx)tst-fnmatch-mem): New rule.
21060 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21061 * posix/tst-fnmatch.c (main): Call mtrace.
21062
13b69574
L
210632010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21064
21065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21066 Support Intel processor model 6 and model 0x2c.
21067
da93d214
LM
210682010-11-10 Luis Machado <luisgpm@br.ibm.com>
21069
21070 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21071 signed comparison.
21072
8ca52c6e
L
210732010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21074
21075 [BZ #12205]
21076 * string/test-strncasecmp.c (check_result): New function.
21077 (do_one_test): Use it.
21078 (check1): New function.
21079 (test_main): Use it.
21080 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21081 Support strcasecmp and strncasecmp.
21082
69da074d
UD
210832010-11-08 Ulrich Drepper <drepper@gmail.com>
21084
21085 [BZ #12194]
21086 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21087 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21088
ff02d528
L
210892010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21090
21091 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21092 IFUNC support.
21093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21094 memset-x86-64.
21095 * sysdeps/x86_64/multiarch/bzero.S: New file.
21096 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21097 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21098 * sysdeps/x86_64/multiarch/memset.S: New file.
21099 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21101 Set bit_Prefer_SSE_for_memop for Intel processors.
21102 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21103 Define.
21104 (index_Prefer_SSE_for_memop): Define.
21105 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21106
344d0b54
LM
211072010-11-04 Luis Machado <luisgpm@br.ibm.com>
21108
21109 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21110 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21111
c0dde15b
UD
211122010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21113
21114 [BZ #12191]
21115 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21116 (__x86_64_raw_data_cache_size_half): Likewise.
21117 (__x86_64_raw_shared_cache_size): Likewise.
21118 (__x86_64_raw_shared_cache_size_half): Likewise.
21119
21120 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21121 (__x86_64_raw_data_cache_size_half): Likewise.
21122 (__x86_64_raw_shared_cache_size): Likewise.
21123 (__x86_64_raw_shared_cache_size_half): Likewise.
21124 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21125 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21126 and __x86_64_raw_shared_cache_size_half. Round
21127 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21128 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21129 to multiple of 256 bytes.
21130
0e516e0e
MS
211312010-11-03 Ulrich Drepper <drepper@gmail.com>
21132
21133 [BZ #12167]
21134 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21135 of inacessible symlinks. Verify result of symlink before returning it.
21136 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21137 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21138
0e012e87
ER
211392010-10-28 Erich Ritz <erichritz@gmail.com>
21140
21141 * math/math.h (isinf): Fix typo in comment.
21142
de0ff7bc
UD
211432010-11-01 Ulrich Drepper <drepper@gmail.com>
21144
21145 * po/da.po: Update from translation team.
21146
fa41c84d
UD
211472010-10-26 Ulrich Drepper <drepper@gmail.com>
21148
21149 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21150 is added to the list.
21151
f0967738
AK
211522010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21153 Ulrich Drepper <drepper@gmail.com>
21154
21155 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21156 the global list here. Move code to...
21157 (_dl_add_to_namespace_list): ...here. New function.
21158 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21159 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21160 * elf/dl-load.c (lose): Don't remove the element from the list.
21161 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21162 (_dl_map_object): Likewise.
21163
211642010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21165
21166 [BZ #12159]
21167 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21168 into all bytes of SSE register.
21169 Patch by Richard Li <richardpku@gmail.com>.
21170
f0967738 211712010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21172
21173 [BZ #12140]
21174 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21175 perturbing.
21176
d0b9e94f
MB
211772010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21178
21179 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21180 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21181 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21182 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21184 submachine.
21185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21186
8e9f92e9
AS
211872010-10-22 Andreas Schwab <schwab@redhat.com>
21188
21189 * include/dlfcn.h (__RTLD_SECURE): Define.
21190 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21191 mode & __RTLD_SECURE instead.
21192 (open_path): Rename preloaded parameter to secure.
21193 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21194 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21195 * elf/dl-deps.c (openaux): Likewise.
21196 * elf/rtld.c (struct map_args): Remove is_preloaded.
21197 (map_doit): Don't use it.
21198 (dl_main): Likewise.
21199 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21200 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21201
bc96fbda
AS
212022010-09-09 Andreas Schwab <schwab@redhat.com>
21203
21204 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21205 (sysd-rules-targets): Remove duplicates.
21206 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21207 rtld-%.$o dependency.
21208
22cd1c9b
AS
212092010-10-18 Andreas Schwab <schwab@redhat.com>
21210
21211 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21212 _dl_map_object do it.
21213
18edac48
UD
212142010-10-19 Ulrich Drepper <drepper@gmail.com>
21215
21216 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21217 fast fma builtins, define the macros in the C99 standard.
21218 (FP_FAST_FMAF): Likewise.
21219 (FP_FAST_FMAL): Likewise.
21220 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21221
21222 * bits/mathdef.h: Update copyright year.
21223 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21224
d2050124
MM
212252010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21226
21227 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21228 builtins, define the macros in the C99 standard.
21229 (FP_FAST_FMAF): Likewise.
21230 (FP_FAST_FMAL): Likewise.
21231 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21232 multiply/add.
21233 (FP_FAST_FMAF): Likewise.
21234
475facd1
JJ
212352010-10-15 Jakub Jelinek <jakub@redhat.com>
21236
21237 [BZ #3268]
21238 * math/libm-test.inc (fma_test): Some new testcases.
21239 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21240 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21241 y and infinite z. Do multiplication by C already in long double.
21242 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21244 y and infinite z. Do bitwise or of inexact bit into u.d.
21245 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21246 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21247 * sysdeps/i386/fpu/s_fma.S: Removed.
21248 * sysdeps/i386/fpu/s_fmal.S: Removed.
21249
7c08a05c
JJ
212502010-10-16 Jakub Jelinek <jakub@redhat.com>
21251
21252 [BZ #3268]
21253 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21255 computation is not scheduled after fetestexcept. Fix value
21256 of minimum denormal long double.
21257
f3f7372d
JJ
212582010-10-14 Jakub Jelinek <jakub@redhat.com>
21259
21260 [BZ #3268]
21261 * math/libm-test.inc (fma_test): Add some more tests.
21262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21263 correctly.
21264
14d43591
AS
212652010-10-15 Andreas Schwab <schwab@redhat.com>
21266
21267 * scripts/data/localplt-s390-linux-gnu.data: New file.
21268 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21269
5e908464
JJ
212702010-10-13 Jakub Jelinek <jakub@redhat.com>
21271
21272 [BZ #3268]
21273 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21274 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21275 instead of dbl-64.
21276 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21277 inlines.
21278 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21280 if one of x and y is very large and the other is subnormal.
21281 * sysdeps/s390/fpu/s_fmaf.c: New file.
21282 * sysdeps/s390/fpu/s_fma.c: New file.
21283 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21284 * sysdeps/powerpc/fpu/s_fma.S: New file.
21285 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21286 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21287 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21288
212892010-10-12 Jakub Jelinek <jakub@redhat.com>
21290
21291 [BZ #3268]
21292 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21293 fma tests.
21294 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21295 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21296 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21297 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21298 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21299 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21300 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21301
b833d51f
UD
213022010-10-12 Ulrich Drepper <drepper@redhat.com>
21303
21304 [BZ #12078]
21305 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21306 * posix/bug-regex31.input: Add test case.
21307
1751705d
UD
213082010-10-11 Ulrich Drepper <drepper@gmail.com>
21309
e9b9cbf5
UD
21310 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21311 * posix/bug-regex31.input: New file.
21312
21313 [BZ #12078]
21314 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21315 (parse_sub_exp): Fix last change, use postorder.
21316
ef06edbe
UD
21317 * posix/bug-regex31.c: New file.
21318 * posix/Makefile: Add rules to build and run bug-regex31.
21319
a129c80d
UD
21320 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21321
21322 [BZ #12078]
21323 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21324
b76b818e
UD
21325 [BZ #12108]
21326 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21327 to have entries in sys_siglist.
21328
1751705d
UD
21329 [BZ #12093]
21330 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21331 be NULL.
21332
9ff8d36f
JJ
213332010-10-07 Jakub Jelinek <jakub@redhat.com>
21334
21335 [BZ #3268]
21336 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21337 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21338 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21339 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21340 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21341 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21342 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21343 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21344 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21345 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21346 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21347 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21348 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21349 * math/ftestexcept.c (fetestexcept): Likewise.
21350 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21351 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21352 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21353 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21354 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21355 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21356 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21357
af325969
UD
213582010-10-11 Ulrich Drepper <drepper@gmail.com>
21359
c579b202 21360 [BZ #12107]
af325969
UD
21361 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21362 newline.
21363
67a67b95
UD
213642010-10-06 Ulrich Drepper <drepper@gmail.com>
21365
21366 * string/bug-strstr1.c: New file.
21367 * string/Makefile: Add rules to build and run bug-strstr1.
21368
5fb308bc
EB
213692010-10-05 Eric Blake <eblake@redhat.com>
21370
21371 [BZ #12092]
21372 * string/str-two-way.h (two_way_long_needle): Always clear memory
21373 when skipping input due to the shift table.
21374
45db99c7
UD
213752010-10-03 Ulrich Drepper <drepper@gmail.com>
21376
3b111893
UD
21377 [BZ #12005]
21378 * malloc/mcheck.c: Handle large requests.
21379
45db99c7
UD
21380 [BZ #12077]
21381 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21382 for strncmp and strncasecmp.
21383 * string/stratcliff.c: Add tests for strcmp and strncmp.
21384 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21385
cf7a1eb8
NI
213862010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21387
21388 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21389 __set_fpscr.
21390
6484ba5e
AJ
213912010-09-30 Andreas Jaeger <aj@suse.de>
21392
21393 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21394 (CGROUP_SUPER_MAGIC): Define.
21395 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21396 Handle btrfs and cgroup file systems.
21397 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21398 Likewise.
21399
91c42559
LM
214002010-09-27 Luis Machado <luisgpm@br.ibm.com>
21401
21402 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21403 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21404
87a97932
AK
214052010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21406
21407 [BZ #12067]
21408 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21409 trying to locate the ELF header.
21410
c21cc9bc
AS
214112010-09-27 Andreas Schwab <schwab@redhat.com>
21412
21413 [BZ #11611]
21414 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21415 Mask out sign-bit copies when constructing f_fsid.
21416
315970f6
PB
214172010-09-24 Petr Baudis <pasky@suse.cz>
21418
21419 * debug/stack_chk_fail_local.c: Add missing licence exception.
21420 * debug/warning-nop.c: Likewise.
21421
1ac7a2c7
JM
214222010-09-15 Joseph Myers <joseph@codesourcery.com>
21423
21424 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21425 implementing getdents64 using getdents syscall, set d_type if
21426 __ASSUME_GETDENTS32_D_TYPE.
21427
56801c50
AS
214282010-09-16 Andreas Schwab <schwab@redhat.com>
21429
21430 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21431 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21432
dda51327
UD
214332010-09-21 Ulrich Drepper <drepper@redhat.com>
21434
21435 [BZ #12037]
21436 * posix/unistd.h: Undo change of feature selection for ftruncate from
21437 2010-01-11.
21438
8ffcee4a
UD
214392010-09-20 Ulrich Drepper <drepper@redhat.com>
21440
a545ecd9 21441 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21442 detection.
21443
e24f0a8b
AS
214442010-09-20 Andreas Schwab <schwab@redhat.com>
21445
21446 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21447 fanotify_mark.
21448 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21449
7291c56f
AS
214502010-09-14 Andreas Schwab <schwab@redhat.com>
21451
21452 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21453 variables after CHECK_SP call.
21454 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21455
bc5fb037
AS
214562010-09-13 Andreas Schwab <schwab@redhat.com>
21457 Ulrich Drepper <drepper@redhat.com>
21458
21459 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21460 re-relocationg ld.so.
21461 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21462 _dl_init_paths call.
21463 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21464 here anymore.
21465
e66e7419
UD
214662010-09-14 Ulrich Drepper <drepper@redhat.com>
21467
21468 * resolv/res_init.c (__res_vinit): Count the default server we added.
21469
c044aa75
CLT
214702010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21471 Ulrich Drepper <drepper@redhat.com>
21472
21473 [BZ #11968]
21474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21475 (____longjmp_chk): Use %ebx for saving value across system call.
21476 Add unwind info.
21477
32cf4069
AS
214782010-09-06 Andreas Schwab <schwab@redhat.com>
21479
21480 * manual/Makefile: Don't mix pattern rules with normal rules.
21481
817328ee
AS
214822010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21483
21484 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21485 operation.
21486 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21487 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21488 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21489 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21490 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21491 Likewise.
21492
29fddf61
UD
214932010-09-04 Ulrich Drepper <drepper@redhat.com>
21494
21495 [BZ #11979]
21496 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21497 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21498
0959ffc9
UD
214992010-09-02 Ulrich Drepper <drepper@redhat.com>
21500
21501 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21502 * sysdeps/x86_64/addmul_1.S: Likewise.
21503 * sysdeps/x86_64/lshift.S: Likewise.
21504 * sysdeps/x86_64/mul_1.S: Likewise.
21505 * sysdeps/x86_64/rshift.S: Likewise.
21506 * sysdeps/x86_64/sub_n.S: Likewise.
21507 * sysdeps/x86_64/submul_1.S: Likewise.
21508
ece29840
ST
215092010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21510
0959ffc9
UD
21511 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21512 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21513 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21514 * bits/sched.h [__need_schedparam]
ece29840 21515 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21516 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21517 (__defined_schedparam): Define to 1.
ece29840
ST
21518 (__sched_param): New structure, identical to sched_param.
21519 (__need_schedparam): Undefine.
21520
e53a31fe
MF
215212010-08-31 Mike Frysinger <vapier@gentoo.org>
21522
fdc0c10d
MF
21523 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21524 (epoll_create1): Declare.
21525
e53a31fe
MF
21526 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21527
a726d796
AS
215282010-08-31 Andreas Schwab <schwab@redhat.com>
21529
21530 [BZ #7066]
21531 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21532 shifting retval into place.
21533
2f3e3dc7
UD
215342010-09-01 Ulrich Drepper <drepper@redhat.com>
21535
f2933da9
UD
21536 * nis/rpcsvc/nis.h: Update copyright notice.
21537 * nis/rpcsvc/nis.x: Likewise.
21538 * nis/rpcsvc/nis_callback.h: Likewise.
21539 * nis/rpcsvc/nis_callback.x: Likewise.
21540 * nis/rpcsvc/nis_object.x: Likewise.
21541 * nis/rpcsvc/nis_tags.h: Likewise.
21542 * nis/rpcsvc/yp.h: Likewise.
21543 * nis/rpcsvc/yp.x: Likewise.
21544 * nis/rpcsvc/ypupd.h: Likewise.
21545 * nis/yp_xdr.c: Likewise.
21546 * nis/ypupdate_xdr.c: Likewise.
21547
2f3e3dc7
UD
21548 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21549 mainly the body of pmap_getport. Add parameters to specify timeouts.
21550 (pmap_getport): Use __libc_rpc_getport.
21551 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21552 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21553 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21554
f3dcc2f9
AS
215552010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21556
21557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21558 fanotify_mark.
21559
6d34eb5b
RM
215602010-08-27 Roland McGrath <roland@redhat.com>
21561
21562 * sysdeps/i386/i686/multiarch/Makefile
21563 (CFLAGS-varshift.c): New variable.
21564
9ea3de11
UD
215652010-08-27 Ulrich Drepper <drepper@redhat.com>
21566
c96d23fc
UD
21567 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21568 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21569
9ea3de11
UD
21570 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21571
21572 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21573
623aac7f
L
215742010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21575
21576 * sysdeps/x86_64/strlen.S: Unroll the loop.
21577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21578 strlen-sse2 strlen-sse2-bsf.
21579 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21580 __strlen_no_bsf if bit_Slow_BSF is set.
21581 (__strlen_sse42): Removed.
21582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21583 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21584
8b2b7715
RM
215852010-08-25 Roland McGrath <roland@redhat.com>
21586
21587 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21588 * sysdeps/x86_64/multiarch/varshift.c: New file.
21589 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21590 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21591 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21592 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21593
e73015f2
L
215942010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21595
21596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21597 strlen-sse2 strlen-sse2-bsf.
21598 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21599 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21600 (__strlen_sse2): Removed.
21601 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21604 bit_Slow_BSF for Atom.
21605 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21606 (index_Slow_BSF): Define.
21607 (HAS_SLOW_BSF): Define.
21608
df24a73e
UD
216092010-08-25 Ulrich Drepper <drepper@redhat.com>
21610
21611 [BZ #10851]
21612 * resolv/res_init.c (__res_vinit): When no server address at all
21613 is given default to loopback.
21614
f2ac4868
RM
216152010-08-24 Roland McGrath <roland@redhat.com>
21616
09055553
RM
21617 * configure.in: Remove config-name.h generation.
21618 * configure: Regenerated.
21619 * config-name.in: File removed.
21620 * scripts/config-uname.sh: New file.
21621 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21622 ($(objdir)config-name.h): New target.
21623
f2ac4868
RM
21624 * sunrpc/rpc_parse.h: Avoid nested comment.
21625
73f27d5e
RH
216262010-08-24 Richard Henderson <rth@redhat.com>
21627 Ulrich Drepper <drepper@redhat.com>
21628 H.J. Lu <hongjiu.lu@intel.com>
21629
21630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21632 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21633 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21634 _mm_alignr_epi8 with _mm_loadu_si128.
21635 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21636 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21637 (__m128i_shift_right): Removed.
21638 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21639 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21640 * sysdeps/x86_64/multiarch/varshift.h: New file.
21641 * sysdeps/x86_64/multiarch/varshift.S: New file.
21642
84b9230c
MF
216432010-08-21 Mike Frysinger <vapier@gentoo.org>
21644
21645 * configure.in: Move assembler checks to before sysdep dir checking.
21646
9bbd0ddc
PB
216472010-08-20 Petr Baudis <pasky@suse.cz>
21648
21649 * LICENSES: Sync the sunrpc license.
21650
9da4bb31
UD
216512010-08-19 Ulrich Drepper <drepper@redhat.com>
21652
a7ab6ec8
UD
21653 * sunrpc/auth_des.c: Update copyright notice once again.
21654 * sunrpc/auth_none.c: Likewise.
21655 * sunrpc/auth_unix.c: Likewise.
21656 * sunrpc/authdes_prot.c: Likewise.
21657 * sunrpc/authuxprot.c: Likewise.
21658 * sunrpc/bindrsvprt.c: Likewise.
21659 * sunrpc/clnt_gen.c: Likewise.
21660 * sunrpc/clnt_perr.c: Likewise.
21661 * sunrpc/clnt_raw.c: Likewise.
21662 * sunrpc/clnt_simp.c: Likewise.
21663 * sunrpc/clnt_tcp.c: Likewise.
21664 * sunrpc/clnt_udp.c: Likewise.
21665 * sunrpc/clnt_unix.c: Likewise.
21666 * sunrpc/des_crypt.c: Likewise.
21667 * sunrpc/des_soft.c: Likewise.
21668 * sunrpc/get_myaddr.c: Likewise.
21669 * sunrpc/getrpcport.c: Likewise.
21670 * sunrpc/key_call.c: Likewise.
21671 * sunrpc/key_prot.c: Likewise.
21672 * sunrpc/openchild.c: Likewise.
21673 * sunrpc/pm_getmaps.c: Likewise.
21674 * sunrpc/pm_getport.c: Likewise.
21675 * sunrpc/pmap_clnt.c: Likewise.
21676 * sunrpc/pmap_prot.c: Likewise.
21677 * sunrpc/pmap_prot2.c: Likewise.
21678 * sunrpc/pmap_rmt.c: Likewise.
21679 * sunrpc/rpc/auth.h: Likewise.
21680 * sunrpc/rpc/auth_unix.h: Likewise.
21681 * sunrpc/rpc/clnt.h: Likewise.
21682 * sunrpc/rpc/des_crypt.h: Likewise.
21683 * sunrpc/rpc/key_prot.h: Likewise.
21684 * sunrpc/rpc/netdb.h: Likewise.
21685 * sunrpc/rpc/pmap_clnt.h: Likewise.
21686 * sunrpc/rpc/pmap_prot.h: Likewise.
21687 * sunrpc/rpc/pmap_rmt.h: Likewise.
21688 * sunrpc/rpc/rpc.h: Likewise.
21689 * sunrpc/rpc/rpc_des.h: Likewise.
21690 * sunrpc/rpc/rpc_msg.h: Likewise.
21691 * sunrpc/rpc/svc.h: Likewise.
21692 * sunrpc/rpc/svc_auth.h: Likewise.
21693 * sunrpc/rpc/types.h: Likewise.
21694 * sunrpc/rpc/xdr.h: Likewise.
21695 * sunrpc/rpc_clntout.c: Likewise.
21696 * sunrpc/rpc_cmsg.c: Likewise.
21697 * sunrpc/rpc_common.c: Likewise.
21698 * sunrpc/rpc_cout.c: Likewise.
21699 * sunrpc/rpc_dtable.c: Likewise.
21700 * sunrpc/rpc_hout.c: Likewise.
21701 * sunrpc/rpc_main.c: Likewise.
21702 * sunrpc/rpc_parse.c: Likewise.
21703 * sunrpc/rpc_parse.h: Likewise.
21704 * sunrpc/rpc_prot.c: Likewise.
21705 * sunrpc/rpc_sample.c: Likewise.
21706 * sunrpc/rpc_scan.c: Likewise.
21707 * sunrpc/rpc_scan.h: Likewise.
21708 * sunrpc/rpc_svcout.c: Likewise.
21709 * sunrpc/rpc_tblout.c: Likewise.
21710 * sunrpc/rpc_util.c: Likewise.
21711 * sunrpc/rpc_util.h: Likewise.
21712 * sunrpc/rpcinfo.c: Likewise.
21713 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21714 * sunrpc/rpcsvc/key_prot.x: Likewise.
21715 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21716 * sunrpc/rpcsvc/mount.x: Likewise.
21717 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21718 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21719 * sunrpc/rpcsvc/rex.x: Likewise.
21720 * sunrpc/rpcsvc/rstat.x: Likewise.
21721 * sunrpc/rpcsvc/rusers.x: Likewise.
21722 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21723 * sunrpc/rpcsvc/spray.x: Likewise.
21724 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21725 * sunrpc/rtime.c: Likewise.
21726 * sunrpc/svc.c: Likewise.
21727 * sunrpc/svc_auth.c: Likewise.
21728 * sunrpc/svc_authux.c: Likewise.
21729 * sunrpc/svc_raw.c: Likewise.
21730 * sunrpc/svc_run.c: Likewise.
21731 * sunrpc/svc_simple.c: Likewise.
21732 * sunrpc/svc_tcp.c: Likewise.
21733 * sunrpc/svc_udp.c: Likewise.
21734 * sunrpc/svc_unix.c: Likewise.
21735 * sunrpc/svcauth_des.c: Likewise.
21736 * sunrpc/xcrypt.c: Likewise.
21737 * sunrpc/xdr.c: Likewise.
21738 * sunrpc/xdr_array.c: Likewise.
21739 * sunrpc/xdr_float.c: Likewise.
21740 * sunrpc/xdr_mem.c: Likewise.
21741 * sunrpc/xdr_rec.c: Likewise.
21742 * sunrpc/xdr_ref.c: Likewise.
21743 * sunrpc/xdr_sizeof.c: Likewise.
21744 * sunrpc/xdr_stdio.c: Likewise.
21745
9da4bb31
UD
21746 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21747 handling.
21748
bdaa77bc
AS
217492010-08-19 Andreas Schwab <schwab@redhat.com>
21750
21751 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21752
fe2f79db
LM
217532010-08-19 Luis Machado <luisgpm@br.ibm.com>
21754
21755 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21756 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21757 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21758 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21759 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21760 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21761 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21762 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21763 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21764 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21765 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21766 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21767 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21768 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21769
b9b42ee0
AB
217702010-07-26 Anton Blanchard <anton@samba.org>
21771
21772 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21773 * malloc/arena.c (heap_trim): Likewise.
21774
1c06ba31
UD
217752010-08-16 Ulrich Drepper <drepper@redhat.com>
21776
21777 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21778 here. Not...
21779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21780 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21781
f8392f40
L
217822010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21783
21784 * sysdeps/i386/elf/Makefile: New file.
21785
3162f12e
AS
217862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21787
21788 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21789 from fanotify_init.
21790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21792
28c90b2c
UD
217932010-08-15 Ulrich Drepper <drepper@redhat.com>
21794
21795 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21796 of strncasecmp_l.
1feccb6c 21797 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21798
ca6bb004
UD
217992010-08-14 Ulrich Drepper <drepper@redhat.com>
21800
e9f82e0d
UD
21801 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21802 strncase_l-nonascii.
21803 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21804 Add strncase_l-ssse3.
21805 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21806 * sysdeps/x86_64/strcmp.S: Likewise.
21807 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21808 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21809 * sysdeps/x86_64/strncase.S: New file.
21810 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21811 * sysdeps/x86_64/strncase_l.S: New file.
21812 * string/Makefile (strop-tests): Add strncasecmp.
21813 * string/test-strncasecmp.c: New file.
21814
21815 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21816 warning.
21817
ca6bb004
UD
21818 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21819 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21820
052fa7b3
AS
218212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21822
21823 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21824
962dba78
UD
218252010-08-12 Ulrich Drepper <drepper@redhat.com>
21826
21827 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21828 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21829 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21830
bebff237
AM
218312010-05-01 Alan Modra <amodra@gmail.com>
21832
21833 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21834 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21835 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21836 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21837 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21838 tidying. Don't tail-call __sigjmp_save for static lib.
21839 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21840 save location.
21841 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21842 (CALL_MCOUNT): Add eh info, and nop after bl.
21843 (TAIL_CALL_SYSCALL_ERROR): New macro.
21844 (PSEUDO_RET): Use it.
21845 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21846 Correct save location of integer regs and cr.
21847 (_dl_profile_resolve): Correct cr save location. Delete nops
21848 after bl when SHARED. Reduce cfi size a little by better
21849 placement of cfi directives.
21850 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21851 make a stack frame. Instead use parm save area as a temp.
21852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21853 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21855 Don't make a stack frame for parent, use parm save area.
21856 Increase child stack frame to 112 bytes. Don't save unused reg,
21857 and adjust reg usage. Set up cfi on error recovery and
21858 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21860 (__makecontext): Add dummy nop after jump to exit.
21861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21862 Use correct parm save area and cr save, reduce stack frame.
21863 Correct cfi for possible PSEUDO_RET frame setup.
21864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21865 Branch to local label emitted by PSEUDO_RET rather than
21866 __syscall_error.
21867
02637374
AS
218682010-08-12 Andreas Schwab <schwab@redhat.com>
21869
21870 [BZ #11904]
21871 * locale/programs/locale.c (print_assignment): New function.
21872 (show_locale_vars): Use it.
21873
c3e2f19b
UD
218742010-08-11 Ulrich Drepper <drepper@redhat.com>
21875
3cdaa6ad
UD
21876 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21877 field.
21878 (struct statfs64): Likewise.
21879 (_STATFS_F_FLAGS): Define.
21880 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21882 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21883 (ST_VALID): Define locally.
21884 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21885 __statvfs_getflags, use the provided value.
21886 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21887 __ASSUME_STATFS_F_FLAGS.
21888
754f7da3
UD
21889 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21890
10b3bedc
UD
21891 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21892 Add sys/fanotify.h.
21893 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21894 fanotify_mask for GLIBC_2.13.
21895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21896 fanotify_init and fanotify_mark.
21897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21898 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21899
c08fb0d7
UD
21900 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21901 Add prlimit.
21902 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21903 prlimit64 for GLIBC_2.13.
21904 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21905 prlimit64.
21906 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21907 syscall.
21908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21909 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21910 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21911 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21912 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21913 add prlimit alias.
21914 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21915
15bac72b
UD
21916 [BZ #11903]
21917 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21918 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21919
c3e2f19b
UD
21920 * nss/Makefile: Add rules to build and run tst-nss-test1.
21921 * shlib-versions: Add entry for libnss_test1.
21922 * nss/nss_test1.c: New file.
21923 * nss/tst-nss-test1.c: New file.
21924
21925 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21926 (__nss_configure_lookup): Set appropriate entry in
21927 __nss_configure_lookup to true.
21928 * nss/nsswitch.h: Define enum with indeces of databases in
21929 databases and __nss_database_custom arrays. Declare
21930 __nss_database_custom.
21931 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21932 to avoid using nscd when custom rules are installed.
21933 * nss/getXXbyYY_r.c: Likewise.
21934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21935
21936 * nss/nss_files/files-parse.c: Whitespace fixes.
21937
f15ce4d8
UD
219382010-08-09 Ulrich Drepper <drepper@redhat.com>
21939
21940 [BZ #11883]
21941 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21942 * posix/fnmatch_loop.c: Likewise.
21943
d22e4cc9
AK
219442010-07-17 Andi Kleen <ak@linux.intel.com>
21945
21946 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21947 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21948 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21949 * Versions.def [GLIBC_2.13]: Add.
21950
805bc17d
UD
219512010-08-06 Ulrich Drepper <drepper@redhat.com>
21952
21953 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21954 Also fail if tpwd after pwuid call is NULL.
21955
5a42321d
ST
219562010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21957
21958 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21959 when converting to ms.
21960
fd3ebeda
ST
219612010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21962
21963 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21964 EOPNOTSUPP errors with ENOTTY.
21965 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21966 EOPNOTSUPP errors with ENOTTY.
21967
73507d3a
UD
219682010-07-31 Ulrich Drepper <drepper@redhat.com>
21969
21970 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21971 Add strcasecmp_l-ssse3.
21972 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21973 strcasecmp.
21974 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21975 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21976 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21977
fe36dd02
UD
219782010-07-30 Ulrich Drepper <drepper@redhat.com>
21979
66f6765a
UD
21980 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21981
42e08a54
UD
21982 * string/Makefile (strop-tests): Add strcasecmp.
21983 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21984 strcasecmp_l-nonascii.
21985 (gen-as-const-headers): Add locale-defines.sym.
21986 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21987 * sysdeps/x86_64/strcasecmp.S: New file.
21988 * sysdeps/x86_64/strcasecmp_l.S: New file.
21989 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21990 * sysdeps/x86_64/locale-defines.sym: New file.
21991 * string/test-strcasecmp.c: New file.
21992
fe36dd02
UD
21993 * string/test-strcasestr.c: Test both ends of the range of characters.
21994 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21995
48cbc0d6
RM
219962010-07-29 Roland McGrath <roland@redhat.com>
21997
76e6d6bc 21998 [BZ #11856]
48cbc0d6
RM
21999 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22000
880113d9
UD
220012010-07-27 Ulrich Drepper <drepper@redhat.com>
22002
22003 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22004 for ld.so.
22005
deb9cabb
AS
220062010-07-27 Andreas Schwab <schwab@redhat.com>
22007
22008 * manual/memory.texi (Malloc Tunable Parameters): Document
22009 M_PERTURB.
22010
1c7570ff
RM
220112010-07-26 Roland McGrath <roland@redhat.com>
22012
22013 [BZ #11840]
22014 * configure.in (-fgnu89-inline check): Set and substitute
22015 gnu89_inline, not libc_cv_gnu89_inline.
22016 * configure: Regenerated.
22017 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22018
24fb0f88
UD
220192010-07-26 Ulrich Drepper <drepper@redhat.com>
22020
22021 * string/test-strnlen.c: New file.
22022 * string/Makefile (strop-tests): Add strnlen.
22023 * string/tester.c (test_strnlen): Add a few more test cases.
22024 * string/tst-strlen.c: Better error reporting.
22025
22026 * sysdeps/x86_64/strnlen.S: New file.
22027
8e96b93a
UD
220282010-07-24 Ulrich Drepper <drepper@redhat.com>
22029
22030 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22031 lower-latency instructions.
22032
dbc676d4
UD
220332010-07-23 Ulrich Drepper <drepper@redhat.com>
22034
22035 * string/test-strcasestr.c: New file.
22036 * string/test-strstr.c: New file.
22037 * string/Makefile (strop-tests): Add strstr and strcasestr.
22038 * string/str-two-way.h: Don't undefine MAX.
22039 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22040
f6a31e0e
AS
220412010-07-21 Andreas Schwab <schwab@redhat.com>
22042
22043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22044 strcasestr-nonascii.
22045 (CFLAGS-strcasestr-nonascii.c): Define.
22046 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22047 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22048 Remove unused attribute.
22049
5dbc3b6c
RM
220502010-07-20 Roland McGrath <roland@redhat.com>
22051
22052 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22053 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22054 ld.so.cache was broken. With it, there is no way to disable dsocaps
22055 like LD_HWCAP_MASK can disable hwcaps.
22056
23d101d8
EPM
220572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22058
22059 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22060
cc9f2e47
UD
220612010-07-16 Ulrich Drepper <drepper@redhat.com>
22062
22063 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22064 call in strcasestr.
22065 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22066 __strcasestr_sse42_nonascii.
22067 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22068 strcasestr-nonascii.c.
22069 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22070
77c1b069
LM
220712010-06-15 Luis Machado <luisgpm@br.ibm.com>
22072
22073 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22074 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22075 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22076 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22077
440566c3
UD
220782010-07-09 Ulrich Drepper <drepper@redhat.com>
22079
22080 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22081 fcntl.
22082
5be9d05d
AS
220832010-07-06 Andreas Schwab <schwab@redhat.com>
22084
c30b7ee2 22085 [BZ #11577]
5be9d05d
AS
22086 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22087 dl_signal_cerror.
22088
8a492a67
UD
220892010-07-06 Ulrich Drepper <drepper@redhat.com>
22090
22091 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22092 _PC_PIPE_BUF using F_GETPIPE_SZ.
22093
713df3d5
RM
220942010-07-05 Roland McGrath <roland@redhat.com>
22095
22096 * manual/arith.texi (Rounding Functions): Fix rint description
22097 implicit in round description.
22098
702e8f14
UD
220992010-07-02 Ulrich Drepper <drepper@redhat.com>
22100
22101 * elf/Makefile: Fix linking for a few tests to make recent linker
22102 happy.
22103
52ed8be9
AS
221042010-06-30 Andreas Schwab <schwab@redhat.com>
22105
22106 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22107 $(common-objpfx)libc_nonshared.a.
22108
f47c9a11
LM
221092010-06-21 Luis Machado <luisgpm@br.ibm.com>
22110
22111 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22112 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22113 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22114 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22115 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22116 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22117 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22118 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22133 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22134 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22135 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22136 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22137 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22138 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22139 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22140 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22141 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22142 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22143 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22144 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22159
6fb8cbcb
L
221602010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22161
22162 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22163 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22164 * string/memmove.c (memmove): Renamed to ...
22165 (MEMMOVE): ...this. Default to memmove.
22166 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22167 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22168 (END_CHK): Define.
22169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22170 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22171 mempcpy-ssse3-back memmove-ssse3-back.
22172 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22174 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22175 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22176 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22177 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22178 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22179 * sysdeps/x86_64/multiarch/memmove.c: New file.
22180 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22181 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22182 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22183 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22184 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22185 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22186 Define.
22187 (index_Fast_Copy_Backward): Define.
22188 (HAS_ARCH_FEATURE): Define.
22189 (HAS_FAST_REP_STRING): Define.
22190 (HAS_FAST_COPY_BACKWARD): Define.
22191
4e733bac 221922010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22193
22194 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22195 Restore proper fallback handling.
22196
63c4ed22
UD
221972010-06-19 Ulrich Drepper <drepper@redhat.com>
22198
ac2b484c
UD
22199 [BZ #11701]
22200 * posix/group_member.c (__group_member): Correct checking loop.
22201
63c4ed22
UD
22202 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22203 OOM in getpwuid_r correctly. Return error number when the caller
22204 should return, otherwise -1.
22205 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22206 call returning > 0 value.
22207 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22208
765ade4b
AS
222092010-06-07 Andreas Schwab <schwab@redhat.com>
22210
22211 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22212 libc_nonshared.a from targets in modules-names.
22213
80da2e09
KS
222142010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22215
22216 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22217 requires it.
22218
158db122
LM
222192010-06-10 Luis Machado <luisgpm@br.ibm.com>
22220
22221 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22222 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22223 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22224 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22225
caa78cf8
AS
222262010-06-02 Andreas Schwab <schwab@redhat.com>
22227
22228 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22229
b2ef2c01
UD
222302010-06-14 Ulrich Drepper <drepper@redhat.com>
22231
22232 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22233 and F_GETPIPE_SZ.
22234 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22235 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22238 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22239 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22240
fbd643b6
RM
222412010-06-14 Roland McGrath <roland@redhat.com>
22242
22243 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22244
f32f2869
JJ
222452010-06-07 Jakub Jelinek <jakub@redhat.com>
22246
22247 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22248 __REDIRECT followed by __THROW.
22249 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22250 * posix/getopt.h (getopt): Likewise.
22251
2a50c078
EPM
222522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22253
22254 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22255 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22256 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22257 in AT_FLAGS.
22258 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22259 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22260
eb5ad2eb
LM
222612010-05-28 Luis Machado <luisgpm@br.ibm.com>
22262
22263 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22264
3c88fe1e
L
222652010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22266
22267 [BZ #11640]
22268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22269 Properly check family and model.
22270
d2f73151
TY
222712010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22272
22273 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22274
ebd2e13d
LM
222752010-05-24 Luis Machado <luisgpm@br.ibm.com>
22276
22277 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22278
b32b8b45
UD
222792010-05-21 Ulrich Drepper <drepper@redhat.com>
22280
22281 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22282 symbol reference.
22283
9acbe24d
AS
222842010-05-19 Andreas Schwab <schwab@redhat.com>
22285
22286 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22287 symbol reference.
22288
f0ccf6ea
AS
222892010-05-21 Andreas Schwab <schwab@redhat.com>
22290
3d04ff3a
AS
22291 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22292 and internal_recvmmsg.
22293 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22294 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22295 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22296 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22297
f0ccf6ea
AS
22298 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22299 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22300 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22301
5b08ac57
AS
223022010-05-20 Andreas Schwab <schwab@redhat.com>
22303
22304 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22305
4828935d
LM
223062010-05-17 Luis Machado <luisgpm@br.ibm.com>
22307
22308 POWER7 optimizations.
22309 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22310 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22311
373d545e
UD
223122010-05-19 Ulrich Drepper <drepper@redhat.com>
22313
22314 * version.h: Update for 2.13 development version.
22315
21a2b1ae
AS
223162010-05-12 Andrew Stubbs <ams@codesourcery.com>
22317
22318 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22319 exceptions. Return 0.
22320
3f7dcb2b
RM
223212010-05-07 Roland McGrath <roland@redhat.com>
22322
22323 * elf/ldconfig.c (main): Add a const.
22324
5f24d53a 223252010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22326
a160f8d8
UD
22327 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22328 (args_options): Add no-idn option.
22329 (ahosts_keys_int): Add idn_flags to ai_flags.
22330 (parse_option): Handle 'i' option to clear idn_flags.
22331
5f24d53a
UD
22332 * malloc/malloc.c (_int_free): Possible race in the most recently
22333 added check. Only act on the data if no current modification
22334 happened.
265bb1ce
UD
22335
22336See ChangeLog.17 for earlier changes.