]> sourceware.org Git - glibc.git/blame - ChangeLog
Use unmodified tzselect.ksh in glibc.
[glibc.git] / ChangeLog
CommitLineData
fb1ae1ee
JM
12012-11-09 Joseph Myers <joseph@codesourcery.com>
2
0aa8f8a1
JM
3 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4 2012i.
5 * timezone/README: Don't mention modification to tzselect.ksh.
6 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7 work on unmodified tzselect.ksh. Substitute version numbers in
8 tzselect.ksh.
9
4e87147f
JM
10 * Makefile (format-me): Remove.
11 (INSTALL): Adjust indentation. Use commands directly instead of
12 using $(format-me).
13
8b748aed
JM
14 * aclocal.m4 (ACX_PKGVERSION): New macro.
15 (ACX_BUGURL): Likewise.
16 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18 (REPORT_BUGS_TO): Likewise.
19 * configure: Regenerated.
20 * config.h.in (PKGVERSION): New macro.
21 (REPORT_BUGS_TO): Likewise.
22 * config.make.in (PKGVERSION): New variable.
23 (PKGVERSION_TEXI): Likewise.
24 (REPORT_BUGS_TO): Likewise.
25 (REPORT_BUGS_TEXI): Likewise.
26 * Makefile (format-me): Use -I$(common-objpfx)manual.
27 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28 ($(common-objpfx)manual/%): New target.
29 (manual/%): Remove target.
30 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31 (print_version): Use PKGVERSION.
32 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34 and REPORT_BUGS_TO.
35 ($(objpfx)xtrace): Likewise.
36 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38 (print_version): Use PKGVERSION.
39 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40 (do_version): Use PKGVERSION.
41 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42 REPORT_BUGS_TO.
43 (common-ldd-rewrite): Likewise.
44 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
45 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46 (print_version): Use PKGVERSION.
47 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48 * elf/pldd.c (argp_program_bug_address): Remove variable.
49 (more_help): New function.
50 (argp): Use more_help.
51 (print_version): Use PKGVERSION.
52 * elf/sln.c (main): Use PKGVERSION.
53 (usage): Use REPORT_BUGS_TO.
54 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55 (top level): Use PKGVERSION.
56 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57 (print_version): Use PKGVERSION.
58 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59 (print_version): Use PKGVERSION.
60 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61 (print_version): Use PKGVERSION.
62 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63 (print_version): Use PKGVERSION.
64 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65 (print_version): Use PKGVERSION.
66 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
67 (print_version): Use PKGVERSION.
68 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
69 and BUGURL.
70 ($(objpfx)memusage): Likewise.
71 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72 (do_version): Use PKGVERSION.
73 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74 (print_version): Use PKGVERSION.
75 * malloc/mtrace.pl ($PACKAGE): Remove variable.
76 ($PKGVERSION): New variable.
77 ($REPORT_BUGS_TO): Likewise.
78 (usage): Use $REPORT_BUGS_TO.
79 (top level): Use $PKGVERSION.
80 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
81 ($(objpfx)pkgvers.texi): New rule.
82 ($(objpfx)stamp-pkgvers): Likewise.
83 * manual/install.texi: Include pkgvers.texi.
84 (--with-pkgversion): Document new configure option.
85 (--with-bugurl): Likewise.
86 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
87 than necessarily for this particular distribution. Use
88 REPORT_BUGS_TO for where to report bugs.
89 * INSTALL: Regenerated.
90 * manual/libc.texinfo: Include pkgvers.texi.
91 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
92 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
93 (print_version): Use PKGVERSION.
94 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
95 (print_version): Use PKGVERSION.
96 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
97 (print_version): Use PKGVERSION.
98 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
99 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
100 macro.
101 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
102 (print_version): Use PKGVERSION.
103 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
104 (print_version): Use PKGVERSION.
105 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
106 and PKGVERSION.
107
92e4b6a9
JM
108 * timezone/checktab.awk: Update from tzcode 2012i.
109 * timezone/ialloc.c: Likewise.
110 * timezone/private.h: Likewise.
111 * timezone/scheck.c: Likewise.
112 * timezone/tzfile.h: Likewise.
113 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
114 (TZVERSION): Hardcode tzcode version number.
115 * timezone/zdump.c: Update from tzcode 2012i.
116 * timezone/zic.c: Likewise.
117 * timezone/version.h: New file.
118 * timezone/README: Describe version.h. Update upstream location.
119
9bde902c
JM
120 [BZ #14824]
121 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
122 (mktemp): Enable declaration.
123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
127 Likewise.
128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
129 Likewise.
130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
131 Likewise.
132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
133 Likewise.
134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
135 Likewise.
136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
137 Likewise.
138
fb1ae1ee
JM
139 [BZ #14821]
140 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
141 offset in buffer as u_int32_t not u_long. Consistently use memcpy
142 for copies of such integer values.
143 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
144 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
145
2c1adbcb
AJ
1462012-11-09 Andreas Jaeger <aj@suse.de>
147
148 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
149 definitions and declarations that are provided by
150 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
151
d0f8457e
AK
1522012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
153
154 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
155 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
156 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
157 definition.
158
57241e26
MS
1592012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
160
161 * elf/elf.h: Update comment before AArch64 relocations.
162
60e8270d
DM
1632012-11-07 David S. Miller <davem@davemloft.net>
164
165 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
166 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
167 (__start_context): Declare.
168 (__makecontext_ret): Delete.
169 (__makecontext): Hook up __start_context instead of
170 __makecontext_ret.
171 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
172 (sysdep_routines): Add __start_context when in stdlib.
173
0fbb0fbc
JM
1742012-11-07 Joseph Myers <joseph@codesourcery.com>
175
176 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
177 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
178 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
179 hardcoded "nm".
180 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
181 (READELF): New variable. Use it instead of hardcoded "readelf".
182
eb48db7e
L
1832012-11-07 H.J. Lu <hongjiu.lu@intel.com>
184
185 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
186 * sysdeps/x86/Makefile: Here.
187 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
188 * sysdeps/x86/tst-xmmymm.sh: This.
189
05bcf62a
JM
1902012-11-07 Joseph Myers <joseph@codesourcery.com>
191
c4b6cf53
JM
192 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
193 expectations.
194 [UNIX98] (pthread_barrier_t): Do not expect.
195 [UNIX98] (pthread_barrierattr_t): Likewise.
196 [UNIX98] (pthread_spinlock_t): Likewise.
197 [UNIX98] (pthread_barrier_destroy): Likewise.
198 [UNIX98] (pthread_barrier_init): Likewise.
199 [UNIX98] (pthread_barrier_wait): Likewise.
200 [UNIX98] (pthread_barrierattr_destroy): Likewise.
201 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
202 [UNIX98] (pthread_barrierattr_init): Likewise.
203 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
204 [UNIX98] (pthread_getcpuclockid): Likewise.
205 [UNIX98] (pthread_mutex_timedlock): Likewise.
206 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
207 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
208 [UNIX98] (pthread_sigmask): Likewise.
209 [UNIX98] (pthread_spin_destroy): Likewise.
210 [UNIX98] (pthread_spin_init): Likewise.
211 [UNIX98] (pthread_spin_lock): Likewise.
212 [UNIX98] (pthread_spin_trylock): Likewise.
213 [UNIX98] (pthread_spin_unlock): Likewise.
214 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
215 Do not expect.
216 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
217 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
218 [XPG3 || XPG4] (pthread_cond_t): Likewise.
219 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
220 [XPG3 || XPG4] (pthread_key_t): Likewise.
221 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
222 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
223 [XPG3 || XPG4] (pthread_once_t): Likewise.
224 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
225 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
226 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
227 [XPG3 || XPG4] (pthread_t): Likewise.
228
cbe6e120
JM
229 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
230 not expect.
231 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
232
1b126443
JM
233 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
234 Change function return type to int.
235
b961a573
JM
236 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
237 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
238 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
239 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
240 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
241 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
242 [!POSIX] (posix_madvise): Likewise.
243 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
244 && !UNIX98].
245 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
246 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
247 (mode_t): Likewise.
248 (posix_mem_offset): Likewise.
249 (posix_typed_mem_get_info): Likewise.
250 (posix_typed_mem_open): Likewise.
251
9e188909
JM
252 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
253 Change condition to [XOPEN2K8].
254
05bcf62a
JM
255 * conform/conformtest.pl: Preprocess allow-header data with -x c
256 instead of from stdin.
257 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
258 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
259 [C99-based standards] (cerfc): Likewise.
260 [C99-based standards] (cexp2): Likewise.
261 [C99-based standards] (cexpm1): Likewise.
262 [C99-based standards] (clog10): Likewise.
263 [C99-based standards] (clog1p): Likewise.
264 [C99-based standards] (clog2): Likewise.
265 [C99-based standards] (clgamma): Likewise.
266 [C99-based standards] (ctgamma): Likewise.
267 [C99-based standards] (cerff): Likewise.
268 [C99-based standards] (cerfcf): Likewise.
269 [C99-based standards] (cexp2f): Likewise.
270 [C99-based standards] (cexpm1f): Likewise.
271 [C99-based standards] (clog10f): Likewise.
272 [C99-based standards] (clog1pf): Likewise.
273 [C99-based standards] (clog2f): Likewise.
274 [C99-based standards] (clgammaf): Likewise.
275 [C99-based standards] (ctgammaf): Likewise.
276 [C99-based standards] (cerfl): Likewise.
277 [C99-based standards] (cerfcl): Likewise.
278 [C99-based standards] (cexp2l): Likewise.
279 [C99-based standards] (cexpm1l): Likewise.
280 [C99-based standards] (clog10l): Likewise.
281 [C99-based standards] (clog1pl): Likewise.
282 [C99-based standards] (clog2l): Likewise.
283 [C99-based standards] (clgammal): Likewise.
284 [C99-based standards] (ctgammal): Likewise.
285 * conform/data/inttypes.h-data [C99-based standards]: Include
286 stdint.h-data. Remove all expectations for stdint.h contents.
287 [C99-based standards] (PRI*): Do not allow.
288 [C99-based standards] (SCN*): Likewise.
289 [C99-based standards] (*_t): Likewise.
290 [C99-based-standards] (PRId8): Expect macro.
291 [C99-based-standards] (PRIi8): Likewise.
292 [C99-based-standards] (PRIo8): Likewise.
293 [C99-based-standards] (PRIu8): Likewise.
294 [C99-based-standards] (PRIx8): Likewise.
295 [C99-based-standards] (PRIX8): Likewise.
296 [C99-based-standards] (SCNd8): Likewise.
297 [C99-based-standards] (SCNi8): Likewise.
298 [C99-based-standards] (SCNo8): Likewise.
299 [C99-based-standards] (SCNu8): Likewise.
300 [C99-based-standards] (SCNx8): Likewise.
301 [C99-based-standards] (PRIdLEAST8): Likewise.
302 [C99-based-standards] (PRIiLEAST8): Likewise.
303 [C99-based-standards] (PRIoLEAST8): Likewise.
304 [C99-based-standards] (PRIuLEAST8): Likewise.
305 [C99-based-standards] (PRIxLEAST8): Likewise.
306 [C99-based-standards] (PRIXLEAST8): Likewise.
307 [C99-based-standards] (SCNdLEAST8): Likewise.
308 [C99-based-standards] (SCNiLEAST8): Likewise.
309 [C99-based-standards] (SCNoLEAST8): Likewise.
310 [C99-based-standards] (SCNuLEAST8): Likewise.
311 [C99-based-standards] (SCNxLEAST8): Likewise.
312 [C99-based-standards] (PRIdFAST8): Likewise.
313 [C99-based-standards] (PRIiFAST8): Likewise.
314 [C99-based-standards] (PRIoFAST8): Likewise.
315 [C99-based-standards] (PRIuFAST8): Likewise.
316 [C99-based-standards] (PRIxFAST8): Likewise.
317 [C99-based-standards] (PRIXFAST8): Likewise.
318 [C99-based-standards] (SCNdFAST8): Likewise.
319 [C99-based-standards] (SCNiFAST8): Likewise.
320 [C99-based-standards] (SCNoFAST8): Likewise.
321 [C99-based-standards] (SCNuFAST8): Likewise.
322 [C99-based-standards] (SCNxFAST8): Likewise.
323 [C99-based-standards] (PRId16): Likewise.
324 [C99-based-standards] (PRIi16): Likewise.
325 [C99-based-standards] (PRIo16): Likewise.
326 [C99-based-standards] (PRIu16): Likewise.
327 [C99-based-standards] (PRIx16): Likewise.
328 [C99-based-standards] (PRIX16): Likewise.
329 [C99-based-standards] (SCNd16): Likewise.
330 [C99-based-standards] (SCNi16): Likewise.
331 [C99-based-standards] (SCNo16): Likewise.
332 [C99-based-standards] (SCNu16): Likewise.
333 [C99-based-standards] (SCNx16): Likewise.
334 [C99-based-standards] (PRIdLEAST16): Likewise.
335 [C99-based-standards] (PRIiLEAST16): Likewise.
336 [C99-based-standards] (PRIoLEAST16): Likewise.
337 [C99-based-standards] (PRIuLEAST16): Likewise.
338 [C99-based-standards] (PRIxLEAST16): Likewise.
339 [C99-based-standards] (PRIXLEAST16): Likewise.
340 [C99-based-standards] (SCNdLEAST16): Likewise.
341 [C99-based-standards] (SCNiLEAST16): Likewise.
342 [C99-based-standards] (SCNoLEAST16): Likewise.
343 [C99-based-standards] (SCNuLEAST16): Likewise.
344 [C99-based-standards] (SCNxLEAST16): Likewise.
345 [C99-based-standards] (PRIdFAST16): Likewise.
346 [C99-based-standards] (PRIiFAST16): Likewise.
347 [C99-based-standards] (PRIoFAST16): Likewise.
348 [C99-based-standards] (PRIuFAST16): Likewise.
349 [C99-based-standards] (PRIxFAST16): Likewise.
350 [C99-based-standards] (PRIXFAST16): Likewise.
351 [C99-based-standards] (SCNdFAST16): Likewise.
352 [C99-based-standards] (SCNiFAST16): Likewise.
353 [C99-based-standards] (SCNoFAST16): Likewise.
354 [C99-based-standards] (SCNuFAST16): Likewise.
355 [C99-based-standards] (SCNxFAST16): Likewise.
356 [C99-based-standards] (PRId32): Likewise.
357 [C99-based-standards] (PRIi32): Likewise.
358 [C99-based-standards] (PRIo32): Likewise.
359 [C99-based-standards] (PRIu32): Likewise.
360 [C99-based-standards] (PRIx32): Likewise.
361 [C99-based-standards] (PRIX32): Likewise.
362 [C99-based-standards] (SCNd32): Likewise.
363 [C99-based-standards] (SCNi32): Likewise.
364 [C99-based-standards] (SCNo32): Likewise.
365 [C99-based-standards] (SCNu32): Likewise.
366 [C99-based-standards] (SCNx32): Likewise.
367 [C99-based-standards] (PRIdLEAST32): Likewise.
368 [C99-based-standards] (PRIiLEAST32): Likewise.
369 [C99-based-standards] (PRIoLEAST32): Likewise.
370 [C99-based-standards] (PRIuLEAST32): Likewise.
371 [C99-based-standards] (PRIxLEAST32): Likewise.
372 [C99-based-standards] (PRIXLEAST32): Likewise.
373 [C99-based-standards] (SCNdLEAST32): Likewise.
374 [C99-based-standards] (SCNiLEAST32): Likewise.
375 [C99-based-standards] (SCNoLEAST32): Likewise.
376 [C99-based-standards] (SCNuLEAST32): Likewise.
377 [C99-based-standards] (SCNxLEAST32): Likewise.
378 [C99-based-standards] (PRIdFAST32): Likewise.
379 [C99-based-standards] (PRIiFAST32): Likewise.
380 [C99-based-standards] (PRIoFAST32): Likewise.
381 [C99-based-standards] (PRIuFAST32): Likewise.
382 [C99-based-standards] (PRIxFAST32): Likewise.
383 [C99-based-standards] (PRIXFAST32): Likewise.
384 [C99-based-standards] (SCNdFAST32): Likewise.
385 [C99-based-standards] (SCNiFAST32): Likewise.
386 [C99-based-standards] (SCNoFAST32): Likewise.
387 [C99-based-standards] (SCNuFAST32): Likewise.
388 [C99-based-standards] (SCNxFAST32): Likewise.
389 [C99-based-standards] (PRId64): Likewise.
390 [C99-based-standards] (PRIi64): Likewise.
391 [C99-based-standards] (PRIo64): Likewise.
392 [C99-based-standards] (PRIu64): Likewise.
393 [C99-based-standards] (PRIx64): Likewise.
394 [C99-based-standards] (PRIX64): Likewise.
395 [C99-based-standards] (SCNd64): Likewise.
396 [C99-based-standards] (SCNi64): Likewise.
397 [C99-based-standards] (SCNo64): Likewise.
398 [C99-based-standards] (SCNu64): Likewise.
399 [C99-based-standards] (SCNx64): Likewise.
400 [C99-based-standards] (PRIdLEAST64): Likewise.
401 [C99-based-standards] (PRIiLEAST64): Likewise.
402 [C99-based-standards] (PRIoLEAST64): Likewise.
403 [C99-based-standards] (PRIuLEAST64): Likewise.
404 [C99-based-standards] (PRIxLEAST64): Likewise.
405 [C99-based-standards] (PRIXLEAST64): Likewise.
406 [C99-based-standards] (SCNdLEAST64): Likewise.
407 [C99-based-standards] (SCNiLEAST64): Likewise.
408 [C99-based-standards] (SCNoLEAST64): Likewise.
409 [C99-based-standards] (SCNuLEAST64): Likewise.
410 [C99-based-standards] (SCNxLEAST64): Likewise.
411 [C99-based-standards] (PRIdFAST64): Likewise.
412 [C99-based-standards] (PRIiFAST64): Likewise.
413 [C99-based-standards] (PRIoFAST64): Likewise.
414 [C99-based-standards] (PRIuFAST64): Likewise.
415 [C99-based-standards] (PRIxFAST64): Likewise.
416 [C99-based-standards] (PRIXFAST64): Likewise.
417 [C99-based-standards] (SCNdFAST64): Likewise.
418 [C99-based-standards] (SCNiFAST64): Likewise.
419 [C99-based-standards] (SCNoFAST64): Likewise.
420 [C99-based-standards] (SCNuFAST64): Likewise.
421 [C99-based-standards] (SCNxFAST64): Likewise.
422 [C99-based-standards] (PRIdMAX): Likewise.
423 [C99-based-standards] (PRIiMAX): Likewise.
424 [C99-based-standards] (PRIoMAX): Likewise.
425 [C99-based-standards] (PRIuMAX): Likewise.
426 [C99-based-standards] (PRIxMAX): Likewise.
427 [C99-based-standards] (PRIXMAX): Likewise.
428 [C99-based-standards] (SCNdMAX): Likewise.
429 [C99-based-standards] (SCNiMAX): Likewise.
430 [C99-based-standards] (SCNoMAX): Likewise.
431 [C99-based-standards] (SCNuMAX): Likewise.
432 [C99-based-standards] (SCNxMAX): Likewise.
433 [C99-based-standards] (PRIdPTR): Likewise.
434 [C99-based-standards] (PRIiPTR): Likewise.
435 [C99-based-standards] (PRIoPTR): Likewise.
436 [C99-based-standards] (PRIuPTR): Likewise.
437 [C99-based-standards] (PRIxPTR): Likewise.
438 [C99-based-standards] (PRIXPTR): Likewise.
439 [C99-based-standards] (SCNdPTR): Likewise.
440 [C99-based-standards] (SCNiPTR): Likewise.
441 [C99-based-standards] (SCNoPTR): Likewise.
442 [C99-based-standards] (SCNuPTR): Likewise.
443 [C99-based-standards] (SCNxPTR): Likewise.
444 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
445 allow.
446 * conform/data/stdint.h-data: Update comments to clarify
447 requirements.
448 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
449 type.
450 [C99-based standards] (INT8_MAX): Likewise.
451 [C99-based standards] (INT16_MIN): Likewise.
452 [C99-based standards] (INT16_MAX): Likewise.
453 [C99-based standards] (INT32_MIN): Likewise.
454 [C99-based standards] (INT32_MAX): Likewise.
455 [C99-based standards] (INT64_MIN): Likewise.
456 [C99-based standards] (INT64_MAX): Likewise.
457 [C99-based standards] (UINT8_MAX): Likewise.
458 [C99-based standards] (UINT16_MAX): Likewise.
459 [C99-based standards] (UINT32_MAX): Likewise.
460 [C99-based standards] (UINT64_MAX): Likewise.
461 [C99-based standards] (INT_LEAST8_MIN): Likewise.
462 [C99-based standards] (INT_LEAST8_MAX): Likewise.
463 [C99-based standards] (INT_LEAST16_MIN): Likewise.
464 [C99-based standards] (INT_LEAST16_MAX): Likewise.
465 [C99-based standards] (INT_LEAST32_MIN): Likewise.
466 [C99-based standards] (INT_LEAST32_MAX): Likewise.
467 [C99-based standards] (INT_LEAST64_MIN): Likewise.
468 [C99-based standards] (INT_LEAST64_MAX): Likewise.
469 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
470 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
471 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
472 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
473 [C99-based standards] (INT_FAST8_MIN): Likewise.
474 [C99-based standards] (INT_FAST8_MAX): Likewise.
475 [C99-based standards] (INT_FAST16_MIN): Likewise.
476 [C99-based standards] (INT_FAST16_MAX): Likewise.
477 [C99-based standards] (INT_FAST32_MIN): Likewise.
478 [C99-based standards] (INT_FAST32_MAX): Likewise.
479 [C99-based standards] (INT_FAST64_MIN): Likewise.
480 [C99-based standards] (INT_FAST64_MAX): Likewise.
481 [C99-based standards] (UINT_FAST8_MAX): Likewise.
482 [C99-based standards] (UINT_FAST16_MAX): Likewise.
483 [C99-based standards] (UINT_FAST32_MAX): Likewise.
484 [C99-based standards] (UINT_FAST64_MAX): Likewise.
485 [C99-based standards] (INTPTR_MIN): Likewise.
486 [C99-based standards] (INTPTR_MAX): Likewise.
487 [C99-based standards] (UINTPTR_MAX): Likewise.
488 [C99-based standards] (INTMAX_MIN): Likewise.
489 [C99-based standards] (INTMAX_MAX): Likewise.
490 [C99-based standards] (UINTMAX_MAX): Likewise.
491 [C99-based standards] (PTRDIFF_MIN): Likewise.
492 [C99-based standards] (PTRDIFF_MAX): Likewise.
493 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
494 [C99-based standards] (SIZE_MAX): Likewise.
495 [C99-based standards] (WCHAR_MAX): Likewise.
496 [C99-based standards] (WINT_MAX): Likewise.
497 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
498 constraint on value.
499 [C99-based standards] (WCHAR_MIN): Likewise.
500 [C99-based standards] (WINT_MIN): Likewise.
501 [C99-based standards] (*_t): Allow.
502 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
503 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
504 Include math.h-data and complex.h-data. Remove all expectations
505 of math.h and complex.h contents.
506 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
507 at end of line.
508 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
509 (struct tm): Expect tag.
510 [C99-based-standards] (wcstof): Expect function.
511 [C99-based-standards] (wcstold): Likewise.
512 [C99-based-standards] (wcstoll): Likewise.
513 [C99-based-standards] (wcstoull): Likewise.
514 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
515 macro-int-constant. Specify type.
516 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
517 constraint on value.
518 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
519 Specify type.
520 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
521 Specify value.
522 [ISO C standards]: Do not allow headers.
523 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
524 wcs[abcdefghijklmnopqrstuvwxyz]*.
525 [ISO C standards] (*_t): Do not allow.
526 * conform/data/wctype.h-data [C99-based standards] (iswblank):
527 Expect function.
528 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
529 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
530 Specify type.
531 [ISO C standards]: Do not allow headers.
532 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
533 is[abcdefghijklmnopqrstuvwxyz]*.
534 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
535 to[abcdefghijklmnopqrstuvwxyz]*.
536 [ISO C standards] (*_t): Do not allow.
537 * conform/data/stdalign.h-data: New file.
538 * conform/data/stdbool.h-data: Likewise.
539 * conform/data/stdnoreturn.h-data: Likewise.
540
01f34a3b
JL
5412012-11-07 Andreas Jaeger <aj@suse.de>
542
543 [BZ #14809]
544 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
545 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
546 guards are changed. Only define if not yet defined, #undef back
547 after including linux/sysctl.h if defined here.
548
7514feb8
RM
5492012-11-07 Roland McGrath <roland@hack.frob.com>
550
551 [BZ #14815]
552 * manual/filesys.texi (Directory Entries): Typo fix.
553 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
554
19b2ecfc
MS
5552012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
556
557 * elf/elf.h (EM_AARCH64): New macro.
558 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
559 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
560 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
561 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
562 (R_AARCH64_TLSDESC): Likewise.
563 (NT_ARM_TLS): Likewise.
564 (NT_ARM_HW_BREAK): Likewise.
565 (NT_ARM_HW_WATCH): Likewise.
566
60e235ee
JM
5672012-11-07 Joseph Myers <joseph@codesourcery.com>
568
569 [BZ #14811]
570 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
571 (__ieee754_powl): Saturate nonzero exponents with absolute value
572 below 0x1p-79 to +/- 0x1p-79.
573 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
574 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
575 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
576 nonzero exponents with absolute value below 0x1p-32 to +/-
577 0x1p-32.
578 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
579 (__ieee754_powl): Saturate nonzero exponents with absolute value
580 below 0x1p-79 to +/- 0x1p-79.
581 * math/libm-test.inc (pow_test): Add more tests.
582
0ab234b7
AK
5832012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
584
585 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
586 _dl_s390_cap_flags with kernel. Increase string length.
587 (_dl_s390_platforms): Add z196 and zEC12.
588
45832f74
JM
5892012-11-07 Joseph Myers <joseph@codesourcery.com>
590
591 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
592 Change XOPEN21K to XOPEN2K.
593
19218757
MK
5942012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
595
596 * string/memmove.c: Use memcpy when possible.
597
c5f45721
AJ
5982012-11-06 Andreas Jaeger <aj@suse.de>
599
600 * po/eo.po: Update from translation team.
601
82477c28
JM
6022012-11-06 Joseph Myers <joseph@codesourcery.com>
603
604 [BZ #14793]
605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
606 exponent and small x and y exponents, scale x or y up. Increase
607 by 2 the exponent used in scaling up.
608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
610 * math/libm-test.inc (fma_test): Add more tests.
611 (fma_test_towardzero): Likewise.
612 (fma_test_downward): Likewise.
613 (fma_test_upward): Likewise.
614
99252c8c
JM
6152012-11-05 Joseph Myers <joseph@codesourcery.com>
616
acfa885f
JM
617 [BZ #14805]
618 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
619 fenv_t *.
620
99252c8c
JM
621 [BZ #14801]
622 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
623 namespace for names of struct fields.
624 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
625 fenv_t fields.
626 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
627 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
628
d6d98dea
ST
6292012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
630
631 [BZ #3665]
632 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
633
e10bb107
TS
6342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
635
636 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
637 PTR_DEMANGLE.
638
639 [BZ #5246]
640 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
641 PTR_DEMANGLE.
642
a0c2940d
JM
6432012-11-04 Joseph Myers <joseph@codesourcery.com>
644
645 [BZ #14797]
646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
647 definitely overflow as x * y not x * y + z.
648 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
649 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
650 * math/libm-test.inc (fma_test): Add more tests.
651 (fma_test_towardzero): Likewise.
652 (fma_test_downward): Likewise.
653 (fma_test_upward): Likewise.
654
b830319d
TS
6552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
656
657 [BZ #157]
658
659 * include/stub-tag.h: Remove file.
660 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
661 '#include' of it.
662 * manual/maint.texi (Porting): Don't reference it.
663 * Makerules ($(objpfx)stubs): Likewise.
664 * dirent/closedir.c: Don't include <stub-tag.h>.
665 * dirent/dirfd.c: Likewise.
666 * dirent/fdopendir.c: Likewise.
667 * dirent/getdents.c: Likewise.
668 * dirent/getdents64.c: Likewise.
669 * dirent/opendir.c: Likewise.
670 * dirent/readdir.c: Likewise.
671 * dirent/readdir64.c: Likewise.
672 * dirent/readdir64_r.c: Likewise.
673 * dirent/readdir_r.c: Likewise.
674 * dirent/rewinddir.c: Likewise.
675 * dirent/seekdir.c: Likewise.
676 * dirent/telldir.c: Likewise.
677 * gmon/profil.c: Likewise.
678 * grp/setgroups.c: Likewise.
679 * inet/if_index.c: Likewise.
680 * io/access.c: Likewise.
681 * io/chdir.c: Likewise.
682 * io/chmod.c: Likewise.
683 * io/chown.c: Likewise.
684 * io/close.c: Likewise.
685 * io/dup.c: Likewise.
686 * io/dup2.c: Likewise.
687 * io/dup3.c: Likewise.
688 * io/euidaccess.c: Likewise.
689 * io/faccessat.c: Likewise.
690 * io/fchdir.c: Likewise.
691 * io/fchmod.c: Likewise.
692 * io/fchmodat.c: Likewise.
693 * io/fchown.c: Likewise.
694 * io/fchownat.c: Likewise.
695 * io/fcntl.c: Likewise.
696 * io/flock.c: Likewise.
697 * io/fstatfs.c: Likewise.
698 * io/fstatfs64.c: Likewise.
699 * io/fstatvfs.c: Likewise.
700 * io/fstatvfs64.c: Likewise.
701 * io/futimens.c: Likewise.
702 * io/fxstat.c: Likewise.
703 * io/fxstat64.c: Likewise.
704 * io/fxstatat.c: Likewise.
705 * io/fxstatat64.c: Likewise.
706 * io/getcwd.c: Likewise.
707 * io/isatty.c: Likewise.
708 * io/lchmod.c: Likewise.
709 * io/lchown.c: Likewise.
710 * io/link.c: Likewise.
711 * io/linkat.c: Likewise.
712 * io/lseek.c: Likewise.
713 * io/lseek64.c: Likewise.
714 * io/lxstat64.c: Likewise.
715 * io/mkdir.c: Likewise.
716 * io/mkdirat.c: Likewise.
717 * io/mkfifo.c: Likewise.
718 * io/mkfifoat.c: Likewise.
719 * io/open.c: Likewise.
720 * io/open64.c: Likewise.
721 * io/openat.c: Likewise.
722 * io/openat64.c: Likewise.
723 * io/pipe.c: Likewise.
724 * io/pipe2.c: Likewise.
725 * io/poll.c: Likewise.
726 * io/posix_fadvise.c: Likewise.
727 * io/posix_fadvise64.c: Likewise.
728 * io/posix_fallocate.c: Likewise.
729 * io/posix_fallocate64.c: Likewise.
730 * io/read.c: Likewise.
731 * io/readlink.c: Likewise.
732 * io/readlinkat.c: Likewise.
733 * io/rmdir.c: Likewise.
734 * io/sendfile.c: Likewise.
735 * io/sendfile64.c: Likewise.
736 * io/statfs.c: Likewise.
737 * io/statfs64.c: Likewise.
738 * io/statvfs.c: Likewise.
739 * io/statvfs64.c: Likewise.
740 * io/symlink.c: Likewise.
741 * io/symlinkat.c: Likewise.
742 * io/ttyname.c: Likewise.
743 * io/ttyname_r.c: Likewise.
744 * io/umask.c: Likewise.
745 * io/unlink.c: Likewise.
746 * io/unlinkat.c: Likewise.
747 * io/utime.c: Likewise.
748 * io/utimensat.c: Likewise.
749 * io/write.c: Likewise.
750 * io/xmknod.c: Likewise.
751 * io/xmknodat.c: Likewise.
752 * io/xstat.c: Likewise.
753 * io/xstat64.c: Likewise.
754 * login/getpt.c: Likewise.
755 * login/grantpt.c: Likewise.
756 * login/unlockpt.c: Likewise.
757 * math/e_acoshl.c: Likewise.
758 * math/e_acosl.c: Likewise.
759 * math/e_asinl.c: Likewise.
760 * math/e_atan2l.c: Likewise.
761 * math/e_atanhl.c: Likewise.
762 * math/e_coshl.c: Likewise.
763 * math/e_expl.c: Likewise.
764 * math/e_fmodl.c: Likewise.
765 * math/e_gammal_r.c: Likewise.
766 * math/e_hypotl.c: Likewise.
767 * math/e_j0l.c: Likewise.
768 * math/e_j1l.c: Likewise.
769 * math/e_jnl.c: Likewise.
770 * math/e_lgammal_r.c: Likewise.
771 * math/e_log10l.c: Likewise.
772 * math/e_log2l.c: Likewise.
773 * math/e_logl.c: Likewise.
774 * math/e_powl.c: Likewise.
775 * math/e_rem_pio2l.c: Likewise.
776 * math/e_sinhl.c: Likewise.
777 * math/e_sqrtl.c: Likewise.
778 * math/fclrexcpt.c: Likewise.
779 * math/fedisblxcpt.c: Likewise.
780 * math/feenablxcpt.c: Likewise.
781 * math/fegetenv.c: Likewise.
782 * math/fegetexcept.c: Likewise.
783 * math/fegetround.c: Likewise.
784 * math/feholdexcpt.c: Likewise.
785 * math/fesetenv.c: Likewise.
786 * math/fesetround.c: Likewise.
787 * math/feupdateenv.c: Likewise.
788 * math/fgetexcptflg.c: Likewise.
789 * math/fraiseexcpt.c: Likewise.
790 * math/fsetexcptflg.c: Likewise.
791 * math/ftestexcept.c: Likewise.
792 * math/k_cosl.c: Likewise.
793 * math/k_rem_pio2l.c: Likewise.
794 * math/k_sinl.c: Likewise.
795 * math/k_tanl.c: Likewise.
796 * math/s_asinhl.c: Likewise.
797 * math/s_atanl.c: Likewise.
798 * math/s_cbrtl.c: Likewise.
799 * math/s_erfl.c: Likewise.
800 * math/s_expm1l.c: Likewise.
801 * math/s_log1pl.c: Likewise.
802 * math/s_tanhl.c: Likewise.
803 * misc/acct.c: Likewise.
804 * misc/brk.c: Likewise.
805 * misc/chflags.c: Likewise.
806 * misc/chroot.c: Likewise.
807 * misc/fchflags.c: Likewise.
808 * misc/fgetxattr.c: Likewise.
809 * misc/flistxattr.c: Likewise.
810 * misc/fremovexattr.c: Likewise.
811 * misc/fsetxattr.c: Likewise.
812 * misc/fsync.c: Likewise.
813 * misc/ftruncate.c: Likewise.
814 * misc/futimes.c: Likewise.
815 * misc/futimesat.c: Likewise.
816 * misc/getdomain.c: Likewise.
817 * misc/getdtsz.c: Likewise.
818 * misc/gethostid.c: Likewise.
819 * misc/gethostname.c: Likewise.
820 * misc/getloadavg.c: Likewise.
821 * misc/getpagesize.c: Likewise.
822 * misc/getsysstats.c: Likewise.
823 * misc/getxattr.c: Likewise.
824 * misc/gtty.c: Likewise.
825 * misc/ioctl.c: Likewise.
826 * misc/lgetxattr.c: Likewise.
827 * misc/listxattr.c: Likewise.
828 * misc/llistxattr.c: Likewise.
829 * misc/lremovexattr.c: Likewise.
830 * misc/lsetxattr.c: Likewise.
831 * misc/lutimes.c: Likewise.
832 * misc/madvise.c: Likewise.
833 * misc/mincore.c: Likewise.
834 * misc/mlock.c: Likewise.
835 * misc/mlockall.c: Likewise.
836 * misc/mmap.c: Likewise.
837 * misc/mprotect.c: Likewise.
838 * misc/msync.c: Likewise.
839 * misc/munlock.c: Likewise.
840 * misc/munlockall.c: Likewise.
841 * misc/munmap.c: Likewise.
842 * misc/preadv.c: Likewise.
843 * misc/preadv64.c: Likewise.
844 * misc/ptrace.c: Likewise.
845 * misc/pwritev.c: Likewise.
846 * misc/pwritev64.c: Likewise.
847 * misc/readv.c: Likewise.
848 * misc/reboot.c: Likewise.
849 * misc/remap_file_pages.c: Likewise.
850 * misc/removexattr.c: Likewise.
851 * misc/revoke.c: Likewise.
852 * misc/select.c: Likewise.
853 * misc/setdomain.c: Likewise.
854 * misc/setegid.c: Likewise.
855 * misc/seteuid.c: Likewise.
856 * misc/sethostid.c: Likewise.
857 * misc/sethostname.c: Likewise.
858 * misc/setregid.c: Likewise.
859 * misc/setreuid.c: Likewise.
860 * misc/setxattr.c: Likewise.
861 * misc/sstk.c: Likewise.
862 * misc/stty.c: Likewise.
863 * misc/swapoff.c: Likewise.
864 * misc/swapon.c: Likewise.
865 * misc/sync.c: Likewise.
866 * misc/syncfs.c: Likewise.
867 * misc/syscall.c: Likewise.
868 * misc/truncate.c: Likewise.
869 * misc/ualarm.c: Likewise.
870 * misc/usleep.c: Likewise.
871 * misc/ustat.c: Likewise.
872 * misc/utimes.c: Likewise.
873 * misc/vhangup.c: Likewise.
874 * misc/writev.c: Likewise.
875 * posix/_exit.c: Likewise.
876 * posix/alarm.c: Likewise.
877 * posix/execve.c: Likewise.
878 * posix/fexecve.c: Likewise.
879 * posix/fork.c: Likewise.
880 * posix/fpathconf.c: Likewise.
881 * posix/getaddrinfo.c: Likewise.
882 * posix/getegid.c: Likewise.
883 * posix/geteuid.c: Likewise.
884 * posix/getgid.c: Likewise.
885 * posix/getgroups.c: Likewise.
886 * posix/getlogin.c: Likewise.
887 * posix/getlogin_r.c: Likewise.
888 * posix/getpgid.c: Likewise.
889 * posix/getpid.c: Likewise.
890 * posix/getppid.c: Likewise.
891 * posix/getresgid.c: Likewise.
892 * posix/getresuid.c: Likewise.
893 * posix/getsid.c: Likewise.
894 * posix/getuid.c: Likewise.
895 * posix/glob64.c: Likewise.
896 * posix/nanosleep.c: Likewise.
897 * posix/pathconf.c: Likewise.
898 * posix/pause.c: Likewise.
899 * posix/posix_madvise.c: Likewise.
900 * posix/pread.c: Likewise.
901 * posix/pread64.c: Likewise.
902 * posix/pwrite.c: Likewise.
903 * posix/pwrite64.c: Likewise.
904 * posix/sched_getaffinity.c: Likewise.
905 * posix/sched_getp.c: Likewise.
906 * posix/sched_gets.c: Likewise.
907 * posix/sched_primax.c: Likewise.
908 * posix/sched_primin.c: Likewise.
909 * posix/sched_rr_gi.c: Likewise.
910 * posix/sched_setaffinity.c: Likewise.
911 * posix/sched_setp.c: Likewise.
912 * posix/sched_sets.c: Likewise.
913 * posix/sched_yield.c: Likewise.
914 * posix/setgid.c: Likewise.
915 * posix/setlogin.c: Likewise.
916 * posix/setpgid.c: Likewise.
917 * posix/setresgid.c: Likewise.
918 * posix/setresuid.c: Likewise.
919 * posix/setsid.c: Likewise.
920 * posix/setuid.c: Likewise.
921 * posix/sleep.c: Likewise.
922 * posix/spawni.c: Likewise.
923 * posix/sysconf.c: Likewise.
924 * posix/times.c: Likewise.
925 * posix/wait.c: Likewise.
926 * posix/wait3.c: Likewise.
927 * posix/wait4.c: Likewise.
928 * posix/waitpid.c: Likewise.
929 * resolv/gai_sigqueue.c: Likewise.
930 * resource/getpriority.c: Likewise.
931 * resource/getrlimit.c: Likewise.
932 * resource/getrusage.c: Likewise.
933 * resource/nice.c: Likewise.
934 * resource/setpriority.c: Likewise.
935 * resource/setrlimit.c: Likewise.
936 * resource/ulimit.c: Likewise.
937 * rt/aio_cancel.c: Likewise.
938 * rt/aio_fsync.c: Likewise.
939 * rt/aio_read.c: Likewise.
940 * rt/aio_sigqueue.c: Likewise.
941 * rt/aio_suspend.c: Likewise.
942 * rt/aio_write.c: Likewise.
943 * rt/clock_getres.c: Likewise.
944 * rt/clock_gettime.c: Likewise.
945 * rt/clock_nanosleep.c: Likewise.
946 * rt/clock_settime.c: Likewise.
947 * rt/lio_listio.c: Likewise.
948 * rt/mq_close.c: Likewise.
949 * rt/mq_getattr.c: Likewise.
950 * rt/mq_notify.c: Likewise.
951 * rt/mq_open.c: Likewise.
952 * rt/mq_receive.c: Likewise.
953 * rt/mq_send.c: Likewise.
954 * rt/mq_setattr.c: Likewise.
955 * rt/mq_timedreceive.c: Likewise.
956 * rt/mq_timedsend.c: Likewise.
957 * rt/mq_unlink.c: Likewise.
958 * rt/shm_open.c: Likewise.
959 * rt/shm_unlink.c: Likewise.
960 * rt/timer_create.c: Likewise.
961 * rt/timer_delete.c: Likewise.
962 * rt/timer_getoverr.c: Likewise.
963 * rt/timer_gettime.c: Likewise.
964 * rt/timer_settime.c: Likewise.
965 * setjmp/__longjmp.c: Likewise.
966 * setjmp/setjmp.c: Likewise.
967 * signal/kill.c: Likewise.
968 * signal/killpg.c: Likewise.
969 * signal/raise.c: Likewise.
970 * signal/sigaction.c: Likewise.
971 * signal/sigaltstack.c: Likewise.
972 * signal/sigblock.c: Likewise.
973 * signal/sigignore.c: Likewise.
974 * signal/sigintr.c: Likewise.
975 * signal/signal.c: Likewise.
976 * signal/sigpause.c: Likewise.
977 * signal/sigpending.c: Likewise.
978 * signal/sigqueue.c: Likewise.
979 * signal/sigreturn.c: Likewise.
980 * signal/sigset.c: Likewise.
981 * signal/sigsetmask.c: Likewise.
982 * signal/sigstack.c: Likewise.
983 * signal/sigsuspend.c: Likewise.
984 * signal/sigtimedwait.c: Likewise.
985 * signal/sigvec.c: Likewise.
986 * signal/sigwait.c: Likewise.
987 * signal/sigwaitinfo.c: Likewise.
988 * signal/sysv_signal.c: Likewise.
989 * socket/accept.c: Likewise.
990 * socket/accept4.c: Likewise.
991 * socket/bind.c: Likewise.
992 * socket/connect.c: Likewise.
993 * socket/getpeername.c: Likewise.
994 * socket/getsockname.c: Likewise.
995 * socket/getsockopt.c: Likewise.
996 * socket/isfdtype.c: Likewise.
997 * socket/listen.c: Likewise.
998 * socket/recv.c: Likewise.
999 * socket/recvfrom.c: Likewise.
1000 * socket/recvmsg.c: Likewise.
1001 * socket/send.c: Likewise.
1002 * socket/sendmsg.c: Likewise.
1003 * socket/sendto.c: Likewise.
1004 * socket/setsockopt.c: Likewise.
1005 * socket/shutdown.c: Likewise.
1006 * socket/sockatmark.c: Likewise.
1007 * socket/socket.c: Likewise.
1008 * socket/socketpair.c: Likewise.
1009 * stdio-common/ctermid.c: Likewise.
1010 * stdio-common/cuserid.c: Likewise.
1011 * stdio-common/remove.c: Likewise.
1012 * stdio-common/rename.c: Likewise.
1013 * stdio-common/renameat.c: Likewise.
1014 * stdio-common/tempname.c: Likewise.
1015 * stdlib/getcontext.c: Likewise.
1016 * stdlib/makecontext.c: Likewise.
1017 * stdlib/setcontext.c: Likewise.
1018 * stdlib/swapcontext.c: Likewise.
1019 * stdlib/system.c: Likewise.
1020 * streams/fattach.c: Likewise.
1021 * streams/fdetach.c: Likewise.
1022 * streams/getmsg.c: Likewise.
1023 * streams/getpmsg.c: Likewise.
1024 * streams/putmsg.c: Likewise.
1025 * streams/putpmsg.c: Likewise.
1026 * sysdeps/unix/bsd/getpt.c: Likewise.
1027 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1028 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1029 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1031 Likewise.
1032 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1033 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1034 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1035 * sysvipc/msgctl.c: Likewise.
1036 * sysvipc/msgget.c: Likewise.
1037 * sysvipc/msgrcv.c: Likewise.
1038 * sysvipc/msgsnd.c: Likewise.
1039 * sysvipc/semctl.c: Likewise.
1040 * sysvipc/semget.c: Likewise.
1041 * sysvipc/semop.c: Likewise.
1042 * sysvipc/semtimedop.c: Likewise.
1043 * sysvipc/shmat.c: Likewise.
1044 * sysvipc/shmctl.c: Likewise.
1045 * sysvipc/shmdt.c: Likewise.
1046 * sysvipc/shmget.c: Likewise.
1047 * termios/tcdrain.c: Likewise.
1048 * termios/tcflow.c: Likewise.
1049 * termios/tcflush.c: Likewise.
1050 * termios/tcgetattr.c: Likewise.
1051 * termios/tcgetpgrp.c: Likewise.
1052 * termios/tcsendbrk.c: Likewise.
1053 * termios/tcsetattr.c: Likewise.
1054 * termios/tcsetpgrp.c: Likewise.
1055 * time/adjtime.c: Likewise.
1056 * time/clock.c: Likewise.
1057 * time/getitimer.c: Likewise.
1058 * time/gettimeofday.c: Likewise.
1059 * time/setitimer.c: Likewise.
1060 * time/settimeofday.c: Likewise.
1061 * time/stime.c: Likewise.
1062 * time/time.c: Likewise.
1063
10642012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1065
a20492cf
PT
1066 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1067 /usr/old/bin.
1068
72e182e3
PT
1069 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1070 instead of spaces.
1071 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1072
fbeafede
JM
10732012-11-03 Joseph Myers <joseph@codesourcery.com>
1074
5b5b04d6
JM
1075 [BZ #14796]
1076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1077 FE_TONEAREST before applying Dekker multiplication and Knuth
1078 addition. Clear inexact exceptions and check for exact zero
1079 results afterwards.
1080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1081 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1082 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1083 * math/libm-test.inc (fma_test): Add more tests.
1084 (fma_test_towardzero): Likewise.
1085 (fma_test_downward): Likewise.
1086 (fma_test_upward): Likewise.
1087 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1088 function.
1089 (libc_fesetround): New macro.
1090 (libc_fesetroundf): Likewise.
1091 (libc_fesetroundl): Likewise.
1092 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1093 function.
1094 (libc_fesetround_387): Likewise.
1095 (libc_fesetroundf): New macro.
1096 (libc_fesetround): Likewise.
1097 (libc_fesetroundl): Likewise.
1098 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1099 function.
1100 (libc_fesetroundf): New macro.
1101 (libc_fesetround): Likewise.
1102 (libc_fesetroundl): Likewise.
1103 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1104 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1105 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1106 libm_hidden_ver.
1107 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1108 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1109 libm_hidden_def.
1110 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1111 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1112 libm_hidden_ver.
1113 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1114 libm_hidden_def.
1115
fbeafede
JM
1116 [BZ #3439]
1117 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1118 integer constant usable in #if and use that to give value to enum
1119 constant.
1120 (FE_DIVBYZERO): Likewise.
1121 (FE_UNDERFLOW): Likewise.
1122 (FE_OVERFLOW): Likewise.
1123 (FE_INVALID): Likewise.
1124 (FE_INVALID_SNAN): Likewise.
1125 (FE_INVALID_ISI): Likewise.
1126 (FE_INVALID_IDI): Likewise.
1127 (FE_INVALID_ZDZ): Likewise.
1128 (FE_INVALID_IMZ): Likewise.
1129 (FE_INVALID_COMPARE): Likewise.
1130 (FE_INVALID_SOFTWARE): Likewise.
1131 (FE_INVALID_SQRT): Likewise.
1132 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1133 (FE_TONEAREST): Likewise.
1134 (FE_TOWARDZERO): Likewise.
1135 (FE_UPWARD): Likewise.
1136 (FE_DOWNWARD): Likewise.
1137 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1138 (FE_DIVBYZERO): Likewise.
1139 (FE_OVERFLOW): Likewise.
1140 (FE_UNDERFLOW): Likewise.
1141 (FE_INEXACT): Likewise.
1142 (FE_TONEAREST): Likewise.
1143 (FE_DOWNWARD): Likewise.
1144 (FE_UPWARD): Likewise.
1145 (FE_TOWARDZERO): Likewise.
1146 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1147 (FE_UNDERFLOW): Likewise.
1148 (FE_OVERFLOW): Likewise.
1149 (FE_DIVBYZERO): Likewise.
1150 (FE_INVALID): Likewise.
1151 (FE_TONEAREST): Likewise.
1152 (FE_TOWARDZERO): Likewise.
1153 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1154 (FE_OVERFLOW): Likewise.
1155 (FE_UNDERFLOW): Likewise.
1156 (FE_DIVBYZERO): Likewise.
1157 (FE_INEXACT): Likewise.
1158 (FE_TONEAREST): Likewise.
1159 (FE_TOWARDZERO): Likewise.
1160 (FE_UPWARD): Likewise.
1161 (FE_DOWNWARD): Likewise.
1162 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1163 (FE_DIVBYZERO): Likewise.
1164 (FE_OVERFLOW): Likewise.
1165 (FE_UNDERFLOW): Likewise.
1166 (FE_INEXACT): Likewise.
1167 (FE_TONEAREST): Likewise.
1168 (FE_DOWNWARD): Likewise.
1169 (FE_UPWARD): Likewise.
1170 (FE_TOWARDZERO): Likewise.
1171
105ca950
CM
11722012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1173
1174 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1175
a542b389
AS
11762012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1177
1178 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1179 commands. Quote $PWD.
1180 (blacklist_exports): Don't use remove_newlines. Replace "declare
1181 -x" by "export".
1182 (remove_newlines): Remove.
1183
f62c8abc
L
11842012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1187 * stdlib/stdlib.h (atof): Moved to ...
1188 * include/bits/stdlib-float.h: Here. New file.
1189 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1190 * stdlib/bits/stdlib-float.h: New file.
1191 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1192 -mno-sse -mno-mmx.
1193 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1194 <xmmintrin.h>.
1195
0155d5b2
JM
11962012-11-02 Joseph Myers <joseph@codesourcery.com>
1197
a68d0680
JM
1198 * conform/conformtest.pl (@headers): Add fenv.h.
1199 * conform/data/fenv.h-data: New file.
1200 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1201 include of <math/fenv.h>.
1202
caf7f573
JM
1203 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1204 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1205 && !UNIX98]. Enables tests for XOPEN2K8.
1206 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1207 POSIX2008]: Likewise.
1208
6c073ad6
JM
1209 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1210 (struct rusage): Do not expect type or its members.
1211
0155d5b2
JM
1212 [BZ #3439]
1213 * math/math.h (FP_NAN): Define macro to integer constant usable in
1214 #if and use that to give value to enum constant.
1215 (FP_INFINITE): Likewise.
1216 (FP_ZERO): Likewise.
1217 (FP_SUBNORMAL): Likewise.
1218 (FP_NORMAL): Likewise.
1219
b5dcacb4
AS
12202012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1221
1222 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1223 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1224 arguments.
1225
f7934be8
RM
12262012-11-02 Roland McGrath <roland@hack.frob.com>
1227
1228 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1229 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1230 autoconf-time if not.
1231 * configure.in: Remove AC_PREREQ.
1232
d7d08bde
TMQMF
12332012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1234
1235 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1236 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1237 of the internal implementation.
1238
dcdae19a
JM
12392012-11-02 Joseph Myers <joseph@codesourcery.com>
1240
1241 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1242 except include of <misc/sys/syslog.h>.
1243
d6cffd3e
AS
12442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1245
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1247 function returns with a NULL context exit with zero.
1248
b3563932
TMQMF
12492012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1250
1251 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1252
b288a93d
L
12532012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1254
1255 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1256 (run_program_cmd): This.
1257 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1258 (tst_langinfo): New variable. Use it.
1259
a2421a68
SAS
12602012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1261
1262 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1263 floating point opcodes.
1264
6f796e1b
TS
12652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1266
7402596b
TS
1267 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1268 variable.
1269
d0d4f868
TS
1270 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1271
6f796e1b
TS
1272 * sysdeps/mach/hurd/powerpc: Remove directory.
1273 * sysdeps/mach/powerpc: Likewise.
1274
4da224a2
AS
12752012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1276
1277 * scripts/check-local-headers.sh: Ignore c++ headers.
1278
341dd673
TS
12792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1280
1281 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1282 __libc_cleanup_region_start argument.
1283
473611b2
JM
12842012-11-01 Joseph Myers <joseph@codesourcery.com>
1285
1286 [BZ #14784]
1287 [BZ #14785]
1288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1289 x * y using scaling, not as x * y + z.
1290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1292 * math/libm-test.inc (fma_test): Add more tests.
1293 (fma_test_towardzero): Likewise.
1294 (fma_test_downward): Likewise.
1295 (fma_test_upward): Likewise.
1296
4078da3d
TS
12972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1298
1299 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1300
903252aa
JM
13012012-10-31 Joseph Myers <joseph@codesourcery.com>
1302
1303 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1304 New variable.
1305
cbc818d0
TS
13062012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1307
1308 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1309
5a03cb1e
AS
13102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1311
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1313 Fix sort order.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1315 Likewise.
1316
90aff2ff
TMQMF
13172012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1318
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1320 Fix the order of the list for glibc 2.17.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1322 Likewise.
1323
1818fcb7
AS
13242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1325
1326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1327
ef82f4da
JM
13282012-10-31 Joseph Myers <joseph@codesourcery.com>
1329
16a0e2ec
JM
1330 [BZ #14610]
1331 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1332 for low part of x being zero before using __atanl (y).
1333 * math/libm-test.inc (atan2_test): Add another test.
1334
0eb69512
JM
1335 * manual/install.texi (Configuring and compiling): Document
1336 general use of test-wrapper and test-wrapper-env.
1337 * INSTALL: Regenerated.
1338
ef82f4da
JM
1339 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1340 (__fma): Do not extract and scale down low bits on after-rounding
1341 systems when result rounded to normal precision would have normal
1342 exponent.
1343 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1344 (__fmal): Do not extract and scale down low bits on after-rounding
1345 systems when result rounded to normal precision would have normal
1346 exponent.
1347 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1348 (__fmal): Do not extract and scale down low bits on after-rounding
1349 systems when result rounded to normal precision would have normal
1350 exponent.
1351 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1352 macro.
1353 (fma_test): Add more tests.
1354 (fma_test_towardzero): Likewise.
1355 (fma_test_downward): Likewise.
1356 (fma_test_upward): Likewise.
1357
954ef0d9
L
13582012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 * sysdeps/i386/tininess.h: Renamed to ...
1361 * sysdeps/x86/tininess.h: This.
1362 * sysdeps/x86_64/tininess.h: Removed.
1363
df61ffb2
JM
13642012-10-30 Joseph Myers <joseph@codesourcery.com>
1365
1366 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1367 input. Use $(build-program-cmd).
1368 ($(objpfx)tst-array1-static.out): Likewise.
1369 ($(objpfx)tst-array2.out): Likewise.
1370 ($(objpfx)tst-array3.out): Likewise.
1371 ($(objpfx)tst-array4.out): Likewise.
1372 ($(objpfx)tst-array5.out): Likewise.
1373 ($(objpfx)tst-array5-static.out): Likewise.
1374
01767843
CM
13752012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1376
47cc1490
CM
1377 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1378 if defined.
1379
01767843
CM
1380 * nss/nsswitch.h (nss_interface_function): Provide new
1381 macro for use with NSS functions.
1382 * grp/initgroups.c: Use new macro.
1383 * nss/getXXbyYY.c: Likewise.
1384 * nss/getXXbyYY_r.c: Likewise.
1385 * nss/getXXent.c: Likewise.
1386 * nss/getXXent_r.c: Likewise.
1387 * sysdeps/posix/getaddrinfo.c: Likewise.
1388
8321aa97
AJ
13892012-10-30 Andreas Jaeger <aj@suse.de>
1390
1391 * po/ru.po: Update Russion translation from translation project.
1392
2a27fd6d
JM
13932012-10-30 Joseph Myers <joseph@codesourcery.com>
1394
8627a232
JM
1395 [BZ #14152]
1396 [BZ #14783]
1397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1398 result and shift together with sticky bit instead of replicating
1399 round-to-nearest rounding.
1400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1401 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1402 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1403 missing underflow exceptions.
1404 (fma_test_towardzero): Add more tests.
1405 (fma_test_downward): Likewise.
1406 (fma_test_upward): Likewise.
1407
2a27fd6d
JM
1408 [BZ #14047]
1409 * sysdeps/generic/tininess.h: New file.
1410 * sysdeps/i386/tininess.h: Likewise.
1411 * sysdeps/sh/tininess.h: Likewise.
1412 * sysdeps/x86_64/tininess.h: Likewise.
1413 * stdlib/tst-strtod-underflow.c: Likewise.
1414 * stdlib/tst-tininess.c: Likewise.
1415 * stdlib/strtod_l.c: Include <tininess.h>.
1416 (round_and_return): Do not set errno for exact underflow cases.
1417 Force an underflow exception when setting errno for underflow.
1418 Determine underflow based on rounding to normal precision if
1419 TININESS_AFTER_ROUNDING.
1420 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1421 ERANGE for exact underflow cases.
1422 * stdlib/Makefile (tests): Add tst-tininess and
1423 tst-strtod-underflow.
1424 ($(objpfx)tst-tininess): Use $(link-libm).
1425 ($(objpfx)tst-strtod-underflow): Likewise.
1426
e7170363
AJ
14272012-10-30 Andreas Jaeger <aj@suse.de>
1428
e5088dc6
AJ
1429 [BZ#14767]
1430 * elf/Makefile (tests): Remove conditional for have-initfini-array
1431 since this is now always required and the variable does not exist
1432 anymore.
1433 (tests-static): Likewise.
1434 (modules-names): Likewise.
1435
e7170363 1436 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1437
1438 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1439 merged with constructor/destructor.
1440 (init_array): Likewise.
1441 * elf/tst-array2dep.c (fini_array): Likewise.
1442 (init_array): Likewise.
1443
60457d8a
MF
14442012-10-29 Mike Frysinger <vapier@gentoo.org>
1445
1446 * manual/message.texi: Delete @cartouche tags.
1447
8bece752
PT
14482012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1449
94ce799f
PT
1450 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1451 EOPNOTSUPP.
1452 * sysdeps/mach/hurd/fsync.c: Likewise.
1453
8bece752
PT
1454 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1455 [_POSIX_REALTIME_SIGNALS]: Change condition to
1456 [_POSIX_REALTIME_SIGNALS > 0].
1457
86ebe6b1
AJ
14582012-10-27 Andreas Jaeger <aj@suse.de>
1459
1460 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1461 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1463 [__WORDSIZE != 64]: Likewise.
1464
54399c08
L
14652012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1466
1467 * iconvdata/tst-table.sh: Remove ${SHELL}.
1468 * iconvdata/tst-tables.sh: Likewise.
1469
e2211bed
DM
14702012-10-25 David S. Miller <davem@davemloft.net>
1471
1472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1473 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1474 of strtoull.
1475
f303f97c
DM
1476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1477 ifunc-impl-list.c
1478 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1479 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1480 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1481 file.
1482
1e9d84cd
RM
14832012-10-25 Roland McGrath <roland@hack.frob.com>
1484
1485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1486 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1487 __getdirentries.
1488
df381762
JM
14892012-10-25 Joseph Myers <joseph@codesourcery.com>
1490 Jim Blandy <jimb@codesourcery.com>
1491
1492 * scripts/cross-test-ssh.sh: New file.
1493 * manual/install.texi (Configuring and compiling): Document use of
1494 cross-test-ssh.sh.
1495 * INSTALL: Regenerated.
1496
bff64913
PT
14972012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1498
1499 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1500 EOPNOTSUPP.
1501
25fe8932
JM
15022012-10-25 Joseph Myers <joseph@codesourcery.com>
1503
1504 * Makeconfig (run-program-prefix): Fix comment.
1505
cc1290d0
JM
15062012-10-24 Joseph Myers <joseph@codesourcery.com>
1507 Jim Blandy <jimb@codesourcery.com>
1508
1509 * Makeconfig (test-wrapper): New variable,
1510 (test-wrapper-env): Likewise.
1511 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1512 (run-built-tests): Define to yes.
1513 (run-program-prefix): Use $(test-wrapper).
1514 (built-program-cmd): Likewise.
1515 * Rules (make-test-out): Use $(test-wrapper-env) and
1516 $(host-built-program-cmd).
1517 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1518 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1519 tst-pathopt.sh.
1520 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1521 $(test-wrapper-env) to tst-rtld-load-self.sh.
1522 ($(objpfx)order2.out): Use $(test-wrapper).
1523 ($(objpfx)tst-initorder.out): Likewise.
1524 ($(objpfx)tst-initorder2.out): Likewise.
1525 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1526 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1527 (test_wrapper_env): New variable. Use it to run ld.so.
1528 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1529 Use it to run ld.so.
1530 (test_wrapper_env): Likewise.
1531 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1532 $(test-wrapper) to run-iconv-test.sh.
1533 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1534 (ICONV): Use $test_wrapper.
1535 * posix/Makefile ($(objpfx)globtest.out): Pass
1536 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1537 globtest.sh, not $(run-program-prefix).
1538 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1539 (test_wrapper): Likewise.
1540 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1541 set together with run_via_rtld_prefix.
1542 (run_program_prefix): Define in terms of test_wrapper and
1543 run_via_rtld_prefix.
1544
6e6249d0
RM
15452012-10-24 Roland McGrath <roland@hack.frob.com>
1546
1547 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1548 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1549 Targets removed.
1550
1551 [BZ #14743]
1552 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1553 Declare __clock_getres, __clock_gettime, __clock_settime,
1554 __clock_nanosleep, and __clock_getcpuclockid.
1555 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1556 Remove librt_hidden_def (clock_gettime).
1557 * sysdeps/unix/clock_gettime.c: Likewise.
1558 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1559 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1560 * rt/clock_getres.c: Define __clock_getres as an alias.
1561 * sysdeps/posix/clock_getres.c: Likewise.
1562 * rt/clock_settime.c: Define __clock_settime as an alias.
1563 * sysdeps/unix/clock_settime.c: Likewise.
1564 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1565 * sysdeps/unix/clock_nanosleep.c: Likewise.
1566 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1567 * rt/clock-compat.c: New file.
1568 * rt/Makefile (librt-routines): Add clock-compat and move
1569 $(clock-routines) to ...
1570 (routines): ... here, new variable.
1571 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1572 Don't add get_clockfreq here.
1573 * rt/Versions (libc: GLIBC_2.17): New version set.
1574 Add clock_* symbols here.
1575 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1576 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1577 (GLIBC_2.17): Add clock_* symbols.
1578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1582 Likewise.
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1584 Likewise.
1585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1589 * NEWS: Mention the move.
1590
1591 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1592 Use __open, __read, __close rather than their public counterparts.
1593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1594 (__get_clockfreq_via_cpuinfo): Likewise.
1595 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1596 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1597
1598 * config.h.in (HAVE_IFUNC): New #undef.
1599 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1600 was successful.
1601 * configure: Regenerated.
1602
0cae3f4b
MF
16032012-10-24 Mike Frysinger <vapier@gentoo.org>
1604
1605 * configure.in: Move READELF check to start of file.
1606 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1607 libc_cv_asm_gnu_indirect_function in the process.
1608 * configure: Regenerated.
1609
8175a253
MF
16102012-10-24 Mike Frysinger <vapier@gentoo.org>
1611
1612 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1613 send the output to /dev/null.
1614 (libc_cv_cc_with_libunwind): Likewise.
1615 (libc_cv_as_noexecstack): Likewise.
1616 * configure: Regenerate.
1617
0708a7d1
JM
16182012-10-24 Joseph Myers <joseph@codesourcery.com>
1619
10b40d85
JM
1620 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1621
0708a7d1
JM
1622 * posix/globtest.sh (TMPDIR): Do not set.
1623 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1624 (testout): Likewise.
1625
9fddec1a
AJ
16262012-10-24 Andreas Jaeger <aj@suse.de>
1627
3a8db22f
AJ
1628 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1629 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1630 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1631 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1632 posix_fadvise64, posix_fallocate64.
1633
9fddec1a
AJ
1634 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1635 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1636 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1637 Likewise.
1638 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1639 Likewise.
1640 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1641
1642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1643 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1644 <bits/fcntl-linux.h>.
1645 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1646
1647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1648 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1649 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1650 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1651 [__WORDSIZE != 64]: Likewise.
1652
ebfd1bbd
JM
16532012-10-23 Joseph Myers <joseph@codesourcery.com>
1654
03ac099f
JM
1655 * Makeconfig (run-built-tests): New variable.
1656 * Rules [$(cross-compiling) = yes]: Change condition to
1657 [$(run-built-tests) = no].
1658 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1659 to [$(run-built-tests) = yes].
1660 * elf/Makefile [$(cross-compiling) = no]: Likewise
1661 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1662 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1663 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1664 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1665 * io/Makefile [$(cross-compiling) = no]: Likewise.
1666 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1667 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1668 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1669 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1670 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1671 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1672 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1673 * string/Makefile [$(cross-compiling) = no]: Likewise.
1674
ebfd1bbd
JM
1675 * posix/Makefile ($(objpfx)globtest.out): Pass
1676 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1677 $(rtld-installed-name).
1678 * posix/globtest.sh (elf_objpfx): Remove variable.
1679 (rtld_installed_name): Likewise.
1680 (library_path): Likewise.
1681 (run_program_prefix): New variable. Use for running globtest
1682 binary.
1683
166bca24
JB
16842012-10-23 Jim Blandy <jimb@codesourcery.com>
1685 Joseph Myers <joseph@codesourcery.com>
1686
1687 * Makeconfig (host-built-program-cmd): New variable.
1688 * elf/Makefile (tst-stackguard1-ARGS): Use
1689 $(host-built-program-cmd).
1690 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1691 (tst-spawn-ARGS): Likewise.
1692 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1693
88866099
JM
16942012-10-23 Joseph Myers <joseph@codesourcery.com>
1695 Jim Blandy <jimb@codesourcery.com>
1696
1697 * Makeconfig (run-via-rtld-prefix): New variable.
1698 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1699 (built-program-cmd): Likewise.
1700
b4b4c296
AJ
17012012-10-22 Andreas Jaeger <aj@suse.de>
1702
1703 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1704 __O_RSYNC if it exists, otherwise to O_SYNC.
1705
6fb54a22
JB
17062012-10-22 Jim Blandy <jimb@codesourcery.com>
1707 Joseph Myers <joseph@codesourcery.com>
1708
1709 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1710 /dev/null.
1711 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1712 from /dev/null
1713 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1714 /dev/null.
1715
481b90b9
AJ
17162012-10-22 Andreas Jaeger <aj@suse.de>
1717
2a0e2669
AJ
1718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1719 Define always.
1720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1721
76e38f9a
AJ
1722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1723 bits/fcntl-linux.h.
1724
7cd37b43
AJ
1725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1726 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1727
481b90b9
AJ
1728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1729 to __O_LARGEFILE.
1730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1731 to __O_LARGEFILE.
1732
aba75984
JB
17332012-10-21 Jim Blandy <jimb@codesourcery.com>
1734 Joseph Myers <joseph@codesourcery.com>
1735
1736 * config.make.in (NM): New variable.
1737
88d4247f
AJ
17382012-10-21 Andreas Jaeger <aj@suse.de>
1739
1740 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1741 definitions and declarations that are provided by
1742 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1743
f2eed205
L
17442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1745
1746 [BZ #14683]
1747 * elf/Makefile (tests-static): Add tst-leaks1-static.
1748 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1749 ($(objpfx)tst-leaks1-static): New rule.
1750 ($(objpfx)tst-leaks1-static-mem): Likewise.
1751 (tst-leaks1-static-ENV): New macro.
1752 * elf/dl-open.c (dl_open_worker): Check the main application
1753 only if SHARED is defined.
1754 * elf/tst-leaks1-static.c: New file.
1755
335e6931
AJ
17562012-10-20 Andreas Jaeger <aj@suse.de>
1757
1758 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1759 generic values for Linux.
1760 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1761 and declarations that are provided by <bits/fcntl-linux.h> and
1762 include <bits/fcntl-linux.h>.
1763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1765
ac5c94d3
RM
17662012-10-20 Roland McGrath <roland@hack.frob.com>
1767
1768 * io/fcntl.h: Move include of <bits/types.h> to the top and
1769 include it unconditionally.
1770
de54b33a
L
17712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1772
228cfb01
L
1773 * wcsmbs/Makefile (tests-ifunc): New variable.
1774 (tests): Add $(tests-ifunc).
1775 * wcsmbs/test-wcschr-ifunc.c: New file.
1776 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1777 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1778 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1779 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1780 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1781
69f07e5f
L
1782 * string/Makefile (tests-ifunc): New variable.
1783 (tests): Add $(tests-ifunc).
1784 * string/test-memccpy.c (TEST_NAME): New macro.
1785 * string/test-memchr.c (TEST_NAME): Likewise.
1786 * string/test-memcmp.c (TEST_NAME): Likewise.
1787 * string/test-memcpy.c (TEST_NAME): Likewise.
1788 * string/test-memmem.c (TEST_NAME): Likewise.
1789 * string/test-memmove.c (TEST_NAME): Likewise.
1790 * string/test-memset.c (TEST_NAME): Likewise.
1791 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1792 * string/test-stpcpy.c (TEST_NAME): Likewise.
1793 * string/test-stpncpy.c (TEST_NAME): Likewise.
1794 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1795 * string/test-strcasestr.c (TEST_NAME): Likewise.
1796 * string/test-strcat.c (TEST_NAME): Likewise.
1797 * string/test-strchr.c (TEST_NAME): Likewise.
1798 * string/test-strcmp.c(TEST_NAME): Likewise.
1799 * string/test-strcpy.c (TEST_NAME): Likewise.
1800 * string/test-strcspn.c (TEST_NAME): Likewise.
1801 * string/test-strlen.c (TEST_NAME): Likewise.
1802 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1803 * string/test-strncmp.c (TEST_NAME): Likewise.
1804 * string/test-strncpy.c (TEST_NAME): Likewise.
1805 * string/test-strnlen.c (TEST_NAME): Likewise.
1806 * string/test-strpbrk.c (TEST_NAME): Likewise.
1807 * string/test-strrchr.c (TEST_NAME): Likewise.
1808 * string/test-strspn.c (TEST_NAME): Likewise.
1809 * string/test-strstr.c (TEST_NAME): Likewise.
1810 * string/test-bcopy-ifunc.c: New file.
1811 * string/test-bzero-ifunc.c: Likewise.
1812 * string/test-memccpy-ifunc.c: Likewise.
1813 * string/test-memchr-ifunc.c: Likewise.
1814 * string/test-memcmp-ifunc.c: Likewise.
1815 * string/test-memcpy-ifunc.c: Likewise.
1816 * string/test-memmem-ifunc.c: Likewise.
1817 * string/test-memmove-ifunc.c: Likewise.
1818 * string/test-mempcpy-ifunc.c: Likewise.
1819 * string/test-memset-ifunc.c: Likewise.
1820 * string/test-rawmemchr-ifunc.c: Likewise.
1821 * string/test-stpcpy-ifunc.c: Likewise.
1822 * string/test-stpncpy-ifunc.c: Likewise.
1823 * string/test-strcasecmp-ifunc.c: Likewise.
1824 * string/test-strcasestr-ifunc.c: Likewise.
1825 * string/test-strcat-ifunc.c: Likewise.
1826 * string/test-strchr-ifunc.c: Likewise.
1827 * string/test-strchrnul-ifunc.c: Likewise.
1828 * string/test-strcmp-ifunc.c: Likewise.
1829 * string/test-strcpy-ifunc.c: Likewise.
1830 * string/test-strcspn-ifunc.c: Likewise.
1831 * string/test-strlen-ifunc.c: Likewise.
1832 * string/test-strncasecmp-ifunc.c: Likewise.
1833 * string/test-strncat-ifunc.c: Likewise.
1834 * string/test-strncmp-ifunc.c: Likewise.
1835 * string/test-strncpy-ifunc.c: Likewise.
1836 * string/test-strnlen-ifunc.c: Likewise.
1837 * string/test-strpbrk-ifunc.c: Likewise.
1838 * string/test-strrchr-ifunc.c: Likewise.
1839 * string/test-strspn-ifunc.c: Likewise.
1840 * string/test-strstr-ifunc.c: Likewise.
1841
de54b33a
L
1842 * debug/Makefile (tests-ifunc): New variable.
1843 (tests): Add $(tests-ifunc).
1844 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1845 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1846 * debug/test-stpcpy_chk-ifunc.c: New file.
1847 * debug/test-strcpy_chk-ifunc.c: Likewise.
1848
88481c16
SP
18492012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1850
1851 [BZ #13601]
1852 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1853 header is not read in.
1854
135948bd
JM
18552012-10-19 Joseph Myers <joseph@codesourcery.com>
1856
89f1c388
JM
1857 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1858 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1859 directly. Pass built executable to script as
1860 $(built-program-cmd).
1861 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1862 $testprogram without using LD_LIBRARY_PATH and $ldso.
1863
e40a0d21
JM
1864 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1865 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1866 $(rtld-installed-name).
1867 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1868 (rtld_installed_name): Likewise.
1869 (library_path): Likewise.
1870 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1871 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1872 $(run-program-prefix) to tst-tables.sh.
1873 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1874 it to run tst-table-from and tst-table-to.
1875 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1876 Pass it to tst-table.sh.
1877 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1878 $(run-program-prefix) to tst-gettext.sh.
1879 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1880 tst-translit.sh.
1881 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1882 tst-gettext2.sh.
1883 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1884 to run tst-gettext.
1885 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1886 to run tst-gettext2.
1887 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1888 to run tst-translit.
1889 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1890 $(run-program-prefix) to tst-mtrace.sh.
1891 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1892 to run tst-mtrace.
1893 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1894 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1895 $(rtld-installed-name).
1896 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1897 (rtld_installed_name): Likewise.
1898 (run_program_prefix): New variable. Use it to run wordexp-test.
1899
728e272a
JM
1900 * Makeconfig (ARCH): Remove all definitions.
1901 (machine): Likewise.
1902 [ARCH]: Remove conditional code.
1903 [!objdir]: Give error.
1904 [!objdir] (objpfx): Remove.
1905 [!objdir] (common-objpfx): Likewise.
1906 [!objdir] (common-objdir): Likewise.
1907 * configure.in (config_makefile): Remove. Hardcode Makefile in
1908 AC_CONFIG_FILES call.
1909 * configure: Regenerated.
1910
d528cdcf
JM
1911 [BZ #13888]
1912 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1913 or TMPDIR.
1914 (testout): Likewise.
1915
135948bd
JM
1916 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1917 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1918 $(rtld-installed-name).
1919 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1920 (rtld_installed_name): Likwise.
1921 (runit): Remove function.
1922 (run_getconf): New variable, Use it for running getconf binary.
1923
38c78296
L
19242012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1925
1926 [BZ #14716]
1927 * string/test-memmem.c (check_result): New function.
1928 (do_one_test): Use it.
1929 (check1): New function.
1930 (test_main): Use it.
1931
d077f65f
MT
19322012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1933
1934 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1935
ced52c71
JM
19362012-10-18 Joseph Myers <joseph@codesourcery.com>
1937
1938 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1939 (_G_LSEEK64): Likewise.
1940 (_G_MMAP64): Likewise.
1941 (_G_FSTAT64): Likewise.
1942 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1943 (_G_LSEEK64): Likewise.
1944 (_G_MMAP64): Likewise.
1945 (_G_FSTAT64): Likewise.
1946 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1947 unconditional. Call __mmap64 directly.
1948 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1949 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1950 __lseek64 directly.
1951 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1952 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1953 __mmap64 directly.
1954 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1955 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1956 __lseek64 directly.
1957 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1958 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1959 __lseek64 directly.
1960 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1961 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1962 __lseek64 directly.
1963 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1964 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1965 __fxstat64 directly.
1966 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1967 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1968 unconditional.
1969 (freopen64) [!_G_OPEN64]: Remove conditional code.
1970 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1971 unconditional.
1972 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1973 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1974 unconditional.
1975 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1976 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1977 unconditional.
1978 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1979 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1980 unconditional.
1981 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1982 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1983 unconditional.
1984 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1985 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1986 unconditional.
1987 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1988 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1989 unconditional.
1990 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1991
b741de23
SP
19922012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1993
1994 [BZ #12140]
1995 * manual/memory.texi (Malloc Tunable Parameters): Add note
1996 about free list pointers overwriting some perturb bytes.
1997 Wording suggested by Roland McGrath.
1998
f9b9d9c9
JM
19992012-10-17 Joseph Myers <joseph@codesourcery.com>
2000
2001 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2002 (lgamma_test): Likewise.
2003 (tgamma_test): Likewise.
2004
172a631a
FW
20052012-10-16 Florian Weimer <fweimer@redhat.com>
2006
2007 [BZ #14700]
2008 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2009 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2010
e9f37252
MK
20112012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2012
2013 * NEWS: Mention BZ #14716.
2014 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2015 when removing AVAILABLE1_USES_J macro.
2016
d394eb74
L
20172012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2018
2019 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2020 (__bswap_64): __uint64_t for unsigned 64-bit int.
2021
ca38dc17
AS
20222012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2023
2024 * include/string.h (memmem): Declare libc hidden alias.
2025 * string/memmem.c (memmem): Define libc hidden alias.
2026 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2027 __read, __close instead of open, read, close.
2028
9a387d1f
L
20292012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2030
ac49ecaf
L
2031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2032 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2033 global and hidden.
2034 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2035 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2036 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2037 Likewise.
2038 (__rawmemchr_sse2): Likewise.
2039 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2040 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2041 (__strchr_sse2): Likewise.
2042 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2043 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2044 (__strcasecmp_sse2): Likewise.
2045 (__strncasecmp_sse2): Likewise.
2046 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2047 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2048 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2049 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2050 (__strrchr_sse2): Likewise.
2051 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2052 ifunc-impl-list.c.
2053 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2054 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2055 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2056 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2057 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2058 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2059 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2060 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2061 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2062 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2063 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2064 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2065 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2066 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2067 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2068 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2069 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2070 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2071 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2072 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2073 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2074 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2075 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2076 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2077 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2078 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2079 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2080 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2081 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2082 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2083
b090e8ea
L
2084 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2085 global and hidden.
2086 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2087 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2088 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2089 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2090 Likewise.
2091 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2092 Likewise.
2093 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2094 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2095 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2096 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2097 ifunc-impl-list.c.
2098 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2099 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2100 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2101 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2102 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2103 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2104 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2105 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2106 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2107 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2108 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2109 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2110 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2111 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2112 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2113 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2114 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2115 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2116 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2117 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2118 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2119 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2120 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2121 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2122 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2123 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2124 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2125 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2126 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2127 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2128 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2129 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2130 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2131 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2132 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2133 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2134 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2135 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2136 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2137 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2138 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2139
11dd4af6
L
2140 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2141 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2142 * include/ifunc-impl-list.h: New file.
2143 * misc/ifunc-impl-list.c: Likewise.
2144 * misc/Makefile (routines): Add ifunc-impl-list.
2145 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2146 * string/test-string.h: Include <ifunc-impl-list.h>.
2147 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2148 impl_array): New variables.
2149 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2150 are defined.
2151 (test_init): Call __libc_ifunc_impl_list to initialize
2152 func_list if TEST_IFUNC and TEST_NAME are defined.
2153
9a387d1f
L
2154 * string/Makefile (strop-tests): Add bcopy and bzero.
2155 * string/test-bcopy.c: New file.
2156 * string/test-bzero.c: Likewise.
2157 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2158 defined.
2159 * string/test-memset.c: Support bzero test if TEST_BZERO is
2160 defined.
2161 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2162 __libc_memmove.
2163 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2164 __libc_memset.
2165 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2166 of memset.
2167
472371b9
JM
21682012-10-10 Joseph Myers <joseph@codesourcery.com>
2169
1e4a9536
JM
2170 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2171 * configure: Regenerated.
2172
d173d12e
JM
2173 * Makeconfig (+link-static-before-libc): Don't include
2174 $(link-static-libc).
2175
472371b9
JM
2176 * libio/libio.h (_IO_pos_t): Remove.
2177
89a3ad0b
AO
21782012-10-10 Alexandre Oliva <aoliva@redhat.com>
2179
2180 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2181 McGrath.
2182
e7451425
AO
21832012-10-10 Alexandre Oliva <aoliva@redhat.com>
2184
2185 * crypt/crypt-entry.c: Include fips-private.h.
2186 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2187 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2188 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2189 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2190
4ba74a35
AO
21912012-10-10 Alexandre Oliva <aoliva@redhat.com>
2192
2193 * crypt/crypt-private.h: Include stdbool.h.
2194 (_ufc_setup_salt_r): Return bool.
2195 * crypt/crypt-entry.c: Include errno.h.
2196 (__crypt_r): Return NULL with EINVAL for bad salt.
2197 * crypt/crypt_util.c (bad_for_salt): New.
2198 (_ufc_setup_salt_r): Check that salt is long enough and within
2199 the specified alphabet.
2200 * crypt/badsalttest.c: New file.
2201 * crypt/Makefile (tests): Add it.
2202 ($(objpfx)badsalttest): New.
2203
f96f1242
MK
22042012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2205
2206 * NEWS: Add entry for BZ #14602.
2207
0e8e0c1c
JM
22082012-10-09 Joseph Myers <joseph@codesourcery.com>
2209
2210 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2211 type-generic.
2212 * math/libm-test.inc: Update comment listing what functions and
2213 macros are tested.
2214 (isgreater_test): New function.
2215 (isgreaterequal_test): Likewise.
2216 (isless_test): Likewise.
2217 (islessequal_test): Likewise.
2218 (islessgreater_test): Likewise.
2219 (isunordered_test): Likewise.
2220 (main): Call the new functions.
2221
273edc5e
RM
22222012-10-09 Roland McGrath <roland@hack.frob.com>
2223
b8493de0
RM
2224 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2225 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2226 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2227 * sysdeps/i386/configure: Regenerated.
2228 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2229 * sysdeps/mach/configure: Regenerated.
2230 * sysdeps/mach/hurd/configure: Regenerated.
2231 * sysdeps/powerpc/configure: Regenerated.
2232 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2233 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2234 * sysdeps/s390/s390-32/configure: Regenerated.
2235 * sysdeps/s390/s390-64/configure: Regenerated.
2236 * sysdeps/sh/configure: Regenerated.
2237 * sysdeps/sparc/configure: Regenerated.
2238 * sysdeps/unix/sysv/linux/configure: Regenerated.
2239 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2240 * sysdeps/x86_64/configure: Regenerated.
2241
273edc5e
RM
2242 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2243 defined. Don't check if MAP is NULL.
2244
c8450f70
JM
22452012-10-09 Joseph Myers <joseph@codesourcery.com>
2246
2247 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2248 (_G_stat64): Likewise.
2249 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2250 (_G_stat64): Likewise.
2251 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2252 instead of struct _G_stat64.
2253 * libio/fileops.c (mmap_remap_check): Likewise.
2254 (decide_maybe_mmap): Likewise.
2255 (_IO_new_file_seekoff): Likewise.
2256 (_IO_file_stat): Likewise.
2257 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2258 _G_off64_t.
2259 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2260 instead of struct _G_stat64.
2261 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2262
57e605ba
MK
22632012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2264
2265 [BZ #14602]
2266 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2267 Replace with ...
2268 (CHECK_EOL): New macro.
2269 (two_way_short_needle): Check beginning of haystack for EOL. Use
2270 CHECK_EOL.
2271 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2272 Replace with CHECK_EOL.
2273 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2274 Replace with CHECK_EOL.
2275
ef1bb361
JM
22762012-10-08 Joseph Myers <joseph@codesourcery.com>
2277
2278 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2279 type-generic.
2280 * math/libm-test.inc: Update comment listing what functions and
2281 macros are tested.
2282 (finite_test): New function.
2283 (isinf_test): Likewise.
2284 (isnan_test): Likewise.
2285 (fpclassify_test): Test subnormal input.
2286 (isfinite_test): Likewise.
2287 (isnormal_test): Likewise.
2288 (main): Call the new functions.
2289
55f11534
JN
22902012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2291
2292 [BZ #14660]
2293 * Makerules (%.dynsym): Force C locale when running
2294 $(OBJDUMP) --dynamic-syms.
2295
1ab29350
AS
22962012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2297
2298 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2299 <stdint.h>.
2300
f1ecb7ef
DM
23012012-10-06 David S. Miller <davem@davemloft.net>
2302
2303 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2304 upper 32-bits of the length value in %o2 since we use branch-on-register
2305 tests which consider the entire 64-bit register.
2306
5d41d91a
L
23072012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 * string/test-strstr.c (check2): Add a test for page boundary.
2310
3baddb72
DM
23112012-10-05 David S. Miller <davem@davemloft.net>
2312
2313 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2314 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2315 file.
2316 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2317 sysdep_routines.
2318 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2319 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2320 and bzero when HWCAP_SPARC_CRYPTO is present.
2321
9cee5585
L
23222012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2323
d7e0dab9
L
2324 [BZ #14602]
2325 * string/test-strstr.c (check2): New function.
2326 (test_main): Call check2.
2327
03759f47
L
2328 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2329 and bug-strchr1.
2330 * string/bug-strcasestr1.c (do_test): Moved to ...
2331 * string/test-strcasestr.c (check1): Here. New function.
2332 (do_one_test): Break out result checking code into ...
2333 (check_result): This. New function.
2334 (do_one_test): Call check_result.
2335 (test_main): Call check1.
2336 * string/bug-strchr1.c (do_test): Moved to ...
2337 * string/test-strchr.c (check1): Here. New function.
2338 (do_one_test): Break out result checking code into ...
2339 (check_result): This. New function.
2340 (do_one_test): Call check_result.
2341 (test_main): Call check1.
2342 * string/bug-strstr1.c (main): Moved to ...
2343 * string/test-strchr.c (check1): Here. New function.
2344 (do_one_test): Break out result checking code into ...
2345 (check_result): This. New function.
2346 (do_one_test): Call check_result.
2347 (test_main): Call check1.
2348 * string/bug-strcasestr1.c: Removed.
2349 * string/bug-strchr1.c: Likewise.
2350 * string/bug-strstr1.c: Likewise.
2351
53cea63e
L
2352 * elf/Makefile (dl-routines): Add hwcaps.
2353 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2354 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2355 (_dl_important_hwcaps): Moved to ...
2356 * elf/dl-hwcaps.c: Here. New file.
2357 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2358
9cee5585 2359 [BZ #14557]
bb859b06
L
2360 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2361 if IS_IN_rtld isn't defined.
2362
9cee5585
L
2363 * elf/dl-support.c (_dl_sysinfo_map): New.
2364 Include "get-dynamic-info.h" and "setup-vdso.h".
2365 (_dl_non_dynamic_init): Call setup_vdso.
2366 * elf/dynamic-link.h: Don't include <assert.h>.
2367 (elf_get_dynamic_info): Moved to ...
2368 * elf/get-dynamic-info.h: Here. New file.
2369 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2370 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2371 * elf/setup-vdso.h: Here. New file.
2372 * elf/rtld.c: Include "setup-vdso.h".
2373 (dl_main): Call setup_vdso.
2374
23c31b76
JM
23752012-10-05 Joseph Myers <joseph@codesourcery.com>
2376
28234b07
JM
2377 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2378 creal in comment listing functions tested. List finite, isinf,
2379 isnan, isless, islessequal, isgreater, isgreaterequal,
2380 islessgreater, isunordered, lgamma_r and pow10 as functions and
2381 macros not tested. Mention which functions not tested are aliases
2382 for other functions. Fix typo. Note that signs of NaNs are not
2383 tested.
2384
23c31b76
JM
2385 * scripts/config.guess: Update from config.git.
2386 * scripts/config.sub: Likewise.
2387
9043e228
RM
23882012-10-04 Roland McGrath <roland@hack.frob.com>
2389
2390 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2391 * misc/madvise.c (madvise): Renamed to __madvise.
2392 Make madvise a weak alias.
2393 * include/sys/mman.h: Declare __madvise.
2394 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2395 * sysdeps/unix/syscalls.list
2396 (madvise): Make __madvise the strong name, and madvise a weak alias.
2397 * sysdeps/unix/sysv/linux/syscalls.list
2398 (madvise, mmap): Remove redundant entries.
2399 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2400 * malloc/malloc.c (mtrim): Likewise.
2401 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2402
f57f8055
RM
24032012-10-03 Roland McGrath <roland@hack.frob.com>
2404
2405 * sysdeps/mach/hurd/dl-cache.c: File removed.
2406 * config.h.in (USE_LDCONFIG): New #undef.
2407 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2408 * configure: Regenerated.
2409 * elf/Makefile (dl-routines): Add dl-cache only under
2410 [$(use-ldconfig) = yes].
2411 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2412 cache on [USE_LDCONFIG].
2413 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2414 [USE_LDCONFIG].
2415 * elf/rtld.c (dl_main): Likewise.
2416
5bb0c10a
PT
24172012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2418
2419 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2420 _SC_LEVEL4_CACHE_LINESIZE.
2421
010188c6
RM
24222012-10-03 Roland McGrath <roland@hack.frob.com>
2423
2424 * sysdeps/unix/bsd/confstr.h: File removed.
2425
b6c5ec07
AO
24262012-10-02 Alexandre Oliva <aoliva@redhat.com>
2427
2428 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2429 sys/sdt-config.h.
2430
408223d4
RM
24312012-10-02 Roland McGrath <roland@hack.frob.com>
2432
2433 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2434 Make 'mapoff' field ElfW(Off) rather than off_t.
2435
bb9510dc
DL
24362012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2437
fc997c6e
DL
2438 * nscd/Makefile: Remove nscd-cflags and all its users.
2439 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2440 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2441
bb9510dc
DL
2442 [BZ #10631]
2443 * malloc.c (malloc_printerr): Clarify error message.
2444
05699367
L
24452012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2446
2447 [BZ #14648]
2448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2449 Set bit_FMA_Usable if FMA is supported.
2450 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2451 macro.
2452 (bit_FMA4_Usable): Updated.
2453 (index_FMA_Usable): New macro.
2454 (CPUID_FMA): Likewise
2455 (HAS_FMA): Defined with bit_FMA_Usable.
2456
51367701
RM
24572012-10-01 Roland McGrath <roland@hack.frob.com>
2458
2459 * bits/types.h (__swblk_t): Type removed.
2460 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2461 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2462 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2463 (__SWBLK_T_TYPE): Likewise.
2464 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2465 (__SWBLK_T_TYPE): Likewise.
2466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2467 (__SWBLK_T_TYPE): Likewise.
2468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2469 (__SWBLK_T_TYPE): Likewise.
2470
4d57bf63 24712012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2472 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2473
2474 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2475 (xdr_mapname): Use YPMAXMAP as maxsize.
2476 (xdr_peername): Use YPMAXPEER as maxsize.
2477 (xdr_keydat): Use YPAXRECORD as maxsize.
2478 (xdr_valdat): Use YPMAXRECORD as maxsize.
2479
93c65d43
RM
24802012-10-01 Roland McGrath <roland@hack.frob.com>
2481
497a03d6
RM
2482 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2483
93c65d43
RM
2484 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2485 * csu/init-first.c: ... here.
2486 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2487 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2488 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2489 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2490 * sysdeps/i386/init-first.c: File removed.
2491 * sysdeps/sh/init-first.c: File removed.
2492
bec749fd
JM
24932012-10-01 Joseph Myers <joseph@codesourcery.com>
2494
2495 [BZ #14645]
2496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2497 if x * y might underflow to zero and z is zero.
2498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2500 * math/libm-test.inc (min_subnorm_value): New variable.
2501 (fma_test): Add more tests.
2502 (fma_test_towardzero): Likewise.
2503 (fma_test_downward): Likewise
2504 (fma_test_upward): Likewise.
2505 (initialize): Set min_subnorm_value.
2506
8ec5b013
JM
25072012-09-29 Joseph Myers <joseph@codesourcery.com>
2508
2509 [BZ #14638]
2510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2511 0 + 0.
2512 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2513 mode for addition resulting in exact zero.
2514 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2515 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2516 exact 0 + 0.
2517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2518 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2519 * math/libm-test.inc (fma_test): Add more tests.
2520 (fma_test_towardzero): New function.
2521 (fma_test_downward): Likewise.
2522 (fma_test_upward): Likewise.
2523 (main): Call the new functions.
2524
b1fa802e
DM
25252012-09-28 David S. Miller <davem@davemloft.net>
2526
2527 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2528
d3b9fd9e
RM
25292012-09-28 Roland McGrath <roland@hack.frob.com>
2530
ea4d37b3
RM
2531 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2532 instead of SIGALRM.
2533
ac51c949
RM
2534 * sysdeps/gnu/_G_config.h: Moved to ...
2535 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2536 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2537 * sysdeps/generic/_G_config.h: ... here.
2538
28c195f7
RM
2539 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2540
848917f9
RM
2541 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2542
6bacf05b
RM
2543 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2544 Conditionalize target on [libnss_test1.so-version].
2545
91363dbb
RM
2546 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2547
cc87f7d8
RM
2548 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2549 (elfobjdir): Move out of conditionals.
2550
b1c608fe
RM
2551 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2552 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2553 (__nss_lookup_function): Conditionalize label remove_from_tree on
2554 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 2555
1d9a6d96
DM
25562012-09-28 David S. Miller <davem@davemloft.net>
2557
2558 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2559 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2560 file.
2561 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2562 sysdep_routines.
2563 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2565 when HWCAP_SPARC_CRYPTO is present.
2566
72581615
PT
25672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2568
2569 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2570
715a900c
JL
25712012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2572
2573 [BZ #6530]
2574 * stdio-common/vfprintf.c (process_string_arg): Revert
2575 2000-07-22 change.
2576
25772011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2578
2579 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2580 for testcase.
2581 * stdio-common/tst-sprintf.c: Include <locale.h>
2582 (main): Test sprintf's handling of incomplete multibyte
2583 characters.
2584
9bac1d86
L
25852012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 * elf/dl-runtime.c (VERSYMIDX): Removed.
2588 * elf/dl-version.c (VERSYMIDX): Likewise.
2589 * elf/do-rel.h (VERSYMIDX): Likewise.
2590 (VALIDX): Likewise.
2591 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2592 * elf/rtld.c (VALIDX): Likewise.
2593 (ADDRIDX): Likewise.
9bac1d86
L
2594 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2595 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2596 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2597 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2598 (VALIDX): Likewise.
2599 (ADDRIDX): Likewise.
9bac1d86 2600
b31606c0
PT
26012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2602
2603 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2604
11541177
JL
26052012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2606
2607 [BZ #11438]
2608 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2609 to global scope.
2610 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2611 addresses are in the same scope as 192.0.2/24.
2612 * posix/gai.conf: Document new scope table defaults.
2613
adb26fae
SP
26142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2615
2616 [BZ #5298]
2617 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2618 for ftell. Compute offsets from write pointers instead.
2619 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2620
4573c6b0
SP
26212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2622
2623 [BZ #14543]
2624 * libio/Makefile (tests): New test case tst-fseek.
2625 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2626 combination works in wide mode.
2627 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2628 state when the external buffer state changes.
2629
aa9bbfe6
DM
26302012-09-27 David S. Miller <davem@davemloft.net>
2631
2632 [BZ #14376]
2633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2634 pass reloc->r_addend in as the 'high' argument to
2635 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2636
784421e7
DM
2637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2638
c39bc8b8
PT
26392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2640
2641 * rt/tst-aio2.c: Include <pthread.h>.
2642 * rt/tst-aio3.c: Likewise.
2643
1ccc2399
SE
26442012-09-27 Steve Ellcey <sellcey@mips.com>
2645
2646 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2647
31ed4153
L
26482012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2649
25f5f885
L
2650 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2651 contents on [SHARED].
31ed4153 2652
b7bfe116
MP
26532012-09-26 Marek Polacek <polacek@redhat.com>
2654
2655 [BZ #14530]
2656 [BZ #13741]
2657 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2658 for C++ and GCC <4.3 as well as for non GCC compilers.
2659
43c4edba
MT
26602012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2661
2662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2663
6a1bf82f
RM
26642012-09-25 Roland McGrath <roland@hack.frob.com>
2665
2666 * Makefile.in (all, install): Declare with .PHONY.
2667 Reported by Michael Hope <michael.hope@linaro.org>.
2668
8ad11b9a
TMQMF
26692012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2670
2671 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2672 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2673 system header.
2674 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2675 Likewise.
2676 (sydep_routines): Add the new and the internal functions.
2677 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2678 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2680 (GLIBC_2.17): Add the new function.
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2682 (GLIBC_2.17): Likewise.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2684 (GLIBC_2.17): Likewise.
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2686 (GLIBC_2.17): Likewise.
2687 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2688
7e2fca8d
AM
26892012-09-25 Alan Modra <amodra@gmail.com>
2690
2691 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2692 Add release barrier before setting once_control to say
2693 initialisation is done. Add hints on lwarx. Use macro in
2694 place of isync.
2695 (clear_once_control): Add release barrier.
2696
b87c4b24
JM
26972012-09-25 Joseph Myers <joseph@codesourcery.com>
2698
d032e0d2
JM
2699 [BZ #13629]
2700 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2701 specially.
2702 * math/s_clog10.c (__clog10): Likewise.
2703 * math/s_clog10f.c (__clog10f): Likewise.
2704 * math/s_clog10l.c (__clog10l): Likewise.
2705 * math/s_clogf.c (__clogf): Likewise.
2706 * math/s_clogl.c (__clogl): Likewise.
2707 * math/Makefile (libm-calls): Add x2y2m1.
2708 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2709 (__x2y2m1): Likewise.
2710 (__x2y2m1l): Likewise.
2711 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2712 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2713 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2714 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2715 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2716 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2717 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2718 * sysdeps/i386/fpu/libm-test-ulps: Update.
2719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2720
b87c4b24
JM
2721 [BZ #14621]
2722 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2723 int as type of variable DEPTH.
2724 (glob): Use size_t instead of int as type of variables NEWCOUNT
2725 and OLD_PATHC.
2726
6d3bf199
LD
27272012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2728
22bf5c17
LD
2729 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2730 Add s_sincosf-sse2.
2731 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2732 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2733 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2734 macros for using routine as __sincosf_ia32.
2735 Use macro for function declaration and weak_alias.
2736 * sysdeps/i386/fpu/libm-test-ulps: Update.
2737
2738 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2740
2741 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2742 subnormal argument.
2743 * math/s_cexpf.c (__cexpf): Likewise.
2744 * math/s_csinf.c (__csinf): Likewise.
2745 * math/s_csinhf.c (__csinhf): Likewise.
2746 * math/s_ctanf.c (__ctanf): Likewise.
2747 * math/s_ctanhf.c (__ctanhf): Likewise.
2748 * math/s_ccosh.c (__ccoshf): Likewise.
2749 * math/s_cexp.c (__cexpl): Likewise.
2750 * math/s_csin.c (__csin): Likewise.
2751 * math/s_csinh.c (__csinh): Likewise.
2752 * math/s_ctan.c (__ctan): Likewise.
2753 * math/s_ctanh.c (ctanh): Likewise.
2754 * math/s_ccoshl.c (__ccoshl): Likewise.
2755 * math/s_cexpl.c (__cexpl): Likewise.
2756 * math/s_csinl.c (__csinl): Likewise.
2757 * math/s_csinhl.c (__csinhl): Likewise.
2758 * math/s_ctanl.c (__ctanl): Likewise.
2759 * math/s_ctanhl.c (__ctanhl): Likewise.
2760
203e5603
JM
27612012-09-25 Joseph Myers <joseph@codesourcery.com>
2762
2763 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2764 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2765 (_IO_off_t): Define to __off_t, not _G_off_t.
2766 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2767 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2768 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2769 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2770 type of __dummy and __dummy2 fields.
2771 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2772 (_G_ssize_t): Likewise.
2773 (_G_off_t): Likewise.
2774 (_G_pid_t): Likewise.
2775 (_G_uid_t): Likewise.
2776 (_G_wchar_t): Likewise.
2777 (_G_wint_t): Likewise.
2778 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2779 (_G_ssize_t): Likewise.
2780 (_G_off_t): Likewise.
2781 (_G_pid_t): Likewise.
2782 (_G_uid_t): Likewise.
2783 (_G_wchar_t): Likewise.
2784 (_G_wint_t): Likewise.
2785 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2786 (_G_ssize_t): Likewise.
2787 (_G_off_t): Likewise.
2788 (_G_pid_t): Likewise.
2789 (_G_uid_t): Likewise.
2790 (_G_wchar_t): Likewise.
2791 (_G_wint_t): Likewise.
2792
9fab36eb
SP
27932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2794
2795 * malloc/arena.c: Include malloc-sysdep.h.
2796 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2797 is sufficient to shrink the heap or an unmap is needed.
2798 * sysdeps/generic/malloc-sysdep.h: New file. Define
2799 new function check_may_shrink_heap.
2800 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2801 new function check_may_shrink_heap.
2802
2b4f00d1
SP
28032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2804
2805 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2806 comments.
2807
9a9028b1
DL
28082012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2809
57c69bef
DL
2810 * catgets/test-gencat.sh: Add "set -e".
2811 * elf/tst-pathopt.sh: Likewise.
2812 * grp/tst_fgetgrent.sh: Likewise.
2813 * iconvdata/run-iconv-test.sh: Likewise.
2814 * intl/tst-gettext.sh: Likewise.
2815 * intl/tst-gettext2.sh: Likewise.
2816 * intl/tst-gettext4.sh: Likewise.
2817 * intl/tst-gettext6.sh: Likewise.
2818 * intl/tst-translit.sh: Likewise.
2819 * io/ftwtest-sh: Likewise.
2820 * libio/test-freopen.sh: Likewise.
2821 * malloc/tst-mtrace.sh: Likewise.
2822 * posix/globtest.sh: Likewise.
2823 * posix/tst-getconf.sh: Likewise.
2824 * posix/wordexp-tst.sh: Likewise.
2825 * stdio-common/tst-printf.sh: Likewise.
2826 * stdio-common/tst-unbputc.sh: Likewise.
2827 * stdlib/tst-fmtmsg.sh: Likewise.
2828 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2829 * catgets/Makefile: Do not specify -e option when running
2830 testsuite shell scripts.
2831 * elf/Makefile: Likewise.
2832 * grp/Makefile: Likewise.
2833 * iconvdata/Makefile: Likewise.
2834 * intl/Makefile: Likewise.
2835 * io/Makefile: Likewise.
2836 * libio/Makefile: Likewise.
2837 * malloc/Makefile: Likewise.
2838 * posix/Makefile: Likewise.
2839 * stdio-common/Makefile: Likewise.
2840 * stdlib/Makefile: Likewise.
2841 * sysdeps/x86_64/Makefile: Likewise.
2842
9a9028b1
DL
2843 * io/ftwtest-sh: Add copyright header.
2844 * posix/globtest.sh: Likewise.
2845 * posix/tst-getconf.sh: Likewise.
2846 * posix/wordexp-tst.sh: Likewise.
2847 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2848
ced6f16e
L
28492012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2850
94b32c39
L
2851 [BZ #13679]
2852 * Makeconfig (+link): Defined as $(+link-static) if
2853 $(build-shared) isn't yes.
2854 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2855 isn't yes.
2856 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2857
189e935b
L
2858 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2859
ced6f16e
L
2860 [BZ #14562]
2861 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2862 new chunk size with MALLOC_ALIGN_MASK.
2863
a9f8e53a
JM
28642012-09-24 Joseph Myers <joseph@codesourcery.com>
2865
2866 [BZ #5044]
2867 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2868 <rounding-mode.h>.
2869 (__printf_fphex): Determine rounding using get_rounding_mode and
2870 round_away.
2871 * stdio-common/tst-printf-round.c (struct hex_test): New
2872 structure.
2873 (hex_tests): New variable.
2874 (test_hex_in_one_mode): New function.
2875 (do_test): Also run tests for hex float output.
2876
43153109
JM
28772012-09-21 Joseph Myers <joseph@codesourcery.com>
2878
2879 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2880 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2881 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2882 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2883 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2884 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2885 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2887
8a26625d
JM
28882012-09-20 Joseph Myers <joseph@codesourcery.com>
2889
2890 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2891 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2892 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2893 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2894
f3fd569c
DL
28952012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2896
2897 [BZ #14579]
2898 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2899 mode only.
2900 * elf/tst-rtld-load-self.sh: New test.
2901 * elf/Makefile: Run it.
2902
63bbedd4
JM
29032012-09-18 Joseph Myers <joseph@codesourcery.com>
2904
2905 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2906 (tst-writev-ENV): Remove.
2907 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2908
626f8b6a
CM
29092012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2910
2911 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2912
b7aaa4d6
JM
29132012-09-17 Joseph Myers <joseph@codesourcery.com>
2914
2915 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2916 unconditional.
2917 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2918 Likewise.
2919 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2920 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2921 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2922 Likewise.
2923
65513990
L
29242012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 [BZ #14587]
2927 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2928 * config.make.in (have-cpp-asm-debuginfo): Removed.
2929 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2930 * configure: Regenerated.
2931
784761be
JM
29322012-09-14 Joseph Myers <joseph@codesourcery.com>
2933
2934 [BZ #5044]
2935 * stdio-common/printf_fp.c: Include <stdbool.h> and
2936 <rounding-mode.h>.
2937 (___printf_fp): Determine rounding using get_rounding_mode and
2938 round_away.
2939 * stdio-common/tst-printf-round.c: New file.
2940 * stdio-common/Makefile (tests): Add tst-printf-round.
2941 (link-libm): New variable.
2942 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2943
9503345f
L
29442012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2945
2946 [BZ #14576]
2947 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2948 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2949 Likewise.
2950 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2951 Likewise.
2952
ad35fc00
JM
29532012-09-13 Joseph Myers <joseph@codesourcery.com>
2954
2955 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2956 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2957 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2958 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2959
6c9b0f68
JM
29602012-09-12 Joseph Myers <joseph@codesourcery.com>
2961
2962 [BZ #14518]
2963 * include/rounding-mode.h: New file.
2964 * sysdeps/generic/get-rounding-mode.h: Likewise.
2965 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2966 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2967 (MAX_VALUE): New macro.
2968 (MIN_VALUE): Likewise.
2969 (overflow_value): New function.
2970 (underflow_value): Likewise.
2971 (round_and_return): Use overflow_value and underflow_value to
2972 determine return values in overflow and underflow cases. Use
2973 round_away to determine rounding depending on rounding mode.
2974 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2975 determine return values in overflow and underflow cases.
2976 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2977 (struct test_results): New structure.
2978 (struct test): Use struct test_results to store expected results
2979 for all rounding modes.
2980 (TEST): Include expected results for all rounding modes.
2981 (test_in_one_mode): New function.
2982 (do_test): Use test_in_one_mode to compute and check results.
2983 Check results for all rounding modes.
2984 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2985 $(link-libm).
2986
19fcedd5
AM
29872012-12-09 Allan McRae <allan@archlinux.org>
2988
1e9d84cd 2989 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 2990
8bbfd2f1
JM
29912012-09-11 Joseph Myers <joseph@codesourcery.com>
2992
2993 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2994 (_G_int32_t): Likewise.
2995 (_G_uint16_t): Likewise.
2996 (_G_uint32_t): Likewise.
2997 (_G_HAVE_BOOL): Likewise.
2998 (_G_HAVE_ATEXIT): Likewise.
2999 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3000 (_G_HAVE_IO_FILE_OPEN): Likewise.
3001 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3002 (_G_int32_t): Likewise.
3003 (_G_uint16_t): Likewise.
3004 (_G_uint32_t): Likewise.
3005 (_G_HAVE_BOOL): Likewise.
3006 (_G_HAVE_ATEXIT): Likewise.
3007 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3008 (_G_HAVE_IO_FILE_OPEN): Likewise.
3009 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3010 (_G_int32_t): Likewise.
3011 (_G_uint16_t): Likewise.
3012 (_G_uint32_t): Likewise.
3013 (_G_HAVE_BOOL): Likewise.
3014 (_G_HAVE_ATEXIT): Likewise.
3015 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3016 (_G_HAVE_IO_FILE_OPEN): Likewise.
3017
b1dc5912
L
30182012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3019
3020 * csu/libc-tls.c: Update copyright years.
3021
0e886ef9
JM
30222012-09-10 Joseph Myers <joseph@codesourcery.com>
3023
28361c5e
JM
3024 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3025 [!_G_USING_THUNKS]: Remove conditional code.
3026 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3027 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3028
0e886ef9
JM
3029 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3030 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3031 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3032 (_G_VTABLE_LABEL_PREFIX): Likewise.
3033 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3034 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3035 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3036 (_G_VTABLE_LABEL_PREFIX): Likewise.
3037 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3038 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3039 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3040 (_G_VTABLE_LABEL_PREFIX): Likewise.
3041 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3042
bcba7aa2
L
30432012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3044
3045 * libio/Makefile: Include ../Makeconfig before tests.
3046 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3047 only if $(build-shared) is yes.
3048
06585ee8
L
3049 * iconv/gconv_db.c: Update copyright years.
3050
80ccd52c
LD
30512012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3052
3053 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3054 unwind info if defined PIC. Fix special cases description.
3055 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3056
3057 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3058 DP_HI_MASK entry.
3059 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3060
691bc9c1
L
30612012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3062
3d9b46b3
L
3063 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3064
de2139a9
L
3065 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3066 is NULL.
3067
5ca78dd0
L
3068 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3069 (LDLIBS-tst-chk4): This.
3070 (LDFLAGS-tst-chk5): Renamed to ...
3071 (LDLIBS-tst-chk5): This.
3072 (LDFLAGS-tst-chk6): Renamed to ...
3073 (LDLIBS-tst-chk6): This.
3074 (LDFLAGS-tst-lfschk4): Renamed to ...
3075 (LDLIBS-tst-lfschk4): This.
3076 (LDFLAGS-tst-lfschk5): Renamed to ...
3077 (LDLIBS-tst-lfschk5): This.
3078 (LDFLAGS-tst-lfschk6): Renamed to ...
3079 (LDLIBS-tst-lfschk6): This.
3080
691bc9c1
L
3081 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3082 on $(common-objpfx)soversions.mk.
3083
65cafb1c
JM
30842012-09-07 Joseph Myers <joseph@codesourcery.com>
3085
3086 [BZ #10014]
3087 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3088 example host name.
3089
c78ab094
SP
30902012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3091
3092 * malloc/arena.c (arena_get_retry): New function that gets
3093 another arena for the caller to try its request on.
3094 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3095 current arena cannot fulfill the request.
3096 (__libc_memalign): Likewise.
3097 (__libc_memalign): Likewise.
3098 (__libc_pvalloc): Likewise.
3099 (__libc_calloc): Likewise.
3100
01f49f59
JT
31012012-09-05 John Tobey <john.tobey@gmail.com>
3102
3103 [BZ #13542]
3104 * manual/arith.texi (Operations on Complex): Fix description
3105 of carg branch cut.
3106
4c23fed5
JM
31072012-09-06 Joseph Myers <joseph@codesourcery.com>
3108
1d3c8572
JM
3109 [BZ #10014]
3110 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3111 host name.
3112
4c23fed5
JM
3113 [BZ #10038]
3114 * manual/memory.texi (Memory): Make order of menu items match
3115 order of sections.
3116
04570aaa
L
31172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3118
3119 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3120 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3121 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3122
b80af2f4
L
31232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3124
3125 * csu/libc-tls.c (static_dtv): Renamed to ...
3126 (_dl_static_dtv): This. Make it global.
3127 (_dl_initial_dtv): Removed.
3128 (__libc_setup_tls): Updated.
3129 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3130 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3131 DL_INITIAL_DTV.
3132
2abe9f15
PM
31332012-09-06 Petr Machata <pmachata@redhat.com>
3134
3135 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3136 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3137 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3138 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3139
0948c3af
L
31402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3141
3142 [BZ #14545]
3143 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3144 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3145 freeing dtv[-1].
3146
a5055ad1
L
31472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3148
3149 [BZ #14544]
3150 * Makeconfig (link-static-before-libc): Replace $(+prector)
3151 with $(+prectorT).
3152 (link-static-after-libc): Replace $(+postctor) with
3153 $(+postctorT).
3154 (link-bounded): Replace $(+prector)/$(+postctor) with
3155 $(+prectorT)/$(+postctorT).
3156 (+prectorT): New macro.
3157 (+postctorT): Likewise.
3158
ed8c2ecd
JM
31592012-09-06 Joseph Myers <joseph@codesourcery.com>
3160
3161 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3162 (round_str): Handle values above the maximum for IBM long double
3163 as inexact.
3164 * stdlib/tst-strtod-round.c (tests): Regenerated.
3165
14c996c8
AK
31662012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3167
3168 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3169 assembler flag.
3170 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3171 zarch_nohighgprs around the zarch optimized routines.
3172 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3173 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3174 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3175 for zarch.
3176
430d6ce6
DM
31772012-09-05 David S. Miller <davem@davemloft.net>
3178
3179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3180
ff04dda4
DM
3181 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3182 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3183 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3184 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3185 entries.
3186
24d4e01b
AO
31872012-09-05 Alexandre Oliva <aoliva@redhat.com>
3188
3189 * malloc/arena.c: Fold copyright years.
3190 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3191
61d58174
AO
31922012-09-05 Alexandre Oliva <aoliva@redhat.com>
3193
3194 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3195
20196a5e
AO
31962012-09-05 Alexandre Oliva <aoliva@redhat.com>
3197
3198 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3199
5c447383
AO
32002012-09-05 Alexandre Oliva <aoliva@redhat.com>
3201
3202 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3203 change internal state upon failure.
3204
fad64255
AO
32052012-09-05 Alexandre Oliva <aoliva@redhat.com>
3206
3207 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3208 * malloc/memusage.c (mmap): Likewise.
3209 (mmap64, mremap): Likewise. Adjust name in comment.
3210
1ffb8c90
SP
32112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3212
3213 * libio/fileops.c: Fix typos in comments.
3214 * libio/oldfileops.c: Likewise.
3215 * libio/wfileops.c: Likewise.
3216
6ef9cc37
SP
32172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3218
3219 [BZ #1349]
3220 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3221 (tst-malloc-usable-ENV): Set environment for test case.
3222 * malloc/hooks.c (malloc_check_get_size): New function to get
3223 requested size.
3224 * malloc/malloc.c (musable): Use malloc_check_get_size.
3225 * malloc/tst-malloc-usable.c: New test case.
3226
4d038ae3
AS
32272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3228
3229 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3230
c4e85184
AM
32312012-09-05 Allan McRae <allan@archlinux.org>
3232
b9dafc56 3233 [BZ #13966]
c4e85184
AM
3234 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3235 determine header location.
3236 * configure: Regenerated.
3237
e1343020
AS
32382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3239
3240 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3241 float format.
3242 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3243 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3244 format.
e1343020
AS
3245 (test): Regenerate.
3246
0a9f1987
DM
32472012-09-04 David S. Miller <davem@davemloft.net>
3248
3249 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3250 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3251 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3252
29237804
FW
32532012-09-04 Florian Weimer <fweimer@redhat.com>
3254
3255 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3256 failures.
3257
edb3cb88
FW
3258 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3259
60160d83
JM
32602012-09-04 Joseph Myers <joseph@codesourcery.com>
3261
3262 [BZ #9914]
3263 * libio/iogetdelim.c: Include <limits.h>.
3264 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3265 + len + 1 would overflow.
3266
bcd6c8dc
AJ
32672012-09-03 Andreas Jaeger <aj@suse.de>
3268
3269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3270 * sysdeps/i386/fpu/libm-test-ulps: Update.
3271
4ffffbd2
LD
32722012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3273
3274 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3275 Add s_sinf-sse2, s_conf-sse2.
3276
3277 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3278 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3279 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3280 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3281
3282 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3283 for using routine as __sinf_ia32.
3284 Use macro for function declaration and weak_alias.
3285 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3286 for using routine as __cosf_ia32.
3287 Use macro for function declaration and weak_alias.
3288
3289 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3290 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3291
3292 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3293 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3295
3296 * math/libm-test.inc (cos_test): Add more test cases.
3297 (sin_test): Likewise.
3298 (sincos_test): Likewise.
3299
511fa286
AK
33002012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3301
3302 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3303 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3304 hidden.
3305 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3306
5f30cfec
L
33072012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3308
3309 [BZ #14538]
3310 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3311 first element of the GOT.
3312 (elf_machine_load_address): Return the difference between
3313 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3314
0786794f
AM
33152012-09-01 Allan McRae <allan@archlinux.org>
3316
5f30cfec
L
3317 [BZ #13412]
3318 * configure.in (AWK): Require gawk version 3.0 or later.
3319 * configure: Regenerated.
0786794f 3320
26889eac
JM
33212012-09-01 Joseph Myers <joseph@codesourcery.com>
3322
3323 * sysdeps/unix/sysv/linux/kernel-features.h
3324 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3326 [__NR_clock_getres]: Make code unconditional.
3327 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3328 (clock_getcpuclockid): Remove code left unreachable by removal of
3329 conditionals.
3330 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3331 code unconditional.
3332 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3333 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3334 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3335 Make code unconditional.
3336 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3337 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3338 * sysdeps/unix/sysv/linux/clock_settime.c
3339 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3340 conditional code.
3341 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3342 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3343
d22e28b0
L
33442012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3345
3346 [BZ #14476]
3347 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3348 scripts/test-installation.pl.
3349
3350 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3351 and $ld_so_version if it is set.
3352
050af9c4
SP
33532012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3354
3355 [BZ #14516]
3356 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3357 failure if reading from procfs failed.
3358 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3359
ad845c0b
JM
33602012-08-27 Joseph Myers <joseph@codesourcery.com>
3361
3362 * sysdeps/unix/sysv/linux/kernel-features.h
3363 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3364 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3365 Remove conditional code.
3366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3367 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3368 Remove conditional code.
3369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3370 * sysdeps/unix/sysv/linux/i386/fxstat.c
3371 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3373 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3374 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3376 * sysdeps/unix/sysv/linux/i386/lxstat.c
3377 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3379 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3380 Remove conditional code.
3381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3382 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3383 Remove conditional code.
3384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3385 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3386 <kernel-features.h>.
3387 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3388 Remove.
3389 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3390 Remove conditional code.
3391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3392 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3393 Remove conditional.
3394
5dbf56af
MF
33952012-08-27 Mike Frysinger <vapier@gentoo.org>
3396
3397 [BZ #5400]
3398 * NEWS: Add fixed bug number.
3399
d6e70f43
JM
34002012-08-27 Joseph Myers <joseph@codesourcery.com>
3401
7efb4737
JM
3402 [BZ #14519]
3403 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3404 underflowing exponent in case of negative sign.
3405 * stdlib/tst-strtod-round-data: Add more tests.
3406 * stdlib/tst-strtod-round.c (tests): Regenerated.
3407
af92131a
JM
3408 [BZ #3479]
3409 * stdlib/strtod_l.c (NDIG): Remove.
3410 (HEXNDIG): Likewise.
3411 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3412 smallest representable value.
3413 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3414 lie within an exact representation of 1/2 ulp of the result.
3415 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3416 unconditionally.
3417 (TENS_P9_IDX): Define unconditionally.
3418 (TENS_P9_SIZE): Likewise.
3419 (TENS_P10_IDX): Likewise.
3420 (TENS_P10_SIZE): Likewise.
3421 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3422 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3423 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3424 entries for 10^2^13 and 10^2^14.
3425 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3426 (TENS_P13_IDX): Define.
3427 (TENS_P13_SIZE): Likewise.
3428 (TENS_P14_IDX): Likewise.
3429 (TENS_P14_SIZE): Likewise.
3430 (_fpioconst_pow10): Change array size to
3431 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3432 unconditional.
3433 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3434 1024]: Add entries for 10^2^13 and 10^2^14.
3435 [LAST_POW10 > _LAST_POW10]: Remove #error.
3436 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3437 (_fpioconst_pow10): Change array size to
3438 FPIOCONST_POW10_ARRAY_SIZE.
3439 * stdlib/gen-fpioconst.c: New file.
3440 * stdlib/gen-tst-strtod-round.c: Likewise.
3441 * stdlib/tst-strtod-round-data: Likewise.
3442 * stdlib/tst-strtod-round.c: Likewise.
3443 * stdlib/Makefile (tests): Add tst-strtod-round.
3444
d6e70f43
JM
3445 [BZ #14459]
3446 * stdlib/strtod_l.c: Include <stdint.h>.
3447 (NDEBUG): Do not define.
3448 (round_and_return): Change EXPONENT parameter to type intmax_t.
3449 Rearrange calculations to avoid internal overflow possibilities.
3450 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3451 Rearrange calculations to avoid internal overflow possibilities.
3452 Assert that number fits inside MPNSIZE limbs.
3453 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3454 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3455 calculations and add assertions to avoid internal overflow
3456 possibilities. Add casts to avoid signed/unsigned operations.
3457 * stdlib/tst-strtod-overflow.c: New file.
3458 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3459
1f529f7d
MP
34602012-08-25 Marek Polacek <polacek@redhat.com>
3461
3462 * time/time.h: Fix some typos in comments.
3463
59a629f1
RM
34642012-08-23 Roland McGrath <roland@hack.frob.com>
3465
3466 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3467 * posix/tst-rfc3484-2.c: Likewise.
3468 * posix/tst-rfc3484-3.c: Likewise.
3469
d3bafbc9
SM
34702012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3471
3472 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3473 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3474
4efcc022
JM
34752012-08-23 Joseph Myers <joseph@codesourcery.com>
3476
3477 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3478 #include of fxstatat64.c.
3479
3cc3ef96
RM
34802012-08-22 Roland McGrath <roland@hack.frob.com>
3481
f04e2132
RM
3482 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3483 * shadow/getspent_r.c: Likewise.
3484 * shadow/getspnam.c: Likewise.
3485 * shadow/getspnam_r.c: Likewise.
3486 * gshadow/getsgent.c: Likewise.
3487 * gshadow/getsgent_r.c: Likewise.
3488 * gshadow/getsgnam.c: Likewise.
3489 * gshadow/getsgnam_r.c: Likewise.
3490 * inet/getnetbyad.c: Likewise.
3491 * inet/getnetbyad_r.c: Likewise.
3492 * inet/getnetbynm.c: Likewise.
3493 * inet/getnetbynm_r.c: Likewise.
3494 * inet/getnetent.c: Likewise.
3495 * inet/getnetent_r.c: Likewise.
3496 * inet/getproto.c: Likewise.
3497 * inet/getproto_r.c: Likewise.
3498 * inet/getprtent.c: Likewise.
3499 * inet/getprtent_r.c: Likewise.
3500 * inet/getprtname.c: Likewise.
3501 * inet/getprtname_r.c: Likewise.
3502 * inet/getrpcbyname.c: Likewise.
3503 * inet/getrpcbyname_r.c: Likewise.
3504 * inet/getrpcbynumber.c: Likewise.
3505 * inet/getrpcbynumber_r.c: Likewise.
3506 * inet/getrpcent.c: Likewise.
3507 * inet/getrpcent_r.c: Likewise.
3508 * inet/getaliasent.c: Likewise.
3509 * inet/getaliasent_r.c: Likewise.
3510 * inet/getaliasname.c: Likewise.
3511 * inet/getaliasname_r.c: Likewise.
3512 * nscd/getgrgid_r.c: Likewise.
3513 * nscd/getgrnam_r.c: Likewise.
3514 * nscd/gethstbyad_r.c: Likewise.
3515 * nscd/gethstbynm3_r.c: Likewise.
3516 * nscd/getpwnam_r.c: Likewise.
3517 * nscd/getpwuid_r.c: Likewise.
3518 * nscd/getsrvbynm_r.c: Likewise.
3519 * nscd/getsrvbypt_r.c: Likewise.
3520 * nscd/gai.c: Likewise.
3521
c53d909c
RM
3522 * configure.in (build_nscd): New substituted variable, set
3523 by --disable-build-nscd and defaults to $use_nscd.
3524 * configure: Regenerated.
3525 * config.make.in (build-nscd): New substituted variable.
3526 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3527 Change conditional to require [$(build-nscd) = yes] as well.
3528 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3529
3cc3ef96
RM
3530 [BZ# 13696]
3531 * configure.in (use_nscd): New substituted variable, set by
3532 --disable-nscd. If enabled, define USE_NSCD.
3533 * configure: Regenerated.
3534 * config.h.in: Add USE_NSCD.
3535 * config.make.in (use-nscd): New substituted variable.
3536 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3537 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3538 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3539 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3540 (CFLAGS-getgrnam_r.c): Likewise.
3541 (CFLAGS-initgroups.c): Likewise.
3542 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3543 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3544 Variables removed.
3545 * inet/getnetgrent_r.c
3546 (nscd_setnetgrent): New function, broken out of ...
3547 (setnetgrent): ... here. Call it.
3548 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3549 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3550 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3551 * nscd/Makefile (routines, aux): Move definitions after include of
3552 Makeconfig. Conditionalize on [$(use-nscd) != no].
3553 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3554 Conditionalize on [USE_NSCD].
3555 (is_nscd, nscd_init_cb): Likewise.
3556 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3557 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3558 * nss/nss_db/db-init.c: Likewise.
3559 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3560 [USE_NSCD].
3561 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3562 (make_request): Use it.
3563 (cache_valid_p): New function.
3564 (__check_pf): Use it.
3565 * NEWS: Add item for --disable-nscd.
3566
07e51550
DL
35672012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3568
3569 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3570 to support sed >= 4.2.1-20-ga9bf076.
3571 * configure: Regenerated.
3572
35a5b08b
RM
35732012-08-22 Roland McGrath <roland@hack.frob.com>
3574
3575 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3576 Conditionalize whole body on [IREL].
3577
8479f23a
JL
35782012-08-22 Jeff Law <law@redhat.com>
3579
3580 [BZ #14505]
3581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3582 if the family is PF_UNSPEC.
3583
48da0b21
MF
35842012-08-22 Mike Frysinger <vapier@gentoo.org>
3585
3586 * Makerules (lib-version): Rename from V.
3587 (install-lib-nosubdir): Change V to lib-version.
3588
15d0da8c
WS
35892012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3590
3591 [BZ #14252]
3592 * powerpc32/power6/wcschr.c: New file.
3593 * powerpc32/power6/wcscpy.c: New file.
3594 * powerpc32/power6/wcsrchr.c: New file.
3595 * powerpc64/power6/wcschr.c: New file.
3596 * powerpc64/power6/wcscpy.c: New file.
3597 * powerpc64/power6/wcsrchr.c: New file.
3598
bcca0895
MK
35992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3600
3601 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3602 (two_way_short_needle): Use it.
5a4aaa33
RM
3603 * string/strstr.c (AVAILABLE1_USES_J): Define.
3604 * string/strcasestr.c: Likewise.
99677e57
MK
3605
3606 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3607 array references.
3608 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3609
400726de
MK
3610 [BZ #11607]
3611 * NEWS: Add an entry.
3612 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3613 define their defaults.
3614 (two_way_short_needle): Detect end-of-string on-the-fly.
3615 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3616 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3617 * string/bug-strcasestr1.c: New test.
3618 * string/Makefile: Run it.
3619
20a71f2c
MK
36202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3621
3622 [BZ #11607]
3623 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3624 the first character.
3625
21ad0558
RM
36262012-08-21 Roland McGrath <roland@hack.frob.com>
3627
3628 * csu/elf-init.c (__libc_csu_irel): Function removed.
3629 * csu/libc-start.c (apply_irel): New function.
3630 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3631
0e1d9911
JM
36322012-08-21 Joseph Myers <joseph@codesourcery.com>
3633
3634 * sysdeps/unix/sysv/linux/kernel-features.h
3635 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3636 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3637 <kernel-features.h>.
3638 [__NR_fadvise64_64]: Make code unconditional.
3639 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3640 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3641 !__NR_fadvise64_64)]: Likewise.
3642 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3643 !__NR_fadvise64_64))]: Likewise.
3644 [__NR_fadvise64]: Make code unconditional.
3645 [!__NR_fadvise64]: Remove conditional code.
3646 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3647 <kernel-features.h>.
3648 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3649 unconditional.
3650 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3651 conditional code.
3652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3653 not include <kernel-features.h>.
3654 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3655 unconditional.
3656 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3657 conditional code.
3658 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3659 include <kernel-features.h>.
3660 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3661 unconditional.
3662 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3663 conditional code.
3664
14a50c9d
WS
36652012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3666
3667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3668 slight instruction rearrangements per scrollpipe analysis.
3669 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3670
c0f4faf0
RM
36712012-08-20 Roland McGrath <roland@hack.frob.com>
3672
696da859
RM
3673 * manual/syslog.texi (syslog; vsyslog, closelog):
3674 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3675 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3676
c0f4faf0
RM
3677 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3678 DSOCAPS to match condition on defining it.
3679
348363b2
JM
36802012-08-20 Joseph Myers <joseph@codesourcery.com>
3681
a35cbf28
JM
3682 * sysdeps/unix/sysv/linux/kernel-features.h
3683 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3685 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3686 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3688 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3689 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3691 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3692 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3693
445f7ecd
JM
3694 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3695 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3696
348363b2
JM
3697 * sysdeps/unix/sysv/linux/kernel-features.h
3698 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3699 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3700 unconditional.
3701 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3702 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3703 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3704 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3705 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3706 Make code unconditional.
3707 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3708 (__mmap64) [!__NR_mmap2]: Likewise.
3709 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3710 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3711 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3712 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3713 [__NR_mmap2]: Make code unconditional.
3714 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3715 (__mmap64) [!__NR_mmap2]: Likewise.
3716
bc5bc0e5
AK
37172012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3718
3719 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3720
88d506de
AJ
37212012-08-18 Andreas Jaeger <aj@suse.de>
3722
3723 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3724
493387d2
MF
37252012-08-18 Mike Frysinger <vapier@gentoo.org>
3726
3727 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3728 * include/unistd.h (__have_sock_cloexec): Likewise.
3729 (__have_pipe2): Likewise.
3730 (__have_dup3): Likewise.
3731
a277af22
MF
37322012-08-18 Mike Frysinger <vapier@gentoo.org>
3733
3734 [BZ #9685]
3735 * include/unistd.h (__have_pipe2): Change define into an extern int.
3736 (__have_dup3): Likewise.
3737 * socket/have_sock_cloexec.c: Include fcntl.h.
3738 (__have_pipe2): New variable.
3739 (__have_dup3): Likewise.
3740
fdab8fd3
MF
37412012-08-17 Mike Frysinger <vapier@gentoo.org>
3742
3743 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3744
31035e80
MP
37452012-08-17 Marek Polacek <polacek@redhat.com>
3746
3747 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3748 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3749
3bd9e993
RM
37502012-08-17 Roland McGrath <roland@hack.frob.com>
3751
c91c505f
RM
3752 * configure.in: Add AC_SUBST for sysheaders.
3753 * configure: Regenerated.
3754 * config.make.in (sysheaders): New substituted variable.
3755
7c6f9d53
RM
3756 * sysdeps/unix/mkfifo.c: Moved ...
3757 * sysdeps/posix/mkfifo.c: ... here.
3758 * sysdeps/unix/mkfifoat.c: Moved ...
3759 * sysdeps/posix/mkfifoat.c: ... here.
3760
3761 * sysdeps/unix/utime.c: Moved ...
3762 * sysdeps/posix/utime.c: ... here.
3763
3764 * sysdeps/unix/time.c: Moved ...
3765 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3766 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3767 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3768
3769 * sysdeps/unix/nice.c: Moved ...
3770 * sysdeps/posix/nice.c: ... here.
3771
3772 * sysdeps/unix/alarm.c: Moved ...
3773 * sysdeps/posix/alarm.c: ... here.
3774
3bd9e993
RM
3775 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3776
d1f09384
JL
37772012-08-17 Jeff Law <law@redhat.com>
3778
3779 * intl/Makefile (codeset_mo): New variable.
3780 ($(codeset_mo)): New target.
3781 (tst-codeset.out): Depend on that. Remove explicit rule.
3782 (tst-gettext3.out, tst-gettext5.out): Likewise.
3783 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3784 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3785 * intl/tst-codeset.sh: Remove.
3786 * intl/tst-gettext3.sh: Likewise.
3787 * intl/tst-gettext5.sh: Likewise.
3788
2ae1ae5c
RM
37892012-08-17 Roland McGrath <roland@hack.frob.com>
3790
c31fdb83
RM
3791 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3792 * sysdeps/unix/syscalls.list: ... here.
3793
a0844057
RM
3794 * sysdeps/posix/getaddrinfo.c
3795 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3796 (gaiconf_init, gaiconf_reload): Use them.
3797 [!_STATBUF_ST_NSEC]
3798 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3799 Define using time_t rather than struct timespec.
3800
750c1f2a
RM
3801 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3802 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3803 Macros removed.
3804 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3805 [!NO_THREADS].
3806 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3807 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3808 Likewise.
3809
2ae1ae5c
RM
3810 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3811 __libc_cleanup_push argument.
3812
e66a42f5
RM
3813 * bits/param.h: New file.
3814 * misc/sys/param.h: New file.
3815 * include/sys/param.h: New file.
3816 * misc/Makefile (headers): Add bits/param.h.
3817 * sysdeps/generic/sys/param.h: File removed.
3818 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3819 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3820 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 3821 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 3822
b7c08a66
RM
3823 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3824 last change.
3825
b2e1c562
RM
3826 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3827 [_IO_MTSAFE_IO].
3828 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3829 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3830 New macros.
3831
c75ccd4c
RM
3832 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3833 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3834 rather than -D_IO_MTSAFE_IO conditionally.
3835 * stdio-common/Makefile (CPPFLAGS): Likewise.
3836 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3837 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3838 Use $(libio-mtsafe).
3839 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3840 of -D_IO_MTSAFE_IO.
3841 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3842 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3843 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3844 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3845 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3846 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3847 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3848 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3849 (CFLAGS-fread_u_chk.c): Likewise.
3850 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3851 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3852 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3853 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3854 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3855 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3856 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3857 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3858 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3859
3860 * libio/Makefile: Test [$(libc-reentrant) = yes]
3861 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3862
3863 * Makeconfig
3864 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3865 * sysdeps/pthread/configure: File removed.
3866 * sysdeps/pthread/Makeconfig: New file.
3867 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3868 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3869
d9195db8
GB
38702012-08-16 Gary Benson <gbenson@redhat.com>
3871
3872 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3873 unmapping the first object in a namespace.
3874
86466cd9
RM
38752012-08-16 Roland McGrath <roland@hack.frob.com>
3876
3877 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3878 (__internal_setnetgrent): ... this. Add internal_function to
3879 definition. Add libc_hidden_def.
3880 (setnetgrent): Update caller.
3881 (internal_endnetgrent): Renamed to ...
3882 (__internal_endnetgrent): ... this. Add internal_function to
3883 definition. Add libc_hidden_def.
3884 (endnetgrent): Update caller.
3885 (internal_getnetgrent_r): Renamed to ...
3886 (__internal_getnetgrent_r): ... this. Add internal_function to
3887 definition. Add libc_hidden_def.
3888 (__getnetgrent_r): Update caller.
3889 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3890
c3c8283c
JM
38912012-08-16 Joseph Myers <joseph@codesourcery.com>
3892
3893 * stdlib/longlong.h: Update from GCC.
3894
db1ee0a8
RM
38952012-08-16 Roland McGrath <roland@hack.frob.com>
3896
3897 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3898 on _QL, which is set by umul_ppmm but never used.
3899 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3900 variables, which are set by GMP macros but never used.
3901 * stdio-common/_itowa.c (_itowa): Likewise.
3902 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3903 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3904
30f69637
CD
39052012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3906
3907 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3908 struct La_sh_regs is not constant.
3909 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3910 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3911 and struct La_sparc64_regs are not constant.
3912
93a78ac4
JM
39132012-08-16 Joseph Myers <joseph@codesourcery.com>
3914
3915 * sysdeps/unix/sysv/linux/kernel-features.h
3916 (__ASSUME_POSIX_TIMERS): Remove.
3917 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3918 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3919 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3920 Make code unconditional.
3921 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3922 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3923 Make code unconditional.
3924 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3925 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3926 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3927 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3928 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3929 Make code unconditional.
3930 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3931 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3932 (__libc_missing_posix_timers): Remove.
3933
dd924cd7
RM
39342012-08-15 Roland McGrath <roland@hack.frob.com>
3935
4b4f2771
RM
3936 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3937 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3938
601c888b
RM
3939 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3940
176790a7
RM
3941 * elf/dl-sym.c: Include <stdlib.h>.
3942
329bc018
RM
3943 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3944 constants, which avoids warnings in 32-bit builds.
3945
e04e272d
RM
3946 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3947 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3948
952bf94a
RM
3949 * misc/lseek.c: File moved to ...
3950 * io/lseek.c: ... here.
3951
7c99b50a
RM
3952 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3953
dd924cd7
RM
3954 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3955 shifting LEN more than 31 bits at once.
3956
b3f479a8
LD
39572012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3958
3959 [BZ #14195]
8c4ae0d4
RM
3960 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3961 segmentation fault for a case of two empty input strings.
b3f479a8
LD
3962 * string/test-strncasecmp.c (check1): Renamed to...
3963 (bz12205): ...this.
3964 (bz14195): Add new testcase for two empty input strings and N > 0.
3965 (test_main): Call new testcase, adapt for renamed function.
3966
9c55864e
AJ
39672012-08-15 Andreas Jaeger <aj@suse.de>
3968
3969 [BZ #14090]
3970 * crypt/md5test2.c: New test, based on test supplied by Serge
3971 Belyshev <belyshev@depni.sinp.msu.ru>.
3972 * crypt/Makefile (xtests): Add md5test-giant..
3973 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3974
02dcb6c5
PE
39752012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3976
3977 [BZ #14090]
3978 * crypt/md5.c (md5_process_block): Don't assume the buffer
3979 length is less than 2**32.
3980 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3981 length is less than 2**64.
3982
a3f95dcc
RM
39832012-08-15 Roland McGrath <roland@hack.frob.com>
3984
be75d758
RM
3985 * string/str-two-way.h: Include <sys/param.h>.
3986 (MAX): Macro removed.
3987
7312ca90
RM
3988 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3989 Move #define and #undef of memmove to just before and after
3990 including <string.h>.
3991
9a0a5486
RM
3992 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3993 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3994 and after including <string.h>. Move declarations of
3995 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3996 to before #include "string/memmove.c".
3997
67cc348d
RM
3998 * include/dirent.h: Declare __getdirentries.
3999
a3f95dcc
RM
4000 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4001 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4002
ca98e171
MF
40032012-08-14 Mike Frysinger <vapier@gentoo.org>
4004
4005 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4006 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4007 * sysdeps/i386/configure: Regenerated.
4008 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4009 STABS_CURRENT_FILE, and STABS_FUN.
4010 (END): Remove call to STABS_FUN_END.
4011 (STABS_CURRENT_FILE1): Delete.
4012 (STABS_CURRENT_FILE): Likewise.
4013 (STABS_FUN): Likewise.
4014 (STABS_FUN_END): Likewise.
4015 (STABS_FUN2): Likewise.
4016 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4017 * sysdeps/x86_64/configure: Regenerated.
4018
5908bf46
RM
40192012-08-14 Roland McGrath <roland@hack.frob.com>
4020
4021 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4022 * elf/dl-lookup.c: Likewise.
5908bf46 4023
f2c05b9e
JM
40242012-08-14 Joseph Myers <joseph@codesourcery.com>
4025
4026 * sysdeps/unix/sysv/linux/kernel-features.h
4027 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4028 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4029 unconditionally.
4030 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4031 unconditionally.
4032 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4033 condition on __ASSUME_CLONE_THREAD_FLAGS.
4034
e11f5155
AJ
40352012-08-14 Andreas Jaeger <aj@suse.de>
4036
4037 * sysdeps/i386/fpu/libm-test-ulps: Update.
4038
51a9ba86
MK
40392012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4040
2fdd4f78
AJ
4041 * include/atomic.h (atomic_exchange_and_add): Split into ...
4042 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4043 New atomic macros.
51a9ba86 4044
ba6cba9e
MT
40452012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4046
4047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4048
42443a47
JL
40492012-08-13 Jeff Law <law@redhat.com>
4050
4051 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4052 null byte in the output string.
4053
121dce05
JM
40542012-08-10 Joseph Myers <joseph@codesourcery.com>
4055
4056 * sysdeps/unix/sysv/linux/kernel-features.h
4057 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4058 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4059 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4060 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4061 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4062 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4063 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4064
bf51f568
JL
40652012-08-09 Jeff Law <law@redhat.com>
4066
4067 [BZ #13939]
4068 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4069 When avoid_arena is set, don't retry in the that arena. Pick the
4070 next one, whatever it might be.
4071 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4072 (arena_lock): Pass in new parameter to arena_get2.
4073 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4074 arena_get2.
4075 (__libc_malloc): Unify retrying after main arena failure with
4076 __libc_memalign version.
4077 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4078
f85fa270
L
40792012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4080
4081 [BZ #14166]
4082 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4083 to __redirect_strstr.
4084 (__strstr_sse42): Use typeof __redirect_strstr.
4085 (__strstr_ia32): Likewise.
4086 (__libc_strstr): New prototype.
4087 (strstr): Renamed to ...
4088 (__libc_strstr): This.
4089 (strstr): New strong alias of __libc_strstr.
4090 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4091 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4092 __redirect_time.
4093 Include <time.h>.
4094 (__libc_time): New prototype.
4095 (time_ifunc): Replace time with __libc_time.
4096 (time): New strong alias and hidden definition of __libc_time.
4097 (__GI_time): Remove strong alias.
4098 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4099 Include <stddef.h>.
4100 (memmove): Redefined to __redirect_memmove.
4101 (__memmove_sse2): Use typeof __redirect_memmove.
4102 (__memmove_ssse3): Likewise.
4103 (__memmove_ssse3_back): Likewise.
4104 (__libc_memmove): New prototype.
4105 (memmove): Renamed to ...
4106 (__libc_memmove): This.
4107 (memmove): New strong alias of __libc_memmove.
4108
33b4a91e
MS
41092012-08-08 Mark Salter <msalter@redhat.com>
4110
4111 * elf/elf.h
4112 (R_MN10300_TLS_GD): Define.
4113 (R_MN10300_TLS_LD): Likewise.
4114 (R_MN10300_TLS_LDO): Likewise.
4115 (R_MN10300_TLS_GOTIE): Likewise.
4116 (R_MN10300_TLS_IE): Likewise.
4117 (R_MN10300_TLS_LE): Likewise.
4118 (R_MN10300_TLS_DTPMOD): Likewise.
4119 (R_MN10300_TLS_DTPOFF): Likewise.
4120 (R_MN10300_TLS_TPOFF): Likewise.
4121 (R_MN10300_SYM_DIFF): Likewise.
4122 (R_MN10300_ALIGN): Likewise.
4123 (R_MN10300_NUM): Update.
4124
b36137f1
JM
41252012-08-08 Joseph Myers <joseph@codesourcery.com>
4126
4127 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4128 Remove.
4129
cdd915fd
RM
41302012-08-08 Roland McGrath <roland@hack.frob.com>
4131
a2433aac
RM
4132 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4133
cdd915fd
RM
4134 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4135 sysdeps/unix -> sysdeps/posix move.
4136 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4137
bf9b740a
AM
41382012-08-07 Allan McRae <allan@archlinux.org>
4139
4140 [BZ #14303]
4141 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4142 (SUNOS_CPP): Likewise.
4143 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4144 not found.
4145 (open_input): Call CPP using execvp.
4146
93df14ee
JM
41472012-08-07 Joseph Myers <joseph@codesourcery.com>
4148
4149 * sysdeps/unix/sysv/linux/kernel-features.h
4150 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4151 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4152 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4153 (__ASSUME_WAITID_SYSCALL): Likewise.
4154 * sysdeps/unix/sysv/linux/dl-execstack.c
4155 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4156 code unconditional.
4157 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4158 conditional code.
4159 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4160 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4161 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4162 code.
4163 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4164 unconditional.
4165 [__ASSUME_WAITID_SYSCALL]: Likewise.
4166 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4167
d34689de
RM
41682012-08-07 Roland McGrath <roland@hack.frob.com>
4169
a281decc
RM
4170 * sysdeps/unix/closedir.c: Renamed to ...
4171 * sysdeps/posix/closedir.c: ... here.
4172 * sysdeps/unix/dirfd.c: Renamed to ...
4173 * sysdeps/posix/dirfd.c: ... here.
4174 * sysdeps/unix/dirstream.h: Renamed to ...
4175 * sysdeps/posix/dirstream.h: ... here.
4176 * sysdeps/unix/fdopendir.c: Renamed to ...
4177 * sysdeps/posix/fdopendir.c: ... here.
4178 * sysdeps/unix/opendir.c: Renamed to ...
4179 * sysdeps/posix/opendir.c: ... here.
4180 * sysdeps/unix/readdir.c: Renamed to ...
4181 * sysdeps/posix/readdir.c: ... here.
4182 * sysdeps/unix/readdir_r.c: Renamed to ...
4183 * sysdeps/posix/readdir_r.c: ... here.
4184 * sysdeps/unix/rewinddir.c: Renamed to ...
4185 * sysdeps/posix/rewinddir.c: ... here.
4186 * sysdeps/unix/seekdir.c: Renamed to ...
4187 * sysdeps/posix/seekdir.c: ... here.
4188 * sysdeps/unix/telldir.c: Renamed to ...
4189 * sysdeps/posix/telldir.c: ... here.
4190 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4191 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4192 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4193 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4194
22895b47
RM
4195 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4196 * bits/fcntl.h: ... here.
4197
707a53b6
RM
4198 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4199 not 0.
4200 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4201 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4202 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4203 (struct flock): Move l_start, l_len to the beginning.
4204 Use __pid_t for l_pid.
4205 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4206 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4207 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4208 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4209 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4210 [__USE_LARGEFILE64] (struct flock64): New type.
4211 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4212
f0bd3e25
RM
4213 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4214 * bits/dirent.h: ... here.
4215
d34689de
RM
4216 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4217 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4218
6dad2c06
JM
42192012-08-07 Joseph Myers <joseph@codesourcery.com>
4220
4221 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4222 Change from 2.6.0 to 2.6.16.
4223 * sysdeps/unix/sysv/linux/configure: Regenerated.
4224 * sysdeps/unix/sysv/linux/kernel-features.h
4225 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4226 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4227 version.
4228 (__ASSUME_UTIMES): Likewise.
4229 (__ASSUME_CLONE_STOPPED): Remove.
4230 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4231 architectures, not kernel version.
4232 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4233 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4234 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4235 (__ASSUME_WAITID_SYSCALL): Likewise.
4236 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4237 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4238 * README: State 2.6.16 as minimum Linux kernel version. Do not
4239 refer to older versions.
4240
03af9520
RM
42412012-08-06 Roland McGrath <roland@hack.frob.com>
4242
8e49df1d
RM
4243 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4244 Define alphasort64 as an alias.
4245 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4246 Define versionsort64 as an alias.
4247 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4248 Define scandir64 as an alias.
4249 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4250 Define scandirat64 as an alias.
4251 * dirent/alphasort64.c (alphasort64):
4252 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4253 * dirent/versionsort64.c: Likewise.
4254 * dirent/scandir64.c: Likewise.
4255 * dirent/scandirat64.c: Likewise.
4256 * sysdeps/wordsize-64/alphasort.c: File removed.
4257 * sysdeps/wordsize-64/alphasort64.c: File removed.
4258 * sysdeps/wordsize-64/scandir.c: File removed.
4259 * sysdeps/wordsize-64/scandir64.c: File removed.
4260 * sysdeps/wordsize-64/scandirat.c: File removed.
4261 * sysdeps/wordsize-64/scandirat64.c: File removed.
4262 * sysdeps/wordsize-64/versionsort.c: File removed.
4263 * sysdeps/wordsize-64/versionsort64.c: File removed.
4264 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4266 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4267 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4268 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4269 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4270 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4271 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4272
4273 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4275 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4277 [defined __arch64__ || defined __sparcv9]
4278 (__INO_T_MATCHES_INO64_T): New macro.
4279 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4280 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4281 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4282 * sysdeps/unix/sysv/linux/bits/dirent.h
4283 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4284 (_DIRENT_MATCHES_DIRENT64): New macro.
4285
03af9520
RM
4286 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4287 Define lockf64 as an alias.
4288 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4289 Define fseeko64 as an alias.
4290 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4291 Define ftello64 as an alias.
4292 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4293 Define _IO_fgetpos64 and fgetpos64 as aliases.
4294 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4295 Define _IO_fsetpos64 and fsetpos64 as aliases.
4296 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4297 Conditionalize body on this.
4298 * libio/fseeko64.c: Likewise.
4299 * libio/ftello64.c: Likewise.
4300 * libio/iofgetpos64.c: Likewise.
4301 * libio/iofsetpos64.c: Likewise.
4302 * sysdeps/wordsize-64/lockf.c: File removed.
4303 * sysdeps/wordsize-64/lockf64.c: File removed.
4304 * sysdeps/wordsize-64/fseeko.c: File removed.
4305 * sysdeps/wordsize-64/fseeko64.c: File removed.
4306 * sysdeps/wordsize-64/ftello.c: File removed.
4307 * sysdeps/wordsize-64/ftello64.c: File removed.
4308 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4309 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4310 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4311 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4312 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4313 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4314 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4315 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4316 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4317 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4318 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4319 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4320 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4322
4323 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4324 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4325 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4326 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4327 [defined __arch64__ || defined __sparcv9]
4328 (__OFF_T_MATCHES_OFF64_T): New macro.
4329 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4330 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4332 (__OFF_T_MATCHES_OFF64_T): New macro.
4333
c5757acd
L
43342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4335
4336 * stdlib/secure-getenv.c (__secure_getenv): Replace
4337 GLIBC_2_16 with GLIBC_2_17.
4338
3a31811e
L
43392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4340
4341 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4342 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4343
faa2bccb
DM
43442012-08-03 David S. Miller <davem@davemloft.net>
4345
4346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4347
85fe1997
JM
43482012-08-03 Joseph Myers <joseph@codesourcery.com>
4349
4350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4351 Remove.
4352 (__ASSUME_CORRECT_SI_PID): Likewise.
4353 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4354 (__ASSUME_TMPFS_NAME): Likewise.
4355 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4356 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4357 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4358 (HAVE_AUX_SECURE): Make definition unconditional.
4359 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4360 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4361
4f75b7a0
RM
43622012-08-03 Roland McGrath <roland@hack.frob.com>
4363
4364 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4365 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4366 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4367 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4368 __eloop_threshold instead of SYMLOOP_MAX.
4369
4370 * sysdeps/generic/eloop-threshold.h: New file.
4371 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4372 of MAXSYMLINKS.
4373 * elf/chroot_canon.c (chroot_canon): Likewise.
4374
7aab07e4
JM
43752012-08-03 Joseph Myers <joseph@codesourcery.com>
4376
4377 [BZ #13717]
4378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4379 Change to 2.6.0 everywhere.
4380 * sysdeps/unix/sysv/linux/configure: Regenerated.
4381 * sysdeps/unix/sysv/linux/kernel-features.h
4382 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4383 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4384 kernel versions.
4385 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4386 (__ASSUME_FUTEX_REQUEUE): Remove.
4387 (__ASSUME_STATFS64): Define unconditionally.
4388 (__ASSUME_AT_SECURE): Likewise.
4389 (__ASSUME_CORRECT_SI_PID): Likewise.
4390 (__ASSUME_TGKILL): Define without depending on kernel version for
4391 i386.
4392 (__ASSUME_UTIMES): Likewise.
4393 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4394 kernel version.
4395 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4396 (__ASSUME_TMPFS_NAME): Likewise.
4397 * README: Update reference to Linux kernel versions.
4398
b67e9372
MP
43992012-08-02 Marek Polacek <polacek@redhat.com>
4400
1f529f7d 4401 [BZ# 14150]
b67e9372
MP
4402 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4403 libc_cv_asm_type_prefix with %.
4404 * configure: Regenerated.
d2441631
RM
4405 * include/libc-symbols.h: Remove comment about
4406 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4407 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4408 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4409 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4410 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4411 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4412 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4413 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4414 * elf/tst-unique2mod1.c: Likewise.
4415 * elf/tst-unique1mod2.c: Likewise.
4416 * elf/tst-unique1mod1.c: Likewise.
4417 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4418 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4419 Replace ASM_TYPE_DIRECTIVE with .type.
4420 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4421 * sysdeps/i386/sysdep.h: Likewise.
4422 * sysdeps/x86_64/sysdep.h: Likewise.
4423 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4425 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4426 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4427 * sysdeps/powerpc/powerpc32/sysdep.h:
4428 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4429 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4430 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4431 * sysdeps/i386/fpu/e_powf.S: Likewise.
4432 * sysdeps/i386/fpu/e_expl.S: Likewise.
4433 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4434 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4435 * sysdeps/i386/fpu/e_pow.S: Likewise.
4436 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4437 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4438 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4439 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4440 * sysdeps/i386/fpu/e_log2.S: Likewise.
4441 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4442 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4443 * sysdeps/i386/fpu/e_powl.S: Likewise.
4444 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4445 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4446 * sysdeps/i386/fpu/e_logl.S: Likewise.
4447 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4448 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4449 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4451 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4452 * sysdeps/i386/fpu/e_log.S: Likewise.
4453 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4454 * sysdeps/i386/fpu/e_logf.S: Likewise.
4455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4456 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4457 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4458 * sysdeps/i386/fpu/e_log10.S: Likewise.
4459 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4460 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4461 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4462 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4463 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4464 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4465 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4466 * sysdeps/i386/i686/strtok.S: Likewise.
4467 * sysdeps/i386/i386-mcount.S: Likewise.
4468 * sysdeps/i386/strtok.S: Likewise.
4469 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4470 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4471 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4472 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4473 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4474 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4475 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4476 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4477 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4478 * sysdeps/x86_64/_mcount.S: Likewise.
4479 * sysdeps/x86_64/strtok.S: Likewise.
4480 * sysdeps/sh/_mcount.S: Likewise.
4481
2747bf9a
RM
44822012-08-01 Roland McGrath <roland@hack.frob.com>
4483
4484 * libio/iofopen.c: Include <fcntl.h>.
4485 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4486 (_IO_fopen64, fopen64): Define as aliases.
4487 * libio/iofopen64.c: Include <fcntl.h>.
4488 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4489 Conditionalize body on this.
4490 * sysdeps/wordsize-64/iofopen.c: File removed.
4491 * sysdeps/wordsize-64/iofopen64.c: File removed.
4492
3fb791b8
MP
44932012-08-01 Marek Polacek <polacek@redhat.com>
4494
4495 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4496 Use dlfcn directly instead of a variable.
4497 (binfmt-subdir): Do not define.
4498 (dlfcn): Likewise.
4499
a9f1039f
JM
45002012-08-01 Joseph Myers <joseph@codesourcery.com>
4501
23bddc06
JM
4502 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4503 Remove all definitions.
4504 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4505 <kernel-features.h>.
4506 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4507 (miss_F_GETOWN_EX): Remove all definitions.
4508 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4509 macro definition.
4510 [!__ASSUME_FCNTL64]: Remove conditional code.
4511 [__ASSUME_FCNTL64]: Make code unconditional.
4512 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4513 <kernel-features.h>.
4514 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4515 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4516 (lockf64) [__NR_fcntl64]: Make code unconditional.
4517 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4518
a9f1039f
JM
4519 * sysdeps/unix/sysv/linux/kernel-features.h
4520 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4521 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4522 Make code unconditional.
4523 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4524 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4526 [__NR_vfork]: Make code unconditional.
4527 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4528 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4530 [__NR_vfork]: Make code unconditional.
4531 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4532 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4533
09c0ee5f
RM
45342012-08-01 Roland McGrath <roland@hack.frob.com>
4535
48aec5b9
RM
4536 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4537 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4538
cd97c966
RM
4539 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4540 Define mkstemp64 as an alias.
3f55550c
RM
4541 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4542 Define mkstemps64 as an alias.
cd97c966
RM
4543 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4544 Define mkostemp64 as an alias.
b8625cfc
RM
4545 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4546 Define mkostemps64 as an alias.
cd97c966
RM
4547 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4548 Conditionalize body on this.
4549 * misc/mkostemp64.c: Likewise.
b8625cfc 4550 * misc/mkostemps64.c: Likewise.
3f55550c 4551 * misc/mkstemps64.c: Likewise.
cd97c966
RM
4552 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4553 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4554 * sysdeps/wordsize-64/mkostemp.c: File removed.
4555 * sysdeps/wordsize-64/mkstemp.c: File removed.
4556 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4557 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4558 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4559 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4560
09c0ee5f
RM
4561 [BZ #14138]
4562 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4563 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4564 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4565 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4566
4567 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4568 compat_symbol macros from <shlib-compat.h> rather than the underlying
4569 default_symbol_version and symbol_version macros, so that DEFAULT
4570 lines in shlib-versions are respected.
4571 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4572
7e66ee51
FW
45732012-08-01 Florian Weimer <fweimer@redhat.com>
4574
4575 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4576 Declare with warn_unused_result.
4577 (setgid, setregid, setegid, setresgid): Likewise.
4578 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4579 Likewise.
4580 * WUR-REPORT: Remove set*id functions.
4581
d2a54255
PT
45822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4583
4584 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4585
7ecdb005
RM
45862012-07-31 Roland McGrath <roland@hack.frob.com>
4587
789bd351
RM
4588 * include/sys/socket.h (__libc_accept, __libc_accept4):
4589 Add attribute_hidden.
4590 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4591
40ce302d
RM
4592 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4593 use of PTR_MANGLE.
4594 * inet/getnetgrent_r.c (setup): Likewise.
4595
7ecdb005
RM
4596 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4597
e2eabb2c
DM
45982012-07-31 David S. Miller <davem@davemloft.net>
4599
4600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4601
d0419dbf
JM
46022012-07-31 Joseph Myers <joseph@codesourcery.com>
4603
4604 [BZ #13629]
4605 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4606 value between 1.0 and 2.0 and smaller part has absolute value less
4607 than 1.0.
4608 * math/s_clog10.c (__clog10): Likewise.
4609 * math/s_clog10f.c (__clog10f): Likewise.
4610 * math/s_clog10l.c (__clog10l): Likewise.
4611 * math/s_clogf.c (__clogf): Likewise.
4612 * math/s_clogl.c (__clogl): Likewise.
4613 * math/libm-test.inc (clog_test): Add more tests.
4614 (clog10_test): Likewise.
4615 * sysdeps/i386/fpu/libm-test-ulps: Update.
4616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4617
2bc13872
FW
46182012-07-31 Florian Weimer <fweimer@redhat.com>
4619
4620 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4621 Exit with zero in case no suitable GID is found, and write a
4622 message to standard error.
4623
bea9b193
RM
46242012-07-30 Roland McGrath <roland@hack.frob.com>
4625
4626 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4627 rather than to 1.
4628 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4629 (MAXPATHLEN): Removed.
4630 (NOGROUP, NODEV): New macros.
4631 (setbit, clrbit, isset, isclr): New macros.
4632 (howmany, roundup, powerof2): New macros.
4633 (DEV_BSIZE): New macro.
4634
4635 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4636 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4637
4638 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4639 definition on [!__NO_LONG_DOUBLE_MATH].
4640
4641 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4642 PTR_MANGLE and PTR_DEMANGLE.
4643
4644 * socket/accept4.c (accept4): Rename to __libc_accept4.
4645 Define accept4 as a weak alias.
4646
4647 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4648 on [_DIRENT_HAVE_D_TYPE].
4649 * io/ftw.c (ftw_dir): Likewise.
4650
4651 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4652
4653 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4654
4655 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4656 Use the BSD numbers rather than the arbitrary ones we had.
4657 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4658 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4659 (SIGXCPU, SIGXFSZ): New macros.
4660 (_NSIG): Now 32.
4661
4662 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4663 initializer on [_LIBC_REENTRANT].
4664
4665 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4666 definitions inside [_POSIX_MAPPED_FILES].
4667
4668 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4669
4670 * dirent/opendir.c: Include <fcntl.h>.
4671
4672 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4673 (__libc_getspecific): Likewise.
4674 (__libc_key_create): Likewise.
4675
4676 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4677 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4678 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4679 (tmpfile64): Define as alias.
4680 * sysdeps/wordsize-64/tmpfile.c: File removed.
4681 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4682 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4683 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4684
4685 * stdio-common/vfscanf.c: Include <stdbool.h>.
4686 * nss/makedb.c: Likewise.
4687 * stdio-common/_i18n_number.h: Likewise.
4688 * argp/argp-help.c: Likewise.
4689 * posix/wordexp.c: Likewise.
4690 * sysdeps/posix/spawni.c: Likewise.
4691 * nss/nss_files/files-initgroups.c: Likewise.
4692 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4693 * nss/nss_files/files-initgroups.c: Likewise.
4694 * nss/nss_db/db-netgrp.c: Likewise.
4695 * nss/nss_db/db-initgroups.c: Likewise.
4696 * io/fchmodat.c: Include <sys/stat.h>.
4697
4698 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4699 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4700
4701 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4702 [HAVE_MMAP].
4703
4704 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4705 Add multiple inclusion protection.
4706
e5abc686
DM
47072012-07-27 David S. Miller <davem@davemloft.net>
4708
4709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4710
815e6fa3
GB
47112012-07-27 Gary Benson <gbenson@redhat.com>
4712
4713 [BZ #14298]
4714 * elf/rtld.c: Include <stap-probe.h>.
4715 (dl_main): Added static probes "init_start" and "init_complete".
4716 * elf/dl-load.c: Include <stap-probe.h>.
4717 (lose): Take new parameter "nsid".
4718 Added static probe "map_failed".
4719 (_dl_map_object_from_fd): Pass namespace id to lose.
4720 Added static probe "map_start".
4721 (open_verify): Pass namespace id to lose.
4722 * elf/dl-open.c: Include <stap-probe.h>.
4723 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4724 and "reloc_complete".
4725 * elf/dl-close.c: Include <stap-probe.h>.
4726 (_dl_close_worker): Added static probes "unmap_start" and
4727 "unmap_complete".
4728 * elf/rtld-debugger-interface.txt: New file documenting the above.
4729
9f98c16c
RM
47302012-07-26 Roland McGrath <roland@hack.frob.com>
4731
4732 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4733 rather than a string variable.
4734 * sunrpc/rpc_main.c (h_output): Likewise.
4735 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4736
f3c22df3
PT
47372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4738
4739 * inet/check_native.c: New file.
4740
3129cfc6
JM
47412012-07-26 Joseph Myers <joseph@codesourcery.com>
4742
da865e95
JM
4743 [BZ #13629]
4744 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4745 if larger part has absolute value 1.0.
4746 * math/s_clog10.c (__clog10): Likewise.
4747 * math/s_clog10f.c (__clog10f): Likewise.
4748 * math/s_clog10l.c (__clog10l): Likewise.
4749 * math/s_clogf.c (__clogf): Likewise.
4750 * math/s_clogl.c (__clogl): Likewise.
4751 * math/libm-test.inc (clog_test): Add more tests.
4752 (clog10_test): Likewise.
4753 * sysdeps/i386/fpu/libm-test-ulps: Update.
4754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4755
3129cfc6
JM
4756 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4757 (pltexit): Likewise.
4758 (La_regs): Likewise.
4759 (La_retval): Likewise.
4760 (int_retval): Likewise.
4761 Update #error for removed macros to refer only to definitions in
4762 tst-audit.h.
4763 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4764 macro.
4765 (pltexit): Likewise.
4766 (La_regs): Likewise.
4767 (La_retval): Likewise.
4768 (int_retval): Likewise.
4769 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4770 macro.
4771 (pltexit): Likewise.
4772 (La_regs): Likewise.
4773 (La_retval): Likewise.
4774 (int_retval): Likewise.
4775 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4776 macro.
4777 (pltexit): Likewise.
4778 (La_regs): Likewise.
4779 (La_retval): Likewise.
4780 (int_retval): Likewise.
4781 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4782 macro.
4783 (pltexit): Likewise.
4784 (La_regs): Likewise.
4785 (La_retval): Likewise.
4786 (int_retval): Likewise.
4787 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4788 macro.
4789 (pltexit): Likewise.
4790 (La_regs): Likewise.
4791 (La_retval): Likewise.
4792 (int_retval): Likewise.
4793 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4794 macro.
4795 (pltexit): Likewise.
4796 (La_regs): Likewise.
4797 (La_retval): Likewise.
4798 (int_retval): Likewise.
4799 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4800 macro definitions in tst-audit.h.
4801 * sysdeps/i386/tst-audit.h: New file.
4802 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4803 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4804 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4805 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4806 * sysdeps/sh/tst-audit.h: Likewise.
4807 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4808 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4809 * sysdeps/x86_64/tst-audit.h: Likewise.
4810
bfc07087
AJ
48112012-07-26 Andreas Jaeger <aj@suse.de>
4812
b1b2aaf8
AJ
4813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4814 ptrace.
4815
4816 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4817 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4818 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4819 PTRACE_O_MASK.
4820 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4821 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4822 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4823
bfc07087
AJ
4824 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4825 value.
4826
4827 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4828 _sigsys.
4829 (si_call_addr, si_syscall, si_arch): Define new macro.
4830 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4831 _sigsys.
4832 (si_call_addr, si_syscall, si_arch): Define new marcro.
4833 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4834 _sigsys.
4835 (si_call_addr, si_syscall, si_arch): Define new macro.
4836 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4837 _sigsys.
4838 (si_call_addr, si_syscall, si_arch): Define new macro.
4839
89b4b02f
JM
48402012-07-25 Joseph Myers <joseph@codesourcery.com>
4841
4842 [BZ #13717]
4843 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4844 Change to 2.4.21 where previously 2.4.1.
4845 * sysdeps/unix/sysv/linux/configure: Regenerated.
4846 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4847 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4848 Linux kernel version.
4849 (__ASSUME_STD_AUXV): Remove.
4850 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4851 kernel version.
4852 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4853 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4854 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4855 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4856 (__ASSUME_NETLINK_SUPPORT): Likewise.
4857 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4858 (__no_netlink_support): Remove conditional definition.
4859 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4860 Remove.
4861 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4862 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4863 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4864 (if_nameindex_ioctl): Remove.
4865 (if_nameindex_netlink): Do not handle __no_netlink_support.
4866 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4867 code.
4868 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4869 Remove conditional code.
4870 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4871 code.
4872 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4873 unconditional.
4874 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4875 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4876 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4877 Remove.
4878 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4879 [!__ASSUME_STD_AUXV]: Remove conditional code.
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4881 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4882 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4884 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4885 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4886 code.
4887 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4889 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4890 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4891 conditional code.
4892 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4894 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4895 code.
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4897 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4898 conditional code.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4900 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4901 code unconditional.
4902 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4903 conditional code.
4904 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4905 unconditional.
4906 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4907 conditional code.
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4909 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4910 unconditional.
4911 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4912 conditional code.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4914 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4915 code unconditional.
4916 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4917 conditional code.
4918 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4919 unconditional.
4920 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4921 conditional code.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4923 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4924 code unconditional.
4925 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4926 conditional code.
4927 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4928 unconditional.
4929 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4930 conditional code.
4931
842a39cd
AS
49322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4933
4934 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4935 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4936 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4937 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4938 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4939 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4940 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4941 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4942 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4943 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4944 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4945 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4946 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4947 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4948 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4949 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4950 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4951 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4954 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4955 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4956 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4957
84b3fd84
FW
49582012-07-25 Florian Weimer <fweimer@redhat.com>
4959
4960 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
4961 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4962 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4963 Introduce __libc_secure_getenv.
0c7936d5
FW
4964 * stdlib/Versions (2.17): Add secure_getenv
4965 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4966 * stdlib/secure-getenv.c: Rename __secure_getenv to
4967 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4968 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
4969 * stdlib/tst-secure-getenv.c: New.
4970 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
4971 * manual/startup.texi (Environment Access): Document
4972 secure_getenv.
84b3fd84
FW
4973 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4974 __libc_secure_getenv.
4975 * inet/ruserpass.c (ruserpass): Likewise.
4976 * malloc/mtrace.c (mtrace): Likewise.
4977 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 4978 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
4979 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4980 * sysdeps/posix/tempname.c: Likewise. Evaluate
4981 HAVE_SECURE_GETENV.
4982 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 4983 __secure_getenv to __libc_secure_getenv.
84b3fd84 4984 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4986 Likewise.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4988 Likewise.
4989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 4996
56e49b71
JM
49972012-07-25 Joseph Myers <joseph@codesourcery.com>
4998
4999 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5000 (struct La_i86_retval): Likewise.
5001 (struct La_x86_64_regs): Likewise.
5002 (struct La_x86_64_retval): Likewise.
5003 (struct La_x32_regs): Likewise.
5004 (struct La_x32_retval): Likewise.
5005 (struct La_ppc32_regs): Likewise.
5006 (struct La_ppc32_retval): Likewise.
5007 (struct La_ppc64_regs): Likewise.
5008 (struct La_ppc64_retval): Likewise.
5009 (struct La_sh_regs): Likewise.
5010 (struct La_sh_retval): Likewise.
5011 (struct La_s390_32_regs): Likewise.
5012 (struct La_s390_32_retval): Likewise.
5013 (struct La_s390_64_regs): Likewise.
5014 (struct La_s390_64_retval): Likewise.
5015 (struct La_sparc32_regs): Likewise.
5016 (struct La_sparc32_retval): Likewise.
5017 (struct La_sparc64_regs): Likewise.
5018 (struct La_sparc64_retval): Likewise.
5019 (struct audit_ifaces): Remove architecture-specific pltenter and
5020 pltexit members.
5021 * sysdeps/i386/ldsodefs.h: New file.
5022 * sysdeps/powerpc/ldsodefs.h: Likewise.
5023 * sysdeps/s390/ldsodefs.h: Likewise.
5024 * sysdeps/sh/ldsodefs.h: Likewise.
5025 * sysdeps/sparc/ldsodefs.h: Likewise.
5026 * sysdeps/x86_64/ldsodefs.h: Likewise.
5027
354691b7
MP
50282012-07-25 Marek Polacek <polacek@redhat.com>
5029
5030 [BZ #6808]
5031 * math/libm-test.inc (yn_test): Add another test.
5032 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5033 to ERANGE when the result is +-Inf.
5034 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5035 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5036 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5037 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5038
bf9e2071
JM
50392012-07-24 Joseph Myers <joseph@codesourcery.com>
5040
5041 * conform/data/time.h-data (NULL): Use macro-constant. Require
5042 equal to 0.
5043 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5044 clock_t.
5045 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5046
57633811
TS
50472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5048
5049 * configure.in <sysdeps resolving>: Correct printing
5050 Implies_before.
5051 * configure: Regenerate.
5052
c23c33b0
TS
50532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5054
5055 * math/w_ilogb.c: Include <limits.h>.
5056 * math/w_ilogbl.c: Likewise.
5057
b5982523
JM
50582012-07-20 Joseph Myers <joseph@codesourcery.com>
5059
5060 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5061 va_copy. Document allowing for unavailable va_copy only as
5062 pre-C99 compatibility.
5063 * manual/string.texi (Copying and Concatenation): Use va_copy
5064 instead of __va_copy in concat example.
5065
ac4ea442
PT
50662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5067
5068 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5069 (__sendto): Use create_address_port. Initialize APORT and deallocate
5070 it if not null.
5071
f98eafbd
PT
5072 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5073 with O_NOLINK passed to __file_name_lookup.
5074
898c7aab
PT
5075 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5076 with O_NOLINK passed to __file_name_lookup.
5077
0ced335a
PT
5078 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5079 negative N or less than NGIDS.
5080
b3404dbd
PT
5081 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5082 type to string_t. Set ERANGE as errno and return it if NAME is not big
5083 enough. Use memcpy instead of strncpy.
5084
0f48659e
JM
50852012-07-20 Joseph Myers <joseph@codesourcery.com>
5086
5087 * elf/Makefile (check-data): Remove.
5088 (localplt.data): New vpath directive.
5089 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5090 instead of $(check-data).
5091 * scripts/data/localplt-generic.data: Move to ...
5092 * sysdeps/generic/localplt.data: ... here.
5093 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5094 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5095 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5097 ... here.
5098 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5100 ... here.
5101 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5103 ... here.
5104 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5106 ... here.
5107 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5109 ... here.
5110 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5112 ... here.
5113
d37cbdaa
AZ
51142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5115
5116 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5117 PPC32 and PPC64 files.
5118 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5119 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5120
46f85fc2
AK
51212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5122
5123 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5124 __makecontext_ret to ...
5125 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5126 ... here and call exit if uc_link is NULL. New file.
5127 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5128 __makecontext_ret.S.
5129 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5130 __makecontext_ret to ...
5131 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5132 ... here and call exit if uc_link is NULL. New file.
5133 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5134 __makecontext_ret.S.
5135
08f43f9b
AK
51362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5137
5138 * elf/elf.h (R_390_IRELATIVE): New definition.
5139 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5140 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5141 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5142 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5143 (elf_machine_lazy_rel): Likewise.
5144 * sysdeps/s390/dl-irel.h: New file.
5145 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5146 * sysdeps/s390/s390-64/memset.S: New asm code.
5147 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5148 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5149 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5150 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5151 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5152 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5153 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5154 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5155 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5156 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5157 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5158 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5159 * sysdeps/s390/s390-32/memset.S: New asm code.
5160 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5161
3b05db33
MP
51622012-07-17 Marek Polacek <polacek@redhat.com>
5163
5164 [BZ #14349]
5165 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5166 * sysdeps/s390/s390-64/configure.in: Likewise.
5167 * sysdeps/sparc/configure.in: Likewise.
5168 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5169 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5170 * sysdeps/i386/configure.in: Likewise.
5171 * sysdeps/x86_64/configure.in: Likewise.
5172 * sysdeps/sh/configure.in: Likewise.
5173 * sysdeps/s390/s390-32/configure: Regenerated.
5174 * sysdeps/s390/s390-64/configure: Likewise.
5175 * sysdeps/x86_64/configure: Likewise.
5176 * sysdeps/sh/configure: Likewise.
5177 * sysdeps/powerpc/powerpc64/configure: Likewise.
5178 * sysdeps/powerpc/powerpc32/configure: Likewise.
5179 * sysdeps/sparc/configure: Likwise.
5180 * sysdeps/i386/configure: Likewise.
5181
a66877c6
MP
5182 * elf/dl-open.c: Comment fixes.
5183
cfc82fd8
JM
51842012-07-17 Joseph Myers <joseph@codesourcery.com>
5185
bd29910a
JM
5186 * Makefile [CXX] (check-data): Remove.
5187 [CXX] (c++-types.data): New vpath directive.
5188 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5189 vpath. Do not allow for C++ type data being missing.
5190 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5191 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5192 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5193 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5194 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5195 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5196 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5198 ... here.
5199 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5201 ... here.
5202 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5204 ... here.
5205 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5207 ... here.
5208 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5210 ... here.
5211 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5213 ... here.
5214 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5216 ... here.
5217 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5219
cfc82fd8
JM
5220 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5221 definitions to architecture-specific files.
5222 (TLS_IE): Likewise.
5223 (TLS_LD): Likewise.
5224 (TLS_GD): Likewise.
5225 * sysdeps/i386/tls-macros.h: New file.
5226 * sysdeps/powerpc/tls-macros.h: Likewise.
5227 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5228 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5229 * sysdeps/sh/tls-macros.h: Likewise.
5230 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5231 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5232 * sysdeps/x86_64/tls-macros.h: Likewise.
5233
f7db3170
TS
52342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5235
07cbfc23
TS
5236 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5237 zero value for regular exit case.
5238
f7db3170
TS
5239 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5240 (__start_context): Preserve zero value for regular exit case.
5241
dc97c227
TS
52422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5243 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5244
5245 * manual/setjmp.texi (setcontext): Clarify normal process
5246 termination when uc_link is the null pointer.
5247 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5248 exit call.
5249
d0cd7d02
AS
52502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5251
5252 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5253 preprocessor. Test for each exception mask separately.
5254
dd318934
AJ
52552012-07-16 Andreas Jaeger <aj@suse.de>
5256
5257 * po/ru.po: Update from translation team.
5258
8048311a
JM
52592012-07-15 Joseph Myers <joseph@codesourcery.com>
5260
5261 * conform/data/string.h-data (NULL): Use macro-constant. Require
5262 equal to 0.
5263 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5264 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5265 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5266 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5268
b637d46e
AJ
52692012-07-13 Andreas Jaeger <aj@suse.de>
5270
5271 * po/fr.po: Update from translation team.
5272
541428fe
MP
52732012-07-12 Marek Polacek <polacek@redhat.com>
5274
5275 [BZ #14173]
5276 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5277 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5278 loop condition.
5279
ec332e94
JM
52802012-07-12 Joseph Myers <joseph@codesourcery.com>
5281
5282 [BZ #13717]
5283 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5284 Change to 2.4.1 where previously 2.4.0.
5285 * sysdeps/unix/sysv/linux/configure: Regenerated.
5286 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5287 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5288 version.
5289 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5290 (__ASSUME_AT_CLKTCK): Remove.
5291 (__ASSUME_AT_PAGESIZE): Likewise.
5292 (__ASSUME_AT_XID): Likewise.
5293 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5294 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5295 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5296 unconditionally.
5297 (HAVE_AUX_PAGESIZE): Likewise.
5298 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5299 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5300 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5301
7b6e99be
JB
53022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5303
5304 [BZ #14307]
5305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5306 the temporary buffer used to invoke __gethostbyname2_r,
5307 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5308 host_data / struct gaih_addrtuple.
5309 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5310 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5311 header file nss/nsswitch.h.
5312 * nss/nsswitch.h (global scope): Add definition of implementation
5313 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5314 resolv/nss_dns/dns-host.c).
5315
608404eb
AJ
53162012-07-11 Andreas Jaeger <aj@suse.de>
5317
5318 * po/fr.po: Update from translation team.
5319
71220aca
AJ
5320 * po/sv.po: Update from translation team
5321 * po/fr.po: Another update from translation team.
5322
28cfe843
AZ
53232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5324
5325 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5326 for subnormals or multiply small sinh result by itself.
5327 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5329
6b90f981
DM
53302012-07-11 David S. Miller <davem@davemloft.net>
5331
5332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5333
c6825772
AS
53342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5335
5336 [BZ #14347]
5337 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5338 (INTERNAL_MARK): Shift it here.
5339
7b8e0d49
MP
53402012-07-10 Marek Polacek <polacek@redhat.com>
5341
5342 [BZ #14151]
5343 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5344 libc_cv_asm_global_directive with .globl.
5345 * configure: Regenerated.
5346 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5347 with .globl.
5348 * sysdeps/i386/configure: Regenerated.
5349 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5350 with .globl.
5351 * sysdeps/x86_64/configure: Regenerated.
5352 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5353 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5354 * elf/tst-unique2mod2.c: Likewise.
5355 * elf/tst-unique2mod1.c: Likewise.
5356 * elf/tst-unique1mod2.c: Likewise.
5357 * elf/tst-unique1mod1.c: Likewise.
5358 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5359 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5360 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5361 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5362 * sysdeps/mach/sysdep.h: Likewise.
5363 * sysdeps/i386/sysdep.h: Likewise.
5364 * sysdeps/i386/i386-mcount.S: Likewise.
5365 * sysdeps/x86_64/_mcount.S: Likewise.
5366 * sysdeps/x86_64/sysdep.h: Likewise.
5367 * sysdeps/sh/_mcount.S: Likewise.
5368 * sysdeps/sh/sysdep.h: Likewise.
5369 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5370 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5371 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5372 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5373 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5374 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5375 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5376 * locale/localeinfo.h: Likewise.
5377 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5378 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5379
6c55cda3
RM
53802012-07-09 Roland McGrath <roland@hack.frob.com>
5381
5382 [BZ #14336]
5383 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5384 system".
5385 * manual/message.texi (The Uniforum approach): Likewise.
5386 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5387 (glibc iconv Implementation): Likewise.
5388
638a572e
JM
53892012-07-09 Joseph Myers <joseph@codesourcery.com>
5390
5391 [BZ #14337]
5392 * math/s_clog.c (__clog): Avoid scaling a value down where that
5393 could result in underflow.
5394 * math/s_clog10.c (__clog10): Likewise.
5395 * math/s_clog10f.c (__clog10f): Likewise.
5396 * math/s_clog10l.c (__clog10l): Likewise.
5397 * math/s_clogf.c (__clogf): Likewise.
5398 * math/s_clogl.c (__clogl): Likewise.
5399 * math/libm-test.inc (clog_test): Add more tests.
5400 (clog10_test): Likewise.
5401 * sysdeps/i386/fpu/libm-test-ulps: Update.
5402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5403
261f4859
AS
54042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5405
0abaf3e4
AS
5406 [BZ #14283]
5407 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5408 by 7 not 8 to examine high bit of fractional part.
5409
261f4859
AS
5410 [BZ #14042]
5411 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5412 for call to __mcount_internal.
5413 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5414 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5415 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5416
f17ac40d
JM
54172012-07-06 Joseph Myers <joseph@codesourcery.com>
5418
9ad63c23
JM
5419 [BZ #14154]
5420 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5421 approximation for values within 0x1p-13f of an odd multiple of
5422 pi/4.
5423 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5424 exception. Add more tests.
5425 * sysdeps/i386/fpu/libm-test-ulps: Update.
5426
f17ac40d
JM
5427 [BZ #6778]
5428 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5429 inputs and return -1 for them. Do not check for +Inf in case not
5430 reachable for +Inf.
5431 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5432 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5433 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5434 and return -1 for them. Do not check for +Inf in case not
5435 reachable for +Inf.
5436 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5437 define.
5438 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5439 and return -1 for them. Do not check for +Inf in case not
5440 reachable for +Inf.
5441 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5442 spurious underflow.
5443 * sysdeps/i386/fpu/libm-test-ulps: Update.
5444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5445
fb21f89b
MF
54462012-07-06 Mike Frysinger <vapier@gentoo.org>
5447
5448 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5449
cdfe2c5e
JM
54502012-07-05 Joseph Myers <joseph@codesourcery.com>
5451
5452 [BZ #14157]
5453 [BZ #14331]
5454 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5455 could result in spurious underflow. Scale down values above
5456 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5457 * math/s_csqrtf.c (__csqrtf): Likewise.
5458 * math/s_csqrtl.c (__csqrtl): Likewise.
5459 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5460 spurious underflow.
5461 * sysdeps/i386/fpu/libm-test-ulps: Update.
5462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5463
70d35b67
AS
54642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5465
704bc459
AS
5466 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5467 xopen-msg.sed.
5468 * catgets/xopen-msg.awk: New file.
5469 * catgets/xopen-msg.sed: Removed.
5470
70d35b67
AS
5471 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5472 po2text.sed.
5473 * intl/po2test.awk: New file.
5474 * intl/po2test.sed: Removed.
5475
ca61cf32
JM
54762012-07-04 Joseph Myers <joseph@codesourcery.com>
5477
5478 [BZ #14328]
5479 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5480 or multiply small sinh result by itself.
5481 * math/s_ctanf.c (__ctanf): Likewise.
5482 * math/s_ctanh.c (__ctanh): Likewise.
5483 * math/s_ctanhf.c (__ctanhf): Likewise.
5484 * math/s_ctanhl.c (__ctanhl): Likewise.
5485 * math/s_ctanl.c (__ctanl): Likewise.
5486 * math/libm-test.inc (ctan_test_tonearest): New function.
5487 (ctan_test_towardzero): Likewise.
5488 (ctan_test_downward): Likewise.
5489 (ctan_test_upward): Likewise.
5490 (ctanh_test_tonearest): Likewise.
5491 (ctanh_test_towardzero): Likewise.
5492 (ctanh_test_downward): Likewise.
5493 (ctanh_test_upward): Likewise.
5494 (main): Call these new functions.
5495 * sysdeps/i386/fpu/libm-test-ulps: Update.
5496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5497
ca48a46a
MF
54982012-07-03 Mike Frysinger <vapier@gentoo.org>
5499
5500 * .gitignore: Delete /ports entry.
5501
9d63d37d
AJ
55022012-07-03 Andreas Jaeger <aj@suse.de>
5503
5504 * po/bg.po: Update from translation team.
5505 * po/cs.po: Likewise.
5506 * po/de.po: Likewise.
5507 * po/hr.po: Likewise.
5508 * po/nl.pl: Likewise.
5509 * po/pl.po: Likewise.
5510 * po/vi.po: Likewise.
5511
370ca3d2
JM
55122012-07-03 Joseph Myers <joseph@codesourcery.com>
5513
95f5a9a8
JM
5514 * Makeconfig [!+link] (+link-before-libc): New variable.
5515 [!+link] (+link-after-libc): Likewise.
5516 [!+link] (+link-tests): Likewise.
5517 [!+link] (+link): Define in terms of $(+link-before-libc) and
5518 $(+link-after-libc).
5519 [!+link-static] (+link-static-before-libc): New variable.
5520 [!+link-static] (+link-static-after-libc): Likewise.
5521 [!+link-static] (+link-static-tests): Likewise.
5522 [!+link-static] (+link-static): Define in terms of
5523 $(+link-static-before-libc) and $(+link-static-after-libc).
5524 [build-shared] (link-libc-before-gnulib): New variable.
5525 [build-shared] (link-libc-tests): Likewise.
5526 [build-shared] (link-libc): Define in terms of
5527 $(link-libc-before-gnulib).
5528 [!build-shared] (link-libc-tests): New variable.
5529 (link-libc-static-tests): New variable.
5530 [!gnulib] (gnulib-arch): New variable.
5531 [!gnulib] (gnulib-tests): Likewise.
5532 [!gnulib] (static-gnulib-arch): Likewise.
5533 [!gnulib] (static-gnulib-tests): Likewise.
5534 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5535 Define with "=" instead of ":=".
5536 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5537 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5538 * Rules (binaries-all-notests): New variable.
5539 (binaries-all-tests): Likewise.
5540 (binaries-static-notests): Likewise.
5541 (binaries-static-tests): Likewise.
5542 (binaries-all): Define using $(binaries-all-notests) and
5543 $(binaries-all-tests).
5544 (binaries-static): Define using $(binaries-static-notests) and
5545 $(binaries-static-tests).
5546 (binaries-shared-tests): New variable.
5547 (binaries-shared-notests): Likewise.
5548 (binaries-shared): Remove variable.
5549 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5550 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5551 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5552 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5553 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5554 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5555 * elf/Makefile (sln-modules): New variable.
5556 (extra-objs): Add $(sln-modules:=.o).
5557 (ldconfig-modules): Add static-stubs.
5558 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5559 * elf/static-stubs.c: New file.
5560
7a845b2c
JM
5561 [BZ #14283]
5562 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5563 by 7 not 8 to examine high bit of fractional part. Use volatile
5564 variables when splitting into final array of floats if
5565 __FLT_EVAL_METHOD__ != 0.
5566 * math/libm-test.inc (cos_test): Add another test.
5567 (sin_test): Likewise.
5568 * sysdeps/i386/fpu/libm-test-ulps: Update.
5569
e2283f38
JM
5570 [BZ #14273]
5571 * math/libm-test.inc (cosh_test): Add more tests.
5572
370ca3d2
JM
5573 * version.h (RELEASE): Set to "development".
5574 (VERSION): Set to "2.16.90".
5575
ee9247c3
CD
55762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5577
5578 * NEWS: Update copyright. Remove last-updated date.
5579 Mention math library bug fixes and timezone data changes.
5580 * README: Mention GNU/Hurd, x32, and HPPA support status.
5581
4648c381
TS
55822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5583
5584 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5585
aac78a43
AJ
55862012-06-27 Andreas Jaeger <aj@suse.de>
5587
5588 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5589
ed3dbfad
AJ
55902012-06-25 Andreas Jaeger <aj@suse.de>
5591
5592 * sysdeps/s390/fpu/libm-test-ulps: Update.
5593
4d0ee855
AS
55942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5595 Thomas Schwinge <thomas@codesourcery.com>
5596
5597 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5598 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5599 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5600 fanotify_mark.
5601
af1bce34
TS
56022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5603
a9fa33ba
TS
5604 * sysdeps/mach/start.c: Remove file.
5605 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5606 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5607 * sysdeps/sh/init-first.c: Likewise.
5608
58f902b8
TS
5609 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5610 registers for frame unwinding purposes, add CFI directives.
5611 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5612 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5613 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5614 Likewise.
5615
1518f58b
TS
5616 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5617 __fortify_fail returning.
5618 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5619
db9b5059
TS
5620 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5621 sysdeps/sh/____longjmp_chk.S.
5622 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5623 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5624 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5625 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5626
967705fe
TS
5627 * sysdeps/sh/abort-instr.h: New file.
5628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5629 process in case exit returns.
5630
a9def8c4
TS
5631 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5632 initialize the GOT register before use.
5633
2a649725
TS
5634 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5635 calculation of ARGC > 4.
5636
af1bce34
TS
5637 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5638 meaningful names to some local labels.
5639
d230f50a
KK
56402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5641 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5642
5643 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5644 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5645 (__arch_compare_and_exchange_val_16_acq): Likewise.
5646 (__arch_compare_and_exchange_val_32_acq): Likewise.
5647 (atomic_exchange_and_add): Fix gUSA sequence.
5648 (atomic_add): Likewise.
5649 (atomic_add_negative): Likewise.
5650 (atomic_add_zero): Likewise.
5651 (atomic_bit_test_set): Likewise.
5652
0479b305
AS
56532012-06-22 Andreas Schwab <schwab@redhat.com>
5654
5655 [BZ #13579]
5656 * include/link.h (struct link_map): Add l_free_initfini.
5657 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5658 l_initfini.
5659 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5660 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5661 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5662 set.
5663
0e3933b9
CD
56642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5665
5666 * configure.in: Use AC_LANG_SOURCE.
5667 * configure: Regenerate.
5668
4248b1b1
RM
56692012-06-22 Roland McGrath <roland@hack.frob.com>
5670
5671 * configure.in (libc_cv_localstatedir): New substituted variable.
5672 * configure: Regenerated.
5673 * config.make.in (localstatedir): New variable, substituted from
5674 libc_cv_localstatedir.
5675 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5676 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5677 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5678 * sysdeps/gnu/configure: Regenerated.
5679
006dd861
JL
56802012-06-21 Jeff Law <law@redhat.com>
5681
5682 [BZ #14277]
5683 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5684 free. Simplify list management for _LIBC case.
5685
79662d42
JM
56862012-06-21 Joseph Myers <joseph@codesourcery.com>
5687
b7abb4bf
JM
5688 [BZ #14273]
5689 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5690 Clear sign bit of 64-bit integer value before comparing against
5691 overflow value.
5692
79662d42
JM
5693 * sysdeps/mach/configure: Regenerated.
5694
1f150908
L
56952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5696
5697 [BZ #14278]
5698 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5699
28363bbf
JL
57002012-06-21 Jeff Law <law@redhat.com>
5701
5702 [BZ #13882]
5703 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5704 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5705 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5706 * elf/dl-open.c (dl_open_worker): Likewise.
5707
09615db4
CD
57082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5709
5710 * scripts/list-sources.sh: Scan PORTS for translations.
5711 * po/libc.pot: Regenerated.
5712
2174c6dd
AJ
57132012-06-21 Andreas Jaeger <aj@suse.de>
5714
5715 [BZ #12194]
5716 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5717 warning.
5718 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5719 * bits/byteswap-16.h (__bswap_16): Likewise.
5720 * bits/byteswap.h (__bswap_constant_16): Likewise.
5721
3ee947b1
L
57222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5723
5724 [BZ #14117]
a2f34833
L
5725 * sysdeps/i386/fpu_control.h: Removed.
5726 * sysdeps/x86_64/fpu_control.h: Moved to ...
5727 * sysdeps/x86/fpu_control.h: Here.
5728
3ee947b1
L
5729 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5730 (_FPU_SETCW): Likewise.
5731
ed1825f8
L
57322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5733
25f1282a
L
5734 [BZ #14117]
5735 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5736 * sysdeps/x86/fpu/bits/mathinline.h: This.
5737 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5738
ed1825f8
L
5739 [BZ #14050]
5740 [BZ #14117]
5741 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5742 functions if __x86_64__ is defined.
5743
36d54b74
CLT
57442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5745
5746 * string/endian.h: Add !__ASSEMBLER__ condition for including
5747 conversion interfaces.
5748
10285c21
JM
57492012-06-15 Joseph Myers <joseph@codesourcery.com>
5750
5751 [BZ #14241]
5752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5753 of ABS(x) in calculating zero to negative powers other than odd
5754 integers.
5755 * math/libm-test.inc (pow_test): Add more tests.
5756
06c5abbd
AJ
57572012-06-15 Andreas Jaeger <aj@suse.de>
5758
5759 * manual/contrib.texi (Contributors): Update entry of Liubov
5760 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5761 Machado Filho.
5762
a3aeac40
CH
57632012-06-15 Cyril Hrubis <metan@ucw.cz>
5764
5765 * string/string.h: Add __wur to GNU version of strerror_r.
5766
49bdf4c1
L
57672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5768
5769 [BZ #14229]
5770 * string/Makefile (tests): Add tst-strtok_r.
5771 * string/tst-strtok_r.c: New file.
5772 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5773 RAX_LP/RDX_LP on SAVE_PTR.
5774
834f9b8d
RM
57752012-06-14 Roland McGrath <roland@hack.frob.com>
5776
5777 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5778
75fa1921
JM
57792012-06-14 Joseph Myers <joseph@codesourcery.com>
5780
5781 * libm_test.inc (csqrt_test): Allow more spurious underflow
5782 exceptions.
5783 (j0_test): Likewise.
5784 (j1_test): Likewise.
5785 (y0_test): Likewise.
5786 (y1_test): Likewise.
5787
771766df
CD
57882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5789
5790 * po/Makefile (libc.pot): Use UTF-8 charset.
5791
ceb9e56b
PP
57922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5793
5794 [BZ #14210]
5795 Suppress sign-conversion warning from FD_SET.
5796 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5797 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5798 not unsigned long int.
5799 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5800
ddb28975
L
58012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5802
5803 [BZ #14050]
5804 [BZ #14117]
5805 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5806 __extern_always_inline instead of __extern_inline.
5807 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5808 (__signbit): Likewise.
5809 (__signbitl): Support C++ namespace.
5810 (lrintf): New inline function.
5811 (lrint): Likewise.
5812 (llrintf): Likewise.
5813 (llrint): Likewise.
5814 (fmaxf): Likewise.
5815 (fmax): Likewise.
5816 (fminf): Likewise.
5817 (fmin): Likewise.
5818 (rint): Likewise.
5819 (rintf): Likewise.
5820 (ceil): Likewise.
5821 (ceilf): Likewise.
5822 (floor): Likewise.
5823 (floorf): Likewise.
5824 (nearbyint): Likewise.
5825 (nearbyintf): Likewise.
5826
d7b4fb26
TS
58272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5828
5829 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5830 non-default versions.
5831
eb55f5c2
RM
58322012-06-11 Roland McGrath <roland@hack.frob.com>
5833
5834 [BZ #14218]
5835 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5836
366af02c
TS
58372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5838
99ff6e5c
TS
5839 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5840 (FE_UPWARD, FE_DOWNWARD): Don't define.
5841 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5842 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5843
366af02c
TS
5844 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5845 reading it.
5846 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5847 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5848
793ea851
KK
58492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5850
5851 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5853 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5854 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5855
a728a38f
L
58562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5857
5858 [BZ #14117]
c08010c7
L
5859 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5860 * sysdeps/i386/fpu/Implies: New file.
5861 * sysdeps/x86_64/fpu/Implies: Likewise.
5862 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5863 * sysdeps/x86/fpu/bits/fenv.h: This.
5864
a728a38f
L
5865 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5866 __SSE_MATH__.
5867
6e230d11
SP
58682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5869
5870 [BZ #14134]
5871 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5872 character 0xffff that matches the last element of the
5873 conversion table.
5874
1b671feb
AZ
58752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5876
5877 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5878 fmodl commit.
5879
6043738b
AZ
58802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5881
5882 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5883 values higher than 25.6283.
5884
34ae0b32
AZ
58852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5886
5887 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5888 subnormal exponent extraction and add some __builtin_expect.
5889 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5890 Fix for subnormal mantissa calculation.
5891
1214ec8f
MF
58922012-06-04 Mike Frysinger <vapier@gentoo.org>
5893
5894 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5895 cpu2 is -1 and errno is not ENOSYS.
5896
f3d1f93c
L
58972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5898
5899 [BZ #14117]
0e4a3cd7
L
5900 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5901 * sysdeps/x86/bits/string.h: This.
5902 * sysdeps/x86_64/bits/string.h: Removed.
5903
6704c645
L
5904 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5905 if not compiling for x86-64, but compiling for >= i486.
5906
48495318
L
5907 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5908 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5909
14adcbfc
L
5910 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5911 New macro from Linux kernel 3.4.0.
5912 (FP_XSTATE_MAGIC2): Likewise.
5913 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5914 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5915 (struct _fpx_sw_bytes): New struct.
5916 (struct _xsave_hdr): Likewise.
5917 (struct _ymmh_state): Likewise.
5918 (struct _xstate): Likewise.
5919
68e408ab
L
5920 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5921 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5922 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5923 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5924 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5925 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5926
f3d1f93c
L
5927 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5928 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5929 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5930 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5931 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5932 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5933
d9dc34cd
TMQMF
59342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5935
5936 [BZ #13743]
5937 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5938 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5939 (sysdep_headers): Include sys/platform/ppc.h.
5940 * sysdeps/powerpc/test-gettimebase.c: Test for
5941 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5942 * manual/Makefile (appendices): Include platform.texi.
5943 * manual/contrib.texi (Contributors): Update @node pointers.
5944 * manual/maint.texi (Maintenance): Likewise.
5945 (Platform): New node.
5946 * manual/platform.texi: New file. Document the new features.
5947
4af3879c
SP
59482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5949 Jakub Jelinek <jakub@redhat.com>
5950
5951 [BZ #14188]
5952 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5953 where __builtin_expect is unavailable.
5954
2fd6ff13
DM
59552012-06-03 David S. Miller <davem@davemloft.net>
5956
5957 * stdlib/longlong.h: Updated from GCC.
5958
173f7220
AS
59592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5960
5961 [BZ #14042]
5962 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5963 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5964 __mcount_internal.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5966 (GLIBC_2.16): Likewise.
5967
f34a1c6f
L
59682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5969
5970 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5971
88a4576f
JM
59722012-06-01 Joseph Myers <joseph@codesourcery.com>
5973
ea32bcdd
JM
5974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5975 (default-abi): New variable.
5976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5977 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5978 variable.
5979 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5980 Likewise.
5981 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5982 Likewise.
5983 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5984 Likewise.
5985
88a4576f
JM
5986 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5987 definition. Document in comment.
5988
402fe938
DM
59892012-06-01 David S. Miller <davem@davemloft.net>
5990
5991 * stdlib/longlong.h: Updated from GCC.
5992
3553723f
L
59932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 [BZ #14117]
3bd872c4
L
5996 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5997 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5998 sys/debugreg.h sys/io.h here.
5999 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6000 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6001 sys/io.h.
6002 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6003 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6004 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6005 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6006 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6007 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6008
3553723f
L
6009 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6010 Define only if __x86_64__ is defined.
6011
4842e4fe
JM
60122012-06-01 Joseph Myers <joseph@codesourcery.com>
6013
c5bfe3d5
JM
6014 [BZ #14048]
6015 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6016 Use int64_t for variable i.
6017 * math/libm-test.inc (fmod_test): Add more tests.
6018
4842e4fe
JM
6019 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6020 z computation is not scheduled after fetestexcept.
6021 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6022 Use math_force_eval instead of asm to ensure calculation scheduled
6023 before exception test.
6024 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6025 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6026
efb73488
AJ
60272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6028
6029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6030 computation is not scheduled after fetestexcept.
6031
29bcce7c
L
60322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6033
6034 [BZ #14117]
6035 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6036 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6037
73a68f94
AZ
60382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6039
6040 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6041 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6042
67b6df78
L
60432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6044
edf2933a 6045 [BZ #14117]
ebc64a18
L
6046 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6047 <bits/wordsize.h>.
6048 (__WCHAR_MIN): Support __WORDSIZE == 64.
6049 (__WCHAR_MAX): Likewise.
6050
edf2933a
L
6051 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6052 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6053
57c6cf40
L
6054 [BZ #14183]
6055 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6056 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6057
67b6df78 6058 [BZ #14117]
8eb6281e
L
6059 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6060 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6061
aac639f4
L
6062 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6063 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6064
67b6df78
L
6065 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6066 Defined to 1 if __x86_64__ isn't defined.
6067 (_STAT_VER_LINUX_OLD): New.
6068 (st_atime): Remove duplicate.
6069 (st_mtime): Likewise.
6070 (st_ctime): Likewise.
6071
1c2cfe81
DM
60722012-05-31 David S. Miller <davem@davemloft.net>
6073
6074 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6075 entries.
6076
5be8418c
AS
60772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6078
e7725326
AS
6079 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6080 gen-libm-test.pl.
6081
5be8418c
AS
6082 [BZ #14132]
6083 * elf/dl-reloc.c: Include <_itoa.h>.
6084 (_dl_reloc_bad_type): Remove use of INTUSE.
6085 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6086 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6087 * stdio-common/psiginfo.c (psiginfo): Likewise.
6088 * stdio-common/psignal.c (psignal): Likewise.
6089 * string/strsignal.c (strsignal): Likewise.
6090 * include/signal.h (_sys_siglist): Declare hidden proto.
6091 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6092 INTVARDEF with libc_hidden_data_def.
6093 * stdio-common/itoa-udigits.c: Likewise.
6094 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6095 (_itoa_lower_digits_internal): Remove declaration.
6096 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6097 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6098 (_sys_sigabbrev_internal): Remove aliases.
6099 (_sys_siglist): Define hidden alias.
6100
507352f1
MT
61012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6102
6103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6104 bits/sysctl.h.
6105
42bbb1c3
L
61062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6107
6108 [BZ #14117]
6bd784b6
L
6109 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6110 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6111
8bca20f0
L
6112 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6113 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6114 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6115 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6116 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6117 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6118
f9e890a9
L
6119 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6120 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6121 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6122
471101a1
L
6123 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6124 with __addr.
6125 (insw): Likewise.
6126 (insl): Likewise.
6127 (outsb): Likewise.
6128 (outsw): Likewise.
6129 (outsl): Likewise.
6130
6451c862
L
6131 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6132 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6133 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6134
a254b8c9
L
6135 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6136 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6137 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6138 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6139 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6140 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6141
b8dfdd92
L
6142 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6143 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6144
578cd270
L
6145 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6146 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6147
de662f5f
L
6148 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6150 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6151
25653439
L
6152 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6153 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6154 to ...
6155 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6156
6bad24a0
L
6157 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6158 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6159 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6160
42bbb1c3
L
6161 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6162 for x86-64.
6163 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6164
2d10d547
JM
61652012-05-31 Joseph Myers <joseph@codesourcery.com>
6166
6167 * math/math.h (M_El): Use two more decimal places.
6168 (M_LOG2El): Likewise.
6169 (M_LOG10El): Likewise.
6170 (M_LN2l): Likewise.
6171 (M_LN10l): Likewise.
6172 (M_PIl): Likewise.
6173 (M_PI_2l): Likewise.
6174 (M_PI_4l): Likewise.
6175 (M_1_PIl): Likewise.
6176 (M_2_PIl): Likewise.
6177 (M_2_SQRTPIl): Likewise.
6178 (M_SQRT2l): Likewise.
6179 (M_SQRT1_2l): Likewise.
6180
f230c29b
DM
61812012-05-31 David S. Miller <davem@davemloft.net>
6182
6183 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6184 values between float registers.
6185 * sysdeps/sparc/sparc64/memset.S: Likewise.
6186 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6187
fed806c3
MF
61882012-05-31 Mike Frysinger <vapier@gentoo.org>
6189
6190 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6191 -D_FORTIFY_SOURCE=1.
6192 (CPPFLAGS-tst-longjmp_chk.c): Define.
6193 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6194 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6195 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6196 CFLAGS-tst-wchar-h.c.
6197
30917259
MP
61982012-05-31 Marek Polacek <polacek@redhat.com>
6199
6200 [BZ #14132]
6201 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6202 __endmntent_internal): Remove declaration.
6203 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6204 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6205 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6206
1c58d5dc
DM
62072012-05-30 David S. Miller <davem@davemloft.net>
6208
6209 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6210 (___Q_simulate_exceptions): Use real FP ops rather than writing
6211 into the %fsr.
6212 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6213 Likewise.
6214
7dc00e0d
L
62152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6216
6217 [BZ #14117]
0bd53985
L
6218 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6219 * sysdeps/x86/bits/xtitypes.h: This.
6220
3a257e66
L
6221 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6222 * sysdeps/x86/bits/wordsize.h: This.
6223
62f62904
L
6224 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6225 * sysdeps/x86/bits/huge_vall.h: This.
6226
404fe9d9
L
6227 * sysdeps/i386/bits/select.h: Removed.
6228 * sysdeps/x86_64/bits/select.h: Renamed to ...
6229 * sysdeps/x86/bits/select.h: This.
6230
d48d0446
L
6231 * sysdeps/i386/bits/setjmp.h: Removed.
6232 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6233 * sysdeps/x86/bits/setjmp.h: This.
6234
7dc00e0d
L
6235 * sysdeps/i386/bits/mathdef.h: Removed.
6236 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6237 * sysdeps/x86/bits/mathdef.h: This.
6238
03277f8f
AS
62392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6240
6241 [BZ #14132]
6242 * include/sys/socket.h (__connect_internal)
6243 (__libc_sa_len_internal): Remove declaration.
6244 (__connect, __libc_sa_len): Declare hidden_proto.
6245 (SA_LEN): Remove use of INTUSE.
6246 * socket/connect.c: Add libc_hidden_def.
6247 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6248 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6249 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6250 alias.
6251 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6252 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6253 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6254 of adding _internal alias.
6255
13764867
L
62562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6257
6258 [BZ #14117]
6bd97696
L
6259 * sysdeps/i386/bits/link.h: Removed.
6260 * sysdeps/i386/bits/linkmap.h: Likewise.
6261 * sysdeps/x86_64/bits/link.h: Renamed to ...
6262 * sysdeps/x86/bits/link.h: This.
6263 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6264 * sysdeps/x86/bits/linkmap.h: This.
6265
f726f0bb
L
6266 * sysdeps/i386/bits/endian.h: Removed.
6267 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6268 * sysdeps/x86/bits/endian.h: This.
6269
13764867
L
6270 * sysdeps/i386/bits/byteswap.h: Removed.
6271 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6272 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6273 * sysdeps/x86/bits/byteswap.h: This.
6274 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6275 * sysdeps/x86/bits/byteswap-16.h: This.
6276 * sysdeps/i386/Implies: Add x86.
6277 * sysdeps/x86_64/Implies: Likewise.
6278
ae251b0b
DM
62792012-05-30 David S. Miller <davem@davemloft.net>
6280
6281 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6282 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6283 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6284 (FP_TRAPPING_EXCEPTIONS): Define.
6285 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6286 (FP_TRAPPING_EXCEPTIONS): Define.
6287 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6288 subnormals only when inexact has been signalled or underflow
6289 exceptions are enabled.
6290 (_FP_PACK_CANONICAL): Likewise.
6291
d5c90867
L
62922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6293
6294 [BZ #14183]
6295 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6296 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6297
63f1549e
RH
62982012-05-30 Richard Henderson <rth@twiddle.net>
6299
8d8f2279
RH
6300 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6301 with #ifndef NOT_IN_libc.
6302
63f1549e
RH
6303 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6304 marked to avoid plt entry.
6305
0ab0291b
L
63062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6307
6308 [BZ #14112]
6309 * Makeconfig (default-abi): New macro.
6310 (abi-includes): Likewise.
6311 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6312 $(abi-$(default-abi)-lib-soname) for soname if defined.
6313 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6314 abi-variants.
6315 * Makefile (installed-stubs): Likewise.
6316 * include/stubs-biarch.h: Removed.
6317 * scripts/lib-names.awk: Only handle one library at a time.
6318 * scripts/soversions.awk: Remove WORDSIZE support.
6319 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6320 entries.
6321 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6322 Removed.
6323 (syscall-list-default-condition): Likewise.
6324 (syscall-list-default-condition): Likewise.
6325 (syscall-list-includes): Likewise.
6326 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6327 syscall-list-* with abi-*. Handle undefined abi-variants.
6328 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6329 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6330 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6331 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6332 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6333 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6334 Removed.
6335 (syscall-list-32-options): Likewise.
6336 (syscall-list-32-condition): Likewise.
6337 (syscall-list-64-options): Likewise.
6338 (syscall-list-64-condition): Likewise.
6339 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6340 macro.
6341 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6342 Renamed to ...
6343 (abi-*): This.
6344 (abi-64-ld-soname): New macro.
6345 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6346 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6347 Renamed to ...
6348 (abi-*): This.
6349 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6350 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6351
4da0431d
JM
63522012-05-30 Joseph Myers <joseph@codesourcery.com>
6353
3a85279c
JM
6354 * sysdeps/unix/sysv/linux/kernel-features.h
6355 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6356 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6357 include <kernel-features.h>.
6358 [!__NR_ftruncate64]: Remove conditional code.
6359 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6360 [__NR_ftruncate64]: Make code unconditional.
6361 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6362 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6363 include <kernel-features.h>.
6364 [!__NR_ftruncate64]: Remove conditional code.
6365 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6366 [__NR_ftruncate64]: Make code unconditional.
6367 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6369 include <kernel-features.h>.
6370 [!__NR_ftruncate64]: Remove conditional code.
6371 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6372 [__NR_ftruncate64]: Make code unconditional.
6373 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6375 include <kernel-features.h>.
6376 [!__NR_ftruncate64]: Remove conditional code.
6377 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6378 [__NR_ftruncate64]: Make code unconditional.
6379 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6380
4da0431d
JM
6381 * configure.in (libc_cv_fpie): Weaken to a compile test using
6382 LIBC_TRY_CC_OPTION.
6383 * configure: Regenerated.
6384
11ef492c
AK
63852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6386
6387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6391 Refreshed.
6392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6398 Refreshed.
6399
d66ef399
DM
64002012-05-27 David S. Miller <davem@davemloft.net>
6401
6402 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6403 (___Q_zero): New.
6404 (__Q_simulate_exceptions): Return void. Change to simulate
6405 exceptions by writing into the %fsr.
6406 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6407 (__Qp_handle_exceptions): Likewise.
6408 (numbers): Delete.
6409 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6410 __Qp_handle_exceptions.
6411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6412 __Qp_handle_exceptions.
6413 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6414 as unused and give dummy FP_RND_NEAREST initializer.
6415 (FP_INHIBIT_RESULTS): Define.
6416 (___Q_simulate_exceptions): Update declaration.
6417 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6418 formatting.
6419 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6420 as unused and give dummy FP_RND_NEAREST initializer.
6421 (__Qp_handle_exceptions): Update declaration.
6422 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6423 formatting.
6424
04fb54b5
TS
64252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6426
6427 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6428 the temporary FPU control word.
6429 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6430 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6431 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6432 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6433 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6434 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6435 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6436 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6437 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6438 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6439 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6440
3f99608f
KK
64412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6442
6443 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6444 fields.
6445
65a4de4e
CLT
64462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6447
6448 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6449 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6450 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6451 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6452 Likewise.
6453 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6454 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6455 Likewise.
6456
15749d40
UD
64572012-05-27 Ulrich Drepper <drepper@gmail.com>
6458
6459 * po/h.po: Update from translation team.
6460
25dbcb27
AS
64612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6462
3d3f8e55
AS
6463 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6464
25dbcb27
AS
6465 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6466 handling of denormals.
6467 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6468 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6469 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6470 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6471 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6474 Likewise.
6475
7ad47a80 64762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6477
6478 [BZ #14152]
6479 * math/libm-test.inc (fma_test): Don't always expect underflow
6480 exception.
6481
9c6ea9fa
SP
64822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6483
6484 [BZ #12416]
6485 * elf/tst-execstack.c: Include stackinfo.h.
6486 (do_test): Adjust test case to ensure that pthread_getattr_np
6487 behaviour remains the same after marking stack executable.
6488
a8239222
JM
64892012-05-25 Joseph Myers <joseph@codesourcery.com>
6490
6491 * sysdeps/unix/sysv/linux/kernel-features.h
6492 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6493 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6494 kernel-features.h.
6495 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6496 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6497 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6498 kernel-features.h.
6499 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6500 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6501
918b5606
L
65022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6503
6504 * configure.in: Define the default includes to being none.
6505 * configure: Regenerated.
6506
3a097cc7
RM
65072012-05-25 Roland McGrath <roland@hack.frob.com>
6508
8422c9a5
RM
6509 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6510 * sysdeps/x86_64/setjmp.S: Likewise.
6511 * sysdeps/i386/bsd-setjmp.S: Likewise.
6512 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6513 * sysdeps/i386/setjmp.S: Likewise.
6514 * sysdeps/i386/__longjmp.S: Likewise.
6515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6516 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6517
3a097cc7
RM
6518 * include/stap-probe.h: New file.
6519 * configure.in: Handle --enable-systemtap.
6520 * configure: Regenerated.
6521 * config.h.in (USE_STAP_PROBE): New #undef.
6522 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6523 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6524 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6525
21708942
JM
65262012-05-25 Joseph Myers <joseph@codesourcery.com>
6527
6528 [BZ #13717]
6529 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6530 to 2.4.0 where earlier.
6531 * sysdeps/unix/sysv/linux/configure: Regenerated.
6532 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6533 <kernel-features.h>.
6534 [__ASSUME_32BITUIDS]: Make code unconditional.
6535 [!__ASSUME_32BITUIDS]: Remove conditional code.
6536 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6537 <kernel-features.h>.
6538 [__ASSUME_32BITUIDS]: Make code unconditional.
6539 [!__ASSUME_32BITUIDS]: Remove conditional code.
6540 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6541 [__ASSUME_32BITUIDS]: Make code unconditional.
6542 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6543 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6544 <kernel-features.h>.
6545 [__ASSUME_32BITUIDS]: Make code unconditional.
6546 [!__ASSUME_32BITUIDS]: Remove conditional code.
6547 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6548 <kernel-features.h>.
6549 [__ASSUME_32BITUIDS]: Make code unconditional.
6550 [!__ASSUME_32BITUIDS]: Remove conditional code.
6551 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6552 <kernel-features.h>.
6553 [__ASSUME_32BITUIDS]: Make code unconditional.
6554 [!__ASSUME_32BITUIDS]: Remove conditional code.
6555 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6556 <kernel-features.h>.
6557 [__ASSUME_32BITUIDS]: Make code unconditional.
6558 [!__ASSUME_32BITUIDS]: Remove conditional code.
6559 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6560 <kernel-features.h>.
6561 [__ASSUME_32BITUIDS]: Make code unconditional.
6562 [!__ASSUME_32BITUIDS]: Remove conditional code.
6563 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6564 <kernel-features.h>.
6565 [__ASSUME_32BITUIDS]: Make code unconditional.
6566 [!__ASSUME_32BITUIDS]: Remove conditional code.
6567 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6568 <kernel-features.h>.
6569 [__ASSUME_32BITUIDS]: Make code unconditional.
6570 [!__ASSUME_32BITUIDS]: Remove conditional code.
6571 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6572 <kernel-features.h>.
6573 [__ASSUME_32BITUIDS]: Make code unconditional.
6574 [!__ASSUME_32BITUIDS]: Remove conditional code.
6575 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6576 <kernel-features.h>.
6577 [__ASSUME_32BITUIDS]: Make code unconditional.
6578 [!__ASSUME_32BITUIDS]: Remove conditional code.
6579 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6580 <kernel-features.h>.
6581 [__ASSUME_32BITUIDS]: Make code unconditional.
6582 [!__ASSUME_32BITUIDS]: Remove conditional code.
6583 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6584 <kernel-features.h>.
6585 [__NR_setresgid] (__setresgid): Do not declare.
6586 [__ASSUME_32BITUIDS]: Make code unconditional.
6587 [!__ASSUME_32BITUIDS]: Remove conditional code.
6588 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6589 <kernel-features.h>.
6590 [__NR_setresuid] (__setresuid): Do not declare.
6591 [__ASSUME_32BITUIDS]: Make code unconditional.
6592 [!__ASSUME_32BITUIDS]: Remove conditional code.
6593 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6594 <kernel-features.h>.
6595 [__ASSUME_32BITUIDS]: Make code unconditional.
6596 [!__ASSUME_32BITUIDS]: Remove conditional code.
6597 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6598 <kernel-features.h>.
6599 [__ASSUME_32BITUIDS]: Make code unconditional.
6600 [!__ASSUME_32BITUIDS]: Remove conditional code.
6601 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6602 <kernel-features.h>.
6603 [__ASSUME_32BITUIDS]: Make code unconditional.
6604 [!__ASSUME_32BITUIDS]: Remove conditional code.
6605 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6606 <kernel-features.h>.
6607 [__ASSUME_32BITUIDS]: Make code unconditional.
6608 [!__ASSUME_32BITUIDS]: Remove conditional code.
6609 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6610 <kernel-features.h>.
6611 [__ASSUME_32BITUIDS]: Make code unconditional.
6612 [!__ASSUME_32BITUIDS]: Remove conditional code.
6613 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6614 <kernel-features.h>.
6615 [__ASSUME_32BITUIDS]: Make code unconditional.
6616 [!__ASSUME_32BITUIDS]: Remove conditional code.
6617 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6618 <kernel-features.h>.
6619 [__ASSUME_32BITUIDS]: Make code unconditional.
6620 [!__ASSUME_32BITUIDS]: Remove conditional code.
6621 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6622 <kernel-features.h>.
6623 [__ASSUME_32BITUIDS]: Make code unconditional.
6624 [!__ASSUME_32BITUIDS]: Remove conditional code.
6625 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6626 <kernel-features.h>.
6627 [__ASSUME_32BITUIDS]: Make code unconditional.
6628 [!__ASSUME_32BITUIDS]: Remove conditional code.
6629 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6630 <kernel-features.h>.
6631 [__ASSUME_32BITUIDS]: Make code unconditional.
6632 [!__ASSUME_32BITUIDS]: Remove conditional code.
6633 * sysdeps/unix/sysv/linux/kernel-features.h
6634 (__ASSUME_SETRESUID_SYSCALL): Remove.
6635 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6636 (__ASSUME_32BITUIDS): Likewise.
6637 (__ASSUME_LDT_WORKS): Likewise.
6638 (__ASSUME_O_DIRECTORY): Likewise.
6639 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6640 architecture but not kernel version.
6641 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6642 (__ASSUME_MMAP2_SYSCALL): Likewise.
6643 (__ASSUME_STAT64_SYSCALL): Likewise.
6644 (__ASSUME_IPC64): Likewise.
6645 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6646 <kernel-features.h>.
6647 [__ASSUME_32BITUIDS]: Make code unconditional.
6648 [!__ASSUME_32BITUIDS]: Remove conditional code.
6649 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6650 <kernel-features.h>.
6651 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6652 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6653 132096]: Remove conditional code.
6654 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6655 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6656 <kernel-features.h>.
6657 [__ASSUME_32BITUIDS]: Make code unconditional.
6658 [!__ASSUME_32BITUIDS]: Remove conditional code.
6659 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6660 <kernel-features.h>.
6661 [__ASSUME_32BITUIDS]: Make code unconditional.
6662 [!__ASSUME_32BITUIDS]: Remove conditional code.
6663 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6664 <kernel-features.h>.
6665 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6666 unconditional.
6667 (__setresgid): Do not declare.
6668 [__ASSUME_32BITUIDS]: Make code unconditional.
6669 [!__ASSUME_32BITUIDS]: Remove conditional code.
6670 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6671 <kernel-features.h>.
6672 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6673 unconditional.
6674 (__setresuid): Do not declare.
6675 [__ASSUME_32BITUIDS]: Make code unconditional.
6676 [!__ASSUME_32BITUIDS]: Remove conditional code.
6677 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6678 <kernel-features.h>.
6679 [__ASSUME_32BITUIDS]: Make code unconditional.
6680 [!__ASSUME_32BITUIDS]: Remove conditional code.
6681 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6682 <kernel-features.h>.
6683 [__ASSUME_32BITUIDS]: Make code unconditional.
6684 [!__ASSUME_32BITUIDS]: Remove conditional code.
6685
a386f1cc
RH
66862012-05-25 Richard Henderson <rth@twiddle.net>
6687
6688 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6689 dl_hwcap to ifunc resolver.
6690 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6691 elf_ifunc_invoke.
6692 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6693 dl_hwcap to ifunc resolver.
6694 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6695
b6550497
JM
66962012-05-24 Joseph Myers <joseph@codesourcery.com>
6697
6698 [BZ #14153]
6699 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6700 for |x| <= 2**-26, not 2**-57.
6701 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6702 exception.
6703
b0bc23a1
JL
67042012-05-24 Jeff Law <law@redhat.com>
6705
6706 * stdio-common/Makefile (tests): Add bug25.
6707 * stdio-common/bug25.c: New test.
6708
347c92e9
L
67092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6710
6711 [BZ #13576]
6712 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6713 multiple of MALLOC_ALIGNMENT in size.
6714 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6715
6bcc8b3f
JM
67162012-05-24 Joseph Myers <joseph@codesourcery.com>
6717
6718 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6719 Require >= 256.
6720 (FILENAME_MAX): Use macro-int-constant.
6721 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6722 (_IOFBF): Use macro-int-constant.
6723 (_IOLBF): Likewise.
6724 (_IONBF): Likewise.
6725 (SEEK_CUR): Likewise.
6726 (SEEK_END): Likewise.
6727 (SEEK_SET): Likewise.
6728 (TMP_MAX): Likewise.
6729 (EOF): Use macro-int-constant. Require < 0.
6730 (NULL): Use macro-constant. Require == 0.
6731 (stdin): Require type to be FILE *.
6732 (stdout): Likewise.
6733 (stderr): Likewise.
6734 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6735 macro-int-constant.
6736 (EXIT_SUCCESS): Likewise.
6737 (NULL): Use macro-constant. Require == 0.
6738 (RAND_MAX): Use macro-int-constant.
6739 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6740 [C99-based standards] (strtof): Require function.
6741 [C99-based standards] (strtold): Likewise.
6742 [C99-based standards] (strtoll): Likewise.
6743 [C99-based standards] (strtoull): Likewise.
6744 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6745 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6746 [ISO || ISO99 || ISO11] (math.h): Likewise.
6747 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6748 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6750
d18ea0c5
AS
67512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6752
6753 [BZ #14132]
56d25bb8
AS
6754 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6755 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6756 * intl/dgettext.c (DCGETTEXT): Likewise.
6757 * intl/gettext.c (DCGETTEXT): Likewise.
6758 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6759 * posix/regex_internal.h (gettext): Likewise.
6760 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6761 Remove declaration.
6762 * include/argz.h (__argz_count_internal)
6763 (__argz_stringify_internal): Remove declaration.
6764 (__argz_count, __argz_stringify): Declare hidden proto.
6765 * intl/dcgettext.c: Remove use of INTDEF.
6766 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6767 * string/argz-stringify.c: Likewise.
6768 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6769 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6770 Declare hidden proto.
d18ea0c5
AS
6771 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6772 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6773 Declare hidden proto.
6774 * include/stdio.h (__asprintf_internal): Don't declare.
6775 (__asprintf): Don't define as macro. Declare hidden proto.
6776 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6777 (__fsetlocking): Declare hidden proto.
6778 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6779 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6780 hidden proto.
6781 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6782 (_IO_setlinebuf): Remove use of INTUSE.
6783 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6784 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6785 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6786 Remove declaration.
6787 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6788 (_IO_do_flush): Remove use of INTUSE.
6789 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6790 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6791 (_IO_adjust_column, _IO_least_wmarker)
6792 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6793 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6794 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6795 (_IO_default_doallocate, _IO_wdefault_doallocate)
6796 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6797 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6798 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6799 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6800 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6801 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6802 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6803 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6804 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6805 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6806 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6807 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6808 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6809 proto.
6810 (_IO_flush_all_internal, _IO_adjust_column_internal)
6811 (_IO_default_uflow_internal, _IO_default_finish_internal)
6812 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6813 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6814 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6815 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6816 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6817 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6818 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6819 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6820 (_IO_file_close_internal, _IO_file_close_it_internal)
6821 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6822 (_IO_file_init_internal, _IO_file_attach_internal)
6823 (_IO_file_fopen_internal, _IO_file_read_internal)
6824 (_IO_file_sync_internal, _IO_file_seek_internal)
6825 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6826 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6827 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6828 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6829 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6830 (_IO_list_all_internal, _IO_link_in_internal)
6831 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6832 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6833 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6834 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6835 (_IO_do_write_internal, _IO_padn_internal)
6836 (_IO_getline_info_internal, _IO_getline_internal)
6837 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6838 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6839 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6840 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6841 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6842 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6843 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6844 with libc_hidden_ver, remove use of INTUSE.
6845 * libio/genops.c: Likewise.
6846 * libio/freopen.c: Likewise.
6847 * libio/freopen64.c: Likewise.
6848 * libio/iofclose.c: Likewise.
6849 * libio/iofdopen.c: Likewise.
6850 * libio/iofflush.c: Likewise.
6851 * libio/iofflush_u.c: Likewise.
6852 * libio/iofgets.c: Likewise.
6853 * libio/iofgets_u.c: Likewise.
6854 * libio/iofopen.c: Likewise.
6855 * libio/iofopncook.c: Likewise.
6856 * libio/iofread.c: Likewise.
6857 * libio/iofread_u.c: Likewise.
6858 * libio/ioftell.c: Likewise.
6859 * libio/iofwrite.c: Likewise.
6860 * libio/iogetline.c: Likewise.
6861 * libio/iogets.c: Likewise.
6862 * libio/iogetwline.c: Likewise.
6863 * libio/iopadn.c: Likewise.
6864 * libio/iopopen.c: Likewise.
6865 * libio/ioseekoff.c: Likewise.
6866 * libio/ioseekpos.c: Likewise.
6867 * libio/iosetbuffer.c: Likewise.
6868 * libio/iosetvbuf.c: Likewise.
6869 * libio/ioungetc.c: Likewise.
6870 * libio/ioungetwc.c: Likewise.
6871 * libio/iovdprintf.c: Likewise.
6872 * libio/iovsprintf.c: Likewise.
6873 * libio/iovsscanf.c: Likewise.
6874 * libio/memstream.c: Likewise.
6875 * libio/obprintf.c: Likewise.
6876 * libio/oldfileops.c: Likewise.
6877 * libio/oldiofclose.c: Likewise.
6878 * libio/oldiofdopen.c: Likewise.
6879 * libio/oldiofopen.c: Likewise.
6880 * libio/oldiopopen.c: Likewise.
6881 * libio/oldstdfiles.c: Likewise.
6882 * libio/putc.c: Likewise.
6883 * libio/setbuf.c: Likewise.
6884 * libio/setlinebuf.c: Likewise.
6885 * libio/stdfiles.c: Likewise.
6886 * libio/strops.c: Likewise.
6887 * libio/vasprintf.c: Likewise.
6888 * libio/vscanf.c: Likewise.
6889 * libio/vsnprintf.c: Likewise.
6890 * libio/vswprintf.c: Likewise.
6891 * libio/wfiledoalloc.c: Likewise.
6892 * libio/wfileops.c: Likewise.
6893 * libio/wgenops.c: Likewise.
6894 * libio/wmemstream.c: Likewise.
6895 * libio/wstrops.c: Likewise.
6896 * libio/__fpurge.c: Likewise.
6897 * libio/__fsetlocking.c: Likewise.
6898 * assert/assert.c: Likewise.
6899 * debug/fgets_chk.c: Likewise.
6900 * debug/fgets_u_chk.c: Likewise.
6901 * debug/fread_chk.c: Likewise.
6902 * debug/fread_u_chk.c: Likewise.
6903 * debug/gets_chk.c: Likewise.
6904 * debug/obprintf_chk.c: Likewise.
6905 * debug/vasprintf_chk.c: Likewise.
6906 * debug/vdprintf_chk.c: Likewise.
6907 * debug/vsnprintf_chk.c: Likewise.
6908 * debug/vsprintf_chk.c: Likewise.
6909 * malloc/mtrace.c: Likewise.
6910 * misc/error.c: Likewise.
6911 * misc/syslog.c: Likewise.
6912 * stdio-common/asprintf.c: Likewise.
6913 * stdio-common/fxprintf.c: Likewise.
6914 * stdio-common/getw.c: Likewise.
6915 * stdio-common/isoc99_fscanf.c: Likewise.
6916 * stdio-common/isoc99_scanf.c: Likewise.
6917 * stdio-common/isoc99_vfscanf.c: Likewise.
6918 * stdio-common/isoc99_vscanf.c: Likewise.
6919 * stdio-common/isoc99_vsscanf.c: Likewise.
6920 * stdio-common/printf-prs.c: Likewise.
6921 * stdio-common/printf_fp.c: Likewise.
6922 * stdio-common/printf_fphex.c: Likewise.
6923 * stdio-common/printf_size.c: Likewise.
6924 * stdio-common/putw.c: Likewise.
6925 * stdio-common/scanf.c: Likewise.
6926 * stdio-common/sprintf.c: Likewise.
6927 * stdio-common/tmpfile.c: Likewise.
6928 * stdio-common/vfprintf.c: Likewise.
6929 * stdio-common/vfscanf.c: Likewise.
6930 * stdlib/strfmon_l.c: Likewise.
6931 * sunrpc/openchild.c: Likewise.
6932 * sunrpc/xdr_stdio.c: Likewise.
6933 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6934 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6935
d6c33fda
RM
69362012-05-24 Roland McGrath <roland@hack.frob.com>
6937
c1487492
RM
6938 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6939
6940 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6941 in the third column, to generate for the shared library an IFUNC
6942 that uses _dl_vdso_vsym.
6943 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6944 * Makeconfig (object-suffixes-noshared): New variable.
6945
6946 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6947 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6948 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6949 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6950
d6c33fda
RM
6951 [BZ #14132]
6952 * include/sys/time.h (__gettimeofday): Remove macro.
6953 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6954 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6955 Remove INTDEF.
6956 (__gettimeofday): Add libc_hidden_def.
6957 (gettimeofday): Add libc_hidden_weak.
6958 * sysdeps/mach/gettimeofday.c: Likewise.
6959 * sysdeps/posix/gettimeofday.c: Likewise.
6960 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6961 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6962 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6963 (__gettimeofday_internal): Remove strong_alias.
6964 (__gettimeofday): Add libc_hidden_def.
6965 (gettimeofday): Add libc_hidden_weak.
6966 * sysdeps/unix/syscalls.list (gettimeofday):
6967 Remove __gettimeofday_internal alias.
6968
b5a2bbe6
L
69692012-05-24 Daniel Jacobowitz <drow@false.org>
6970 H.J. Lu <hongjiu.lu@intel.com>
6971
6972 [BZ #12495]
6973 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6974 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6975 (largebin_index_32_big): New.
6976 (largebin_index): Use it for 16-byte alignment.
6977 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6978 correction with front_misalign.
6979
cfba4fda
L
69802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6981
7f907421
L
6982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6984 Likewise.
6985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6986 Likewise.
6987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6988 Likewise.
6989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6990 Likewise.
6991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6992 Likewise.
6993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6994 Likewise.
6995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6996 Likewise.
6997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6998 Likewise.
6999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7000 Likewise.
7001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7002 Likewise.
7003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7004 Likewise.
7005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7006 Likewise.
7007
cfba4fda
L
7008 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7009 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7010
80bad0cc
JM
70112012-05-24 Joseph Myers <joseph@codesourcery.com>
7012
7a25eb06
JM
7013 [BZ #10846]
7014 [BZ #14036]
7015 * math/libm-test.inc (exp_test): Add test from bug 14036.
7016 (pow_test): Add test from bug 10846.
7017
795405f9
JM
7018 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7019 and other flags.
7020 (special_function): Do not include flags in test name.
7021 (parse_args): Likewise.
7022 * sysdeps/i386/fpu/libm-test-ulps: Update.
7023 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7024 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7025 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7027
80bad0cc
JM
7028 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7029 exceptions.
7030 * math/libm-test.inc ("Philosophy"): Update comment about
7031 exception testing.
7032 (UNDERFLOW_EXCEPTION): New macro.
7033 (UNDERFLOW_EXCEPTION_OK): Likewise.
7034 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7035 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7036 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7037 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7038 (INVALID_EXCEPTION_OK): Update value.
7039 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7040 (OVERFLOW_EXCEPTION_OK): Likewise.
7041 (IGNORE_ZERO_INF_SIGN): Likewise.
7042 (test_exceptions): Handle underflow exceptions.
7043 (acos_test): Update for underflow exception expectations.
7044 (cexp_test): Likewise.
7045 (clog_test): Likewise.
7046 (clog10_test): Likewise.
7047 (csqrt_test): Likewise.
7048 (ctan_test): Likewise.
7049 (ctanh_test): Likewise.
7050 (exp_test): Likewise.
7051 (exp10_test): Likewise.
7052 (exp2_test): Likewise.
7053 (expm1_test): Likewise.
7054 (fma_test): Likewise.
7055 (j0_test): Likewise.
7056 (jn_test): Likewise.
7057 (nexttoward_test): Likewise.
7058 (pow_test): Likewise.
7059 (scalbn_test): Likewise.
7060 (scalbln_test): Likewise.
7061 (tan_test): Likewise.
7062 (y1_test): Likewise.
7063 * sysdeps/i386/fpu/libm-test-ulps: Update.
7064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7065
9e0e3d0b
DM
70662012-05-23 David S. Miller <davem@davemloft.net>
7067
7068 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7069 (__libc_sigaction): Remove unused local variables.
7070
ccd0a08f
L
70712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7072
7073 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7074
62bdf9a6
PE
70752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7076
f8591f80
PE
7077 mktime: avoid signed integer overflow
7078 * time/mktime.c (__mktime_internal): Do not mishandle the case
7079 where diff == INT_MIN.
7080
94c7d826
PE
7081 mktime: simplify computation of average
7082 * time/mktime.c (ranged_convert): Use new time_t_avg function
7083 instead of rolling our own (probably-slower) code.
7084
ce73d683
PE
7085 mktime: do not assume signed right shift propagates sign bit
7086 * time/mktime.c (isdst_differ): New static function.
7087 (__mktime_internal): No need to normalize tm_isdst now.
7088 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7089 tm_isdst values.
7090
72a22e59
PE
7091 mktime: merge another wrapv change from gnulib
7092 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7093 from some compilers.
7094
68605433
PE
7095 mktime: remove incorrect attempt at unusual arithmetics
7096 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7097 The code didn't really work on such machines anyway.
7098 (TYPE_MINIMUM): Assume two's complement.
7099 (twos_complement_arithmetic): Verify that long_int and time_t
7100 are two's complement (or unsigned, in the latter case).
7101
03cf7fe3
PE
7102 mktime: check signed shifts on long_int and time_t, too
7103 * time/mktime.c (SHR): Check that shifts work as desired
7104 on the types long_int and time_t too, as SHR is used on
7105 such types.
7106
f04dfbc2
PE
7107 mktime: do not assume 'long' is wide enough
7108 * time/mktime.c (verify): Move decl up.
7109 (long_int): New type.
7110 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7111 to remove assumption in the code that 'long' is wide enough to
7112 store year values. This assumption is not true on x32 and on
7113 some non-glibc platforms.
7114
62bdf9a6
PE
7115 mktime: merge wrapv change from gnulib
7116 * time/mktime.c (WRAPV): New macro.
7117 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7118 (guess_time_tm, __mktime_internal): Do not assume that signed
7119 integer overflow wraps around; modern compilers generate code
7120 where this assumption is no longer valid.
7121
5e292e4f
L
71222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7123
7124 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7125 Replace "jmp L(pseudo_end)" with "ret".
7126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7127 Likewise.
7128
8caf8c87
AJ
71292012-05-23 Andreas Jaeger <aj@suse.de>
7130
7131 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7132 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7133
1a09dc56
AJ
71342012-05-23 Andreas Jaeger <aj@suse.de>
7135 Maximilian Attems <max@stro.at>
7136
7137 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7138 New macros.
7139
1c87aba0
L
71402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7141
7142 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7143 code so that pseudo_end is just ret and the stack pointer is
7144 correct also for static library in error case.
7145
40e45bd5
JM
71462012-05-23 Joseph Myers <joseph@codesourcery.com>
7147
c2670533
JM
7148 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7149 move to syscalls.list.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7154
40e45bd5
JM
7155 * manual/install.texi (Running make install): Do not mention Linux
7156 kernel version for which pt_chown is not needed.
7157 (Linux): Do not mention problems with nscd with 2.0 kernels.
7158 * INSTALL: Regenerated.
7159
be08eda5
AJ
71602012-05-23 Andreas Jaeger <aj@suse.de>
7161
7162 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7163 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7164 macro.
7165 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7166 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7167 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7168 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7169 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7170 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7171 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7172 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7173 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7174 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7175 * sysdeps/unix/sysv/linux/bits/in.h
7176 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7177
a6a056bb
RM
71782012-05-22 Roland McGrath <roland@hack.frob.com>
7179
7180 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7181 (PREPARE_VERSION): Just use assert instead, it will be elided
7182 under [NDEBUG] anyway.
7183
c9009328
L
71842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7185
7186 * sysdeps/unix/sysv/linux/Makefile: Include
7187 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7188 (sysdep_routines): Remove sysctl.
c9009328
L
7189 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7190 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7191 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7192 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7193 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7194
73338355
AJ
71952012-05-22 Andreas Jaeger <aj@suse.de>
7196
7197 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7198 that pseudo_end is just ret and the stack pointer is correct also
7199 for static library in error case.
7200
d44638b0
PP
72012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7202
7203 [BZ #14122]
7204 * nss/nsswitch.c (defconfig_entries): New variable.
7205 (__nss_database_lookup): Don't leak defconfig entries.
7206 (nss_parse_service_list): Don't leak on error paths.
7207 (free_database_entries): New function.
7208 (free_defconfig): New function.
7209 (free_mem): Move common code to free_database_entries.
7210
31a39bd8
L
72112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7212
da0331a8
L
7213 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7214 Add arch_prctl.
7215 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7216
31a39bd8
L
7217 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7218 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7220 New macro.
7221 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7222 (INTERNAL_SYSCALL_TYPES): Likewise.
7223 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7224 (LOAD_REGS_TYPES_[1-6]): Likewise.
7225 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7226 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7227
45470df3
AZ
72282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7229
7230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7231 copysignl for GLIBC_2_0.
7232 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7233 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7235 logbl for GLIBC_2_0.
7236 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7237 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7238
98a61bcb
L
72392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7240
a4f6e481
L
7241 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7242 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7243
f63d5db6
L
7244 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7245 Use "neg %eax".
7246
98a61bcb
L
7247 * time/mktime.c: Update copyright years.
7248
95770f14
PE
72492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7250
6226efbd
PE
7251 mktime: merge comment-quoting-style change from gnulib
7252 * time/mktime.c: Quote 'like this' in comments.
7253 The GNU coding standards suggest that we no longer quote `like this',
7254 as "`" and "'" are typically rendered asymmetrically nowadays.
7255 The typical gnulib style is to quote 'like this' when quoting
7256 code, and "like this" when quoting English.
7257
b99e4f78
PE
7258 * time/mktime.c (compile-command): Add "-I.".
7259
643e01e6
PE
7260 mktime: merge mktime-internal.h change from gnulib
7261 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7262
2554247d
PE
7263 mktime: merge time_r change from gnulib
7264 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7265
826dd0ab
PE
7266 mktime: merge DEBUG change from gnulib
7267 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7268 case system <time.h> has a #define.
7269
bd83aabe
PE
7270 mktime: merge <sys/types.h> change from gnulib
7271 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7272 since <time.t> is now guaranteed to define time_t.
7273
95770f14
PE
7274 mktime: merge HAVE_CONFIG_H change from gnulib
7275 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7276
5e1a27a9
L
72772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7278
0e44a77e
L
7279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7280 Use "neg %eax".
7281
5e1a27a9
L
7282 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7283 __rlim_t cast.
7284 (struct rusage): Use anonymous union to pad each field to
7285 __syscall_slong_t.
7286
46259bec
DM
72872012-05-21 David S. Miller <davem@davemloft.net>
7288
7289 * Makefules (o-iterator): Remove .s cases.
7290 (compile-command.s): Delete.
7291 (COMPILE.s): Delete.
7292 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7293
59f0c22e
JM
72942012-05-21 Joseph Myers <joseph@codesourcery.com>
7295
7296 * configure.in (libc_cv_predef_stack_protector): Only consider
7297 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7298 * configure: Regenerated.
7299
20c07380
L
73002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7301
bbb3154b
L
7302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7303 New macro. Use R*LP on int and pointer.
7304 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7305 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7306 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7307 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7308
20c07380
L
7309 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7310 [__WORDSIZE_TIME64_COMPAT32] instead of
7311 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7312 (struct utmp): Likewise.
7313 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7314 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7315 Renamed to ...
7316 (__WORDSIZE_TIME64_COMPAT32): This.
7317 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7318 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7319 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7320 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7321 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7322 (__WORDSIZE_TIME64_COMPAT32): New macro.
7323
d8d1017e
AJ
73242012-05-21 Andreas Jaeger <aj@suse.de>
7325
7326 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7327 only if [SHARED]. Add prototype for __wcschr_ia32.
7328
6c7fb145
RM
73292012-05-21 Roland McGrath <roland@hack.frob.com>
7330
7331 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7332 of %rbp unmolested in the jmp_buf while mangling the low bits.
7333 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7334 unmolested high bits of %rbp while demangling the low bits.
7335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7336
66274218
AJ
73372012-05-21 Andreas Jaeger <aj@suse.de>
7338
07c58f8f
AJ
7339 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7340 * sunrpc/svc_simple.c: Use it for registerrpc.
7341 * sunrpc/xcrypt.c: Use it for passwd2des.
7342
66274218
AJ
7343 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7344
61f65140
L
73452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7346
7347 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7348 Don't define if [__SYSCALL_WORDSIZE != 32].
7349 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7350 New macro.
7351
5fefb436
AJ
73522012-05-21 Bruno Haible <bruno@clisp.org>
7353 Andreas Jaeger <aj@suse.de>
7354
7355 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7356 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7357 inptr and inend for must_buffer_ch.
7358 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7359 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7360 * stdio-common/Makefile (tests): Remove bug15.
7361 (bug15-ENV): Remove macro.
7362 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7363 anymore.
7364
d8e272ab
AJ
73652012-05-19 Andreas Jaeger <aj@suse.de>
7366 Roland McGrath <roland@hack.frob.com>
7367
7368 * manual/contrib.texi: Completely rewritten. It contains now an
7369 alphabetical list of contributors and their contributions.
7370
4a56a162
RH
73712012-05-21 Richard Henderson <rth@twiddle.net>
7372
7373 * misc/getauxval.c (__getauxval): Use unsigned long int.
7374 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7375 (getauxval): Use unsigned long int.
7376
d024d23c
L
73772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7378
7379 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7380
cbc00a03
RM
73812012-05-21 Roland McGrath <roland@hack.frob.com>
7382
7383 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7384 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7385 __alignof__ (long double).
7386
478143fa
AZ
73872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7388
7389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7390
c7683a6d
RH
73912012-05-20 Richard Henderson <rth@twiddle.net>
7392
7393 * misc/getauxval.c: New file.
7394 * misc/sys/auxv.h: New file.
7395 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7396 (routines): Add getauxval.
7397 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7398 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7399 * elf/dl-sysdep.c (_dl_auxv): Remove.
7400 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7401 * elf/dl-support.c (_dl_auxv): New variable.
7402 (_dl_aux_init): Initialize it.
7403 * manual/startup.texi (Auxiliary Vector): New node.
7404 * sysdeps/generic/bits/hwcap.h: New file.
7405 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7406 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7407 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7408 * sysdeps/sparc/sysdep.h: ... here. Include it.
7409 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7410 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7412 Update.
c7683a6d
RH
7413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7421
a6f1845d
AZ
74222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7423
7424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7425
cbcbe830
DM
74262012-05-19 David S. Miller <davem@davemloft.net>
7427
7428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7429
e0b16cc2
JM
74302012-05-19 Joseph Myers <joseph@codesourcery.com>
7431
7432 [BZ #14123]
7433 * math/s_ccosh.c: Include <float.h>
7434 (__ccosh): Avoid internal overflow calculating sinh and cosh
7435 values before multiplying by sin and cos values.
7436 * math/s_ccoshf.c: Likewise.
7437 * math/s_ccoshl.c: Likewise.
7438 * math/s_csin.c: Likewise.
7439 * math/s_csinf.c: Likewise.
7440 * math/s_csinl.c: Likewise.
7441 * math/s_csinh.c: Likewise.
7442 * math/s_csinhf.c: Likewise.
7443 * math/s_csinhl.c: Likewise.
7444 * math/libm-test.inc (ccos_test): Add more tests.
7445 (ccosh_test): Likewise.
7446 (csin_test): Likewise.
7447 (csinh_test): Likewise.
7448 * sysdeps/i386/fpu/libm-test-ulps: Update.
7449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7450
6ad13e08
L
74512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7452
f66f0ce8
L
7453 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7454 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7455
6ad13e08
L
7456 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7457
b1d072a7
JM
74582012-05-19 Joseph Myers <joseph@codesourcery.com>
7459
7460 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7461 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7462 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7463 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7464 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7465 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7466 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7467 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7468 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7469 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7470 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7471 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7472 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7473 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7474 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7475 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7476 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7477 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7478 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7479 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7480 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7481 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7482 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7483 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7484 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7485 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7486 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7487 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7488 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7489 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7490 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7491
9eae47cb
AJ
74922012-05-18 Andreas Jaeger <aj@suse.de>
7493
7494 * csu/.gitignore: Delete.
7495
bb07f69f
L
74962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7497
7498 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7499 (timex): Use __syscall_slong_t.
7500
e6bdb741
AJ
75012012-05-18 Andreas Jaeger <aj@suse.de>
7502 Carlos O'Donell <carlos_odonell@mentor.com>
7503
7504 * manual/install.texi (Configuring and compiling): Update
7505 description about files modified in the source directory.
d6c33fda 7506 * INSTALL: Regenerated.
e6bdb741 7507
1b74487e
L
75082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7509
7510 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7511 value. Use "or" to set return value to -1.
7512 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7513 negate return value.
7514
a88b64b9
TMQMF
75152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7516
7517 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7518 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7519 failure if the compiler has Graphite support disabled.
7520 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7521 Likewise.
7522 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7523 CFLAGS-memmove.c): Likewise.
7524 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7525 Likewise.
7526
3707636e
L
75272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7528
610b8622
L
7529 * sysdeps/x86_64/x32/_itoa.h: New file.
7530
7cd195df
L
7531 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7532 getdents system call only if kernel and user dirents have the
7533 same d_ino and d_off.
7534
94b07d20
L
7535 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7536 LLONG_MAX != LONG_MAX.
7537 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7538 (_fitoa_word): Likewise.
7539
18298070
L
7540 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7541 years.
7542 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7543 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7544 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7545
553c7ea4
L
7546 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7547 include <bits/wordsize.h>. Check __x86_64__ instead of
7548 __WORDSIZE.
7549 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7550 if __x86_64__ is defined. Use anonymous union on fpstate.
7551
3707636e
L
7552 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7553 anonymous union.
7554
b53ef01a
AS
75552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7556
37fb1dc0
AS
7557 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7558 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7559 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7560 Refer to _rtld_local_ro instead of _rtld_global_ro.
7561 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7562 Likewise.
7563 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7564 Likewise.
7565 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7566 Likewise.
7567 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7568 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7569 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7570
b53ef01a
AS
7571 * sysdeps/powerpc/powerpc32/dl-machine.c
7572 (__elf_machine_runtime_setup) [PROF]: Don't reference
7573 _dl_prof_resolve.
7574
7a185db2
AJ
75752012-05-18 Andreas Jaeger <aj@suse.de>
7576
7577 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7578 function only available for GCCs before 3.4 since GCC 3.4
7579 introduced a builtin.
7580 (lrint): Likewise.
7581 (llrintf): Likewise.
7582 (llrint): Likewise.
7583 (fmaxf): Likewise.
7584 (fmax): Likewise.
7585 (fminf): Likewise.
7586 (fmin): Likewise.
7587 (rint): Likewise.
7588 (rintf): Likewise.
7589 (nearbyint): Likewise.
7590 (nearbyintf): Likewise.
7591 (ceil): Likewise.
7592 (ceilf): Likewise.
7593 (floor): Likewise.
7594 (floorf): Likewise.
7595
3e5aef87
L
75962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7597
428bd707
L
7598 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7599 on both fields and cast pointer to __syscall_ulong_t.
7600
3e5aef87
L
7601 * bits/types.h (__fsword_t): New type.
7602 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7603 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7605 (__FSWORD_T_TYPE): Likewise.
7606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7607 (__FSWORD_T_TYPE): Likewise.
7608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7609 (__FSWORD_T_TYPE): Likewise.
7610 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7611 (__FSWORD_T_TYPE): Likewise.
7612 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7613 __SWORD_TYPE with __fsword_t.
7614 (statfs64): Likewise.
7615
1ba7c3dc
DM
76162012-05-17 David S. Miller <davem@davemloft.net>
7617
7618 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7619
59910343
AJ
76202012-05-17 Andreas Jaeger <aj@suse.de>
7621
7622 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7623 warning.
7624
2e4c1e9e
L
76252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7626
7627 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7628
de7f5ce7
AJ
76292012-05-17 Andreas Jaeger <aj@suse.de>
7630
7631 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7632 when it is used.
7633
286abc3d
CM
76342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7635
7636 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7637
477cc68e
L
76382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7639
7640 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7641 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7642
1a0994f5
CD
76432012-05-17 Andreas Jaeger <aj@suse.de>
7644 Carlos O'Donell <carlos_odonell@mentor.com>
7645
7646 [BZ #14059]
7647 * sysdeps/x86_64/multiarch/init-arch.h
7648 (bit_YMM_Usable): Rename to...
7649 (bit_AVX_Usable): ... this.
7650 (bit_FMA4_Usable): New macro.
7651 (bit_XMM_state): New macro.
7652 (bit_YMM_state): New macro.
7653 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7654 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7655 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7656 (CPUID_OSXSAVE): New macro.
7657 (CPUID_AVX): New macro.
7658 (CPUID_FMA4): New macro.
7659 (index_YMM_Usable): Rename to...
7660 (index_AVX_Usable): ... this.
7661 (HAS_AVX): Use HAS_ARCH_FEATURE.
7662 (HAS_FMA4): Likewise.
7663 (HAS_YMM_USABLE): Remove.
7664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7665 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7666 are present.
7667 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7668 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7669 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7670 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7671 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7672
0af797de
CM
76732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7674
7675 * math/libm-test.c: Support platforms without multiple rounding modes.
7676 * math/bug-nextafter.c: Support platforms without FP exceptions.
7677 * math/bug-nexttoward.c: Likewise.
7678 * math/test-fenv.c: Likewise.
7679 * math/test-misc.c: Likewise.
7680 * stdlib/bug-getcontext.c: Likewise.
7681
e39745ff
AJ
76822012-05-17 Andreas Jaeger <aj@suse.de>
7683
7684 * manual/examples/search.c (critter_cmp): Change signature to
7685 avoid warnings.
7686 * manual/string.texi (Collation Functions): Likewise.
7687
48970aba
L
76882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7689
7690 * bits/types.h: Fold copyright years.
7691 * bits/typesizes.h: Likewise.
7692 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7696 * time/time.h: Likewise.
7697
bedee953
PP
76982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7699
7700 [BZ #208]
7701 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7702 in instead of returning them. Return void.
7703 (__libc_mallinfo): Accumulate over all arenas.
7704 (__malloc_stats): Adjust for change in int_mallinfo interface.
7705
61653dfb
RM
77062012-05-16 Roland McGrath <roland@hack.frob.com>
7707
30b99d79
RM
7708 [BZ #10375]
7709 * configure.in (NM): Add AC_CHECK_TOOL for it.
7710 (libc_extra_cflags): New substituted variable.
7711 Check for -fstack-protector being used implicitly.
7712 * configure: Regenerated.
7713 * config.make.in (config-extra-cflags): New variable,
7714 gets @libc_extra_cflags@.
7715 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7716
61653dfb
RM
7717 [BZ #10375]
7718 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7719 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7720 * configure: Regenerated.
7721 * config.make.in (CPPUNDEFS): New substituted variable.
7722 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7723 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7724 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7725
661768bb
L
77262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7727
7728 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7729 (mq_attr): Use __syscall_slong_t.
7730
d4261567
L
77312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7732
7733 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7734 Check __x86_64__ instead of __WORDSIZE.
7735 (_STAT_VER_LINUX): Likewise.
7736 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7737 __syscall_ulong_t and __syscall_slong_t.
7738 (stat64): Likewise.
7739
cf3ff365
L
77402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7741
7742 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7743
76cf3e4d
L
77442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7745
7746 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7747
a637753a
L
77482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7749
7750 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7751 __syscall_ulong_t.
7752
d5e05119
L
7753 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7754 include <bits/wordsize.h>. Check __x86_64__ instead of
7755 __WORDSIZE.
7756 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7757 defined.
7758 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7759
f62ee380
L
7760 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7761 include <bits/wordsize.h>. Check __x86_64__ instead of
7762 __WORDSIZE.
7763 (user_regs_struct): Use "__extension__ unsigned long long"
7764 instead of "unsigned long" if __x86_64__ is defined.
7765 (user): Likewise. Pad after pointer field if __ILP32__ is
7766 defined.
7767
4e124ced
JM
77682012-05-16 Joseph Myers <joseph@codesourcery.com>
7769
6a3951a0
JM
7770 * configure.in (makeinfo): Require version 4.5 or later. Allow
7771 versions 5 to 9.
7772 * configure: Regenerated.
7773 * manual/install.texi (texinfo): Increase version requirement to
7774 4.5 or later.
7775 * INSTALL: Regenerated.
7776
4e124ced
JM
7777 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7778
953ca31a
L
77792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7780
7781 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7782
617aca05
L
7783 * sysdeps/x86_64/x32/ffs.c: New file.
7784
5762f7ae
L
7785 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7786 __syscall_ulong_t.
7787 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7788 defined. Use __syscall_ulong_t.
7789 (shminfo): Use __syscall_ulong_t.
7790 (shm_info): Likewise.
7791
a26b6856
L
7792 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7793 __syscall_ulong_t.
7794
cb2b9ef7
L
7795 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7796 <bits/wordsize.h>.
7797 (msgqnum_t): Use __syscall_ulong_t.
7798 (msglen_t): Likewise.
7799 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7800 __syscall_ulong_t.
7801
34683bb0
L
7802 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7803 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7804
84a68786
L
7805 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7806
48baa5f1
L
7807 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7808 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7809
180be88b
L
7810 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7811 __syscall_slong_t.
7812
5e90c8ad
L
7813 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7814 include <bits/wordsize.h>. Check __x86_64__ instead of
7815 __WORDSIZE.
7816
23dfb58b
L
7817 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7818 "unsigned long long int" if __x86_64__ is defined.
7819 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7820
ce5d54b0
L
7821 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7822 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7823 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7824
13dc9eac
L
7825 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7826 <stdint.h>.
7827 (GET_PC): Cast to uintptr_t first.
7828 (GET_FRAME): Likewise.
7829 (GET_STACK): Likewise.
7830
a7895d15
L
7831 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7832 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7833 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7834 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7835 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7836 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7837 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7838 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7839 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7840 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7841 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7842 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7843 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7844 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7845 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7846 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7847 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7848 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7849 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7850 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7851 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7852 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7853 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7854 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7855 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7856 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7857 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7858 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7859 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7860
656416c9
AS
78612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7862
5bd66283
AS
7863 * Makerules (+depfiles): Also collect depfiles from .oS in
7864 $(extra-objs).
7865 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7866 .oS, $(libnldbl-routines)).
7867
656416c9
AS
7868 * Makerules (native-compile-mkdep-flags): Define.
7869 * sunrpc/Makefile (extra-objs): Add $(addprefix
7870 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7871 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7872 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7873 calling $(make-target-directory).
7874
a46f2169
L
78752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7876
7877 * bits/types.h (__snseconds_t): Removed.
7878 * time/time.h (struct timespec): Replace __snseconds_t with
7879 __syscall_slong_t.
7880 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7881 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7882 Likewise.
7883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7884 (__SNSECONDS_T_TYPE): Likewise.
7885 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7886 (__SNSECONDS_T_TYPE): Likewise.
7887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7888 (__SNSECONDS_T_TYPE): Likewise.
7889
6af6528b
L
78902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7891
7892 * sysdeps/mach/hurd/bits/typesizes.h
7893 (__SYSCALL_SLONG_TYPE): New macro.
7894 (__SYSCALL_ULONG_TYPE): Likewise.
7895
de986b56
L
78962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 * bits/types.h (__syscall_slong_t): New type.
7899 (__syscall_ulong_t): Likewise.
7900
7901 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7902 (__SYSCALL_ULONG_TYPE): Likewise.
7903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7904 (__SYSCALL_SLONG_TYPE): Likewise.
7905 (__SYSCALL_ULONG_TYPE): Likewise.
7906 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7907 (__SYSCALL_SLONG_TYPE): Likewise.
7908 (__SYSCALL_ULONG_TYPE): Likewise.
7909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7910 (__SYSCALL_SLONG_TYPE): Likewise.
7911 (__SYSCALL_ULONG_TYPE): Likewise.
7912
85736dc7
L
79132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7914
7915 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7916 Add sigaltstack-offsets.sym.
7917 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7918 <sigaltstack-offsets.h>.
7919 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7920 longjmp_msg pointer.
7921 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7922 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7923 signal stack.
7924 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7925
cc03b296
JM
79262012-05-15 Joseph Myers <joseph@codesourcery.com>
7927
a9538892
JM
7928 * elf/stackguard-macros.h: Remove file.
7929 * sysdeps/generic/stackguard-macros.h: New file.
7930 * sysdeps/i386/stackguard-macros.h: Likewise.
7931 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7932 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7933 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7934 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7935 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7936 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7937 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7938 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7939 <elf/stackguard-macros.h>.
7940
cc03b296
JM
7941 [BZ #14109]
7942 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7943 __aligned__ in attribute.
7944 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7945 (gregset_t): Likewise.
7946
93171016
L
79472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7948
7949 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7950 * sysdeps/x86_64/64/Implies-after: Here. New file.
7951 * sysdeps/x86_64/x32/Implies-after: New file.
7952
d86813a0
L
79532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7954
7955 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7956 and access return value for _dl_profile_fixup. Use R10_LP to
7957 load frame size.
7958
2953ec75
L
79592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7962
3b550e9e
L
79632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7964
7965 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7966 * sysdeps/x86_64/x32/sysdep.h: New file.
7967
eda41706
L
79682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7969
7970 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7971 * sysdeps/x86_64/setjmp.S: Likewise.
7972
9ea01d93
AZ
79732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7974
7975 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7976 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7977 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7978 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7979 remove unused global constant.
7980
02a91938
CM
79812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7982
7983 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7984 include of <not-cancel.h>.
7985
6540185f
RM
79862012-05-15 Roland McGrath <roland@hack.frob.com>
7987
7988 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7989
509072a0
AJ
79902012-05-15 Jeff Law <law@redhat.com>
7991 Andreas Jaeger <aj@suse.de>
7992
7993 [BZ #13594]
7994 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7995 out from...
7996 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7997 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7998 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7999 code changing __hst_map_handle.map.
8000
ba75122d
RM
80012012-05-15 Roland McGrath <roland@hack.frob.com>
8002
8003 * configure.in (sysnames): Look for Implies-before and Implies-after
8004 files.
8005 * configure: Regenerated.
8006
890d8bd8
L
80072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8008
8009 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8010 8-byte data alignment with LP_SIZE alignment.
8011
f6ee6623
L
80122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8015 into R10_LP.
8016
ea2626f6
L
80172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8018
8019 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8020
085f715e
L
80212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8022
8023 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8024 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8025 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8026 Likewise.
8027 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8028
be8498fc
L
80292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8030
8031 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8032 (stackinfo_sub_sp): Likewise.
8033
70bc83b9
L
80342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8035
8036 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8037 RAX_LP.
8038
9bc0b730
L
80392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8040
8041 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8042 into R*_LP.
8043
6d2850e7
L
80442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8045
8046 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8047 sizes into R*_LP.
8048
3cb84561
L
80492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8050
8051 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8052
54e2ed81
L
80532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8054
8055 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8056 into R11_LP and load __x86_64_shared_cache_size_half into
8057 R8_LP.
8058
8a17f349
L
80592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8060
8061 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8062 R8_LP.
8063
777b1eea
AZ
80642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8065
8066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8067 logb for POWER7.
8068 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8069 logbf for POWER7.
8070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8071 logbl for POWER7.
8072 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8073 powerpc32/power7/fpu/s_logb.c via #include.
8074 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8075 powerpc32/power7/fpu/s_logbf.c via #include.
8076 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8077 powerpc32/power7/fpu/s_logbl.c via #include.
8078
d20d4ac2
JM
80792012-05-15 Joseph Myers <joseph@codesourcery.com>
8080
8081 * README.libm: Remove file.
8082
6cdef1ab
L
80832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8084
8085 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8086 count for x32. Use R*_LP and omit operand-size suffix.
8087
0b254d8f
L
80882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8089
8090 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8091 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8092 * sysdeps/x86_64/x32/shlib-versions: New file.
8093
ceb809dc
RM
80942012-05-14 Roland McGrath <roland@hack.frob.com>
8095
8096 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8097 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8098 Use _dl_fatal_printf instead.
8099
37f1abd4
JM
81002012-05-14 Joseph Myers <joseph@codesourcery.com>
8101
8102 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8103 set if not set by the user. Do not allow for being unset.
8104 * sysdeps/unix/sysv/linux/configure: Regenerated.
8105
11de3a33
L
81062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8109 the `q' suffix from lea and replace .quad with ASM_ADDR.
8110
e02f153a
L
81112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8112
8113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8114 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8115 instead of $17.
8116 (PTR_DEMANGLE): Likewise.
8117
520ae0fd
L
81182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8119
8120 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8121 (LP_OP): Likewise.
8122 (ASM_ADDR): Likewise.
8123 (RAX_LP): Likewise.
8124 (RBP_LP): Likewise.
8125 (RBX_LP): Likewise.
8126 (RCX_LP): Likewise.
8127 (RDI_LP): Likewise.
8128 (RSI_LP): Likewise.
8129 (RSP_LP): Likewise.
8130 (R8_LP): Likewise.
8131 (R9_LP): Likewise.
8132 (R10_LP): Likewise.
8133 (R10_LP): Likewise.
8134 (R11_LP): Likewise.
8135 (R12_LP): Likewise.
8136 (R13_LP): Likewise.
8137 (R14_LP): Likewise.
8138 (R15_LP): Likewise.
8139
b985be81
L
81402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8141
8142 * sysdeps/x86_64/x32/dl-machine.h: New file.
8143
6a4888ff
AJ
81442012-05-14 Andreas Jaeger <aj@suse.de>
8145
8146 * manual/Makefile (subdir): Remove export of subdir.
8147 (all): Remove target.
8148 (.PHONY): Remove all from list.
8149 (mkinstalldirs): Remove.
8150 (.PHONY): Remove installdirs from list.
8151 ($(inst_infodir)/libc.info): Use make-target-directory.
8152 (installdirs): Remove.
8153 (subdir_%): Remove.
8154 (glibc-targets): Remove.
8155 (lib): Remove.
8156 (stubs): Remove.
8157 ($(objpfx)stubs ../po/manual.pot): Remove.
8158 ($(objpfx)stamp%): Remove.
8159 (make-target-directory): Remove.
8160 (subdir_install): Remove.
8161 (routines): Remove.
8162 (aux): Remove.
8163 (sources): Remove.
8164 (objects): Remove.
8165 (headers): Remove.
8166
8167 [BZ #13750]
8168 * manual/.gitignore: Remove, it's not needed anymore.
8169 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8170 all files in it.
8171 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8172 directory.
8173 (texis): Renamed to $(objpfx)texis.
8174 (texis-path): New, contains path to generated files.
8175 (chapters.%): Use texis-path for complete path, add extra argument
8176 libc-texinfo.sh.
8177 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8178 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8179 (summary,texi, stamp-summary): Use complete path of
8180 files. Generate files in build dir.
8181 (dir-add.texi): Build in build dir.
8182 (libm-err.texi,stamp-libm-err): Likewise.
8183 (version.texi, stamp-version): Likewise.
8184 (.%c.texi): Likewise.
8185 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8186 (mostlyclean): Remove target.
8187 (realclean): Remove target.
8188 (generated): Add new variable with contents from mostlyclean and
8189 realclean, remove entries duplicated in common-mostlyclean, add
8190 stamp-libm-err and stamp-version.
8191 (generated-dirs): Add libc directory.
8192 ($(inst_infodir)/libc.info): Install files from build dir.
8193
8194 * manual/install.texi (Configuring and compiling): Adjust since
8195 the info files are not part of the tar ball anymore.
8196
7ac77294
AJ
81972012-05-14 Andreas Jaeger <aj@suse.de>
8198
8199 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8200 variable.
8201
ffb7875d
JM
82022012-05-14 Joseph Myers <joseph@codesourcery.com>
8203
8204 [BZ #13717]
8205 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8206 to 2.2.0 where earlier.
8207 * sysdeps/unix/sysv/linux/configure: Regenerated.
8208 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8209 Remove conditional code.
8210 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8211 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8212 Remove conditional code.
8213 [!__NR_lchown]: Likewise.
8214 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8215 [__NR_lchown]: Likewise.
8216 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8217 comment referencing __ASSUME_LCHOWN_SYSCALL.
8218 * sysdeps/unix/sysv/linux/i386/sigaction.c
8219 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8220 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8221 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8222 Remove conditional code.
8223 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8224 (__protocol_available): Remove #if 0 code.
8225 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8226 conditional code.
8227 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8228 * sysdeps/unix/sysv/linux/kernel-features.h
8229 (__ASSUME_GETCWD_SYSCALL): Don't define.
8230 (__ASSUME_REALTIME_SIGNALS): Likewise.
8231 (__ASSUME_PREAD_SYSCALL): Likewise.
8232 (__ASSUME_PWRITE_SYSCALL): Likewise.
8233 (__ASSUME_POLL_SYSCALL): Likewise.
8234 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8235 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8236 non-SPARC.
8237 (__ASSUME_SIOCGIFNAME): Don't define.
8238 (__ASSUME_MSG_NOSIGNAL): Likewise.
8239 (__ASSUME_SENDFILE): Define unconditionally.
8240 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8241 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8242 conditional code.
8243 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8244 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8245 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8246 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8247 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8248 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8249 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8251 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8254 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8263 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8266 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8269 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8272 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8274 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8275 Remove conditional code.
8276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8277 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8278 Remove conditional code.
8279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8280 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8281 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8282 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8283 Remove conditional code.
8284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8285 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8286 Remove conditional code.
8287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8288 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8289 Remove conditional code.
8290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8291 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8292 Remove conditional code.
8293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8294 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8295 Remove conditional code.
8296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8297 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8298 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8300 * sysdeps/unix/sysv/linux/sigaction.c
8301 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8302 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8303 * sysdeps/unix/sysv/linux/sigpending.c
8304 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8305 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8306 * sysdeps/unix/sysv/linux/sigprocmask.c
8307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8309 * sysdeps/unix/sysv/linux/sigsuspend.c
8310 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8311 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8312 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8313 (__libc_missing_rt_sigs): Remove.
8314 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8315 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8316 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8317 Remove conditional code.
8318 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8319 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8320 return 1.
8321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8322 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8323 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8324 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8325
1bfb7291
AJ
83262012-05-14 Andreas Jaeger <aj@suse.de>
8327
caae5a81
AJ
8328 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8329 it's not used in glibc.
8330 (__coshm1): Likewise.
8331 (__acosh1p): Likewise.
8332 (__sgn): Likewise.
8333
1bfb7291
AJ
8334 * manual/string.texi (Copying and Concatenation): Add missing
8335 variable in concat example.
8336 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8337
c044d724
L
83382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8339
144c5467 8340 [BZ #14103]
c044d724
L
8341 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8342 __builtin_clzl with __builtin_clzll.
8343
2523c62b
L
83442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8345
8346 [BZ #14104]
8347 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8348 libc_freeres_ptr.
8349
d7bb4c42
LD
83502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8351
8352 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8353 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8354 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8355 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8356
9dc4e1fb
MF
83572012-05-14 Mike Frysinger <vapier@gentoo.org>
8358
8359 * NEWS: Update ia64 info.
8360
c7df0112
AS
83612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8362
8363 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8364 used as bcopy.
8365
dc70356c
TS
83662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8367
8368 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8369 * sysdeps/unix/syscalls.list (dup3): Likewise.
8370 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8371 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8372
9fb1a21f
L
83732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8374
8375 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8376 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8377
4822a2a5
L
83782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8379
8380 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8381 thread pointer.
8382 (TLS_IE): Use mov/add instead of movq/addq to load thread
8383 pointer.
8384 (TLS_GD_PREFIX): New.
8385 (TLS_GD): Use it.
8386
842b81d6
DM
83872012-05-11 David S. Miller <davem@davemloft.net>
8388
8389 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8390 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8391 (_FPU_SETCW): Likewise.
8392
1cf463cd
L
83932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8394
8395 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8396 is 32-byte aligned.
8397
60cc4a18
AS
83982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8399
8400 [BZ #11837]
8401 * iconvdata/gb18030.c: Update tables.
8402 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8403 characters specially.
8404 (BODY for TO_LOOP): Add encoding of missing ranges.
8405
febb44a4
TS
84062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8407
8408 [BZ #13673]
8409 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8410 * sysdeps/mach/hurd/dup3.c: Likewise.
8411 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8412 * sysdeps/powerpc/memmove.c:: Likewise.
8413
0a10fb9e
L
84142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8415
8416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8417 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8418
df8a552f
L
84192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 * elf/elf.h (R_X86_64_RELATIVE64): New.
8422 (R_X86_64_NUM): Updated.
8423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8424 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8425 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8426 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8427 tst-quad1pie tst-quad2pie
8428 (modules-names): Add tst-quadmod1 tst-quadmod2.
8429 ($(objpfx)tst-quad1): New dependency.
8430 ($(objpfx)tst-quad2): Likewise.
8431 ($(objpfx)tst-quad1pie): Likewise.
8432 ($(objpfx)tst-quad2pie): Likewise.
8433 * sysdeps/x86_64/tst-quad1.c: New file.
8434 * sysdeps/x86_64/tst-quad1pie.c: New file.
8435 * sysdeps/x86_64/tst-quad2.c: Likewise.
8436 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8437 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8438 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8439 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8440 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8441
f34d6f84
ST
84422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8443
f42d41d1
ST
8444 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8445 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8446 * streams/stropts.h (t_scalar_t): Define type.
8447
3c3571fc
ST
8448 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8449 (_PATH_PRESERVE): Set to "/var/lib".
8450 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8451
61f06bd3
ST
8452 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8453 instead of int.
8454
918d4d71
ST
8455 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8456 if __dir_mkfile succeeded.
8457
f34d6f84
ST
8458 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8459 checking for _hurd_dtablesize. Unlock it right after having
8460 finished _hurd_dtable allocation.
8461
10589b4a
TS
84622012-05-10 Thomas Schwinge <thomas@schwinge.name>
8463
674cdbc7
TS
8464 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8465 * sysdeps/mach/hurd/configure: Regenerated.
8466 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8467 special-casing to...
8468 * sysdeps/gnu/configure.in: ... this new file.
8469 * sysdeps/unix/sysv/linux/configure: Regenerated.
8470 * sysdeps/gnu/configure: New generated file.
8471
8e41b99f
TS
8472 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8473 for Linux: use nsec instead of usec, as well as:
8474 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8475 members of type struct timespec.
8476 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8477 New macros.
8478 (struct stat64): Likewise.
8479 (_STATBUF_ST_NSEC): New macro.
8480 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8481
10589b4a
TS
8482 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8483 __strtoul_internal rather than strtoul.
8484
63643c85
PT
84852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8486
8487 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8488 and reject them.
8489
3faebe6a
ST
84902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8491
8492 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8493 which preserves existing values.
8494 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8495
c6474b07
PT
84962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8497
8498 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8499 TIMEOUT values. Return EINVAL for NFDS values either negative or
8500 greater than FD_SETSIZE.
8501
1043890b
ST
85022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8503
8504 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8505 allocated, call __vm_protect to finish enabling the existing space, and
8506 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8507 allocate the remainder.
8508
37ed8b9b
PT
85092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8510
8511 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8512 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8513
db653660
ST
85142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8515
37ed8b9b
PT
8516 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8517 sysdeps/mach/hurd/readlink.c.
b29d4053 8518
db653660
ST
8519 * posix/tst-sysconf.c (posix_options): Only use
8520 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8521 _POSIX_SYNCHRONIZED_IO when they are defined
8522 * sysdeps/mach/hurd/bits/posix_opt.h:
8523 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8524 (_XOPEN_REALTIME): Undefine macro.
8525 (_XOPEN_REALTIME_THREADS): Undefine macro.
8526 (_XOPEN_SHM): Undefine macro.
8527 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8528 macro to -1.
8529 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8530 macro to -1.
8531 (_POSIX_ASYNC_IO): Undefine macro.
8532 (_POSIX_PRIORITIZED_IO): Undefine macro.
8533 (_POSIX_SPIN_LOCKS): Define macro to -1.
8534
ee16e894
ST
8535 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8536 SA_NODEFER, SA_RESETHAND.
8537 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8538 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8539 F_DUPFD_CLOEXEC.
8540
6103ae3b
TS
85412012-05-10 Thomas Schwinge <thomas@schwinge.name>
8542
8543 * elf/Makefile (pldd-modules): Define unconditionally.
8544
80b4e5f3
TS
85452012-05-10 Thomas Schwinge <thomas@schwinge.name>
8546
8547 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8548
edadcbd6
ST
85492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8550
8551 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8552 Return ENOENT when name is empty.
8553 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8554
80694780
TS
85552012-05-10 Thomas Schwinge <thomas@schwinge.name>
8556
1792c087
TS
8557 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8558
80694780
TS
8559 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8560
6b645f0d
ST
85612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8562
80694780
TS
8563 Fix mlock in all cases except non-readable pages.
8564 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8565 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8566
6b645f0d
ST
8567 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8568 (__mkdir): When path is `/', just fail with EEXIST.
8569 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8570
e468f8a3
TS
85712012-05-10 Thomas Schwinge <thomas@schwinge.name>
8572
8573 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8574 <sys/uio.h> (for writev).
8575 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8576 and <sys/param.h> (for MIN).
8577
a4186cff
PT
85782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8579
8580 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8581 REQUESTED_TIME. Properly set the remaining time and return EINTR
8582 if interrupted.
8583
510bbf14
TS
85842012-05-10 Thomas Schwinge <thomas@schwinge.name>
8585
8586 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8587 Depend on against $(link-rpcuserlibs).
8588
5d5722e8
ST
85892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8590
a4186cff
PT
8591 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8592 (__libc_stack_end): Do not use attribute_relro.
8593 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8594 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8595 to libthread-provided value.
a4186cff
PT
8596 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8597 attribute_relro.
5d5722e8 8598
37233df9
TS
85992012-05-10 Thomas Schwinge <thomas@schwinge.name>
8600
be971a2b
TS
8601 [BZ #3748]
8602 * bits/libc-lock.h (__libc_once_get): New macro.
8603 * sysdeps/mach/bits/libc-lock.h: Likewise.
8604 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8606 instead of using implementation details.
8607
37233df9
TS
8608 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8609 * libio/freopen.c: Likewise.
8610 * libio/freopen64.c: Likewise.
8611 * misc/syslog.c: Likewise.
8612 * nscd/connections.c: Likewise.
8613 * nscd/netgroupcache.c: Likewise.
8614 * sysdeps/posix/getcwd.c: Likewise.
8615
38de94a5
RM
86162012-05-10 Roland McGrath <roland@hack.frob.com>
8617
8618 * math/w_ilogbf.c: Add #include <limits.h>.
8619
67530489
ST
86202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8621
a4186cff 8622 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8623 path instead of returning without unlocking.
8624
67530489
ST
8625 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8626 immediate-write ioctls.
8627 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8628
5aa3a74a
TS
86292012-05-10 Thomas Schwinge <thomas@schwinge.name>
8630
18bad2ae
TS
8631 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8632 __builtin_frame_address instead of making assumptions about the
8633 location of the return address relative to DATA. Force early load of
8634 the return address.
8635 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8636 __builtin_frame_address.
8637
5aa3a74a
TS
8638 dup3 for GNU Hurd.
8639 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8640 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8641 implement dup3 and do some further code clean-ups.
8642 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8643 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8644
ecd0de9a
ST
86452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8646
cd9fa985
ST
8647 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8648
a4186cff
PT
8649 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8650 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8651 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8652 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8653 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8654 d->port.lock.
802ca5a5 8655
a4186cff
PT
8656 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8657 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8658 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8659
bcf55240
TS
86602012-05-10 Thomas Schwinge <thomas@schwinge.name>
8661
6960eb42
TS
8662 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8663 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8664 definitions.
8665
eb43375f
TS
8666 accept4 for GNU Hurd.
8667 * include/sys/socket.h (__libc_accept4): New prototype.
8668 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8669 to implement __libc_accept4.
8670 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8671 __libc_accept4.
8672 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8673
bcf55240
TS
8674 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8675 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8676 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8677 signal-defines.sym.
8678
6178c55b
ST
86792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8680
a4186cff 8681 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8682
6f080c2f
TS
86832012-05-10 Thomas Schwinge <thomas@schwinge.name>
8684
8685 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8686 assertion on O_CLOEXEC flag.
8687 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8688 * hurd/intern-fd.c: Likewise.
8689 * hurd/port2fd.c: Likewise.
8690
bcfe3a54
ST
86912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8692
8693 [BZ #3906]
8694 * bits/in.h (IPV6_PKTINFO): Define new macro.
8695 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8696
89c9aa49
AZ
86972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8698
8699 [BZ #13954]
8700 [BZ #13955]
8701 [BZ #13956]
8702 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8703 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8704 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8707 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8708 * math/libm-test.inc (logb_test) : Additional logb tests.
8709
021db4be
AJ
87102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8711 Andreas Jaeger <aj@suse.de>
8712
8713 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8714 * configure: Regenerated.
8715 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8716 * config.make.in (link-obsolete-rpc): New substituted variable.
8717 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8718 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8719 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8720 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8721 so that libc.a contains the symbols.
8722 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8723 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8724 * sunrpc/auth_none.c: Likewise.
8725 * sunrpc/auth_unix.c: Likewise.
8726 * sunrpc/authdes_prot.c: Likewise.
8727 * sunrpc/authuxprot.c: Likewise.
8728 * sunrpc/clnt_gen.c: Likewise.
8729 * sunrpc/clnt_perr.c: Likewise.
8730 * sunrpc/clnt_raw.c: Likewise.
8731 * sunrpc/clnt_simp.c: Likewise.
8732 * sunrpc/clnt_tcp.c: Likewise.
8733 * sunrpc/clnt_udp.c: Likewise.
8734 * sunrpc/clnt_unix.c: Likewise.
8735 * sunrpc/des_crypt.c: Likewise.
8736 * sunrpc/des_soft.c: Likewise.
8737 * sunrpc/get_myaddr.c: Likewise.
8738 * sunrpc/key_call.c: Likewise.
8739 * sunrpc/key_prot.c: Likewise.
8740 * sunrpc/netname.c: Likewise.
8741 * sunrpc/pm_getmaps.c: Likewise.
8742 * sunrpc/pm_getport.c: Likewise.
8743 * sunrpc/pmap_clnt.c: Likewise.
8744 * sunrpc/pmap_prot.c: Likewise.
8745 * sunrpc/pmap_prot2.c: Likewise.
8746 * sunrpc/pmap_rmt.c: Likewise.
8747 * sunrpc/publickey.c: Likewise.
8748 * sunrpc/rpc_cmsg.c: Likewise.
8749 * sunrpc/rpc_common.c: Likewise.
8750 * sunrpc/rpc_dtable.c: Likewise.
8751 * sunrpc/rpc_prot.c: Likewise.
8752 * sunrpc/rpc_thread.c: Likewise.
8753 * sunrpc/rtime.c: Likewise.
8754 * sunrpc/svc.c: Likewise.
8755 * sunrpc/svc_auth.c: Likewise.
8756 * sunrpc/svc_raw.c: Likewise.
8757 * sunrpc/svc_run.c: Likewise.
8758 * sunrpc/svc_tcp.c: Likewise.
8759 * sunrpc/svc_udp.c: Likewise.
8760 * sunrpc/svc_unix.c: Likewise.
8761 * sunrpc/svcauth_des.c: Likewise.
8762 * sunrpc/xcrypt.c: Likewise.
8763 * sunrpc/xdr.c: Likewise.
8764 * sunrpc/xdr_array.c: Likewise.
8765 * sunrpc/xdr_float.c: Likewise.
8766 * sunrpc/xdr_intXX_t.c: Likewise.
8767 * sunrpc/xdr_mem.c: Likewise.
8768 * sunrpc/xdr_rec.c: Likewise.
8769 * sunrpc/xdr_ref.c: Likewise.
8770 * sunrpc/xdr_sizeof.c: Likewise.
8771 * sunrpc/xdr_stdio.c: Likewise.
8772
b5c086a2
RM
87732012-05-10 Roland McGrath <roland@hack.frob.com>
8774
8775 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8776 change. Update copyright years.
8777
6d74dd09
JM
87782012-05-10 Joseph Myers <joseph@codesourcery.com>
8779
8780 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8781
28e72501
MK
87822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8783 Joseph Myers <joseph@codesourcery.com>
8784 Paul Pluzhnikov <ppluzhnikov@google.com>
8785
8786 [BZ #14012]
8787 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8788 requiring rpcgen.
8789 [cross-compiling] (extra-libs): Likewise.
8790 [cross-compiling] (extra-libs-others): Likewise.
8791 [cross-compiling] (librpcsvc-routines): Likewise.
8792 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8793 [cross-compiling] (omit-deps): Likewise.
8794 (sunrpc-CPPFLAGS): New variable.
8795 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8796 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8797 (cross-rpcgen-objs): New variable.
8798 (extra-objs): Append $(cross-rpcgen-objs).
8799 ($(cross-rpcgen-objs)): New rule.
8800 ($(objpfx)cross-rpcgen): Likewise.
8801 (rpcgen-cmd): Define to use $(built-program-file). Expand
8802 comment.
8803 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8804 ($(objpfx)x%.stmp): Likewise.
8805 * sunrpc/proto.h [IS_IN_build] (_): Define.
8806 [IS_IN_build] (_libc_intl_domainname): Likewise.
8807
c8c59454
L
88082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8809
8810 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8811 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8812 and R_X86_64_TPOFF64.
8813
6f27cd16
JM
88142012-05-10 Joseph Myers <joseph@codesourcery.com>
8815
8816 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8817 sysdeps/unix/sysv/syscalls.list.
8818 (stime): Likewise.
8819 (utime): Likewise.
8820 * sysdeps/unix/sysv/syscalls.list: Remove file.
8821
02467e1c
PE
88222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8823
8824 [BZ #3440]
8825 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8826 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8827 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8828 (__LC_IDENTIFICATION): Make these macros useful in #if
8829 expressions, as required by C99.
8830
da392631
AS
88312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8832
8833 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8834 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8835 after this.
8836
8115f29b
L
88372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8838
8839 * stdlib/longlong.h: Updated from GCC.
8840
bdd74070
AJ
88412012-05-09 Andreas Jaeger <aj@suse.de>
8842
edfe0dbe
AJ
8843 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8844 default is first entry.
8845 (run_mode): Set type.
8846 (main): Remove informal message about syslog.
8847 (options): Fix typo.
8848
bcfe3a54
ST
8849 [BZ #14053]
8850 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 8851 to asm.
bcfe3a54
ST
8852 (lrint): Likewise.
8853 (llrintf): Likewise.
8854 (llrint): Likewise.
8855 (rint): Likewise.
8856 (rintf): Likewise.
8857 (nearbyint): Likewise.
8858 (nearbyintf): Likewise.
bdd74070 8859
91d8d69e
AJ
88602012-05-09 Andreas Jaeger <aj@suse.de>
8861 Pedro Alves <palves@redhat.com>
8862
8863 * nscd/nscd.c (run_mode): Use enum.
8864 (main): Cleanup coding style issue.
8865
bb90b80b
AJ
88662012-05-09 Alexandre Oliva <aoliva@redhat.com>
8867 Andreas Jaeger <aj@suse.de>
8868
bcfe3a54
ST
8869 * nscd/nscd.c (go_background): Replaced with...
8870 (run_mode): ... this.
bb90b80b 8871 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
8872 (options): Add -F --foreground.
8873 (main): Implement it.
8874 (parse_opt): Parse it.
bb90b80b 8875
1a4b75a1
AJ
88762012-05-09 Andreas Jaeger <aj@suse.de>
8877
8878 [BZ #14083]
8879 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8880 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8881 -Wconversion warning.
8882 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8883 Likewise.
8884
b1cc2472
JM
88852012-05-09 Joseph Myers <joseph@codesourcery.com>
8886
8887 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8888 == 0.
8889 (LC_ALL): Use macro-int-constant.
8890 (LC_COLLATE): Likewise.
8891 (LC_CTYPE): Likewise.
8892 (LC_MESSAGES): Likewise.
8893 (LC_MONETARY): Likewise.
8894 (LC_NUMERIC): Likewise.
8895 (LC_TIME): Likewise.
8896 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8897 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8898 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8899 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8900 Specify type.
8901 [C99-based standards] (float_t): Expect type.
8902 [C99-based standards] (double_t): Expect type.
8903 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8904 type.
8905 [C99-based standards] (HUGE_VALL): Likewise.
8906 [C99-based standards] (INFINITY): Likewise.
8907 [C99-based standards] (NAN): Likewise.
8908 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8909 [C99-based standards] (FP_NAN): Likewise.
8910 [C99-based standards] (FP_NORMAL): Likewise.
8911 [C99-based standards] (FP_SUBNORMAL): Likewise.
8912 [C99-based standards] (FP_ZERO): Likewise.
8913 [C99-based standards] (FP_FAST_FMA): Use
8914 optional-macro-int-constant. Specify type. Require == 1.
8915 [C99-based standards] (FP_FAST_FMAF): Likewise.
8916 [C99-based standards] (FP_FAST_FMAL): Likewise.
8917 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8918 [C99-based standards] (FP_ILOGBNAN): Likewise.
8919 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8920 Specify type.
8921 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8922 [C99-based standards] (math_errhandling): Specify type.
8923 [ISO99 || ISO11] (signgam): Do not allow.
8924 [non-C99-based standards] (copysignf): Do not allow.
8925 [non-C99-based standards] (exp2f): Likewise.
8926 [non-C99-based standards] (log2f): Likewise.
8927 [non-C99-based standards] (modff): Allow.
8928 [non-C99-based standards] (erff): Do not allow.
8929 [non-C99-based standards] (erfcf): Likewise.
8930 [non-C99-based standards] (gammaf): Likewise.
8931 [non-C99-based standards] (hypotf): Likewise.
8932 [non-C99-based standards] (j0f): Likewise.
8933 [non-C99-based standards] (j1f): Likewise.
8934 [non-C99-based standards] (jnf): Likewise.
8935 [non-C99-based standards] (lgammaf): Likewise.
8936 [non-C99-based standards] (tgammaf): Likewise.
8937 [non-C99-based standards] (y0f): Likewise.
8938 [non-C99-based standards] (y1f): Likewise.
8939 [non-C99-based standards] (ynf): Likewise.
8940 [non-C99-based standards] (isnanf): Likewise.
8941 [non-C99-based standards] (acoshf): Likewise.
8942 [non-C99-based standards] (asinhf): Likewise.
8943 [non-C99-based standards] (atanhf): Likewise.
8944 [non-C99-based standards] (cbrtf): Likewise.
8945 [non-C99-based standards] (expm1f): Likewise.
8946 [non-C99-based standards] (ilogbf): Likewise.
8947 [non-C99-based standards] (log1pf): Likewise.
8948 [non-C99-based standards] (logbf): Likewise.
8949 [non-C99-based standards] (nextafterf): Likewise.
8950 [non-C99-based standards] (remainderf): Likewise.
8951 [non-C99-based standards] (rintf): Likewise.
8952 [non-C99-based standards] (scalbf): Likewise.
8953 [non-C99-based standards] (copysignl): Likewise.
8954 [non-C99-based standards] (exp2l): Likewise.
8955 [non-C99-based standards] (log2l): Likewise.
8956 [non-C99-based standards] (modfl): Allow.
8957 [non-C99-based standards] (erfl): Do not allow.
8958 [non-C99-based standards] (erfcl): Likewise.
8959 [non-C99-based standards] (gammal): Likewise.
8960 [non-C99-based standards] (hypotl): Likewise.
8961 [non-C99-based standards] (j0l): Likewise.
8962 [non-C99-based standards] (j1l): Likewise.
8963 [non-C99-based standards] (jnl): Likewise.
8964 [non-C99-based standards] (lgammal): Likewise.
8965 [non-C99-based standards] (tgammal): Likewise.
8966 [non-C99-based standards] (y0l): Likewise.
8967 [non-C99-based standards] (y1l): Likewise.
8968 [non-C99-based standards] (ynl): Likewise.
8969 [non-C99-based standards] (isnanl): Likewise.
8970 [non-C99-based standards] (acoshl): Likewise.
8971 [non-C99-based standards] (asinhl): Likewise.
8972 [non-C99-based standards] (atanhl): Likewise.
8973 [non-C99-based standards] (cbrtl): Likewise.
8974 [non-C99-based standards] (expm1l): Likewise.
8975 [non-C99-based standards] (ilogbl): Likewise.
8976 [non-C99-based standards] (log1pl): Likewise.
8977 [non-C99-based standards] (logbl): Likewise.
8978 [non-C99-based standards] (nextafterl): Likewise.
8979 [non-C99-based standards] (remainderl): Likewise.
8980 [non-C99-based standards] (rintl): Likewise.
8981 [non-C99-based standards] (scalbl): Likewise.
8982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8983 [non-C99-based standards] (FP_*): Do not allow.
8984 [C99-based standards] (FP_*): Change to
8985 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8986 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8987 allow.
8988 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8989 (SIG_ERR): Likewise.
8990 [X/Open-based standards] (SIG_HOLD): Likewise.
8991 (SIG_IGN): Likewise.
8992 (SIGABRT): Use macro-int-constant. Specify type. Require
8993 positive value.
8994 (SIGFPE): Likewise.
8995 (SIGILL): Likewise.
8996 (SIGINT): Likewise.
8997 (SIGSEGV): Likewise.
8998 (SIGTER): Likewise.
8999 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9000 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9001 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9002 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9003 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9004 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9005 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9006 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9007 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9008 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9009 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9010 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9011 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9012 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9013 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9014 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9015 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9016 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9017 [X/Open-based standards] (SIGTRAP): Likewise.
9018 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9019 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9020 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9021 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9022 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9023 allow.
9024
b9f1922d
IW
90252012-05-08 Ian Wienand <ianw@vmware.com>
9026
9027 [BZ #14080]
9028 * time/tzset.c (__tzset_parse_tz): Update default rules for
9029 daylight time changes in the Energy Policy Act of 2005.
9030
1db86e88
AJ
90312012-05-09 Andreas Jaeger <aj@suse.de>
9032
9033 [BZ #13983]
9034 * elf/ldconfig.c (parse_conf): Change string to make clear that
9035 ldconfig only issued a warning if ld.so.conf does not exist.
9036
dee4a4e3
DM
90372012-05-08 David S. Miller <davem@davemloft.net>
9038
ee0db190
DM
9039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9040 movxtod instead of popping the value on the stack.
9041
dee4a4e3
DM
9042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9043
6a43ec98
CD
90442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9045
9046 * config.h.in: Add HAVE_ARM_PCS_VFP.
9047
05c2c961
RMG
90482012-05-08 Roland Mc Grath <roland@hack.frob.com>
9049
bcfe3a54
ST
9050 [BZ #13979]
9051 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9052 checking but the checks are disabled for any reason.
05c2c961 9053
4b30f61a
L
90542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9055
9056 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9057 and ELF64_R_TYPE with ELFW(R_TYPE).
9058
eee2bc67
JM
90592012-05-08 Joseph Myers <joseph@codesourcery.com>
9060
7ea5391a
JM
9061 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9062 (ulimit): Likewise.
9063
eee2bc67
JM
9064 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9065 (settimeofday): Likewise.
9066
abb66a67
MF
90672012-05-08 Mike Frysinger <vapier@gentoo.org>
9068
9069 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9070 a struct th_u2 inside the union, and move tu_block/tu_code into
9071 a new th_u3 union of tu_block/tu_code inside of that. Move
9072 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9073 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9074 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9075 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9076 (th_stuff): Change to th_u1.tu_stuff.
9077 (th_data): Define.
9078 (th_msg): Change to th_u1.th_u2.tu_data.
9079
7f18b530
DM
90802012-05-07 David S. Miller <davem@davemloft.net>
9081
05760585
DM
9082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9083
7f18b530
DM
9084 [BZ #14074]
9085 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9086 (SETUP_PIC_REG): Use it.
9087 (SETUP_PIC_REG_LEAF): Use it.
9088
495fd99f
JM
90892012-05-07 Joseph Myers <joseph@codesourcery.com>
9090
9091 [BZ #13885]
9092 [BZ #13923]
9093 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9094 USE_AS_EXPM1L.
9095 (EXPL_FINITE): Likewise.
9096 (FLDLOG): Likewise.
9097 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9098 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9099 e_expl.S.
9100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9101 USE_AS_EXPM1L.
9102 (EXPL_FINITE): Likewise.
9103 (FLDLOG): Likewise.
9104 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9105 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9106 e_expl.S.
9107 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9108 test of -max_value argument for long double.
9109 * sysdeps/i386/fpu/libm-test-ulps: Update.
9110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9111
6693d694
DM
91122012-05-06 David S. Miller <davem@davemloft.net>
9113
9114 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9115 quad soft-float symbols whose references which are compiler
9116 generated.
9117 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9118
6c23e11c
JM
91192012-05-06 Joseph Myers <joseph@codesourcery.com>
9120
d8b82cad
JM
9121 [BZ #13884]
9122 [BZ #13914]
9123 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9124 USE_AS_EXP10L.
9125 (EXPL_FINITE): Likewise.
9126 (FLDLOG): Likewise.
9127 (c0): Likewise.
9128 (c1): Likewise.
9129 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9130 Adjust comments for base varying.
9131 (__expl_finite): Change alias to EXPL_FINITE.
9132 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9133 e_expl.S.
9134 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9135 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9137 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9138 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9139 USE_AS_EXP10L.
9140 (EXPL_FINITE): Likewise.
9141 (FLDLOG): Likewise.
9142 (c0): Likewise.
9143 (c1): Likewise.
9144 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9145 Adjust comments for base varying.
9146 (__expl_finite): Change alias to EXPL_FINITE.
9147 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9148 tests for bugs.
9149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9150
6c23e11c
JM
9151 [BZ #14064]
9152 * math/libm-test.inc (check_float_internal): Correct ulp
9153 calculation for subnormal expected results.
9154
29ba805c
AJ
91552012-05-06 Andreas Jaeger <aj@suse.de>
9156
9157 * Makeconfig (+math-flags): New, set to -frounding-math.
9158 (+cflags): Add +math-flags so that all of glibc gets compiled with
9159 it.
9160
9161 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9162
7b17aeda
JM
91632012-05-05 Joseph Myers <joseph@codesourcery.com>
9164
5779f134
JM
9165 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9166 Disable one test.
9167
41498f4d
JM
9168 [BZ #13787]
9169 [BZ #13922]
9170 [BZ #14036]
9171 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9172 (__ieee754_expl): Allow for and saturate large arguments.
9173 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9174 (u_threshold): Likewise.
9175 (__exp): Call __ieee754_exp before checking for overflow and
9176 underflow.
9177 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9178 (u_threshold): Likewise.
9179 (__expf): Call __ieee754_expf before checking for overflow and
9180 underflow.
9181 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9182 (u_threshold): Likewise.
9183 (__expl): Call __ieee754_expl before checking for overflow and
9184 underflow.
9185 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9186 (__ieee754_expl): Allow for and saturate large arguments.
9187 * math/libm-test.inc (exp_test): Add another test. Do not allow
9188 missing overflow exception on overflow.
9189 (expm1_test): Do not allow missing overflow exception on overflow.
9190
6698b8bf
JM
9191 * sysdeps/i386/fpu/e_expl.c: Move to ...
9192 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9193 rather than using inline asm.
9194 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9195 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9196 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9197
7b17aeda
JM
9198 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9199 (nice): Likewise.
9200 (poll): Likewise.
9201 (signal): Likewise.
9202 (time): Likewise.
9203 (times): Likewise.
9204
f7c85819
JM
92052012-05-04 Joseph Myers <joseph@codesourcery.com>
9206
9207 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9208 sysdeps/unix/common/syscalls.list.
9209 (fchmod): Likewise.
9210 (fchown): Likewise.
9211 (ftruncate): Likewise.
9212 (getrusage): Likewise.
9213 (gettimeofday): Likewise.
9214 (setpgid): Likewise.
9215 (setregid): Likewise.
9216 (setreuid): Likewise.
9217 (sigaction): Likewise.
9218 (truncate): Likewise.
9219 (vhangup): Likewise.
9220 * sysdeps/unix/common/syscalls.list: Remove file.
9221 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9222 * sysdeps/unix/sysv/linux/Implies: Likewise.
9223
336270d0
L
92242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9225
9226 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9228 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9229 Moved to ...
9230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9231 Here.
9232 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9233 to ...
9234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9235 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9236 to ...
9237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9238 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9239 to ...
9240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9241 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9242 to ...
9243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9244 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9245 to ...
9246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9247 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9248 to ...
9249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9250 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9251 to ...
9252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9253 Here.
9254 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9255 to ...
9256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9257 Here.
9258 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9259 to ...
9260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9261 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9262 Moved to ...
9263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9264 Here.
9265 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9266 to ...
9267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9268
d128e450
JM
92692012-05-04 Joseph Myers <joseph@codesourcery.com>
9270
fa8ee516
JM
9271 * sysdeps/unix/common/bits/dirent.h: Remove file.
9272 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9273
d128e450
JM
9274 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9275 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9276 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9277 * sysdeps/unix/bsd/isatty.c: Likewise.
9278 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9279 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9280 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9281
ff8faaf0 92822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9283
62881be4 9284 [BZ #13563]
31dc8730
AZ
9285 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9286 long double comparison inaccuracies.
9287 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9289
6fef930c
AS
92902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9291
9292 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9294
8f203e6c
JM
92952012-05-04 Joseph Myers <joseph@codesourcery.com>
9296
9297 [BZ #14049]
9298 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9299 nonzero digits before rounding a hex value.
9300 * stdlib/tst-strtod.c (tests): Add another test.
9301
5197d9c2
AK
93022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9303
9304 * sysdeps/s390/fpu/libm-test-ulps: Update.
9305
f0c1dedf
AJ
93062012-05-03 Andreas Jaeger <aj@suse.de>
9307
9308 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9309 does not get optimized out.
9310 (malloc_opt_barrier): New.
9311
a65ef2ae 93122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9313 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9314
2b942cb7 9315 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9316 intermediate file deletion.
2b942cb7 9317 (generated): Add .symlist files.
a65ef2ae 9318
54b71e02
JM
93192012-05-03 Joseph Myers <joseph@codesourcery.com>
9320
9321 [BZ #13775]
9322 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9323 Redirect under this condition.
9324 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9325 [__USE_GNU] (__dprintf_chk): Not under this condition.
9326 [__USE_GNU] (__vdprintf_chk): Likewise.
9327 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9328 under this condition.
9329 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9330 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9331 [__USE_XOPEN2K8] (vdprintf): Likewise.
9332 [__USE_GNU] (__dprintf_chk): Not under this condition.
9333 [__USE_GNU] (__vdprintf_chk): Likewise.
9334 [__USE_GNU] (dprintf): Likewise.
9335 [__USE_GNU] (vdprintf): Likewise.
9336
d3dfcc41
RM
93372012-05-03 Roland McGrath <roland@hack.frob.com>
9338
9339 * elf/Makefile (common-generated): Set this instead of generated for
9340 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9341 $(all-built-dso)-derived lists.
9342
7ac30cc5
AJ
93432012-05-03 Andreas Jaeger <aj@suse.de>
9344
0c51e550
AJ
9345 * sysdeps/i386/fpu/libm-test-ulps: Update.
9346
7ac30cc5
AJ
9347 * FAQ: Removed.
9348 * FAQ.in: Likewise.
9349 * scripts/gen-FAQ.pl: Likewise.
9350 * manual/install.texi (Installation): Point to online location of
9351 FAQ.
9352 * Makefile (files-for-dist): Remove FAQ.
9353 (FAQ): Remove.
9354
d4c2917f
AM
93552012-05-02 Allan McRae <allan@archlinux.org>
9356
9357 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9358 (LDFLAGS-reldepmod5.so): Likewise.
9359 (LDFLAGS-reldep6mod1.so): Likewise.
9360 (LDFLAGS-reldep6mod4.so): Likewise.
9361 (LDFLAGS-reldep8mod3.so): Likewise.
9362 (LDFLAGS-unload4mod1.so): Likewise.
9363 (LDFLAGS-unload4mod2.so): Likewise.
9364 (LDFLAGS-tst-initorder): Likewise.
9365 (LDFLAGS-tst-initordera2.so): Likewise.
9366 (LDFLAGS-tst-initordera3.so): Likewise.
9367 (LDFLAGS-tst-initordera4.so): Likewise.
9368 (LDFLAGS-tst-initorderb2.so): Likewise.
9369 (LDFLAGS-noload): Likewise.
9370 (LDFLAGS-next): Likewise.
9371 (LDFLAGS-order2mod1.so): Likewise.
9372 (LDFLAGS-order2mod2.so): Likewise.
9373 (LDFLAGS-tst-initorder2): Likewise.
9374 (LDFLAGS-tst-initorder2a.so): Likewise.
9375 (LDFLAGS-tst-initorder2b.so): Likewise.
9376 (LDFLAGS-tst-initorder2c.so): Likewise.
9377 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9378
d77f993f
DM
93792012-05-02 David S. Miller <davem@davemloft.net>
9380
9381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9382
171a70b4
PP
93832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9384
9385 [BZ #14055]
9386 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9387
0be196ad
AJ
93882012-05-02 Andreas Jaeger <aj@suse.de>
9389
9390 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9391 since we manipulate rounding mode.
9392 (CPPFLAGS-test-idouble.c): Likewise.
9393 (CPPFLAGS-test-ifloat.c): Likewise.
9394 (CFLAGS-test-ldouble.c): Likewise.
9395 (CFLAGS-test-double.c): Likewise.
9396 (CFLAGS-test-float.c): Likewise.
9397 (CFLAGS-test-misc.c): Likewise.
9398 (CFLAGS-test-test-fenv.c): Likewise.
9399
4f9d04aa
AZ
94002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9401
2b942cb7
RM
9402 [BZ #2550]
9403 [BZ #2570]
9404 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9405 comparisons to determine direction to adjust input.
4f9d04aa 9406
82a79e7d
RM
94072012-05-01 Roland McGrath <roland@hack.frob.com>
9408
f5a01ca9
RM
9409 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9410 output to the target.
9411
90fe4186
RM
9412 * scripts/localplt.awk: New file.
9413 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9414 (check-localplt-CFLAGS): Variable removed.
9415 ($(all-built-dso:=.jmprel)): New static pattern rule.
9416 (generated): Add those targets.
9417 (localplt-built-dso): New variable.
9418 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9419
9420 * elf/check-localplt.c: File removed.
9421
82397ed6
RM
9422 * scripts/check-execstack.awk: New file.
9423 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9424 (check-execstack-CFLAGS): Variable removed.
9425 ($(objpfx)check-execstack.h): Target removed.
9426 ($(objpfx)execstack-default): New target.
9427 (generated): Add that instead of check-execstack.h.
9428 ($(all-built-dso:=.phdr)): New static pattern rule.
9429 (generated): Add those targets.
9430 * elf/check-execstack.c: File removed.
9431
82a79e7d
RM
9432 * scripts/check-textrel.awk: New file.
9433 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9434 (check-textrel-CFLAGS): Variable removed.
9435 (all-built-dso): Use := to define.o
9436 ($(all-built-dso:=.dyn)): New static pattern rule.
9437 (generated): Add those targets.
9438 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9439 * config.make.in (READELF): New substituted variable.
9440 * elf/check-textrel.c: File removed.
9441
62fde54f 94422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9443
615605c9
JM
9444 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9445 allow.
9446 * conform/data/ctype.h-data [C99-based standards] (isblank):
9447 Expect function.
9448 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9449 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9451 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9452 Specify type. Require positive value.
9453 (EILSEQ): Likewise.
9454 (ERANGE): Likewise.
9455 [ISO || POSIX] (EILSEQ): Do not expect.
9456 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9457 Specify type. Require positive value.
9458 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9459 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9460 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9461 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9462 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9463 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9464 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9465 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9466 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9467 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9468 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9469 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9470 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9471 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9472 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9473 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9474 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9475 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9476 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9477 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9478 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9479 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9480 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9481 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9482 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9483 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9484 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9485 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9486 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9487 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9488 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9489 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9490 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9491 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9492 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9493 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9494 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9495 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9496 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9497 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9498 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9499 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9500 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9501 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9502 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9503 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9504 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9505 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9506 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9507 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9508 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9509 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9510 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9511 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9513 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9514 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9515 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9516 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9517 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9518 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9519 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9520 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9521 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9522 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9523 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9524 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9525 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9526 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9527 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9528 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9529 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9530 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9531 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9532 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9533 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9534 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9535 Require >= 2.
9536 (FLT_ROUNDS): Expect as macro, not constant.
9537 (FLT_MANT_DIG): Use macro-int-constant.
9538 (DBL_MANT_DIG): Likewise.
9539 (LDBL_MANT_DIG): Likewise.
9540 (FLT_DIG): Likewise.
9541 (DBL_DIG): Likewise.
9542 (LDBL_DIG): Likewise.
9543 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9544 (DBL_MIN_EXP): Likewise.
9545 (LDBL_MIN_EXP): Likewise.
9546 (FLT_MAX_EXP): Use macro-int-constant.
9547 (DBL_MAX_EXP): Likewise.
9548 (LDBL_MAX_EXP): Likewise.
9549 (FLT_MAX_10_EXP): Likewise.
9550 (DBL_MAX_10_EXP): Likewise.
9551 (LDBL_MAX_10_EXP): Likewise.
9552 (FLT_MAX): Use macro-constant.
9553 (DBL_MAX): Likewise.
9554 (LDBL_MAX): Likewise.
9555 (FLT_EPSILON): Use macro-constant. Give upper bound.
9556 (DBL_EPSILON): Likewise.
9557 (LDBL_EPSILON): Likewise.
9558 (FLT_MIN): Likewise.
9559 (DBL_MIN): Likewise.
9560 (LDBL_MIN): Likewise.
9561 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9562 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9563 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9564 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9565 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9566 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9567 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9568 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9569 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9570 [ISO11] (FLT_TRUE_MIN): Likewise.
9571 [ISO11] (LDBL_TRUE_MIN): Likewise.
9572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9573 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9574 (SCHAR_MIN): Use macro-int-constant. Specify type.
9575 (SCHAR_MAX): Likewise.
9576 (UCHAR_MAX): Likewise.
9577 (CHAR_MIN): Likewise.
9578 (CHAR_MAX): Likewise.
9579 (MB_LEN_MAX): Use macro-int-constant.
9580 (SHRT_MIN): Use macro-int-constant. Specify type.
9581 (SHRT_MAX): Likewise.
9582 (USHRT_MAX): Likewise.
9583 (INT_MAX): Likewise.
9584 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9585 bound negative.
9586 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9587 bound with "U".
9588 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9589 bound with "L".
9590 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9591 bound negative. Suffix upper bound with "L".
9592 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9593 bound with "UL".
9594 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9595 Specify type.
9596 [C99-based standards] (LLONG_MAX): Likewise.
9597 [C99-based standards] (ULLONG_MAX): Likewise.
9598 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9599 == 0.
9600 [ISO11] (max_align_t): Require type.
9601 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9602
c9140a62
JM
9603 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9604 from $CFLAGS, without defining away __attribute__ calls.
9605 (checknamespace): Use $CFLAGS_namespace.
9606
9af0bf29
JM
9607 * conform/conformtest.pl (@keywords): Only include C99 keywords
9608 for standards based on C99 or C11.
9609
343222a2
JM
9610 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9611 Disable tests.
9612 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9613 UNIX98]: Likewise.
9614
661f8cf0
JM
9615 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9616 usability of symbols in #if.
9617
ee74b9cb
JM
9618 * conform/conformtest.pl: If macro or constant types start
9619 "promoted:", expect the symbol to be of the following type
9620 promoted by the integer promotions.
62fde54f 9621
aafc49b3
JM
9622 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9623 in one place. Also handle "macro-constant".
9624
fefdf574
JM
9625 * conform/conformtest.pl: Only accept expected macro values with
9626 "==". Parse all "macro" lines in one place.
9627 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9628
f2d922fe
JM
9629 * conform/conformtest.pl: Handle braced types on "constant" lines
9630 instead of handling "typed-constant".
9631 * conform/data/signal.h-data: Use "constant" instead of
9632 "typed-constant".
9633
d22956c9
JM
9634 * conform/conformtest.pl: Handle "optional-" at start of lines in
9635 one place rather than duplicating several cases. Handle each
9636 format of "macro" line with initial "optional-".
9637
028e2e38
JM
9638 * conform/conformtest.pl: Only accept expected constant or
9639 optional-constant values with "==". Parse all "constant" lines in
9640 one place. Parse all "optional-constant" lines in one place.
9641 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9642 * conform/data/fmtmsg.h-data: Likewise.
9643 * conform/data/netinet/in.h-data: Likewise.
9644 * conform/data/tar.h-data: Likewise.
9645 * conform/data/limits.h-data: Use "==" form on "constant" and
9646 "optional-constant" lines.
9647
1b8f2850
JM
9648 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9649 Use -std=c99 for XOPEN2K.
9650 (@knownproblems): Remove.
9651 (newtoken): Don't check %isknown.
9652
a05a144b
JM
9653 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9654 Do not expect macro.
9655 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9656 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9657 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9658 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9659 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9660 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9661 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9662 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9663 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9664 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9665 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9666 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9667 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9668 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9669 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9670 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9671 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9672 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9673 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9674 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9675 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9676 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9677 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9678 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9679 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9680 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9681 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9682 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9683 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9684 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9685 [XPG3] (acosh): Likewise.
9686 [XPG3] (asinh): Likewise.
9687 [XPG3] (atanh): Likewise.
9688 [XPG3] (cbrt): Likewise.
9689 [XPG3] (expm1): Likewise.
9690 [XPG3] (ilogb): Likewise.
9691 [XPG3] (log1p): Likewise.
9692 [XPG3] (logb): Likewise.
9693 [XPG3] (nextafter): Likewise.
9694 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9695 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9696 [XPG3] (remainder): Likewise.
9697 [XPG3] (rint): Likewise.
9698 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9699 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9700 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9701 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9702 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9703 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9704 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9705 [UNIX98 || XOPEN2K] (scalb): Expect.
9706 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9707 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9708 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9709 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9710 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9711 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9712 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9713 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9714 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9715 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9716 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9717 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9718 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9719 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9720 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9721 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9722 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9723 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9724 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9725 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9726 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9727 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9728 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9729 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9730 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9731 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9732 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9733 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9734 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9735 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9736 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9737 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9738 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9739 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9740 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9741 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9742 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9743 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9744 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9745 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9746 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9747 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9748 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9749 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9750 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9751 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9752 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9753 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9754 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9755 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9756 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9757 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9758 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9759 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9760 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9761 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9762 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9763 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9764 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9765 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9766 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9767 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9768 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9769 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9770 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9771 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9772 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9773 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9774 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9775 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9776 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9777 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9778 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9779 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9780 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9781 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9782 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9783 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9784 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9785 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9786 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9787 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9788 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9789 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9790 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9791 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9792 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9793 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9794 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9795 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9796 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9797 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9798 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9799 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9800 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9801 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9802 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9803 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9804 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9805 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9806 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9807 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9808 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9809 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9810 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9811 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9812 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9813 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9814 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9815 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9816 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9821 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9822 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9823 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9826 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9827 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9828 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9829 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9830 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9831 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9832 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9833 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9834 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9835 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9836 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9837 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9838 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9839 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9840 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9841 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9842 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9843
73c5ebe3
JM
9844 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9845 _XOPEN_SOURCE_EXTENDED for XPG4.
9846
39c33b6c
JM
9847 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9848
62fde54f
JM
9849 * Makeconfig (localtime): Remove variable.
9850 (inst_localtime-file): Likewise.
9851
0741d64c
AS
98522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9853
9854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9855 Update.
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9857 Update.
9858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9859 Update.
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9861 Update.
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9863 Update.
9864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9865 Update.
9866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9867 Update.
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9869 Update.
9870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9871 Update.
9872
7cb029ee
JM
98732012-05-01 Joseph Myers <joseph@codesourcery.com>
9874
9875 [BZ #2550]
9876 [BZ #2570]
9877 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9878 comparisons to determine direction to adjust input.
9879 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9880 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9881 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9882 Likewise.
9883 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9884 Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9886 Likewise.
9887 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9888 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9889 Likewise.
9890 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9891 Likewise.
9892 * math/libm-test.inc (nexttoward_test): Add more tests.
9893
412bd966
AS
98942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9895
9896 [BZ #14040]
9897 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9898 in version GLIBC_2.1, not GLIBC_2.0.
9899 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9900 Likewise.
9901
9568c0c2
JM
99022012-04-30 Joseph Myers <joseph@codesourcery.com>
9903
adfbc8ac
JM
9904 [BZ #13942]
9905 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9906 (1 - x) * (1 + x).
9907 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9908 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9909 * math/libm-test.inc (acos_test): Add more tests.
9910 (asin_test): Likewise.
9911 * sysdeps/i386/fpu/libm-test-ulps: Update.
9912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9913
5ba3cc69
JM
9914 [BZ #14034]
9915 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9916 of square root.
9917 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9918 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9919 * math/libm-test.inc (acos_test_tonearest): New function.
9920 (acos_test_towardzero): Likewise.
9921 (acos_test_downward): Likewise.
9922 (acos_test_upward): Likewise.
9923 (asin_test_tonearest): Likewise.
9924 (asin_test_towardzero): Likewise.
9925 (asin_test_downward): Likewise.
9926 (asin_test_upward): Likewise.
9927 (main): Call the new functions.
9928 * sysdeps/i386/fpu/libm-test-ulps: Update.
9929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9930
9568c0c2
JM
9931 [BZ #13884]
9932 [BZ #13924]
9933 * math/e_exp10.c: Include <float.h>.
9934 (__ieee754_exp10): Handle underflow here rather than multiplying
9935 large negative argument by M_LN10.
9936 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9937 of __ieee754_expf.
9938 * math/e_exp10l.c: Include <float.h>.
9939 (__ieee754_exp10l): Handle underflow here rather than multiplying
9940 large negative argument by M_LN10l.
9941 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9942 spurious overflow exception on underflow.
9943
5ac3ea17
MP
99442012-04-29 Marek Polacek <polacek@redhat.com>
9945
9946 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9947 (__fortify_function): New macro.
9948 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9949 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9950 __extern_always_inline.
9951 * libio/bits/stdio2.h: Likewise.
9952 * libio/bits/stdio.h: Likewise.
9953 * string/string.h: Likewise.
9954 * string/bits/string3.h: Likewise.
9955 * include/stdio.h: Likewise.
9956 * stdlib/bits/stdlib.h: Likewise.
9957 * stdlib/stdlib.h: Likewise.
9958 * rt/bits/mqueue2.h: Likewise.
9959 * rt/mqueue.h: Likewise.
9960 * posix/bits/unistd.h: Likewise.
9961 * posix/unistd.h: Likewise.
9962 * io/bits/poll2.h: Likewise.
9963 * io/bits/fcntl2.h: Likewise.
9964 * io/fcntl.h: Likewise.
9965 * io/sys/poll.h: Likewise.
9966 * misc/bits/syslog.h: Likewise.
9967 * misc/bits/syslog-ldbl.h: Likewise.
9968 * misc/sys/syslog.h: Likewise.
9969 * socket/bits/socket2.h: Likewise.
9970 * socket/sys/socket.h: Likewise.
9971 * debug/tst-chk1.c: Likewise.
9972 * wcsmbs/bits/wchar2.h: Likewise.
9973 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9974 * wcsmbs/wchar.h: Likewise.
9975
ecf0ebfb
AJ
99762012-04-29 Andreas Jaeger <aj@suse.de>
9977
9978 * Makerules (tests): Remove enable-check-abi protection.
9979 (check-abi-warn): Remove.
9980 (check-abi-%): Remove check-abi-warn usage.
9981
9982 * configure.in: Remove check-abi configure option.
9983 * configure: Regenerated.
9984 * config.make.in (enable-check-abi): Remove.
9985
6d5c57fa
AS
99862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9987
24c5d07e 9988 [BZ #14033]
ded5180a
AS
9989 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9990 double functions to double *_finite functions.
9991
7e0d315d
AS
9992 [BZ #13941]
9993 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9994 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9995 LDBL_MIN_EXP.
9996 * stdio-common/Makefile (tests): Add tst-sprintf3.
9997 * stdio-common/tst-sprintf3.c: New file.
9998
6d5c57fa
AS
9999 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10000 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10001
0749ff8b
JM
100022012-04-28 Joseph Myers <joseph@codesourcery.com>
10003
10004 * conform/conformtest.pl: Remove duplicate typed-constant
10005 handling.
10006
8dbd5d7b
DM
100072012-04-28 David S. Miller <davem@davemloft.net>
10008
10009 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10010 (check-abi-%): Remove AWK script prerequisite and explicit
10011 abilist directory.
10012 (check-abi): Rewrite to just diff the symlist with the abilist.
10013 (config-tls, config-abi-config): Delete, no longer used.
10014 (update-abi-%): Remove AWK script and explicit abilist directory.
10015 (update-abi): Rewrite to simply compare and conditionally copy the
10016 symlist and the sysdep abilist file. Remove update-abi-config
10017 checks.
10018 * abilist/ld.abilist: Remove.
10019 * abilist/libBrokenLocale.abilist: Remove.
10020 * abilist/libanl.abilist: Remove.
10021 * abilist/libcrypt.abilist: Remove.
10022 * abilist/libdl.abilist: Remove.
10023 * abilist/librt.abilist: Remove.
10024 * abilist/libthread_db.abilist: Remove.
10025 * abilist/libutil.abilist: Remove.
10026 * scripts/extract-abilist.awk: Remove.
10027 * scripts/merge-abilist.awk: Remove.
10028 * sysdeps/generic/libcidn.abilist: New file.
10029 * sysdeps/generic/libnss_compat.abilist: New file.
10030 * sysdeps/generic/libnss_db.abilist: New file.
10031 * sysdeps/generic/libnss_dns.abilist: New file.
10032 * sysdeps/generic/libnss_files.abilist: New file.
10033 * sysdeps/generic/libnss_hesiod.abilist: New file.
10034 * sysdeps/generic/libnss_nis.abilist: New file.
10035 * sysdeps/generic/libnss_nisplus.abilist: New file.
10036 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10037 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10038 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10039 file.
10040 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10041 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10042 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10043 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10044 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10045 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10046 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10047 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10048 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10049 file.
10050 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10051 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10052 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10053 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10054 file.
10055 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10056 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10057 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10058 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10059 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10060 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10061 file.
10062 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10063 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10064 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10065 file.
10066 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10068 New file.
10069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10070 New file.
10071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10072 New file.
10073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10074 New file.
10075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10076 New file.
10077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10078 New file.
10079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10080 New file.
10081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10082 New file.
10083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10084 New file.
10085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10086 New file.
10087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10088 New file.
10089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10090 New file.
10091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10092 New file.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10094 file.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10096 New file.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10098 New file.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10100 file.
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10102 New file.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10104 New file.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10106 file.
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10108 New file.
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10110 New file.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10112 New file.
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10114 New file.
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10116 New file.
10117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10118 New file.
10119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10121 file.
10122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10123 New file.
10124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10125 file.
10126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10127 file.
10128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10129 file.
10130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10131 file.
10132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10133 file.
10134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10135 New file.
10136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10137 file.
10138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10139 file.
10140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10141 New file.
10142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10143 file.
10144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10146 file.
10147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10148 New file.
10149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10150 file.
10151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10152 file.
10153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10154 file.
10155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10156 file.
10157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10158 file.
10159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10160 New file.
10161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10162 file.
10163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10164 file.
10165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10166 New file.
10167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10168 file.
10169 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10170 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10171 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10172 file.
10173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10174 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10175 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10176 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10177 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10178 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10179 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10180 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10181 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10182 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10185 file.
10186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10187 New file.
10188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10189 file.
10190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10191 file.
10192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10193 file.
10194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10195 file.
10196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10197 file.
10198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10199 New file.
10200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10201 New file.
10202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10203 file.
10204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10205 New file.
10206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10207 file.
10208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10210 file.
10211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10212 New file.
10213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10214 file.
10215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10216 file.
10217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10218 file.
10219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10220 file.
10221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10222 file.
10223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10224 New file.
10225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10226 New file.
10227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10228 file.
10229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10230 New file.
10231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10232 file.
10233
41d73a1b
JM
102342012-04-28 Joseph Myers <joseph@codesourcery.com>
10235
10236 * conform/conformtest.pl: Fix typo in handling typed-constant from
10237 allow-header.
10238
28aeeda4
JM
102392012-04-27 Joseph Myers <joseph@codesourcery.com>
10240
adae8f5e
JM
10241 * README: Cut down references to pre-2.6 Linux kernels and
10242 Linuxthreads. Update lists of configurations in libc and ports
10243 and sort alphabetically. Say "or newer" with Linux kernel version
10244 requirements.
10245
28aeeda4
JM
10246 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10247
a462cb63
RA
102482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10249
10250 [BZ #887]
10251 * math/libm-test.inc (logb_test_downward): New test to expose
10252 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10253 rounding mode.
10254
6ad3493e
JM
102552012-04-27 Joseph Myers <joseph@codesourcery.com>
10256
10257 [BZ #14027]
10258 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10259 to be done.
10260 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10261 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10262
2ce4f015
JM
102632012-04-26 Joseph Myers <joseph@codesourcery.com>
10264
5aeb141a
JM
10265 * sysdeps/unix/i386/brk.S: Remove file.
10266 * sysdeps/unix/i386/dl-brk.S: Likewise.
10267 * sysdeps/unix/i386/pipe.S: Likewise.
10268 * sysdeps/unix/i386/sigreturn.S: Likewise.
10269 * sysdeps/unix/i386/syscall.S: Likewise.
10270 * sysdeps/unix/i386/vfork.S: Likewise.
10271 * sysdeps/unix/i386/wait.S: Likewise.
10272
7143acae
JM
10273 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10274 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10275
2ce4f015
JM
10276 * configure.in (arm*-none*): Do not allow without
10277 --enable-hacker-mode.
10278 (netbsd*): Remove case setting base_os.
10279 (386bsd*): Likewise.
10280 (freebsd*): Likewise.
10281 (bsdi*): Likewise.
10282 (osf*): Likewise.
10283 (sunos*): Likewise.
10284 (ultrix*): Likewise.
10285 (newsos*): Likewise.
10286 (dynix*): Likewise.
10287 (*bsd*): Likewise.
10288 (sysv*): Likewise.
10289 (isc*): Likewise.
10290 (esix*): Likewise.
10291 (sco*): Likewise.
10292 (minix*): Likewise.
10293 (irix4*): Likewise.
10294 (irix6*): Likewise.
10295 (solaris[2-9]*): Likewise.
10296 (none): Likewise.
10297 * configure: Regenerated.
10298
0ac229c8
AZ
102992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10300
10301 [BZ #11521]
10302 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10303 overflow or cancellation in calculating denominator.
10304 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10305 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10306 down expression to avoid unexpected rounding in newer GCCs.
10307 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10308
33f244f4
DM
103092012-04-26 David S. Miller <davem@davemloft.net>
10310
10311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10312 long-double compat symbols.
10313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10326
cfa1f3e8
DM
103272012-04-25 David S. Miller <davem@davemloft.net>
10328
10329 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10330 HWCAP_* values only after the memory barriers have been defined.
10331 (atomic_full_barrier): Define.
10332 (atomic_read_barrier): Define.
10333 (atomic_write_barrier): Define.
10334
6e236b92
SP
103352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10336
10337 * shlib-versions: Add libgcc_s version information.
10338 * sysdeps/generic/libgcc_s.h: Remove.
10339 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10340 libgcc_s.h.
10341 * sysdeps/gnu/unwind-resume.c: Likewise.
10342 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10343
aab39a09
DM
103442012-04-25 David S. Miller <davem@davemloft.net>
10345
10346 * sysdeps/unix/sparc/brk.S: Delete.
10347 * sysdeps/unix/sparc/dl-brk.S: Delete.
10348 * sysdeps/unix/sparc/pipe.S: Delete.
10349 * sysdeps/unix/sparc/sysdep.S: Delete.
10350 * sysdeps/unix/sparc/sysdep.h: Delete.
10351 * sysdeps/unix/sparc/vfork.S: Delete.
10352 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10353 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10354 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10355 ret_ERRVAL, r0, r1, MOVE): Define.
10356 (JUMPTARGET): Remove.
10357 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10358 sysdeps/unix/sparc/sysdep.h
10359 (ENTRY, END): Remove.
10360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10361
a3cc4f48
JM
103622012-04-25 Joseph Myers <joseph@codesourcery.com>
10363
2ed8cda2
JM
10364 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10365 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10366 -DIS_IN_build.
10367
35d76d59
JM
10368 * timezone/README: Update upstream location and email address for
10369 tzcode and tzdata.
10370 * timezone/zdump.c: Update from tzcode 2012b.
10371 * timezone/zic.c: Likewise.
10372
a3cc4f48
JM
10373 * configure.in (libc_cv_as_needed): Remove test.
10374 * configure: Regenerated.
10375 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10376 conditional definition.
10377 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10378 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10379 * config.make.in (have-as-needed): Remove variable.
10380
ceab42c3
SP
103812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10382 Paul Pluzhnikov <ppluzhnikov@google.com>
10383
10384 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10385 strings correctly.
10386
3ce2865f
CLT
103872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10388
10389 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10390 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10391 * sysdeps/sh/strlen.S: Likewise.
10392
f37e0d68
JM
103932012-04-24 Joseph Myers <joseph@codesourcery.com>
10394
ae186e9a
JM
10395 * sysdeps/unix/fork.S: Remove file.
10396 * sysdeps/unix/i386/fork.S: Likewise.
10397 * sysdeps/unix/sparc/fork.S: Likewise.
10398
b96914af
JM
10399 * sysdeps/unix/system.c: Remove file.
10400 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10401
f37e0d68
JM
10402 * sysdeps/unix/getegid.S: Remove file.
10403 * sysdeps/unix/geteuid.S: Likewise.
10404
87ef29ca
RM
104052012-04-24 Roland McGrath <roland@hack.frob.com>
10406
83bcd236
RM
10407 * scripts/check-localplt.awk: New file.
10408 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10409 of diff.
10410 * scripts/data/localplt-generic.data: Add a comment.
10411
87ef29ca
RM
10412 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10413 NODE when __dir_mkfile failed.
10414 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10415 Reported by Ludovic Courtès <ludo@gnu.org>.
10416
e5a6e567
AJ
104172012-04-24 Andreas Jaeger <aj@suse.de>
10418
10419 * Makerules (common-clean): Also remove gen-as-const-headers
10420 files.
10421
c1820385
JM
104222012-04-24 Joseph Myers <joseph@codesourcery.com>
10423
10424 * Makerules (native-compile): Do not change working directory for
10425 build. Use $(OUTPUT_OPTION) in command.
10426 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10427
94e02fc4
AZ
104282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10429
10430 [BZ #13886]
10431 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10432 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10433 * math/libm-test.inc (floor_test): Add more tests.
10434 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10435
3a533ca3
JM
104362012-04-24 Joseph Myers <joseph@codesourcery.com>
10437
940ab4b3
JM
10438 * sysdeps/unix/getdents.c: Remove file.
10439 * sysdeps/unix/sysv/getdents.c: Likewise.
10440 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10441
90e037bd
JM
10442 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10443 sysdeps/unix/mman/syscalls.list.
10444 (mmap): Likewise.
10445 (mprotect): Likewise.
10446 (msync): Likewise.
10447 (munmap): Likewise.
10448 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10449 * sysdeps/unix/mman/syscalls.list: Remove.
10450 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10451
3a533ca3
JM
10452 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10453 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10454 * configure: Regenerated.
10455 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10456 $(libgcc_s_suffix).
10457 * config.make.in (libgcc_s_suffix): Remove variable.
10458
1ad743de
JM
104592012-04-23 Joseph Myers <joseph@codesourcery.com>
10460
4ad451e2
JM
10461 * sysdeps/unix/sysv/gethostname.c: Move to ...
10462 * sysdeps/posix/gethostname.c: ... here.
10463
5e37ce39
JM
10464 * sysdeps/unix/execve.S: Remove file.
10465
1ad743de
JM
10466 * sysdeps/unix/_exit.S: Remove file.
10467
4e681b5b
AJ
104682012-04-23 Andreas Jaeger <aj@suse.de>
10469
10470 [BZ #13739]
10471 * manual/Makefile: Remove make dist support, there's no
10472 need for a stand-alone documentation tar ball.
10473 (TEXI2DVI): Define always, it's not in Makeconfig.
10474 (dist): Removed.
10475 (tar-it): Removed.
10476 (edition): Removed.
10477 (glibc-doc-$(edition).tar): Removed
10478 (%.Z): Removed.
10479 (%.gz): Removed.
10480 (%.uu): Removed.
10481 (ETAGS): Remove, it's in Makeconfig.
10482 (move-if-change): Remove, it's in Makeconfig.
10483
c0baea34
PE
104842013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10485
10486 [BZ #13970]
10487 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10488 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10489 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10490 (strtod_l, strtof_l, strtold_l): Remove __wur.
10491 It is not necessarily an error to ignore strtol's return value.
10492 One can reliably look at the stored endptr to decide whether
10493 the number had valid syntax.
10494
7c0616fa
AJ
104952012-04-21 Andreas Jaeger <aj@suse.de>
10496
803cb6b7 10497 [BZ #13739]
7c0616fa
AJ
10498 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10499
b0fe253f
JM
105002012-04-21 Joseph Myers <joseph@codesourcery.com>
10501
10502 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10503 * sysdeps/unix/sysv/Versions: Remove file.
10504
8280f22d
MT
105052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10506
10507 [BZ #13927]
10508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10509
75ce411f 105102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10511
10512 [BZ #7064]
10513 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10514 version from __vm86.
10515
097d59fa
JM
105162012-04-20 Joseph Myers <joseph@codesourcery.com>
10517
a90f3bcb
JM
10518 * sysdeps/unix/common/lxstat.c: Remove file.
10519 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10520
edc7ea78
JM
10521 * sysdeps/unix/sysv/Makefile: Remove file.
10522
cb78c221
JM
10523 * sysdeps/unix/sysv/direct.h: Remove file.
10524
efa6a45f
JM
10525 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10526 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10527 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10528 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10529 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10530 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10531 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10532
9c9f2d0c
JM
10533 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10534
4541c83b
JM
10535 * sysdeps/unix/xmknod.c: Remove file.
10536 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10537
f5d153a0
JM
10538 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10539
aa746595
JM
10540 * sysdeps/unix/sysv/i386/time.S: Remove file.
10541
cce5905e
JM
10542 * sysdeps/unix/fxstat.c: Remove file.
10543 * sysdeps/unix/xstat.c: Likewise.
10544 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10545
37fa3841
JM
10546 * sysdeps/unix/sysv/sigaction.c: Remove file.
10547
ff1962a3
JM
10548 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10549 (sysdep_headers): Remove variable.
10550 [termio.h not in sysdep_headers] (generated): Likewise.
10551 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10552 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10553 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10554 * sysdeps/unix/sysv/tcflow.c: Likewise.
10555 * sysdeps/unix/sysv/tcflush.c: Likewise.
10556 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10557 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10558 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10559 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10560 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10561
e7740d31
JM
10562 * sysdeps/unix/siglist.c: Remove file.
10563
ee06f18b
JM
10564 * sysdeps/unix/getppid.S: Remove file.
10565
097d59fa
JM
10566 * sysdeps/unix/mkdir.c: Remove file.
10567 * sysdeps/unix/rmdir.c: Likewise.
10568
ff3d51ec
AS
105692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10570
10571 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10572 ERR_MAX value.
10573 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10574 errlist-compat value.
10575
50f81fd7
DM
105762012-04-18 David S. Miller <davem@davemloft.net>
10577
10578 * sysdeps/generic/memcopy.h (reg_char): Delete.
10579 * debug/strcat_chk.c: Use char, not reg_char.
10580 * debug/strcpy_chk.c: Likewise.
10581 * debug/strncat_chk.c: Likewise.
10582 * debug/strncpy_chk.c: Likewise.
10583 * string/memchr.c: Likewise.
10584 * string/memrchr.c: Likewise.
10585 * string/rawmemchr.c: Likewise.
10586 * string/strcat.c: Likewise.
10587 * string/strchr.c: Likewise.
10588 * string/strchrnul.c: Likewise.
10589 * string/strcmp.c: Likewise.
10590 * string/strcpy.c: Likewise.
10591 * string/strncat.c: Likewise.
10592 * string/strncmp.c: Likewise.
10593 * string/strncpy.c: Likewise.
10594
8ff41c46
WS
105952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10596
10597 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10598 __builtin_memcopy is called when src and dest ranges are known to not
10599 overlap.
10600
6b652f46
WS
106012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10602
10603 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10604 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10605 fwd_align_merge macro call.
10606 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10607 bwd_align_merge macro call.
10608 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10609
b282631e
WS
106102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10611
10612 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10613 bwd_align_merge macros.
10614 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10615 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10616 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10617
95aa737c
DM
106182012-04-18 David S. Miller <davem@davemloft.net>
10619
10620 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10621
7a99a614
AJ
106222012-04-18 Andreas Jaeger <aj@suse.de>
10623
10624 [BZ# 6794]
10625 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10626 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10627 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10628
10629 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10630 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10631 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10632
10633 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10634 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10635 Adjust for changed ldbl-128 files.
10636
10637 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10638 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10639 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10640
e5270c23
DM
106412012-04-17 David S. Miller <davem@davemloft.net>
10642
10643 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10644
fb5e92c9
AS
106452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10646
10647 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10648 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10649 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10650 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10651 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10652 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10653
76da7265
AZ
106542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10655
10656 [BZ #6794]
10657 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10658 * math/libm-test.inc: Add ilogb errno and exception tests.
10659 * math/w_ilogb.c: New file: ilogb wrapper.
10660 * math/w_ilogbf.c: New file: ilogbf wrapper.
10661 * math/w_ilogbl.c: New file: ilogbl wrapper.
10662 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10663 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10664 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10665 exception being thrown with 0.0 as argument.
10666 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10667 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10668 exception being thrown with 0.0 as argument.
10669 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10670 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10671 exception being thrown with 0.0 as argument.
10672 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10673 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10674 exception being thrown with 0.0 as argument.
10675 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10676 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10677 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10678 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10679 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10680 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10681 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10682 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10683 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10684
0396e69d
PB
106852012-04-17 Petr Baudis <pasky@ucw.cz>
10686
10687 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10688 with altivec.
10689
750b5926
MP
106902012-04-16 Marek Polacek <polacek@redhat.com>
10691
10692 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10693
751728a1
MP
106942012-04-16 Marek Polacek <polacek@redhat.com>
10695
10696 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10697 operands of fdivp instruction.
10698
34a27407
L
106992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10700
10701 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10702 * elf/tst-auditmod3b.c: Likewise.
10703 * elf/tst-auditmod4b.c: Likewise.
10704 * elf/tst-auditmod5b.c: Likewise.
10705 * elf/tst-auditmod6b.c: Likewise.
10706 * elf/tst-auditmod6c.c: Likewise.
10707 * elf/tst-auditmod7b.c: Likewise.
10708 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10709 * sysdeps/x86_64/preconfigure.in: Likewise.
10710 * sysdeps/x86_64/preconfigure: Regenerated.
10711
7e73e17d
L
107122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10713
10714 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10715 __ILP32__.
10716
c7a6ab72
AB
107172012-04-13 Antoine Balestrat <merkil33@gmail.com>
10718
10719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10720 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10721
a9e8e0e0
CL
107222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10723
10724 [BZ #13973]
10725 * locale/iso-639.def: Fix gl language name. Spotted by
10726 Yaron Shahrabani.
10727
ec98af7d
RM
107282012-04-12 Roland McGrath <roland@hack.frob.com>
10729
10730 [BZ #2074]
10731 * libio/libio.h (__io_write_fn): Update comment.
10732
247c3ede
PB
107332012-04-12 Petr Baudis <pasky@ucw.cz>
10734
10735 [BZ #2074]
10736 * stdio.texi (Hook Functions): The user provided writer function
10737 is not allowed to return -1.
10738
55939d6d
DM
107392012-04-11 David S. Miller <davem@davemloft.net>
10740
10741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10742
90020f5a
MF
107432012-04-11 Mike Frysinger <vapier@gentoo.org>
10744
10745 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10746 Add a leading slash to rtkaio.
10747
288f9098
JM
107482012-04-11 Jim Meyering <meyering@redhat.com>
10749
90020f5a
MF
10750 [BZ #11959]
10751 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10752 It is not necessarily an error to ignore fwrite's return
10753 value. One can reliably use ferror to test for errors after
10754 the fact.
288f9098 10755
4be2b570
L
107562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10757
10758 * bits/types.h (__snseconds_t): New type.
10759 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10760
10761 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10763 (__SNSECONDS_T_TYPE): Likewise.
10764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10765 (__SNSECONDS_T_TYPE): Likewise.
10766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10767 (__SNSECONDS_T_TYPE): Likewise.
10768
288f9098 107692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10770
10771 [BZ #2636]
10772 * manual/time.texi (Processor Time): Return type of times is
10773 elapsed real time since an arbitrary point in the past.
10774 (CPU Time): Move CLK_TCK from here...
10775 (Processor Time): ...to here. Correct description.
10776 * manual/conf.texi (Constants for Sysconf): Correct description of
10777 _SC_CLK_TCK.
10778
d7dd4413
DM
107792012-04-10 David S. Miller <davem@davemloft.net>
10780
10781 [BZ #13967]
10782 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10783 where the is a gap between DT_REL(A) and DT_JMPREL.
10784
b46068fc
L
107852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10788 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10789 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10790
73d65cc3
SP
107912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10792
10793 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10794 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10795 (dl_main): Handle --inhibit-cache.
10796 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10797 _dl_inhibit_cache.
10798 * elf/dl-load.c (_dl_map_object): Use it.
10799 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10800
bcc8d661
JM
108012012-04-09 Joseph Myers <joseph@codesourcery.com>
10802
8f9a2fae
JM
10803 [BZ #13872]
10804 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10805 (__ieee754_powl): Saturate large exponents rather than testing for
10806 overflow of y*log2(x).
10807 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10808 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10809 exceptions.
10810
bcc8d661
JM
10811 [BZ #11521]
10812 * math/s_ctan.c: Include <float.h>.
10813 (__ctan): Avoid internal overflow or cancellation in calculating
10814 denominator.
10815 * math/s_ctanf.c: Likewise.
10816 * math/s_ctanl.c: Likewise.
10817 * math/s_ctanh.c: Likewise.
10818 * math/s_ctanhf.c: Likewise.
10819 * math/s_ctanhl.c: Likewise.
10820 * math/libm-test.inc (ctan_test): Add more tests.
10821 (ctanh_test): Likewise.
10822 * sysdeps/i386/fpu/libm-test-ulps: Update.
10823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10824
823fbbb4
AJ
108252012-04-09 Andreas Jaeger <aj@suse.de>
10826
03879793
AJ
10827 [BZ #6894]
10828 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10829 is an optional BSD extension.
10830
823fbbb4
AJ
10831 [BZ #10254]
10832 * manual/stdio.texi (Opening Streams): Document additional fopen
10833 parameters.
10834
8de131cb
RM
108352012-04-09 Roland McGrath <roland@hack.frob.com>
10836
10837 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10838 %eax without telling the compiler.
10839
c0ed9d7d
CD
108402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10841
10842 [BZ # 13963]
10843 * manual/install.texi: Use sourceware.org.
10844
c483f6b4
JM
108452012-04-09 Joseph Myers <joseph@codesourcery.com>
10846
d7dd9453
JM
10847 [BZ #13873]
10848 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10849 (__ieee754_pow): Generate overflow and underflow using huge*huge
10850 and tiny*tiny rather than just returning constant infinity or zero
10851 for large exponents.
10852 * math/libm-test.inc (pow_test): Require overflow exceptions for
10853 applicable cases of large exponents.
10854
c483f6b4
JM
10855 [BZ #706]
10856 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10857 (__ieee754_pow): Use iterative multiplication algorithm only for
10858 integer exponents with absolute value below 1024. Check for odd
10859 integer exponents when using algorithm for real exponents.
10860 * math/libm-test.inc (pow_test): Add more tests.
10861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10862
d2de7579
JM
108632012-04-08 Joseph Myers <joseph@codesourcery.com>
10864
10865 [BZ #13705]
10866 * math/libm-test.inc (exp_test): Do not allow overflow exception
10867 on underflow test.
10868
f77f1232
AJ
108692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10870
10871 [BZ #13705]
10872 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10873 instead of __kernel_standard_f.
10874
3884932b
MF
108752012-04-08 Mike Frysinger <vapier@gentoo.org>
10876
10877 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10878 * sysdeps/x86_64/memset_chk.S: Likewise.
10879
54472e9c
AJ
108802012-04-08 Andreas Jaeger <aj@suse.de>
10881
6ab0fbfc
AJ
10882 [BZ #10153]
10883 * manual/startup.texi (Environment Access): Describe return value
10884 for putenv and setenv.
10885
61efba8c
AJ
10886 [BZ #6895]
10887 * manual/filesys.texi (Directory Entries): Add description for
10888 DT_LNK.
10889
95c3f29a
AJ
10890 [BZ #6890]
10891 * manual/filesys.texi (Directory Entries): Clarify that it's file
10892 system not operating system in the description of DT_UNKNOWN.
10893
54472e9c
AJ
10894 [BZ #6578]
10895 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10896
624254b1
SC
108972012-04-08 Stephen Compall <s11@member.fsf.org>
10898
10899 [BZ #6649]
10900 * manual/llio.texi (Opening and Closing Files): Add cross
10901 reference to explain mode argument.
10902
1e4920e0
MF
109032012-04-07 Mike Frysinger <vapier@gentoo.org>
10904
10905 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10906 * sysdeps/x86_64/memset_chk.S: Likewise.
10907
5ed848f3
DM
109082012-04-07 David S. Miller <davem@davemloft.net>
10909
10910 * elf/elf.h (R_SPARC_WDISP10): Define.
10911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10912 R_SPARC_SIZE32.
10913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10914 R_SPARC_SIZE64 and R_SPARC_H34.
10915
96154cd8
CD
109162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10917
10918 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10919 conditions and remove no longer applicable assertion.
10920
9904dc47
L
109212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10922
10923 * bits/byteswap.h: Include <features.h>.
10924 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10925 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10926
f8887d0a
L
109272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10928
10929 * bits/byteswap.h (__bswap_16): Removed.
10930 Include <bits/byteswap-16.h> to get __bswap_16.
10931 * sysdeps/i386/bits/byteswap.h: Likewise.
10932 * sysdeps/s390/bits/byteswap.h: Likewise.
10933 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10934 * bits/byteswap-16.h: New file.
10935 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10936 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10937 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10938 * string/Makefile (headers): Add bits/byteswap-16.h.
10939
62470f60
PP
109402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10941
10942 [BZ #13895]
10943 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10944 extra indirection.
10945 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10946 * nss/tst-nss-static.c: New.
10947
4dad7bab
RM
109482012-04-06 Robert Millan <rmh@gnu.org>
10949
10950 [BZ #6486]
10951 * manual/llio.texi (File Position Primitive): lseek
10952 refers to WHENCE when it really means OFFSET.
10953
e9142a17
AJ
109542012-04-06 Andreas Jaeger <aj@suse.de>
10955
2c040eff
AJ
10956 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10957 strncmp declarations.
10958
e9142a17
AJ
10959 * abilist/libc.abilist: Add __poll and __ppoll.
10960
ff9f1c5f
DM
109612012-04-05 David S. Miller <davem@davemloft.net>
10962
dcd2ae90
DM
10963 * scripts/check-local-headers.sh: Accept a host triplet in the
10964 path matched by the exclude regexp.
10965
993eb054
DM
10966 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10967 definition.
10968 * sysdeps/powerpc/powerpc32/dl-machine.h
10969 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10970 * sysdeps/s390/s390-32/dl-machine.h
10971 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10972 * sysdeps/sparc/sparc32/dl-machine.h
10973 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10974 * sysdeps/sparc/sparc64/dl-machine.h
10975 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10976
ff9f1c5f
DM
10977 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10978 lazy binding.
48e2e132 10979 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
10980 undefined symbol errors.
10981
48e2e132 10982 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
10983 DT_NEEDED entries.
10984
e80d6f94
MM
109852012-04-05 Michael Matz <matz@suse.de>
10986
10987 [BZ #13592]
10988 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10989
349fa79f
AJ
109902012-04-05 Andreas Jaeger <aj@suse.de>
10991
10992 [BZ #13908]
10993 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10994 comment.
10995
f402708f
KK
109962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10997
10998 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10999 which ROUND is no valid rounding mode.
11000
2ecccfc9
KK
110012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11002
11003 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11004 read again.
11005 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11006
8a53f50f
KK
110072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11008
11009 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11010 an exception using FPU order intentionally.
11011
110122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11013
11014 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11015 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11016 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11017 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11018
d653abb7
SJ
110192012-04-05 Simon Josefsson <simon@josefsson.org>
11020
11021 [BZ #12340]
11022 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11023 EINVAL when BUFLEN is too smal.
11024
c3b1bf7d
TS
110252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11026
11027 [BZ #13553]
11028 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11029 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11030
b1aa60f3
AJ
110312012-04-03 Andreas Jaeger <aj@suse.de>
11032
c3b1bf7d 11033 [BZ #13938]
67f60a26
AJ
11034 * manual/setjmp.texi (System V contexts): Fix sentence.
11035
b1aa60f3
AJ
11036 [BZ #13926]
11037 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11038 New macro for this case.
11039 [!__GNUC__] (__bswap_64): New inline function for this case.
11040 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11041 * bits/byteswap.h: Likewise.
11042 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11043 ull, guard with __GLIBC_HAVE_LONG_LONG.
11044
11045 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11046 __GLIBC_HAVE_LONG_LONG.
11047
11048 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11049 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11050
39c59c35
TMQMF
110512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11052
11053 [BZ #13691]
11054 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11055 inptr and inend, rather than using last_ch.
11056
135ffda8
DM
110572012-04-02 David S. Miller <davem@davemloft.net>
11058
11059 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11060 * stdio-common/printf-parse.h (read_int): Change return type to
11061 'int', return -1 on INT_MAX overflow.
11062 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11063 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11064 overflows INT_MAX. Check for overflow of in-format-string precision
11065 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11066 SIZE_MAX not INT_MAX for integer overflow test.
11067 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11068 skip the construct in the format string but do not record anything.
11069 * stdio-common/bug22.c: Adjust to test both width/prevision
11070 INT_MAX overflow as well as total length INT_MAX overflow. Check
11071 explicitly for proper errno values.
11072
228c019e
TS
110732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11074
302cadd3
TS
11075 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11076 CHAR_MAX.
11077 * string/test-strcmp.c [! WIDE]: Likewise.
11078 * time/tst-mktime2.c: Likewise for INT_MAX.
11079 * string/test-string.h: #include <sys/param.h> for MIN.
11080
228c019e
TS
11081 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11082 * sysdeps/i386/init-first.c (init): Likewise.
11083 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11084 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11085 * sysdeps/sh/init-first.c (init): Likewise.
11086
cfa633f5
UD
110872012-04-01 Ulrich Drepper <drepper@gmail.com>
11088
11089 * po/ru.po: Update from translation team.
d1635ef8 11090 * po/vi.po: Likewise.
cfa633f5 11091
6cd0a5ea
SP
110922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11093
11094 * resolv/nss_dns/dns-host.c: Merge copyright years.
11095
4b43400f
LD
110962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11097
11098 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11099 Optimize memcpy with prefetch if
11100 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11101 src, dst pointers have unequal 16 byte alignments.
11102
48c41d04
SP
111032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11104
11105 [BZ #13928]
11106 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11107 from a CNAME entry and return the minimum ttl for the query.
11108 (gaih_getanswer_slice): Likewise.
11109
b8dc394d
JL
111102012-03-30 Jeff Law <law@redhat.com>
11111
11112 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11113 due to long keys.
11114 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11115 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11116
2f5a5ed0
JL
11117 * resolv/nss_dns/dns-host.c: Update copyright year.
11118
1d39e359
UD
111192012-03-30 Ulrich Drepper <drepper@gmail.com>
11120
c030f70c 11121 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11122 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11123
1d39e359
UD
11124 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11125 comments for sendmmsg.
11126
111272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11128
11129 [BZ #13691]
11130 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11131 with only 1 character between 0x0041 and 0x01b0.
11132 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11133 * wcsmbs/tst-mbsnrtowcs.c: New file.
11134
20fde227
DM
111352012-03-29 David S. Miller <davem@davemloft.net>
11136
11137 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11138 small copies by hand.
11139
984a4237
JL
111402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11141
11142 [BZ #13761]
11143 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11144 _nss_compat_initgroups_dyn): Fall back to malloc/free
11145 for large group memberships.
11146
18c9d62b
DM
111472012-03-28 David S. Miller <davem@davemloft.net>
11148
88d85d4f
DM
11149 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11150 that branches into memcpy.
11151 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11153 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11154 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11156 bits.
11157 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11158 implementation too.
11159 * sysdeps/sparc/mempcpy.S: New file.
11160
e5aa83e1
DM
11161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11162 the IFUNC routine in the libc case.
11163 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11164
88570753
DM
11165 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11166 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11167 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11168 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11169 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11170 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11171 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11172 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11173
249d7567
DM
11174 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11175 loop to 256 bytes instead of 64 bytes and fix test signedness.
11176
18c9d62b
DM
11177 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11178 * sysdeps/sparc/sparc32/Makefile: rather than here...
11179 * sysdeps/sparc/sparc64/Makefile: and here.
11180
05f3d1f6
UD
111812012-03-28 Ulrich Drepper <drepper@gmail.com>
11182
11183 * malloc/mallocbug.c: Avoid warnings about unused variables.
11184
86ae07a8
JL
111852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11186
11187 [BZ #13760]
11188 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11189 in the right place. Discard and retry query if response is
11190 larger than input buffer size.
11191
41bf21a1
JM
111922012-03-28 Joseph Myers <joseph@codesourcery.com>
11193
d6270972
JM
11194 [BZ #369]
11195 [BZ #2678]
11196 [BZ #3866]
11197 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11198 x for large integer exponent.
11199 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11200 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11201 sign of result as needed afterwards.
11202 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11203 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11204 result for underflowing pow the same as for overflow.
11205 (__kernel_standard_l): Handle powl overflow and underflow here
11206 rather than calling __kernel_standard.
11207 * math/libm-test.inc (pow_test): Add more tests.
11208
414fca03 11209 [BZ #3868]
41bf21a1
JM
11210 [BZ #13879]
11211 [BZ #13910]
11212 [BZ #13911]
11213 [BZ #13912]
11214 [BZ #13913]
11215 [BZ #13915]
11216 [BZ #13916]
11217 [BZ #13917]
11218 [BZ #13918]
11219 [BZ #13919]
11220 [BZ #13920]
11221 [BZ #13921]
11222 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11223 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11224 (__kernel_standard_l): New function.
11225 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11226 __kernel_standard.
11227 * math/w_acosl.c (__acosl): Likewise.
11228 * math/w_asinl.c (__asinl): Likewise.
11229 * math/w_atan2l.c (__atan2l): Likewise.
11230 * math/w_atanhl.c (__atanhl): Likewise.
11231 * math/w_coshl.c (__coshl): Likewise.
11232 * math/w_exp10l.c (__exp10l): Likewise.
11233 * math/w_exp2l.c (__exp2l): Likewise.
11234 * math/w_fmodl.c (__fmodl): Likewise.
11235 * math/w_hypotl.c (__hypotl): Likewise.
11236 * math/w_j0l.c (__j0l, __y0l): Likewise.
11237 * math/w_j1l.c (__j1l, __y1l): Likewise.
11238 * math/w_jnl.c (__jnl, __ynl): Likewise.
11239 * math/w_lgammal.c (__lgammal): Likewise.
11240 * math/w_log10l.c (__log10l): Likewise.
11241 * math/w_log2l.c (__log2l): Likewise.
11242 * math/w_logl.c (__logl): Likewise.
11243 * math/w_powl.c (__powl): Likewise.
11244 * math/w_remainderl.c (__remainderl): Likewise.
11245 * math/w_scalbl.c (sysv_scalbl): Likewise.
11246 * math/w_sinhl.c (__sinhl): Likewise.
11247 * math/w_sqrtl.c (__sqrtl): Likewise.
11248 * math/w_tgammal.c (__tgammal): Likewise.
11249 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11250 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11251 * math/libm-test.inc (acos_test): Add more tests.
11252 (acosh_test): Likewise.
11253 (asin_test): Likewise.
11254 (atanh_test): Likewise.
11255 (exp_test): Likewise.
11256 (exp10_test): Likewise.
11257 (exp2_test): Likewise.
11258 (expm1_test): Likewise.
11259 (lgamma_test): Likewise.
11260 (log_test): Likewise.
11261 (log10_test): Likewise.
11262 (log1p_test): Likewise.
11263 (log2_test): Likewise.
11264 (pow_test): Do not allow some spurious overflow exceptions.
11265 (sqrt_test): Add more tests.
11266 (tgamma_test): Likewise.
11267 (y0_test): Likewise.
11268 (y1_test): Likewise.
11269 (yn_test): Likewise.
11270
dd62fda6
AB
112712012-03-27 Anton Blanchard <anton@samba.org>
11272
11273 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11274 MAP_HUGETLB.
11275 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11276 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11277 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11278
1e3cdfda
AJ
112792012-03-27 David S. Miller <davem@davemloft.net>
11280
b855ab85
DM
11281 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11282
1e3cdfda
AJ
11283 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11284 have-as-vis3 check.
11285
112862012-03-27 Andreas Jaeger <aj@suse.de>
11287
11288 * sysdeps/x86_64/elf/configure.in: Moved to ...
11289 * sysdeps/x86_64/configure.in: ... here.
11290 * sysdeps/x86_64/elf/start.S: Moved to ...
11291 * sysdeps/x86_64/start.S: ... here.
11292 * sysdeps/x86_64/elf/configure: Delete.
11293
11294 * sysdeps/x86_64/configure.in: Merge contents from
11295 sysdeps/i386/configure.in (without i686 check).
11296
11297 * sysdeps/i386/elf/Versions: Merge into ...
11298 * sysdeps/i386/Versions: ... this.
11299 * sysdeps/i386/elf/Versions: Delete file.
11300 * sysdeps/i386/elf/start.S: Moved to ...
11301 * sysdeps/i386/start.S: ...here.
11302 * sysdeps/i386/elf/configure.in: Merge into...
11303 * sysdeps/i386/configure.in: ...here.
11304 * sysdeps/i386/elf/configure.in: Delete file.
11305 * sysdeps/i386/elf/configure: Delete file.
11306
11307 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11308 * debug/backtracesyms.c: ... here.
11309 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11310 * debug/backtracesymsfd.c: ... here.
11311 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11312 * sysdeps/generic/ifunc-sel.h: ... here.
11313
11314 * sysdeps/unix/i386/start.c: Delete file.
11315 * sysdeps/unix/sparc/start.c: Delete file.
11316 * sysdeps/unix/start.c: Delete file.
11317
11318 * sysdeps/sh/elf/configure.in: Moved to ...
11319 * sysdeps/sh/configure.in: ... here.
11320 * sysdeps/sh/elf/start.S: Moved to ...
11321 * sysdeps/sh/start.S: ... here.
11322 * sysdeps/sh/elf/configure: Delete file.
11323
11324 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11325 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11326 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11327 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11328 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11329 * sysdeps/powerpc/powerpc64/start.S: here.
11330 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11331 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11332 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11333 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11334 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11335
11336 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11337 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11338 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11339 * sysdeps/powerpc/powerpc32/start.S: ... here.
11340 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11341 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11342 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11343
11344 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11345 * sysdeps/powerpc/ifunc-sel.h: ... here.
11346 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11347 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11348
11349 * sysdeps/sparc/elf/configure.in: Moved to ...
11350 * sysdeps/sparc/configure.in: ... here.
11351 * sysdeps/sparc/elf/configure: Delete file.
11352 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11353 * sysdeps/sparc/sparc32/start.S: ... here.
11354 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11355 * sysdeps/sparc/sparc64/start.S: ... here.
11356 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11357 * sysdeps/sparc/sparc32/Makefile: ... this.
11358 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11359 * sysdeps/sparc/sparc64/Makefile: ... this.
11360
11361 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11362 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11363 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11364 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11365 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11366 * sysdeps/s390/s390-32/setjmp.S: ... here.
11367 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11368 * sysdeps/s390/s390-32/configure.in: ... here.
11369 * sysdeps/s390/s390-32/elf/configure: Delete file.
11370 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11371 * sysdeps/s390/s390-32/start.S: ... here.
11372
11373 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11374 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11375 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11376 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11377 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11378 * sysdeps/s390/s390-64/setjmp.S: ... here.
11379 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11380 * sysdeps/s390/s390-64/configure.in: ... here
11381 * sysdeps/s390/s390-64/elf/configure: Delete file.
11382 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11383 * sysdeps/s390/s390-64/start.S: ... here.
11384 * sysdeps/s390/s390-64/elf/configure: Delete.
11385
11386 * configure.in: Remove support for elf directories in sysdeps.
11387
11388 * configure: Regenerated.
11389 * sysdeps/i386/configure: Regenerated.
11390 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11391 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11392 * sysdeps/s390/s390-32/configure: Regenerated.
11393 * sysdeps/s390/s390-64/configure: Regenerated.
11394 * sysdeps/sh/configure: Regenerated.
11395 * sysdeps/sparc/configure: Regenerated.
11396 * sysdeps/x86_64/configure: Regenerated.
11397
a3f61311
AS
113982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11399
c876e002
AS
11400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11401
a3f61311
AS
11402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11403 denormal result into account.
11404
ac4c54f0
RM
114052012-03-25 Roland McGrath <roland@hack.frob.com>
11406
11407 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11408 Reported by Allan McRae <allan@archlinux.org>.
11409
6a9b9c02
JL
114102012-03-23 Jeff Law <law@redhat.com>
11411
11412 * nss/getnssent.c (__nss_getent): Fix typo.
11413
4c42a0c1
DM
114142012-03-23 David S. Miller <davem@davemloft.net>
11415
11416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11417
1532c7ac
L
114182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11419
11420 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11421 to pad to uint64_t for each field.
11422 (dl_tls_index): Replace unsigned long with uint64_t.
11423
3ff42526
PP
114242012-03-23 Daniel Jacobowitz <dmj@google.com>
11425 Paul Pluzhnikov <ppluzhnikov@google.com>
11426
11427 [BZ #6528]
11428 * grp/Makefile (otherlibs): Don't set it.
11429 * inet/Makefile (otherlibs): Likewise.
11430 * login/Makefile (otherlibs): Likewise.
11431 * nscd/Makefile (otherlibs): Likewise.
11432 * posix/Makefile (otherlibs): Likewise.
11433 * pwd/Makefile (otherlibs): Likewise.
11434 * rt/Makefile (otherlibs): Likewise.
11435 * sunrpc/Makefile (otherlibs): Likewise.
11436 * nss/Makefile (otherlibs): Likewise.
11437 Add libnss_files to routines and static-only-routines.
11438 ($(objpfx)getent): Remove rule.
11439 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11440 static-only-routines.
11441
7c69cd14
JM
114422012-03-22 Joseph Myers <joseph@codesourcery.com>
11443
11444 [BZ #13892]
11445 * math/s_cexp.c: Include <float.h>.
11446 (__cexp): Handle exp result overflowing not necessarily
11447 overflowing both real and imaginary parts of result.
11448 * math/s_cexpf.c: Likewise.
11449 * math/s_cexpl.c: Likewise.
11450 * math/libm-test.inc (cexp_test): Add more tests.
11451 * sysdeps/i386/fpu/libm-test-ulps: Update.
11452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11453
81b035fe
L
114542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11455
11456 * include/link.h (ELFW): New macro.
11457 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11458 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11459
1da7940c
L
114602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11463 with uint64_t.
11464
b749dbb9
L
114652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11466
11467 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11468 declaration.
11469 (struct La_x32_retval): Likewise.
11470
2ff87f3f
L
114712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11472
11473 * sysdeps/x86_64/preconfigure.in: New file.
11474 * sysdeps/x86_64/preconfigure: New generated file.
11475
c0df8e69
JM
114762012-03-22 Joseph Myers <joseph@codesourcery.com>
11477
48e44791
JM
11478 [BZ #13824]
11479 * math/e_exp2l.c: Include <float.h>.
11480 (__ieee754_exp2l): Handle overflow and underflow cases
11481 separately. Only pass fractional part of argument to
11482 __ieee754_expl.
11483 * math/libm-test.inc (exp2_test): Add more tests.
11484
c0df8e69
JM
11485 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11486 negating x to take absolute value.
11487 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11488 Likewise.
11489 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11490 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11491 Likewise.
11492 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11493 computing low part if x was negated.
11494 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11495
c8e43ba7
L
114962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11497
11498 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11499 la_x32_gnu_pltexit.
11500 (pltexit): Cast int_retval to ptrdiff_t.
11501 * elf/tst-auditmod3b.c: Likewise.
11502 * elf/tst-auditmod4b.c: Likewise.
11503 * elf/tst-auditmod5b.c: Likewise.
11504 * elf/tst-auditmod6b.c: Likewise.
11505 * elf/tst-auditmod6c.c: Likewise.
11506 * elf/tst-auditmod7b.c: Likewise.
11507
11508 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11509 and x32_gnu_pltexit.
11510
11511 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11512 __ELF_NATIVE_CLASS.
11513 (La_x32_regs): New macro.
11514 (La_x32_retval): Likewise.
11515 (la_x32_gnu_pltenter): New function prototype.
11516 (la_x32_gnu_pltexit): Likewise.
11517
7998fa78
AS
115182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11519
dcb33988
AS
11520 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11521 exponent.
11522
233fc563
AS
11523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11524
7998fa78
AS
11525 * configure.in (libc_cv_cc_nofma): Check for option to disable
11526 generation of FMA instructions.
11527 * configure: Regenerate.
11528 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11529 * sysdeps/ieee754/dbl-64/Makefile: New file.
11530 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11531 Remove brandred-fma4.
11532 (CFLAGS-brandred-fma4.c): Remove.
11533 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11534 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11535 define.
11536 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11537 define.
11538
8e95c99a
L
115392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11540
11541 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11542 LLONG_MAX != LONG_MAX.
11543 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11544 (_fitoa_word): Likewise.
11545 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11546 LLONG_MAX != LONG_MAX.
11547 * stdio-common/_itowa.h: Include <_itoa.h>.
11548 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11549 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11550 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11551 only if not defined.
11552 (_ITOA_WORD_TYPE): Likewise.
11553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11554 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11555
6f4db457
DM
115562012-03-21 David S. Miller <davem@davemloft.net>
11557
11558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11559
7785fe5a
L
115602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11561
11562 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11563 of x86_64 when setting libc_cv_slibdir, libdir and
11564 libc_cv_localedir.
11565 * sysdeps/unix/sysv/linux/configure: Regenerated.
11566
4535cd55
JM
115672012-03-21 Joseph Myers <joseph@codesourcery.com>
11568
11569 * manual/lang.texi (Old Varargs): Remove section.
11570 (How Variadic): Update menu.
11571 (va_start): Do not mention varargs.h.
11572
17228132
TS
115732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11574 Joseph Myers <joseph@codesourcery.com>
11575
11576 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11577 link test.
11578 * configure: Regenerated.
11579
8149f976
TS
115802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11581
05f3d1f6
UD
11582 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11583 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11584 conformtest.pl
8149f976 11585
1a4ac776
JM
115862012-03-21 Joseph Myers <joseph@codesourcery.com>
11587
be22ce65
JM
11588 * NOTES: Remove.
11589 * Makefile (files-for-dist): Remove NOTES.
11590 (NOTES): Remove rule.
11591 * README: Don't refer to NOTES.
11592 * manual/creature.texi: Don't include macros.texi.
11593 * manual/intro.texi (creature.texi): Remove comment referring to
11594 NOTES.
11595
40b601fb
JM
11596 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11597 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11598 * configure: Regenerated.
11599 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11600 LIBC_TRY_CC_OPTION.
11601 (libc_cv_as_i686): Likewise.
11602 (libc_cv_cc_avx): Likewise.
11603 (libc_cv_cc_sse2avx): Likewise.
11604 (libc_cv_cc_fma4): Likewise.
11605 (libc_cv_cc_novzeroupper): Likewise.
11606 * sysdeps/i386/configure: Regenerated.
11607
1a4ac776
JM
11608 [BZ #13883]
11609 * sysdeps/i386/fpu/s_cexp.S: Remove.
11610 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11611 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11612 * math/libm-test.inc (cexp_test): Add more tests.
11613 * sysdeps/i386/fpu/libm-test-ulps: Update.
11614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11615
a458e7fe
AM
116162012-03-21 Allan McRae <allan@archlinux.org>
11617
11618 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11619
0cb7efc5
JM
116202012-03-21 Joseph Myers <joseph@codesourcery.com>
11621
11622 [BZ #13871]
11623 * math/w_exp2.c: Do not include <float.h>.
11624 (o_threshold, u_threshold): Remove.
11625 (__exp2): Calculate result before checking finiteness and calling
11626 __kernel_standard.
11627 * math/w_exp2f.c: Likewise.
11628 * math/w_exp2l.c: Likewise.
11629 * math/libm-test.inc (exp2_test): Require overflow exception for
11630 1e6 input.
2460d3aa
JM
11631
11632 [BZ #3866]
11633 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11634 range of signed 64-bit integers before using fistpll. Remove
11635 checks for whether integers fit in mantissa bits.
11636 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11637 the range of signed 32-bit integers before using fistpl. Remove
11638 checks for whether integers fit in mantissa bits.
11639 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11640 (__ieee754_powl): Test for y outside the range of signed 64-bit
11641 integers before using fistpll. Reduce 64-bit values to 63-bit
11642 ones as needed.
11643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11644 divide-by-zero is raised for zero to large negative powers.
11645 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11646 (__ieee754_powl): Test for y outside the range of signed 64-bit
11647 integers before using fistpll. Reduce 64-bit values to 63-bit
11648 ones as needed.
11649 * math/libm-test.inc (pow_test): Add more tests.
11650
eb96ffb0
L
116512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11652
11653 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11654 <stdio-common/_itoa.h>.
11655 * debug/segfault.c: Likewise.
11656 * elf/dl-cache.c: Likewise.
11657 * elf/dl-minimal.c: Likewise.
11658 * elf/dl-misc.c: Likewise.
11659 * elf/dl-sysdep.c: Likewise.
11660 * elf/dl-version.c: Likewise.
11661 * elf/rtld.c: Likewise.
11662 * hurd/hurdsock.c: Likewise.
11663 * hurd/lookup-retry.c: Likewise.
11664 * malloc/malloc.c: Likewise.
11665 * malloc/mtrace.c: Likewise.
11666 * nscd/nscd_getgr_r.c: Likewise.
11667 * nscd/nscd_getpw_r.c: Likewise.
11668 * nscd/nscd_getserv_r.c: Likewise.
11669 * posix/getopt_init.c: Likewise.
11670 * posix/wordexp.c: Likewise.
11671 * stdio-common/_itoa.c: Likewise.
11672 * stdio-common/printf_fphex.c: Likewise.
11673 * stdio-common/vfprintf.c: Likewise.
11674 * string/_strerror.c: Likewise.
11675 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11676 * sysdeps/i386/i686/hp-timing.h: Likewise.
11677 * sysdeps/mach/_strerror.c: Likewise.
11678 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11679 * sysdeps/mach/hurd/sethostid.c: Likewise.
11680 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11681 * sysdeps/mach/xpg-strerror.c: Likewise.
11682 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11683 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11684 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11685 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11686 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11687 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11688 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11689 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11690 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11691 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11692 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11693 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11694 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11695 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11696 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11697 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11698 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11699 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11700 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11701 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11702 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11703
11704 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11705
11706 * stdio-common/_itoa.h: Moved to ...
11707 * sysdeps/generic/_itoa.h: Here.
11708
11709 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11710
11711 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11712 instead of "_itoa.h" and "_itowa.h".
11713 * stdio-common/vfprintf.: Likewise.
11714
d1af992d
L
117152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11716
11717 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11718 <bits/wordsize.h>.
11719 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11720 (__signbit): Likwise.
11721 (llrintf): Likwise.
11722 (llrint): Likwise.
11723
114883e0
L
117242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11725
11726 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11727 __WORDSIZE != 64.
11728
c135cc1b
JM
117292012-03-20 Joseph Myers <joseph@codesourcery.com>
11730
11731 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11732 OVERFLOW_EXCEPTION_OK.
11733 * math/libm-test.inc ("Philosophy"): Update comment about
11734 exception testing.
11735 (OVERFLOW_EXCEPTION): Define.
11736 (OVERFLOW_EXCEPTION_OK): Likewise.
11737 (INVALID_EXCEPTION_OK): Renumber.
11738 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11739 (IGNORE_ZERO_INF_SIGN): Likewise.
11740 (test_exceptions): Handle FE_OVERFLOW.
11741 (exp10_test): Expect overflow exceptions.
11742 (exp2_test): Likewise.
11743 (expm1_test): Likewise.
11744 (nextafter_test): Likewise.
11745 (pow_test): Likewise.
11746 (scalbn_test): Likewise.
11747 (scalbln_test): Likewise.
11748
95443d88
L
117492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11750
11751 * sysdeps/x86_64/bits/atomic.h
11752 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11753 64bit integer.
11754 (atomic_exchange_acq): Likewise.
11755 (__arch_exchange_and_add_body): Likewise.
11756 (__arch_add_body): Likewise.
11757 (atomic_add_negative): Likewise.
11758 (atomic_add_zero): Likewise.
11759
490df6c4
L
117602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11761
c2722551 11762 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11763 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11764
5e52b189
L
117652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11766
11767 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11768 Check __x86_64__ instead of __WORDSIZE.
11769
a9879d4c
L
117702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11771
11772 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11773
5df98260
DM
117742012-03-19 David S. Miller <davem@davemloft.net>
11775
e1497744
DM
11776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11777
5df98260
DM
11778 * sysdeps/sparc/fpu/fenv_private.h: New file.
11779 * sysdeps/sparc/fpu/math_private.h: Use it.
11780 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11781 Remove.
11782 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11783 (libc_feholdexcept_setroundl): Remove.
11784 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11785 Remove.
11786 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11787 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11788
b4c35121
L
117892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11790
11791 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11792 int64_t instead of long int.
11793 (INSERT_WORDS64): Likwise.
11794
56965fd7
L
117952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11796
11797 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11798 _Unwind_GetCFA return to _Unwind_Ptr first.
11799
83d1aec8
JM
118002012-03-19 Joseph Myers <joseph@codesourcery.com>
11801
1897ad44
JM
11802 [BZ #13629]
11803 * math/s_clog.c: Include <float.h>.
11804 (__clog): Scale large or subnormal inputs.
11805 * math/s_clogf.c: Likewise.
11806 * math/s_clogl.c: Likewise.
11807 * math/s_clog10.c: Include <float.h>.
11808 (M_LOG10_2): Define.
11809 (__clog10): Scale large or subnormal inputs.
11810 * math/s_clog10f.c: Likewise.
11811 * math/s_clog10l.c: Likewise.
11812 * math/libm-test.inc (clog_test): Add more tests.
11813 (clog10_test): Likewise.
11814 * sysdeps/i386/fpu/libm-test-ulps: Update.
11815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11816
7726d6a9
JM
11817 [BZ #11451]
11818 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11819 x and y.
11820 * math/libm-test.inc (atan2_test): Add another test.
11821
83d1aec8
JM
11822 * Makerules (common-objdir-compile): Remove.
11823 * sysdeps/unix/Makefile (config-generated): Do not add
11824 $(unix-generated) to variable.
11825 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11826 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11827 Remove rule.
11828 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11829 Likewise.
11830 [generic bits/local_lim.h] (before-compile): Do not append to
11831 variable.
11832 [generic bits/local_lim.h] (common-generated): Likewise.
11833 [generic sys/param.h] (before-compile): Do not append to variable.
11834 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11835 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11836 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11837 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11838 include.
11839 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11840 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11841 [generic sys/param.h] ($(addprefix
11842 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11843 [generic sys/param.h] (common-generated): Do not append to
11844 variable.
11845 [generic sys/param.h] (sysdep_headers): Likewise.
11846 [generic bits/errno.h] (before-compile): Do not append to
11847 variable.
11848 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11849 rule.
11850 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11851 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11852 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11853 [generic bits/errno.h] (common-generated): Do not append to
11854 variable.
11855 [generic bits/ioctls.h] (before-compile): Do not append to
11856 variable.
11857 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11858 rule.
11859 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11860 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11861 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11862 rule.
11863 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11864 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11865 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11866 [generic bits/ioctls.h] (common-generated): Do not append to
11867 variable.
11868 [generic sys/syscall.h] (syscall.h): Remove variable.
11869 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11870 rule.
11871 [generic sys/syscall.h] (before-compile): Do not append to
11872 variable.
11873 [generic sys/syscall.h] (common-generated): Likewise.
11874 * sysdeps/unix/errnos-tmpl.c: Remove file.
11875 * sysdeps/unix/errnos.awk: Likewise.
11876 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11877 * sysdeps/unix/ioctls.awk: Likewise.
11878 * sysdeps/unix/mk-local_lim.c: Likewise.
11879 * sysdeps/unix/snarf-ioctls: Likewise.
11880
4851a949
RH
118812012-03-19 Richard Henderson <rth@twiddle.net>
11882
bd37f2ee
RH
11883 * sysdeps/i386/fpu/fenv_private.h: New file.
11884 * sysdeps/i386/fpu/math_private.h: Use it.
11885 (math_opt_barrier, math_force_eval): Remove.
11886 (libc_feholdexcept_setround_53bit): Remove.
11887 (libc_feupdateenv_53bit): Remove.
11888 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11889 (math_opt_barrier, math_force_eval): Remove.
11890 (libc_feholdexcept): Remove.
11891 (libc_feholdexcept_setround): Remove.
11892 (libc_fetestexcept, libc_fesetenv): Remove.
11893 (libc_feupdateenv_test): Remove.
11894 (libc_feupdateenv, libc_feholdsetround): Remove.
11895 (libc_feresetround): Remove.
11896
d0adc922
RH
11897 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11898 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11899
0fe0f1f8
RH
11900 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11901 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11902 (libc_feupdateenv_testl): New.
11903 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11904 (libc_feupdateenv_testf): New.
11905 (libc_feupdateenv): Use libc_feupdateenv_test.
11906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11907 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11908
eb92c487
RH
11909 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11910 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11911 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11912 (libc_feresetround_noex): New.
11913 (libc_feresetround_noexf): New.
11914 (libc_feresetround_noexl): New.
11915 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11916 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11917 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11918 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11919 SET_RESTORE_ROUND.
11920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11921 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11922 (__cos): Likewise.
11923 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11924 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11925 SET_RESTORE_ROUND_NOEX.
11926 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11927 SET_RESTORE_ROUND_NOEXF.
11928 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11929 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11930 (libc_feholdsetroundf): New.
11931 (libc_feresetround, libc_feresetroundf): New.
11932
7d2e8012
RH
11933 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11934 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11935 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11936
b4dabbb4
RH
11937 * sysdeps/generic/math_private.h: Include <fenv.h>.
11938 (default_libc_feholdexcept): New.
11939 (default_libc_feholdexcept_setround): New.
11940 (default_libc_fesetenv, default_libc_feupdateenv): New.
11941 (libc_feholdexcept): Only define if undefined.
11942 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11943 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11944 (libc_feholdexcept_setroundl): Likewise.
11945 (libc_feholdexcept_setround_53bit): Likewise.
11946 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11947 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11948 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11949 (libc_feupdateenv_53bit): Likewise.
11950 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11951 (libc_feholdexcept): Convert from macro to inline function.
11952 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11953 (libc_fesetenv, libc_feupdateenv): Likewise.
11954
4851a949
RH
11955 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11956 not previously defined.
11957 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11958 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11959 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11960 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11961 * sysdeps/ieee754/flt-32/math_private.h: New file.
11962 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11963 math_private.h below SET_FLOAT_WORD.
11964 (__isnan, __isinf_ns, __finite): Remove.
11965 (__isnanf, __isinf_nsf, __finitef): Remove.
11966
e79d442e
AS
119672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11968
11969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11970
90b80344
DM
119712012-03-17 David S. Miller <davem@davemloft.net>
11972
11973 [BZ #6471]
11974 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11975 for 2.16.
11976
edc21804
DM
119772012-03-16 David S. Miller <davem@davemloft.net>
11978
77e927af
DM
11979 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11980 warnings.
11981
374976dd
DM
11982 [BZ #6471]
11983 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11984 properly.
11985 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11986 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11987 sysdep_routines when subdir is sysvipc.
11988 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11989 __getshmlba helper.
11990
edc21804
DM
11991 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11992
473c3ef3
L
119932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11994
11995 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11996 [__LP64__].
11997
eb0f39b6
L
119982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11999
12000 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12001 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12002 (__lround): Renamed to ...
12003 (__llround): This. Replace long int with long long int.
12004 Define lround functions as aliases of llround functions.
12005 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12006
6b6cd74b
L
120072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12008
12009 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12010 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12011 adresses to uintptr_t. Replace "long int" and "unsigned long
12012 int" with "greg_t" on va_arg.
12013
f1a77b01
L
120142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12015
12016 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12017 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12018
12019 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12020 Move e_machine check before EI_CLASS check. Handle x32
12021 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12022 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12023 SKIP_EM_IA_64 and include
12024 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12025
12026 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12027 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12028 (add_system_dir): New macro.
12029
12030 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12031 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12032
11b90b9f
JM
120332012-03-16 Joseph Myers <joseph@codesourcery.com>
12034
c36e1d23
JM
12035 [BZ #2551]
12036 [BZ #2552]
12037 [BZ #2553]
12038 [BZ #2554]
12039 [BZ #2562]
12040 [BZ #2563]
12041 [BZ #2565]
12042 [BZ #2566]
12043 [BZ #2576]
12044 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12045 (y0): Likewise.
12046 * math/w_j0f.c (j0f): Likewise.
12047 (y0f): Likewise.
12048 * math/w_j0l.c (__j0l): Likewise.
12049 (__y0l): Likewise.
12050 * math/w_j1.c (j1): Likewise.
12051 (y1): Likewise.
12052 * math/w_j1f.c (j1f): Likewise.
12053 (y1f): Likewise.
12054 * math/w_j1l.c (__j1l): Likewise.
12055 (__y1l): Likewise.
12056 * math/w_jn.c (jn): Likewise.
12057 (yn): Likewise.
12058 * math/w_jnf.c (jnf): Likewise.
12059 (ynf): Likewise.
12060 * math/w_jnl.c (__jnl): Likewise.
12061 (__ynl): Likewise.
12062 * math/libm-test.inc (j0_test): Add more tests.
12063 (j1_test): Likewise.
12064 (jn_test): Likewise. Add trailing semicolon to existing test.
12065 (y0_test): Likewise.
12066 (y1_test): Likewise.
12067 * sysdeps/i386/fpu/libm-test-ulps: Update.
12068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12069
11b90b9f
JM
12070 [BZ #13851]
12071 [BZ #13854]
12072 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12073 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12074 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12075 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12076 (__tanl): Set errno for infinite argument.
12077 * sysdeps/i386/fpu/mptan.c: Remove.
12078 * sysdeps/i386/fpu/s_tan.S: Likewise.
12079 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12080 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12081 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12082 * math/libm-test.inc (tan_test): Add more tests and enable more
12083 tests for double and long double.
12084 * sysdeps/i386/fpu/libm-test-ulps: Update.
12085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12086
6a1bd2a1
JK
120872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12088
12089 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12090 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12091
10a803e0
RM
120922012-03-16 Roland McGrath <roland@hack.frob.com>
12093
12094 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12095 * configure.in: Use it for both main tree and add-ons.
12096 * configure: Regenerated.
12097
f196c7f7
L
120982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12099
12100 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12101
8848d99d
JM
121022012-03-16 Joseph Myers <joseph@codesourcery.com>
12103
96cbe7f4
JM
12104 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12105 in comment.
12106
8848d99d
JM
12107 [BZ #13851]
12108 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12109 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12110 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12113 infinite argument.
12114 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12116 != 0 for prec == 2.
12117 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12118 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12119 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12120 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12121 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12122 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12123 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12124 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12125 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12126 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12127 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12128 * math/libm-test.inc (cos_test): Add more tests and enable more
12129 tests for long double.
12130 (sin_test): Likewise.
12131 (sincos_test): Likewise.
12132 * sysdeps/i386/fpu/libm-test-ulps: Update.
12133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12134
dd7f4703
DM
121352012-03-16 David S. Miller <davem@davemloft.net>
12136
12137 * sysdeps/sparc/fpu/math_private.h: New file.
12138
006f1daa
DM
121392012-03-15 David S. Miller <davem@davemloft.net>
12140
c0c83bc8
DM
12141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12142 file.
e6a62e18 12143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12145 file.
e6a62e18
DM
12146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12152 sysdep routines.
12153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12154
88cb87d9
DM
12155 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12156 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12157
006f1daa 12158 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12160 sparc-ifunc.h
006f1daa 12161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12163 Likewise.
12164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12165 Likewise.
006f1daa
DM
12166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12170 Likewise.
006f1daa
DM
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12176 Likewise.
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12178 Likewise.
006f1daa
DM
12179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12185 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12186 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12203
11e0098e
AS
122042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12205
12206 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12207 scaling.
12208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12209
e85b09d0
AJ
122102012-03-15 Andreas Jaeger <aj@suse.de>
12211
12212 [BZ #13852]
12213 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12214 ieee754/flt-32 implementation for sin, cos and sincos.
12215 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12216 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12217 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12218 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12219 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12220 ieee754/flt-32 implementation for tan.
12221
12222 * math/libm-test.inc (cos_test): Enable some large input tests for
12223 float as well
12224 (sin_test): Likewise.
12225 (sincos_test): Likewise.
12226 (tan_test): Add tests for large input.
12227
12228 * sysdeps/i386/fpu/libm-test-ulps: Update.
12229
81c64153
AJ
122302012-03-15 Andreas Jaeger <aj@suse.de>
12231
12232 [BZ #13658]
12233 * math/libm-test.inc (cos_test): Add more test cases.
12234 (sin_test): Likewise.
12235 (sincos_test): Likewise.
12236
7bbfa5c6
AJ
122372012-03-15 Andreas Jaeger <aj@suse.de>
12238
12239 [BZ #13837]
12240 * math/libm-test.inc (cos_test): Add a test case for large input
12241 value.
12242 (sin_test): Likewise.
12243 (sincos_test): Likewise.
12244
122452012-03-15 Andreas Jaeger <aj@suse.de>,
12246 Joseph Myers <joseph@codesourcery.com>
12247
12248 [BZ #13658]
0671f479 12249 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12250 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12251 * sysdeps/i386/fpu/branred.c: Likewise.
12252 * sysdeps/i386/fpu/dosincos.c: Likewise.
12253 * sysdeps/i386/fpu/mpa.c: Likewise.
12254 * sysdeps/i386/fpu/s_cos.S: Likewise.
12255 * sysdeps/i386/fpu/s_sin.S: Likewise.
12256 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12257 * sysdeps/i386/fpu/sincos32.c: Likewise.
12258
12259 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12260 Define.
12261 (libc_feupdateenv_53bit): Define.
12262 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12263 Define.
12264 (libc_feupdateenv_53bit): Define.
12265
12266 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12267 53 bit (without extend i386 double precision).
12268
12269 * math/libm-test.inc (sincos_test): Add tests for large input.
12270 (sin): Likewise.
12271 (cos): Likewise.
12272
12273 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12274
9cad04ea
AS
122752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12276
12277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12278
f7062b9a
DM
122792012-03-15 David S. Miller <davem@davemloft.net>
12280
12281 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12282 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12283 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12284 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12297 file.
f7062b9a 12298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12300 file.
f7062b9a 12301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12303 file.
f7062b9a 12304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12306 file.
f7062b9a
DM
12307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12309 fmin/fmax sysdep routines.
12310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12311
7bd951ff
DM
123122012-03-14 David S. Miller <davem@davemloft.net>
12313
559398ab
DM
12314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12335 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12343 routines.
12344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12345 file.
559398ab 12346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12348 file.
559398ab 12349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12351 file.
559398ab 12352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12354 file.
559398ab 12355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12357 file.
559398ab 12358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12360 file.
12361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12362 file.
12363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12364 file.
12365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12366 file.
12367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12368 New file.
12369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12370 file.
12371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12372 file.
559398ab 12373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12375 file.
559398ab 12376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12378 file.
559398ab 12379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12381 file.
559398ab 12382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12384 VIS3 routines.
559398ab
DM
12385
12386 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12387 New file.
12388
5a1c1e32
DM
12389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12390
eae47a36
DM
12391 * sysdeps/sparc/configure.in: New file.
12392 * sysdeps/sparc/configure: Generate.
12393 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12394 * configure: Regenerate.
12395 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12396 * config.make.in (have-as-vis3): New.
12397 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12398 available use -Av9d instead of -Av9a.
12399 * sysdeps/sparc/sparc64/Makefile: Likewise.
12400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12402 New file.
12403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12404 file.
12405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12406 New file.
12407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12408 file.
eae47a36
DM
12409 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12414
c0c83bc8
DM
12415 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12416 fzeros/fnegs to load 0x80000000 into a float register instead of
12417 using the stack.
7bd951ff
DM
12418 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12419
bd951ccb
JM
124202012-03-14 Joseph Myers <joseph@codesourcery.com>
12421
12422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12423 bits/syscall.h.
12424 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12425 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12426 ($(inst_includedir)/bits/syscall.h): Remove rule.
12427 ($(objpfx)bits/syscall.d): Include instead of
12428 $(objpfx)syscall-list.d.
12429 (generated): Change syscall-list.h and syscall-list.d to
12430 bits/syscall.h and bits/syscall.d.
12431
bb4e6db2
RM
124322012-03-14 Roland McGrath <roland@hack.frob.com>
12433
12434 [BZ #13846]
12435 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12436
aa4a2ae1
JM
124372012-03-14 Joseph Myers <joseph@codesourcery.com>
12438
e456826d
JM
12439 [BZ #13841]
12440 * math/s_csqrt.c: Include <float.h>.
12441 (__csqrt): Scale large or subnormal inputs.
12442 * math/s_csqrtf.c: Likewise.
12443 * math/s_csqrtl.c: Likewise.
12444 * math/libm-test.inc (csqrt_test): Add more tests.
12445 * sysdeps/i386/fpu/libm-test-ulps: Update.
12446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12447
aa4a2ae1
JM
12448 [BZ #13840]
12449 * math/libm-test.inc (hypot_test): Add more tests.
12450
7c10fd35
DM
124512012-03-13 David S. Miller <davem@davemloft.net>
12452
12453 [BZ #13840]
12454 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12455 double-precision for the calculation instead of scaling.
12456
f453b98b
JM
124572012-03-13 Joseph Myers <joseph@codesourcery.com>
12458
12459 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12460 manipulate bits before adding and subtracting TWO52[sx].
12461 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12462 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12463 Likewise.
12464 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12465
09a3453f
DM
124662012-03-13 David S. Miller <davem@davemloft.net>
12467
8e59da90
DM
12468 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12469 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12471 rtld-global-offsets.h
12472 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12473
2a8ab7f2
DM
12474 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12475 large parameters.
12476
10f62770
DM
12477 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12478
5f0bdb18
DM
12479 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12480 'err' in the ifdef scope in which it is actually used.
12481
09a3453f
DM
12482 * nss/nss_db/db-init.c: Include string.h
12483
b4b2eb5e
DM
124842012-03-12 David S. Miller <davem@davemloft.net>
12485
98bb2f1c
DM
12486 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12487 masking out of the most significant byte of random value used.
12488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12489 Fix coding style in previous change.
12490
b4b2eb5e
DM
12491 * sysdeps/unix/sysv/linux/kernel-features.h
12492 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12493 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12494 expression.
12495 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12496 later.
12497
6e226b09
DM
124982012-03-11 David S. Miller <davem@davemloft.net>
12499
a1bcbd40
DM
12500 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12501 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12502 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12503 for 'resultvar' otherwise things get truncated on 64-bit.
12504
cb9d6174
DM
12505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12506 Fix masking out of the most significant byte of random value used.
12507
6e226b09
DM
12508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12509
058c132d
AS
125102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12511
12512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12513
2d2cd515
DM
125142012-03-09 David S. Miller <davem@davemloft.net>
12515
12516 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12517 variables with appropriate CPP guards.
12518 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12519 frame pointer, not the stack pointer. Correct layout comments. Fix test
12520 on resulting framesize and the management of the outregs buffer for pltexit.
12521 Preserve floating point return values across _dl_call_pltexit call.
12522 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12523 framesize and the management of the outregs buffer for pltexit.
12524 Preserve floating point return values across _dl_call_pltexit
12525 call.
12526 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12527 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12528 (print_exit): Fix format string for return register value.
12529
9a07f9d0
JM
125302012-03-10 Joseph Myers <joseph@codesourcery.com>
12531
12532 * sunrpc/Makefile (others): Add rpcgen.
12533 ($(objpfx)rpcgen): Remove special build rule and dependency on
12534 libc.
12535 * sunrpc/rpcgen.c: New file.
12536
547b5e30
PE
125372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12538
c524201a
PE
12539 [BZ #13673]
12540 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12541 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12542 * sysdeps/i386/crti.S: Likewise.
12543 * sysdeps/i386/crtn.S: Likewise.
12544 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12545 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12546 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12547 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12548 * sysdeps/sh/crti.S: Likewise.
12549 * sysdeps/sh/crtn.S: Likewise.
12550 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12551
7b6235f2
PE
12552 [BZ #13673]
12553 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12554 with URL.
12555 * locale/programs/locfile-kw.gperf: Likewise.
12556 * locale/programs/charmap-kw.h: Regenerated.
12557 * locale/programs/locfile-kw.h: Likewise.
12558
547b5e30
PE
12559 [BZ #13673]
12560 * intl/plural.y: Replace FSF snail mail address with URL.
12561 * intl/plural.c: Regenerated.
12562
5f0a5dae
RH
125632012-03-09 Richard Henderson <rth@twiddle.net>
12564
12565 * include/math_private.h: Remove file.
12566 * math/math_private.h: Move file ...
12567 * sysdeps/generic/math_private.h: ... here.
12568
b8c03620
RH
12569 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12570 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12571 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12572
4e234f5d 12573 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12574 and <math_private.h>.
12575 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12576 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12577 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12578 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12579 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12580 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12581 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12583 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12584 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12589 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12590 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12594 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12596 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12597 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12599 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12600 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12601 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12604 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12661 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12663 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12664 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12665 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12666 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12667 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12668 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12669 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12670 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12672 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12674 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12675 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12676 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12677 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12678 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12679 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12680 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12681 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12682 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12683 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12684 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12685 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12686 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12687 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12688 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12689 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12690 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12691 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12692 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12693 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12694 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12695 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12696 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12697 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12698 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12699 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12700 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12702 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12703 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12704 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12705 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12706 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12707 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12709 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12710 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12711 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12712 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12713 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12714 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12715 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12716 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12717 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12718 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12719 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12720 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12721 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12722 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12723 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12724 * sysdeps/ieee754/k_standard.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12766 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12840 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12844 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12845 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12847 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12857 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12862 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12867 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12868 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12869 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12871 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12873 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12874 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12875 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12876 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12881 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12885 * sysdeps/ieee754/s_lib_version.c: Likewise.
12886 * sysdeps/ieee754/s_matherr.c: Likewise.
12887 * sysdeps/ieee754/s_signgam.c: Likewise.
12888 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12889 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12890 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12891 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12892 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12893 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12894 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12895 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12896 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12897 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12898 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12899 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12900 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12901 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12902 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12903 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12904 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12905 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12906 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 12909
1991fa03
JM
129102012-03-09 Joseph Myers <joseph@codesourcery.com>
12911
12912 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12913 * sunrpc/rpc_main.c: Likewise.
12914 * sunrpc/rpc_svcout.c: Likewise.
12915
60d6f5a6
DM
129162012-03-09 David S. Miller <davem@davemloft.net>
12917
12918 * include/math_private.h: New file.
12919
4962050e
JM
129202012-03-09 Joseph Myers <joseph@codesourcery.com>
12921
02a6f887
JM
12922 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12923 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12924 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12925 from <bits/socket_type.h>.
12926 (enum __socket_type): Don't define here.
12927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12929 bits/socket_type.h.
12930
c6e013c1
JM
12931 [BZ #13566]
12932 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12933 checking __USE_GNU.
12934
4962050e
JM
12935 * Makerules ($(inst_includedir)/%.h): New rule.
12936 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12937 (install-others): Remove variable setting.
12938 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12939
38842f45
RH
129402012-03-08 Richard Henderson <rth@twiddle.net>
12941
67bb6da6
RH
12942 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12943 from macro to inline function; merge with the
12944 !__LIBC_INTERNAL_MATH_INLINES version.
12945 (__ieee754_sqrtf): Likewise.
12946
15194b4b
RH
12947 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12948 to inline function.
12949 (__rintf, __floor, __floorf): Likewise.
12950
64e21ede
RH
12951 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12952 macro to inline function.
12953 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12954
38842f45
RH
12955 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12956 not <math/math_private.h>.
12957
c64bf5fe
DM
129582012-03-08 David S. Miller <davem@davemloft.net>
12959
12960 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12961 copyright year.
12962 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12963
82d86f28
TS
129642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12965
12966 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12967 normalization.
12968 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12969 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12970
aea5d727
UD
129712012-03-08 Ulrich Drepper <drepper@gmail.com>
12972
12973 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12974 be defined individually, they must be defined as a block. Define
12975 S for printing a string instead of hidint the different by using a
12976 macro for adding the 'l'.
12977 * stdio-common/tst-fphex-wide.c: Adjust.
12978
70bca0a3
MP
129792012-03-07 Marek Polacek <polacek@redhat.com>
12980
12981 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12982
65b81130
MP
129832012-03-08 Marek Polacek <polacek@redhat.com>
12984
12985 [BZ #13806]
12986 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12987 * stdio-common/tst-fphex.c: Define a few macros to make the
12988 test reusable. Use them.
12989 * stdio-common/tst-fphex-wide.c: New file.
12990
07037eeb
JM
129912012-03-08 Joseph Myers <joseph@codesourcery.com>
12992
a7a93d50
JM
12993 [BZ #6911]
12994 * manual/macros.texi (gnusystems): New macro.
12995 (nongnusystems): Likewise.
12996 (gnulinuxhurdsystems): Likewise.
12997 (gnuhurdsystems): Likewise..
12998 (gnulinuxsystems): Likewise.
12999 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13000 variants of the GNU system, not "GNU system".
13001 * manual/conf.texi: Likewise.
13002 * manual/errno.texi: Likewise. Update example of errno macro
13003 expansion.
13004 * manual/filesys.texi: Likewise.
13005 (getumask): Document as specific to GNU/Hurd.
13006 * manual/install.texi: Likewise. Reword some references to
13007 GNU/Linux.
13008 * manual/intro.texi: Likewise.
13009 * manual/io.texi: Likewise.
13010 (File Name Portability): Detail which constraints are inapplicable
13011 to all GNU systems and which are only inapplicable to GNU/Hurd.
13012 * manual/job.texi: Likewise.
13013 * manual/llio.texi: Likewise.
13014 (O_NOCTTY): Document as present on GNU/Linux.
13015 * manual/maint.texi: Likewise.
13016 * manual/memory.texi: Likewise.
13017 * manual/pattern.texi: Likewise.
13018 * manual/pipe.texi: Likewise.
13019 * manual/process.texi: Likewise.
13020 * manual/resource.texi: Likewise.
13021 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13022 child on GNU/Hurd.
13023 * manual/setjmp.texi: Likewise.
13024 * manual/signal.texi: Likewise.
13025 * manual/startup.texi: Likewise.
13026 * manual/stdio.texi: Likewise.
13027 * manual/terminal.texi: Likewise.
13028 (ONLCR): Document as POSIX.
13029 (OXTABS): Document availability on GNU/Linux as XTABS.
13030 (ONOEOT): Document availability separately from other bits.
13031 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13032 * manual/time.texi: Likewise.
13033 * manual/users.texi: Likewise.
13034 * INSTALL: Regenerated.
13035 * sysdeps/gnu/errlist.c: Regenerated.
13036
07037eeb
JM
13037 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13038 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13039 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13040 puts.
13041 * configure: Regenerated.
13042
d1d3431a
JM
130432012-03-07 Joseph Myers <joseph@codesourcery.com>
13044
af6a1e37
JM
13045 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13046 default includes instead of AC_HEADER_CHECK.
13047 * sysdeps/i386/configure: Regenerated.
13048
d1d3431a
JM
13049 [BZ #10716]
13050 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13051 * math/s_cacoshf.c (__cacoshf): Likewise.
13052 * math/s_cacoshl.c (__cacoshl): Likewise.
13053 * math/s_casinh.c (__casinh): Set signs of result from argument.
13054 * math/s_casinhf.c (__casinhf): Likewise.
13055 * math/s_casinhl.c (__casinhl): Likewise.
13056 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13057 (casinh_test): Add more tests.
13058 * sysdeps/i386/fpu/libm-test-ulps: Update.
13059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13060
482ff4da
UD
130612012-03-07 Ulrich Drepper <drepper@gmail.com>
13062
872fda05
UD
13063 * po/zh_TW.po: Update from translation team.
13064
a4300c7a
UD
13065 * login/Makefile (distribute): Remove variable.
13066 * catgets/Makefile: Likewise.
13067 * mach/Makefile: Likewise.
13068 * malloc/Makefile: Likewise.
13069 * misc/Makefile: Likewise.
13070 * iconv/Makefile: Likewise.
13071 * nscd/Makefile: Likewise.
13072 * hurd/Makefile: Likewise.
13073 * manual/Makefile: Likewise.
13074 * locale/Makefile: Likewise.
13075 * intl/Makefile: Likewise.
13076 * conform/Makefile: Likewise.
13077 * nss/Makefile: Likewise.
13078 * time/Makefile: Likewise.
13079 * soft-fp/Makefile: Likewise.
13080 * dirent/Makefile: Likewise.
13081 * gmon/Makefile: Likewise.
13082 * po/Makefile: Likewise.
13083 * rt/Makefile: Likewise.
13084 * socket/Makefile: Likewise.
13085 * math/Makefile: Likewise.
13086 * signal/Makefile: Likewise.
13087 * debug/Makefile: Likewise.
13088 * elf/Makefile: Likewise.
13089 * timezone/Makefile: Likewise.
13090 * stdlib/Makefile: Likewise.
13091 * iconvdata/Makefile: Likewise.
13092 * sunrpc/Makefile: Likewise.
13093 * io/Makefile: Likewise.
13094 * argp/Makefile: Likewise.
13095 * inet/Makefile: Likewise.
13096 * hesiod/Makefile: Likewise.
13097 * grp/Makefile: Likewise.
13098 * csu/Makefile: Likewise.
13099 * wctype/Makefile: Likewise.
13100 * crypt/Makefile: Likewise.
13101 * libio/Makefile: Likewise.
13102 * string/Makefile: Likewise.
13103 * nis/Makefile: Likewise.
13104 * resolv/Makefile: Likewise.
13105 * stdio-common/Makefile: Likewise.
13106 * wcsmbs/Makefile: Likewise.
13107 * dlfcn/Makefile: Likewise.
13108 * posix/Makefile: Likewise.
13109
3b7c4e74 13110 [BZ #6959]
482ff4da
UD
13111 * timezone/Makefile: Don't install timezone files, just the programs
13112 and scripts.
13113
f72ed77d
UD
131142012-03-06 Ulrich Drepper <drepper@gmail.com>
13115
a000466f
UD
13116 * nss/databases.def: Add missing gshadow entry.
13117
f72ed77d
UD
13118 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13119
a53b7a4e
MP
131202012-03-06 Marek Polacek <polacek@redhat.com>
13121
13122 [BZ #13726]
13123 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13124 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13125 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13126 * stdio-common/tst-long-dbl-fphex.c: New file.
13127
e9258400
DM
131282012-03-06 David S. Miller <davem@davemloft.net>
13129
13130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13131 (set_obp_int): New function.
13132 (get_obp_int): New function.
13133 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13134 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13135 Avoid unused variable warnings on 'val' and use builtin_expect.
13136 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13137 __builtin_expect.
e9258400
DM
13138 (INLINE_CLONE_SYSCALL): Likewise.
13139
3bd2c723
DM
131402012-03-05 David S. Miller <davem@davemloft.net>
13141
13142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13143
bbb78d03
AS
131442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13145
884c5db4
AS
13146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13147
bbb78d03
AS
13148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13149 only for |x| >= 40.
13150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13151
1c9f702a 131522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13153
13154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13155 Replace gettimeofday with __vdso_gettimeofday.
13156
7be16f82
RM
13157 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13158 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13159 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13160
13161 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13162 time with __vdso_time.
13163
ed58a00f
JM
131642012-03-05 Joseph Myers <joseph@codesourcery.com>
13165
13166 * manual/lang.texi (size_t): Note types to which size_t may be
13167 equivalent with the GNU C Library, but do not describe when
13168 differences between them are significant.
13169
30ee4ced
AJ
131702012-03-05 Andreas Jaeger <aj@suse.de>
13171
13172 * sysdeps/i386/fpu/libm-test-ulps: Update.
13173
b7cd39e8
JM
131742012-03-05 Joseph Myers <joseph@codesourcery.com>
13175
13176 [BZ #3976]
13177 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13178 (__ieee754_pow): Save and restore rounding mode and use
13179 round-to-nearest for main computations.
13180 * math/libm-test.inc (pow_test_tonearest): New function.
13181 (pow_test_towardzero): Likewise.
13182 (pow_test_downward): Likewise.
13183 (pow_test_upward): Likewise.
13184 (main): Call the new functions.
13185 * sysdeps/i386/fpu/libm-test-ulps: Update.
13186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13187
13188 [BZ #3976]
13189 * math/libm-test.inc (cosh_test_tonearest): New function.
13190 (cosh_test_towardzero): Likewise.
13191 (cosh_test_downward): Likewise.
13192 (cosh_test_upward): Likewise.
13193 (sinh_test_tonearest): Likewise.
13194 (sinh_test_towardzero): Likewise.
13195 (sinh_test_downward): Likewise.
13196 (sinh_test_upward): Likewise.
13197 (main): Call the new functions.
13198 * sysdeps/i386/fpu/libm-test-ulps: Update.
13199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13200
6c6a98c9
TV
132012012-03-05 Tom de Vries <tom@codesourcery.com>
13202
13203 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13204 default stack guard is set in last bytes.
13205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13206
21bb2d2e 132072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13208
21bb2d2e 13209 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13210
21bb2d2e
AJ
13211 [BZ #13656]
13212 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13213 possibly allocate from heap instead of stack.
13214 * stdio-common/bug-vfprintf-nargs.c: New file.
13215 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13216
c6922934
AS
132172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13218
13219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13220
bc957d53
MP
132212012-03-03 Marek Polacek <polacek@redhat.com>
13222
13223 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13224 * math/math_private.h: Likewise.
13225 * stdlib/tst-strtod.c: Likewise.
13226 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13227 * sysdeps/x86_64/bits/atomic.h: Likewise.
13228
6358490d
DM
132292012-03-02 David S. Miller <davem@davemloft.net>
13230
13231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13235 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13236 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13237 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13238 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13239
01ae168d
RM
132402012-03-02 Roland McGrath <roland@hack.frob.com>
13241
d9a17c07
RM
13242 [BZ #13792]
13243 * manual/examples/README: New file, says the example source files
13244 can be used under GPL>=2.
13245 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13246 line containing just "*/".
13247 * manual/examples/add.c: Add copyright header (GPL>=2).
13248 * manual/examples/argp-ex1.c: Likewise.
13249 * manual/examples/argp-ex2.c: Likewise.
13250 * manual/examples/argp-ex3.c: Likewise.
13251 * manual/examples/argp-ex4.c: Likewise.
13252 * manual/examples/atexit.c: Likewise.
13253 * manual/examples/db.c: Likewise.
13254 * manual/examples/dir.c: Likewise.
13255 * manual/examples/dir2.c: Likewise.
13256 * manual/examples/execinfo.c: Likewise.
13257 * manual/examples/filecli.c: Likewise.
13258 * manual/examples/filesrv.c: Likewise.
13259 * manual/examples/fmtmsgexpl.c: Likewise.
13260 * manual/examples/genpass.c: Likewise.
13261 * manual/examples/inetcli.c: Likewise.
13262 * manual/examples/inetsrv.c: Likewise.
13263 * manual/examples/isockad.c: Likewise.
13264 * manual/examples/longopt.c: Likewise.
13265 * manual/examples/memopen.c: Likewise.
13266 * manual/examples/memstrm.c: Likewise.
13267 * manual/examples/mkfsock.c: Likewise.
13268 * manual/examples/mkisock.c: Likewise.
13269 * manual/examples/mygetpass.c: Likewise.
13270 * manual/examples/pipe.c: Likewise.
13271 * manual/examples/popen.c: Likewise.
13272 * manual/examples/rprintf.c: Likewise.
13273 * manual/examples/search.c: Likewise.
13274 * manual/examples/select.c: Likewise.
13275 * manual/examples/setjmp.c: Likewise.
13276 * manual/examples/sigh1.c: Likewise.
13277 * manual/examples/sigusr.c: Likewise.
13278 * manual/examples/stpcpy.c: Likewise.
13279 * manual/examples/strdupa.c: Likewise.
13280 * manual/examples/strftim.c: Likewise.
13281 * manual/examples/strncat.c: Likewise.
13282 * manual/examples/subopt.c: Likewise.
13283 * manual/examples/swapcontext.c: Likewise.
13284 * manual/examples/termios.c: Likewise.
13285 * manual/examples/testopt.c: Likewise.
13286 * manual/examples/testpass.c: Likewise.
13287 * manual/examples/timeval_subtract.c: Likewise.
13288
01ae168d
RM
13289 [BZ #13792]
13290 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13291 function to ...
13292 * manual/timeval_subtract.c.texi: ... here, new file.
13293
49efa33d
DM
132942012-03-02 David S. Miller <davem@davemloft.net>
13295
13296 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13297
28afd92d
JM
132982012-03-02 Joseph Myers <joseph@codesourcery.com>
13299
804360ed
JM
13300 [BZ #3976]
13301 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13302 (__sin): Save and restore rounding mode and use round-to-nearest
13303 for all computations.
13304 (__cos): Save and restore rounding mode and use round-to-nearest
13305 for all computations.
13306 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13307 <fenv.h>.
13308 (tan): Save and restore rounding mode and use round-to-nearest for
13309 all computations.
13310 * math/libm-test.inc (cos_test_tonearest): New function.
13311 (cos_test_towardzero): Likewise.
13312 (cos_test_downward): Likewise.
13313 (cos_test_upward): Likewise.
13314 (sin_test_tonearest): Likewise.
13315 (sin_test_towardzero): Likewise.
13316 (sin_test_downward): Likewise.
13317 (sin_test_upward): Likewise.
13318 (tan_test_tonearest): Likewise.
13319 (tan_test_towardzero): Likewise.
13320 (tan_test_downward): Likewise.
13321 (tan_test_upward): Likewise.
13322 (main): Call the new functions.
13323 * sysdeps/i386/fpu/libm-test-ulps: Update.
13324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13325
a6d06d7b
JM
13326 [BZ #10135]
13327 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13328 small n, then large n, before computing and testing k+n.
13329 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13331 Likewise.
13332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13333 Likewise.
13334 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13335 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13336 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13337 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13340 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13341 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13342 * math/libm-test.inc (scalbn_test): Add more tests.
13343 (scalbln_test): Likewise.
13344
07e12bb3
JM
13345 * manual/filesys.texi (mode_t): Describe constraints on size and
13346 signedness, not exact equivalence to a particular type.
13347 (ino_t): Likewise.
13348 (ino64_t): Likewise.
13349 (dev_t): Likewise.
13350 (nlink_t): Likewise.
13351 (blkcnt_t): Likewise.
13352 (blkcnt64_t): Likewise.
13353 * manual/llio.texi (off_t): Likewise.
13354
28afd92d
JM
13355 [BZ #3976]
13356 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13357 (__ieee754_exp): Save and restore rounding mode and use
13358 round-to-nearest for all computations.
13359 * math/libm-test.inc (exp_test_tonearest): New function.
13360 (exp_test_towardzero): Likewise.
13361 (exp_test_downward): Likewise.
13362 (exp_test_upward): Likewise.
13363 (main): Call the new functions.
13364 * sysdeps/i386/fpu/libm-test-ulps: Update.
13365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13366
b1eeb65d
CD
133672012-03-01 Chris Demetriou <cgd@google.com>
13368
13369 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13370 have predictable order.
13371
53362a4b
DM
133722012-03-01 David S. Miller <davem@davemloft.net>
13373
3c969083
DM
13374 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13375
759707de
DM
13376 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13377 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13378 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13379 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13380
dfdb8ff2
DM
13381 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13382 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13383 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13385 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13386 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13387 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13388 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13389 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13390
ead89f96
DM
13391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13392
7f66bd07
DM
13393 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13394 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13395 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13396
53362a4b
DM
13397 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13398 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13399 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13400 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13401 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13402 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13404 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13405 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13406 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13407 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13410 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13411 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13413 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13414 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13415 * sysdeps/sparc/elf/configure: Regenerated.
13416
7b1902cb
JM
134172012-03-01 Joseph Myers <joseph@codesourcery.com>
13418
bec039bc
JM
13419 * configure.in (AS, LD): Require binutils 2.20 or later.
13420 * configure: Regenerated.
13421 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13422 as required minimum version.
13423 * INSTALL: Regenerated.
13424
7b1902cb
JM
13425 [BZ #2541]
13426 [BZ #4108]
13427 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13428 before squaring exponent.
13429 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13430 bottom long double and 27 bits of top long double before squaring
13431 exponent.
13432 * math/libm-test.inc (erfc_test): Add more tests.
13433 * sysdeps/i386/fpu/libm-test-ulps: Update.
13434 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13436
f775c276
KT
134372012-03-01 Kai Tietz <ktietz@redhat.com>
13438
13439 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13440 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13441 containing bit-fields.
13442 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13443 * soft-fp/single.h (_FP_UNION_S): Likewise.
13444 * soft-fp/double.h (_FP_UNION_D): Likewise.
13445
5b8a4d4a
JM
134462012-02-29 Joseph Myers <joseph@codesourcery.com>
13447
0bab47b6
JM
13448 [BZ #13786]
13449 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13450 not include ../strcmp.S.
13451 [USE_AS_STRNCASECMP_L]: Likewise.
13452 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13453 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13454 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13455 (__strncasecmp_l_ia32): Define as alias to
13456 __strncasecmp_l_nonascii.
13457
0fcad3e2
JM
13458 [BZ #5794]
13459 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13460 * sysdeps/i386/fpu/libm-test-ulps: Update.
13461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13462
5b8a4d4a
JM
13463 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13465
8fdceb2e
JL
134662012-02-29 Jeff Law <law@redhat.com>
13467
13468 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13469 out of bounds read.
13470
1f393a11
MP
134712012-02-29 Marek Polacek <polacek@redhat.com>
13472
13473 [BZ #13706]
13474 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13475 * elf/Makefile: Add rules to run tst-unused-dep.out.
13476
8847f037
DM
134772012-02-28 David S. Miller <davem@davemloft.net>
13478
13479 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13480 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13481 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13482 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13483 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13484 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13485
169d7f11
JM
134862012-02-29 Joseph Myers <joseph@codesourcery.com>
13487
13488 * math/libm-test.inc (llround_test): Move one test from
13489 lround_test. Use TEST_f_L in moved test.
13490 (lround_test): Move misplaced test to llround_test. Add testcase
13491 from bug 2561.
13492
39adf059
UD
134932012-02-28 Ulrich Drepper <drepper@gmail.com>
13494
13495 * sysdeps/x86_64/fpu/e_expf.S: New file.
13496 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13497
71b5d1c5
SB
134982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13499
13500 [BZ #13637]
13501 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13502 of remain_len that may cause incomplete multi-byte character and
13503 false match.
13504 * posix/bug-regex33.c: New file.
13505 * posix/Makefile (tests): Add bug-regex33.
13506
1f77f049
JM
135072012-02-28 Joseph Myers <joseph@codesourcery.com>
13508
13509 * manual/macros.texi: New file.
13510 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13511 * manual/libc.texinfo: Include macros.texi.
13512 * manual/creatute.texi: Likewise.
13513 * manual/install.texi: Likewise.
13514 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13515 @glibcadj{} in references to the GNU C Library.
13516 * manual/charset.texi: Likewise.
13517 * manual/conf.texi: Likewise.
13518 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13519 when not using those macros.
13520 * manual/creature.texi: Likewise.
13521 * manual/crypt.texi: Likewise.
13522 * manual/errno.texi: Likewise.
13523 * manual/filesys.texi: Likewise.
13524 * manual/header.texi: Likewise.
13525 * manual/install.texi: Likewise.
13526 * manual/intro.texi: Likewise.
13527 * manual/io.texi: Likewise.
13528 * manual/job.texi: Likewise.
13529 * manual/lang.texi: Likewise.
13530 * manual/libc.texiinfo: Likewise.
13531 * manual/llio.texi: Likewise.
13532 * manual/locale.texi: Likewise.
13533 * manual/maint.texi: Likewise.
13534 * manual/math.texi: Likewise.
13535 * manual/memory.texi: Likewise.
13536 * manual/message.texi: Likewise.
13537 * manual/nss.texi: Likewise.
13538 * manual/pattern.texi: Likewise.
13539 * manual/process.texi: Likewise.
13540 * manual/resource.texi: Likewise.
13541 * manual/search.texi: Likewise.
13542 * manual/setjmp.texi: Likewise.
13543 * manual/signal.texi: Likewise.
13544 * manual/socket.texi: Likewise.
13545 * manual/startup.texi: Likewise.
13546 * manual/stdio.texi: Likewise.
13547 * manual/string.texi: Likewise.
13548 * manual/sysinfo.texi: Likewise.
13549 * manual/syslog.texi: Likewise.
13550 * manual/terminal.texi: Likewise.
13551 * manual/time.texi: Likewise.
13552 * manual/users.texi: Likewise.
13553 * INSTALL: Regenerated.
13554 * NOTES: Regenerated.
d40c5d54 13555 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 13556
450bf206
AS
135572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13558
13559 * include/dirent.h: Include <dirstream.h> before
13560 <dirent/dirent.h>.
13561
741a235b
DM
135622012-02-28 David S. Miller <davem@davemloft.net>
13563
13564 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13565 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13566 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13567 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13568
d6b5aa58
DM
135692012-02-27 David S. Miller <davem@davemloft.net>
13570
1aff59a3
DM
13571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13573 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13574 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13575
d6b5aa58
DM
13576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13577 frame pointer instead of stack pointer relative arg slot.
13578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13579 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13580 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13581
433f48bf
CD
135822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13583
13584 [BZ #3992]
13585 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13586
d674b76d
DM
135872012-02-27 David S. Miller <davem@davemloft.net>
13588
13589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13593 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13594 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13595 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13596 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13597
0e7727f7
JM
135982012-02-27 Joseph Myers <joseph@codesourcery.com>
13599
13600 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13601 later. Allow versions 5-9.
43be4ca2 13602 * configure: Regenerated.
0e7727f7
JM
13603 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13604 required minimum version and 4.6 as recommended version. Do not
13605 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13606 * INSTALL: Regenerated.
0e7727f7 13607
a78bc654
DM
136082012-02-27 David S. Miller <davem@davemloft.net>
13609
428d5830
DM
13610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13614 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13615 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13616 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13617 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13618
a78bc654
DM
13619 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13620 manipulate bits before adding and subtracting TWO112[sx].
13621 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13622
4579f81c
RM
136232012-02-27 Roland McGrath <roland@hack.frob.com>
13624
36c8acb4
RM
13625 [BZ #13775]
13626 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13627 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13628 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13629 being in POSIX, because they are in 1003.1-2008.
13630
84ad622b
RM
13631 * rt/tst-aio.c: Include <fcntl.h>.
13632 * rt/tst-aio7.c: Likewise.
13633 * rt/tst-aio64.c: Likewise.
13634
4579f81c
RM
13635 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13636
abd923db
JM
136372012-02-27 Joseph Myers <joseph@codesourcery.com>
13638
13639 * manual/install.texi (--with-headers): Describe headers as
13640 interface headers, not private headers.
13641 (Specific advice for GNU/Linux systems): Describe use of headers
13642 from "make headers_install", not private headers from older
13643 kernels.
43be4ca2 13644 * INSTALL: Regenerated.
abd923db
JM
13645 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13646 Change to 2.6.19.
13647 * sysdeps/unix/sysv/linux/configure: Regenerated.
13648
6664049b
JM
13649 * manual/llio.texi (fclean): Remove documentation.
13650
bb8b6697
JM
13651 * manual/Makefile (libc-texi-generated): New variable. Include
13652 version.texi.
13653 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13654 $(libc-texi-generated), not duplicated list of files.
13655 (version.texi, stamp-version): New rules.
13656 (realclean): Remove $(libc-texi-generated), not individual files
13657 from that list. Do not remove dir-add.texinfo.
13658 * manual/libc.texinfo: Comment out uses of edition numbers and
13659 references to printed manual. Remove last-updated dates.
13660 (EDITION): Comment out.
13661 (ISBN): Likewise.
13662 (VERSION, UPDATED): Remove.
13663 (version.texi): Include.
13664
12e5c3b9
AS
136652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13666
13667 * sysdeps/posix/spawni.c: Include <signal.h>.
13668 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13669 * sysdeps/pthread/aio_fsync.c: Likewise.
13670
4efeffc1 136712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13672
ba63ba08
UD
13673 * conform/Makefile (tests): Run only when not cross-compiling and
13674 when fast-check is not defined.
13675
d94a4670
UD
13676 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13677 * conform/data/limits.h-data: Fixes for POSIX2008.
13678 * conform/run-conformtest.sh: Run all tests.
13679 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13680 headers.
13681 * include/bits/dlfcn.h: Likewise.
13682 * include/langinfo.h: Likewise.
13683 * include/monetary.h: Likewise.
13684 * include/sys/poll.h: Likewise.
13685
13686 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13687 for __USE_GNU.
13688 * posix/spawn.h: Define __need_sigset_t.
13689 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13690 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13691 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13692 to get sigevent_t only.
13693 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13694 only for __USE_GNU.
13695 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13696 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13697 process_vm_writev only for __USE_GNU.
13698 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13699
13700 * conform/Makefile: For now ignore errors from run-conformtest.
13701 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13702 POSIX to avoid namespace pollution. Don't prepend headers.
13703 * conform/data/aio.h-data: Fixes for POSIX testing.
13704 * conform/data/fcntl.h-data: Likewise.
13705 * conform/data/glob.h-data: Likewise.
13706 * conform/data/grp.h-data: Likewise.
13707 * conform/data/pthread.h-data: Likewise.
13708 * conform/data/pwd.h-data: Likewise.
13709 * conform/data/signal.h-data: Likewise.
13710 * conform/data/spawn.h-data: Likewise.
13711 * conform/data/stdio.h-data: Likewise.
13712 * conform/data/stdlib.h-data: Likewise.
13713 * conform/data/stropts.h-data: Likewise.
13714 * conform/data/sys/mman.h-data: Likewise.
13715 * conform/data/sys/stat.h-data: Likewise.
13716 * conform/data/sys/types.h-data: Likewise.
13717 * conform/data/sys/wait.h-data: Likewise.
13718 * conform/data/time.h-data: Likewise.
13719 * conform/data/unistd.h-data: Likewise.
13720 * conform/data/utime.h-data: Likewise.
13721
13722 * io/sys/stat.h: fchmod was always in POSIX.
13723 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13724 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13725 * rt/aio.h: Define __need_timespec before including <time.h>.
13726 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13727 struct. Add forward declaration of pthread_attr_t and use it in
13728 sigevent.
13729 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13730 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13731 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13732 always remove CLK_TCK definition.
13733
c20105c3
AS
137342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13735
13736 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13737
7a270350
UD
137382012-02-25 Ulrich Drepper <drepper@gmail.com>
13739
31341567
UD
13740 * conform/run-conformtest.sh: New file.
13741 * conform/Makefile: Run run-conformtest for tests.
13742 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13743 support.
13744
13745 * conform/data/uchar.h-data: New file.
13746 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13747 * conform/data/arpa/inet.h-data: Likewise.
13748 * conform/data/assert.h-data: Likewise.
13749 * conform/data/complex.h-data: Likewise.
13750 * conform/data/cpio.h-data: Likewise.
13751 * conform/data/ctype.h-data: Likewise.
13752 * conform/data/dirent.h-data: Likewise.
13753 * conform/data/dlfcn.h-data: Likewise.
13754 * conform/data/errno.h-data: Likewise.
13755 * conform/data/fcntl.h-data: Likewise.
13756 * conform/data/float.h-data: Likewise.
13757 * conform/data/fmtmsg.h-data: Likewise.
13758 * conform/data/fnmatch.h-data: Likewise.
13759 * conform/data/ftw.h-data: Likewise.
13760 * conform/data/glob.h-data: Likewise.
13761 * conform/data/grp.h-data: Likewise.
13762 * conform/data/iconv.h-data: Likewise.
13763 * conform/data/inttypes.h-data: Likewise.
13764 * conform/data/langinfo.h-data: Likewise.
13765 * conform/data/libgen.h-data: Likewise.
13766 * conform/data/limits.h-data: Likewise.
13767 * conform/data/locale.h-data: Likewise.
13768 * conform/data/math.h-data: Likewise.
13769 * conform/data/monetary.h-data: Likewise.
13770 * conform/data/mqueue.h-data: Likewise.
13771 * conform/data/ndbm.h-data: Likewise.
13772 * conform/data/net/if.h-data: Likewise.
13773 * conform/data/netdb.h-data: Likewise.
13774 * conform/data/netinet/in.h-data: Likewise.
13775 * conform/data/nl_types.h-data: Likewise.
13776 * conform/data/poll.h-data: Likewise.
13777 * conform/data/pthread.h-data: Likewise.
13778 * conform/data/pwd.h-data: Likewise.
13779 * conform/data/regex.h-data: Likewise.
13780 * conform/data/sched.h-data: Likewise.
13781 * conform/data/search.h-data: Likewise.
13782 * conform/data/semaphore.h-data: Likewise.
13783 * conform/data/setjmp.h-data: Likewise.
13784 * conform/data/signal.h-data: Likewise.
13785 * conform/data/spawn.h-data: Likewise.
13786 * conform/data/stdarg.h-data: Likewise.
13787 * conform/data/stdio.h-data: Likewise.
13788 * conform/data/stdlib.h-data: Likewise.
13789 * conform/data/string.h-data: Likewise.
13790 * conform/data/strings.h-data: Likewise.
13791 * conform/data/stropts.h-data: Likewise.
13792 * conform/data/sys/ipc.h-data: Likewise.
13793 * conform/data/sys/mman.h-data: Likewise.
13794 * conform/data/sys/msg.h-data: Likewise.
13795 * conform/data/sys/resource.h-data: Likewise.
13796 * conform/data/sys/select.h-data: Likewise.
13797 * conform/data/sys/sem.h-data: Likewise.
13798 * conform/data/sys/shm.h-data: Likewise.
13799 * conform/data/sys/socket.h-data: Likewise.
13800 * conform/data/sys/stat.h-data: Likewise.
13801 * conform/data/sys/statvfs.h-data: Likewise.
13802 * conform/data/sys/time.h-data: Likewise.
13803 * conform/data/sys/timeb.h-data: Likewise.
13804 * conform/data/sys/times.h-data: Likewise.
13805 * conform/data/sys/types.h-data: Likewise.
13806 * conform/data/sys/uio.h-data: Likewise.
13807 * conform/data/sys/un.h-data: Likewise.
13808 * conform/data/sys/utsname.h-data: Likewise.
13809 * conform/data/sys/wait.h-data: Likewise.
13810 * conform/data/syslog.h-data: Likewise.
13811 * conform/data/tar.h-data: Likewise.
13812 * conform/data/termios.h-data: Likewise.
13813 * conform/data/utime.h-data: Likewise.
13814 * conform/data/utmpx.h-data: Likewise.
13815 * conform/data/varargs.h-data: Likewise.
13816 * conform/data/wchar.h-data: Likewise.
13817 * conform/data/wctype.h-data: Likewise.
13818 * conform/data/wordexp.h-data: Likewise.
13819
13820 * include/stropts.h: New file.
13821 * include/uchar.h: New file.
13822 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13823 * include/assert.h: Likewise.
13824 * include/ctype.h: Likewise.
13825 * include/dirent.h: Likewise.
13826 * include/dlfcn.h: Likewise.
13827 * include/fcntl.h: Likewise.
13828 * include/fnmatch.h: Likewise.
13829 * include/glob.h: Likewise.
13830 * include/grp.h: Likewise.
13831 * include/libio.h: Likewise.
13832 * include/locale.h: Likewise.
13833 * include/math.h: Likewise.
13834 * include/net/if.h: Likewise.
13835 * include/netdb.h: Likewise.
13836 * include/netinet/in.h: Likewise.
13837 * include/pthread.h: Likewise.
13838 * include/pwd.h: Likewise.
13839 * include/regex.h: Likewise.
13840 * include/sched.h: Likewise.
13841 * include/search.h: Likewise.
13842 * include/setjmp.h: Likewise.
13843 * include/signal.h: Likewise.
13844 * include/stdio.h: Likewise.
13845 * include/stdlib.h: Likewise.
13846 * include/string.h: Likewise.
13847 * include/sys/cdefs.h: Likewise.
13848 * include/sys/mman.h: Likewise.
13849 * include/sys/msg.h: Likewise.
13850 * include/sys/resource.h: Likewise.
13851 * include/sys/select.h: Likewise.
13852 * include/sys/socket.h: Likewise.
13853 * include/sys/stat.h: Likewise.
13854 * include/sys/statvfs.h: Likewise.
13855 * include/sys/time.h: Likewise.
13856 * include/sys/times.h: Likewise.
13857 * include/sys/uio.h: Likewise.
13858 * include/sys/utsname.h: Likewise.
13859 * include/sys/wait.h: Likewise.
13860 * include/termios.h: Likewise.
13861 * include/time.h: Likewise.
13862 * include/ulimit.h: Likewise.
13863 * include/unistd.h: Likewise.
13864 * include/utime.h: Likewise.
13865 * include/wchar.h: Likewise.
13866 * include/wctype.h: Likewise.
13867 * include/wordexp.h: Likewise.
13868
13869 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13870
7a270350
UD
13871 * time/time.h: TIME_UTC must be a macro.
13872 Make timespec_get available for ISO C11 only as well.
13873
7724defc
UD
138742012-02-24 Ulrich Drepper <drepper@gmail.com>
13875
13876 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13877 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13878
6b1d1d46
JM
138792012-02-24 Joseph Myers <joseph@codesourcery.com>
13880
13881 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 13882
0f8bbd69
JM
138832012-02-24 Joseph Myers <joseph@codesourcery.com>
13884
13885 * manual/texinfo.tex: Update to version 2012-01-19.16.
13886
66ab80bc
JM
138872012-02-24 Joseph Myers <joseph@codesourcery.com>
13888
13889 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13890
74981cc5
RM
138912012-02-24 Roland McGrath <roland@hack.frob.com>
13892
ee968201
RM
13893 [BZ #13738]
13894 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13895 * manual/fdl-1.3.texi: New file.
13896 * manual/fdl-1.1.texi: File removed.
13897
74981cc5
RM
13898 [BZ #13738]
13899 * manual/libc.texinfo (FDL_VERSION): New @set.
13900 Use it for mention of FDL in cover text.
13901 (Documentation License): Use it in @include file name.
13902
7bb764bc
JM
139032012-02-22 Joseph Myers <joseph@codesourcery.com>
13904 Roland McGrath <roland@hack.frob.com>
13905
13906 [BZ #5461]
13907 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13908 not LONG_LONG_MAX and LONG_LONG_MIN.
13909 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13910 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13911 name.
13912 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13913
6cbeae47
JM
139142012-02-22 Joseph Myers <joseph@codesourcery.com>
13915
13916 [BZ #2547]
13917 [BZ #11365]
13918 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13919 manipulate bits before adding and subtracting TWO23[sx].
13920 * math/libm-test.inc (nearbyint_test): Add more tests.
13921
fe45ce09
JM
139222012-02-22 Joseph Myers <joseph@codesourcery.com>
13923
13924 [BZ #2548]
13925 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13926 bits before adding and subtracting TWO23[sx].
13927 * math/libm-test.inc (rint_test): Add more tests.
13928 (rint_test_tonearest): Likewise.
13929 (rint_test_towardzero): Likewise.
13930 (rint_test_downward): Likewise.
13931 (rint_test_upward: Likewise.
13932
ff3b3d82
JM
139332012-02-22 Joseph Myers <joseph@codesourcery.com>
13934
13935 [BZ #10110]
13936 * include/stdc-predef.h: New file. Extracted from features.h.
13937 * include/features.h: Include stdc-predef.h.
13938 * Makefile (headers): Add stdc-predef.h.
13939 * CONFORMANCE (Compiler limitations): Update.
13940
ef0aab35
JM
139412012-02-22 Joseph Myers <joseph@codesourcery.com>
13942
13943 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13944
58639409
DM
139452012-02-21 David S. Miller <davem@davemloft.net>
13946
13947 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13948 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13949
c0e70b25
DM
139502012-02-20 David S. Miller <davem@davemloft.net>
13951
13952 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13953 using a normal save/restore sequence, rather than allocating a
13954 dummy stack frame just to store a frame pointer and restore.
13955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13956
fb06851d
JM
139572012-02-21 Joseph Myers <joseph@codesourcery.com>
13958
13959 * manual/install.texi: Fix stray word in line-wrapped comment.
13960
7a8b71c3
DM
139612012-02-20 David S. Miller <davem@davemloft.net>
13962
d510c123
DM
13963 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13964 both binutils and gcc support GOTDATA.
13965
0722d7c2
DM
13966 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13967 "rd %pc" in the PIC register setup sequences.
13968
3d2b3019
DM
13969 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13970 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13971 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13972 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13973 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13974 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13975 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13976 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13978 (SYSCALL_ERROR_HANDLER): Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13980 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13982 (SYSCALL_ERROR_HANDLER): Likewise.
13983
c80098a9
DM
13984 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13985 (HAVE_GCC_GOTDATA): New.
13986 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13987 relocation support in both binutils and gcc.
13988 * sysdeps/sparc/elf/configure: Regenerate.
13989
3a2545a0
DM
13990 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13991 * sysdeps/sparc/sparc32/elf/configure: Delete.
13992 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13993 * sysdeps/sparc/sparc64/elf/configure: Delete.
13994 * sysdeps/sparc/elf/configure.in: New file.
13995 * sysdeps/sparc/elf/configure: Generate.
13996
7a8b71c3
DM
13997 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13998 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13999 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14000 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14001 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14002
f1e86fca
JM
140032012-02-21 Joseph Myers <joseph@codesourcery.com>
14004
14005 * manual/install.texi: Do not mention specific glibc version
14006 numbers.
14007 * manual/libc.texinfo (VERSION, UPDATED): Update.
14008 (@copying): Use @copyright{} and range of years.
14009
0e7dfaef
JM
140102012-02-21 Joseph Myers <joseph@codesourcery.com>
14011
14012 [BZ #13695]
14013 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14014 [crti.S not in sysdirs] (generated): Do not append.
14015 [crti.S not in sysdirs] (omit-deps): Likewise.
14016 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14017 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14018 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14019 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14020 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14021 Likewise.
14022 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14023 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14024 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14025 * csu/defs.awk: Remove file.
14026 * sysdeps/generic/initfini.c: Likewise.
14027 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14028 variable.
14029 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14030 Likewise.
14031
599af3ca
JM
140322012-02-20 Joseph Myers <joseph@codesourcery.com>
14033
14034 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14035 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14036 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14037 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14038 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14039 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14040 <bits/epoll.h>.
14041 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14042 (__EPOLL_PACKED): Define to empty if not defined by
14043 <bits/epoll.h>.
14044 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14046 bits/epoll.h.
14047
0e499750
JM
140482012-02-20 Joseph Myers <joseph@codesourcery.com>
14049
14050 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14051 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14052 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14053 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14054 <bits/timerfd.h>.
14055 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14057 bits/timerfd.h.
14058
5ad91f6e
JM
140592012-02-20 Joseph Myers <joseph@codesourcery.com>
14060
14061 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14062 in C locale.
14063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14064 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14065 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14067
06b99b02
AJ
140682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14069
14070 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14071 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14072
7638c0fd
AS
140732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14074
14075 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14076 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14077 defined.
14078 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14079 Likewise.
14080 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14081 entry for 2.16.
14082
92221550
AJ
140832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14084
14085 * math/w_acos.c: Use non-signaling floating-point comparisons.
14086 * math/w_acosf.c: Likewise.
14087 * math/w_acosh.c: Likewise.
14088 * math/w_acoshf.c: Likewise.
14089 * math/w_acoshl.c: Likewise.
14090 * math/w_acosl.c: Likewise.
14091 * math/w_asin.c: Likewise.
14092 * math/w_asinf.c: Likewise.
14093 * math/w_asinl.c: Likewise.
14094 * math/w_atanh.c: Likewise.
14095 * math/w_atanhf.c: Likewise.
14096 * math/w_atanhl.c: Likewise.
14097 * math/w_exp2.c: Likewise.
14098 * math/w_exp2f.c: Likewise.
14099 * math/w_exp2l.c: Likewise.
14100 * math/w_j0.c: Likewise.
14101 * math/w_j0f.c: Likewise.
14102 * math/w_j0l.c: Likewise.
14103 * math/w_j1.c: Likewise.
14104 * math/w_j1f.c: Likewise.
14105 * math/w_j1l.c: Likewise.
14106 * math/w_jn.c: Likewise.
14107 * math/w_jnf.c: Likewise.
14108 * math/w_log.c: Likewise.
14109 * math/w_log10.c: Likewise.
14110 * math/w_log10f.c: Likewise.
14111 * math/w_log10l.c: Likewise.
14112 * math/w_log2.c: Likewise.
14113 * math/w_log2f.c: Likewise.
14114 * math/w_log2l.c: Likewise.
14115 * math/w_logf.c: Likewise.
14116 * math/w_logl.c: Likewise.
14117 * math/w_sqrt.c: Likewise.
14118 * math/w_sqrtf.c: Likewise.
14119 * math/w_sqrtl.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14122 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14123 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14124 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14125
ebaf36eb
JM
141262012-02-19 Joseph Myers <joseph@codesourcery.com>
14127
14128 [BZ #9739]
14129 * manual/string.texi (strnlen): Use correct parameter name in
14130 equivalent expression.
14131
71c254a6
JM
141322012-02-19 Joseph Myers <joseph@codesourcery.com>
14133
14134 [BZ #11174]
14135 * manual/users.texi (seteuid): Consistently use neweuid for
14136 argument name.
14137
16d2c631
JM
141382012-02-19 Joseph Myers <joseph@codesourcery.com>
14139
14140 [BZ #13704]
14141 * manual/nss.texi (Services in the NSS configuration): Correct
14142 list of services in example configuration file.
14143
cd837b09
NB
141442012-02-19 Nick Bowler <nbowler@draconx.ca>
14145
14146 [BZ #11322]
14147 * manual/arith.texi: Remove statements about negative zero
14148 behaving identically to zero.
14149
02c4bbad
JM
141502012-02-18 Joseph Myers <joseph@codesourcery.com>
14151
14152 [BZ #5993]
14153 * manual/install.texi: Do not document upgrading from libc5.
14154
366842e7
JM
141552012-02-18 Joseph Myers <joseph@codesourcery.com>
14156
14157 [BZ #4596]
14158 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14159
dd54084d
DM
141602012-02-18 David S. Miller <davem@davemloft.net>
14161
14162 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14163 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14164 %o7 across the call.
14165 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14166 instead.
14167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14168 SETUP_PIC_REG_LEAF.
14169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14170 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14171 * sysdeps/sparc/crtn.S: Likewise.
14172
2bcc53a3
UD
141732012-02-17 Ulrich Drepper <drepper@gmail.com>
14174
14175 * aout/Makefile: Remove.
14176
09c093b5
RK
141772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14178
14179 [BZ #13058]
14180 * manual/examples/argp-ex1.c (main): Format definition in GNU
14181 style.
14182 * manual/examples/argp-ex2.c (main): Likewise.
14183 * manual/examples/argp-ex3.c (main): Likewise.
14184 * manual/examples/argp-ex4.c (main): Likewise.
14185 * manual/examples/longopt.c (main): Use new-style prototype
14186 definition.
14187 * manual/examples/strncat.c (main): Specify return type and use
14188 (void) for arguments.
14189 * manual/examples/subopt.c (main): Use char **argv argument.
14190
2ee633a2
JM
141912012-02-17 Joseph Myers <joseph@codesourcery.com>
14192
14193 [BZ #5077]
14194 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14195 rounding modes.
14196
0520adde
FB
141972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14198
14199 [BZ #6907]
14200 * manual/string.texi (strchr): Change when strchrnul is
14201 recommended.
14202
3f4081cd
DGM
142032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14204
14205 [BZ #174]
14206 * manual/locale.texi (setlocale): Document LOCPATH.
14207
d1b10e78
JM
142082012-02-17 Joseph Myers <joseph@codesourcery.com>
14209
14210 [BZ #10210]
14211 * manual/process.texi (execle): Move @dots{} before last argument.
14212
79c6869c
PB
142132012-02-17 Paul Bolle <pebolle@tiscali.nl>
14214
14215 [BZ #12047]
14216 * manual/charset.texi (Generic Charset Conversion): Fix typo
14217 (LC_TYPE -> LC_CTYPE).
14218
cc6e48bc
NB
142192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14220
14221 [BZ #5805]
14222 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14223 (scalbnf): Likewise.
14224 (scalbnl): Likewise.
14225 (scalbln): Likewise.
14226 (scalblnf): Likewise.
14227 (scalblnl): Likewise.
14228 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14229 (vwarnx): Likewise.
14230 (verr): Likewise.
14231 (verrx): Likewise.
14232 * manual/filesys.texi (telldir): Use braces around return type.
14233 * manual/llio.texi (mmap): Add space after comma.
14234 (mmap64): Likewise.
14235 * manual/math.texi (jn): Use @var{} on parameter names.
14236 (jnf): Likewise.
14237 (jnl): Likewise.
14238 (yn): Likewise.
14239 (ynf): Likewise.
14240 (ynl): Likewise.
14241 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14242 line.
14243 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14244 "...".
14245 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14246 (sched_get_priority_max): Likewise.
14247 * manual/signal.texi (sigvec): Add space after comma.
14248 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14249 names.
14250 (if_indextoname): Likewise.
14251 (if_freenameindex): Likewise.
14252 (sendto): Use ',' instead of '.' in prototype.
14253 * manual/startup.texi (syscall): Use @dots{} instead of literal
14254 "...".
14255 * manual/stdio.texi (__fpending): Separate initial words of
14256 paragraph from @deftypefun line.
14257 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14258 "...".
14259 (vsyslog): Use @var{} on parameter names.
14260 * manual/terminal.texi (stty): Use @var{} on parameter names.
14261 * manual/users.texi (getutmp): Use @var{} on parameter names.
14262 (getutmpx): Likewise.
14263
5b23062f
JM
142642012-02-17 Joseph Myers <joseph@codesourcery.com>
14265
14266 [BZ #6884]
14267 * manual/stdio.texi (fopen): Fix typos in description of
14268 ",ccs=STRING".
14269
8dee4833
AJ
142702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14271
14272 [BZ #4026]
14273 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14274 get clock_id definition.
14275
9078ce93
TS
142762012-02-17 Thomas Schwinge <thomas@schwinge.name>
14277
14278 [BZ #4822]
14279 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14280 (madvise): Cast every argument to void on its own.
14281
3835c55f
JM
142822012-02-17 Joseph Myers <joseph@codesourcery.com>
14283
14284 [BZ #9902]
14285 * manual/startup.texi (Exit Status): Fix typo.
14286
35c47e37
JM
142872012-02-17 Joseph Myers <joseph@codesourcery.com>
14288
14289 [BZ #10140]
14290 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14291 * manual/examples/argp-ex2.c: Likewise.
14292 * manual/examples/argp-ex3.c: Likewise.
14293
e3b69ca7
RH
142942012-02-16 Richard Henderson <rth@redhat.com>
14295
14296 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14297 * sysdeps/s390/s390-32/initfini.c: Remove.
14298 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14299 * sysdeps/s390/s390-64/initfini.c: Remove.
14300
df83af67
KK
143012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14302
14303 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14304 compiler output for sysdeps/generic/initfini.c.
14305 * sysdeps/sh/elf/initfini.c: Remove file.
14306
f63f3380
DM
143072012-02-16 David S. Miller <davem@davemloft.net>
14308
fb59b3a4
DM
14309 [BZ #11494]
14310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14311
f63f3380
DM
14312 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14313 * sysdeps/sparc/crti.S: New file.
14314 * sysdeps/sparc/crtn.S: New file.
14315 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14316 * sysdeps/sparc/sparc64/Makefile: Likewise.
14317
df6a4a4a
MF
143182012-02-15 Mike Frysinger <vapier@gentoo.org>
14319
6dd8f3dc 14320 [BZ #3335]
df6a4a4a
MF
14321 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14322
1cac7236
RM
143232012-02-15 Roland McGrath <roland@hack.frob.com>
14324
d2c736f8
RM
14325 [BZ #4822]
14326 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14327
1cac7236
RM
14328 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14329 (write, read, close): Likewise.
14330 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14331
8e475601
JM
143322012-02-15 Joseph Myers <joseph@codesourcery.com>
14333
14334 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14335 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14336 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14337 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14338 <bits/signalfd.h>.
14339 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14341 bits/signalfd.h.
14342
ed656b40
MP
143432012-02-14 Marek Polacek <polacek@redhat.com>
14344
14345 * sysdeps/x86_64/crti.S: New file.
14346 * sysdeps/x86_64/crtn.S: New file.
14347 * sysdeps/x86_64/elf/initfini.c: Remove file.
14348
2a979d3a
JM
143492012-02-13 Joseph Myers <joseph@codesourcery.com>
14350
14351 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14352 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14353 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14354 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14355 <bits/inotify.h>.
14356 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14358 bits/inotify.h.
14359
2a418ac3
JM
143602012-02-13 Joseph Myers <joseph@codesourcery.com>
14361
14362 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14363 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14364 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14365 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14366 <bits/eventfd.h>.
14367 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14369 bits/eventfd.h.
14370
fb779be7
TS
143712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14372
e19e83c5
RM
14373 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14374 __feraiseexcept instead of feraiseexcept.
7c35ffed 14375
fb779be7
TS
14376 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14377 nanosleep invocations.
14378 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14379 strings, and add error checking for a nanosleep invocations.
14380
59ba27a6
PE
143812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14382
14383 Replace FSF snail mail address with URLs, as per GNU coding standards.
14384 Most of the snail mail addresses were wrong anyway, and omitting
14385 them makes the source code easier to maintain. Almost all of the
14386 changes are to license notices and to locale LC_IDENTIFICATION
14387 addresses, except for this one:
14388 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14389 not its snail mail address.
14390
57b957eb
RH
143912012-02-09 Richard Henderson <rth@twiddle.net>
14392
af850b1c
RH
14393 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14394 of kernel-features.h.
14395
57b957eb
RH
14396 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14397
6b73181a
MP
143982012-02-08 Marek Polacek <polacek@redhat.com>
14399
14400 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14401 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14402 * sysdeps/gnu/_G_config.h: Likewise.
14403 * sysdeps/generic/_G_config.h: Likewise.
14404
26ecc33a
AS
144052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14406
6c6dbc63
AS
14407 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14408 tests.
14409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14410
e216c012
AS
14411 * sysdeps/powerpc/powerpc32/crti.S: New file.
14412 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14413 * sysdeps/powerpc/powerpc64/crti.S: New file.
14414 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14415
26ecc33a
AS
14416 * Makeconfig (have-initfini): Don't set.
14417 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14418 * configure.in (nopic_initfini): Don't substitute.
14419 * config.h.in (HAVE_INITFINI): Don't #undef.
14420 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14421 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14422
3add8e13
JM
144232012-02-08 Joseph Myers <joseph@codesourcery.com>
14424
14425 Support crti.S and crtn.S provided directly by architectures.
14426 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14427 [crti.S in sysdirs] (omit-deps): Likewise.
14428 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14429 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14430 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14431 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14432 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14433 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14434 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14435 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14436 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14437 compiler output for sysdeps/generic/initfini.c.
14438 * sysdeps/i386/elf/Makefile: Remove file.
14439 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14440
a22f12b4
MP
144412012-02-07 Marek Polacek <polacek@redhat.com>
14442
14443 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14444 * sysdeps/gnu/_G_config.h: Likewise.
14445 * sysdeps/mach/hurd/_G_config.h: Likewise.
14446
148cf100
MP
144472012-02-07 Marek Polacek <polacek@redhat.com>
14448
14449 * math/Makefile (tests): Add tst-CMPLX2.
14450 * math/tst-CMPLX2.c: New file.
14451
cfdc0dd7
AS
144522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14453
84ba42c4
AS
14454 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14455
cfdc0dd7
AS
14456 * math/libm-test.inc (jn_test): Add missing L suffix.
14457
622c86f4
MP
144582012-02-06 Marek Polacek <polacek@redhat.com>
14459
14460 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14461 * sysdeps/i386/fpu/e_powf.S: Likewise.
14462 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14463 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14464 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14465 * sysdeps/i386/fpu/e_pow.S: Likewise.
14466 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14467 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14468 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14469 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14470 * sysdeps/i386/fpu/e_log2.S: Likewise.
14471 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14472 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14473 * sysdeps/i386/fpu/e_powl.S: Likewise.
14474 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14475 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14476 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14477 * sysdeps/i386/fpu/e_logl.S: Likewise.
14478 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14479 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14480 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14481 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14482 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14483 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14484 * sysdeps/i386/fpu/e_log.S: Likewise.
14485 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14486 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14487 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14488 * sysdeps/i386/fpu/e_logf.S: Likewise.
14489 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14490 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14491 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14492 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14493 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14494 * sysdeps/i386/fpu/e_log10.S: Likewise.
14495 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14496 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14497 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14498 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14499 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14500 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14501 * sysdeps/i386/asm-syntax.h: Likewise.
14502 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14503 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14504 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14505 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14506 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14507 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14508 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14509 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14510 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14511 * sysdeps/powerpc/sysdep.h: Likewise.
14512 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14513 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14514
d4a54ac6
JM
145152012-02-06 Joseph Myers <joseph@codesourcery.com>
14516
14517 [BZ #411]
14518 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14519
314054ea
JM
145202012-02-06 Joseph Myers <joseph@codesourcery.com>
14521
14522 * sysdeps/i386/sysdep.h: Include <features.h>.
14523 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14524 version.
14525
d8e0ca50
JM
145262012-02-05 Joseph Myers <joseph@codesourcery.com>
14527
14528 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14529 Define.
14530 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14531 LOAD_PIC_REG_STR.
14532
b1da7dd9
JM
145332012-02-03 Joseph Myers <joseph@codesourcery.com>
14534
14535 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14536 (SETUP_PIC_REG): Use GET_PC_THUNK.
14537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14538 macro.
14539
9a1d9254
JM
145402012-02-03 Joseph Myers <joseph@codesourcery.com>
14541
14542 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14543 for non-PIC compilation.
14544 (SETUP_PIC_REG): Add .p2align directive.
14545 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14546 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14547 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14548 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14549 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14550 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14551 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14553 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14554 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14555 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14556 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14557 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14558 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14559 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14560 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14561 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14562 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14563 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14564 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14565 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14567 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14568 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14569 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14571 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14572 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14573 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14574 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14575 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14576 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14577 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14578 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14579 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14580 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14581 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14582 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14583 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14584 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14585 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14586
65dc3b75
JM
145872012-02-03 Joseph Myers <joseph@codesourcery.com>
14588
14589 * math/tst-CMPLX.c: Include <stdio.h>.
14590
d55bf177
JM
145912012-01-31 Joseph Myers <joseph@codesourcery.com>
14592
14593 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14594 float.
14595 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14596 * sysdeps/sparc/bits/mathdef.h: Likewise.
14597
69db4f8f
MP
145982012-01-31 Marek Polacek <polacek@redhat.com>
14599
14600 * libio/libio.h: Don't define _PARAMS.
14601 * locale/programs/config.h: Don't define PARAMS.
14602 * stdlib/strtol_l.c: Likewise.
14603 (__strtol_l): Remove PARAMS from the prototype.
14604
41b81892
UD
146052012-01-31 Ulrich Drepper <drepper@gmail.com>
14606
3b49edc0
UD
14607 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14608 names. Just use the correct names. Remove unnecessary wrapper
14609 functions.
14610 * malloc/arena.c: Likewise.
14611 * malloc/hooks.c: Likewise.
14612
41b81892
UD
14613 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14614 ARENA_TEST says not to. Simplify test for creation of a new arena.
14615 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14616
27a25b6e
UD
146172012-01-30 Ulrich Drepper <drepper@gmail.com>
14618
14619 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14620 into tail calls.
14621 (update_get_addr): New function.
14622 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14623 GET_ADDR_MODULE parameter.
14624
c8a89e7d
JM
146252012-01-30 Joseph Myers <joseph@codesourcery.com>
14626
14627 * crypt/cert.c: Remove __STDC__ conditionals.
14628 * crypt/crypt-entry.c: Likewise.
14629 * crypt/crypt_util.c: Likewise.
14630 * libio/filedoalloc.c: Likewise.
14631 * libio/fileops.c: Likewise.
14632 * libio/genops.c: Likewise.
14633 * libio/iofclose.c: Likewise.
14634 * libio/iofdopen.c: Likewise.
14635 * libio/iofopen.c: Likewise.
14636 * libio/iofopen64.c: Likewise.
14637 * libio/iogetdelim.c: Likewise.
14638 * libio/iopopen.c: Likewise.
14639 * libio/obprintf.c: Likewise.
14640 * libio/oldfileops.c: Likewise.
14641 * libio/oldiofclose.c: Likewise.
14642 * libio/oldiofdopen.c: Likewise.
14643 * libio/oldiofopen.c: Likewise.
14644 * libio/oldiopopen.c: Likewise.
14645 * libio/wfiledoalloc.c: Likewise.
14646 * libio/wgenops.c: Likewise.
14647 * locale/programs/xmalloc.c: Likewise.
14648 * misc/syslog.c: Likewise.
14649 * stdio-common/xbug.c: Likewise.
14650 * string/memchr.c: Likewise.
14651 * string/memcmp.c: Likewise.
14652 * string/memrchr.c: Likewise.
14653 * string/rawmemchr.c: Likewise.
14654 * sysdeps/posix/getcwd.c: Likewise.
14655 * time/strftime_l.c: Likewise.
14656
3b100462
JM
146572012-01-30 Joseph Myers <joseph@codesourcery.com>
14658
14659 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14660 * config.make.in (config-cflags-sse2avx): Define.
14661 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14662 Fix typo.
14663
607998af
CM
146642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14665
14666 * scripts/config.guess: Update from upstream config git repository.
14667 * scripts/config.sub: Likewise.
14668
3601428f
CM
146692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14670
3ac8b282
CM
14671 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14672 (EM_NUM): Update.
14673 (R_TILEPRO_*, R_TILEGX_*): New macros.
14674
e034841e
CM
14675 * scripts/firstversions.awk: Fix bug in version range handling.
14676
540d7568
CM
14677 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14678
3601428f
CM
14679 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14680
463de862
CM
14681 * include/sys/epoll.h: New file.
14682 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14683 libc_hidden_def.
14684
73139a76
UD
146852012-01-28 Ulrich Drepper <drepper@gmail.com>
14686
96bc5b45
UD
14687 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14688 Avoid unnecessary __WORDSIZE == 64 test.
14689 (fmaxf): Use VEX format if possible.
14690 (fmax): Likewise.
14691 (fminf): Likewise.
14692 (fmin): Likewise.
14693
56f6f6a2
UD
14694 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14695 * math/math_private.h: Remove libc_fegetround* and
14696 libc_fesetround*.
14697 * sysdeps/i386/configure.in: Check for -msse2avx.
14698 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14699 also if SSE2AVX is defined.
14700 Remove libc_fegetround* and libc_fesetround*.
14701 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14702 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14704 of HAS_YMM_USABLE.
14705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14710
73139a76
UD
14711 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14712
d73f93a4
AZ
147132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14714
14715 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14716 size is not set.
14717 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14718
6ee65ed6
UD
147192012-01-27 Ulrich Drepper <drepper@gmail.com>
14720
14721 [BZ #13618]
14722 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14723 relocation.
14724 * Makeconfig (libm): Define.
14725 * elf/Makefile: Add rules to build and run tst-relsort1.
14726 * elf/tst-relsort1.c: New file.
14727 * elf/tst-relsort1mod1.c: New file.
14728 * elf/tst-relsort1mod2.c: New file.
14729
8db21882
JM
147302012-01-27 Joseph Myers <joseph@codesourcery.com>
14731
14732 * math/s_ldexp.c: Remove __STDC__ conditionals.
14733 * math/s_ldexpf.c: Likewise.
14734 * math/s_ldexpl.c: Likewise.
14735 * math/s_nextafter.c: Likewise.
14736 * math/s_nexttowardf.c: Likewise.
14737 * math/s_significand.c: Likewise.
14738 * math/s_significandf.c: Likewise.
14739 * math/s_significandl.c: Likewise.
14740 * math/w_jnl.c: Likewise.
14741 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14742 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14743 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14744 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14745 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14746 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14755 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14756 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14757 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14758 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14760 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14761 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14762 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14763 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14764 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14765 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14766 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14767 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14768 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14769 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14770 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14771 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14772 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14773 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14774 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14775 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14776 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14777 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14778 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14779 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14780 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14781 * sysdeps/ieee754/k_standard.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14786 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14787 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14788 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14789 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14791 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14795 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14796 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14797 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14798 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14799 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14800 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14801 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14802 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14803 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14804 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14805 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14824 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14825 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14826 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14827 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14829 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14843 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14846 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14848 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14849 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14850 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14851 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14852 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14853 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14854 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14856 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14857 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14858 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14861 * sysdeps/ieee754/s_matherr.c: Likewise.
14862 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14863 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14866
965a54a4
JM
148672012-01-26 Joseph Myers <joseph@codesourcery.com>
14868
14869 * crypt/md5.h: Remove __STDC__ conditionals.
14870 * libio/libioP.h: Likewise.
14871 * locale/programs/config.h: Likewise.
14872 * sysdeps/generic/sysdep.h: Likewise.
14873 * sysdeps/i386/asm-syntax.h: Likewise.
14874 * sysdeps/s390/asm-syntax.h: Likewise.
14875 * sysdeps/unix/sysdep.h: Likewise.
14876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14878
7071ad79
JM
148792012-01-26 Joseph Myers <joseph@codesourcery.com>
14880
14881 * libio/libio.h: Remove __STDC__ conditionals.
14882 * malloc/obstack.h: Likewise.
14883 * math/complex.h: Likewise.
14884 * math/math.h: Likewise.
14885 * sysdeps/generic/_G_config.h: Likewise.
14886 * sysdeps/gnu/_G_config.h: Likewise.
14887 * sysdeps/mach/hurd/_G_config.h: Likewise.
14888 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14889 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14890 * sysdeps/sparc/bits/mathdef.h: Likewise.
14891
afc5ed09
UD
148922012-01-26 Ulrich Drepper <drepper@gmail.com>
14893
14894 [BZ #13583]
14895 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 14896 Clean up HAS_* macros.
afc5ed09 14897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
14898 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14899 possible.
14900 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14901 HAS_AVX.
14902 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14903 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14904 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14905 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14906 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 14907
bdb6de1d
JM
149082012-01-25 Joseph Myers <joseph@codesourcery.com>
14909
14910 * elf/tst-unique3.cc (gets): Remove declaration.
14911 * elf/tst-unique3lib.cc (gets): Likewise.
14912 * elf/tst-unique3lib2.cc (gets): Likewise.
14913 * elf/tst-unique4.cc (gets): Likewise.
14914
b15549e6
UD
149152012-01-24 Ulrich Drepper <drepper@gmail.com>
14916
14917 * include/stdio.h: Add C++ protection. Add gets declarations and
14918 definitions.
14919 * debug/tst-chk1.c: Don't declare gets here.
14920 * stdio-common/tst-gets.c: Likewise.
14921
a037381f
JM
149222012-01-24 Joseph Myers <joseph@codesourcery.com>
14923
14924 * posix/glob: Remove directory.
14925
f1d4aa75
JM
149262012-01-24 Joseph Myers <joseph@codesourcery.com>
14927
14928 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14929
81c0c964
PT
149302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14931
14932 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14933 of the non-standard EPFNOSUPPORT.
14934
0ea698ae
ST
149352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14936
14937 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14938 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14939 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14940
d220b117
UD
149412012-01-21 Ulrich Drepper <drepper@gmail.com>
14942
14943 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14944
3e1aa84e
UD
149452012-01-20 Ulrich Drepper <drepper@gmail.com>
14946
14947 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14948 transient errors.
14949 * nscd/grpcache.c (cache_addgr): Likewise.
14950 * nscd/hstcache.c (cache_addhst): Likewise.
14951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14952 * nscd/pwdcache.c (cache_addpw): Likewise.
14953 * nscd/servicescache.c (cache_addserv): Likewise.
14954
400aa020
UD
149552012-01-16 Ulrich Drepper <drepper@gmail.com>
14956
d77e7869
UD
14957 * malloc/malloc.c: Various cleanups.
14958 * malloc/hooks.c: Likewise.
14959
400aa020
UD
14960 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14961 * stdlib/bug-fmtmsg1.c: New file.
14962
14963 * stdlib/fmtmsg.c (init): Add missing unlock.
14964 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14965
e0a309cf
MP
149662012-01-12 Marek Polacek <polacek@redhat.com>
14967
14968 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14969 and _GNU_SOURCE.
14970
929d11c7
WS
149712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14972
14973 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14974 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14975 macro to ensure uniqueness of label name.
14976 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14977 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14978
41d0e869
UD
149792012-01-11 Ulrich Drepper <drepper@gmail.com>
14980
0cc5ed3b
UD
14981 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14982
41d0e869
UD
14983 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14984 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14985 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14987
a47a831a
UD
149882012-01-10 Ulrich Drepper <drepper@gmail.com>
14989
daa891c0
UD
14990 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14991
14992 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14993 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14994 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14995
e58ef0f2
UD
14996 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14997
a47a831a 14998 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
14999 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15000 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15002
15003 * math/bits/math-finite.h: Add ldexp support.
15004
a0bfc9c7
MP
150052012-01-10 Marek Polacek <polacek@redhat.com>
15006
15007 * locale/programs/localedef.h (show_archive_content): Add noreturn
15008 attribute.
15009
d6e97a1d
UD
150102012-01-09 Ulrich Drepper <drepper@gmail.com>
15011
15012 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15013
d5835c26
UD
150142012-01-08 Ulrich Drepper <drepper@gmail.com>
15015
e5f484c6
UD
15016 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15017
d5835c26
UD
15018 * io/Makefile (headers): Add bits/poll2.h.
15019
d1f741e9
WS
150202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15021
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15023 typo #include statement.
15024
ec09c1c4
UD
150252012-01-08 Ulrich Drepper <drepper@gmail.com>
15026
15027 * include/sys/cdefs.h: Define __attribute_alloc_size.
15028 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15029 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15030 * elf/pldd.c: Likewise.
15031 * iconv/iconv_charmap.c: Likewise.
15032 * iconv/iconvconfig.c: Likewise.
15033 * iconv/strtab.c: Likewise.
15034 * locale/programs/locale.c: Likewise.
15035 * locale/programs/localedef.h: Likewise.
15036 * locale/programs/simple-hash.c: Likewise.
15037 * nscd/nscd.h: Likewise.
15038 * nss/makedb.c: Likewise.
15039 * sysdeps/generic/ldconfig.h: Likewise.
15040 * locale/programs/localedef.c: Remove xmalloc prototype.
15041 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15042
20b38e03
PP
150432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15044
15045 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15046 appropriate.
15047
a0da5fe1
UD
150482012-01-08 Ulrich Drepper <drepper@gmail.com>
15049
1d5a644a 15050 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15051 * math/tst-CMPLX.c: New file.
1d5a644a 15052
8784a6db
UD
15053 * math/complex.h (CMPLXL): Fix typo.
15054
d9a216c0
UD
15055 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15056 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15057 GLIBC_2.16.
15058 * debug/tst-chk1.c: Add poll and ppoll tests.
15059 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15060 * include/sys/poll.h: Add hidden proto for ppoll.
15061 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15062 * sysdeps/mach/hurd/ppoll.c: Likewise.
15063 * io/ppoll.c: Likewise.
15064 * debug/poll_chk.c: New file.
15065 * debug/ppoll_chk.c: New file.
15066 * include/bits/poll2.h: New file.
15067 * io/bits/poll2.h: New file.
15068
ac097f5c
UD
15069 [BZ #1350]
15070 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15071
2119dcfa
UD
15072 * configure.in: static is always set to yes. Remove.
15073 * config.make.in: Don't set build-static.
15074 * Makeconfig: Remove use of build-static.
15075 * dlfcn/Makefile: Likewise.
15076 * elf/Makefile: Likewise.
15077 * math/Makefile: Likewise.
15078 * misc/Makefile: Likewise.
15079 * nptl/Makefile: Likewise.
15080 * sysdeps/mach/hurd/Makefile: Likewise.
15081
121766a9
UD
15082 * configure.in: PWD_P is not used anymore.
15083 * config.make.in: Remove PWD_P entry.
15084
51a1d39c 15085 * configure.in: Remove last remnants of RANLIB.
8720d066 15086 No need to check for signed size_t anymore.
215f4bdc
UD
15087 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15088 and IA-64.
3857022a 15089 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15090 * aclocal.m4: Likewise.
15091
d3ed7225
UD
15092 * wcsmbs/mbrtoc16.c: Implement using towc function.
15093 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15094 * wcsmbs/wcsmbsload.c: Likewise.
15095 * iconv/gconv_simple.c: Likewise.
15096 * iconv/gconv_int.h: Likewise.
15097 * iconv/gconv_builtin.h: Likewise.
15098 * iconv/iconv_prog.c: Remove CHAR16 handling.
15099
15100 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15101
15102 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15103
a0da5fe1
UD
15104 * configure.in: Remove --with-elf and --enable-bounded options.
15105 Dont set base_machine for ia64. More non-ELF conditions removed.
15106 Remove testing and setting of leading underscore information.
15107 * config.make.in (build-bounded): Set to no.
15108 * config.h.in: Remove NO_UNDERSCORES entry.
15109 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15110 them.
15111 * csu/start.c: Remove !NO_UNDERSCORE code.
15112 * locale/localeinfo.h: Likewise.
15113 * sysdeps/generic/machine-gmon.h: Likewise.
15114 * sysdeps/generic/sysdep.h: Likewise.
15115 * sysdeps/i386/sysdep.h: Likewise.
15116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15117 * sysdeps/mach/sysdep.h: Likewise.
15118 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15119 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15120 * sysdeps/sh/sysdep.h: Likewise.
15121 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15122 * sysdeps/unix/i386/sysdep.S: Likewise.
15123 * sysdeps/unix/sparc/start.c: Likewise.
15124 * sysdeps/unix/sparc/sysdep.S: Likewise.
15125 * sysdeps/unix/sparc/sysdep.h: Likewise.
15126 * sysdeps/unix/start.c: Likewise.
15127 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15128 * sysdeps/x86_64/sysdep.h: Likewise.
15129
df78418a
UD
151302012-01-07 Ulrich Drepper <drepper@gmail.com>
15131
a784e502
UD
15132 [BZ #13553]
15133 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15134 for non-gcc.
15135 * argp/argp-fmtstream.h: Use const instead __const.
15136 * argp/argp.h: Likewise.
15137 * assert/assert.h: Likewise.
15138 * bits/fenv.h: Likewise.
15139 * bits/sched.h: Likewise.
15140 * bits/sigset.h: Likewise.
15141 * bits/sigthread.h: Likewise.
15142 * catgets/nl_types.h: Likewise.
15143 * conform/data/pthread.h-data: Likewise.
15144 * crypt/crypt-private.h: Likewise.
15145 * crypt/crypt.h: Likewise.
15146 * crypt/crypt_util.c: Likewise.
15147 * ctype/ctype.h: Likewise.
15148 * debug/execinfo.h: Likewise.
15149 * debug/mbsnrtowcs_chk.c: Likewise.
15150 * debug/mbsrtowcs_chk.c: Likewise.
15151 * debug/wcsnrtombs_chk.c: Likewise.
15152 * debug/wcsrtombs_chk.c: Likewise.
15153 * debug/wcstombs_chk.c: Likewise.
15154 * dirent/dirent.h: Likewise.
15155 * dlfcn/dlfcn.h: Likewise.
15156 * elf/neededtest4.c: Likewise.
15157 * grp/grp.h: Likewise.
15158 * gshadow/gshadow.h: Likewise.
15159 * iconv/gconv.h: Likewise.
15160 * iconv/gconv_int.h: Likewise.
15161 * iconv/gconv_simple.c: Likewise.
15162 * iconv/iconv.h: Likewise.
15163 * iconv/loop.c: Likewise.
15164 * iconv/skeleton.c: Likewise.
15165 * include/aio.h: Likewise.
15166 * include/aliases.h: Likewise.
15167 * include/argz.h: Likewise.
15168 * include/arpa/inet.h: Likewise.
15169 * include/assert.h: Likewise.
15170 * include/dirent.h: Likewise.
15171 * include/dlfcn.h: Likewise.
15172 * include/execinfo.h: Likewise.
15173 * include/fcntl.h: Likewise.
15174 * include/fenv.h: Likewise.
15175 * include/glob.h: Likewise.
15176 * include/grp.h: Likewise.
15177 * include/libintl.h: Likewise.
15178 * include/mntent.h: Likewise.
15179 * include/netdb.h: Likewise.
15180 * include/pwd.h: Likewise.
15181 * include/rpc/netdb.h: Likewise.
15182 * include/sched.h: Likewise.
15183 * include/search.h: Likewise.
15184 * include/shadow.h: Likewise.
15185 * include/signal.h: Likewise.
15186 * include/stdio.h: Likewise.
15187 * include/stdlib.h: Likewise.
15188 * include/string.h: Likewise.
15189 * include/sys/socket.h: Likewise.
15190 * include/sys/stat.h: Likewise.
15191 * include/sys/statfs.h: Likewise.
15192 * include/sys/statvfs.h: Likewise.
15193 * include/sys/syslog.h: Likewise.
15194 * include/sys/time.h: Likewise.
15195 * include/sys/uio.h: Likewise.
15196 * include/time.h: Likewise.
15197 * include/unistd.h: Likewise.
15198 * include/utmp.h: Likewise.
15199 * include/wchar.h: Likewise.
15200 * include/wctype.h: Likewise.
15201 * inet/aliases.h: Likewise.
15202 * inet/arpa/inet.h: Likewise.
15203 * inet/netinet/ether.h: Likewise.
15204 * inet/netinet/in.h: Likewise.
15205 * intl/libintl.h: Likewise.
15206 * io/bits/fcntl2.h: Likewise.
15207 * io/fcntl.h: Likewise.
15208 * io/ftw.h: Likewise.
15209 * io/sys/poll.h: Likewise.
15210 * io/sys/stat.h: Likewise.
15211 * io/sys/statfs.h: Likewise.
15212 * io/sys/statvfs.h: Likewise.
15213 * io/utime.h: Likewise.
15214 * libio/bits/stdio.h: Likewise.
15215 * libio/bits/stdio2.h: Likewise.
15216 * libio/libio.h: Likewise.
15217 * libio/libioP.h: Likewise.
15218 * libio/stdio.h: Likewise.
15219 * locale/lc-ctype.c: Likewise.
15220 * locale/locale.h: Likewise.
15221 * login/utmp.h: Likewise.
15222 * malloc/arena.c: Likewise.
15223 * malloc/malloc.c: Likewise.
15224 * malloc/malloc.h: Likewise.
15225 * malloc/mcheck.c: Likewise.
15226 * malloc/mtrace.c: Likewise.
15227 * math/bits/mathcalls.h: Likewise.
15228 * math/fenv.h: Likewise.
15229 * math/math_private.h: Likewise.
15230 * misc/bits/error.h: Likewise.
15231 * misc/bits/syslog.h: Likewise.
15232 * misc/err.h: Likewise.
15233 * misc/error.h: Likewise.
15234 * misc/fstab.h: Likewise.
15235 * misc/mntent.h: Likewise.
15236 * misc/regexp.h: Likewise.
15237 * misc/search.h: Likewise.
15238 * misc/sgtty.h: Likewise.
15239 * misc/sys/mman.h: Likewise.
15240 * misc/sys/syslog.h: Likewise.
15241 * misc/sys/uio.h: Likewise.
15242 * misc/sys/xattr.h: Likewise.
15243 * misc/ttyent.h: Likewise.
15244 * nis/rpcsvc/ypclnt.h: Likewise.
15245 * nss/nss.h: Likewise.
15246 * posix/bits/unistd.h: Likewise.
15247 * posix/fnmatch.h: Likewise.
15248 * posix/glob.h: Likewise.
15249 * posix/sched.h: Likewise.
15250 * posix/spawn.h: Likewise.
15251 * posix/sys/wait.h: Likewise.
15252 * posix/unistd.h: Likewise.
15253 * posix/wordexp.h: Likewise.
15254 * pwd/pwd.h: Likewise.
15255 * resolv/netdb.h: Likewise.
15256 * resource/sys/resource.h: Likewise.
15257 * rt/aio.h: Likewise.
15258 * rt/bits/mqueue2.h: Likewise.
15259 * rt/mqueue.h: Likewise.
15260 * shadow/shadow.h: Likewise.
15261 * signal/signal.h: Likewise.
15262 * socket/send.c: Likewise.
15263 * socket/sendto.c: Likewise.
15264 * socket/sys/socket.h: Likewise.
15265 * stdio-common/printf.h: Likewise.
15266 * stdlib/bits/stdlib.h: Likewise.
15267 * stdlib/fmtmsg.h: Likewise.
15268 * stdlib/monetary.h: Likewise.
15269 * stdlib/stdlib.h: Likewise.
15270 * stdlib/ucontext.h: Likewise.
15271 * streams/stropts.h: Likewise.
15272 * string/argz.h: Likewise.
15273 * string/bits/string2.h: Likewise.
15274 * string/string.h: Likewise.
15275 * string/strings.h: Likewise.
15276 * sunrpc/rpc/auth.h: Likewise.
15277 * sunrpc/rpc/auth_des.h: Likewise.
15278 * sunrpc/rpc/clnt.h: Likewise.
15279 * sunrpc/rpc/netdb.h: Likewise.
15280 * sunrpc/rpc/pmap_clnt.h: Likewise.
15281 * sunrpc/rpc/xdr.h: Likewise.
15282 * sysdeps/generic/inttypes.h: Likewise.
15283 * sysdeps/generic/net/if.h: Likewise.
15284 * sysdeps/generic/sys/swap.h: Likewise.
15285 * sysdeps/gnu/net/if.h: Likewise.
15286 * sysdeps/gnu/utmpx.h: Likewise.
15287 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15288 * sysdeps/i386/i486/bits/string.h: Likewise.
15289 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15290 * sysdeps/s390/bits/string.h: Likewise.
15291 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15292 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15293 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15294 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15295 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15296 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15297 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15298 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15299 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15300 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15301 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15302 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15303 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15304 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15305 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15306 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15307 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15309 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15310 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15312 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15313 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15314 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15315 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15316 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15317 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15318 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15319 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15320 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15321 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15322 * sysvipc/sys/ipc.h: Likewise.
15323 * sysvipc/sys/msg.h: Likewise.
15324 * sysvipc/sys/sem.h: Likewise.
15325 * sysvipc/sys/shm.h: Likewise.
15326 * termios/termios.h: Likewise.
15327 * time/sys/time.h: Likewise.
15328 * time/time.h: Likewise.
15329 * wcsmbs/bits/wchar2.h: Likewise.
15330 * wcsmbs/uchar.h: Likewise.
15331 * wcsmbs/wchar.h: Likewise.
15332 * wctype/wctype.h: Likewise.
15333
0269750c
UD
15334 [BZ #13551]
15335 * Makeconfig: Remove all but ELF support including AIX support.
15336 * Makerules: Likewise.
15337 * config.h.in: Likewise.
15338 * config.make.in: Likewise.
15339 * configure: Likewise.
15340 * configure.in: Likewise.
15341 * csu/Makefile: Likewise.
15342 * csu/version.c: Likewise.
15343 * debug/Makefile: Likewise.
15344 * dlfcn/Makefile: Likewise.
15345 * elf/Makefile: Likewise.
15346 * extra-lib.mk: Likewise.
15347 * iconv/Makefile: Likewise.
15348 * include/libc-symbols.h: Likewise.
15349 * include/shlib-compat.h: Likewise.
15350 * resolv/Makefile: Likewise.
15351 * resolv/res_libc.c: Likewise.
15352 * rt/Makefile: Likewise.
15353 * sysdeps/i386/asm-syntax.h: Likewise.
15354 * sysdeps/i386/sysdep.h: Likewise.
15355 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15356 * sysdeps/mach/sysdep.h: Likewise.
15357 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15358 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15359 * sysdeps/s390/asm-syntax.h: Likewise.
15360 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15361 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15362 * sysdeps/sh/sysdep.h: Likewise.
15363 * sysdeps/unix/sparc/sysdep.h: Likewise.
15364 * sysdeps/wordsize-32/divdi3.c: Likewise.
15365 * sysdeps/x86_64/sysdep.h: Likewise.
15366
00bbd29b
UD
15367 * argp/Versions: Remove _argp_unlock_xxx.
15368
15369 [BZ #13559]
15370 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15371 * abilist/libBrokenLocale.abilist: Likewise.
15372 * abilist/libanl.abilist: Likewise.
15373 * abilist/libc.abilist: Likewise.
15374 * abilist/libcrypt.abilist: Likewise.
15375 * abilist/libdl.abilist: Likewise.
15376 * abilist/libm.abilist: Likewise.
15377 * abilist/libnsl.abilist: Likewise.
15378 * abilist/libpthread.abilist: Likewise.
15379 * abilist/libresolv.abilist: Likewise.
15380 * abilist/librt.abilist: Likewise.
15381 * abilist/libthread_db.abilist: Likewise.
15382 * abilist/libutil.abilist: Likewise.
15383 * abilist/libnss_db.abilist: New file.
15384
15385 * scripts/abilist.awk: Add support for indirect functions.
15386
a2693a0e
UD
15387 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15388
3f05895f
UD
15389 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15390
ecb6fb48
UD
15391 * shlib-versions: Remove entries for ports architectures.
15392
664f8cb9
UD
15393 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15394 files in ports.
15395 * elf/stackguard-macros.h: Remove support for IA-64.
15396 * elf/tst-auditmod1.c: Likewise.
15397 * sysdeps/generic/ldsodefs.h: Likewise.
15398
7ae81d88
UD
15399 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15400 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15401 configure files.
15402
bdeba135
UD
15403 [BZ #13552]
15404 * configure.in: Remove --enable-omitfp support.
15405 * FAQ.in: Adjust.
15406 * config.make.in: Likewise.
15407 * Makeconfig: Likewise.
15408 * manual/install.texi: Likewise.
15409
d75a0a62
UD
15410 In case anyone cares, the IA-64 architecture could move to ports.
15411 * sysdeps/ia64/*: Removed.
15412 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15413 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15414
dcc9756b
UD
15415 [BZ #13555]
15416 * configure.in: Remove entries for unsupported architectures.
15417
d3761ebc 15418 [BZ #13533]
9954432e
UD
15419 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15420 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15421 routines.
15422 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15423 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15424 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15425 fall back to using wcrtomb.
15426 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15427 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15428 renaming.
15429 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15430 * wcsmbs/tst-c16c32-1.c: New file.
15431
15432 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15433 local variable.
15434
c3a87236
UD
15435 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15436
28926a1b
UD
15437 * elf/tst-unique3.cc: Add explicit declaration of gets.
15438 * elf/tst-unique3lib.cc: Likewise.
15439 * elf/tst-unique3lib2.cc: Likewise.
15440 * elf/tst-unique4.cc: Likewise.
15441
df78418a
UD
15442 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15443
8ecd6b2a
JM
154442012-01-06 Joseph Myers <joseph@codesourcery.com>
15445
15446 [BZ #13566]
15447 * assert/assert.h (static_assert): Don't define for C++.
15448 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15449 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15450
9f115170
UD
154512012-01-03 Ulrich Drepper <drepper@gmail.com>
15452
5e0d0300
UD
15453 * iconv/loop.c (single loop): Fix assertion in storing of
15454 remaining bytes.
15455
9f115170
UD
15456 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15457
81fb02b0
UD
154582012-01-01 Ulrich Drepper <drepper@gmail.com>
15459
15460 * posix/getconf.c: Update copyright year.
15461 * nss/getent.c: Likewise.
a316c1f6 15462 * nss/makedb.c: Likewise.
81fb02b0
UD
15463 * iconv/iconvconfig.c: Likewise.
15464 * iconv/iconv_prog.c: Likewise.
15465 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15466 * elf/pldd.c: Likewise.
15467 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15468 * catgets/gencat.c: Likewise.
15469 * csu/version.c: Likewise.
15470 * elf/ldd.bash.in: Likewise.
15471 * elf/sprof.c (print_version): Likewise.
15472 * locale/programs/locale.c: Likewise.
15473 * locale/programs/localedef.c: Likewise.
a316c1f6 15474 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15475 * nscd/nscd.c (print_version): Likewise.
15476 * debug/xtrace.sh: Likewise.
15477 * malloc/memusage.sh: Likewise.
15478 * malloc/mtrace.pl: Likewise.
15479 * debug/catchsegv.sh: Likewise.
15480
2ba92745
JJ
154812011-12-30 Jakub Jelinek <jakub@redhat.com>
15482
15483 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15484 pure attribute.
15485
dadebdae
UD
154862011-12-24 Ulrich Drepper <drepper@gmail.com>
15487
d3761ebc 15488 [BZ #13533]
db6af3eb
UD
15489 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15490 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15491 transformations.
15492 * iconv/gconv_int.h: Likewise.
15493 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15494 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15495 from libc for GLIBC_2.16.
15496 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15497 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15498 * wcsmbs/uchar.h: Really define mbstate_t.
15499 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15500 * wcsmbs/c16rtomb.c: New file.
15501 * wcsmbs/mbrtoc16.c: New file.
15502 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15503 for C/POSIX locale.
15504 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15505 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15506
dadebdae
UD
15507 * wcsmbs/wchar.h: Add missing __restrict.
15508
67371b56
UD
155092011-12-23 Ulrich Drepper <drepper@gmail.com>
15510
74033a25
UD
15511 [BZ #13532]
15512 * time/Makefile (routines): Add timespec_get.
15513 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15514 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15515 timespec for ISO C11.
15516 * time/timespec_get.c: New file.
15517 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15518 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15519
380d7e87
UD
15520 [BZ #13531]
15521 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15522 * stdlib/stdlib.h: Declare aligned_alloc.
15523 * Versions.def: Add GLIBC_2.16 for libc.
15524 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15525
4e9e7a35
UD
15526 [BZ 13527]
15527 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15528 ISO C11.
15529
380d7e87 15530 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15531 code.
15532
03a71829
UD
15533 [BZ #13528]
15534 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15535
839e283e
UD
15536 [BZ #13529]
15537 * assert/assert.h (static_assert): Define.
15538
ce5294e2 15539 * version.h: Update for 2.16 development version.
90fa7312 15540
8d44e150 15541 [BZ #13526]
d7809905
UD
15542 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15543 _ISOC11_SOURCE.
15544
c0da14cd
UD
15545 * version.h (RELEASE): Bump for 2.15 release.
15546 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15547
530a3249
MP
15548 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15549 Patch by Marek Polacek <mpolacek@redhat.com>.
15550
67371b56
UD
15551 * bits/byteswap.h: Protect long long constants with __extension__.
15552 * sysdeps/i386/bits/byteswap.h: Likewise.
15553 * sysdeps/ia64/bits/byteswap.h: Likewise.
15554 * sysdeps/s390/bits/byteswap.h: Likewise.
15555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15556
15db4de1
LD
155572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15558
15559 [BZ #13540]
bbe315ea
LD
15560 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15561 destination buffer.
15db4de1
LD
15562 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15563
2b2596b1
MP
155642011-12-23 Marek Polacek <polacek@redhat.com>
15565
15566 * elf/dl-addr.c (determine_info): Add inline keyword.
15567 * elf/tst-auditmod4b.c (check_avx): Likewise.
15568 * elf/tst-auditmod6b.c (check_avx): Likewise.
15569 * elf/tst-auditmod6c.c (check_avx): Likewise.
15570 * elf/tst-auditmod7b.c (check_avx): Likewise.
15571
70c6c246
UD
155722011-12-23 Ulrich Drepper <drepper@gmail.com>
15573
15574 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15575 !__SSE_MATH__.
15576
c044cf14
LD
155772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15578
15db4de1 15579 [BZ #13540]
c044cf14
LD
15580 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15581 processing for last bytes.
15582
6b13d9d9
BH
155832011-08-06 Bruno Haible <bruno@clisp.org>
15584
d455f537
BH
15585 [BZ #13061]
15586 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15587 U+0385, not to U+1FEE.
15588
6b13d9d9
BH
15589 [BZ #13062]
15590 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15591 entry for U+00A5 U+0301.
15592
db910efd
UD
155932011-12-22 Ulrich Drepper <drepper@gmail.com>
15594
27deeafc
UD
15595 [BZ #13166]
15596 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15597 buffer for the output is too small.
15598
aed9d171
UD
15599 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15600 optimization.
15601
db910efd
UD
15602 [BZ #13185]
15603 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15604 SSE flags if possible.
15605
2bd779ae
LD
156062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15607
e7f9dac3 15608 [BZ #13540]
2bd779ae
LD
15609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15610 processing for last bytes.
15611
154bfc16
JM
156122011-12-22 Joseph Myers <joseph@codesourcery.com>
15613
15614 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15615 (syscall-list-default-options, syscall-list-default-condition)
15616 (syscall-list-includes): Define.
15617 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15618 list of ABIs and options and #if conditions for each ABI. Do not
15619 handle common syscalls between ABIs specially.
15620 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15621 Remove.
15622 (syscall-list-variants, syscall-list-32bit-options)
15623 (syscall-list-32bit-condition, syscall-list-64bit-options)
15624 (syscall-list-64bit-condition): Define.
15625 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15626 (syscall-list-variants, syscall-list-32bit-options)
15627 (syscall-list-32bit-condition, syscall-list-64bit-options)
15628 (syscall-list-64bit-condition): Define.
15629 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15630 Remove.
15631 (syscall-list-variants, syscall-list-32bit-options)
15632 (syscall-list-32bit-condition, syscall-list-64bit-options)
15633 (syscall-list-64bit-condition): Define.
15634 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15635 Remove.
15636 (syscall-list-variants, syscall-list-32bit-options)
15637 (syscall-list-32bit-condition, syscall-list-64bit-options)
15638 (syscall-list-64bit-condition): Define.
15639
21eaf3a5
UD
156402011-12-22 Ulrich Drepper <drepper@gmail.com>
15641
16c6f992
UD
15642 * locale/iso-639.def: Add brx entry.
15643
41043168
UD
15644 [BZ #13328]
15645 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15646 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15647
21eaf3a5
UD
15648 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15649 __feraiseexcept_renamed.
15650
e3a851a2
UD
156512011-12-21 Ulrich Drepper <drepper@gmail.com>
15652
4920765e
UD
15653 [BZ #13538]
15654 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15655 EPOLLET with unsigned values.
15656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15658
e3a851a2
UD
15659 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15660 to large cancellation.
15661 * math/s_cacoshf.c: Likewise.
15662 * math/s_cacoshl.c: Likewise.
15663
b27e24b8
RK
156642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15665
15666 [BZ #13305]
aebefeee 15667 [BZ #12786]
b27e24b8
RK
15668 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15669 * math/s_cacoshf.c: Likewise.
15670 * math/s_cacoshl.c: Likewise.
15671
ee190f67
UD
156722011-12-21 Ulrich Drepper <drepper@gmail.com>
15673
15674 [BZ #13439]
15675 * iconv/gconv.h: Define __GCONV_SWAP.
15676 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15677 * iconvdata/utf-16.c: Likewise.
15678 * iconvdata/utf-32.c: Likewise.
15679
707f25df
AS
156802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15681
15682 [BZ #13524]
15683 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15684 numerator after shifting it by one limb.
15685
d2daaa1e
RÁE
156862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15687
15688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15689 under [__USE_EXTERN_INLINES].
15690
a4647e72
UD
156912011-12-17 Ulrich Drepper <drepper@gmail.com>
15692
15693 [BZ #13446]
15694 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15695
f0b264f1
AZ
156962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15697
15698 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15699 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15700 optimized code.
15701 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15702 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15703 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15704 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15705 for strncasecmp/strncasecmp_l compilation.
15706 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15707 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15708
8ef4f244
MP
157092011-12-08 Marek Polacek <mpolacek@redhat.com>
15710
15711 [BZ #13484]
15712 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15713 of __asm__.
15714
97ac2654
UD
157152011-12-17 Ulrich Drepper <drepper@gmail.com>
15716
15717 [BZ #13506]
15718 * time/tzfile.c (__tzfile_read): Check values from file header.
15719
91d2a845
WS
157202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15721
15722 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15723 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15724 * powerpc/powerpc32/dl-start.S: Likewise.
15725 * powerpc/powerpc32/elf/start.S: Likewise.
15726 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15727 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15728 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15729 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15730 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15731 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15732 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15733 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15734 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15735 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15736 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15737 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15738 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15739 * powerpc/powerpc32/memset.S: Likewise.
15740 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15741 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15742 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15743 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15744 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15745 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15746 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15747 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15748 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15749 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15750 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15751 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15752 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15753
a1267ba1
AZ
157542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15755
15756 * math/libm-test.inc: Added more nearbyint tests.
15757 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15759 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15761
ad8ac1bd
RL
157622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15763
15764 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15765 FD_CLOEXEC.
15766
1d3e4b61
UD
157672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15768
15769 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15770 Add wcscpy-ssse3 wcscpy-c.
15771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15772 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15773 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15774 * sysdeps/x86_64/wcschr.S: New file.
15775 * sysdeps/x86_64/wcsrchr.S: New file.
15776 * string/test-strcmp.c: Remove checking of wcscmp function for
15777 wrong alignments.
15778 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15779 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15780 wcsrchr-sse2 wcsrchr-c.
15781 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15782 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15783 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15784 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15785 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15786 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15787 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15788 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15790 * wcsmbc/wcschr.c (WCSCHR): New macro.
15791
5b330a2d
UD
157922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15793
15794 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15795 * wcsmbs/test-wcsrchr.c: New file.
15796 * string/test-strrchr.c: Add wcsrchr support.
15797 (WIDE): New macro.
15798 * wcsmbs/test-wcscpy.c: New file.
15799 * string/test-strcpy.c: Add wcscpy support.
15800 (WIDE): New macro.
26428b7c 15801
f039c043
UD
158022011-12-10 Ulrich Drepper <drepper@gmail.com>
15803
15804 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15805 the inner loop.
15806
850fb039
AS
158072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15808
15809 [BZ #13472]
15810 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15811
4efbd5cb
UD
158122011-12-04 Ulrich Drepper <drepper@gmail.com>
15813
52ff5dd0 15814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 15815 Minor optimizations.
52ff5dd0 15816
4efbd5cb
UD
15817 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15818 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15819 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15820
8a426e12
UD
158212011-12-03 Ulrich Drepper <drepper@gmail.com>
15822
aff2453d
UD
15823 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15824 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15825 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15826 for gcc to avoid warnings.
15827 * inet/Makefile (tests): Add tst-checks.
15828 * inet/tst-checks.c: New file.
15829
15830 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15831 warning.
15832
15833 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15834 __wmemcmp_sse2.
15835
15836 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15837 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15838
8a426e12
UD
15839 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15840
9bea3473
UD
158412011-12-02 Ulrich Drepper <drepper@gmail.com>
15842
3a965496
UD
15843 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15844 problem.
15845
9bea3473
UD
15846 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15847
f101631b
UD
158482011-11-29 Joseph Myers <joseph@codesourcery.com>
15849
15850 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15851 conditional on GCC version.
15852 (__arch_compare_and_exchange_val_8_acq)
15853 (__arch_compare_and_exchange_val_16_acq)
15854 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15855 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15856 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15857
a98275aa
UD
158582011-12-02 Joseph Myers <joseph@codesourcery.com>
15859
15860 * sysdeps/sh/backtrace.c: New file.
15861
d4cc29a2
AS
158622011-12-02 Andreas Schwab <schwab@redhat.com>
15863
15864 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15865 parenthesis.
15866
6257af2d
AS
158672011-12-01 Andreas Schwab <schwab@redhat.com>
15868
15869 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15870 falling back to utime.
15871
b5f44c1a
AS
158722011-11-30 Andreas Schwab <schwab@redhat.com>
15873
15874 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15875 expectations for float.
15876
f3a6cc0a
AS
158772011-11-29 Andreas Schwab <schwab@redhat.com>
15878
15879 * locale/weight.h (findidx): Add parameter len.
15880 * locale/weightwc.h (findidx): Likewise.
15881 * posix/fnmatch_loop.c (FCT): Adjust caller.
15882 * posix/regcomp.c (build_equiv_class): Likewise.
15883 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15884 * posix/regexec.c (check_node_accept_bytes): Likewise.
15885 * string/strcoll_l.c (STRCOLL): Likewise.
15886 * string/strxfrm_l.c (STRXFRM): Likewise.
15887
9d65ea3a
UD
158882011-11-17 Ulrich Drepper <drepper@gmail.com>
15889
15890 * Makefile.in: Remove CVSOPT handling.
15891 * configure.in: Remove use of AC_REVISION.
15892 * iconvdata/Makefile (distribute): No need to filter out CVS.
15893 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15894 handling.
15895
5583a086
AS
158962011-11-16 Andreas Schwab <schwab@redhat.com>
15897
15898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15899 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15900 [USE_AS_STRNCASECMP_L]: Likewise.
15901 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15902 NO_TLS_DIRECT_SEG_REFS.
15903 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15904 Fix argument offsets for non-PIC.
15905 [USE_AS_STRNCASECMP_L]: Likewise.
15906 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15907 NO_TLS_DIRECT_SEG_REFS.
15908
d62a8200
UD
159092011-11-15 Ulrich Drepper <drepper@gmail.com>
15910
9d65ea3a 15911 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
15912 O_CLOEXEC.
15913 * locale/loadlocale.c (_nl_load_locale): Likewise.
15914
09f93bd3
AS
159152011-11-15 Andreas Schwab <schwab@redhat.com>
15916
446514f9
AS
15917 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15918 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15919 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15920 (SYSCALL_GETTIME): Set errno on error.
15921
09f93bd3
AS
15922 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15923 count references to noai6ai_cached.
15924
312be3f9
UD
159252011-11-15 Ulrich Drepper <drepper@gmail.com>
15926
15927 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15928
15929 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15930 FD_CLOEXEC for /proc/self/maps.
15931
15932 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15933 FD_CLOEXEC for /proc/meminfo.
15934
15935 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15936 gai.conf.
15937
15938 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15939 FD_CLOEXEC for given file.
15940
15941 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15942
15943 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15944 FD_CLOEXEC for /etc/hosts.
15945 (_gethtent): Likewise.
15946
15947 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15948
15949 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15950 cancellation and set FD_CLOEXEC for /etc/netgroup.
15951
15952 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15953 reading /etc/publickey.
15954
15955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15956 allow cancellation when reading /etc/group.
15957
15958 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15959 cancellation.
15960 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15961
15962 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15963 when using data file.
15964
15965 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15966
15967 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15968 (write_nis_obj): Use "c" and "e" in fopen.
15969
15970 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15971
15972 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15973
15974 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15975
15976 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15977
15978 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15979 locale.alias.
15980
15981 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15982
15983 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15984
15985 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15986
15987 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15988 file parsing and set FD_CLOEXEC.
15989
82af0fa8
UD
159902011-11-14 Ulrich Drepper <drepper@gmail.com>
15991
15992 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15993
a5fb313c
AS
159942011-11-14 Andreas Schwab <schwab@redhat.com>
15995
15996 * malloc/arena.c (arena_get2): Don't call reused_arena when
15997 _int_new_arena failed.
15998
6abf3465
UD
159992011-11-14 Ulrich Drepper <drepper@gmail.com>
16000
16001 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16002 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16003 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16004 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16005 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16006 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16007 to compile strcasecmp and strncasecmp.
16008 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16009 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16010
16011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16012
76e3966e
UD
160132011-11-13 Ulrich Drepper <drepper@gmail.com>
16014
16015 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16016 locale-defines.sym to gen-as-const-headers.
16017 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16018 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16020 to compile strcasecmp and strncasecmp.
16021 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16022 strcasecmp_l and strncasecmp_l.
16023 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16024 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16025 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16026 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16027 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16028 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16029 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16030 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16031 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16032 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16033 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16034
ab26144e
UD
160352011-11-12 Ulrich Drepper <drepper@gmail.com>
16036
7edb22ef
UD
16037 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16038 result of SYSDEP_GETTIME_CPU to retval.
16039 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16040 parameter list to macro. Remove trailing semicolon. Adjust users.
16041
9694fc44
UD
16042 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16043 variable.
16044
8ad89ef8
UD
16045 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16046 mantissa words.
16047 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16048
0c822ef9
UD
16049 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16050 from unused variable.
16051
874e0564
UD
16052 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16053 DWARF definitions.
16054 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16055 for assembling.
16056
3a2edc79
UD
16057 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16058 over namespaces.
16059
f3c2577f
UD
16060 * sunrpc/rpc_prot.c (rejected): Fix case value.
16061
294ce126
UD
16062 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16063 unsigned long long int to avoid warnings in shift.
16064
5e2b63c6
UD
16065 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16066 of use of trans.
16067 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16068 variable tmp.
16069
e7f4b08e
UD
16070 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16071 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16072 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16073
ab26144e
UD
16074 * nis/nis_table.c (nis_list): Use variable of correct type for
16075 result of __follow_path call.
16076
8a6d5255
AZ
160772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16078
16079 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16080 of math functions ceil, trunc, floor, round, and sqrt, when
16081 avaliable on the platform.
16082 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16083 name clash.
16084 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16085 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16086 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16087
aaddc98c
MP
160882011-10-30 Marek Polacek <mpolacek@redhat.com>
16089
16090 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16091 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16092
95b7042b
RM
160932011-11-11 Roland McGrath <roland@hack.frob.com>
16094
16095 * include/unistd.h: Fix __readlink return type.
16096 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16097
57769839
UD
160982011-11-11 Ulrich Drepper <drepper@gmail.com>
16099
16100 * stdlib/ucontext.h: Undo last change for makecontext.
16101
edc5984d
AS
161022011-11-11 Andreas Schwab <schwab@redhat.com>
16103
98591e58
AS
16104 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16105
edc5984d
AS
16106 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16107 * setjmp/setjmp.h: Mark functions as non-leaf.
16108 * setjmp/bits/setjmp2.h: Likewise.
16109 * stdlib/ucontext.h: Likewise.
16110
77cdc054
AS
161112011-11-10 Andreas Schwab <schwab@redhat.com>
16112
16113 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16114 (reused_arena): Don't check arena limit.
16115 (arena_get2): Atomically check arena limit.
16116
fe72eebd
UD
161172011-11-08 Ulrich Drepper <drepper@gmail.com>
16118
5f078c32
UD
16119 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16120 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16121
fe72eebd
UD
16122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16123 instructions.
16124
ae1bc2fa
AS
161252011-11-07 Andreas Schwab <schwab@redhat.com>
16126
7583a88d
AS
16127 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16128 handler when locking.
16129
ae1bc2fa
AS
16130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16131 Fix size of allocated buffer.
16132
10fb0bfa
AS
161332011-11-04 Andreas Schwab <schwab@redhat.com>
16134
998832a4
AS
16135 [BZ #10103]
16136 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16137 declarations for long double functions.
16138 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16139
10fb0bfa
AS
16140 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16141
3d7ba52b
AS
161422011-11-03 Andreas Schwab <schwab@redhat.com>
16143
a9ae54a1
AS
16144 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16145 installed.
16146
3d7ba52b
AS
16147 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16148 is disabled.
16149
bc8db248
ST
161502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16151
16152 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16153
45b96dd6
AS
161542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16155
647776f6
AS
16156 * include/alloca.h (stackinfo_alloca_round): Define.
16157 (extend_alloca): Use it.
16158 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16159 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16160 here.
16161
d91a8b93
AS
16162 * scripts/check-local-headers.sh: Ignore libaudit.h.
16163
45b96dd6
AS
16164 * nscd/Makefile (extra-objs): Make recursively expanded.
16165
432d41ce
UD
161662011-11-01 Ulrich Drepper <drepper@gmail.com>
16167
34372fc6
UD
16168 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16169 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16170
fadb59f8
UD
16171 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16172 * posix/tst-rfc3484-2.c: Likewise.
16173 * posix/tst-rfc3484-3.c: Likewise.
16174
78239589
UD
16175 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16176 process_vm_writev.
16177 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16178 process_vm_writev.
16179 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16180 process_vm_writev from libc using GLIBC_2.15 version.
16181
432d41ce
UD
16182 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16183
02f9c6cf
PP
161842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16185
16186 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16187 stack usage.
16188
3a2c0242
UD
161892011-10-31 Ulrich Drepper <drepper@gmail.com>
16190
f4ec4833
UD
16191 [BZ #13367]
16192 * nss/getent.c (initgroups_keys): Show error message in case no group
16193 names are given.
16194
3a2c0242
UD
16195 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16196 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16197 __bump_nl_timestamp.
16198 * nscd/connections (nscd_init): When host database is served open
16199 netlink socket and request notification about configuration changes.
16200 (main_loop_poll): Track netlink file descriptor and bump timestamp
16201 in case data becomes available.
16202 (main_loop_epoll): Likewise.
16203 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16204 (database_pers_head): Add extra_data fileds.
16205 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16206 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16207 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16208 Adjust caller.
16209 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16210 in6ai data, call __free_in6ai.
16211 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16212 Add -DHAVE_NETLINK.
16213 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16214 interface information. Reuse previous data if netlink timestamp
16215 is not changed.
16216 (__bump_nl_timestamp): New function.
16217 (__free_in6ai): New function.
16218
636064eb
UD
162192011-10-30 Ulrich Drepper <drepper@gmail.com>
16220
16221 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16222 close_not_cancel_no_status here.
16223 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16224
9beb2334
UD
162252011-10-29 Ulrich Drepper <drepper@gmail.com>
16226
6ef76f3b
UD
16227 [BZ #13276]
16228 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16229 return value.
16230
0ffc4f3e 16231 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16232 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16233 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16234
cb95113e
UD
162352011-07-03 Andreas Jaeger <aj@suse.de>
16236
16237 [BZ #10709]
16238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16239 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16240 * math/libm-test.inc (sin_test): Add test case.
16241
a1b560ff
UD
162422011-10-29 Ulrich Drepper <drepper@gmail.com>
16243
c9aaface
UD
16244 [BZ #13337]
16245 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16246 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16247
d272e7f1
UD
16248 * elf/chroot_canon.c (chroot_canon): Cleanups.
16249
1bc33071
UD
16250 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16251
1760874d
TJ
16252 [BZ #13335]
16253 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16254 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16255
51d91b18
UD
16256 * string/test-strchr.c: Make usable for strchrnul testing.
16257 * string/test-strchrnul.c: New file.
16258 * string/Makefile (strop-tests): Add strchrnul.
16259
a1b560ff 16260 * po/it.po: Update from translation team.
b611fb81 16261 * po/es.po: Likewise.
a1b560ff 16262
a5b81e1f
UD
162632011-10-28 Ulrich Drepper <drepper@gmail.com>
16264
fd52bc6d
UD
16265 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16266 the three constants needed as parameters. Drop the others.
16267 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16268 __m128i_strloadu_tolower.
52e4b9eb
UD
16269 Create and initialize variable zero and use it in all the places
16270 where _mm_setzero_si128 was used.
fd52bc6d 16271
a5b81e1f
UD
16272 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16273 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16274 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16275 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16276 anymore.
16277 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16278 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16279 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16280 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16281 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16282 __mpranred, __mptan.
16283 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16284 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16285 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16286 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16287 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16288 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16291 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16292
b4343346
AS
162932011-10-28 Andreas Schwab <schwab@redhat.com>
16294
0c92d8a8
AS
16295 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16296 redefine if SHARED.
16297 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16298
b4343346
AS
16299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16300 wide char related routines to wcsmbs subdir.
16301
3871f58f
AS
163022011-10-27 Andreas Schwab <schwab@redhat.com>
16303
16304 [BZ #13344]
16305 * misc/sys/cdefs.h (__THROWNL): Define.
16306 * posix/unistd.h: Use __THREADNL instead of __THREAD
16307 for memory synchronization functions.
16308
94d44d9f
RM
163092011-10-26 Roland McGrath <roland@hack.frob.com>
16310
21b64b15 16311 [BZ #13349]
94d44d9f
RM
16312 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16313 doesn't exist.
16314 * manual/stdio.texi (Obstack Streams): Node removed.
16315
f6ce9294
AS
163162011-10-26 Andreas Schwab <schwab@redhat.com>
16317
80479147
AS
16318 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16320 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16321
f6ce9294
AS
16322 * math/math_private.h (math_force_eval): Allow non-addressable
16323 arguments.
16324 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16325
618280a1
UD
163262011-10-25 Ulrich Drepper <drepper@gmail.com>
16327
e0016b11
UD
16328 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16329 file is not needed.
16330
16331 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16332 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16333 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16334 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16335 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16336 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16337 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16338 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16339 Add AVX variants.
16340 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16341 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16342 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16343 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16344 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16345 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16346 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16347 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16348 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16349 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16350 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16351 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16352 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16353 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16355 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16356 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16357 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16358 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16359
16360 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16361 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16362
618280a1
UD
16363 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16364 place. Use VEX encoding when compiling for AVX.
16365
37822576
AS
163662011-10-25 Andreas Schwab <schwab@redhat.com>
16367
1f1e1947
AS
16368 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16369 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16370
37822576
AS
16371 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16372
31ea014d
UD
163732011-10-25 Ulrich Drepper <drepper@gmail.com>
16374
d7826aa1 16375 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16376 useless if() expression.
d7826aa1
UD
16377 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16378 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16379 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16380 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16381 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16382 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16383 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16384 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16385 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16386 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16387 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16388 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16389 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16390 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16391 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16392 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16393 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16395 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16396
31ea014d
UD
16397 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16398
16437fec
AS
163992011-10-25 Andreas Schwab <schwab@redhat.com>
16400
16401 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16402 condition.
16403 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16404
31d3cc00
UD
164052011-10-25 Ulrich Drepper <drepper@gmail.com>
16406
16407 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16408 .text section. Avoid duplicate constants.
16409 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16410 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16411 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16413 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16417 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16418 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16419 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16420 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16421 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16422 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16423 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16424 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16425 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16426 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16427 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16429 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16430 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16431 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16432 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16433 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16434 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16435 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16436 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16438 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16439 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16440 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16441 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16442 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16443 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16444 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16445 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16446 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16447 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16448 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16449 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16451 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16452 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16453 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16454
58985aa9
UD
164552011-10-24 Ulrich Drepper <drepper@gmail.com>
16456
202c9deb
UD
16457 * sysdeps/x86_64/dla.h: Move to ...
16458 * sysdeps/x86_64/fpu/dla.h: ...here.
16459 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16460 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16461
af968f62
UD
16462 * config.make.in: Add have-mfma4 entry.
16463 * configure.in: Substitute libc_cv_cc_fma4.
16464 * math/Makefile (dbl-only-routines): Add sincostab.
16465 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16466 Use __sincostab not sincos.
16467 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16468 name is a macro.
16469 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16473 using __copysign.
16474 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16475 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16476 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16477 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16478 and __inv.
16479 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16480 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16481 __copysign.
16482 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16483 define aliases when function name is a macro.
16484 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16485 sysdeps/ieee754/dbl-64/sincos.tbl.
16486 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16487 fma4-enabled routines.
16488 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16489 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16490 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16491 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16492 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16493 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16494 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16495 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16496 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16497 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16498 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16499 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16500 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16501 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16502 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16503 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16504 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16505 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16506 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16507 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16508 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16509 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16511 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16512 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16513 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16514 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16515 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16516 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16517 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16518
58985aa9
UD
16519 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16520 rename.
16521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16529
a201fbcf
AS
165302011-10-24 Andreas Schwab <schwab@redhat.com>
16531
16532 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16533
fc2ee42a
LD
165342011-10-23 Ulrich Drepper <drepper@gmail.com>
16535
bb3129bd
UD
16536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16537
0275fff8
UD
16538 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16539 prediction.
16540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16541
2fa2ae85
UD
16542 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16543 Remove unused variable magic_bits.
16544 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16545
fc2ee42a
LD
16546 * string/strnlen.c: Define and use STRNLEN macro.
16547 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16548 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16549 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16550 * wcsmbs/wcslen.c: Define and use WCSLEN.
16551 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16552 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16553 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16554 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16555 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16556 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16557 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16558
ce7dd29f
LD
165592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16560
16561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16562 strnlen-sse2-no-bsf.
16563 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16565 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16566 Add strnlen support.
16567 (USE_AS_STRNLEN): New macro.
16568 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16569 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16570 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16571 * sysdeps/x86_64/wcslen.S: New file.
16572
979c70a3
MZ
165732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16574
16575 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16576 XMM-moves are used for copying on small sizes.
16577
2d09f82f
LD
165782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16579
16580 * wcsmbs/Makefile (strop-tests): Add wcschr.
16581 * wcsmbs/test-wcschr.c: New file.
16582 * string/test-strchr.c: Update.
16583 Add wcschr support.
16584 (WIDE): New macro.
16585
619fccca
LD
165862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16587
2d09f82f 16588 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16589 * wcsmbs/test-wcslen.c: New file.
16590 * string/test-strlen.c: Update.
16591 Add wcslen support.
16592 (WIDE): New macro.
16593
09f699ea
UD
165942011-10-23 Ulrich Drepper <drepper@gmail.com>
16595
16596 * po/it.po: Update from translation team.
16597
95584d3b
LD
165982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16599
16600 * sysdeps/x86_64/wcscmp.S: Update.
16601 Fix wrong comparison semantics.
16602 wcscmp shall use signed comparison not unsigned.
16603 Don't use substraction to avoid overflow bug.
16604 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16605 * wcsmbc/wcscmp.c: Likewise.
16606 * string/test-strcmp.c: Likewise.
16607 Add new tests to check cases with negative values.
16608
c8b3296b
UD
166092011-10-23 Ulrich Drepper <drepper@gmail.com>
16610
16611 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16612 * sysdeps/x86_64/dla.h: ...here. New file.
16613 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16622
246ad57a
AS
166232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16624
16625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16626 __ynl_finite aliases.
16627
a1a87169
UD
166282011-10-22 Ulrich Drepper <drepper@gmail.com>
16629
0d355eb7
UD
16630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16631
a1a87169
UD
16632 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16633 define DLA_FMA.
16634 [DLA_FMA] (EMULV): Use DLA_FMA.
16635 [DLA_FMA] (MUL12): Use EMULV.
16636 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16637 that are not needed.
16638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16645
ee2aafe0
AS
166462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16647
16648 * math/s_nan.c: Undef __nan.
16649 * math/s_nanf.c: Undef __nanf.
16650 * math/s_nanl.c: Undef __nanl.
16651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16652 "math_private.h".
16653
bc62c2fb
UD
166542011-10-22 Ulrich Drepper <drepper@gmail.com>
16655
77425c63
UD
16656 * math/s_catan.c: Add branch predictions.
16657 * math/s_catanf.c: Likewise.
16658 * math/s_catanh.c: Likewise.
16659 * math/s_catanhf.c: Likewise.
16660 * math/s_catanhl.c: Likewise.
16661 * math/s_catanl.c: Likewise.
16662 * math/s_cexp.c: Likewise.
16663 * math/s_cexpf.c: Likewise.
16664 * math/s_cexpl.c: Likewise.
16665 * math/s_clog.c: Likewise.
16666 * math/s_clog10.c: Likewise.
16667 * math/s_clog10f.c: Likewise.
16668 * math/s_clog10l.c: Likewise.
16669 * math/s_clogf.c: Likewise.
16670 * math/s_clogl.c: Likewise.
16671 * math/s_csqrt.c: Likewise.
16672 * math/s_csqrtf.c: Likewise.
16673 * math/s_csqrtl.c: Likewise.
16674 * math/s_ctanf.c: Likewise.
16675 * math/s_ctanh.c: Likewise.
16676 * math/s_ctanhf.c: Likewise.
16677 * math/s_ctanhl.c: Likewise.
16678 * math/s_ctanl.c: Likewise.
16679
bc62c2fb
UD
16680 * math/math_private.h: Define __nan, __nanf, __nanl.
16681 * math/s_cacosh.c: Include <math_private.h>.
16682 * math/s_cacoshl.c: Likewise.
16683 * math/s_casinh.c: Likewise.
16684 * math/s_casinhf.c: Likewise.
16685 * math/s_casinhl.c: Likewise.
16686 * math/s_ccos.c: Rely entire on ccosh.
16687 * math/s_ccosf.c: Rely entire on ccoshf.
16688 * math/s_ccosl.c: Rely entirely on ccoshl.
16689 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16690 Remove tests for FE_INVALID.
16691 * math/s_ccoshf.c: Likewise.
16692 * math/s_ccoshl.c: Likewise.
16693 * math/s_csin.c: Likewise.
16694 * math/s_csinf.c: Likewise.
16695 * math/s_csinh.c Likewise.
16696 * math/s_csinhf.c: Likewise.
16697 * math/s_csinhl.c: Likewise.
16698 * math/s_csinl.c: Likewise.
16699 * math/s_ctan.c: Likewise.
16700 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16701 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16702 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16703
8ec250a4
UD
167042011-10-21 Ulrich Drepper <drepper@gmail.com>
16705
c196fed8
UD
16706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16707 compilation problems.
16708
8ec250a4
UD
16709 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16710 __builtin_expect.
16711
8d4f46c6
UD
167122011-10-20 Ulrich Drepper <drepper@gmail.com>
16713
ed72b654
UD
16714 * sysdeps/i386/configure.in: Test for -mfma4 option.
16715 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16716 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16717 COMMON_CPUID_INDEX_80000001.
16718 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16719 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16720 use it if FMA3 is not supported.
16721 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16722
8d4f46c6
UD
16723 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16724 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16725
d45c60c2
AS
167262011-10-20 Andreas Schwab <schwab@redhat.com>
16727
16728 [BZ #12892]
16729 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16730 it would create a cycle with a link time dependency.
16731
d9a4d2ab
UD
167322011-10-19 Ulrich Drepper <drepper@gmail.com>
16733
855d1560
UD
16734 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16735 instruction.
16736 * string/Makefile (strop-tests): Add rawmemchr.
16737 * string/test-rawmemchr.c: New file.
16738
d9a4d2ab
UD
16739 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16741 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16742 when compiling str{,n}casecmp and when AVX is available. Hook up
16743 new optimized code in initializers.
16744
8f3b1ffe
AS
167452011-10-19 Andreas Schwab <schwab@redhat.com>
16746
16747 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16748 __feraiseexcept instead of feraiseexcept.
16749
d38f1dba
UD
167502011-10-18 Ulrich Drepper <drepper@gmail.com>
16751
d9a8d0ab
UD
16752 * math/math_private.h: Define defaults for libc_fetestexcept and
16753 libc_feupdateenv.
16754 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16755 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16756 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16757 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16758 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16759 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16760 libc_fetestexcept and libc_feupdateenv.
16761
4855e3dd
UD
16762 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16763 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16764 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16765 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16766 libc_feholdexcept_setround.
16767
581d30e3
UD
16768 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16769 Add s_nearbyint-c and s_nearbyintf-c.
16770 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16771 nearbyintf inlines.
16772 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16773 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16774 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16775 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16776
d38f1dba
UD
16777 * math/math_private.h: Define defaults for libc_fegetround,
16778 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16779 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16780 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16781 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16782 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16783 standard functions.
16784 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16785 Remove comments and hacks for old compiler versions.
16786 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16787 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16788 libc_feholdexceptl.
16789
caa6c9d8
AS
167902011-10-18 Andreas Schwab <schwab@redhat.com>
16791
16792 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
16793 (__feraiseexcept_renamed): Add __NTH.
16794 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
16795 namespace violations.
16796
97c066e6
UD
167972011-10-17 Ulrich Drepper <drepper@gmail.com>
16798
99ce7b04
UD
16799 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16800
1004d182
UD
16801 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16802
228a984d
UD
16803 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16804 recently added interfaces.
16805 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16806
c8553a6a
UD
16807 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16808 about macro parameter expansion.
16809
ed22dcf6
UD
16810 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16811 __NO_MATH_INLINES is defined. Cleanups.
16812
16813 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16814 and __floorf is target has SSE4.1.
16815 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16816 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16817 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16818 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16819
b171c137
UD
16820 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16821 name.
16822 (floorf): Likewise.
16823
97c066e6
UD
16824 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16825
629f62ef
AS
168262011-10-17 Andreas Schwab <schwab@redhat.com>
16827
49a43d80
AS
16828 * misc/sys/cdefs.h: Fix last change.
16829
629f62ef
AS
16830 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16831 database lookup.
16832
e453f6cd
UD
168332011-10-16 Ulrich Drepper <drepper@gmail.com>
16834
aa78043a
UD
16835 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16836
ad0f5cad
UD
16837 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16840 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16841 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16842 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16843 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16844 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16845 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16846 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16847 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16848 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16849 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16850 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16851 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16852 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16853 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16854 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16855 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16856 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16857 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16858 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16859
16860 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16861 ceil, ceilf, floor, floorf.
16862
16863 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16864 Perform IRELATIVE relocations last.
16865
e453f6cd
UD
16866 * elf/do-rel.h: Add another parameter nrelative, replacing the
16867 local variable with the same name. Change name of the function
16868 to end in Rel or Rela (uppercase).
16869 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16870 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16871 elf_dynamic_do_##reloc function.
16872
fd5bdc09
UD
168732011-10-15 Ulrich Drepper <drepper@gmail.com>
16874
79b195b5
UD
16875 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16876 is sufficient, at least on modern CPUs.
16877
d4a28569
UD
16878 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16879
b61099b5
UD
16880 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16881 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16882
bcf01e6d
UD
16883 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16884 __expl_finite.
16885 * math/bits/math-finite.h: Add entries for exp.
16886 * math/e_expl.c: Add __*_finite alias.
16887 * sysdeps/i386/fpu/e_exp.S: Likewise.
16888 * sysdeps/i386/fpu/e_expf.S: Likewise.
16889 * sysdeps/i386/fpu/e_expl.c: Likewise.
16890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16891 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16892 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16893 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16894 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16895 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16896 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16897
ba1a0d59
UD
16898 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16899 is sufficient, at least on modern CPUs.
16900
fd5bdc09
UD
16901 * ctype/ctype-info.c (__ctype_init): Define.
16902 * include/ctype.h (__ctype_init): Declare.
16903 (__ctype_b_loc): The variable is always initialized.
16904 (__ctype_toupper_loc): Likewise.
16905 (__ctype_tolower_loc): Likewise.
16906 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16907 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16908
7872cfb0
AS
169092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16910
b468825a
AS
16911 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16912
7872cfb0
AS
16913 * configure.in: Also look in $cxxmachine/include for C++ system
16914 headers.
16915
be13f7bf
LD
169162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16917
16918 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16919 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16920 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16921 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16922 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16923 (USE_AS_WMEMCMP): New macro.
16924 Fixing indents.
16925 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16926 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16927 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16928 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16930 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16931 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16932 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16933 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16934 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16935 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16936 (USE_AS_WMEMCMP): New macro.
16937 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16938 * sysdeps/string/test-memcmp.c: Update.
16939 Fix simple_wmemcmp.
16940 Add new tests.
16941 * wcsmbs/wmemcmp.c: Update.
16942 (WMEMCMP): New macro.
16943 Fix overflow bug.
16944
556a2007
AJ
169452011-10-12 Andreas Jaeger <aj@suse.de>
16946
16947 [BZ #13268]
16948 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16949
538faaa7
UD
169502011-10-15 Ulrich Drepper <drepper@gmail.com>
16951
ab6737ff
UD
16952 * libio/iofwide.c (do_length): Avoid warning.
16953
538faaa7
UD
16954 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16955
396a21b1
UD
169562011-10-14 Ulrich Drepper <drepper@gmail.com>
16957
cdf2901f
UD
16958 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16959
38ad40ce
UD
16960 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16961 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16962 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16963 * sysdeps/i386/i686/fpu/e_log.S: New file.
16964 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16965 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16966
396a21b1
UD
16967 * ctype/ctype.h: Add support for inlined isXXX functions when
16968 compiling C++ code.
16969
6b1f68c9
AS
169702011-10-14 Andreas Schwab <schwab@redhat.com>
16971
349290c0
AS
16972 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16973
6b1f68c9
AS
16974 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16975
f2282d42
RM
169762011-10-13 Roland McGrath <roland@hack.frob.com>
16977
16978 [BZ #13291]
16979 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16980
5298ffa8
AS
169812011-10-13 Andreas Schwab <schwab@redhat.com>
16982
714fad23
AS
16983 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16984 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16985 feraiseexcept.
16986
81dcc7fb
AS
16987 * sysdeps/x86_64/memrchr.S: Check for zero size.
16988
5298ffa8
AS
16989 * string/stratcliff.c: Add memrchr tests.
16990
951fbcec
LD
169912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16992
16993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16994 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16995 rawmemchr-sse2 rawmemchr-sse2-bsf.
16996 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16997 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16998 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16999 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17000 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17001 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17002 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17003 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17004 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17005 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17006 * string/memrchr.c (MEMRCHR): New macro.
17007
0ac5ae23
UD
170082011-10-12 Ulrich Drepper <drepper@gmail.com>
17009
17010 Add integration with gcc's -ffinite-math-only and optimize wrapper
17011 functions in libm.
17012 * Versions.def: Define GLIBC_2.15 version for libm.
17013 * math/Makefile (headers): Add bits/math-finite.h.
17014 * math/bits/math-finite.h: New file.
17015 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17016 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17017 * math/e_acoshl.c: Add __*_finite alias.
17018 * math/e_acosl.c: Likewise.
17019 * math/e_asinl.c: Likewise.
17020 * math/e_atan2l.c: Likewise.
17021 * math/e_atanhl.c: Likewise.
17022 * math/e_coshl.c: Likewise.
17023 * math/e_exp10.c: Likewise.
17024 * math/e_exp10f.c: Likewise.
17025 * math/e_exp10l.c: Likewise.
17026 * math/e_exp2l.c: Likewise.
17027 * math/e_fmodl.c: Likewise.
17028 * math/e_gammal_r.c: Likewise.
17029 * math/e_hypotl.c: Likewise.
17030 * math/e_j0l.c: Likewise.
17031 * math/e_j1l.c: Likewise.
17032 * math/e_jnl.c: Likewise.
17033 * math/e_lgammal_r.c: Likewise.
17034 * math/e_log10l.c: Likewise.
17035 * math/e_log2l.c: Likewise.
17036 * math/e_logl.c: Likewise.
17037 * math/e_powl.c: Likewise.
17038 * math/e_sinhl.c: Likewise.
17039 * math/e_sqrtl.c: Likewise.
17040 * math/e_scalb.c: Completely rewritten and optimized.
17041 * math/e_scalbf.c: Likewise.
17042 * math/e_scalbl.c: Likewise.
17043 * math/w_acos.c: Likewise.
17044 * math/w_acosf.c: Likewise.
17045 * math/w_acosl.c: Likewise.
17046 * math/w_acosh.c: Likewise.
17047 * math/w_acoshf.c: Likewise.
17048 * math/w_acoshl.c: Likewise.
17049 * math/w_asin.c: Likewise.
17050 * math/w_asinf.c: Likewise.
17051 * math/w_asinl.c: Likewise.
17052 * math/w_atan2.c: Likewise.
17053 * math/w_atan2f.c: Likewise.
17054 * math/w_atan2l.c: Likewise.
17055 * math/w_atanh.c: Likewise.
17056 * math/w_atanhf.c: Likewise.
17057 * math/w_atanhl.c: Likewise.
17058 * math/w_exp10.c: Likewise.
17059 * math/w_exp10f.c: Likewise.
17060 * math/w_exp10l.c: Likewise.
17061 * math/w_fmod.c: Likewise.
17062 * math/w_fmodf.c: Likewise.
17063 * math/w_fmodl.c: Likewise.
17064 * math/w_j0.c: Likewise.
17065 * math/w_j0f.c: Likewise.
17066 * math/w_j0l.c: Likewise.
17067 * math/w_j1.c: Likewise.
17068 * math/w_j1f.c: Likewise.
17069 * math/w_j1l.c: Likewise.
17070 * math/w_jn.c: Likewise.
17071 * math/w_jnf.c: Likewise.
17072 * math/w_log.c: Likewise.
17073 * math/w_logf.c: Likewise.
17074 * math/w_logl.c: Likewise.
17075 * math/w_log10.c: Likewise.
17076 * math/w_log10f.c: Likewise.
17077 * math/w_log10l.c: Likewise.
17078 * math/w_log2.c: Likewise.
17079 * math/w_log2f.c: Likewise.
17080 * math/w_log2l.c: Likewise.
17081 * math/w_pow.c: Likewise.
17082 * math/w_powf.c: Likewise.
17083 * math/w_powl.c: Likewise.
17084 * math/w_remainder.c: Likewise.
17085 * math/w_remainderf.c: Likewise.
17086 * math/w_remainderl.c: Likewise.
17087 * math/w_scalb.c: Likewise.
17088 * math/w_scalbf.c: Likewise.
17089 * math/w_scalbl.c: Likewise.
17090 * math/w_sqrt.c: Likewise.
17091 * math/w_sqrtf.c: Likewise.
17092 * math/w_sqrtl.c: Likewise.
17093 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17094 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17095 used.
17096 * math/math_private.h: Declare __kernel_standard_f.
17097 * math/w_cosh.c: Remove cruft and optimize a bit.
17098 * math/w_coshf.c: Likewise.
17099 * math/w_coshl.c: Likewise.
17100 * math/w_exp2.c: Likewise.
17101 * math/w_exp2f.c: Likewise.
17102 * math/w_exp2l.c: Likewise.
17103 * math/w_hypot.c: Likewise.
17104 * math/w_hypotf.c: Likewise.
17105 * math/w_hypotl.c: Likewise.
17106 * math/w_lgamma.c: Likewise.
17107 * math/w_lgamma_r.c: Likewise.
17108 * math/w_lgammaf.c: Likewise.
17109 * math/w_lgammaf_r.c: Likewise.
17110 * math/w_lgammal.c: Likewise.
17111 * math/w_lgammal_r.c: Likewise.
17112 * math/w_sinh.c: Likewise.
17113 * math/w_sinhf.c: Likewise.
17114 * math/w_sinhl.c: Likewise.
17115 * math/w_tgamma.c: Likewise.
17116 * math/w_tgammaf.c: Likewise.
17117 * math/w_tgammal.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17120 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17121 Minor optimizations. Pretty printing. Remove cruft.
17122 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17123 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17125 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17126 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17127 * sysdeps/i386/fpu/e_asin.S: Likewise.
17128 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17129 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17130 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17131 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17132 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17133 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17134 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17135 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17136 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17137 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17138 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17139 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17140 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17141 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17142 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17143 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17144 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17145 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17146 * sysdeps/i386/fpu/e_log.S: Likewise.
17147 * sysdeps/i386/fpu/e_log10.S: Likewise.
17148 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17149 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17150 * sysdeps/i386/fpu/e_log2.S: Likewise.
17151 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17152 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17153 * sysdeps/i386/fpu/e_logf.S: Likewise.
17154 * sysdeps/i386/fpu/e_logl.S: Likewise.
17155 * sysdeps/i386/fpu/e_pow.S: Likewise.
17156 * sysdeps/i386/fpu/e_powf.S: Likewise.
17157 * sysdeps/i386/fpu/e_powl.S: Likewise.
17158 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17159 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17160 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17161 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17162 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17164 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17165 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17166 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17168 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17172 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17173 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17174 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17175 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17176 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17177 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17181 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17184 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17188 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17189 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17190 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17191 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17192 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17193 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17194 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17195 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17196 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17198 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17199 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17200 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17201 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17202 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17203 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17204 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17205 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17206 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17207 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17208 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17244 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17246 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17247 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17248 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17250 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17251 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17252 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17253 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17255 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17258 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17259 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17260 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17261 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17262 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17263 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17264 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17265 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17266 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17267 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17268 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17269 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17270 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17271 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17272 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17273 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17274 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17275 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17276 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17277 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17278 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17279 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17280 (__isnanf): Likewise.
17281 (__isinf_ns): Likewise.
17282 (__isinf_nsf): Likewise.
17283 (__finite): Likewise.
17284 (__finitef): Likewise.
17285 (__ieee754_sqrt): Define as macro.
17286 (__ieee754_sqrtf): Define as macro.
17287 (__ieee754_sqrtl): Define as macro.
17288 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17289 inlined copy.
17290 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17291 __FINITE_MATH_ONLY__ consistent.
17292 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17293
12cc2fcd
AS
172942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17295
a843a204
AS
17296 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17297 of rawmemchr.
17298
12cc2fcd
AS
17299 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17300
c853acd5
UD
173012011-10-09 Ulrich Drepper <drepper@gmail.com>
17302
17303 * po/ja.po: Update from translation team.
17304
c658d255
RM
173052011-10-08 Roland McGrath <roland@hack.frob.com>
17306
110946e4
RM
17307 * locale/programs/locarchive.c (prepare_address_space): New function.
17308 (create_archive, enlarge_archive, open_archive): Use it.
17309
50604220
RM
17310 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17311 inside [SHARED], where it is used.
17312
c658d255
RM
17313 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17314
17315 * nss/getent.c (netgroup_keys): Remove unused variable.
17316 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17317
6a621eb7
UD
173182011-10-08 Ulrich Drepper <drepper@gmail.com>
17319
7edb55ce
UD
17320 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17321 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17323 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17324 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17325 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17326 * math/Makefile (libm-calls): Add s_isinf_ns.
17327 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17328 * math/multc3.c: Likewise.
17329 * math/s_casin.c: Likewise.
17330 * math/s_casinf.c: Likewise.
17331 * math/s_casinl.c: Likewise.
17332 * math/s_ccos.c: Likewise.
17333 * math/s_ccosf.c: Likewise.
17334 * math/s_ccosl.c: Likewise.
17335 * math/s_ctan.c: Likewise.
17336 * math/s_ctanf.c: Likewise.
17337 * math/s_ctanh.c: Likewise.
17338 * math/s_ctanhf.c: Likewise.
17339 * math/s_ctanhl.c: Likewise.
17340 * math/s_ctanl.c: Likewise.
17341 * math/w_fmod.c: Likewise.
17342 * math/w_fmodf.c: Likewise.
17343 * math/w_fmodl.c: Likewise.
17344 * math/w_remainder.c: Likewise.
17345 * math/w_remainderf.c: Likewise.
17346 * math/w_remainderl.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17348 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17351 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17352 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17353 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17354 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17355
187da0ae
UD
17356 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17357 of the number.
17358 * stdio-common/printf_fphex.c: Likewise.
17359 * stdio-common/printf_size.c: Likewise.
17360
9277c064
UD
17361 * math/e_exp10.c: Include math_private.h using <...> not "...".
17362 * math/e_exp10f.c: Likewise.
17363 * math/e_exp10l.c: Likewise.
17364 * math/e_exp2l.c: Likewise.
17365 * math/e_j0l.c: Likewise.
17366 * math/e_j1l.c: Likewise.
17367 * math/e_jnl.c: Likewise.
17368 * math/e_lgammal_r.c: Likewise.
17369 * math/e_rem_pio2l.c: Likewise.
17370 * math/e_scalb.c: Likewise.
17371 * math/e_scalbf.c: Likewise.
17372 * math/e_scalbl.c: Likewise.
17373 * math/k_cosl.c: Likewise.
17374 * math/k_sinl.c: Likewise.
17375 * math/k_tanl.c: Likewise.
17376 * math/s_cacoshf.c: Likewise.
17377 * math/s_catan.c: Likewise.
17378 * math/s_catanf.c: Likewise.
17379 * math/s_catanh.c: Likewise.
17380 * math/s_catanhf.c: Likewise.
17381 * math/s_catanhl.c: Likewise.
17382 * math/s_catanl.c: Likewise.
17383 * math/s_ccosh.c: Likewise.
17384 * math/s_ccoshf.c: Likewise.
17385 * math/s_ccoshl.c: Likewise.
17386 * math/s_cexp.c: Likewise.
17387 * math/s_cexpf.c: Likewise.
17388 * math/s_cexpl.c: Likewise.
17389 * math/s_clog.c: Likewise.
17390 * math/s_clog10.c: Likewise.
17391 * math/s_clog10f.c: Likewise.
17392 * math/s_clog10l.c: Likewise.
17393 * math/s_clogf.c: Likewise.
17394 * math/s_clogl.c: Likewise.
17395 * math/s_csin.c: Likewise.
17396 * math/s_csinf.c: Likewise.
17397 * math/s_csinh.c: Likewise.
17398 * math/s_csinhf.c: Likewise.
17399 * math/s_csinhl.c: Likewise.
17400 * math/s_csinl.c: Likewise.
17401 * math/s_csqrt.c: Likewise.
17402 * math/s_csqrtf.c: Likewise.
17403 * math/s_csqrtl.c: Likewise.
17404 * math/s_ctan.c: Likewise.
17405 * math/s_ctanf.c: Likewise.
17406 * math/s_ctanh.c: Likewise.
17407 * math/s_ctanhf.c: Likewise.
17408 * math/s_ctanhl.c: Likewise.
17409 * math/s_ctanl.c: Likewise.
17410 * math/s_ldexp.c: Likewise.
17411 * math/s_ldexpf.c: Likewise.
17412 * math/s_ldexpl.c: Likewise.
17413 * math/s_significand.c: Likewise.
17414 * math/s_significandf.c: Likewise.
17415 * math/s_significandl.c: Likewise.
17416 * math/w_acos.c: Likewise.
17417 * math/w_acosf.c: Likewise.
17418 * math/w_acosh.c: Likewise.
17419 * math/w_acoshf.c: Likewise.
17420 * math/w_acoshl.c: Likewise.
17421 * math/w_acosl.c: Likewise.
17422 * math/w_asin.c: Likewise.
17423 * math/w_asinf.c: Likewise.
17424 * math/w_asinl.c: Likewise.
17425 * math/w_atan2.c: Likewise.
17426 * math/w_atan2f.c: Likewise.
17427 * math/w_atan2l.c: Likewise.
17428 * math/w_atanh.c: Likewise.
17429 * math/w_atanhf.c: Likewise.
17430 * math/w_atanhl.c: Likewise.
17431 * math/w_cosh.c: Likewise.
17432 * math/w_coshf.c: Likewise.
17433 * math/w_coshl.c: Likewise.
17434 * math/w_dremf.c: Likewise.
17435 * math/w_exp10.c: Likewise.
17436 * math/w_exp10f.c: Likewise.
17437 * math/w_exp10l.c: Likewise.
17438 * math/w_exp2.c: Likewise.
17439 * math/w_exp2f.c: Likewise.
17440 * math/w_fmod.c: Likewise.
17441 * math/w_fmodf.c: Likewise.
17442 * math/w_fmodl.c: Likewise.
17443 * math/w_hypot.c: Likewise.
17444 * math/w_hypotf.c: Likewise.
17445 * math/w_hypotl.c: Likewise.
17446 * math/w_j0.c: Likewise.
17447 * math/w_j0f.c: Likewise.
17448 * math/w_j0l.c: Likewise.
17449 * math/w_j1.c: Likewise.
17450 * math/w_j1f.c: Likewise.
17451 * math/w_j1l.c: Likewise.
17452 * math/w_jn.c: Likewise.
17453 * math/w_jnf.c: Likewise.
17454 * math/w_jnl.c: Likewise.
17455 * math/w_lgamma.c: Likewise.
17456 * math/w_lgamma_r.c: Likewise.
17457 * math/w_lgammaf.c: Likewise.
17458 * math/w_lgammaf_r.c: Likewise.
17459 * math/w_lgammal.c: Likewise.
17460 * math/w_lgammal_r.c: Likewise.
17461 * math/w_log.c: Likewise.
17462 * math/w_log10.c: Likewise.
17463 * math/w_log10f.c: Likewise.
17464 * math/w_log10l.c: Likewise.
17465 * math/w_log2.c: Likewise.
17466 * math/w_log2f.c: Likewise.
17467 * math/w_log2l.c: Likewise.
17468 * math/w_logf.c: Likewise.
17469 * math/w_logl.c: Likewise.
17470 * math/w_pow.c: Likewise.
17471 * math/w_powf.c: Likewise.
17472 * math/w_powl.c: Likewise.
17473 * math/w_remainder.c: Likewise.
17474 * math/w_remainderf.c: Likewise.
17475 * math/w_remainderl.c: Likewise.
17476 * math/w_scalb.c: Likewise.
17477 * math/w_scalbf.c: Likewise.
17478 * math/w_scalbl.c: Likewise.
17479 * math/w_sinh.c: Likewise.
17480 * math/w_sinhf.c: Likewise.
17481 * math/w_sinhl.c: Likewise.
17482 * math/w_sqrt.c: Likewise.
17483 * math/w_sqrtf.c: Likewise.
17484 * math/w_sqrtl.c: Likewise.
17485 * math/w_tgamma.c: Likewise.
17486 * math/w_tgammaf.c: Likewise.
17487 * math/w_tgammal.c: Likewise.
17488
6a621eb7
UD
17489 * po/ja.po: Update from translation team.
17490
bf582445
AJ
174912011-09-29 Andreas Jaeger <aj@suse.de>
17492
f9efbf3a
AJ
17493 [BZ #13179]
17494 * sunrpc/netname.c (netname2host): Fix logic.
17495
bf582445
AJ
17496 [BZ #6779]
17497 [BZ #6783]
17498 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17499 correctly.
17500 * math/w_remainder.c (__remainder): Likewise.
17501 * math/w_remainderf.c (__remainderf): Likewise.
17502 * math/libm-test.inc (remainder_test): Add test cases.
17503
48693bea
AK
175042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17505
17506 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17507 sdiv_qrnnd.
17508
42622229
LD
175092011-10-07 Ulrich Drepper <drepper@gmail.com>
17510
17511 * string/test-memcmp.c: Avoid unncessary #defines.
17512 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17513
093ecf92
LD
175142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17515
17516 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17517 Use new sse2 version for core i3 - i7 as it's faster
17518 than sse42 version.
17519 (bit_Prefer_PMINUB_for_stringop): New.
17520 * sysdeps/x86_64/rawmemchr.S: Update.
17521 Replace with faster SSE2 version.
17522 * sysdeps/x86_64/memrchr.S: New file.
17523 * sysdeps/x86_64/memchr.S: Update.
17524 Replace with faster SSE2 version.
17525
fde56e5c
MP
175262011-09-12 Marek Polacek <mpolacek@redhat.com>
17527
17528 * elf/dl-load.c (lose): Add cast to avoid warning.
17529
21fd49a9
UD
175302011-10-07 Ulrich Drepper <drepper@gmail.com>
17531
5a06e643
UD
17532 * po/ca.po: Update from translation team.
17533
684ae515
UD
17534 * inet/getnetgrent_r.c: Hook up nscd.
17535 * nscd/Makefile (routines): Add nscd_netgroup.
17536 (nscd-modules): Add netgroupcache.
17537 (CFLAGS-netgroupcache.c): Define.
17538 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17539 (cache_search): Add const to second parameter.
17540 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17541 INNETGR.
17542 (dbs): Add netgrdb entry.
17543 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17544 (verify_persistent_db): Handle netgrdb.
17545 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17546 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17547 GETFDNETGR.
17548 (netgroup_response_header): Define.
17549 (innetgroup_response_header): Define.
17550 (datahead): Add netgroup_response_header and innetgroup_response_header
17551 elements.
17552 * nscd/nscd.conf: Add entries for netgroup cache.
17553 * nscd/nscd.h (dbtype): Add netgrdb.
17554 (_PATH_NSCD_NETGROUP_DB): Define.
17555 (netgroup_iov_disabled): Declare.
17556 (xmalloc, xcalloc, xrealloc): Move declarations here.
17557 (cache_search): Adjust prototype.
17558 Add netgroup-related prototypes.
17559 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17560 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17561 (__nscd_innetgr): Declare.
17562 * nscd/selinux.c (perms): Use access_vector_t as element type and
17563 add netgroup-related initializers.
17564 * nscd/netgroupcache.c: New file.
17565 * nscd/nscd_netgroup.c: New file.
17566 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17567 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17568 For four parameters use innetgr.
17569 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17570 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17571 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17572 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17573
21fd49a9
UD
17574 * nscd/connections.c (register_traced_file): Don't register file
17575 for disabled databases.
17576
054c0457
UD
175772011-10-06 Ulrich Drepper <drepper@gmail.com>
17578
32b63198
UD
17579 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17580
054c0457
UD
17581 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17582 from tree and freeing node.
17583
64031225
JO
175842011-09-25 Jiri Olsa <jolsa@redhat.com>
17585
17586 * nss/nsswitch.c (__nss_database_lookup): Handle
17587 nss_parse_service_list out of memory case.
17588
0490345c
JO
175892011-09-15 Jiri Olsa <jolsa@redhat.com>
17590
17591 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17592 out of memory case.
17593
3a62d00d
AS
175942011-10-04 Andreas Schwab <schwab@redhat.com>
17595
17596 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17597 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17598 pass it down.
17599 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17600 elf_machine_rela, elf_machine_lazy_rel.
17601 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17602 (ELF_DYNAMIC_DO_REL): Likewise.
17603 (ELF_DYNAMIC_DO_RELA): Likewise.
17604 (ELF_DYNAMIC_RELOCATE): Likewise.
17605 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17606 to ELF_DYNAMIC_DO_REL.
17607 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17608 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17609 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17610 elf_machine_rela.
17611 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17612 skip_ifunc, don't call ifunc function if non-zero.
17613 (elf_machine_rela): Likewise.
17614 (elf_machine_lazy_rel): Likewise.
17615 (elf_machine_lazy_rela): Likewise.
17616 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17617 (elf_machine_lazy_rel): Likewise.
17618 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17619 Likewise.
17620 (elf_machine_lazy_rel): Likewise.
17621 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17622 Likewise.
17623 (elf_machine_lazy_rel): Likewise.
17624 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17625 (elf_machine_lazy_rel): Likewise.
17626 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17627 (elf_machine_lazy_rel): Likewise.
17628 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17629 (elf_machine_lazy_rel): Likewise.
17630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17631 (elf_machine_lazy_rel): Likewise.
17632 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17633 (elf_machine_lazy_rel): Likewise.
17634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17635 (elf_machine_lazy_rel): Likewise.
17636
68577918
UD
176372011-09-28 Ulrich Drepper <drepper@gmail.com>
17638
17639 * nss/nss_files/files-init.c (_nss_files_init): Use static
17640 initialization for all the *_traced_file variables.
17641
68822d74
AS
176422011-09-28 Andreas Schwab <schwab@redhat.com>
17643
17644 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17645
2056100b
RM
176462011-09-27 Roland McGrath <roland@hack.frob.com>
17647
17648 [BZ #13226]
17649 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17650
32c76b63
AS
176512011-09-27 Andreas Schwab <schwab@redhat.com>
17652
17653 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17654 Reread the line before reparsing it.
17655
bf972c9d
AS
176562011-09-26 Andreas Schwab <schwab@redhat.com>
17657
17658 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17659
e057a1b5
JM
176602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17661 Maxim Kuvyrkov <maxim@codesourcery.com>
17662 Joseph Myers <joseph@codesourcery.com>
17663
17664 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17665 if needed for __stack_chk_guard.
17666
bc7e1c36
RM
176672011-09-19 Roland McGrath <roland@hack.frob.com>
17668
ecb1482f
RM
17669 * sysdeps/posix/spawni.c (script_execute): Always define it.
17670 It will be optimized away if unused.
17671 (maybe_script_execute): New function.
17672 (__spawni): Call it.
17673
bc7e1c36
RM
17674 * Makerules: Don't include tls.make.
17675 (config-tls): Always set to thread.
17676 * tls.make.c: File removed.
17677
1c3b002b
MF
176782011-09-19 Mike Frysinger <vapier@gentoo.org>
17679
17680 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17681 * config.make.in (CPPFLAGS-config): New substituted variable.
17682
2840865d
UD
176832011-09-15 Ulrich Drepper <drepper@gmail.com>
17684
88738eb6
UD
17685 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17686
cbf645a6 17687 [BZ #13192]
2840865d
UD
17688 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17689 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17690
b402e91a
RM
176912011-09-15 Roland McGrath <roland@hack.frob.com>
17692
17693 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17694 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17696 (CALL_FAIL): Likewise.
17697 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17698 (CALL_FAIL): Macro removed.
17699 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17700
4c1a1f71
UD
177012011-09-15 Ulrich Drepper <drepper@gmail.com>
17702
17703 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17704 for __FINITE_MATH_ONLY__ == 1.
17705
edc121be
AS
177062011-09-15 Andreas Schwab <schwab@redhat.com>
17707
17708 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17709 __ieee754_sqrt instead of sqrt.
17710 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17711 __ieee754_sqrtf instead of sqrtf.
17712 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17713 __floorf instead of floorf.
17714 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17715 __floorf, __truncf instead of floorf, truncf.
17716
cd205654
UD
177172011-09-14 Ulrich Drepper <drepper@gmail.com>
17718
ee4d0315
UD
17719 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17720
cd205654
UD
17721 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17722 __extern_always_inline.
17723 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17724 32-bit.
17725
48b67d71
AS
177262011-09-14 Andreas Schwab <schwab@redhat.com>
17727
17728 * elf/rtld.c (dl_main): Also relocate in dependency order when
17729 doing symbol dependency testing.
17730
1ae12c75
AS
177312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17732
17733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17734 Always define `refsym'.
17735
995a80df
AS
177362011-09-13 Andreas Schwab <schwab@redhat.com>
17737
e529793b
AS
17738 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17739 (__FD_ELT): Renamed from __FDELT.
17740 * misc/bits/select2.h (__FD_ELT): Likewise.
17741 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17742 __FD_MASK instead of __FDELT, __FDMASK.
17743 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17744 Likewise.
17745 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17746 Likewise.
17747
52d4fef8
AS
17748 * elf/Makefile (gen-ldd): Fix pattern.
17749
995a80df
AS
17750 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17751 (init_tls): Likewise.
17752
8682f8b0
UD
177532011-09-12 Ulrich Drepper <drepper@gmail.com>
17754
17755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17756
de82006d
AS
177572011-09-12 Andreas Schwab <schwab@redhat.com>
17758
a7c8e6a1
AS
17759 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17760 `struct cmsghdr *' instead of `void *'.
17761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17762 Likewise.
17763
0f31fe77
AS
177642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17765
17766 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17767 if non-absolute.
17768 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17769 ldd_rewrite_script.
0f31fe77 17770
32b4c839
UD
177712011-09-11 Ulrich Drepper <drepper@gmail.com>
17772
83cd1420
UD
17773 * configure.in: Remove --with-tls option.
17774 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17775 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17776 out in case it is missing.
17777 * sysdeps/ia64/elf/configure.in: Likewise.
17778 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17779 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17780 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17781 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17782 * sysdeps/sh/elf/configure.in: Likewise.
17783 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17784 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17785 * sysdeps/x86_64/elf/configure.in: Likewise.
17786 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17787 * sysdeps/mach/hurd/tls.h: Likewise.
17788
633f745d
UD
17789 [BZ #13067]
17790 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17791
f318beb8
UD
17792 [BZ #13090]
17793 * configure.in: Fix use of AC_INIT.
17794
32b4c839
UD
17795 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17796
3ce1f295
UD
177972011-09-10 Ulrich Drepper <drepper@gmail.com>
17798
bb016596
UD
17799 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17800 __set_errno.
8e58439c
UD
17801 * malloc/hooks.c: Likewise.
17802
aebae053 17803 [BZ #11929]
02d46fc4
UD
17804 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17805 variables statically.
17806 (narenas): Initialize.
17807 (list_lock): Initialize.
bb016596
UD
17808 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17809 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
17810 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17811 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17812 Add initializers to main_arena and mp_.
17813 (malloc_state): Remove pagesize member. Change all users to use
17814 GLRO(dl_pagesize).
17815
17816 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17817 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17818 is always initialized.
17819
22a89187
UD
17820 * malloc/malloc.c: Removed unused configurations and dead code.
17821 * malloc/arena.c: Likewise.
17822 * malloc/hooks.c: Likewise.
02d46fc4 17823 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 17824
d063d164
UD
17825 * include/tls.h: Removed. USE___THREAD must always be defined.
17826 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17827 * elf/dl-libc.c: Likewise.
17828 * elf/dl-tsd.c: Likewise.
17829 * include/errno.h: Likewise.
17830 * include/netdb.h: Likewise.
17831 * include/resolv.h: Likewise.
17832 * inet/herrno-loc.c: Likewise.
17833 * inet/herrno.c: Likewise.
17834 * malloc/arena.c: Likewise.
17835 * malloc/hooks.c: Likewise.
17836 * malloc/malloc.c: Likewise.
17837 * resolv/res-state.c: Likewise.
17838 * resolv/res_libc.c: Likewise.
17839 * sysdeps/i386/dl-machine.h: Likewise.
17840 * sysdeps/ia64/dl-machine.h: Likewise.
17841 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17842 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17843 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17844 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17845 * sysdeps/sh/dl-machine.h: Likewise.
17846 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17847 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17848 * sysdeps/unix/i386/sysdep.S: Likewise.
17849 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17850 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17852 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17853 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17855 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17857 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17859 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17860 * sysdeps/x86_64/dl-machine.h: Likewise.
17861 * tls.make.c: Likewise.
17862
3ce1f295
UD
17863 * configure.in: Remove --with-__thread option. Make tests for
17864 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17865 tls_model attribute fail if no support is available. Remove
17866 USE_IN_LIBIO.
17867 * Makeconfig: Adjust for dropped configure option. All features are
17868 now mandatory.
17869 * Makerules: Likewise.
17870 * Versions.def: Likewise.
17871 * argp/argp-fmtstream.c: Likewise.
17872 * argp/argp-fmtstream.h: Likewise.
17873 * argp/argp-help.c: Likewise.
17874 * assert/assert.c: Likewise.
17875 * config.h.in: Likewise.
17876 * config.make.in: Likewise.
17877 * configure: Likewise.
17878 * configure.in: Likewise.
17879 * csu/Versions: Likewise.
17880 * csu/init.c: Likewise.
17881 * elf/tst-audit2.c: Likewise.
17882 * elf/tst-tls10.c: Likewise.
17883 * elf/tst-tls10.h: Likewise.
17884 * elf/tst-tls11.c: Likewise.
17885 * elf/tst-tls12.c: Likewise.
17886 * elf/tst-tls14.c: Likewise.
17887 * elf/tst-tlsmod11.c: Likewise.
17888 * elf/tst-tlsmod12.c: Likewise.
17889 * elf/tst-tlsmod13.c: Likewise.
17890 * elf/tst-tlsmod13a.c: Likewise.
17891 * elf/tst-tlsmod14a.c: Likewise.
17892 * elf/tst-tlsmod15b.c: Likewise.
17893 * elf/tst-tlsmod16a.c: Likewise.
17894 * elf/tst-tlsmod16b.c: Likewise.
17895 * elf/tst-tlsmod7.c: Likewise.
17896 * elf/tst-tlsmod8.c: Likewise.
17897 * elf/tst-tlsmod9.c: Likewise.
17898 * gmon/gmon.c: Likewise.
17899 * grp/fgetgrent_r.c: Likewise.
17900 * grp/putgrent.c: Likewise.
17901 * hurd/fopenport.c: Likewise.
17902 * include/libc-symbols.h: Likewise.
17903 * include/tls.h: Likewise.
17904 * intl/gettextP.h: Likewise.
17905 * intl/loadinfo.h: Likewise.
17906 * locale/global-locale.c: Likewise.
17907 * locale/localeinfo.h: Likewise.
17908 * mach/devstream.c: Likewise.
17909 * malloc/arena.c: Likewise.
17910 * malloc/set-freeres.c: Likewise.
17911 * misc/err.c: Likewise.
17912 * misc/getttyent.c: Likewise.
17913 * misc/mntent_r.c: Likewise.
17914 * posix/getopt.c: Likewise.
17915 * posix/wordexp.c: Likewise.
17916 * pwd/fgetpwent_r.c: Likewise.
17917 * resolv/Versions: Likewise.
17918 * resolv/res_hconf.c: Likewise.
17919 * shadow/fgetspent_r.c: Likewise.
17920 * shadow/putspent.c: Likewise.
17921 * stdio-common/printf_fphex.c: Likewise.
17922 * stdio-common/tmpfile.c: Likewise.
17923 * stdlib/abort.c: Likewise.
17924 * stdlib/fmtmsg.c: Likewise.
17925 * sunrpc/auth_unix.c: Likewise.
17926 * sunrpc/clnt_perr.c: Likewise.
17927 * sunrpc/clnt_tcp.c: Likewise.
17928 * sunrpc/clnt_udp.c: Likewise.
17929 * sunrpc/clnt_unix.c: Likewise.
17930 * sunrpc/openchild.c: Likewise.
17931 * sunrpc/svc_simple.c: Likewise.
17932 * sunrpc/svc_tcp.c: Likewise.
17933 * sunrpc/svc_udp.c: Likewise.
17934 * sunrpc/svc_unix.c: Likewise.
17935 * sunrpc/xdr.c: Likewise.
17936 * sunrpc/xdr_array.c: Likewise.
17937 * sunrpc/xdr_rec.c: Likewise.
17938 * sunrpc/xdr_ref.c: Likewise.
17939 * sunrpc/xdr_stdio.c: Likewise.
17940
1248c1c4
PB
179412011-09-09 Ulrich Drepper <drepper@gmail.com>
17942
17943 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17944
179452011-07-03 Andreas Jaeger <aj@suse.de>
17946
17947 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17948 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17949 regenerate with gen-libm-tests.pl.
17950
179512010-05-12 Petr Baudis <pasky@suse.cz>
17952
17953 [BZ #11589]
17954 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17955 around j0() zero points by switching to j1().
17956 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17957 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17959 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17960
f22e1074
UD
179612011-09-09 Ulrich Drepper <drepper@gmail.com>
17962
f19009c1
UD
17963 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17964 instead of 0.
17965 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17966 instead of 0. .
17967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17968 Patch in part by Pavel Roskin <proski@gnu.org>.
17969
3f8cc204
UD
17970 [BZ #13138]
17971 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17972 realloc.
17973 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17974 Free memory block if necessary.
17975
f22e1074
UD
17976 [BZ #12847]
17977 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17978 be NULL. Don't lock in this case.
17979
0a2349f9
RM
179802011-09-09 Roland McGrath <roland@hack.frob.com>
17981
17982 * elf/elf.h (ELFOSABI_GNU): New macro.
17983 (ELFOSABI_LINUX): Define to that.
17984
f3cdd467
DZ
179852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17986
17987 * string/strncat.c (strncat): Undef the symbol in case it has been
17988 defined in bits/string.h.
17989
74718d13
UD
179902011-09-09 Ulrich Drepper <drepper@gmail.com>
17991
633e9e0f
UD
17992 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17993
0a2349f9 17994 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
17995 link map.
17996
f9924780
AJ
179972011-08-17 Andreas Jaeger <aj@suse.de>
17998
17999 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18000
7f5517aa
PP
180012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18002 Ian Lance Taylor <iant@google.com>
18003
18004 * math/libm-test.inc (lround_test): New testcase.
18005 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18006
762011fe
UD
180072011-09-08 Ulrich Drepper <drepper@gmail.com>
18008
92963737
UD
18009 * Makefile: Remove support for automatic cvs check-ins.
18010 * Makerules: Likewise.
18011 * config.make.in: Likewise.
18012 * configure.in: Likewise.
18013 * intl/Makefile: Likewise.
18014 * locale/Makefile: Likewise.
18015 * po/Makefile: Likewise.
18016 * posix/Makefile: Likewise.
18017 * sysdeps/gnu/Makefile: Likewise.
18018 * sysdeps/mach/hurd/Makefile: Likewise.
18019 * sysdeps/sparc/sparc32/Makefile: Likewise.
18020
b0727fd8
JS
18021 [BZ #13118]
18022 * posix/Makefile (bug-regex32-ENV): Define.
18023 Patch by John Stanley <jpsinthemix@verizon.net>.
18024
a0f33f99
UD
18025 * misc/Makefile (headers): Add bits/select2.h.
18026 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18027 * misc/bits/select2.h: New file.
18028 * include/bits/select2.h: New file.
18029 * debug/Makefile (routines): Add fdelt_chk.
18030 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18031 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18032 FD_ISSET.
18033 * debug/fdelt_chk.c: New file.
18034
762011fe
UD
18035 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18036 * wcsmbs/test-wmemcmp.c: Likewise.
18037 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18038 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18039
180402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18041
18042 * string/Makefile (strop-tests): Add memcmp.
18043 * string/test-wmemcmp.c: New file.
18044 * string/test-memcmp.c: Add wmemcmp support.
18045
7f513ec8
RM
180462011-09-08 Roland McGrath <roland@hack.frob.com>
18047
0442afb4
RM
18048 [BZ #13153]
18049 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18050 2011-07-19 change.
18051
7f513ec8
RM
18052 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18053 garbage value in a __mach_port_mod_refs call in the cases of the
18054 task-self and thread-self ports.
18055
a12b2239
ST
180562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18057
18058 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18059
610f9ab4
AS
180602011-09-08 Andreas Schwab <schwab@redhat.com>
18061
7f513ec8 18062 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18063
48882a1a
LD
180642011-09-07 Ulrich Drepper <drepper@gmail.com>
18065
b49865be
UD
18066 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18067
fdc86bc9
UD
18068 * elf/dl-libc.c (dlerror_run): Pass back error code from
18069 dl_catch_error.
18070
c966526a
UD
18071 [BZ #13123]
18072 * elf/dl-load.c (lose): Free l_origin if it is valid.
18073
48882a1a
LD
18074 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18075 names.
18076 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18079 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18080 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18081 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18082
77a2a8b4
AZ
180832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18084
18085 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18086 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18087 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18088 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18089 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18090 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18091 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18092 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18093 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18094 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18095
24f579d8
AM
180962011-08-15 Alan Modra <amodra@gmail.com>
18097
18098 [BZ #13092]
18099 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18100 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18101 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18102 ppc_mcount to static-only-routines.
18103 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18104 __mcount_internal.
18105 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18106 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18107
3d4837df
UD
181082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18109
18110 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18111 for finite and infinity parameters.
18112
22700377
WS
181132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18114
18115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18116 and add nop instructions for throughput optimization.
18117 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18118
5025581e
WS
181192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18120
18121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18122 aligned copy for power7 with vector-scalar instructions.
18123 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18124
08a300c9
L
181252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18126
18127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18128 AVX check.
18129
59178ef9
AS
181302011-09-07 Andreas Schwab <schwab@redhat.com>
18131
18132 [BZ #13144]
18133 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18134 last change.
18135
e38ba7ab
UD
181362011-09-07 Ulrich Drepper <drepper@gmail.com>
18137
18138 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18139 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18140 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18141 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18142 clock_gettime.
18143
d53a73ac
UD
181442011-09-06 Ulrich Drepper <drepper@gmail.com>
18145
fc8bffcc
UD
18146 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18147 Forgot to demangle the pointer.
18148
ceaa0c5d
UD
18149 * sysdeps/i386/sysdep.h: Define atom_text_section.
18150 * sysdeps/x86_64/sysdep.h: Likewise.
18151 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18152 section with atom_text_section.
18153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18154 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18155 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18156 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18157 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18158
a77d3c17
UD
18159 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18160 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18161 already be defined. Change to take two parameters and don't assign
18162 result to variable. Adjust all users.
18163 Define INTERNAL_GETTIME if not already defined.
18164 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18165 call.
18166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18167 HAVE_CLOCK_GETTIME_VSYSCALL.
18168 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18169
d53a73ac
UD
18170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18171 gettimeofday vsyscall, just use time.
18172
a8f84144
AS
181732011-09-06 Andreas Schwab <schwab@redhat.com>
18174
18175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18176 <errno.h>.
18177
ef606249
UD
181782011-09-06 Ulrich Drepper <drepper@gmail.com>
18179
18180 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18181 syscall on x86-64.
18182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18183 syscall.
18184 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18186 syscall if possible.
18187
6585cb60
UD
181882011-09-05 Ulrich Drepper <drepper@gmail.com>
18189
18190 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18191 e_ident. Don't pass to find_mapsXX.
18192 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18193
a5f524e4
LD
181942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18195
18196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18197 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18198 * sysdeps/x86_64/multiarch/strchr.S: Update.
18199 Check bit_slow_BSF bit.
18200 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18201 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18202 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18203
554881ef
UD
182042011-09-05 Ulrich Drepper <drepper@gmail.com>
18205
d96de963
UD
18206 [BZ #13134]
18207 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18208 before glibc 2.15.
18209 (tryshell): Define.
18210 (__spawni): Change last parameter to be flag. Test
18211 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18212 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18213 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18214 * posix/spawni.c: Likewise.
18215 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18216 * posix/spawnp.c: Likewise. Change normal version to use
18217 SPAWN_XFLAGS_USE_PATH.
18218 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18219 SPAWN_XFLAGS_TRY_SHELL.
18220
d48e5868
UD
18221 [BZ #13150]
18222 * posix/glob.h: Remove gcc 1.x support.
18223
554881ef
UD
18224 [BZ #13068]
18225 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18226
693fb948
LD
182272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18228
18229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18230 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18231 strrchr-sse2-bsf
18232 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18233 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18234 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18235 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18236 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18237 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18238
1b48c537
UD
182392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18240
49d42c37
UD
18241 * sysdeps/x86_64/wcscmp.S: New file.
18242
1b48c537
UD
18243 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18244 wcscmp-c wcscmp-sse2
18245 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18246 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18247 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18248 * wcsmbs/wcscmp.c: Allow renaming.
18249
15c95c5d
DM
182502011-09-05 David S. Miller <davem@davemloft.net>
18251
18252 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18253 stack slot, rather than the struct return pointer slot.
18254 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18255 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18258
2f0ad8f3
UD
182592011-09-05 Ulrich Drepper <drepper@gmail.com>
18260
d88ae418
UD
18261 * po/ja.po: Update from translation team.
18262
2f0ad8f3
UD
18263 [BZ #13144]
18264 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18265 kernel in 64-bit binaries.
18266
5f4318d1
DM
182672011-09-01 David S. Miller <davem@davemloft.net>
18268
18269 * elf/elf.h (HWCAP_SPARC_*): Move to..
18270 * sysdeps/sparc/sysdep.h: this new file and add new values.
18271 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18272 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18273 _DL_HWCAP_COUNT to 24.
18274 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18275 entries.
18276 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18277 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18278 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18280 instead of magic constants.
18281 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18282
3ba57516
DM
182832011-08-31 David S. Miller <davem@davemloft.net>
18284
18285 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18287 Reimplement to do errno handling inline.
18288 (SYSCALL_ERROR_HANDLER): New macro.
18289 (__SYSCALL_STRING): Do not do errno handling in asm.
18290 (__CLONE_SYSCALL_STRING): Delete.
18291 (__INTERNAL_SYSCALL_STRING): Delete.
18292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18293 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18294 (PSEUDO): Reimplement to do errno handling inline.
18295 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18296 (SYSCALL_ERROR_HANDLER): New macro.
18297 (__SYSCALL_STRING): Do not do errno handling in asm.
18298 (__CLONE_SYSCALL_STRING): Delete.
18299 (__INTERNAL_SYSCALL_STRING): Delete.
18300 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18301 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18302 i386.
18303 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18304 (inline_syscall*): Add 'err' argument.
18305 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18306 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18307 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18308 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18309
18310 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18311 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18312
2bc17433
AS
183132011-08-30 Andreas Schwab <schwab@redhat.com>
18314
18315 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18316
fbeb5f4d
JO
183172011-08-29 Jiri Olsa <jolsa@redhat.com>
18318
18319 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18320 directive.
18321
ad69cc26
DM
183222011-08-24 David S. Miller <davem@davemloft.net>
18323
18324 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18325
39dd69df
AS
183262011-08-24 Andreas Schwab <schwab@redhat.com>
18327
18328 * elf/Makefile: Add rules to build and run unload8 test.
18329 * elf/unload8.c: New file.
18330 * elf/unload8mod1.c: New file.
18331 * elf/unload8mod1x.c: New file.
18332 * elf/unload8mod2.c: New file.
18333 * elf/unload8mod3.c: New file.
18334
18335 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18336 it wasn't used.
18337
2c0b250a
DM
183382011-08-23 David S. Miller <davem@davemloft.net>
18339
18340 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18341 subtract stack bias.
18342 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18343 %sp not %fp in calculations.
18344 (_JMPBUF_UNWINDS_ADJ): Likewise.
18345
22044b48
DM
18346 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18347 (aio_suspend): Call it to force an exception region around the
18348 AIO_MISC_WAIT() invocation.
18349
2cae4995
AS
183502011-08-23 Andreas Schwab <schwab@redhat.com>
18351
18352 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18353 backslash.
18354
873a772e
AJ
183552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18356
18357 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18358 protection macro.
18359 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18360 and <dl-machine.h>.
18361 (Elf64_FuncDesc): Remove.
18362
25ad0df1
DM
183632011-08-22 David S. Miller <davem@davemloft.net>
18364
18365 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18366 sigaltstack check, add missing cfi directives.
18367 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18368 missing cfi directives, and sigaltstack handling.
18369
e888bcbe
AS
183702011-08-16 Andreas Schwab <schwab@redhat.com>
18371
18372 [BZ #11724]
18373 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18374 object is seen twice.
18375 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18376
18377 * elf/Makefile (distribute): Add tst-initorder2.c.
18378 (tests): Add tst-initorder2.
18379 (modules-names): Add tst-initorder2a tst-initorder2b
18380 tst-initorder2c tst-initorder2d. Add rules to build them.
18381 ($(objpfx)tst-initorder2.out): New rule.
18382 * elf/tst-initorder2.c: New file.
18383 * elf/tst-initorder2.exp: New file.
18384
87162f46
AS
183852011-08-22 Andreas Schwab <schwab@redhat.com>
18386
70538b7f
AS
18387 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18388
f55ffe58
AS
18389 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18390 dependencies back to end of function.
18391
87162f46
AS
18392 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18393 $(elfobjdir)/ld.so.
18394
91b392a4
UD
183952011-08-21 Ulrich Drepper <drepper@gmail.com>
18396
18397 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18398 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18400 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18401 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18402 of __vdso_gettimeofday.
18403 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18404 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18405 attribute_hidden.
18406 (_libc_vdso_platform_setup): Remove initialization of
18407 __vdso_gettimeofday and __vdso_time.
18408
5c43483f
UD
184092011-08-20 Ulrich Drepper <drepper@gmail.com>
18410
775a77e7
UD
18411 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18412 and fgetc_unlocked.
18413 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18414 getc_unlocked.
89f447ed 18415
49c74ba9
UD
18416 * elf/dl-open.c (add_to_global): Report additions to the global scope
18417 for LD_DEBUG=scopes.
18418 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18419 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18420
5c43483f
UD
18421 [BZ #13114]
18422 * stdio-common/Makefile (tests): Add bug24.
18423 * stdio-common/bug24.c: New file.
18424
a101b025
AJ
184252011-08-19 Andreas Jaeger <aj@suse.de>
18426
18427 [BZ #13114]
18428 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18429 non-existant file when using close-on-exec mode.
18430
c88f1766
UD
184312011-08-20 Ulrich Drepper <drepper@gmail.com>
18432
0276a718
UD
18433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18434 the very first instruction.
18435
c88f1766
UD
18436 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18437 the CFI state in the end.
18438 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18439 inclusion of dl-trampoline.h.
18440 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18441
51ccffa0
AS
184422011-08-19 Andreas Schwab <schwab@redhat.com>
18443
94d7165f
AS
18444 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18445 expectations for long double.
18446
51ccffa0
AS
18447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18448 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18449
fd708658 184502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18451
18452 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18453 artificual limit depends upon the system page size.
18454
44f0a71e
UD
184552011-08-17 Ulrich Drepper <drepper@gmail.com>
18456
18457 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18458 * resolv/Makefile: Define CFLAGS-libresolv.
18459
8de79a24
AS
184602011-08-17 Andreas Schwab <schwab@redhat.com>
18461
18462 * nss/makedb.c (compute_tables): Make variables used in nested
18463 function static.
18464
27724598
UD
184652011-08-17 Ulrich Drepper <drepper@gmail.com>
18466
c5305d88
UD
18467 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18468 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18469 if buffer was too small.
18470
27724598
UD
18471 * elf/pldd.c (main): Attach to all threads in the process.
18472 Rewrite /proc handling to use *at functions.
18473
076fe015
UD
184742011-08-16 Ulrich Drepper <drepper@gmail.com>
18475
174baab3
UD
18476 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18477 specifies first scope to show.
18478 (dl_open_worker): Update callers. Move printing scope of new
18479 object to before the relocation.
44f0a71e 18480 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18481 * sysdeps/generic/ldsodefs.h: Update declaration.
18482
076fe015
UD
18483 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18484 string for the scope number.
18485
a60df2c3
UD
184862011-08-14 Ulrich Drepper <drepper@gmail.com>
18487
18488 * nscd/servicescache.c (cache_addserv): Make sure written is always
18489 initialized.
18490
5e4287d1
RM
184912011-08-14 Roland McGrath <roland@hack.frob.com>
18492
85ae0589
RM
18493 * sysdeps/i386/i486/bits/atomic.h
18494 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18495 statement expression, so as to suppress "set but not used" warning.
18496 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18497
69f63097
RM
18498 * string/strncat.c (STRNCAT): Use prototype definition.
18499
675456ef
RM
18500 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18501 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18502 -Iprograms here.
18503 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18504 (localedef-modules): Add localedef.
18505 (locale-modules): Add locale.
18506
5e4287d1
RM
18507 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18508 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18509 to avoid a warning.
18510
9c96ff23
DM
185112011-08-14 David S. Miller <davem@davemloft.net>
18512
18513 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18514 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18515
f9ddf089
UD
185162011-08-13 Ulrich Drepper <drepper@gmail.com>
18517
44f0a71e 18518 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18519 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18520 * elf/rtld.c (dl_main): Set l_name of vDSO.
18521 Call _dl_show_scope when DL_DEBUG_SCOPES.
18522 (process_dl_debug): Recognize scopes flag and also set it for all.
18523 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18524 Declare _dl_show_scope.
18525
1dc27704
UD
18526 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18527 (do_dlopen): Pass caller_dlopen to dl_open.
18528 (__libc_dlopen_mode): Initialize caller_dlopen.
18529
f9ddf089
UD
18530 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18531 of libc. Make tolower call locale-independent. Optimize a bit by
18532 using isdigit instead of isalnum.
18533 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18534
9ac533d3
UD
185352011-08-12 Ulrich Drepper <drepper@gmail.com>
18536
18537 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18538 was a dependency or dynamically loaded.
18539
89edf2e9
UD
185402011-08-11 Ulrich Drepper <drepper@gmail.com>
18541
8e999d29
UD
18542 * intl/l10nflist.c: Allow architecture-specific pop function.
18543 * sysdeps/x86_64/l10nflist.c: New file.
18544
89edf2e9
UD
18545 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18546 classification.
18547
14d96785
AS
185482011-08-10 Andreas Schwab <schwab@redhat.com>
18549
18550 * include/dirent.h: Add libc_hidden_proto for scandirat and
18551 scandirat64. Don't declare __scandirat64.
18552 * dirent/scandirat.c: Add libc_hidden_def.
18553 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18554 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18555
6761ac04
DM
185562011-08-10 David S. Miller <davem@davemloft.net>
18557
18558 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18559 enum.
18560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18563
c55fbd1e
UD
185642011-08-09 Ulrich Drepper <drepper@gmail.com>
18565
18566 * Versions.def [libc]: Add GLIBC_2.15.
18567 * dirent/Makefile (routines): Add scandirat and scandirat64.
18568 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18569 GLIBC_2.15.
18570 * dirent/dirent.h: Declare scandirat and scandirat64.
18571 * dirent/scandirat.c: New file.
18572 * dirent/scandirat64.c: New file.
18573 * sysdeps/wordsize-64/scandirat.c: New file.
18574 * sysdeps/wordsize-64/scandirat64.c: New file.
18575 * dirent/opendir.c: Define opendirat.
18576 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18577 using scandirat.
18578 * dirent/scandir64.c: Adjust for scandir.c change.
18579 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18580 __scandirat64, and __scandir_cancel_handler.
18581 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18582 additional parameter and use openat instead of open (outside of ld.so).
18583 Add new __opendir as wrapper around __opendirat.
18584 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18585 here without requiring old scandirat implementation.
18586
879165f2
UD
185872011-08-08 Ulrich Drepper <drepper@gmail.com>
18588
18589 * dirent/scandir.c (cancel_handler): Renamed to
18590 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18591 defined. Adjust users.
18592 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18593 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18594
cb7e923b
UD
185952011-08-04 Ulrich Drepper <drepper@gmail.com>
18596
16292edd
UD
18597 * string/test-string.h (IMPL): Use __STRING to expand name and then
18598 stringify it.
18599
cb7e923b
UD
18600 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18601 of cleanups.
18602
cff82933
LD
186032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18604
18605 * string/Makefile: Update.
18606 (strop-tests): Append strncat.
18607 * string/test-wcscmp.c: New file.
18608 New comprehensive test for wcscmp.
18609 * string/test-strcmp.c: Update.
18610 (WIDE): New define.
18611
9be9bfcc
AS
186122011-07-22 Andreas Schwab <schwab@redhat.com>
18613
18614 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18615 line.
18616
2e96f1c7
AS
186172011-07-26 Andreas Schwab <schwab@redhat.com>
18618
18619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18620 encoding to ACE if AI_IDN.
18621
85188888
JJ
186222011-08-01 Jakub Jelinek <jakub@redhat.com>
18623
18624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18625 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18626
5fa16e9b
LD
186272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18628
18629 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18630 Fix overflow bug in strncat.
18631 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18632
18633 * string/test-strncat.c: Update.
18634 Add new tests for checking overflow bugs.
18635
186362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18637
18638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18639 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18640 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18641 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18643 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18644 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18645 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18646 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18647
18648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18649 (USE_AS_STRCAT): Define.
18650 Add strcat and strncat support.
18651 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18652
8c1a459f
AS
186532011-07-25 Andreas Schwab <schwab@redhat.com>
18654
18655 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18656 __n bigger than INT_MAX+1.
18657 (__strncmp_g): Likewise.
18658
bba33c28
UD
186592011-07-23 Ulrich Drepper <drepper@gmail.com>
18660
798be72d
UD
18661 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18662 * libio/stido.h: Likewise.
18663
8accd4dc
UD
18664 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18665 (AF_NFC): Define.
18666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18667 (AF_NFC): Define.
18668
cbff0d96
UD
18669 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18670 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18671 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18672 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18674
9191c04a
UD
18675 [BZ #13021]
18676 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18677 installed.
18678
bba33c28
UD
18679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18680 typo.
18681 (_dl_x86_64_save_sse): Likewise.
18682
90f139dd
UD
186832011-07-22 Ulrich Drepper <drepper@gmail.com>
18684
1aae088a
UD
18685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18686 OSXSAVE.
18687 (_dl_x86_64_save_sse): Likewise.
18688
8e2045f5
UD
18689 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18690
90f139dd
UD
18691 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18692
1d002f25
AS
186932011-07-21 Andreas Schwab <schwab@redhat.com>
18694
18695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18696 change.
18697 (_dl_x86_64_save_sse): Use correct AVX check.
18698
21137f89
UD
186992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18700
18701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18702 bug in strncpy/strncat.
18703 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18704
a65c0b7a
UD
187052011-07-21 Ulrich Drepper <drepper@gmail.com>
18706
18707 * string/tester.c (test_strcat): Add tests for different alignments
18708 of source and destination.
18709 (test_strncat): Likewise.
18710
6986b98a
UD
187112011-07-20 Ulrich Drepper <drepper@gmail.com>
18712
90bb2039
UD
18713 [BZ #12852]
18714 * posix/glob.c (glob): Check passed in values before using them in
18715 expressions to avoid some overflows.
18716 (glob_in_dir): Likewise.
18717
5644ef54
UD
18718 [BZ #13007]
18719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18720 check for AVX enablement so that we don't crash with old kernels and
18721 new hardware.
18722 * elf/tst-audit4.c: Add same checks here.
18723 * elf/tst-audit6.c: Likewise.
18724
18725 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18726
bfc9dc9b
AS
187272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18728
18729 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18730
702e64bb
UD
187312011-07-20 Ulrich Drepper <drepper@gmail.com>
18732
18733 * po/cs.po: Update from translation team.
18734 * po/bg.po: Likewise.
18735
295e904f
MP
187362011-07-12 Marek Polacek <mpolacek@redhat.com>
18737
18738 * misc/sys/cdefs.h: Add support for const attribute.
18739 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18740 to gnu_dev_{major,minor,makedev} functions.
18741
3ff94596
MP
187422011-07-20 Marek Polacek <mpolacek@redhat.com>
18743
18744 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18745
28b59fca
AS
187462011-07-20 Andreas Schwab <schwab@redhat.com>
18747
18748 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18749 strlen results.
18750
19df733e
AK
187512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18752
18753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18754 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18755 register in order to avoid conflicts with the soft frame pointer
18756 being held in r11 when necessary.
18757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18758 (INTERNAL_VSYSCALL_NCS): Likewise.
18759
c8835729
MP
187602011-07-14 Marek Polacek <mpolacek@redhat.com>
18761
18762 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18763 * elf/dl-fini.c (_dl_fini): Adjust caller.
18764 * elf/dl-close.c (_dl_close_worker): Likewise.
18765 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18766
b902330c
MP
187672011-07-15 Marek Polacek <mpolacek@redhat.com>
18768
8991e135
MP
18769 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18770 "aux_cache->nlibs < 0".
18771
b902330c
MP
18772 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18773 in the reload-count case.
18774
99710781
LD
187752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18776
18777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18778 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18779 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18780 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18781 * sysdeps/x86_64/multiarch/strcat.S: New file.
18782 * sysdeps/x86_64/multiarch/strncat.S: New file.
18783 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18784 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18785 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18786 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18787 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18788 (USE_AS_STRCAT): Define.
18789 Add strcat and strncat support.
18790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18791 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18792 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18793 * string/strncat.c: Update.
18794 (USE_AS_STRNCAT): Define.
18795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18796 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18797 and i7.
18798 * sysdeps/x86_64/multiarch/init-arch.h
18799 (bit_Prefer_PMINUB_for_stringop): New.
18800 (index_Prefer_PMINUB_for_stringop): Likewise.
18801 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18802 bit_Prefer_PMINUB_for_stringop.
18803
7dc6bd90
UD
188042011-07-19 Ulrich Drepper <drepper@gmail.com>
18805
18806 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18807 buffer64.
18808 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18809 of casting of buffer.
18810 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18811 buffer32 and buffer64.
18812 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18813 writes instead of casting of buffer.
18814 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18815 buffer32.
18816 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18817 casting of buffer.
18818
e0e72284
AS
188192011-07-19 Andreas Schwab <schwab@redhat.com>
18820
18821 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18822
feb1eb0b
UD
188232011-07-19 Ulrich Drepper <drepper@gmail.com>
18824
18825 * nscd/nscd.c (termination_handler): Don't do anything for a database
18826 if it has not yet been initialized.
18827
298711ff
UD
188282011-07-18 Ulrich Drepper <drepper@gmail.com>
18829
18830 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18831
188322011-07-15 Marek Polacek <mpolacek@redhat.com>
18833
18834 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18835
f9d68389
UD
188362011-07-18 Ulrich Drepper <drepper@gmail.com>
18837
18838 * po/nl.po: Update from translation team.
18839 * po/sv.po: Likewise.
18840
db290cf5
RM
188412011-07-16 Roland McGrath <roland@hack.frob.com>
18842
18843 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18844 now disallowed by GCC.
5c550700 18845
fd5e21c7
RM
18846 * configure.in (use-default-link): Default to yes if a test -shared
18847 link meets our qualifications.
18848 * configure: Regenerated.
18849
5c550700
RM
18850 * config.make.in (output-format): New variable.
18851 * configure.in: Check for ld --print-output-format support.
18852 * configure: Regenerated.
18853 * Makerules ($(common-objpfx)format.lds)
18854 [$(output-format) != unknown]: Just use $(output-format),
18855 instead of the linker-script munging.
18856
9fa2c032
RM
188572011-07-14 Roland McGrath <roland@hack.frob.com>
18858
a6928d51
RM
18859 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18860 of $(common-objpfx)shlib.lds.
18861 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18862
661607b3
RM
18863 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18864 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18865
9fa2c032
RM
18866 * configure.in (-z relro check): Adjust test code to add a large
18867 writable data section after it.
18868 * configure: Regenerated.
18869
defe9061
RM
188702011-07-11 Roland McGrath <roland@hack.frob.com>
18871
18872 * configure.in (-z relro check): Fix test code to make the variable
18873 truly const.
18874 * configure: Regenerated.
18875
319b9ad4
UD
188762011-07-11 Ulrich Drepper <drepper@gmail.com>
18877
18878 * nscd/nscd.h (struct traced_file): Define.
18879 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18880 elements. Add traced_files.
18881 (inotify_fd): Declare.
18882 (register_traced_file): Declare.
18883 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18884 (inotify_fd): Export.
18885 (resolv_conf_descr): Remove.
18886 (nscd_init): Move inotify descriptor creation to main.
18887 Don't register files for notification here.
18888 (register_traced_file): New function.
18889 (invalidate_cache): Don't use reset_res to determine whether to call
18890 res_init, go through the list of registered files.
18891 (main_loop_poll): The inotify descriptors are now stored in the
18892 structures for the traced files.
18893 (main_loop_epoll): Likewise
18894 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18895 to __nss_disable_nscd.
18896 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18897 for a database anymore. Check the records for all the registered
18898 files instead.
18899 * nss/Makefile (libnss_files-routines): Add files-init.
18900 (libnss_db-routines): Add db-init.
18901 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18902 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18903 * nss/nss_db/db-init.c: New file.
18904 * nss/nss_files/files-init.c: New file.
18905 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18906 __nss_lookup_function.
18907 (__nss_lookup_function): Call nss_load_library.
18908 (nss_load_all_libraries): New function.
18909 (__nss_disable_nscd): Take parameter with callback function for files
18910 to register. Set is_nscd. Load all the DSOs for the NSS modules
18911 used for the cached services.
18912 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18913 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18914 options for features to all the files in nscd.
18915
18916 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18917
23bee3e8
RM
189182011-07-10 Roland McGrath <roland@hack.frob.com>
18919
18920 * csu/elf-init.c (__libc_csu_init): Comment typo.
18921
46a5b7f0
UD
189222011-07-09 Ulrich Drepper <drepper@gmail.com>
18923
18924 * po/pl.po: Update from translation team.
18925 * po/ja.po: Likewise.
18926 * po/ru.po: Likewise.
18927 * po/ko.po: Likewise.
18928 * po/fr.po: Likewise.
18929
d30cf5bb
RM
189302011-07-09 Roland McGrath <roland@hack.frob.com>
18931
113ddea4
RM
18932 * configure.in (.ctors/.dtors header and trailer check):
18933 Use an empirical test on a built program.
18934 * configure: Regenerated.
18935
574920b4
RM
18936 * configure.in (-z relro check): Use an empirical test on a built DSO.
18937 Detect, but do not require, on ia64.
18938 * configure: Regenerated.
18939
d30cf5bb
RM
18940 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18941 Update tests that use readelf to use $READELF instead.
18942 * configure: Regenerated.
18943
8538fdb3
UD
189442011-07-08 Ulrich Drepper <drepper@gmail.com>
18945
18946 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18947 if the result is not used.
18948
04d08991
AJ
189492011-07-05 Andreas Jaeger <aj@suse.de>
18950
18951 [BZ#9696]
18952 * stdlib/tst-strtod.c: Add testcase.
18953
de283087
AD
189542011-07-07 Ulrich Drepper <drepper@gmail.com>
18955
4e5f31c8 18956 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 18957 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
18958 The latter has a higher limit. Take additional parameter to pass to
18959 the new function.
18960 (__pathconf): Pass file to __statfs_link_max.
18961 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18962 __statfs_link_max.
18963 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18964 __statfs_link_max.
18965
de283087
AD
18966 [BZ #12868]
18967 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18968 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18969 Handle Lustre.
18970 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18971 (__statfs_filesize_max): Likewise.
18972 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18973
c75fa153
AJ
189742011-07-05 Andreas Jaeger <aj@suse.de>
18975
18976 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18977
1a544854
UD
189782011-07-06 Marek Polacek <mpolacek@redhat.com>
18979
18980 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18981 `status' variable.
18982 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18983 Likewise.
18984
6f0eec67
UD
189852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18986
18987 * Makefile (strop-tests): Add strncat.
18988 * string/test-strncat.c: New file.
18989
aae30307
UD
189902011-06-30 Marek Polacek <mpolacek@redhat.com>
18991
18992 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18993
c0cfb5eb
UD
189942011-06-21 Andreas Jaeger <aj@suse.de>
18995
18996 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18997 Copy rule from iconvdata/Makefile.
18998
01636b21
UD
189992011-07-06 Ulrich Drepper <drepper@gmail.com>
19000
19001 [BZ #12922]
19002 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19003 but no long options are defined, just return 'W'.
19004
9895c8bc
UD
190052011-06-22 Marek Polacek <mpolacek@redhat.com>
19006
19007 [BZ #9696]
19008 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19009
5d4cf042
UD
190102011-07-06 Ulrich Drepper <drepper@gmail.com>
19011
19012 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19013 netgroups to read.
960e5535 19014 (innetgr): Likewise.
5d4cf042 19015
751eb97e
RM
190162011-07-05 Roland McGrath <roland@hack.frob.com>
19017
19018 * config.make.in (install_root): Default to $(DESTDIR).
19019
f15f1e45
UD
190202011-07-05 Ulrich Drepper <drepper@gmail.com>
19021
19022 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19023
4e34ac6a
RM
190242011-07-02 Roland McGrath <roland@hack.frob.com>
19025
5e9b6af4
RM
19026 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19027
84f9ea0f
RM
19028 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19029 containing directory rather than embedding absolute directory names.
19030
ea5ee9f7
RM
19031 * scripts/check-local-headers.sh: Rewritten using awk.
19032 Match by word, not by line. Print error messages for matches.
19033 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19034
1b74661a
RM
19035 * Makerules [shlib-lds-flags empty]:
19036 ($(common-objpfx)libc_pic.opts): New target.
19037 ($(common-objpfx)libc_pic.os.clean): New target.
19038 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19039
19040 * config.make.in (OBJCOPY): New variable.
19041 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19042 * configure: Regenerated.
19043
f781ef40
RM
19044 * config.make.in (use-default-link): New variable.
19045 * configure.in (use_default_link): Grok --with-default-link to set it.
19046 * configure: Regenerated.
19047 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19048 (shlib-lds, shlib-lds-flags): Define to empty.
19049
2d4fa81e
RM
19050 * Makerules (shlib-lds): New variable.
19051 (shlib-lds-flags): New variable.
19052 (build-shlib, build-moduile, build-module-asneeded): Use it.
19053 ($(common-objpfx)libc.so): Use $(shlib-lds).
19054 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19055 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19056
31fffa6b
RM
19057 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19058 DT_FLAGS/DT_FLAGS_1 with zero flags.
19059
4e34ac6a
RM
19060 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19061 linker script munging.
19062
fcfc776b
UD
190632011-07-02 Ulrich Drepper <drepper@gmail.com>
19064
19065 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19066 as 128-bit value.
19067 * crypt/sha512.c (sha512_process_block): Perform total addition using
19068 128-bit if possible.
19069 (__sha512_finish_ctx): Likewise.
19070 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19071 as 64-bit value.
19072 * crypt/sha256.c (SWAP64): Define.
19073 (sha256_process_block): Perform total addition using 64-bit if
19074 possible.
19075 (__sha256_finish_ctx): Likewise.
19076
99231d9a
UD
190772011-07-01 Ulrich Drepper <drepper@gmail.com>
19078
19079 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19080 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19081 * nscd/hstcache.c (cache_addhst): Likewise.
19082 * nscd/grpcache.c (cache_addgr): Likewise.
19083 * nscd/aicache.c (addhstaiX): Likewise
19084 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19085
445b4a53
TK
190862011-07-01 Thorsten Kukuk <kukuk@suse.de>
19087
19088 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19090 * nscd/hstcache.c (cache_addhst): Likewise.
19091 * nscd/grpcache.c (cache_addgr): Likewise.
19092 * nscd/aicache.c (addhstaiX): Likewise
19093
6d4d8e8e
AS
190942011-07-01 Andreas Schwab <schwab@redhat.com>
19095
19096 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19097 domain only when needed.
19098
89f654c5
AS
190992011-06-30 Andreas Schwab <schwab@redhat.com>
19100
19101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19102 is always restored.
19103
cf3b23ff
UD
191042011-06-29 Ulrich Drepper <drepper@gmail.com>
19105
19106 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19107 are re-adding the entry.
19108 * nscd/servicescache.c (cache_addserv): Likewise.
19109
751626f9
AJ
191102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19111
19112 * sysdeps/generic/dl-irel.h: fix protection against multiple
19113 inclusions.
19114 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19115
9113ea1f
UD
191162011-06-28 Ulrich Drepper <drepper@gmail.com>
19117
5c0b8d90
UD
19118 [BZ #12935]
19119 * malloc/memusage.sh: Fix quoting in message.
19120 * debug/xtrace.sh: Likewise.
19121
9113ea1f
UD
19122 * configure.in: Remove support for --experimental-malloc option, make
19123 it the default.
19124 * config.make.in: Likewise.
19125 * malloc/Makefile: Likewise.
19126
a4172181
AS
191272011-06-27 Andreas Schwab <schwab@redhat.com>
19128
19129 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19130 two-byte characters.
19131
78a7eee7
RM
191322011-06-27 Roland McGrath <roland@hack.frob.com>
19133
62bede13
RM
19134 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19135 AC_CACHE_CHECK invocation.
19136 * configure: Regenerated.
19137
78a7eee7
RM
19138 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19139
5ce33a62
UD
191402011-06-27 Ulrich Drepper <drepper@gmail.com>
19141
034807a9
UD
19142 [BZ #12350]
19143 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19144 bit from old_res_options.
19145
4902da17
UD
19146 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19147
5ce33a62
UD
19148 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19149 value type for setfct.
19150
c2344f56
L
191512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19152
19153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19154 __gettimeofday instead of gettimeofday.
19155
68468076
UD
191562011-06-26 Ulrich Drepper <drepper@gmail.com>
19157
19158 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19159
acb0d739
L
191602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19161
19162 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19163
19164 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19165 info.
19166
8912479f
L
191672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19168
19169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19170 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19171 strcpy-sse2-unaligned strncpy-sse2-unaligned
19172 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19173 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19174 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19175 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19176 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19177 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19179 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19180 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19181 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19182 (STRCPY): Support SSE2 and SSSE3 versions.
19183
d5495a11
UD
191842011-06-24 Ulrich Drepper <drepper@gmail.com>
19185
19186 [BZ #12874]
19187 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19188 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19189 kernels which artificially limit size of requests.
19190
0b1cbaae
L
191912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19192
19193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19194 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19195 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19196 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19197 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19198 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19199 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19200 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19201 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19202 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19203 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19204 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19205 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19206 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19207 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19209 Enable unaligned load optimization for Intel Core i3, i5 and i7
19210 processors.
19211 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19212 Define.
19213 (index_Fast_Unaligned_Load): Define.
19214 (HAS_FAST_UNALIGNED_LOAD): Define.
19215
07f494a0
MP
192162011-06-23 Marek Polacek <mpolacek@redhat.com>
19217
19218 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19219
fa3fc0fe
UD
192202011-06-22 Ulrich Drepper <drepper@gmail.com>
19221
19222 [BZ #12907]
19223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19224 until it is clear that the information is realy needed.
19225 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19226
e12df166
AS
192272011-06-22 Andreas Schwab <schwab@redhat.com>
19228
19229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19230
852eb34d
UD
192312011-06-22 Ulrich Drepper <drepper@gmail.com>
19232
84e2a551
UD
19233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19234 /sys/devices/system/cpu/online if it is usable.
19235
852eb34d
UD
19236 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19237 reading the information from the /proc filesystem to once a second.
19238
6e502e19
UD
192392011-06-21 Andreas Jaeger <aj@suse.de>
19240
19241 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19242 NULL after inclusion of kernel headers.
19243
75d39ff2
UD
192442011-06-21 Ulrich Drepper <drepper@gmail.com>
19245
51f9aa6a
UD
19246 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19247 calls to internal_setent.
19248
c0244a9d
UD
19249 [BZ #12885]
19250 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19251 addresses using gethostbyname4_r ignore IPv4 addresses.
19252
c5e3c2ae
UD
19253 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19254 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19255
75d39ff2
UD
19256 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19257
42675c6f
DM
192582011-06-20 David S. Miller <davem@davemloft.net>
19259
19260 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19261 inclusions.
19262 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19263
19264 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19265 (elf_irel): Use it.
19266 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19267 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19268 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19269 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19270 * sysdeps/x86_64/dl-irel.h: Likewise.
19271
19272 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19273 * elf/dl-sym.c: Likewise.
19274
57912a71
UD
192752011-06-15 Ulrich Drepper <drepper@gmail.com>
19276
19277 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19278 need to dereference resplen2.
19279
ee22793d
AS
192802011-06-14 Andreas Schwab <schwab@redhat.com>
19281
19282 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19283
a9e836b0
UD
192842011-06-15 Ulrich Drepper <drepper@gmail.com>
19285
77fb9117
UD
19286 * Makeconfig: Define vardbdir and inst_vardbdir.
19287 * nss/Makefile: Add rules to install db-Makefile.
19288
40c1b22c
UD
19289 * nss/nss_db/db-XXX.c: Cleanup.
19290
9f2da732
UD
19291 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19292 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19293 GLIBC_PRIVATE.
19294 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19295 * nss/makedb.c: Implement -g option to specify that value strings
19296 are generated and should not be added to table iterated over for
19297 get*ent calls.
19298 * nss/nss_db/db-initgroups.c: New file.
19299
82e9a1f7
UD
19300 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19301 interface.
19302
c41af17e
UD
19303 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19304 (internal_getgrouplist): Adjust to name change.
19305 Update use_initgroups_entry if this is not the first call.
19306 * nss/databases.def: Add initgroups entry.
19307
a9e836b0
UD
19308 * nss/makedb.c (compute_tables): Check result of multiple hash table
19309 sizes to minimize maximum chain length.
19310
2666d441
UD
193112011-06-14 Ulrich Drepper <drepper@gmail.com>
19312
19313 * Versions.def: Add entry for libnss_db.
19314 * shlib-versions: Likewise.
19315 * nss/Makefile: Add rules to build libnss_db.
19316 * nss/Versions: Add libnss_db information. Organize libnss_files
19317 entries better.
19318 * nss/db-Makefile: Add gshadow support. Change rules for the new
19319 makedb progra. Some minor improvements to generate smaller files.
19320 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19321 here from...
19322 * nss/makedb.c: ...here.
19323 Improve database format to be smaller and require less memory at
19324 runtime.
19325 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19326 db anymore.
19327 * nss/nss_db/db-netgrp.c: Likewise.
19328 * nss/nss_db/db-open.c: Likewise.
19329 * nss/nss_files/flies-XXX.x: Adjust comments.
19330 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19331 * nss/nss_files/files-grp.c: Likewise.
19332 * nss/nss_files/files-hosts.c: Likewise.
19333 * nss/nss_files/files-network.c: Likewise.
19334 * nss/nss_files/files-proto.c: Likewise.
19335 * nss/nss_files/files-pwd.c: Likewise.
19336 * nss/nss_files/files-rpc.c: Likewise.
19337 * nss/nss_files/files-service.c: Likewise.
19338 * nss/nss_files/files-sgrp.c: Likewise.
19339 * nss/nss_files/files-spwd.c: Likewise.
19340 * nss/nss_db/db-alias.c: Removed.
19341 * nss/nss_db/dummy-db.h: Removed.
19342
9ee76b5a
UD
193432011-06-02 Ulrich Drepper <drepper@gmail.com>
19344
19345 * nss/makedb.c: Rewritten to not use database library.
19346 * nss/Makefile: Update to build new makedb program.
19347
c71ca1f8
AJ
193482011-06-14 Andreas Jaeger <aj@suse.de>
19349
19350 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19351 memset declaration.
19352
3154bfb8
UD
193532011-06-10 Andreas Schwab <schwab@redhat.com>
19354
19355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19356 tmpbuf.
19357
b350afab
RM
193582011-06-10 Roland McGrath <roland@hack.frob.com>
19359
decd4e50
RM
19360 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19361 * elf/Makefile ($(objpfx)ld.so): Likewise.
19362
5615eaf2
RM
19363 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19364 Don't list ld.so twice in dependencies.
19365
19366 * posix/bug-regex31.c: Include <stdlib.h>.
19367
19368 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19369
19370 * nis/nss_compat/compat-spwd.c
19371 (getspent_next_nss_netgr): Remove unused variable.
19372 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19373
19374 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19375 nonmembers" output to use the right array.
19376
19377 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19378
19379 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19380
19381 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19382 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19383 * catgets/gencat.c (read_input_file): Likewise.
19384 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19385
19386 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19387 variable definition inside #if's controlling its use.
19388
19389 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19390
19391 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19392
19393 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19394
19395 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19396 unreachable code.
19397
19398 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19399
b68e08db
RM
19400 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19401 * configure: Regenerated.
19402
b350afab
RM
19403 * Makerules: Revert last change.
19404 * elf/Makefile: Likewise.
19405
28368601
RM
194062011-06-09 Roland McGrath <roland@hack.frob.com>
19407
19408 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19409 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19410 (reloc-link): Likewise.
19411
11988f8f
UD
194122011-06-09 Ulrich Drepper <drepper@gmail.com>
19413
19414 * elf/Makefile: Add rules to build pldd.
19415 * elf/pldd.c: New file.
19416 * elf/pldd-xx.c: New file.
19417
e80fab37
UD
194182011-06-07 Ulrich Drepper <drepper@gmail.com>
19419
19420 * version.h: Update for 2.15 development version.
19421
9b849836
DM
194222011-06-07 David S. Miller <davem@davemloft.net>
19423
19424 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19425 ifuncs.
19426 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19427 elf_machine_lazy_rel): Likewise.
19428 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19430 elf_machine_lazy_rel): Likewise.
19431 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19432 dl_hwcap via passed in argument.
19433 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19434 Likewise.
19435
5a31b283
AK
194362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19437
19438 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19439
069e52f8
RM
194402011-06-06 Roland McGrath <roland@hack.frob.com>
19441
19442 [BZ #12849]
19443 * manual/fdl-1.1.texi: New file, verbatim from:
19444 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19445 * manual/lgpl-2.1.texi: New file, verbatim from:
19446 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19447 * manual/Makefile (licenses): New variable, list those new file names.
19448 (texis): Use it.
19449 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19450
19451 * manual/fdl.texi: File removed.
19452 * manual/lesser.texi: File removed.
19453 * manual/libc.texinfo (Copying, Documentation License):
19454 Use new @include file names, put @appendix directive before @include.
19455
f16846a5
JJ
194562011-06-04 Jakub Jelinek <jakub@redhat.com>
19457
19458 [BZ #12841]
19459 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19460 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19461 (mq_open): Add __NTH.
19462
3d29045b
L
194632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19464
19465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19466 Assume Intel Core i3/i5/i7 processor if AVX is available.
19467
8c297311
UD
194682011-05-31 Ulrich Drepper <drepper@gmail.com>
19469
19470 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19471 typo.
19472
c8fc0c91
UD
194732011-05-31 Andreas Schwab <schwab@redhat.com>
19474
19475 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19476 memory. Use alloca_account. Fix memory leak when retrying.
19477
5b27a807
UD
194782011-05-31 Ulrich Drepper <drepper@gmail.com>
19479
356f8bc6
UD
19480 * version.h (RELEASE): Bump for 2.14 release.
19481 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19482
5b27a807
UD
19483 * config.make.in (RANLIB): Remove entry.
19484
01f16ab0
UD
194852011-05-30 Ulrich Drepper <drepper@gmail.com>
19486
41fce8bd
UD
19487 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19488 (libc.pot): Work around missing support for .ksh extension in xgettext.
19489
4769ae77
UD
19490 [BZ #12684]
19491 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19492 if both request failed.
19493 (send_dg): In case of server errors clear resplen or *resplen2.
19494
6b1e7d19
UD
19495 [BZ #12454]
19496 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19497 when there are multiple maps.
19498 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19499 (_dl_fini): Remove test here.
19500
01f16ab0
UD
19501 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19502
b1ebd700
UD
195032011-05-29 Ulrich Drepper <drepper@gmail.com>
19504
7ae22829
UD
19505 [BZ #12350]
19506 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19507 bit from old_res_options.
19508 (gaih_inet): Likewise.
19509
553149f6 19510 [BZ #11099]
18a84741 19511 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19512 as signed.
19513
652ffab1
UD
19514 * resolv/res_init.c (res_setoptions): Make the code more compact.
19515
16985fd0
UD
19516 [BZ #11558]
19517 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19518 set RES_USEVC.
19519
0464f746
UD
19520 [BZ #11634]
19521 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19522
7d17596c
UD
19523 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19524
cf6bbbd7
UD
19525 [BZ #11781]
19526 * malloc/malloc.h: Declare malloc hook variables as volatile.
19527
13f1ab36
UD
19528 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19529 in last patch.
19530
b1ebd700
UD
19531 [BZ #11799]
19532 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19533 raise in the comment.
80e2212d
UD
19534 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19535 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19536 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19537
ce67228d
UD
195382011-05-28 Ulrich Drepper <drepper@gmail.com>
19539
8887a920
UD
19540 [BZ #12811]
19541 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19542 grow the buffers more if it already has to be sufficient.
19543 (build_wcs_upper_buffer): Likewise.
19544 * posix/regexec.c (check_matching): Likewise.
19545 (clean_state_log_if_needed): Likewise.
19546 (extend_buffers): Don't enlarge buffers beyond size of the input
19547 buffer.
19548 Patches mostly by Emil Wojak <emil@wojak.eu>.
19549 * posix/bug-regex32.c: New file.
19550 * posix/Makefile (tests): Add bug-regex32.
19551
4f031072
UD
19552 * locale/findlocale.c (_nl_find_locale): Return right away if
19553 _nl_explode_name failed.
19554 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19555
d0478f0c
UD
19556 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19557
de81b246
UD
19558 * debug/xtrace.sh: Unify messages.
19559 * malloc/memusage.sh: Likewise.
19560
c738465a
UD
19561 [BZ #12813]
19562 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19563 time symbol from vDSO. Substitute with vsyscall if not available.
19564 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19565 __vdso_time.
19566
f1f929d7
UD
19567 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19568 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19569 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19570 Add sendmmsg and internal_sendmmsg.
19571 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19572 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19573 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19574
ce67228d
UD
19575 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19576 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19577 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19578
e57420c6
UD
195792011-05-27 Ulrich Drepper <drepper@gmail.com>
19580
a8509ca5
UD
19581 [BZ #12813]
19582 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19583 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19584 available.
19585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19586 __vdso_getcpu.
19587
e57420c6
UD
19588 [BZ #12814]
19589 * iconvdata/Makefile (tests): Add bug-iconv9.
19590 * iconvdata/bug-iconv9.c: New file.
19591
4d07db15
AS
195922011-05-27 Andreas Schwab <schwab@redhat.com>
19593
19594 [BZ #12814]
19595 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19596
ea486f69
JJ
195972011-05-25 Jakub Jelinek <jakub@redhat.com>
19598
19599 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19600 (struct user_regs_struct): Change intcs field back to cs.
19601
6f038433
UD
196022011-05-25 Ulrich Drepper <drepper@gmail.com>
19603
19604 * po/ja.po: Update from translation team.
19605
67f86a25
UD
196062011-05-23 Ulrich Drepper <drepper@gmail.com>
19607
19608 [BZ #12795]
19609 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19610 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19611
def7fbd6
AS
196122011-05-20 Andreas Schwab <schwab@redhat.com>
19613
19614 * stdlib/longlong.h: Update from GCC.
19615
f50ef8f1
AS
196162011-05-23 Andreas Schwab <schwab@redhat.com>
19617
19618 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19619 parameter name.
19620 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19621 Add parameter name.
19622 (__sysconf): Pass it down.
19623
de7ce8f1
UD
196242011-05-22 Ulrich Drepper <drepper@gmail.com>
19625
f2962a71
UD
19626 [BZ #12671]
19627 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19628 some situations.
19629 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19630 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19631 add in in __libc_use_alloca calls. Adjust callers.
19632 (glob): Use malloc in some situations.
19633
de7ce8f1
UD
19634 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19635 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19636 pltexit.
19637
aec84f53
UD
196382011-05-21 Ulrich Drepper <drepper@gmail.com>
19639
05bb4a68
UD
19640 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19641 and CLOCK_BOOTTIME_ALARM.
19642
7ea72f99
UD
19643 [BZ #12782]
19644 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19645 is returned.
19646
7e4afad5
UD
19647 * string/_strerror.c (__strerror_r): Print negative errors as signed
19648 numbers.
19649
8e211fec
UD
19650 [BZ #12777]
19651 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19652 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19653 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19654
f7d82dc9
UD
19655 * configure.in: Fix typo in redirection and correct removal of test
19656 files in two cases.
19657
cc9e536d
UD
19658 [BZ #12788]
19659 * locale/setlocale.c (new_composite_name): Fix test to check for
19660 identical name of all categories.
19661
aec84f53
UD
19662 [BZ #12792]
19663 * libio/filedoalloc.c (local_isatty): New function.
19664 (_IO_file_doallocate): Use local_isatty.
19665 * stdio-common/perror.c (perror): In case a new stream is used
19666 forward the stream error.
19667 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19668 error flag.
19669
78e64fdc
RT
196702011-05-20 Ulrich Drepper <drepper@gmail.com>
19671
34a9094f
UD
19672 [BZ #11869]
19673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19674 alloca.
19675 * include/alloca.h (extend_alloca_account): Define.
19676
78e64fdc
RT
19677 [BZ #11857]
19678 * posix/regex.h: Fix comments with documentation of user-accessible
19679 fields after compilation and describe correct free'ing of pattern
19680 after re_compile_pattern.
19681 Patch by Reuben Thomas <rrt@sc3d.org>.
19682
457bddfc
RA
196832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19684
19685 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19686 and -mno-altivec to prevent the compiler from using Altivec and/or
19687 VSX instructions when the corresponding registers are not available.
19688
a4527b51
AS
196892011-05-19 Andreas Schwab <schwab@redhat.com>
19690
19691 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19692
ed690b2f
UD
196932011-05-19 Ulrich Drepper <drepper@gmail.com>
19694
19695 * libio/freopen.c (freopen): Use __dup2, not dup2.
19696 * libio/freopen64.c (freopen64): Likewise.
19697
8db73634
L
196982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19699
19700 [BZ #12775]
19701 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19702 * math/Makefile (tests): Add test-powl.
19703 (CFLAGS-test-powl.c): Define.
19704 * math/test-powl.c: New file.
19705
0a197a9d
L
197062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19707
19708 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19709
ee30c380
UD
197102011-05-17 Ulrich Drepper <drepper@gmail.com>
19711
19712 [BZ #11837]
19713 * iconvdata/gb18030.c: Update to GB18020-2005.
19714
6ce75379
UD
197152011-05-16 Ulrich Drepper <drepper@gmail.com>
19716
a4b89fd8
AR
19717 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19718 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19719 Patch by Aharon Robbins <arnold@skeeve.com>.
19720
ea389b12
UD
19721 [BZ #11892]
19722 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19723 on the stack.
19724
68a3f91f
UD
19725 [BZ #11895]
19726 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19727 through underflows.
19728
15cc7dd1
UD
19729 [BZ #12766]
19730 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19731 point to strings before performing equality test for error_one_per_line
19732 mode.
19733
f3799213
UD
19734 [BZ #11697]
19735 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19736
d79a9c94
UD
19737 [BZ #11820]
19738 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19739 (struct user_fpregs_struct): Avoid __uint*_t types.
19740
56e5eb46
UD
19741 [BZ #6420]
19742 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19743 symbol info. Use it instead of calling _dl_addr locally.
19744 (lock_and_info): New function.
19745 (tr_freehook): Call lock_and_info and pass symbol info as additional
19746 parameter to tr_where.
19747 (tr_mallochook): Likewise.
19748 (tr_reallochook): Likewise.
19749 (tr_memalignhook): Likewise.
19750
6ce75379
UD
19751 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19752 used and couldn't be at all thread-safe.
19753
f8a3b5bf
UD
197542011-05-15 Ulrich Drepper <drepper@gmail.com>
19755
94b7cc37
UD
19756 * libio/freopen.c (freopen): Don't close old file descriptor
19757 before the new one is opened. Instead dup the new file descriptor
19758 to the old one after the new stream is created.
19759 * libio/freopen64.c (freopen64): Likewise.
19760 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19761 * libio/fileops.c (_IO_new_file_close_it): Handle new
19762 _IO_FLAGS2_NOCLOSE flag.
19763 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19764 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19765 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19766 _IO_FLAGS2_NOCLOSE flag.
19767 * include/unistd.h: Add hidden_proto for dup3.
19768 Define __have_dup3.
19769 * io/dup3.c: Define hidden symbol.
19770 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19771
bd25564e
UD
19772 [BZ #7101]
19773 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19774 when an incomplete long option is used.
19775 * posix/tst-getopt_long1.c: New file.
19776 * posix/Makefile (tests): Add tst-getopt_long1.
19777
c84cfef4
UD
19778 [BZ #10138]
19779 * scripts/config.guess: Update from autoconf-2.68.
19780 * scripts/config.sub: Likewise.
19781
3b85df27
UD
19782 [BZ #10157]
19783 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19784 tests into ...
19785 (has_cpuclock): ...this. New function.
19786 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19787 macro here based on has_cpuclock code.
19788
15a856b1
UD
19789 [BZ #10149]
19790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19791 First byte (not low byte) is now always NUL.
19792 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19793
05f399e6
UD
19794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19795 Use non-cancelable interfaces.
19796
10a52685 19797 [BZ #9809]
94ecc67d
UD
19798 * locale/iso-639.def: Add entry for Sorani.
19799
f8a3b5bf
UD
19800 [BZ #11901]
19801 * include/stdlib.h: Move include protection to the right place.
19802 Define abort_msg_s. Declare __abort_msg with it.
19803 * stdlib/abort.c (__abort_msg): Adjust type.
19804 * assert/assert.c (__assert_fail_base): New function. Majority
19805 of code from __assert_fail. Allocate memory for __abort_msg with
19806 mmap.
19807 (__assert_fail): Now call __assert_fail_base.
19808 * assert/assert-perr.c: Remove bulk of implementation. Use
19809 __assert_fail_base.
19810 * include/assert.hL Declare __assert_fail_base.
19811 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19812 mmap.
19813 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19814
1af4e298
UD
198152011-05-14 Ulrich Drepper <drepper@gmail.com>
19816
f8a3b5bf 19817 [BZ #11952]
d26dfc60
MG
19818 [BZ #12453]
19819 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19820 until all modules are registered in the DTV.
19821 * elf/Makefile: Add rules to build and run tst-tls19.
19822 * elf/tst-tls19.c: New file.
19823 * elf/tst-tls19mod1.c: New file.
19824 * elf/tst-tls19mod2.c: New file.
19825 * elf/tst-tls19mod3.c: New file.
19826 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19827
2fc54d6f
UD
19828 [BZ #12083]
19829 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19830 correctly.
19831
98d76b46
UD
19832 [BZ #12601]
19833 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19834 two-byte sequence errors.
19835 * iconvdata/Makefile (tests): Add bug-iconv8.
19836 * iconvdata/bug-iconv8.c: New file.
19837
da3c19ef
UD
19838 [BZ #12626]
19839 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19840 buf2 definition.
19841
ca408c15
UD
19842 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19843
d6f67f7d
UD
19844 [BZ #12432]
19845 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19846 (dummy_getcfa): New function.
19847 (init): Get _Unwind_GetCFA address, use dummy if not found.
19848 (backtrace_helper): In recursion check, also check whether CFA changes.
19849 (__backtrace): Completely initialize arg.
19850
1af4e298 19851 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
19852 storing incomplete byte sequence in state object. Avoid testing for
19853 guaranteed too small input if we know there is enough data available.
1af4e298 19854
da62f81b
AS
198552011-05-11 Andreas Schwab <schwab@redhat.com>
19856
19857 * Makeconfig (+link-pie): Indent.
19858 * Rules (binaries-pie): Define if $(have-fpie) and
19859 $(build-shared).
19860 (binaries-shared): Also filter out $(binaries-pie).
19861 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19862 * nscd/Makefile (others-pie): Add nscd.
19863 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19864 ($(objpfx)nscd): Remove command override.
19865 * login/Makefile (others-pie): Add pt_chown.
19866 ($(objpfx)pt_chown): Remove command override.
19867 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19868 remove command overrides.
19869
fcabc0f8
UD
198702011-05-13 Ulrich Drepper <drepper@gmail.com>
19871
20030ae6
UD
19872 * libio/tst_putwc.c: Fix error messages.
19873
fcabc0f8
UD
19874 [BZ #12724]
19875 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19876 currently writing and seek to current position when not.
19877 * libio/Makefile (tests): Add bug-fclose1.
19878 * libio/bug-fclose1.c: New file.
19879
320a5dc0
PB
198802011-05-12 Ulrich Drepper <drepper@gmail.com>
19881
19882 [BZ #12511]
19883 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19884 don't set DF_1_NODELETE here.
19885 (do_lookup_x): When entering new entry test for copy relocation
19886 and if necessary set DF_1_NODELETE flag.
19887 * elf/tst-unique4.cc: New file.
19888 * elf/tst-unique4.h: New file.
19889 * elf/tst-unique4lib.cc: New file.
19890 * elf/Makefile: Add rules to build and run tst-unique4.
19891 Patch by Piotr Bury <pbury@goahead.com>.
19892
22836f52
UD
198932011-05-11 Ulrich Drepper <drepper@gmail.com>
19894
f574184a
UD
19895 [BZ #12052]
19896 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19897
e1fb097f
UD
19898 [BZ #12625]
19899 * misc/mntent_r.c (addmntent): Flush the stream after the output
19900
22836f52
UD
19901 [BZ #12393]
19902 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19903 (is_trusted_path_normalize): Skip initial colon. Append slash
19904 to empty buffer. Duplicate is_trusted_path code but allow
19905 constructed patch to be prefix.
19906 (is_dst): Allow $ORIGIN followed by /.
19907 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19908 Correct testing of result of is_trusted_path_normalize
19909 (decompose_rpath): Fix warning.
19910
7b3b0b2a
UD
199112011-05-10 Ulrich Drepper <drepper@gmail.com>
19912
19913 [BZ #11257]
19914 * grp/initgroups.c (internal_getgrouplist): When we found the service
19915 list through the initgroups entry in nsswitch.conf do not always
19916 continue on a successful lookup. Don't always use the
eac80ce2 19917 __nss_group_database value if it is set.
7b3b0b2a
UD
19918 * nss/nsswitch.conf (initgroups): Change action for successful db
19919 lookup to continue for compatibility.
19920
2a81eaa5
UD
199212011-05-09 Ulrich Drepper <drepper@gmail.com>
19922
be97a69e
UD
19923 [BZ #11532]
19924 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19925 and CP774 modules.
19926 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19927 and CP774 modules.
19928 * iconvdata/tst-tables.sh: Likewise.
19929 * iconvdata/cp770.c: New file.
19930 * iconvdata/cp771.c: New file.
19931 * iconvdata/cp772.c: New file.
19932 * iconvdata/cp773.c: New file.
19933 * iconvdata/cp774.c: New file.
19934 * iconvdata/testdata/CP770: New file.
19935 * iconvdata/testdata/CP770..UTF8: New file.
19936 * iconvdata/testdata/CP771: New file.
19937 * iconvdata/testdata/CP771..UTF8: New file.
19938 * iconvdata/testdata/CP772: New file.
19939 * iconvdata/testdata/CP772..UTF8: New file.
19940 * iconvdata/testdata/CP773: New file.
19941 * iconvdata/testdata/CP773..UTF8: New file.
19942 * iconvdata/testdata/CP774: New file.
19943 * iconvdata/testdata/CP774..UTF8: New file.
19944
19945 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19946 END CHARMAP line.
19947 * iconvdata/gen-8bit-gap.sh: Likewise.
19948 * iconvdata/gen-8bit.sh: Likewise.
19949
c1e9e399
UD
19950 * locale/iso-639.def: Add ary entry.
19951
24c55fb3 19952 [BZ #11258]
96b4b1b0
UD
19953 * locale/C-translit.h.in: Add U20A1 transliteration.
19954
bdc2f971
KB
19955 [BZ #12178]
19956 * locale/iso-639.def: Add wae entry.
19957 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19958
2952b117
UD
19959 [BZ #12545]
19960 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19961 for n.
19962
2a81eaa5
UD
19963 [BZ #12711]
19964 * locale/C-translit.h.in: Add entry for U20B9.
19965 Patch by pravin.d.s@gmail.com.
19966
28377d1b
UD
199672011-05-08 Ulrich Drepper <drepper@gmail.com>
19968
7fb90fb8
UD
19969 [BZ #12713]
19970 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19971 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
19972 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19973 in rtld. Use *stat64.
7fb90fb8 19974 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 19975 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 19976 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
19977 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19978 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19979 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19980 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19981 __fstatat64 macros.
7fb90fb8
UD
19982 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19983 * dirent/rewinddir.c: Add libc_hidden_def.
19984 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 19985 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 19986
28377d1b
UD
19987 * include/dirent.h (__alloc_dir): Add flags parameter.
19988 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19989 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19990 __alloc_dir.
19991 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19992 from fdopendir if O_CLOEXEC is already set.
19993
66bdbaa4
AM
199942011-03-15 Alan Modra <amodra@gmail.com>
19995
19996 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19997 l_tls_firstbyte_offset non-zero. Save padding offset in
19998 l_tls_firstbyte_offset for later use.
19999 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20000 freeing static tls block.
20001
95721191
JN
200022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20003
20004 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20005 where #ifdef was intended. The intent is to prevent ARG_MAX from
20006 being defined by the kernel headers.
20007
f87dfb1f
UD
200082011-05-07 Ulrich Drepper <drepper@gmail.com>
20009
20010 [BZ #12734]
20011 * resolv/resolv.h: Define RES_NOTLDQUERY.
20012 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20013 no-tld-query and set RES_NOTLDQUERY.
20014 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20015 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20016 modern BIND to search name as TLD unless forbidden.
20017
47c3cd7a
UD
200182011-05-07 Petr Baudis <pasky@suse.cz>
20019 Ulrich Drepper <drepper@gmail.com>
20020
20021 [BZ #12393]
20022 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20023 (is_trusted_path): ...to here.
c1e9ea35 20024 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20025 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20026 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20027
8a35c912
PP
200282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20029
20030 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20031 __BEGIN/__END_DECLS.
20032
acd41f47
UD
200332011-05-06 Ulrich Drepper <drepper@gmail.com>
20034
20035 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20036 NSS_STATUS_NOTFOUND if no record was found.
20037
597df647
AS
200382011-05-05 Andreas Schwab <schwab@redhat.com>
20039
20040 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20041 (headers-not-in-tirpc): Remove rpc/netdb.h
20042 * resolv/netdb.h: Revert last change.
20043
b9af1301
PP
200442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20045
20046 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20047 circular dependency between libgcc.a and libc.a.
20048
4e34d5f5
AS
200492011-05-05 Andreas Schwab <schwab@redhat.com>
20050
20051 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20052 * nis/Makefile: Don't install rpcsvc/*.
20053 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20054 instead of <rpc/types.h>.
20055 (MAXHOSTNAMELEN): Define.
20056
00ee369c
AS
200572011-05-03 Andreas Schwab <schwab@redhat.com>
20058
20059 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20060
0b592a30
MB
200612011-04-28 Maciej Babinski <mbabinski@google.com>
20062
20063 [BZ #12714]
20064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20065 gethostbyname4_r when IPv6 results are possible.
20066
6e04cbbe
UD
200672011-05-02 Ulrich Drepper <drepper@gmail.com>
20068
20069 [BZ #12723]
20070 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20071 _PC_PIPE_BUF handling.
20072
e4ecafe0
BH
200732011-04-30 Bruno Haible <bruno@clisp.org>
20074
20075 [BZ #12717]
20076 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20077 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20078 to 'int'.
20079 * inet/getnameinfo.c (getnameinfo): Likewise.
20080
125ee683
UD
200812011-04-29 Ulrich Drepper <drepper@gmail.com>
20082
20083 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20084 to groups setting in database lookup.
20085 * nss/nsswitch.conf: Add initgroups entry.
20086
b722481a
EB
200872011-04-22 Ulrich Drepper <drepper@gmail.com>
20088
20089 [BZ #12685]
20090 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20091 mode string.
20092 Patch by Eric Blake <eblake@redhat.com>.
20093
4df46dbd
L
200942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20095
20096 * sunrpc/Makefile (need-export-routines): Add svc_run.
20097 (routines): Remove svc_run.
20098 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20099 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20100 * sunrpc/svc_run.c (svc_run): Likewise.
20101 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20102
e84142d2
UD
201032011-04-21 Ulrich Drepper <drepper@gmail.com>
20104
20105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20106 problem in reallocation in last patch.
20107
877175d8
UD
201082011-04-20 Ulrich Drepper <drepper@gmail.com>
20109
20110 * sunrpc/Makefile: Move inclusion of Rules.
20111
ab8eed78
UD
201122011-04-19 Ulrich Drepper <drepper@gmail.com>
20113
20114 * nss/nss_files/files-initgroups.c: New file.
20115 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20116 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20117 _nss_files_initgroups_dyn.
20118
e3d8f584
RS
201192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20120
20121 * elf/elf.h (R_ARM_IRELATIVE): Define.
20122
af190f45
UD
201232011-04-19 Ulrich Drepper <drepper@gmail.com>
20124
20125 * po/ru.po: Update from translation team.
20126
53cf59ef
UD
201272011-04-17 Ulrich Drepper <drepper@gmail.com>
20128
20129 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20130 dependencies.
20131
4c559bcd
MF
201322011-02-06 Mike Frysinger <vapier@gentoo.org>
20133
20134 [BZ #12653]
20135 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20136 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20137 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20139 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20140
4420675c
AS
201412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20142
20143 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20144 differing bytes.
20145 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20146 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20147 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20148
75ea32ab
UD
201492011-04-17 Ulrich Drepper <drepper@gmail.com>
20150
20151 [BZ #12420]
20152 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20153 storing it.
20154 * stdlib/bug-getcontext.c: New file.
20155 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20156
27390476
AK
201572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20158
20159 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20160 instructions into .machine "z9-109".
20161 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20162 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20163
10442705
AK
201642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20165
20166 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20167 between environment variables and auxiliary vector.
20168
7b57bfe5
UD
201692011-04-16 Ulrich Drepper <drepper@gmail.com>
20170
20171 * Makefile: Add rules to build linkobj/libc.so.
20172 * include/libc-symbols.h: Define libc_hidden_nolink.
20173 * include/rpc/auth.h: Mark functions which are to be hidden.
20174 * include/rpc/auth_des.h: Likewise.
20175 * include/rpc/auth_unix.h: Likewise.
20176 * include/rpc/clnt.h: Likewise.
20177 * include/rpc/des_crypt.h: Likewise.
20178 * include/rpc/key_prot.h: Likewise.
20179 * include/rpc/pmap_clnt.h: Likewise.
20180 * include/rpc/pmap_prot.h: Likewise.
20181 * include/rpc/pmap_rmt.h: Likewise.
20182 * include/rpc/rpc_msg.h: Likewise.
20183 * include/rpc/svc.h: Likewise.
20184 * include/rpc/svc_auth.h: Likewise.
20185 * include/rpc/xdr.h: Likewise.
20186 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20187 * nss/Makefile: Likewise.
20188 * sunrpc/Makefile: Don't install headers. Build library with normal
20189 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20190 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20191 for the compat linking library. Remove use of INTDEF/INTUSE.
20192 * sunrpc/auth_none.c: Likewise.
20193 * sunrpc/auth_unix.c: Likewise.
20194 * sunrpc/authdes_prot.c: Likewise.
20195 * sunrpc/authuxprot.c: Likewise.
20196 * sunrpc/clnt_gen.c: Likewise.
20197 * sunrpc/clnt_perr.c: Likewise.
20198 * sunrpc/clnt_raw.c: Likewise.
20199 * sunrpc/clnt_simp.c: Likewise.
20200 * sunrpc/clnt_tcp.c: Likewise.
20201 * sunrpc/clnt_udp.c: Likewise.
20202 * sunrpc/clnt_unix.c: Likewise.
20203 * sunrpc/des_crypt.c: Likewise.
20204 * sunrpc/des_soft.c: Likewise.
20205 * sunrpc/get_myaddr.c: Likewise.
20206 * sunrpc/key_call.c: Likewise.
20207 * sunrpc/key_prot.c: Likewise.
20208 * sunrpc/netname.c: Likewise.
20209 * sunrpc/pm_getmaps.c: Likewise.
20210 * sunrpc/pm_getport.c: Likewise.
20211 * sunrpc/pmap_clnt.c: Likewise.
20212 * sunrpc/pmap_prot.c: Likewise.
20213 * sunrpc/pmap_prot2.c: Likewise.
20214 * sunrpc/pmap_rmt.c: Likewise.
20215 * sunrpc/publickey.c: Likewise.
20216 * sunrpc/rpc_cmsg.c: Likewise.
20217 * sunrpc/rpc_common.c: Likewise.
20218 * sunrpc/rpc_dtable.c: Likewise.
20219 * sunrpc/rpc_prot.c: Likewise.
20220 * sunrpc/rpc_thread.c: Likewise.
20221 * sunrpc/rtime.c: Likewise.
20222 * sunrpc/svc.c: Likewise.
20223 * sunrpc/svc_auth.c: Likewise.
20224 * sunrpc/svc_authux.c: Likewise.
20225 * sunrpc/svc_raw.c: Likewise.
20226 * sunrpc/svc_run.c: Likewise.
20227 * sunrpc/svc_simple.c: Likewise.
20228 * sunrpc/svc_tcp.c: Likewise.
20229 * sunrpc/svc_udp.c: Likewise.
20230 * sunrpc/svc_unix.c: Likewise.
20231 * sunrpc/svcauth_des.c: Likewise.
20232 * sunrpc/xcrypt.c: Likewise.
20233 * sunrpc/xdr.c: Likewise.
20234 * sunrpc/xdr_array.c: Likewise.
20235 * sunrpc/xdr_float.c: Likewise.
20236 * sunrpc/xdr_intXX_t.c: Likewise.
20237 * sunrpc/xdr_mem.c: Likewise.
20238 * sunrpc/xdr_rec.c: Likewise.
20239 * sunrpc/xdr_ref.c: Likewise.
20240 * sunrpc/xdr_sizeof.c: Likewise.
20241 * sunrpc/xdr_stdio.c: Likewise.
20242
e6c61494
UD
202432011-04-10 Ulrich Drepper <drepper@gmail.com>
20244
20245 [BZ #12650]
20246 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20247 * sysdeps/ia64/dl-tls.h: Likewise.
20248 * sysdeps/powerpc/dl-tls.h: Likewise.
20249 * sysdeps/s390/dl-tls.h: Likewise.
20250 * sysdeps/sh/dl-tls.h: Likewise.
20251 * sysdeps/sparc/dl-tls.h: Likewise.
20252 * sysdeps/x86_64/dl-tls.h: Likewise.
20253 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20254
34fe483e
AS
202552011-03-14 Andreas Schwab <schwab@redhat.com>
20256
20257 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20258 rpath element also skip the following colon.
20259 (expand_dynamic_string_token): Add is_path parameter and pass
20260 down to DL_DST_REQUIRED and _dl_dst_substitute.
20261 (decompose_rpath): Call expand_dynamic_string_token with
20262 non-zero is_path. Ignore empty rpaths.
20263 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20264 with zero is_path.
20265
f12a32e6
AS
202662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20267
20268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20269 Make cancelable.
20270
38a7d692
UD
202712011-04-09 Ulrich Drepper <drepper@gmail.com>
20272
20273 [BZ #12655]
20274 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20275 Patch by Filipe David Manana <fdmanana@apache.org>.
20276
e451d22b
AS
202772011-04-07 Andreas Schwab <schwab@redhat.com>
20278
20279 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20280 Maintain aligned stack.
20281 (CHECK_RSP): Remove unused macro.
20282
dedc7c7b
UD
202832011-04-03 Ulrich Drepper <drepper@gmail.com>
20284
20285 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20286 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20287
94521213
UD
202882011-04-02 Ulrich Drepper <drepper@gmail.com>
20289
20290 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20291
8cb700c0 20292 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20293
0354e355
L
202942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20295
20296 [BZ #12518]
20297 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20298 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20299 * sysdeps/x86_64/memmove.c: New file.
20300 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20301 (memcpy): Renamed to ...
20302 (__new_memcpy): This.
20303 (memcpy): Provide GLIBC_2_14 memcpy.
20304 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20305 (memcpy): Provide GLIBC_2_2_5 memcpy.
20306
8593482f
UD
203072011-04-01 Ulrich Drepper <drepper@gmail.com>
20308
20309 [BZ #12631]
20310 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20311
81a5726b
AS
203122011-03-30 Andreas Schwab <schwab@redhat.com>
20313
20314 * misc/syncfs.c: New file.
20315 * misc/Makefile (routines): Add syncfs.
20316 * posix/unistd.h: Declare syncfs.
20317 * sysdeps/unix/syscalls.list: Add syncfs.
20318
00e5419f
AS
203192011-04-01 Andreas Schwab <schwab@redhat.com>
20320
20321 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20322 open_by_handle_at.
20323 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20328 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20330
748876bf
UD
203312011-04-01 Ulrich Drepper <drepper@gmail.com>
20332
658e451d
UD
20333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20334 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20335 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20336 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20337 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20339 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20340
748876bf
UD
20341 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20342 sync_file_range.c with -fexceptions.
20343 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20344 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20345 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20346 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20347 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20348 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20350 sync_file_range as cancellation point
20351 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20352 now a wrapper around __call_sync_file_range with cancellation handling.
20353 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20354 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20355 function name to __call_sync_file_range.
20356 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20357 Add call_sync_file_range.
748876bf 20358
6e63d5e1
AS
203592011-04-01 Andreas Schwab <schwab@redhat.com>
20360
20361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20362 bits/timex.h.
6e63d5e1 20363
46998f74
UD
203642011-04-01 Ulrich Drepper <drepper@gmail.com>
20365
4c1423ed
UD
20366 * iconv/iconv.h: Fix typo in comment.
20367 * io/fcntl.h: Likewise.
20368 * libio/stdio.h: Likewise.
20369 * posix/spawn.h: Likewise.
20370 * posix/unistd.h: Likewise.
20371 * stdlib/stdlib.h: Likewise.
20372 * time/time.h: Likewise.
20373 * wcsmbs/wchar.h: Likewise.
20374
158648c0
UD
20375 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20376 open_by_handle): Add.
20377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20378 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20379 Augment a few comments.
20380 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20382 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20384 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20385 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20386 open_by_handle.
20387
46998f74
UD
20388 * io/fcntl.h (AT_EMPTY_PATH): Define.
20389
83fe108b
UD
203902011-03-30 Ulrich Drepper <drepper@gmail.com>
20391
20392 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20393 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20394 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20395 to...
20396 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20397 * Versions.def: Add GLIBC_2.14.
20398 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20399 Export.
83fe108b 20400
bb242059
UD
204012011-03-22 Ulrich Drepper <drepper@gmail.com>
20402
20403 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20404 round counter.
20405 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20406
c97a1282
L
204072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20408
20409 [BZ #12597]
20410 * string/test-strncmp.c (do_page_test): New function.
20411 (check2): Likewise.
20412 (test_main): Call check2.
20413 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20414
2a115601
UD
204152011-03-20 Ulrich Drepper <drepper@gmail.com>
20416
20417 [BZ #12587]
20418 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20419 Handle cache information in CPU leaf 4.
20420 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20421
8126d904
UD
204222011-03-18 Ulrich Drepper <drepper@gmail.com>
20423
042c49c6 20424 [BZ #12583]
8126d904
UD
20425 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20426 character representation.
20427 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20428
ccfe366e
RA
204292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20430
20431 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20432 END(__isnan) to END(__isnanf) to match function entry point/label
20433 EALIGN(__isnanf,...).
20434
c6e13027
JJ
204352011-03-10 Jakub Jelinek <jakub@redhat.com>
20436
20437 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20438
33f85a3f
UD
204392011-03-10 Ulrich Drepper <drepper@gmail.com>
20440
028478fa
UD
20441 [BZ #12510]
20442 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20443 copy from the symbol referenced in the relocation to initialize the
20444 used variable.
20445 Patch by Piotr Bury <pbury@goahead.com>.
20446 * elf/Makefile: Add rules to build and tst-unique3.
20447 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20448 * elf/tst-unique3.cc: New file.
20449 * elf/tst-unique3.h: New file.
20450 * elf/tst-unique3lib.cc: New file.
20451 * elf/tst-unique3lib2.cc: New file.
20452
33f85a3f
UD
20453 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20454
03592fc7
MF
204552011-03-10 Mike Frysinger <vapier@gentoo.org>
20456
20457 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20458 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20459 to _start.
03592fc7 20460
6a5ee102
UD
204612011-03-06 Ulrich Drepper <drepper@gmail.com>
20462
20463 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20464 to-be-loaded object along a path to loader is ld.so.
20465
7e4ba49c
HJ
204662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20467 Ulrich Drepper <drepper@gmail.com>
20468
20469 * sysdeps/x86_64/memset.S: After aligning destination, code
20470 branches to different locations depending on the value of
20471 misalignment, when multiarch is enabled. Fix this.
20472
204732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20474
20475 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20476 Set _x86_64_preferred_memory_instruction for AMD processsors.
20477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20478 Set bit_Prefer_SSE_for_memop for AMD processors.
20479
13a804de
UD
204802011-03-04 Ulrich Drepper <drepper@gmail.com>
20481
20482 * libio/fmemopen.c (fmemopen): Optimize a bit.
20483
9d25c392
AS
204842011-03-03 Andreas Schwab <schwab@redhat.com>
20485
20486 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20487
a5543c6a
RM
204882011-03-03 Roland McGrath <roland@redhat.com>
20489
20490 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20491
012d35f7
DM
204922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20493
7e4ba49c 20494 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20495 __bzero_ultra1 instead of __memset_ultra1.
20496
4bff6e01
AS
204972011-02-23 Andreas Schwab <schwab@redhat.com>
20498 Ulrich Drepper <drepper@gmail.com>
20499
20500 [BZ #12509]
20501 * include/link.h (struct link_map): Add l_orig_initfini.
20502 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20503 returning unsuccessfully.
20504 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20505 close of a file loaded at startup, restore the original l_initfini
20506 list.
20507 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20508 list, store the pointer.
20509 * elf/Makefile ($(objpfx)noload-mem): New rule.
20510 (noload-ENV): Define.
20511 (tests): Add $(objpfx)noload-mem.
20512 * elf/noload.c: Include <memcheck.h>.
20513 (main): Call mtrace. Close all opened handles.
20514
f2092faf
AS
205152011-02-17 Andreas Schwab <schwab@redhat.com>
20516
20517 [BZ #12454]
20518 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20519 dependencies are missing.
20520
6c8a2e88
ST
205212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20522
f2092faf 20523 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20524 Hurd needs munmap.
20525 * sysdeps/mach/hurd/ifreq.h: New file.
20526
84a42118
PB
205272011-01-27 Petr Baudis <pasky@suse.cz>
20528 Ulrich Drepper <drepper@gmail.com>
20529
071f805e 20530 [BZ 12445]#
84a42118
PB
20531 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20532 to extend_alloca().
20533 * stdio-common/bug23.c: New file.
20534 * stdio-common/Makefile (tests): Add bug23.
20535
e23fe25b
AS
205362010-09-28 Andreas Schwab <schwab@redhat.com>
20537 Ulrich Drepper <drepper@gmail.com>
20538
20539 [BZ #12489]
20540 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20541 before performing relro protection. At old place add assertion
20542 to make sure nothing changed.
20543
d3f02e10
NS
205442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20545 Glauber de Oliveira Costa <glommer@gmail.com>
20546
20547 * elf/elf.h: Add new ARM TLS relocs.
20548
d55fd7a5
RA
205492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20550
20551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20552 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20553 cast from r3.
20554 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20555 'tests' variable.
20556 * sysdeps/wordsize-64/tst-writev.c: New file.
20557
2206397e
RA
205582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20559
20560 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20561 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20562 insns in _dl_start to prevent a TOC reference before relocs are
20563 resolved.
20564
e9433893
UD
205652011-02-15 Ulrich Drepper <drepper@gmail.com>
20566
20567 [BZ #12469]
20568 * Makeconfig: Remove RANLIB definition.
20569 * Makerules: Don't use RANLIB.
20570 * aclocal.m4: Remove ranlib test.
20571 * configure.in: No need to check for ranlib.
20572 * elf/rtld-Rules: Don't use RANLIB.
20573
f75286c6
ST
205742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20575
8e31c82d
ST
20576 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20577 protection macro.
20578 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20579 inclusion protection macro.
20580
f75286c6
ST
20581 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20582 SIGRTMIN and SIGRTMAX and print information in that case only when
20583 SIGRTMIN is defined.
20584
c1d0e639
JJ
205852011-02-11 Jakub Jelinek <jakub@redhat.com>
20586
20587 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20588 arginfo fn returning -1.
20589
20590 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20591 and thousands string is zero terminated.
20592
edf9294e
AS
205932011-02-03 Andreas Schwab <schwab@redhat.com>
20594
20595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20596 sysdeps/unix/sysv/linux/bits/socket.h.
20597
2b7e92df
ST
205982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20599
edf9294e
AS
20600 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20601 (__CPU_COUNT): Remove old macros.
20602 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20603 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20604 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20605 (__sched_cpualloc, __sched_cpufree): Add declarations.
20606
a4c7ea7b
UD
206072011-02-05 Ulrich Drepper <drepper@gmail.com>
20608
20609 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20610 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20611 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20612 (readdhstai): Return value of addhstaiX call.
20613 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20614 (addgrbyX): Return value returned by cache_addgr.
20615 (readdgrbyname): Return value returned by addgrbyX.
20616 (readdgrbygid): Likewise.
20617 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20618 (addpwbyX): Return value returned by cache_addpw.
20619 (readdpwbyname): Return value returned by addhstbyX.
20620 (readdpwbyuid): Likewise.
20621 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20622 (addservbyX): Return value returned by cache_addserv.
20623 (readdservbyname): Return value returned by addservbyX:
20624 (readdservbyport): Likewise.
20625 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20626 (addhstbyX): Return value returned by cache_addhst.
20627 (readdhstbyname): Return value returned by addhstbyX.
20628 (readdhstbyaddr): Likewise.
20629 (readdhstbynamev6): Likewise.
20630 (readdhstbyaddrv6): Likewise.
20631 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20632 (readdinitgroups): Return value returned by addinitgroupsX.
20633 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20634 (prune_cache): Keep track of timeout value of re-added entries.
20635 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20636 * nscd/nscd.h: Adjust prototypes of readd* functions.
20637
a0bf67cc
RM
206382011-02-04 Roland McGrath <roland@redhat.com>
20639
20640 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20641 (nis_stats): Likewise.
20642 * nis/nis_modify.c (nis_modify): Likewise.
20643 * nis/nis_remove.c (nis_remove): Likewise.
20644 * nis/nis_add.c (nis_add): Likewise.
20645
20646 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20647
20648 * posix/fnmatch_loop.c: Add some consts.
20649
20650 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20651
435b95eb
L
206522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20653
20654 [BZ #12460]
20655 * config.make.in (config-cflags-novzeroupper): Define.
20656 * configure.in: Substitute libc_cv_cc_novzeroupper.
20657 * elf/Makefile (AVX-CFLAGS): Define.
20658 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20659 (CFLAGS-tst-auditmod4a.c): Likewise.
20660 (CFLAGS-tst-auditmod4b.c): Likewise.
20661 (CFLAGS-tst-auditmod6b.c): Likewise.
20662 (CFLAGS-tst-auditmod6c.c): Likewise.
20663 (CFLAGS-tst-auditmod7b.c): Likewise.
20664 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20665
8517b15e
UD
206662011-02-02 Ulrich Drepper <drepper@gmail.com>
20667
20668 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20669 function to the callback.
20670 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20671
10a656fe
AS
206722011-02-02 Andreas Schwab <schwab@redhat.com>
20673
20674 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20675 of errno.
20676
968dad0a
UD
206772011-01-19 Ulrich Drepper <drepper@gmail.com>
20678
9f94d2ea 20679 [BZ #11724]
968dad0a
UD
20680 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20681 of constructors.
20682 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20683 of destructors.
20684 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20685
20686 [BZ #11724]
20687 * elf/Makefile: Add rules to build and run new test.
20688 * elf/tst-initorder.c: New file.
20689 * elf/tst-initorder.exp: New file.
20690 * elf/tst-initordera1.c: New file.
20691 * elf/tst-initordera2.c: New file.
20692 * elf/tst-initordera3.c: New file.
20693 * elf/tst-initordera4.c: New file.
20694 * elf/tst-initorderb1.c: New file.
20695 * elf/tst-initorderb2.c: New file.
20696 * elf/tst-order-a1.c: New file.
20697 * elf/tst-order-a2.c: New file.
20698 * elf/tst-order-a3.c: New file.
20699 * elf/tst-order-a4.c: New file.
20700 * elf/tst-order-b1.c: New file.
20701 * elf/tst-order-b2.c: New file.
20702 * elf/tst-order-main.c: New file.
20703 New test case by George Gensure <werkt0@gmail.com>.
20704
86e92359
UD
207052010-10-01 Andreas Schwab <schwab@redhat.com>
20706
20707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20708 decoding ACE if AI_CANONIDN.
20709
5d5732b0
UD
207102011-01-18 Ulrich Drepper <drepper@gmail.com>
20711
20712 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20713
a77e8cbc
UD
207142011-01-17 Ulrich Drepper <drepper@gmail.com>
20715
6392473f
UD
20716 * version.h (RELEASE): Bump for 2.13 release.
20717 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20718
620a0529
UD
20719 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20720
18ba70a5
UD
20721 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20722 MADV_NOHUGEPAGE.
32465c3e
UD
20723 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20724 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20725 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20726 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20727 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20728 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20729
c0dafcf1
UD
20730 * posix/getconf.c: Update copyright year.
20731 * catgets/gencat.c: Likewise.
20732 * csu/version.c: Likewise.
20733 * debug/catchsegv.sh: Likewise.
20734 * debug/xtrace.sh: Likewise.
20735 * elf/ldconfig.c: Likewise.
20736 * elf/ldd.bash.in: Likewise.
20737 * elf/sprof.c (print_version): Likewise.
20738 * iconv/iconv_prog.c: Likewise.
20739 * iconv/iconvconfig.c: Likewise.
20740 * locale/programs/locale.c: Likewise.
20741 * locale/programs/localedef.c: Likewise.
20742 * malloc/memusage.sh: Likewise.
20743 * malloc/mtrace.pl: Likewise.
20744 * nscd/nscd.c (print_version): Likewise.
20745 * nss/getent.c: Likewise.
20746
a77e8cbc
UD
20747 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20748 PF_CAIF, and PF_ALG.
20749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20750
77e8bddf
AS
207512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20752
1f20b93a
AS
20753 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20754 (modules-names): Use them.
20755 (ifunc-test-modules, ifunc-pie-tests): Define.
20756 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20757 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20758 (test-extras): Likewise.
20759 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20760 $(compile-command.c).
20761 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20762 (all-built-dso): Define.
20763 (check-textrel.out, check-execstack.out): Depend on it.
20764
77e8bddf
AS
20765 * configure.in: Don't override --enable-multi-arch.
20766
bc425b33
UD
207672011-01-15 Ulrich Drepper <drepper@gmail.com>
20768
20769 [BZ #6812]
20770 * nscd/hstcache.c (tryagain): Define.
20771 (cache_addhst): Return tryagain not notfound for temporary errors.
20772 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20773 failed.
20774
794c3ad3
UD
207752011-01-14 Ulrich Drepper <drepper@gmail.com>
20776
70181fdd
UD
20777 [BZ #10563]
20778 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20779 to make the syscall.
20780 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20781
794c3ad3
UD
20782 [BZ #12378]
20783 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20784 and fall back to matching as normal character if the string ends before
20785 the matching ']' is found. This is what POSIX requires.
20786 * posix/testfnm.c: Adjust test result.
20787 * posix/globtest.sh: Adjust test result. Add new test.
20788 * posix/tst-fnmatch.input: Likewise.
20789 * posix/tst-fnmatch2.c: Add new test.
20790
68dc9497
AS
207912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20792
20793 * elf/Makefile (check-execstack): Revert last change. Depend on
20794 check-execstack.h.
20795 (check-execstack.h): New target.
20796 (generated): Add check-execstack.h.
20797 * elf/check-execstack.c: Include "check-execstack.h".
20798 (main): Revert last change.
20799 (handle_file): Return zero if GNU_STACK is absent and
20800 DEFAULT_STACK_PERMS doesn't include PF_X.
20801
451f001b
UD
208022011-01-13 Ulrich Drepper <drepper@gmail.com>
20803
cfa28e56
UD
20804 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20805 in child fails because the descriptor is already closed.
8cf8ce17
UD
20806 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20807 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20808 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 20809
1086d70d
UD
20810 [BZ #12397]
20811 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20812 syscall.
20813
451f001b
UD
20814 [BZ #10484]
20815 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20816 temporary buffer used to handle multi lookups locally.
a85b5cb4 20817 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 20818
08769175
UD
208192011-01-12 Ulrich Drepper <drepper@gmail.com>
20820
20821 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20822 loader is ld.so.
20823
5e49c52e
UD
208242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20825
20826 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20827 alignment for SSE2.
20828
60522a5f
UD
208292011-01-12 Ulrich Drepper <drepper@gmail.com>
20830
20831 [BZ #12394]
20832 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20833 characters. When rounding increased number of integer digits recompute
20834 number of groups.
20835 * stdio-common/tst-grouping.c: New file.
20836 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20837
f257bbd7
UD
208382011-01-09 Ulrich Drepper <drepper@gmail.com>
20839
20840 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20841 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20842
20843 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20844 void.
20845 * bits/select.h: Likewise.
20846
fa9c15cb
UD
208472011-01-08 Ulrich Drepper <drepper@gmail.com>
20848
20849 * po/ja.po: Update from translation team.
20850
16c2895f
DM
208512011-01-04 David S. Miller <davem@sunset.davemloft.net>
20852
20853 [BZ #11155]
20854 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20855 implementation just like for lxstat, fxstatat, et al.
20856
2543fef2
JM
208572010-12-27 Jim Meyering <meyering@redhat.com>
20858
20859 [BZ #12348]
20860 * posix/regexec.c (build_trtable): Return failure indication upon
20861 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20862
98727dbe
UD
208632010-12-25 Ulrich Drepper <drepper@gmail.com>
20864
5bd6dc5c
UD
20865 [BZ #12201]
20866 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20867 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20868 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20869 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20870
97983464
UD
20871 [BZ #12207]
20872 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20873
98727dbe
UD
20874 [BZ #12204]
20875 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20876 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20877
4a531bb0
L
208782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20879
20880 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20881 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20882 script has SORT_BY_INIT_PRIORITY.
20883 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20884 NO_CTORS_DTORS_SECTIONS is defined.
20885 * elf/soinit.c: Likewise.
20886 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20887 NO_CTORS_DTORS_SECTIONS is defined.
20888 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20889 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20890 * sysdeps/sh/init-first.c: Likewise.
20891 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20892
07eb4b71
UD
208932010-12-24 Ulrich Drepper <drepper@gmail.com>
20894
20895 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20896 always use the slow path.
20897
30950a5f
RA
208982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20899
20900 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20901 similar rule which adds the sysdep directories to the header search in
20902 order to pick up the correct platform stackinfo.h.
20903 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20904 perform test if it is, otherwise return successfully without testing.
20905 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20906 DEFAULT_STACK_PERMS define in stackinfo.h.
20907 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20908 defined in stackinfo.h.
20909 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20910 DEFAULT_STACK_PERMS defined in stackinfo.h.
20911 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20912 * sysdeps/ia64/stackinfo.h: Likewise.
20913 * sysdeps/s390/stackinfo.h: Likewise.
20914 * sysdeps/sh/stackinfo.h: Likewise.
20915 * sysdeps/sparc/stackinfo.h: Likewise.
20916 * sysdeps/x86_64/stackinfo.h: Likewise.
20917 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20918 PF_X for powerpc64. Retain PF_X for powerpc32.
20919
db753e2c
UD
209202010-12-19 Ulrich Drepper <drepper@gmail.com>
20921
14b697f7
UD
20922 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20923 accurately.
db753e2c
UD
20924 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20925 GETDENTS_64BIT_ALIGNED.
20926
28300719
UD
209272010-12-14 Ulrich Drepper <dreper@gmail.com>
20928
14b697f7 20929 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 20930
4f197237
AS
209312010-12-10 Andreas Schwab <schwab@redhat.com>
20932
dbb0472f
AS
20933 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20934 _GNU_SOURCE.
20935
4f197237
AS
20936 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20937 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20938 Remove __restrict.
20939 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20940 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20941
fb88ac72
UD
209422010-12-09 Ulrich Drepper <drepper@gmail.com>
20943
20944 [BZ #11655]
20945 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20946 are initialized.
20947
42acbb92
JJ
209482010-12-09 Jakub Jelinek <jakub@redhat.com>
20949
20950 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20951
c038d98d
UD
209522010-12-03 Ulrich Drepper <drepper@gmail.com>
20953
20954 * po/it.po: Update from translation team.
20955
3a4a2499
L
209562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20957
20958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20959 unused codes.
20960
1e24cf6e
UD
209612010-11-30 Ulrich Drepper <drepper@gmail.com>
20962
20963 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20964
a7690819
AS
209652010-11-24 Andreas Schwab <schwab@redhat.com>
20966
20967 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20968 specially.
20969 (gaih_getanswer_slice): Likewise.
20970
3bf8d1b1
JJ
209712010-10-20 Jakub Jelinek <jakub@redhat.com>
20972
20973 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20974
6db52fbb
PB
209752010-05-31 Petr Baudis <pasky@suse.cz>
20976
20977 [BZ #11149]
20978 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20979 silently even in the chroot mode.
20980
eaca7569
UD
209812010-11-22 Ulrich Drepper <drepper@gmail.com>
20982
20983 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20984 last patch a bit. Pretty printing
20985
3056dcdb
UD
209862010-05-31 Petr Baudis <pasky@suse.cz>
20987
20988 [BZ #10085]
20989 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20990 initialization of skip_initgroups_dyn.
20991
cf7c9078
UD
209922010-11-19 Ulrich Drepper <drepper@gmail.com>
20993
20994 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20995 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20996
a1fb5e3e
UD
209972010-11-16 Ulrich Drepper <drepper@gmail.com>
20998
20999 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21000
3540d66b
AS
210012010-11-11 Andreas Schwab <schwab@redhat.com>
21002
21003 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21004 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21005 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21006 ($(objpfx)tst-fnmatch-mem): New rule.
21007 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21008 * posix/tst-fnmatch.c (main): Call mtrace.
21009
13b69574
L
210102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21011
21012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21013 Support Intel processor model 6 and model 0x2c.
21014
da93d214
LM
210152010-11-10 Luis Machado <luisgpm@br.ibm.com>
21016
21017 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21018 signed comparison.
21019
8ca52c6e
L
210202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21021
21022 [BZ #12205]
21023 * string/test-strncasecmp.c (check_result): New function.
21024 (do_one_test): Use it.
21025 (check1): New function.
21026 (test_main): Use it.
21027 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21028 Support strcasecmp and strncasecmp.
21029
69da074d
UD
210302010-11-08 Ulrich Drepper <drepper@gmail.com>
21031
21032 [BZ #12194]
21033 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21034 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21035
ff02d528
L
210362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21037
21038 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21039 IFUNC support.
21040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21041 memset-x86-64.
21042 * sysdeps/x86_64/multiarch/bzero.S: New file.
21043 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21044 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21045 * sysdeps/x86_64/multiarch/memset.S: New file.
21046 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21048 Set bit_Prefer_SSE_for_memop for Intel processors.
21049 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21050 Define.
21051 (index_Prefer_SSE_for_memop): Define.
21052 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21053
344d0b54
LM
210542010-11-04 Luis Machado <luisgpm@br.ibm.com>
21055
21056 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21057 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21058
c0dde15b
UD
210592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21060
21061 [BZ #12191]
21062 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21063 (__x86_64_raw_data_cache_size_half): Likewise.
21064 (__x86_64_raw_shared_cache_size): Likewise.
21065 (__x86_64_raw_shared_cache_size_half): Likewise.
21066
21067 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21068 (__x86_64_raw_data_cache_size_half): Likewise.
21069 (__x86_64_raw_shared_cache_size): Likewise.
21070 (__x86_64_raw_shared_cache_size_half): Likewise.
21071 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21072 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21073 and __x86_64_raw_shared_cache_size_half. Round
21074 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21075 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21076 to multiple of 256 bytes.
21077
0e516e0e
MS
210782010-11-03 Ulrich Drepper <drepper@gmail.com>
21079
21080 [BZ #12167]
21081 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21082 of inacessible symlinks. Verify result of symlink before returning it.
21083 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21084 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21085
0e012e87
ER
210862010-10-28 Erich Ritz <erichritz@gmail.com>
21087
21088 * math/math.h (isinf): Fix typo in comment.
21089
de0ff7bc
UD
210902010-11-01 Ulrich Drepper <drepper@gmail.com>
21091
21092 * po/da.po: Update from translation team.
21093
fa41c84d
UD
210942010-10-26 Ulrich Drepper <drepper@gmail.com>
21095
21096 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21097 is added to the list.
21098
f0967738
AK
210992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21100 Ulrich Drepper <drepper@gmail.com>
21101
21102 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21103 the global list here. Move code to...
21104 (_dl_add_to_namespace_list): ...here. New function.
21105 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21106 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21107 * elf/dl-load.c (lose): Don't remove the element from the list.
21108 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21109 (_dl_map_object): Likewise.
21110
211112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21112
21113 [BZ #12159]
21114 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21115 into all bytes of SSE register.
21116 Patch by Richard Li <richardpku@gmail.com>.
21117
f0967738 211182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21119
21120 [BZ #12140]
21121 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21122 perturbing.
21123
d0b9e94f
MB
211242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21125
21126 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21127 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21128 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21129 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21131 submachine.
21132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21133
8e9f92e9
AS
211342010-10-22 Andreas Schwab <schwab@redhat.com>
21135
21136 * include/dlfcn.h (__RTLD_SECURE): Define.
21137 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21138 mode & __RTLD_SECURE instead.
21139 (open_path): Rename preloaded parameter to secure.
21140 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21141 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21142 * elf/dl-deps.c (openaux): Likewise.
21143 * elf/rtld.c (struct map_args): Remove is_preloaded.
21144 (map_doit): Don't use it.
21145 (dl_main): Likewise.
21146 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21147 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21148
bc96fbda
AS
211492010-09-09 Andreas Schwab <schwab@redhat.com>
21150
21151 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21152 (sysd-rules-targets): Remove duplicates.
21153 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21154 rtld-%.$o dependency.
21155
22cd1c9b
AS
211562010-10-18 Andreas Schwab <schwab@redhat.com>
21157
21158 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21159 _dl_map_object do it.
21160
18edac48
UD
211612010-10-19 Ulrich Drepper <drepper@gmail.com>
21162
21163 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21164 fast fma builtins, define the macros in the C99 standard.
21165 (FP_FAST_FMAF): Likewise.
21166 (FP_FAST_FMAL): Likewise.
21167 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21168
21169 * bits/mathdef.h: Update copyright year.
21170 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21171
d2050124
MM
211722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21173
21174 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21175 builtins, define the macros in the C99 standard.
21176 (FP_FAST_FMAF): Likewise.
21177 (FP_FAST_FMAL): Likewise.
21178 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21179 multiply/add.
21180 (FP_FAST_FMAF): Likewise.
21181
475facd1
JJ
211822010-10-15 Jakub Jelinek <jakub@redhat.com>
21183
21184 [BZ #3268]
21185 * math/libm-test.inc (fma_test): Some new testcases.
21186 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21187 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21188 y and infinite z. Do multiplication by C already in long double.
21189 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21191 y and infinite z. Do bitwise or of inexact bit into u.d.
21192 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21193 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21194 * sysdeps/i386/fpu/s_fma.S: Removed.
21195 * sysdeps/i386/fpu/s_fmal.S: Removed.
21196
7c08a05c
JJ
211972010-10-16 Jakub Jelinek <jakub@redhat.com>
21198
21199 [BZ #3268]
21200 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21202 computation is not scheduled after fetestexcept. Fix value
21203 of minimum denormal long double.
21204
f3f7372d
JJ
212052010-10-14 Jakub Jelinek <jakub@redhat.com>
21206
21207 [BZ #3268]
21208 * math/libm-test.inc (fma_test): Add some more tests.
21209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21210 correctly.
21211
14d43591
AS
212122010-10-15 Andreas Schwab <schwab@redhat.com>
21213
21214 * scripts/data/localplt-s390-linux-gnu.data: New file.
21215 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21216
5e908464
JJ
212172010-10-13 Jakub Jelinek <jakub@redhat.com>
21218
21219 [BZ #3268]
21220 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21221 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21222 instead of dbl-64.
21223 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21224 inlines.
21225 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21227 if one of x and y is very large and the other is subnormal.
21228 * sysdeps/s390/fpu/s_fmaf.c: New file.
21229 * sysdeps/s390/fpu/s_fma.c: New file.
21230 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21231 * sysdeps/powerpc/fpu/s_fma.S: New file.
21232 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21233 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21234 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21235
212362010-10-12 Jakub Jelinek <jakub@redhat.com>
21237
21238 [BZ #3268]
21239 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21240 fma tests.
21241 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21242 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21243 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21244 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21245 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21246 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21247 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21248
b833d51f
UD
212492010-10-12 Ulrich Drepper <drepper@redhat.com>
21250
21251 [BZ #12078]
21252 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21253 * posix/bug-regex31.input: Add test case.
21254
1751705d
UD
212552010-10-11 Ulrich Drepper <drepper@gmail.com>
21256
e9b9cbf5
UD
21257 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21258 * posix/bug-regex31.input: New file.
21259
21260 [BZ #12078]
21261 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21262 (parse_sub_exp): Fix last change, use postorder.
21263
ef06edbe
UD
21264 * posix/bug-regex31.c: New file.
21265 * posix/Makefile: Add rules to build and run bug-regex31.
21266
a129c80d
UD
21267 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21268
21269 [BZ #12078]
21270 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21271
b76b818e
UD
21272 [BZ #12108]
21273 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21274 to have entries in sys_siglist.
21275
1751705d
UD
21276 [BZ #12093]
21277 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21278 be NULL.
21279
9ff8d36f
JJ
212802010-10-07 Jakub Jelinek <jakub@redhat.com>
21281
21282 [BZ #3268]
21283 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21284 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21285 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21286 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21287 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21288 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21289 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21290 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21291 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21292 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21293 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21294 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21295 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21296 * math/ftestexcept.c (fetestexcept): Likewise.
21297 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21298 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21299 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21300 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21301 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21302 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21303 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21304
af325969
UD
213052010-10-11 Ulrich Drepper <drepper@gmail.com>
21306
c579b202 21307 [BZ #12107]
af325969
UD
21308 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21309 newline.
21310
67a67b95
UD
213112010-10-06 Ulrich Drepper <drepper@gmail.com>
21312
21313 * string/bug-strstr1.c: New file.
21314 * string/Makefile: Add rules to build and run bug-strstr1.
21315
5fb308bc
EB
213162010-10-05 Eric Blake <eblake@redhat.com>
21317
21318 [BZ #12092]
21319 * string/str-two-way.h (two_way_long_needle): Always clear memory
21320 when skipping input due to the shift table.
21321
45db99c7
UD
213222010-10-03 Ulrich Drepper <drepper@gmail.com>
21323
3b111893
UD
21324 [BZ #12005]
21325 * malloc/mcheck.c: Handle large requests.
21326
45db99c7
UD
21327 [BZ #12077]
21328 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21329 for strncmp and strncasecmp.
21330 * string/stratcliff.c: Add tests for strcmp and strncmp.
21331 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21332
cf7a1eb8
NI
213332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21334
21335 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21336 __set_fpscr.
21337
6484ba5e
AJ
213382010-09-30 Andreas Jaeger <aj@suse.de>
21339
21340 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21341 (CGROUP_SUPER_MAGIC): Define.
21342 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21343 Handle btrfs and cgroup file systems.
21344 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21345 Likewise.
21346
91c42559
LM
213472010-09-27 Luis Machado <luisgpm@br.ibm.com>
21348
21349 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21350 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21351
87a97932
AK
213522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21353
21354 [BZ #12067]
21355 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21356 trying to locate the ELF header.
21357
c21cc9bc
AS
213582010-09-27 Andreas Schwab <schwab@redhat.com>
21359
21360 [BZ #11611]
21361 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21362 Mask out sign-bit copies when constructing f_fsid.
21363
315970f6
PB
213642010-09-24 Petr Baudis <pasky@suse.cz>
21365
21366 * debug/stack_chk_fail_local.c: Add missing licence exception.
21367 * debug/warning-nop.c: Likewise.
21368
1ac7a2c7
JM
213692010-09-15 Joseph Myers <joseph@codesourcery.com>
21370
21371 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21372 implementing getdents64 using getdents syscall, set d_type if
21373 __ASSUME_GETDENTS32_D_TYPE.
21374
56801c50
AS
213752010-09-16 Andreas Schwab <schwab@redhat.com>
21376
21377 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21378 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21379
dda51327
UD
213802010-09-21 Ulrich Drepper <drepper@redhat.com>
21381
21382 [BZ #12037]
21383 * posix/unistd.h: Undo change of feature selection for ftruncate from
21384 2010-01-11.
21385
8ffcee4a
UD
213862010-09-20 Ulrich Drepper <drepper@redhat.com>
21387
a545ecd9 21388 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21389 detection.
21390
e24f0a8b
AS
213912010-09-20 Andreas Schwab <schwab@redhat.com>
21392
21393 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21394 fanotify_mark.
21395 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21396
7291c56f
AS
213972010-09-14 Andreas Schwab <schwab@redhat.com>
21398
21399 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21400 variables after CHECK_SP call.
21401 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21402
bc5fb037
AS
214032010-09-13 Andreas Schwab <schwab@redhat.com>
21404 Ulrich Drepper <drepper@redhat.com>
21405
21406 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21407 re-relocationg ld.so.
21408 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21409 _dl_init_paths call.
21410 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21411 here anymore.
21412
e66e7419
UD
214132010-09-14 Ulrich Drepper <drepper@redhat.com>
21414
21415 * resolv/res_init.c (__res_vinit): Count the default server we added.
21416
c044aa75
CLT
214172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21418 Ulrich Drepper <drepper@redhat.com>
21419
21420 [BZ #11968]
21421 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21422 (____longjmp_chk): Use %ebx for saving value across system call.
21423 Add unwind info.
21424
32cf4069
AS
214252010-09-06 Andreas Schwab <schwab@redhat.com>
21426
21427 * manual/Makefile: Don't mix pattern rules with normal rules.
21428
817328ee
AS
214292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21430
21431 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21432 operation.
21433 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21434 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21435 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21436 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21438 Likewise.
21439
29fddf61
UD
214402010-09-04 Ulrich Drepper <drepper@redhat.com>
21441
21442 [BZ #11979]
21443 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21444 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21445
0959ffc9
UD
214462010-09-02 Ulrich Drepper <drepper@redhat.com>
21447
21448 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21449 * sysdeps/x86_64/addmul_1.S: Likewise.
21450 * sysdeps/x86_64/lshift.S: Likewise.
21451 * sysdeps/x86_64/mul_1.S: Likewise.
21452 * sysdeps/x86_64/rshift.S: Likewise.
21453 * sysdeps/x86_64/sub_n.S: Likewise.
21454 * sysdeps/x86_64/submul_1.S: Likewise.
21455
ece29840
ST
214562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21457
0959ffc9
UD
21458 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21459 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21460 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21461 * bits/sched.h [__need_schedparam]
ece29840 21462 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21463 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21464 (__defined_schedparam): Define to 1.
ece29840
ST
21465 (__sched_param): New structure, identical to sched_param.
21466 (__need_schedparam): Undefine.
21467
e53a31fe
MF
214682010-08-31 Mike Frysinger <vapier@gentoo.org>
21469
fdc0c10d
MF
21470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21471 (epoll_create1): Declare.
21472
e53a31fe
MF
21473 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21474
a726d796
AS
214752010-08-31 Andreas Schwab <schwab@redhat.com>
21476
21477 [BZ #7066]
21478 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21479 shifting retval into place.
21480
2f3e3dc7
UD
214812010-09-01 Ulrich Drepper <drepper@redhat.com>
21482
f2933da9
UD
21483 * nis/rpcsvc/nis.h: Update copyright notice.
21484 * nis/rpcsvc/nis.x: Likewise.
21485 * nis/rpcsvc/nis_callback.h: Likewise.
21486 * nis/rpcsvc/nis_callback.x: Likewise.
21487 * nis/rpcsvc/nis_object.x: Likewise.
21488 * nis/rpcsvc/nis_tags.h: Likewise.
21489 * nis/rpcsvc/yp.h: Likewise.
21490 * nis/rpcsvc/yp.x: Likewise.
21491 * nis/rpcsvc/ypupd.h: Likewise.
21492 * nis/yp_xdr.c: Likewise.
21493 * nis/ypupdate_xdr.c: Likewise.
21494
2f3e3dc7
UD
21495 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21496 mainly the body of pmap_getport. Add parameters to specify timeouts.
21497 (pmap_getport): Use __libc_rpc_getport.
21498 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21499 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21500 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21501
f3dcc2f9
AS
215022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21503
21504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21505 fanotify_mark.
21506
6d34eb5b
RM
215072010-08-27 Roland McGrath <roland@redhat.com>
21508
21509 * sysdeps/i386/i686/multiarch/Makefile
21510 (CFLAGS-varshift.c): New variable.
21511
9ea3de11
UD
215122010-08-27 Ulrich Drepper <drepper@redhat.com>
21513
c96d23fc
UD
21514 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21515 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21516
9ea3de11
UD
21517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21518
21519 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21520
623aac7f
L
215212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21522
21523 * sysdeps/x86_64/strlen.S: Unroll the loop.
21524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21525 strlen-sse2 strlen-sse2-bsf.
21526 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21527 __strlen_no_bsf if bit_Slow_BSF is set.
21528 (__strlen_sse42): Removed.
21529 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21530 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21531
8b2b7715
RM
215322010-08-25 Roland McGrath <roland@redhat.com>
21533
21534 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21535 * sysdeps/x86_64/multiarch/varshift.c: New file.
21536 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21537 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21538 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21539 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21540
e73015f2
L
215412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21542
21543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21544 strlen-sse2 strlen-sse2-bsf.
21545 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21546 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21547 (__strlen_sse2): Removed.
21548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21549 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21551 bit_Slow_BSF for Atom.
21552 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21553 (index_Slow_BSF): Define.
21554 (HAS_SLOW_BSF): Define.
21555
df24a73e
UD
215562010-08-25 Ulrich Drepper <drepper@redhat.com>
21557
21558 [BZ #10851]
21559 * resolv/res_init.c (__res_vinit): When no server address at all
21560 is given default to loopback.
21561
f2ac4868
RM
215622010-08-24 Roland McGrath <roland@redhat.com>
21563
09055553
RM
21564 * configure.in: Remove config-name.h generation.
21565 * configure: Regenerated.
21566 * config-name.in: File removed.
21567 * scripts/config-uname.sh: New file.
21568 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21569 ($(objdir)config-name.h): New target.
21570
f2ac4868
RM
21571 * sunrpc/rpc_parse.h: Avoid nested comment.
21572
73f27d5e
RH
215732010-08-24 Richard Henderson <rth@redhat.com>
21574 Ulrich Drepper <drepper@redhat.com>
21575 H.J. Lu <hongjiu.lu@intel.com>
21576
21577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21579 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21580 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21581 _mm_alignr_epi8 with _mm_loadu_si128.
21582 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21583 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21584 (__m128i_shift_right): Removed.
21585 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21586 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21587 * sysdeps/x86_64/multiarch/varshift.h: New file.
21588 * sysdeps/x86_64/multiarch/varshift.S: New file.
21589
84b9230c
MF
215902010-08-21 Mike Frysinger <vapier@gentoo.org>
21591
21592 * configure.in: Move assembler checks to before sysdep dir checking.
21593
9bbd0ddc
PB
215942010-08-20 Petr Baudis <pasky@suse.cz>
21595
21596 * LICENSES: Sync the sunrpc license.
21597
9da4bb31
UD
215982010-08-19 Ulrich Drepper <drepper@redhat.com>
21599
a7ab6ec8
UD
21600 * sunrpc/auth_des.c: Update copyright notice once again.
21601 * sunrpc/auth_none.c: Likewise.
21602 * sunrpc/auth_unix.c: Likewise.
21603 * sunrpc/authdes_prot.c: Likewise.
21604 * sunrpc/authuxprot.c: Likewise.
21605 * sunrpc/bindrsvprt.c: Likewise.
21606 * sunrpc/clnt_gen.c: Likewise.
21607 * sunrpc/clnt_perr.c: Likewise.
21608 * sunrpc/clnt_raw.c: Likewise.
21609 * sunrpc/clnt_simp.c: Likewise.
21610 * sunrpc/clnt_tcp.c: Likewise.
21611 * sunrpc/clnt_udp.c: Likewise.
21612 * sunrpc/clnt_unix.c: Likewise.
21613 * sunrpc/des_crypt.c: Likewise.
21614 * sunrpc/des_soft.c: Likewise.
21615 * sunrpc/get_myaddr.c: Likewise.
21616 * sunrpc/getrpcport.c: Likewise.
21617 * sunrpc/key_call.c: Likewise.
21618 * sunrpc/key_prot.c: Likewise.
21619 * sunrpc/openchild.c: Likewise.
21620 * sunrpc/pm_getmaps.c: Likewise.
21621 * sunrpc/pm_getport.c: Likewise.
21622 * sunrpc/pmap_clnt.c: Likewise.
21623 * sunrpc/pmap_prot.c: Likewise.
21624 * sunrpc/pmap_prot2.c: Likewise.
21625 * sunrpc/pmap_rmt.c: Likewise.
21626 * sunrpc/rpc/auth.h: Likewise.
21627 * sunrpc/rpc/auth_unix.h: Likewise.
21628 * sunrpc/rpc/clnt.h: Likewise.
21629 * sunrpc/rpc/des_crypt.h: Likewise.
21630 * sunrpc/rpc/key_prot.h: Likewise.
21631 * sunrpc/rpc/netdb.h: Likewise.
21632 * sunrpc/rpc/pmap_clnt.h: Likewise.
21633 * sunrpc/rpc/pmap_prot.h: Likewise.
21634 * sunrpc/rpc/pmap_rmt.h: Likewise.
21635 * sunrpc/rpc/rpc.h: Likewise.
21636 * sunrpc/rpc/rpc_des.h: Likewise.
21637 * sunrpc/rpc/rpc_msg.h: Likewise.
21638 * sunrpc/rpc/svc.h: Likewise.
21639 * sunrpc/rpc/svc_auth.h: Likewise.
21640 * sunrpc/rpc/types.h: Likewise.
21641 * sunrpc/rpc/xdr.h: Likewise.
21642 * sunrpc/rpc_clntout.c: Likewise.
21643 * sunrpc/rpc_cmsg.c: Likewise.
21644 * sunrpc/rpc_common.c: Likewise.
21645 * sunrpc/rpc_cout.c: Likewise.
21646 * sunrpc/rpc_dtable.c: Likewise.
21647 * sunrpc/rpc_hout.c: Likewise.
21648 * sunrpc/rpc_main.c: Likewise.
21649 * sunrpc/rpc_parse.c: Likewise.
21650 * sunrpc/rpc_parse.h: Likewise.
21651 * sunrpc/rpc_prot.c: Likewise.
21652 * sunrpc/rpc_sample.c: Likewise.
21653 * sunrpc/rpc_scan.c: Likewise.
21654 * sunrpc/rpc_scan.h: Likewise.
21655 * sunrpc/rpc_svcout.c: Likewise.
21656 * sunrpc/rpc_tblout.c: Likewise.
21657 * sunrpc/rpc_util.c: Likewise.
21658 * sunrpc/rpc_util.h: Likewise.
21659 * sunrpc/rpcinfo.c: Likewise.
21660 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21661 * sunrpc/rpcsvc/key_prot.x: Likewise.
21662 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21663 * sunrpc/rpcsvc/mount.x: Likewise.
21664 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21665 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21666 * sunrpc/rpcsvc/rex.x: Likewise.
21667 * sunrpc/rpcsvc/rstat.x: Likewise.
21668 * sunrpc/rpcsvc/rusers.x: Likewise.
21669 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21670 * sunrpc/rpcsvc/spray.x: Likewise.
21671 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21672 * sunrpc/rtime.c: Likewise.
21673 * sunrpc/svc.c: Likewise.
21674 * sunrpc/svc_auth.c: Likewise.
21675 * sunrpc/svc_authux.c: Likewise.
21676 * sunrpc/svc_raw.c: Likewise.
21677 * sunrpc/svc_run.c: Likewise.
21678 * sunrpc/svc_simple.c: Likewise.
21679 * sunrpc/svc_tcp.c: Likewise.
21680 * sunrpc/svc_udp.c: Likewise.
21681 * sunrpc/svc_unix.c: Likewise.
21682 * sunrpc/svcauth_des.c: Likewise.
21683 * sunrpc/xcrypt.c: Likewise.
21684 * sunrpc/xdr.c: Likewise.
21685 * sunrpc/xdr_array.c: Likewise.
21686 * sunrpc/xdr_float.c: Likewise.
21687 * sunrpc/xdr_mem.c: Likewise.
21688 * sunrpc/xdr_rec.c: Likewise.
21689 * sunrpc/xdr_ref.c: Likewise.
21690 * sunrpc/xdr_sizeof.c: Likewise.
21691 * sunrpc/xdr_stdio.c: Likewise.
21692
9da4bb31
UD
21693 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21694 handling.
21695
bdaa77bc
AS
216962010-08-19 Andreas Schwab <schwab@redhat.com>
21697
21698 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21699
fe2f79db
LM
217002010-08-19 Luis Machado <luisgpm@br.ibm.com>
21701
21702 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21703 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21704 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21705 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21706 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21707 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21708 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21709 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21710 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21711 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21712 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21713 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21714 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21715 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21716
b9b42ee0
AB
217172010-07-26 Anton Blanchard <anton@samba.org>
21718
21719 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21720 * malloc/arena.c (heap_trim): Likewise.
21721
1c06ba31
UD
217222010-08-16 Ulrich Drepper <drepper@redhat.com>
21723
21724 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21725 here. Not...
21726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21727 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21728
f8392f40
L
217292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21730
21731 * sysdeps/i386/elf/Makefile: New file.
21732
3162f12e
AS
217332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21734
21735 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21736 from fanotify_init.
21737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21739
28c90b2c
UD
217402010-08-15 Ulrich Drepper <drepper@redhat.com>
21741
21742 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21743 of strncasecmp_l.
1feccb6c 21744 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21745
ca6bb004
UD
217462010-08-14 Ulrich Drepper <drepper@redhat.com>
21747
e9f82e0d
UD
21748 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21749 strncase_l-nonascii.
21750 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21751 Add strncase_l-ssse3.
21752 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21753 * sysdeps/x86_64/strcmp.S: Likewise.
21754 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21755 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21756 * sysdeps/x86_64/strncase.S: New file.
21757 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21758 * sysdeps/x86_64/strncase_l.S: New file.
21759 * string/Makefile (strop-tests): Add strncasecmp.
21760 * string/test-strncasecmp.c: New file.
21761
21762 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21763 warning.
21764
ca6bb004
UD
21765 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21766 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21767
052fa7b3
AS
217682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21769
21770 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21771
962dba78
UD
217722010-08-12 Ulrich Drepper <drepper@redhat.com>
21773
21774 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21775 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21776 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21777
bebff237
AM
217782010-05-01 Alan Modra <amodra@gmail.com>
21779
21780 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21781 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21782 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21783 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21784 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21785 tidying. Don't tail-call __sigjmp_save for static lib.
21786 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21787 save location.
21788 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21789 (CALL_MCOUNT): Add eh info, and nop after bl.
21790 (TAIL_CALL_SYSCALL_ERROR): New macro.
21791 (PSEUDO_RET): Use it.
21792 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21793 Correct save location of integer regs and cr.
21794 (_dl_profile_resolve): Correct cr save location. Delete nops
21795 after bl when SHARED. Reduce cfi size a little by better
21796 placement of cfi directives.
21797 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21798 make a stack frame. Instead use parm save area as a temp.
21799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21800 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21802 Don't make a stack frame for parent, use parm save area.
21803 Increase child stack frame to 112 bytes. Don't save unused reg,
21804 and adjust reg usage. Set up cfi on error recovery and
21805 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21807 (__makecontext): Add dummy nop after jump to exit.
21808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21809 Use correct parm save area and cr save, reduce stack frame.
21810 Correct cfi for possible PSEUDO_RET frame setup.
21811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21812 Branch to local label emitted by PSEUDO_RET rather than
21813 __syscall_error.
21814
02637374
AS
218152010-08-12 Andreas Schwab <schwab@redhat.com>
21816
21817 [BZ #11904]
21818 * locale/programs/locale.c (print_assignment): New function.
21819 (show_locale_vars): Use it.
21820
c3e2f19b
UD
218212010-08-11 Ulrich Drepper <drepper@redhat.com>
21822
3cdaa6ad
UD
21823 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21824 field.
21825 (struct statfs64): Likewise.
21826 (_STATFS_F_FLAGS): Define.
21827 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21828 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21829 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21830 (ST_VALID): Define locally.
21831 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21832 __statvfs_getflags, use the provided value.
21833 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21834 __ASSUME_STATFS_F_FLAGS.
21835
754f7da3
UD
21836 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21837
10b3bedc
UD
21838 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21839 Add sys/fanotify.h.
21840 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21841 fanotify_mask for GLIBC_2.13.
21842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21843 fanotify_init and fanotify_mark.
21844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21845 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21846
c08fb0d7
UD
21847 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21848 Add prlimit.
21849 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21850 prlimit64 for GLIBC_2.13.
21851 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21852 prlimit64.
21853 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21854 syscall.
21855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21856 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21857 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21858 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21860 add prlimit alias.
21861 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21862
15bac72b
UD
21863 [BZ #11903]
21864 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21865 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21866
c3e2f19b
UD
21867 * nss/Makefile: Add rules to build and run tst-nss-test1.
21868 * shlib-versions: Add entry for libnss_test1.
21869 * nss/nss_test1.c: New file.
21870 * nss/tst-nss-test1.c: New file.
21871
21872 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21873 (__nss_configure_lookup): Set appropriate entry in
21874 __nss_configure_lookup to true.
21875 * nss/nsswitch.h: Define enum with indeces of databases in
21876 databases and __nss_database_custom arrays. Declare
21877 __nss_database_custom.
21878 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21879 to avoid using nscd when custom rules are installed.
21880 * nss/getXXbyYY_r.c: Likewise.
21881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21882
21883 * nss/nss_files/files-parse.c: Whitespace fixes.
21884
f15ce4d8
UD
218852010-08-09 Ulrich Drepper <drepper@redhat.com>
21886
21887 [BZ #11883]
21888 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21889 * posix/fnmatch_loop.c: Likewise.
21890
d22e4cc9
AK
218912010-07-17 Andi Kleen <ak@linux.intel.com>
21892
21893 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21894 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21895 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21896 * Versions.def [GLIBC_2.13]: Add.
21897
805bc17d
UD
218982010-08-06 Ulrich Drepper <drepper@redhat.com>
21899
21900 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21901 Also fail if tpwd after pwuid call is NULL.
21902
5a42321d
ST
219032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21904
21905 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21906 when converting to ms.
21907
fd3ebeda
ST
219082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21909
21910 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21911 EOPNOTSUPP errors with ENOTTY.
21912 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21913 EOPNOTSUPP errors with ENOTTY.
21914
73507d3a
UD
219152010-07-31 Ulrich Drepper <drepper@redhat.com>
21916
21917 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21918 Add strcasecmp_l-ssse3.
21919 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21920 strcasecmp.
21921 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21922 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21923 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21924
fe36dd02
UD
219252010-07-30 Ulrich Drepper <drepper@redhat.com>
21926
66f6765a
UD
21927 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21928
42e08a54
UD
21929 * string/Makefile (strop-tests): Add strcasecmp.
21930 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21931 strcasecmp_l-nonascii.
21932 (gen-as-const-headers): Add locale-defines.sym.
21933 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21934 * sysdeps/x86_64/strcasecmp.S: New file.
21935 * sysdeps/x86_64/strcasecmp_l.S: New file.
21936 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21937 * sysdeps/x86_64/locale-defines.sym: New file.
21938 * string/test-strcasecmp.c: New file.
21939
fe36dd02
UD
21940 * string/test-strcasestr.c: Test both ends of the range of characters.
21941 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21942
48cbc0d6
RM
219432010-07-29 Roland McGrath <roland@redhat.com>
21944
76e6d6bc 21945 [BZ #11856]
48cbc0d6
RM
21946 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21947
880113d9
UD
219482010-07-27 Ulrich Drepper <drepper@redhat.com>
21949
21950 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21951 for ld.so.
21952
deb9cabb
AS
219532010-07-27 Andreas Schwab <schwab@redhat.com>
21954
21955 * manual/memory.texi (Malloc Tunable Parameters): Document
21956 M_PERTURB.
21957
1c7570ff
RM
219582010-07-26 Roland McGrath <roland@redhat.com>
21959
21960 [BZ #11840]
21961 * configure.in (-fgnu89-inline check): Set and substitute
21962 gnu89_inline, not libc_cv_gnu89_inline.
21963 * configure: Regenerated.
21964 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21965
24fb0f88
UD
219662010-07-26 Ulrich Drepper <drepper@redhat.com>
21967
21968 * string/test-strnlen.c: New file.
21969 * string/Makefile (strop-tests): Add strnlen.
21970 * string/tester.c (test_strnlen): Add a few more test cases.
21971 * string/tst-strlen.c: Better error reporting.
21972
21973 * sysdeps/x86_64/strnlen.S: New file.
21974
8e96b93a
UD
219752010-07-24 Ulrich Drepper <drepper@redhat.com>
21976
21977 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21978 lower-latency instructions.
21979
dbc676d4
UD
219802010-07-23 Ulrich Drepper <drepper@redhat.com>
21981
21982 * string/test-strcasestr.c: New file.
21983 * string/test-strstr.c: New file.
21984 * string/Makefile (strop-tests): Add strstr and strcasestr.
21985 * string/str-two-way.h: Don't undefine MAX.
21986 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21987
f6a31e0e
AS
219882010-07-21 Andreas Schwab <schwab@redhat.com>
21989
21990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21991 strcasestr-nonascii.
21992 (CFLAGS-strcasestr-nonascii.c): Define.
21993 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21994 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21995 Remove unused attribute.
21996
5dbc3b6c
RM
219972010-07-20 Roland McGrath <roland@redhat.com>
21998
21999 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22000 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22001 ld.so.cache was broken. With it, there is no way to disable dsocaps
22002 like LD_HWCAP_MASK can disable hwcaps.
22003
23d101d8
EPM
220042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22005
22006 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22007
cc9f2e47
UD
220082010-07-16 Ulrich Drepper <drepper@redhat.com>
22009
22010 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22011 call in strcasestr.
22012 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22013 __strcasestr_sse42_nonascii.
22014 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22015 strcasestr-nonascii.c.
22016 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22017
77c1b069
LM
220182010-06-15 Luis Machado <luisgpm@br.ibm.com>
22019
22020 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22021 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22022 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22023 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22024
440566c3
UD
220252010-07-09 Ulrich Drepper <drepper@redhat.com>
22026
22027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22028 fcntl.
22029
5be9d05d
AS
220302010-07-06 Andreas Schwab <schwab@redhat.com>
22031
c30b7ee2 22032 [BZ #11577]
5be9d05d
AS
22033 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22034 dl_signal_cerror.
22035
8a492a67
UD
220362010-07-06 Ulrich Drepper <drepper@redhat.com>
22037
22038 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22039 _PC_PIPE_BUF using F_GETPIPE_SZ.
22040
713df3d5
RM
220412010-07-05 Roland McGrath <roland@redhat.com>
22042
22043 * manual/arith.texi (Rounding Functions): Fix rint description
22044 implicit in round description.
22045
702e8f14
UD
220462010-07-02 Ulrich Drepper <drepper@redhat.com>
22047
22048 * elf/Makefile: Fix linking for a few tests to make recent linker
22049 happy.
22050
52ed8be9
AS
220512010-06-30 Andreas Schwab <schwab@redhat.com>
22052
22053 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22054 $(common-objpfx)libc_nonshared.a.
22055
f47c9a11
LM
220562010-06-21 Luis Machado <luisgpm@br.ibm.com>
22057
22058 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22059 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22060 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22061 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22062 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22063 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22064 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22065 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22080 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22081 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22082 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22083 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22084 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22085 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22086 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22087 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22088 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22089 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22090 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22091 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22106
6fb8cbcb
L
221072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22108
22109 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22110 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22111 * string/memmove.c (memmove): Renamed to ...
22112 (MEMMOVE): ...this. Default to memmove.
22113 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22114 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22115 (END_CHK): Define.
22116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22117 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22118 mempcpy-ssse3-back memmove-ssse3-back.
22119 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22121 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22122 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22123 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22124 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22125 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22126 * sysdeps/x86_64/multiarch/memmove.c: New file.
22127 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22128 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22129 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22130 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22131 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22132 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22133 Define.
22134 (index_Fast_Copy_Backward): Define.
22135 (HAS_ARCH_FEATURE): Define.
22136 (HAS_FAST_REP_STRING): Define.
22137 (HAS_FAST_COPY_BACKWARD): Define.
22138
4e733bac 221392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22140
22141 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22142 Restore proper fallback handling.
22143
63c4ed22
UD
221442010-06-19 Ulrich Drepper <drepper@redhat.com>
22145
ac2b484c
UD
22146 [BZ #11701]
22147 * posix/group_member.c (__group_member): Correct checking loop.
22148
63c4ed22
UD
22149 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22150 OOM in getpwuid_r correctly. Return error number when the caller
22151 should return, otherwise -1.
22152 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22153 call returning > 0 value.
22154 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22155
765ade4b
AS
221562010-06-07 Andreas Schwab <schwab@redhat.com>
22157
22158 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22159 libc_nonshared.a from targets in modules-names.
22160
80da2e09
KS
221612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22162
22163 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22164 requires it.
22165
158db122
LM
221662010-06-10 Luis Machado <luisgpm@br.ibm.com>
22167
22168 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22169 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22170 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22172
caa78cf8
AS
221732010-06-02 Andreas Schwab <schwab@redhat.com>
22174
22175 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22176
b2ef2c01
UD
221772010-06-14 Ulrich Drepper <drepper@redhat.com>
22178
22179 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22180 and F_GETPIPE_SZ.
22181 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22185 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22186 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22187
fbd643b6
RM
221882010-06-14 Roland McGrath <roland@redhat.com>
22189
22190 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22191
f32f2869
JJ
221922010-06-07 Jakub Jelinek <jakub@redhat.com>
22193
22194 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22195 __REDIRECT followed by __THROW.
22196 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22197 * posix/getopt.h (getopt): Likewise.
22198
2a50c078
EPM
221992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22200
22201 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22202 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22203 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22204 in AT_FLAGS.
22205 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22206 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22207
eb5ad2eb
LM
222082010-05-28 Luis Machado <luisgpm@br.ibm.com>
22209
22210 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22211
3c88fe1e
L
222122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22213
22214 [BZ #11640]
22215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22216 Properly check family and model.
22217
d2f73151
TY
222182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22219
22220 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22221
ebd2e13d
LM
222222010-05-24 Luis Machado <luisgpm@br.ibm.com>
22223
22224 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22225
b32b8b45
UD
222262010-05-21 Ulrich Drepper <drepper@redhat.com>
22227
22228 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22229 symbol reference.
22230
9acbe24d
AS
222312010-05-19 Andreas Schwab <schwab@redhat.com>
22232
22233 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22234 symbol reference.
22235
f0ccf6ea
AS
222362010-05-21 Andreas Schwab <schwab@redhat.com>
22237
3d04ff3a
AS
22238 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22239 and internal_recvmmsg.
22240 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22241 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22242 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22243 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22244
f0ccf6ea
AS
22245 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22246 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22247 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22248
5b08ac57
AS
222492010-05-20 Andreas Schwab <schwab@redhat.com>
22250
22251 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22252
4828935d
LM
222532010-05-17 Luis Machado <luisgpm@br.ibm.com>
22254
22255 POWER7 optimizations.
22256 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22257 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22258
373d545e
UD
222592010-05-19 Ulrich Drepper <drepper@redhat.com>
22260
22261 * version.h: Update for 2.13 development version.
22262
21a2b1ae
AS
222632010-05-12 Andrew Stubbs <ams@codesourcery.com>
22264
22265 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22266 exceptions. Return 0.
22267
3f7dcb2b
RM
222682010-05-07 Roland McGrath <roland@redhat.com>
22269
22270 * elf/ldconfig.c (main): Add a const.
22271
5f24d53a 222722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22273
a160f8d8
UD
22274 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22275 (args_options): Add no-idn option.
22276 (ahosts_keys_int): Add idn_flags to ai_flags.
22277 (parse_option): Handle 'i' option to clear idn_flags.
22278
5f24d53a
UD
22279 * malloc/malloc.c (_int_free): Possible race in the most recently
22280 added check. Only act on the data if no current modification
22281 happened.
265bb1ce
UD
22282
22283See ChangeLog.17 for earlier changes.
This page took 2.852572 seconds and 5 git commands to generate.