]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
NEWS entry for AArch64 port.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3d2577bb
JM
12012-11-10 Joseph Myers <joseph@codesourcery.com>
2
3 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4 file.
5 [UNIX98] (sem_timedwait): Do not expect.
6 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7 [XPG4 || UNIX98] (sockatmark): Do not expect.
8 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9 (clock_getcpuclockid): Do not expect.
10 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12 Do not expect.
13 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15 [UNIX98] (vwscanf): Likewise.
16 [UNIX98] (vswscanf): Likewise.
17
fb1ae1ee
JM
182012-11-09 Joseph Myers <joseph@codesourcery.com>
19
9ec6f8bd
JM
20 * timezone/version.h: Remove file.
21 * timezone/README: Do not refer to version.h.
22 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23 $(objpfx)version.h.
24 ($(objpfx)zdump.o): Likewise.
c3f81911 25 ($(objpfx)version.h): New target.
9ec6f8bd 26
0aa8f8a1
JM
27 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28 2012i.
29 * timezone/README: Don't mention modification to tzselect.ksh.
30 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31 work on unmodified tzselect.ksh. Substitute version numbers in
32 tzselect.ksh.
33
4e87147f
JM
34 * Makefile (format-me): Remove.
35 (INSTALL): Adjust indentation. Use commands directly instead of
36 using $(format-me).
37
8b748aed
JM
38 * aclocal.m4 (ACX_PKGVERSION): New macro.
39 (ACX_BUGURL): Likewise.
40 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41 (PKGVERSION): New AC_DEFINE_UNQUOTED.
42 (REPORT_BUGS_TO): Likewise.
43 * configure: Regenerated.
44 * config.h.in (PKGVERSION): New macro.
45 (REPORT_BUGS_TO): Likewise.
46 * config.make.in (PKGVERSION): New variable.
47 (PKGVERSION_TEXI): Likewise.
48 (REPORT_BUGS_TO): Likewise.
49 (REPORT_BUGS_TEXI): Likewise.
50 * Makefile (format-me): Use -I$(common-objpfx)manual.
51 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52 ($(common-objpfx)manual/%): New target.
53 (manual/%): Remove target.
54 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55 (print_version): Use PKGVERSION.
56 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58 and REPORT_BUGS_TO.
59 ($(objpfx)xtrace): Likewise.
60 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62 (print_version): Use PKGVERSION.
63 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
64 (do_version): Use PKGVERSION.
65 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66 REPORT_BUGS_TO.
67 (common-ldd-rewrite): Likewise.
68 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
69 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70 (print_version): Use PKGVERSION.
71 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72 * elf/pldd.c (argp_program_bug_address): Remove variable.
73 (more_help): New function.
74 (argp): Use more_help.
75 (print_version): Use PKGVERSION.
76 * elf/sln.c (main): Use PKGVERSION.
77 (usage): Use REPORT_BUGS_TO.
78 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
79 (top level): Use PKGVERSION.
80 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
81 (print_version): Use PKGVERSION.
82 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
83 (print_version): Use PKGVERSION.
84 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
85 (print_version): Use PKGVERSION.
86 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
87 (print_version): Use PKGVERSION.
88 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
89 (print_version): Use PKGVERSION.
90 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
91 (print_version): Use PKGVERSION.
92 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
93 and BUGURL.
94 ($(objpfx)memusage): Likewise.
95 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
96 (do_version): Use PKGVERSION.
97 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
98 (print_version): Use PKGVERSION.
99 * malloc/mtrace.pl ($PACKAGE): Remove variable.
100 ($PKGVERSION): New variable.
101 ($REPORT_BUGS_TO): Likewise.
102 (usage): Use $REPORT_BUGS_TO.
103 (top level): Use $PKGVERSION.
104 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
105 ($(objpfx)pkgvers.texi): New rule.
106 ($(objpfx)stamp-pkgvers): Likewise.
107 * manual/install.texi: Include pkgvers.texi.
108 (--with-pkgversion): Document new configure option.
109 (--with-bugurl): Likewise.
110 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
111 than necessarily for this particular distribution. Use
112 REPORT_BUGS_TO for where to report bugs.
113 * INSTALL: Regenerated.
114 * manual/libc.texinfo: Include pkgvers.texi.
115 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
116 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
117 (print_version): Use PKGVERSION.
118 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
119 (print_version): Use PKGVERSION.
120 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
121 (print_version): Use PKGVERSION.
122 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
123 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
124 macro.
125 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
126 (print_version): Use PKGVERSION.
127 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
128 (print_version): Use PKGVERSION.
129 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
130 and PKGVERSION.
131
92e4b6a9
JM
132 * timezone/checktab.awk: Update from tzcode 2012i.
133 * timezone/ialloc.c: Likewise.
134 * timezone/private.h: Likewise.
135 * timezone/scheck.c: Likewise.
136 * timezone/tzfile.h: Likewise.
137 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
138 (TZVERSION): Hardcode tzcode version number.
139 * timezone/zdump.c: Update from tzcode 2012i.
140 * timezone/zic.c: Likewise.
141 * timezone/version.h: New file.
142 * timezone/README: Describe version.h. Update upstream location.
143
9bde902c
JM
144 [BZ #14824]
145 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
146 (mktemp): Enable declaration.
147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
151 Likewise.
152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
153 Likewise.
154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
155 Likewise.
156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
157 Likewise.
158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
159 Likewise.
160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
161 Likewise.
162
fb1ae1ee
JM
163 [BZ #14821]
164 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
165 offset in buffer as u_int32_t not u_long. Consistently use memcpy
166 for copies of such integer values.
167 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
168 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
169
2c1adbcb
AJ
1702012-11-09 Andreas Jaeger <aj@suse.de>
171
172 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
173 definitions and declarations that are provided by
174 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
175
d0f8457e
AK
1762012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
177
178 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
179 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
180 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
181 definition.
182
57241e26
MS
1832012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
184
185 * elf/elf.h: Update comment before AArch64 relocations.
186
60e8270d
DM
1872012-11-07 David S. Miller <davem@davemloft.net>
188
189 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
190 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
191 (__start_context): Declare.
192 (__makecontext_ret): Delete.
193 (__makecontext): Hook up __start_context instead of
194 __makecontext_ret.
195 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
196 (sysdep_routines): Add __start_context when in stdlib.
197
0fbb0fbc
JM
1982012-11-07 Joseph Myers <joseph@codesourcery.com>
199
200 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
201 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
202 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
203 hardcoded "nm".
204 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
205 (READELF): New variable. Use it instead of hardcoded "readelf".
206
eb48db7e
L
2072012-11-07 H.J. Lu <hongjiu.lu@intel.com>
208
209 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
210 * sysdeps/x86/Makefile: Here.
211 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
212 * sysdeps/x86/tst-xmmymm.sh: This.
213
05bcf62a
JM
2142012-11-07 Joseph Myers <joseph@codesourcery.com>
215
c4b6cf53
JM
216 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
217 expectations.
218 [UNIX98] (pthread_barrier_t): Do not expect.
219 [UNIX98] (pthread_barrierattr_t): Likewise.
220 [UNIX98] (pthread_spinlock_t): Likewise.
221 [UNIX98] (pthread_barrier_destroy): Likewise.
222 [UNIX98] (pthread_barrier_init): Likewise.
223 [UNIX98] (pthread_barrier_wait): Likewise.
224 [UNIX98] (pthread_barrierattr_destroy): Likewise.
225 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
226 [UNIX98] (pthread_barrierattr_init): Likewise.
227 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
228 [UNIX98] (pthread_getcpuclockid): Likewise.
229 [UNIX98] (pthread_mutex_timedlock): Likewise.
230 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
231 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
232 [UNIX98] (pthread_sigmask): Likewise.
233 [UNIX98] (pthread_spin_destroy): Likewise.
234 [UNIX98] (pthread_spin_init): Likewise.
235 [UNIX98] (pthread_spin_lock): Likewise.
236 [UNIX98] (pthread_spin_trylock): Likewise.
237 [UNIX98] (pthread_spin_unlock): Likewise.
238 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
239 Do not expect.
240 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
241 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
242 [XPG3 || XPG4] (pthread_cond_t): Likewise.
243 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
244 [XPG3 || XPG4] (pthread_key_t): Likewise.
245 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
246 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
247 [XPG3 || XPG4] (pthread_once_t): Likewise.
248 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
249 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
250 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
251 [XPG3 || XPG4] (pthread_t): Likewise.
252
cbe6e120
JM
253 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
254 not expect.
255 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
256
1b126443
JM
257 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
258 Change function return type to int.
259
b961a573
JM
260 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
261 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
262 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
263 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
264 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
265 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
266 [!POSIX] (posix_madvise): Likewise.
267 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
268 && !UNIX98].
269 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
270 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
271 (mode_t): Likewise.
272 (posix_mem_offset): Likewise.
273 (posix_typed_mem_get_info): Likewise.
274 (posix_typed_mem_open): Likewise.
275
9e188909
JM
276 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
277 Change condition to [XOPEN2K8].
278
05bcf62a
JM
279 * conform/conformtest.pl: Preprocess allow-header data with -x c
280 instead of from stdin.
281 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
282 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
283 [C99-based standards] (cerfc): Likewise.
284 [C99-based standards] (cexp2): Likewise.
285 [C99-based standards] (cexpm1): Likewise.
286 [C99-based standards] (clog10): Likewise.
287 [C99-based standards] (clog1p): Likewise.
288 [C99-based standards] (clog2): Likewise.
289 [C99-based standards] (clgamma): Likewise.
290 [C99-based standards] (ctgamma): Likewise.
291 [C99-based standards] (cerff): Likewise.
292 [C99-based standards] (cerfcf): Likewise.
293 [C99-based standards] (cexp2f): Likewise.
294 [C99-based standards] (cexpm1f): Likewise.
295 [C99-based standards] (clog10f): Likewise.
296 [C99-based standards] (clog1pf): Likewise.
297 [C99-based standards] (clog2f): Likewise.
298 [C99-based standards] (clgammaf): Likewise.
299 [C99-based standards] (ctgammaf): Likewise.
300 [C99-based standards] (cerfl): Likewise.
301 [C99-based standards] (cerfcl): Likewise.
302 [C99-based standards] (cexp2l): Likewise.
303 [C99-based standards] (cexpm1l): Likewise.
304 [C99-based standards] (clog10l): Likewise.
305 [C99-based standards] (clog1pl): Likewise.
306 [C99-based standards] (clog2l): Likewise.
307 [C99-based standards] (clgammal): Likewise.
308 [C99-based standards] (ctgammal): Likewise.
309 * conform/data/inttypes.h-data [C99-based standards]: Include
310 stdint.h-data. Remove all expectations for stdint.h contents.
311 [C99-based standards] (PRI*): Do not allow.
312 [C99-based standards] (SCN*): Likewise.
313 [C99-based standards] (*_t): Likewise.
314 [C99-based-standards] (PRId8): Expect macro.
315 [C99-based-standards] (PRIi8): Likewise.
316 [C99-based-standards] (PRIo8): Likewise.
317 [C99-based-standards] (PRIu8): Likewise.
318 [C99-based-standards] (PRIx8): Likewise.
319 [C99-based-standards] (PRIX8): Likewise.
320 [C99-based-standards] (SCNd8): Likewise.
321 [C99-based-standards] (SCNi8): Likewise.
322 [C99-based-standards] (SCNo8): Likewise.
323 [C99-based-standards] (SCNu8): Likewise.
324 [C99-based-standards] (SCNx8): Likewise.
325 [C99-based-standards] (PRIdLEAST8): Likewise.
326 [C99-based-standards] (PRIiLEAST8): Likewise.
327 [C99-based-standards] (PRIoLEAST8): Likewise.
328 [C99-based-standards] (PRIuLEAST8): Likewise.
329 [C99-based-standards] (PRIxLEAST8): Likewise.
330 [C99-based-standards] (PRIXLEAST8): Likewise.
331 [C99-based-standards] (SCNdLEAST8): Likewise.
332 [C99-based-standards] (SCNiLEAST8): Likewise.
333 [C99-based-standards] (SCNoLEAST8): Likewise.
334 [C99-based-standards] (SCNuLEAST8): Likewise.
335 [C99-based-standards] (SCNxLEAST8): Likewise.
336 [C99-based-standards] (PRIdFAST8): Likewise.
337 [C99-based-standards] (PRIiFAST8): Likewise.
338 [C99-based-standards] (PRIoFAST8): Likewise.
339 [C99-based-standards] (PRIuFAST8): Likewise.
340 [C99-based-standards] (PRIxFAST8): Likewise.
341 [C99-based-standards] (PRIXFAST8): Likewise.
342 [C99-based-standards] (SCNdFAST8): Likewise.
343 [C99-based-standards] (SCNiFAST8): Likewise.
344 [C99-based-standards] (SCNoFAST8): Likewise.
345 [C99-based-standards] (SCNuFAST8): Likewise.
346 [C99-based-standards] (SCNxFAST8): Likewise.
347 [C99-based-standards] (PRId16): Likewise.
348 [C99-based-standards] (PRIi16): Likewise.
349 [C99-based-standards] (PRIo16): Likewise.
350 [C99-based-standards] (PRIu16): Likewise.
351 [C99-based-standards] (PRIx16): Likewise.
352 [C99-based-standards] (PRIX16): Likewise.
353 [C99-based-standards] (SCNd16): Likewise.
354 [C99-based-standards] (SCNi16): Likewise.
355 [C99-based-standards] (SCNo16): Likewise.
356 [C99-based-standards] (SCNu16): Likewise.
357 [C99-based-standards] (SCNx16): Likewise.
358 [C99-based-standards] (PRIdLEAST16): Likewise.
359 [C99-based-standards] (PRIiLEAST16): Likewise.
360 [C99-based-standards] (PRIoLEAST16): Likewise.
361 [C99-based-standards] (PRIuLEAST16): Likewise.
362 [C99-based-standards] (PRIxLEAST16): Likewise.
363 [C99-based-standards] (PRIXLEAST16): Likewise.
364 [C99-based-standards] (SCNdLEAST16): Likewise.
365 [C99-based-standards] (SCNiLEAST16): Likewise.
366 [C99-based-standards] (SCNoLEAST16): Likewise.
367 [C99-based-standards] (SCNuLEAST16): Likewise.
368 [C99-based-standards] (SCNxLEAST16): Likewise.
369 [C99-based-standards] (PRIdFAST16): Likewise.
370 [C99-based-standards] (PRIiFAST16): Likewise.
371 [C99-based-standards] (PRIoFAST16): Likewise.
372 [C99-based-standards] (PRIuFAST16): Likewise.
373 [C99-based-standards] (PRIxFAST16): Likewise.
374 [C99-based-standards] (PRIXFAST16): Likewise.
375 [C99-based-standards] (SCNdFAST16): Likewise.
376 [C99-based-standards] (SCNiFAST16): Likewise.
377 [C99-based-standards] (SCNoFAST16): Likewise.
378 [C99-based-standards] (SCNuFAST16): Likewise.
379 [C99-based-standards] (SCNxFAST16): Likewise.
380 [C99-based-standards] (PRId32): Likewise.
381 [C99-based-standards] (PRIi32): Likewise.
382 [C99-based-standards] (PRIo32): Likewise.
383 [C99-based-standards] (PRIu32): Likewise.
384 [C99-based-standards] (PRIx32): Likewise.
385 [C99-based-standards] (PRIX32): Likewise.
386 [C99-based-standards] (SCNd32): Likewise.
387 [C99-based-standards] (SCNi32): Likewise.
388 [C99-based-standards] (SCNo32): Likewise.
389 [C99-based-standards] (SCNu32): Likewise.
390 [C99-based-standards] (SCNx32): Likewise.
391 [C99-based-standards] (PRIdLEAST32): Likewise.
392 [C99-based-standards] (PRIiLEAST32): Likewise.
393 [C99-based-standards] (PRIoLEAST32): Likewise.
394 [C99-based-standards] (PRIuLEAST32): Likewise.
395 [C99-based-standards] (PRIxLEAST32): Likewise.
396 [C99-based-standards] (PRIXLEAST32): Likewise.
397 [C99-based-standards] (SCNdLEAST32): Likewise.
398 [C99-based-standards] (SCNiLEAST32): Likewise.
399 [C99-based-standards] (SCNoLEAST32): Likewise.
400 [C99-based-standards] (SCNuLEAST32): Likewise.
401 [C99-based-standards] (SCNxLEAST32): Likewise.
402 [C99-based-standards] (PRIdFAST32): Likewise.
403 [C99-based-standards] (PRIiFAST32): Likewise.
404 [C99-based-standards] (PRIoFAST32): Likewise.
405 [C99-based-standards] (PRIuFAST32): Likewise.
406 [C99-based-standards] (PRIxFAST32): Likewise.
407 [C99-based-standards] (PRIXFAST32): Likewise.
408 [C99-based-standards] (SCNdFAST32): Likewise.
409 [C99-based-standards] (SCNiFAST32): Likewise.
410 [C99-based-standards] (SCNoFAST32): Likewise.
411 [C99-based-standards] (SCNuFAST32): Likewise.
412 [C99-based-standards] (SCNxFAST32): Likewise.
413 [C99-based-standards] (PRId64): Likewise.
414 [C99-based-standards] (PRIi64): Likewise.
415 [C99-based-standards] (PRIo64): Likewise.
416 [C99-based-standards] (PRIu64): Likewise.
417 [C99-based-standards] (PRIx64): Likewise.
418 [C99-based-standards] (PRIX64): Likewise.
419 [C99-based-standards] (SCNd64): Likewise.
420 [C99-based-standards] (SCNi64): Likewise.
421 [C99-based-standards] (SCNo64): Likewise.
422 [C99-based-standards] (SCNu64): Likewise.
423 [C99-based-standards] (SCNx64): Likewise.
424 [C99-based-standards] (PRIdLEAST64): Likewise.
425 [C99-based-standards] (PRIiLEAST64): Likewise.
426 [C99-based-standards] (PRIoLEAST64): Likewise.
427 [C99-based-standards] (PRIuLEAST64): Likewise.
428 [C99-based-standards] (PRIxLEAST64): Likewise.
429 [C99-based-standards] (PRIXLEAST64): Likewise.
430 [C99-based-standards] (SCNdLEAST64): Likewise.
431 [C99-based-standards] (SCNiLEAST64): Likewise.
432 [C99-based-standards] (SCNoLEAST64): Likewise.
433 [C99-based-standards] (SCNuLEAST64): Likewise.
434 [C99-based-standards] (SCNxLEAST64): Likewise.
435 [C99-based-standards] (PRIdFAST64): Likewise.
436 [C99-based-standards] (PRIiFAST64): Likewise.
437 [C99-based-standards] (PRIoFAST64): Likewise.
438 [C99-based-standards] (PRIuFAST64): Likewise.
439 [C99-based-standards] (PRIxFAST64): Likewise.
440 [C99-based-standards] (PRIXFAST64): Likewise.
441 [C99-based-standards] (SCNdFAST64): Likewise.
442 [C99-based-standards] (SCNiFAST64): Likewise.
443 [C99-based-standards] (SCNoFAST64): Likewise.
444 [C99-based-standards] (SCNuFAST64): Likewise.
445 [C99-based-standards] (SCNxFAST64): Likewise.
446 [C99-based-standards] (PRIdMAX): Likewise.
447 [C99-based-standards] (PRIiMAX): Likewise.
448 [C99-based-standards] (PRIoMAX): Likewise.
449 [C99-based-standards] (PRIuMAX): Likewise.
450 [C99-based-standards] (PRIxMAX): Likewise.
451 [C99-based-standards] (PRIXMAX): Likewise.
452 [C99-based-standards] (SCNdMAX): Likewise.
453 [C99-based-standards] (SCNiMAX): Likewise.
454 [C99-based-standards] (SCNoMAX): Likewise.
455 [C99-based-standards] (SCNuMAX): Likewise.
456 [C99-based-standards] (SCNxMAX): Likewise.
457 [C99-based-standards] (PRIdPTR): Likewise.
458 [C99-based-standards] (PRIiPTR): Likewise.
459 [C99-based-standards] (PRIoPTR): Likewise.
460 [C99-based-standards] (PRIuPTR): Likewise.
461 [C99-based-standards] (PRIxPTR): Likewise.
462 [C99-based-standards] (PRIXPTR): Likewise.
463 [C99-based-standards] (SCNdPTR): Likewise.
464 [C99-based-standards] (SCNiPTR): Likewise.
465 [C99-based-standards] (SCNoPTR): Likewise.
466 [C99-based-standards] (SCNuPTR): Likewise.
467 [C99-based-standards] (SCNxPTR): Likewise.
468 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
469 allow.
470 * conform/data/stdint.h-data: Update comments to clarify
471 requirements.
472 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
473 type.
474 [C99-based standards] (INT8_MAX): Likewise.
475 [C99-based standards] (INT16_MIN): Likewise.
476 [C99-based standards] (INT16_MAX): Likewise.
477 [C99-based standards] (INT32_MIN): Likewise.
478 [C99-based standards] (INT32_MAX): Likewise.
479 [C99-based standards] (INT64_MIN): Likewise.
480 [C99-based standards] (INT64_MAX): Likewise.
481 [C99-based standards] (UINT8_MAX): Likewise.
482 [C99-based standards] (UINT16_MAX): Likewise.
483 [C99-based standards] (UINT32_MAX): Likewise.
484 [C99-based standards] (UINT64_MAX): Likewise.
485 [C99-based standards] (INT_LEAST8_MIN): Likewise.
486 [C99-based standards] (INT_LEAST8_MAX): Likewise.
487 [C99-based standards] (INT_LEAST16_MIN): Likewise.
488 [C99-based standards] (INT_LEAST16_MAX): Likewise.
489 [C99-based standards] (INT_LEAST32_MIN): Likewise.
490 [C99-based standards] (INT_LEAST32_MAX): Likewise.
491 [C99-based standards] (INT_LEAST64_MIN): Likewise.
492 [C99-based standards] (INT_LEAST64_MAX): Likewise.
493 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
494 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
495 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
496 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
497 [C99-based standards] (INT_FAST8_MIN): Likewise.
498 [C99-based standards] (INT_FAST8_MAX): Likewise.
499 [C99-based standards] (INT_FAST16_MIN): Likewise.
500 [C99-based standards] (INT_FAST16_MAX): Likewise.
501 [C99-based standards] (INT_FAST32_MIN): Likewise.
502 [C99-based standards] (INT_FAST32_MAX): Likewise.
503 [C99-based standards] (INT_FAST64_MIN): Likewise.
504 [C99-based standards] (INT_FAST64_MAX): Likewise.
505 [C99-based standards] (UINT_FAST8_MAX): Likewise.
506 [C99-based standards] (UINT_FAST16_MAX): Likewise.
507 [C99-based standards] (UINT_FAST32_MAX): Likewise.
508 [C99-based standards] (UINT_FAST64_MAX): Likewise.
509 [C99-based standards] (INTPTR_MIN): Likewise.
510 [C99-based standards] (INTPTR_MAX): Likewise.
511 [C99-based standards] (UINTPTR_MAX): Likewise.
512 [C99-based standards] (INTMAX_MIN): Likewise.
513 [C99-based standards] (INTMAX_MAX): Likewise.
514 [C99-based standards] (UINTMAX_MAX): Likewise.
515 [C99-based standards] (PTRDIFF_MIN): Likewise.
516 [C99-based standards] (PTRDIFF_MAX): Likewise.
517 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
518 [C99-based standards] (SIZE_MAX): Likewise.
519 [C99-based standards] (WCHAR_MAX): Likewise.
520 [C99-based standards] (WINT_MAX): Likewise.
521 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
522 constraint on value.
523 [C99-based standards] (WCHAR_MIN): Likewise.
524 [C99-based standards] (WINT_MIN): Likewise.
525 [C99-based standards] (*_t): Allow.
526 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
527 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
528 Include math.h-data and complex.h-data. Remove all expectations
529 of math.h and complex.h contents.
530 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
531 at end of line.
532 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
533 (struct tm): Expect tag.
534 [C99-based-standards] (wcstof): Expect function.
535 [C99-based-standards] (wcstold): Likewise.
536 [C99-based-standards] (wcstoll): Likewise.
537 [C99-based-standards] (wcstoull): Likewise.
538 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
539 macro-int-constant. Specify type.
540 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
541 constraint on value.
542 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
543 Specify type.
544 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
545 Specify value.
546 [ISO C standards]: Do not allow headers.
547 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
548 wcs[abcdefghijklmnopqrstuvwxyz]*.
549 [ISO C standards] (*_t): Do not allow.
550 * conform/data/wctype.h-data [C99-based standards] (iswblank):
551 Expect function.
552 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
553 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
554 Specify type.
555 [ISO C standards]: Do not allow headers.
556 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
557 is[abcdefghijklmnopqrstuvwxyz]*.
558 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
559 to[abcdefghijklmnopqrstuvwxyz]*.
560 [ISO C standards] (*_t): Do not allow.
561 * conform/data/stdalign.h-data: New file.
562 * conform/data/stdbool.h-data: Likewise.
563 * conform/data/stdnoreturn.h-data: Likewise.
564
01f34a3b
JL
5652012-11-07 Andreas Jaeger <aj@suse.de>
566
567 [BZ #14809]
568 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
569 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
570 guards are changed. Only define if not yet defined, #undef back
571 after including linux/sysctl.h if defined here.
572
7514feb8
RM
5732012-11-07 Roland McGrath <roland@hack.frob.com>
574
575 [BZ #14815]
576 * manual/filesys.texi (Directory Entries): Typo fix.
577 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
578
19b2ecfc
MS
5792012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
580
581 * elf/elf.h (EM_AARCH64): New macro.
582 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
583 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
584 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
585 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
586 (R_AARCH64_TLSDESC): Likewise.
587 (NT_ARM_TLS): Likewise.
588 (NT_ARM_HW_BREAK): Likewise.
589 (NT_ARM_HW_WATCH): Likewise.
590
60e235ee
JM
5912012-11-07 Joseph Myers <joseph@codesourcery.com>
592
593 [BZ #14811]
594 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
595 (__ieee754_powl): Saturate nonzero exponents with absolute value
596 below 0x1p-79 to +/- 0x1p-79.
597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
598 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
599 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
600 nonzero exponents with absolute value below 0x1p-32 to +/-
601 0x1p-32.
602 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
603 (__ieee754_powl): Saturate nonzero exponents with absolute value
604 below 0x1p-79 to +/- 0x1p-79.
605 * math/libm-test.inc (pow_test): Add more tests.
606
0ab234b7
AK
6072012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
608
609 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
610 _dl_s390_cap_flags with kernel. Increase string length.
611 (_dl_s390_platforms): Add z196 and zEC12.
612
45832f74
JM
6132012-11-07 Joseph Myers <joseph@codesourcery.com>
614
615 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
616 Change XOPEN21K to XOPEN2K.
617
19218757
MK
6182012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
619
620 * string/memmove.c: Use memcpy when possible.
621
c5f45721
AJ
6222012-11-06 Andreas Jaeger <aj@suse.de>
623
624 * po/eo.po: Update from translation team.
625
82477c28
JM
6262012-11-06 Joseph Myers <joseph@codesourcery.com>
627
628 [BZ #14793]
629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
630 exponent and small x and y exponents, scale x or y up. Increase
631 by 2 the exponent used in scaling up.
632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
634 * math/libm-test.inc (fma_test): Add more tests.
635 (fma_test_towardzero): Likewise.
636 (fma_test_downward): Likewise.
637 (fma_test_upward): Likewise.
638
99252c8c
JM
6392012-11-05 Joseph Myers <joseph@codesourcery.com>
640
acfa885f
JM
641 [BZ #14805]
642 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
643 fenv_t *.
644
99252c8c
JM
645 [BZ #14801]
646 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
647 namespace for names of struct fields.
648 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
649 fenv_t fields.
650 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
651 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
652
d6d98dea
ST
6532012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
654
655 [BZ #3665]
656 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
657
e10bb107
TS
6582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
659
660 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
661 PTR_DEMANGLE.
662
663 [BZ #5246]
664 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
665 PTR_DEMANGLE.
666
a0c2940d
JM
6672012-11-04 Joseph Myers <joseph@codesourcery.com>
668
669 [BZ #14797]
670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
671 definitely overflow as x * y not x * y + z.
672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
673 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
674 * math/libm-test.inc (fma_test): Add more tests.
675 (fma_test_towardzero): Likewise.
676 (fma_test_downward): Likewise.
677 (fma_test_upward): Likewise.
678
b830319d
TS
6792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
680
681 [BZ #157]
682
683 * include/stub-tag.h: Remove file.
684 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
685 '#include' of it.
686 * manual/maint.texi (Porting): Don't reference it.
687 * Makerules ($(objpfx)stubs): Likewise.
688 * dirent/closedir.c: Don't include <stub-tag.h>.
689 * dirent/dirfd.c: Likewise.
690 * dirent/fdopendir.c: Likewise.
691 * dirent/getdents.c: Likewise.
692 * dirent/getdents64.c: Likewise.
693 * dirent/opendir.c: Likewise.
694 * dirent/readdir.c: Likewise.
695 * dirent/readdir64.c: Likewise.
696 * dirent/readdir64_r.c: Likewise.
697 * dirent/readdir_r.c: Likewise.
698 * dirent/rewinddir.c: Likewise.
699 * dirent/seekdir.c: Likewise.
700 * dirent/telldir.c: Likewise.
701 * gmon/profil.c: Likewise.
702 * grp/setgroups.c: Likewise.
703 * inet/if_index.c: Likewise.
704 * io/access.c: Likewise.
705 * io/chdir.c: Likewise.
706 * io/chmod.c: Likewise.
707 * io/chown.c: Likewise.
708 * io/close.c: Likewise.
709 * io/dup.c: Likewise.
710 * io/dup2.c: Likewise.
711 * io/dup3.c: Likewise.
712 * io/euidaccess.c: Likewise.
713 * io/faccessat.c: Likewise.
714 * io/fchdir.c: Likewise.
715 * io/fchmod.c: Likewise.
716 * io/fchmodat.c: Likewise.
717 * io/fchown.c: Likewise.
718 * io/fchownat.c: Likewise.
719 * io/fcntl.c: Likewise.
720 * io/flock.c: Likewise.
721 * io/fstatfs.c: Likewise.
722 * io/fstatfs64.c: Likewise.
723 * io/fstatvfs.c: Likewise.
724 * io/fstatvfs64.c: Likewise.
725 * io/futimens.c: Likewise.
726 * io/fxstat.c: Likewise.
727 * io/fxstat64.c: Likewise.
728 * io/fxstatat.c: Likewise.
729 * io/fxstatat64.c: Likewise.
730 * io/getcwd.c: Likewise.
731 * io/isatty.c: Likewise.
732 * io/lchmod.c: Likewise.
733 * io/lchown.c: Likewise.
734 * io/link.c: Likewise.
735 * io/linkat.c: Likewise.
736 * io/lseek.c: Likewise.
737 * io/lseek64.c: Likewise.
738 * io/lxstat64.c: Likewise.
739 * io/mkdir.c: Likewise.
740 * io/mkdirat.c: Likewise.
741 * io/mkfifo.c: Likewise.
742 * io/mkfifoat.c: Likewise.
743 * io/open.c: Likewise.
744 * io/open64.c: Likewise.
745 * io/openat.c: Likewise.
746 * io/openat64.c: Likewise.
747 * io/pipe.c: Likewise.
748 * io/pipe2.c: Likewise.
749 * io/poll.c: Likewise.
750 * io/posix_fadvise.c: Likewise.
751 * io/posix_fadvise64.c: Likewise.
752 * io/posix_fallocate.c: Likewise.
753 * io/posix_fallocate64.c: Likewise.
754 * io/read.c: Likewise.
755 * io/readlink.c: Likewise.
756 * io/readlinkat.c: Likewise.
757 * io/rmdir.c: Likewise.
758 * io/sendfile.c: Likewise.
759 * io/sendfile64.c: Likewise.
760 * io/statfs.c: Likewise.
761 * io/statfs64.c: Likewise.
762 * io/statvfs.c: Likewise.
763 * io/statvfs64.c: Likewise.
764 * io/symlink.c: Likewise.
765 * io/symlinkat.c: Likewise.
766 * io/ttyname.c: Likewise.
767 * io/ttyname_r.c: Likewise.
768 * io/umask.c: Likewise.
769 * io/unlink.c: Likewise.
770 * io/unlinkat.c: Likewise.
771 * io/utime.c: Likewise.
772 * io/utimensat.c: Likewise.
773 * io/write.c: Likewise.
774 * io/xmknod.c: Likewise.
775 * io/xmknodat.c: Likewise.
776 * io/xstat.c: Likewise.
777 * io/xstat64.c: Likewise.
778 * login/getpt.c: Likewise.
779 * login/grantpt.c: Likewise.
780 * login/unlockpt.c: Likewise.
781 * math/e_acoshl.c: Likewise.
782 * math/e_acosl.c: Likewise.
783 * math/e_asinl.c: Likewise.
784 * math/e_atan2l.c: Likewise.
785 * math/e_atanhl.c: Likewise.
786 * math/e_coshl.c: Likewise.
787 * math/e_expl.c: Likewise.
788 * math/e_fmodl.c: Likewise.
789 * math/e_gammal_r.c: Likewise.
790 * math/e_hypotl.c: Likewise.
791 * math/e_j0l.c: Likewise.
792 * math/e_j1l.c: Likewise.
793 * math/e_jnl.c: Likewise.
794 * math/e_lgammal_r.c: Likewise.
795 * math/e_log10l.c: Likewise.
796 * math/e_log2l.c: Likewise.
797 * math/e_logl.c: Likewise.
798 * math/e_powl.c: Likewise.
799 * math/e_rem_pio2l.c: Likewise.
800 * math/e_sinhl.c: Likewise.
801 * math/e_sqrtl.c: Likewise.
802 * math/fclrexcpt.c: Likewise.
803 * math/fedisblxcpt.c: Likewise.
804 * math/feenablxcpt.c: Likewise.
805 * math/fegetenv.c: Likewise.
806 * math/fegetexcept.c: Likewise.
807 * math/fegetround.c: Likewise.
808 * math/feholdexcpt.c: Likewise.
809 * math/fesetenv.c: Likewise.
810 * math/fesetround.c: Likewise.
811 * math/feupdateenv.c: Likewise.
812 * math/fgetexcptflg.c: Likewise.
813 * math/fraiseexcpt.c: Likewise.
814 * math/fsetexcptflg.c: Likewise.
815 * math/ftestexcept.c: Likewise.
816 * math/k_cosl.c: Likewise.
817 * math/k_rem_pio2l.c: Likewise.
818 * math/k_sinl.c: Likewise.
819 * math/k_tanl.c: Likewise.
820 * math/s_asinhl.c: Likewise.
821 * math/s_atanl.c: Likewise.
822 * math/s_cbrtl.c: Likewise.
823 * math/s_erfl.c: Likewise.
824 * math/s_expm1l.c: Likewise.
825 * math/s_log1pl.c: Likewise.
826 * math/s_tanhl.c: Likewise.
827 * misc/acct.c: Likewise.
828 * misc/brk.c: Likewise.
829 * misc/chflags.c: Likewise.
830 * misc/chroot.c: Likewise.
831 * misc/fchflags.c: Likewise.
832 * misc/fgetxattr.c: Likewise.
833 * misc/flistxattr.c: Likewise.
834 * misc/fremovexattr.c: Likewise.
835 * misc/fsetxattr.c: Likewise.
836 * misc/fsync.c: Likewise.
837 * misc/ftruncate.c: Likewise.
838 * misc/futimes.c: Likewise.
839 * misc/futimesat.c: Likewise.
840 * misc/getdomain.c: Likewise.
841 * misc/getdtsz.c: Likewise.
842 * misc/gethostid.c: Likewise.
843 * misc/gethostname.c: Likewise.
844 * misc/getloadavg.c: Likewise.
845 * misc/getpagesize.c: Likewise.
846 * misc/getsysstats.c: Likewise.
847 * misc/getxattr.c: Likewise.
848 * misc/gtty.c: Likewise.
849 * misc/ioctl.c: Likewise.
850 * misc/lgetxattr.c: Likewise.
851 * misc/listxattr.c: Likewise.
852 * misc/llistxattr.c: Likewise.
853 * misc/lremovexattr.c: Likewise.
854 * misc/lsetxattr.c: Likewise.
855 * misc/lutimes.c: Likewise.
856 * misc/madvise.c: Likewise.
857 * misc/mincore.c: Likewise.
858 * misc/mlock.c: Likewise.
859 * misc/mlockall.c: Likewise.
860 * misc/mmap.c: Likewise.
861 * misc/mprotect.c: Likewise.
862 * misc/msync.c: Likewise.
863 * misc/munlock.c: Likewise.
864 * misc/munlockall.c: Likewise.
865 * misc/munmap.c: Likewise.
866 * misc/preadv.c: Likewise.
867 * misc/preadv64.c: Likewise.
868 * misc/ptrace.c: Likewise.
869 * misc/pwritev.c: Likewise.
870 * misc/pwritev64.c: Likewise.
871 * misc/readv.c: Likewise.
872 * misc/reboot.c: Likewise.
873 * misc/remap_file_pages.c: Likewise.
874 * misc/removexattr.c: Likewise.
875 * misc/revoke.c: Likewise.
876 * misc/select.c: Likewise.
877 * misc/setdomain.c: Likewise.
878 * misc/setegid.c: Likewise.
879 * misc/seteuid.c: Likewise.
880 * misc/sethostid.c: Likewise.
881 * misc/sethostname.c: Likewise.
882 * misc/setregid.c: Likewise.
883 * misc/setreuid.c: Likewise.
884 * misc/setxattr.c: Likewise.
885 * misc/sstk.c: Likewise.
886 * misc/stty.c: Likewise.
887 * misc/swapoff.c: Likewise.
888 * misc/swapon.c: Likewise.
889 * misc/sync.c: Likewise.
890 * misc/syncfs.c: Likewise.
891 * misc/syscall.c: Likewise.
892 * misc/truncate.c: Likewise.
893 * misc/ualarm.c: Likewise.
894 * misc/usleep.c: Likewise.
895 * misc/ustat.c: Likewise.
896 * misc/utimes.c: Likewise.
897 * misc/vhangup.c: Likewise.
898 * misc/writev.c: Likewise.
899 * posix/_exit.c: Likewise.
900 * posix/alarm.c: Likewise.
901 * posix/execve.c: Likewise.
902 * posix/fexecve.c: Likewise.
903 * posix/fork.c: Likewise.
904 * posix/fpathconf.c: Likewise.
905 * posix/getaddrinfo.c: Likewise.
906 * posix/getegid.c: Likewise.
907 * posix/geteuid.c: Likewise.
908 * posix/getgid.c: Likewise.
909 * posix/getgroups.c: Likewise.
910 * posix/getlogin.c: Likewise.
911 * posix/getlogin_r.c: Likewise.
912 * posix/getpgid.c: Likewise.
913 * posix/getpid.c: Likewise.
914 * posix/getppid.c: Likewise.
915 * posix/getresgid.c: Likewise.
916 * posix/getresuid.c: Likewise.
917 * posix/getsid.c: Likewise.
918 * posix/getuid.c: Likewise.
919 * posix/glob64.c: Likewise.
920 * posix/nanosleep.c: Likewise.
921 * posix/pathconf.c: Likewise.
922 * posix/pause.c: Likewise.
923 * posix/posix_madvise.c: Likewise.
924 * posix/pread.c: Likewise.
925 * posix/pread64.c: Likewise.
926 * posix/pwrite.c: Likewise.
927 * posix/pwrite64.c: Likewise.
928 * posix/sched_getaffinity.c: Likewise.
929 * posix/sched_getp.c: Likewise.
930 * posix/sched_gets.c: Likewise.
931 * posix/sched_primax.c: Likewise.
932 * posix/sched_primin.c: Likewise.
933 * posix/sched_rr_gi.c: Likewise.
934 * posix/sched_setaffinity.c: Likewise.
935 * posix/sched_setp.c: Likewise.
936 * posix/sched_sets.c: Likewise.
937 * posix/sched_yield.c: Likewise.
938 * posix/setgid.c: Likewise.
939 * posix/setlogin.c: Likewise.
940 * posix/setpgid.c: Likewise.
941 * posix/setresgid.c: Likewise.
942 * posix/setresuid.c: Likewise.
943 * posix/setsid.c: Likewise.
944 * posix/setuid.c: Likewise.
945 * posix/sleep.c: Likewise.
946 * posix/spawni.c: Likewise.
947 * posix/sysconf.c: Likewise.
948 * posix/times.c: Likewise.
949 * posix/wait.c: Likewise.
950 * posix/wait3.c: Likewise.
951 * posix/wait4.c: Likewise.
952 * posix/waitpid.c: Likewise.
953 * resolv/gai_sigqueue.c: Likewise.
954 * resource/getpriority.c: Likewise.
955 * resource/getrlimit.c: Likewise.
956 * resource/getrusage.c: Likewise.
957 * resource/nice.c: Likewise.
958 * resource/setpriority.c: Likewise.
959 * resource/setrlimit.c: Likewise.
960 * resource/ulimit.c: Likewise.
961 * rt/aio_cancel.c: Likewise.
962 * rt/aio_fsync.c: Likewise.
963 * rt/aio_read.c: Likewise.
964 * rt/aio_sigqueue.c: Likewise.
965 * rt/aio_suspend.c: Likewise.
966 * rt/aio_write.c: Likewise.
967 * rt/clock_getres.c: Likewise.
968 * rt/clock_gettime.c: Likewise.
969 * rt/clock_nanosleep.c: Likewise.
970 * rt/clock_settime.c: Likewise.
971 * rt/lio_listio.c: Likewise.
972 * rt/mq_close.c: Likewise.
973 * rt/mq_getattr.c: Likewise.
974 * rt/mq_notify.c: Likewise.
975 * rt/mq_open.c: Likewise.
976 * rt/mq_receive.c: Likewise.
977 * rt/mq_send.c: Likewise.
978 * rt/mq_setattr.c: Likewise.
979 * rt/mq_timedreceive.c: Likewise.
980 * rt/mq_timedsend.c: Likewise.
981 * rt/mq_unlink.c: Likewise.
982 * rt/shm_open.c: Likewise.
983 * rt/shm_unlink.c: Likewise.
984 * rt/timer_create.c: Likewise.
985 * rt/timer_delete.c: Likewise.
986 * rt/timer_getoverr.c: Likewise.
987 * rt/timer_gettime.c: Likewise.
988 * rt/timer_settime.c: Likewise.
989 * setjmp/__longjmp.c: Likewise.
990 * setjmp/setjmp.c: Likewise.
991 * signal/kill.c: Likewise.
992 * signal/killpg.c: Likewise.
993 * signal/raise.c: Likewise.
994 * signal/sigaction.c: Likewise.
995 * signal/sigaltstack.c: Likewise.
996 * signal/sigblock.c: Likewise.
997 * signal/sigignore.c: Likewise.
998 * signal/sigintr.c: Likewise.
999 * signal/signal.c: Likewise.
1000 * signal/sigpause.c: Likewise.
1001 * signal/sigpending.c: Likewise.
1002 * signal/sigqueue.c: Likewise.
1003 * signal/sigreturn.c: Likewise.
1004 * signal/sigset.c: Likewise.
1005 * signal/sigsetmask.c: Likewise.
1006 * signal/sigstack.c: Likewise.
1007 * signal/sigsuspend.c: Likewise.
1008 * signal/sigtimedwait.c: Likewise.
1009 * signal/sigvec.c: Likewise.
1010 * signal/sigwait.c: Likewise.
1011 * signal/sigwaitinfo.c: Likewise.
1012 * signal/sysv_signal.c: Likewise.
1013 * socket/accept.c: Likewise.
1014 * socket/accept4.c: Likewise.
1015 * socket/bind.c: Likewise.
1016 * socket/connect.c: Likewise.
1017 * socket/getpeername.c: Likewise.
1018 * socket/getsockname.c: Likewise.
1019 * socket/getsockopt.c: Likewise.
1020 * socket/isfdtype.c: Likewise.
1021 * socket/listen.c: Likewise.
1022 * socket/recv.c: Likewise.
1023 * socket/recvfrom.c: Likewise.
1024 * socket/recvmsg.c: Likewise.
1025 * socket/send.c: Likewise.
1026 * socket/sendmsg.c: Likewise.
1027 * socket/sendto.c: Likewise.
1028 * socket/setsockopt.c: Likewise.
1029 * socket/shutdown.c: Likewise.
1030 * socket/sockatmark.c: Likewise.
1031 * socket/socket.c: Likewise.
1032 * socket/socketpair.c: Likewise.
1033 * stdio-common/ctermid.c: Likewise.
1034 * stdio-common/cuserid.c: Likewise.
1035 * stdio-common/remove.c: Likewise.
1036 * stdio-common/rename.c: Likewise.
1037 * stdio-common/renameat.c: Likewise.
1038 * stdio-common/tempname.c: Likewise.
1039 * stdlib/getcontext.c: Likewise.
1040 * stdlib/makecontext.c: Likewise.
1041 * stdlib/setcontext.c: Likewise.
1042 * stdlib/swapcontext.c: Likewise.
1043 * stdlib/system.c: Likewise.
1044 * streams/fattach.c: Likewise.
1045 * streams/fdetach.c: Likewise.
1046 * streams/getmsg.c: Likewise.
1047 * streams/getpmsg.c: Likewise.
1048 * streams/putmsg.c: Likewise.
1049 * streams/putpmsg.c: Likewise.
1050 * sysdeps/unix/bsd/getpt.c: Likewise.
1051 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1052 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1055 Likewise.
1056 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1057 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1058 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1059 * sysvipc/msgctl.c: Likewise.
1060 * sysvipc/msgget.c: Likewise.
1061 * sysvipc/msgrcv.c: Likewise.
1062 * sysvipc/msgsnd.c: Likewise.
1063 * sysvipc/semctl.c: Likewise.
1064 * sysvipc/semget.c: Likewise.
1065 * sysvipc/semop.c: Likewise.
1066 * sysvipc/semtimedop.c: Likewise.
1067 * sysvipc/shmat.c: Likewise.
1068 * sysvipc/shmctl.c: Likewise.
1069 * sysvipc/shmdt.c: Likewise.
1070 * sysvipc/shmget.c: Likewise.
1071 * termios/tcdrain.c: Likewise.
1072 * termios/tcflow.c: Likewise.
1073 * termios/tcflush.c: Likewise.
1074 * termios/tcgetattr.c: Likewise.
1075 * termios/tcgetpgrp.c: Likewise.
1076 * termios/tcsendbrk.c: Likewise.
1077 * termios/tcsetattr.c: Likewise.
1078 * termios/tcsetpgrp.c: Likewise.
1079 * time/adjtime.c: Likewise.
1080 * time/clock.c: Likewise.
1081 * time/getitimer.c: Likewise.
1082 * time/gettimeofday.c: Likewise.
1083 * time/setitimer.c: Likewise.
1084 * time/settimeofday.c: Likewise.
1085 * time/stime.c: Likewise.
1086 * time/time.c: Likewise.
1087
10882012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1089
a20492cf
PT
1090 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1091 /usr/old/bin.
1092
72e182e3
PT
1093 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1094 instead of spaces.
1095 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1096
fbeafede
JM
10972012-11-03 Joseph Myers <joseph@codesourcery.com>
1098
5b5b04d6
JM
1099 [BZ #14796]
1100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1101 FE_TONEAREST before applying Dekker multiplication and Knuth
1102 addition. Clear inexact exceptions and check for exact zero
1103 results afterwards.
1104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1105 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1106 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1107 * math/libm-test.inc (fma_test): Add more tests.
1108 (fma_test_towardzero): Likewise.
1109 (fma_test_downward): Likewise.
1110 (fma_test_upward): Likewise.
1111 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1112 function.
1113 (libc_fesetround): New macro.
1114 (libc_fesetroundf): Likewise.
1115 (libc_fesetroundl): Likewise.
1116 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1117 function.
1118 (libc_fesetround_387): Likewise.
1119 (libc_fesetroundf): New macro.
1120 (libc_fesetround): Likewise.
1121 (libc_fesetroundl): Likewise.
1122 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1123 function.
1124 (libc_fesetroundf): New macro.
1125 (libc_fesetround): Likewise.
1126 (libc_fesetroundl): Likewise.
1127 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1128 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1129 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1130 libm_hidden_ver.
1131 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1132 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1133 libm_hidden_def.
1134 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1135 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1136 libm_hidden_ver.
1137 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1138 libm_hidden_def.
1139
fbeafede
JM
1140 [BZ #3439]
1141 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1142 integer constant usable in #if and use that to give value to enum
1143 constant.
1144 (FE_DIVBYZERO): Likewise.
1145 (FE_UNDERFLOW): Likewise.
1146 (FE_OVERFLOW): Likewise.
1147 (FE_INVALID): Likewise.
1148 (FE_INVALID_SNAN): Likewise.
1149 (FE_INVALID_ISI): Likewise.
1150 (FE_INVALID_IDI): Likewise.
1151 (FE_INVALID_ZDZ): Likewise.
1152 (FE_INVALID_IMZ): Likewise.
1153 (FE_INVALID_COMPARE): Likewise.
1154 (FE_INVALID_SOFTWARE): Likewise.
1155 (FE_INVALID_SQRT): Likewise.
1156 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1157 (FE_TONEAREST): Likewise.
1158 (FE_TOWARDZERO): Likewise.
1159 (FE_UPWARD): Likewise.
1160 (FE_DOWNWARD): Likewise.
1161 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1162 (FE_DIVBYZERO): Likewise.
1163 (FE_OVERFLOW): Likewise.
1164 (FE_UNDERFLOW): Likewise.
1165 (FE_INEXACT): Likewise.
1166 (FE_TONEAREST): Likewise.
1167 (FE_DOWNWARD): Likewise.
1168 (FE_UPWARD): Likewise.
1169 (FE_TOWARDZERO): Likewise.
1170 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1171 (FE_UNDERFLOW): Likewise.
1172 (FE_OVERFLOW): Likewise.
1173 (FE_DIVBYZERO): Likewise.
1174 (FE_INVALID): Likewise.
1175 (FE_TONEAREST): Likewise.
1176 (FE_TOWARDZERO): Likewise.
1177 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1178 (FE_OVERFLOW): Likewise.
1179 (FE_UNDERFLOW): Likewise.
1180 (FE_DIVBYZERO): Likewise.
1181 (FE_INEXACT): Likewise.
1182 (FE_TONEAREST): Likewise.
1183 (FE_TOWARDZERO): Likewise.
1184 (FE_UPWARD): Likewise.
1185 (FE_DOWNWARD): Likewise.
1186 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1187 (FE_DIVBYZERO): Likewise.
1188 (FE_OVERFLOW): Likewise.
1189 (FE_UNDERFLOW): Likewise.
1190 (FE_INEXACT): Likewise.
1191 (FE_TONEAREST): Likewise.
1192 (FE_DOWNWARD): Likewise.
1193 (FE_UPWARD): Likewise.
1194 (FE_TOWARDZERO): Likewise.
1195
105ca950
CM
11962012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1197
1198 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1199
a542b389
AS
12002012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1201
1202 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1203 commands. Quote $PWD.
1204 (blacklist_exports): Don't use remove_newlines. Replace "declare
1205 -x" by "export".
1206 (remove_newlines): Remove.
1207
f62c8abc
L
12082012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1211 * stdlib/stdlib.h (atof): Moved to ...
1212 * include/bits/stdlib-float.h: Here. New file.
1213 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1214 * stdlib/bits/stdlib-float.h: New file.
1215 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1216 -mno-sse -mno-mmx.
1217 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1218 <xmmintrin.h>.
1219
0155d5b2
JM
12202012-11-02 Joseph Myers <joseph@codesourcery.com>
1221
a68d0680
JM
1222 * conform/conformtest.pl (@headers): Add fenv.h.
1223 * conform/data/fenv.h-data: New file.
1224 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1225 include of <math/fenv.h>.
1226
caf7f573
JM
1227 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1228 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1229 && !UNIX98]. Enables tests for XOPEN2K8.
1230 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1231 POSIX2008]: Likewise.
1232
6c073ad6
JM
1233 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1234 (struct rusage): Do not expect type or its members.
1235
0155d5b2
JM
1236 [BZ #3439]
1237 * math/math.h (FP_NAN): Define macro to integer constant usable in
1238 #if and use that to give value to enum constant.
1239 (FP_INFINITE): Likewise.
1240 (FP_ZERO): Likewise.
1241 (FP_SUBNORMAL): Likewise.
1242 (FP_NORMAL): Likewise.
1243
b5dcacb4
AS
12442012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1245
1246 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1247 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1248 arguments.
1249
f7934be8
RM
12502012-11-02 Roland McGrath <roland@hack.frob.com>
1251
1252 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1253 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1254 autoconf-time if not.
1255 * configure.in: Remove AC_PREREQ.
1256
d7d08bde
TMQMF
12572012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1258
1259 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1260 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1261 of the internal implementation.
1262
dcdae19a
JM
12632012-11-02 Joseph Myers <joseph@codesourcery.com>
1264
1265 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1266 except include of <misc/sys/syslog.h>.
1267
d6cffd3e
AS
12682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1269
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1271 function returns with a NULL context exit with zero.
1272
b3563932
TMQMF
12732012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1274
1275 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1276
b288a93d
L
12772012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1278
1279 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1280 (run_program_cmd): This.
1281 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1282 (tst_langinfo): New variable. Use it.
1283
a2421a68
SAS
12842012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1285
1286 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1287 floating point opcodes.
1288
6f796e1b
TS
12892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1290
7402596b
TS
1291 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1292 variable.
1293
d0d4f868
TS
1294 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1295
6f796e1b
TS
1296 * sysdeps/mach/hurd/powerpc: Remove directory.
1297 * sysdeps/mach/powerpc: Likewise.
1298
4da224a2
AS
12992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1300
1301 * scripts/check-local-headers.sh: Ignore c++ headers.
1302
341dd673
TS
13032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1304
1305 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1306 __libc_cleanup_region_start argument.
1307
473611b2
JM
13082012-11-01 Joseph Myers <joseph@codesourcery.com>
1309
1310 [BZ #14784]
1311 [BZ #14785]
1312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1313 x * y using scaling, not as x * y + z.
1314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1316 * math/libm-test.inc (fma_test): Add more tests.
1317 (fma_test_towardzero): Likewise.
1318 (fma_test_downward): Likewise.
1319 (fma_test_upward): Likewise.
1320
4078da3d
TS
13212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1322
1323 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1324
903252aa
JM
13252012-10-31 Joseph Myers <joseph@codesourcery.com>
1326
1327 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1328 New variable.
1329
cbc818d0
TS
13302012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1331
1332 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1333
5a03cb1e
AS
13342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1335
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1337 Fix sort order.
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1339 Likewise.
1340
90aff2ff
TMQMF
13412012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1342
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1344 Fix the order of the list for glibc 2.17.
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1346 Likewise.
1347
1818fcb7
AS
13482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1349
1350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1351
ef82f4da
JM
13522012-10-31 Joseph Myers <joseph@codesourcery.com>
1353
16a0e2ec
JM
1354 [BZ #14610]
1355 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1356 for low part of x being zero before using __atanl (y).
1357 * math/libm-test.inc (atan2_test): Add another test.
1358
0eb69512
JM
1359 * manual/install.texi (Configuring and compiling): Document
1360 general use of test-wrapper and test-wrapper-env.
1361 * INSTALL: Regenerated.
1362
ef82f4da
JM
1363 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1364 (__fma): Do not extract and scale down low bits on after-rounding
1365 systems when result rounded to normal precision would have normal
1366 exponent.
1367 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1368 (__fmal): Do not extract and scale down low bits on after-rounding
1369 systems when result rounded to normal precision would have normal
1370 exponent.
1371 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1372 (__fmal): Do not extract and scale down low bits on after-rounding
1373 systems when result rounded to normal precision would have normal
1374 exponent.
1375 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1376 macro.
1377 (fma_test): Add more tests.
1378 (fma_test_towardzero): Likewise.
1379 (fma_test_downward): Likewise.
1380 (fma_test_upward): Likewise.
1381
954ef0d9
L
13822012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1383
1384 * sysdeps/i386/tininess.h: Renamed to ...
1385 * sysdeps/x86/tininess.h: This.
1386 * sysdeps/x86_64/tininess.h: Removed.
1387
df61ffb2
JM
13882012-10-30 Joseph Myers <joseph@codesourcery.com>
1389
1390 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1391 input. Use $(build-program-cmd).
1392 ($(objpfx)tst-array1-static.out): Likewise.
1393 ($(objpfx)tst-array2.out): Likewise.
1394 ($(objpfx)tst-array3.out): Likewise.
1395 ($(objpfx)tst-array4.out): Likewise.
1396 ($(objpfx)tst-array5.out): Likewise.
1397 ($(objpfx)tst-array5-static.out): Likewise.
1398
01767843
CM
13992012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1400
47cc1490
CM
1401 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1402 if defined.
1403
01767843
CM
1404 * nss/nsswitch.h (nss_interface_function): Provide new
1405 macro for use with NSS functions.
1406 * grp/initgroups.c: Use new macro.
1407 * nss/getXXbyYY.c: Likewise.
1408 * nss/getXXbyYY_r.c: Likewise.
1409 * nss/getXXent.c: Likewise.
1410 * nss/getXXent_r.c: Likewise.
1411 * sysdeps/posix/getaddrinfo.c: Likewise.
1412
8321aa97
AJ
14132012-10-30 Andreas Jaeger <aj@suse.de>
1414
1415 * po/ru.po: Update Russion translation from translation project.
1416
2a27fd6d
JM
14172012-10-30 Joseph Myers <joseph@codesourcery.com>
1418
8627a232
JM
1419 [BZ #14152]
1420 [BZ #14783]
1421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1422 result and shift together with sticky bit instead of replicating
1423 round-to-nearest rounding.
1424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1426 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1427 missing underflow exceptions.
1428 (fma_test_towardzero): Add more tests.
1429 (fma_test_downward): Likewise.
1430 (fma_test_upward): Likewise.
1431
2a27fd6d
JM
1432 [BZ #14047]
1433 * sysdeps/generic/tininess.h: New file.
1434 * sysdeps/i386/tininess.h: Likewise.
1435 * sysdeps/sh/tininess.h: Likewise.
1436 * sysdeps/x86_64/tininess.h: Likewise.
1437 * stdlib/tst-strtod-underflow.c: Likewise.
1438 * stdlib/tst-tininess.c: Likewise.
1439 * stdlib/strtod_l.c: Include <tininess.h>.
1440 (round_and_return): Do not set errno for exact underflow cases.
1441 Force an underflow exception when setting errno for underflow.
1442 Determine underflow based on rounding to normal precision if
1443 TININESS_AFTER_ROUNDING.
1444 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1445 ERANGE for exact underflow cases.
1446 * stdlib/Makefile (tests): Add tst-tininess and
1447 tst-strtod-underflow.
1448 ($(objpfx)tst-tininess): Use $(link-libm).
1449 ($(objpfx)tst-strtod-underflow): Likewise.
1450
e7170363
AJ
14512012-10-30 Andreas Jaeger <aj@suse.de>
1452
e5088dc6
AJ
1453 [BZ#14767]
1454 * elf/Makefile (tests): Remove conditional for have-initfini-array
1455 since this is now always required and the variable does not exist
1456 anymore.
1457 (tests-static): Likewise.
1458 (modules-names): Likewise.
1459
e7170363 1460 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1461
1462 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1463 merged with constructor/destructor.
1464 (init_array): Likewise.
1465 * elf/tst-array2dep.c (fini_array): Likewise.
1466 (init_array): Likewise.
1467
60457d8a
MF
14682012-10-29 Mike Frysinger <vapier@gentoo.org>
1469
1470 * manual/message.texi: Delete @cartouche tags.
1471
8bece752
PT
14722012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1473
94ce799f
PT
1474 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1475 EOPNOTSUPP.
1476 * sysdeps/mach/hurd/fsync.c: Likewise.
1477
8bece752
PT
1478 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1479 [_POSIX_REALTIME_SIGNALS]: Change condition to
1480 [_POSIX_REALTIME_SIGNALS > 0].
1481
86ebe6b1
AJ
14822012-10-27 Andreas Jaeger <aj@suse.de>
1483
1484 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1485 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1487 [__WORDSIZE != 64]: Likewise.
1488
54399c08
L
14892012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 * iconvdata/tst-table.sh: Remove ${SHELL}.
1492 * iconvdata/tst-tables.sh: Likewise.
1493
e2211bed
DM
14942012-10-25 David S. Miller <davem@davemloft.net>
1495
1496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1497 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1498 of strtoull.
1499
f303f97c
DM
1500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1501 ifunc-impl-list.c
1502 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1503 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1504 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1505 file.
1506
1e9d84cd
RM
15072012-10-25 Roland McGrath <roland@hack.frob.com>
1508
1509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1510 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1511 __getdirentries.
1512
df381762
JM
15132012-10-25 Joseph Myers <joseph@codesourcery.com>
1514 Jim Blandy <jimb@codesourcery.com>
1515
1516 * scripts/cross-test-ssh.sh: New file.
1517 * manual/install.texi (Configuring and compiling): Document use of
1518 cross-test-ssh.sh.
1519 * INSTALL: Regenerated.
1520
bff64913
PT
15212012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1522
1523 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1524 EOPNOTSUPP.
1525
25fe8932
JM
15262012-10-25 Joseph Myers <joseph@codesourcery.com>
1527
1528 * Makeconfig (run-program-prefix): Fix comment.
1529
cc1290d0
JM
15302012-10-24 Joseph Myers <joseph@codesourcery.com>
1531 Jim Blandy <jimb@codesourcery.com>
1532
1533 * Makeconfig (test-wrapper): New variable,
1534 (test-wrapper-env): Likewise.
1535 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1536 (run-built-tests): Define to yes.
1537 (run-program-prefix): Use $(test-wrapper).
1538 (built-program-cmd): Likewise.
1539 * Rules (make-test-out): Use $(test-wrapper-env) and
1540 $(host-built-program-cmd).
1541 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1542 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1543 tst-pathopt.sh.
1544 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1545 $(test-wrapper-env) to tst-rtld-load-self.sh.
1546 ($(objpfx)order2.out): Use $(test-wrapper).
1547 ($(objpfx)tst-initorder.out): Likewise.
1548 ($(objpfx)tst-initorder2.out): Likewise.
1549 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1550 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1551 (test_wrapper_env): New variable. Use it to run ld.so.
1552 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1553 Use it to run ld.so.
1554 (test_wrapper_env): Likewise.
1555 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1556 $(test-wrapper) to run-iconv-test.sh.
1557 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1558 (ICONV): Use $test_wrapper.
1559 * posix/Makefile ($(objpfx)globtest.out): Pass
1560 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1561 globtest.sh, not $(run-program-prefix).
1562 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1563 (test_wrapper): Likewise.
1564 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1565 set together with run_via_rtld_prefix.
1566 (run_program_prefix): Define in terms of test_wrapper and
1567 run_via_rtld_prefix.
1568
6e6249d0
RM
15692012-10-24 Roland McGrath <roland@hack.frob.com>
1570
1571 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1572 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1573 Targets removed.
1574
1575 [BZ #14743]
1576 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1577 Declare __clock_getres, __clock_gettime, __clock_settime,
1578 __clock_nanosleep, and __clock_getcpuclockid.
1579 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1580 Remove librt_hidden_def (clock_gettime).
1581 * sysdeps/unix/clock_gettime.c: Likewise.
1582 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1583 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1584 * rt/clock_getres.c: Define __clock_getres as an alias.
1585 * sysdeps/posix/clock_getres.c: Likewise.
1586 * rt/clock_settime.c: Define __clock_settime as an alias.
1587 * sysdeps/unix/clock_settime.c: Likewise.
1588 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1589 * sysdeps/unix/clock_nanosleep.c: Likewise.
1590 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1591 * rt/clock-compat.c: New file.
1592 * rt/Makefile (librt-routines): Add clock-compat and move
1593 $(clock-routines) to ...
1594 (routines): ... here, new variable.
1595 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1596 Don't add get_clockfreq here.
1597 * rt/Versions (libc: GLIBC_2.17): New version set.
1598 Add clock_* symbols here.
1599 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1600 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1601 (GLIBC_2.17): Add clock_* symbols.
1602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1606 Likewise.
1607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1608 Likewise.
1609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1613 * NEWS: Mention the move.
1614
1615 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1616 Use __open, __read, __close rather than their public counterparts.
1617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1618 (__get_clockfreq_via_cpuinfo): Likewise.
1619 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1620 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1621
1622 * config.h.in (HAVE_IFUNC): New #undef.
1623 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1624 was successful.
1625 * configure: Regenerated.
1626
0cae3f4b
MF
16272012-10-24 Mike Frysinger <vapier@gentoo.org>
1628
1629 * configure.in: Move READELF check to start of file.
1630 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1631 libc_cv_asm_gnu_indirect_function in the process.
1632 * configure: Regenerated.
1633
8175a253
MF
16342012-10-24 Mike Frysinger <vapier@gentoo.org>
1635
1636 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1637 send the output to /dev/null.
1638 (libc_cv_cc_with_libunwind): Likewise.
1639 (libc_cv_as_noexecstack): Likewise.
1640 * configure: Regenerate.
1641
0708a7d1
JM
16422012-10-24 Joseph Myers <joseph@codesourcery.com>
1643
10b40d85
JM
1644 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1645
0708a7d1
JM
1646 * posix/globtest.sh (TMPDIR): Do not set.
1647 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1648 (testout): Likewise.
1649
9fddec1a
AJ
16502012-10-24 Andreas Jaeger <aj@suse.de>
1651
3a8db22f
AJ
1652 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1653 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1654 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1655 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1656 posix_fadvise64, posix_fallocate64.
1657
9fddec1a
AJ
1658 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1659 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1660 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1661 Likewise.
1662 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1663 Likewise.
1664 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1665
1666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1667 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1668 <bits/fcntl-linux.h>.
1669 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1670
1671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1672 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1673 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1674 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1675 [__WORDSIZE != 64]: Likewise.
1676
ebfd1bbd
JM
16772012-10-23 Joseph Myers <joseph@codesourcery.com>
1678
03ac099f
JM
1679 * Makeconfig (run-built-tests): New variable.
1680 * Rules [$(cross-compiling) = yes]: Change condition to
1681 [$(run-built-tests) = no].
1682 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1683 to [$(run-built-tests) = yes].
1684 * elf/Makefile [$(cross-compiling) = no]: Likewise
1685 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1686 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1687 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1688 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1689 * io/Makefile [$(cross-compiling) = no]: Likewise.
1690 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1691 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1692 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1693 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1694 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1695 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1696 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1697 * string/Makefile [$(cross-compiling) = no]: Likewise.
1698
ebfd1bbd
JM
1699 * posix/Makefile ($(objpfx)globtest.out): Pass
1700 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1701 $(rtld-installed-name).
1702 * posix/globtest.sh (elf_objpfx): Remove variable.
1703 (rtld_installed_name): Likewise.
1704 (library_path): Likewise.
1705 (run_program_prefix): New variable. Use for running globtest
1706 binary.
1707
166bca24
JB
17082012-10-23 Jim Blandy <jimb@codesourcery.com>
1709 Joseph Myers <joseph@codesourcery.com>
1710
1711 * Makeconfig (host-built-program-cmd): New variable.
1712 * elf/Makefile (tst-stackguard1-ARGS): Use
1713 $(host-built-program-cmd).
1714 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1715 (tst-spawn-ARGS): Likewise.
1716 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1717
88866099
JM
17182012-10-23 Joseph Myers <joseph@codesourcery.com>
1719 Jim Blandy <jimb@codesourcery.com>
1720
1721 * Makeconfig (run-via-rtld-prefix): New variable.
1722 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1723 (built-program-cmd): Likewise.
1724
b4b4c296
AJ
17252012-10-22 Andreas Jaeger <aj@suse.de>
1726
1727 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1728 __O_RSYNC if it exists, otherwise to O_SYNC.
1729
6fb54a22
JB
17302012-10-22 Jim Blandy <jimb@codesourcery.com>
1731 Joseph Myers <joseph@codesourcery.com>
1732
1733 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1734 /dev/null.
1735 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1736 from /dev/null
1737 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1738 /dev/null.
1739
481b90b9
AJ
17402012-10-22 Andreas Jaeger <aj@suse.de>
1741
2a0e2669
AJ
1742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1743 Define always.
1744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1745
76e38f9a
AJ
1746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1747 bits/fcntl-linux.h.
1748
7cd37b43
AJ
1749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1750 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1751
481b90b9
AJ
1752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1753 to __O_LARGEFILE.
1754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1755 to __O_LARGEFILE.
1756
aba75984
JB
17572012-10-21 Jim Blandy <jimb@codesourcery.com>
1758 Joseph Myers <joseph@codesourcery.com>
1759
1760 * config.make.in (NM): New variable.
1761
88d4247f
AJ
17622012-10-21 Andreas Jaeger <aj@suse.de>
1763
1764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1765 definitions and declarations that are provided by
1766 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1767
f2eed205
L
17682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1769
1770 [BZ #14683]
1771 * elf/Makefile (tests-static): Add tst-leaks1-static.
1772 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1773 ($(objpfx)tst-leaks1-static): New rule.
1774 ($(objpfx)tst-leaks1-static-mem): Likewise.
1775 (tst-leaks1-static-ENV): New macro.
1776 * elf/dl-open.c (dl_open_worker): Check the main application
1777 only if SHARED is defined.
1778 * elf/tst-leaks1-static.c: New file.
1779
335e6931
AJ
17802012-10-20 Andreas Jaeger <aj@suse.de>
1781
1782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1783 generic values for Linux.
1784 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1785 and declarations that are provided by <bits/fcntl-linux.h> and
1786 include <bits/fcntl-linux.h>.
1787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1789
ac5c94d3
RM
17902012-10-20 Roland McGrath <roland@hack.frob.com>
1791
1792 * io/fcntl.h: Move include of <bits/types.h> to the top and
1793 include it unconditionally.
1794
de54b33a
L
17952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1796
228cfb01
L
1797 * wcsmbs/Makefile (tests-ifunc): New variable.
1798 (tests): Add $(tests-ifunc).
1799 * wcsmbs/test-wcschr-ifunc.c: New file.
1800 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1801 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1802 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1803 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1804 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1805
69f07e5f
L
1806 * string/Makefile (tests-ifunc): New variable.
1807 (tests): Add $(tests-ifunc).
1808 * string/test-memccpy.c (TEST_NAME): New macro.
1809 * string/test-memchr.c (TEST_NAME): Likewise.
1810 * string/test-memcmp.c (TEST_NAME): Likewise.
1811 * string/test-memcpy.c (TEST_NAME): Likewise.
1812 * string/test-memmem.c (TEST_NAME): Likewise.
1813 * string/test-memmove.c (TEST_NAME): Likewise.
1814 * string/test-memset.c (TEST_NAME): Likewise.
1815 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1816 * string/test-stpcpy.c (TEST_NAME): Likewise.
1817 * string/test-stpncpy.c (TEST_NAME): Likewise.
1818 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1819 * string/test-strcasestr.c (TEST_NAME): Likewise.
1820 * string/test-strcat.c (TEST_NAME): Likewise.
1821 * string/test-strchr.c (TEST_NAME): Likewise.
1822 * string/test-strcmp.c(TEST_NAME): Likewise.
1823 * string/test-strcpy.c (TEST_NAME): Likewise.
1824 * string/test-strcspn.c (TEST_NAME): Likewise.
1825 * string/test-strlen.c (TEST_NAME): Likewise.
1826 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1827 * string/test-strncmp.c (TEST_NAME): Likewise.
1828 * string/test-strncpy.c (TEST_NAME): Likewise.
1829 * string/test-strnlen.c (TEST_NAME): Likewise.
1830 * string/test-strpbrk.c (TEST_NAME): Likewise.
1831 * string/test-strrchr.c (TEST_NAME): Likewise.
1832 * string/test-strspn.c (TEST_NAME): Likewise.
1833 * string/test-strstr.c (TEST_NAME): Likewise.
1834 * string/test-bcopy-ifunc.c: New file.
1835 * string/test-bzero-ifunc.c: Likewise.
1836 * string/test-memccpy-ifunc.c: Likewise.
1837 * string/test-memchr-ifunc.c: Likewise.
1838 * string/test-memcmp-ifunc.c: Likewise.
1839 * string/test-memcpy-ifunc.c: Likewise.
1840 * string/test-memmem-ifunc.c: Likewise.
1841 * string/test-memmove-ifunc.c: Likewise.
1842 * string/test-mempcpy-ifunc.c: Likewise.
1843 * string/test-memset-ifunc.c: Likewise.
1844 * string/test-rawmemchr-ifunc.c: Likewise.
1845 * string/test-stpcpy-ifunc.c: Likewise.
1846 * string/test-stpncpy-ifunc.c: Likewise.
1847 * string/test-strcasecmp-ifunc.c: Likewise.
1848 * string/test-strcasestr-ifunc.c: Likewise.
1849 * string/test-strcat-ifunc.c: Likewise.
1850 * string/test-strchr-ifunc.c: Likewise.
1851 * string/test-strchrnul-ifunc.c: Likewise.
1852 * string/test-strcmp-ifunc.c: Likewise.
1853 * string/test-strcpy-ifunc.c: Likewise.
1854 * string/test-strcspn-ifunc.c: Likewise.
1855 * string/test-strlen-ifunc.c: Likewise.
1856 * string/test-strncasecmp-ifunc.c: Likewise.
1857 * string/test-strncat-ifunc.c: Likewise.
1858 * string/test-strncmp-ifunc.c: Likewise.
1859 * string/test-strncpy-ifunc.c: Likewise.
1860 * string/test-strnlen-ifunc.c: Likewise.
1861 * string/test-strpbrk-ifunc.c: Likewise.
1862 * string/test-strrchr-ifunc.c: Likewise.
1863 * string/test-strspn-ifunc.c: Likewise.
1864 * string/test-strstr-ifunc.c: Likewise.
1865
de54b33a
L
1866 * debug/Makefile (tests-ifunc): New variable.
1867 (tests): Add $(tests-ifunc).
1868 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1869 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1870 * debug/test-stpcpy_chk-ifunc.c: New file.
1871 * debug/test-strcpy_chk-ifunc.c: Likewise.
1872
88481c16
SP
18732012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1874
1875 [BZ #13601]
1876 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1877 header is not read in.
1878
135948bd
JM
18792012-10-19 Joseph Myers <joseph@codesourcery.com>
1880
89f1c388
JM
1881 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1882 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1883 directly. Pass built executable to script as
1884 $(built-program-cmd).
1885 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1886 $testprogram without using LD_LIBRARY_PATH and $ldso.
1887
e40a0d21
JM
1888 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1889 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1890 $(rtld-installed-name).
1891 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1892 (rtld_installed_name): Likewise.
1893 (library_path): Likewise.
1894 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1895 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1896 $(run-program-prefix) to tst-tables.sh.
1897 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1898 it to run tst-table-from and tst-table-to.
1899 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1900 Pass it to tst-table.sh.
1901 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1902 $(run-program-prefix) to tst-gettext.sh.
1903 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1904 tst-translit.sh.
1905 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1906 tst-gettext2.sh.
1907 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1908 to run tst-gettext.
1909 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1910 to run tst-gettext2.
1911 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1912 to run tst-translit.
1913 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1914 $(run-program-prefix) to tst-mtrace.sh.
1915 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1916 to run tst-mtrace.
1917 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1918 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1919 $(rtld-installed-name).
1920 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1921 (rtld_installed_name): Likewise.
1922 (run_program_prefix): New variable. Use it to run wordexp-test.
1923
728e272a
JM
1924 * Makeconfig (ARCH): Remove all definitions.
1925 (machine): Likewise.
1926 [ARCH]: Remove conditional code.
1927 [!objdir]: Give error.
1928 [!objdir] (objpfx): Remove.
1929 [!objdir] (common-objpfx): Likewise.
1930 [!objdir] (common-objdir): Likewise.
1931 * configure.in (config_makefile): Remove. Hardcode Makefile in
1932 AC_CONFIG_FILES call.
1933 * configure: Regenerated.
1934
d528cdcf
JM
1935 [BZ #13888]
1936 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1937 or TMPDIR.
1938 (testout): Likewise.
1939
135948bd
JM
1940 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1941 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1942 $(rtld-installed-name).
1943 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1944 (rtld_installed_name): Likwise.
1945 (runit): Remove function.
1946 (run_getconf): New variable, Use it for running getconf binary.
1947
38c78296
L
19482012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1949
1950 [BZ #14716]
1951 * string/test-memmem.c (check_result): New function.
1952 (do_one_test): Use it.
1953 (check1): New function.
1954 (test_main): Use it.
1955
d077f65f
MT
19562012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1957
1958 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1959
ced52c71
JM
19602012-10-18 Joseph Myers <joseph@codesourcery.com>
1961
1962 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1963 (_G_LSEEK64): Likewise.
1964 (_G_MMAP64): Likewise.
1965 (_G_FSTAT64): Likewise.
1966 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1967 (_G_LSEEK64): Likewise.
1968 (_G_MMAP64): Likewise.
1969 (_G_FSTAT64): Likewise.
1970 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1971 unconditional. Call __mmap64 directly.
1972 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1973 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1974 __lseek64 directly.
1975 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1976 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1977 __mmap64 directly.
1978 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1979 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1980 __lseek64 directly.
1981 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1982 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1983 __lseek64 directly.
1984 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1985 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1986 __lseek64 directly.
1987 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1988 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1989 __fxstat64 directly.
1990 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1991 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1992 unconditional.
1993 (freopen64) [!_G_OPEN64]: Remove conditional code.
1994 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1995 unconditional.
1996 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1997 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1998 unconditional.
1999 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2000 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2001 unconditional.
2002 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2003 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2004 unconditional.
2005 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2006 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2007 unconditional.
2008 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2009 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2010 unconditional.
2011 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2012 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2013 unconditional.
2014 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2015
b741de23
SP
20162012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2017
2018 [BZ #12140]
2019 * manual/memory.texi (Malloc Tunable Parameters): Add note
2020 about free list pointers overwriting some perturb bytes.
2021 Wording suggested by Roland McGrath.
2022
f9b9d9c9
JM
20232012-10-17 Joseph Myers <joseph@codesourcery.com>
2024
2025 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2026 (lgamma_test): Likewise.
2027 (tgamma_test): Likewise.
2028
172a631a
FW
20292012-10-16 Florian Weimer <fweimer@redhat.com>
2030
2031 [BZ #14700]
2032 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2033 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2034
e9f37252
MK
20352012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2036
2037 * NEWS: Mention BZ #14716.
2038 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2039 when removing AVAILABLE1_USES_J macro.
2040
d394eb74
L
20412012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2042
2043 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2044 (__bswap_64): __uint64_t for unsigned 64-bit int.
2045
ca38dc17
AS
20462012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2047
2048 * include/string.h (memmem): Declare libc hidden alias.
2049 * string/memmem.c (memmem): Define libc hidden alias.
2050 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2051 __read, __close instead of open, read, close.
2052
9a387d1f
L
20532012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2054
ac49ecaf
L
2055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2056 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2057 global and hidden.
2058 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2059 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2060 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2061 Likewise.
2062 (__rawmemchr_sse2): Likewise.
2063 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2064 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2065 (__strchr_sse2): Likewise.
2066 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2067 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2068 (__strcasecmp_sse2): Likewise.
2069 (__strncasecmp_sse2): Likewise.
2070 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2071 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2072 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2073 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2074 (__strrchr_sse2): Likewise.
2075 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2076 ifunc-impl-list.c.
2077 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2078 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2079 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2080 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2081 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2082 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2083 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2084 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2085 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2086 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2087 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2088 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2089 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2090 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2091 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2092 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2093 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2094 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2095 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2096 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2097 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2098 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2099 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2100 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2101 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2102 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2103 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2104 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2105 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2106 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2107
b090e8ea
L
2108 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2109 global and hidden.
2110 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2111 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2112 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2113 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2114 Likewise.
2115 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2116 Likewise.
2117 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2118 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2119 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2120 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2121 ifunc-impl-list.c.
2122 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2123 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2124 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2125 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2126 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2127 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2128 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2129 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2130 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2131 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2132 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2133 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2134 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2135 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2136 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2137 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2138 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2139 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2140 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2141 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2142 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2143 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2144 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2145 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2146 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2147 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2148 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2149 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2150 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2151 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2152 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2153 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2154 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2155 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2156 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2157 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2158 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2159 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2160 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2161 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2162 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2163
11dd4af6
L
2164 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2165 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2166 * include/ifunc-impl-list.h: New file.
2167 * misc/ifunc-impl-list.c: Likewise.
2168 * misc/Makefile (routines): Add ifunc-impl-list.
2169 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2170 * string/test-string.h: Include <ifunc-impl-list.h>.
2171 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2172 impl_array): New variables.
2173 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2174 are defined.
2175 (test_init): Call __libc_ifunc_impl_list to initialize
2176 func_list if TEST_IFUNC and TEST_NAME are defined.
2177
9a387d1f
L
2178 * string/Makefile (strop-tests): Add bcopy and bzero.
2179 * string/test-bcopy.c: New file.
2180 * string/test-bzero.c: Likewise.
2181 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2182 defined.
2183 * string/test-memset.c: Support bzero test if TEST_BZERO is
2184 defined.
2185 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2186 __libc_memmove.
2187 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2188 __libc_memset.
2189 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2190 of memset.
2191
472371b9
JM
21922012-10-10 Joseph Myers <joseph@codesourcery.com>
2193
1e4a9536
JM
2194 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2195 * configure: Regenerated.
2196
d173d12e
JM
2197 * Makeconfig (+link-static-before-libc): Don't include
2198 $(link-static-libc).
2199
472371b9
JM
2200 * libio/libio.h (_IO_pos_t): Remove.
2201
89a3ad0b
AO
22022012-10-10 Alexandre Oliva <aoliva@redhat.com>
2203
2204 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2205 McGrath.
2206
e7451425
AO
22072012-10-10 Alexandre Oliva <aoliva@redhat.com>
2208
2209 * crypt/crypt-entry.c: Include fips-private.h.
2210 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2211 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2212 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2213 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2214
4ba74a35
AO
22152012-10-10 Alexandre Oliva <aoliva@redhat.com>
2216
2217 * crypt/crypt-private.h: Include stdbool.h.
2218 (_ufc_setup_salt_r): Return bool.
2219 * crypt/crypt-entry.c: Include errno.h.
2220 (__crypt_r): Return NULL with EINVAL for bad salt.
2221 * crypt/crypt_util.c (bad_for_salt): New.
2222 (_ufc_setup_salt_r): Check that salt is long enough and within
2223 the specified alphabet.
2224 * crypt/badsalttest.c: New file.
2225 * crypt/Makefile (tests): Add it.
2226 ($(objpfx)badsalttest): New.
2227
f96f1242
MK
22282012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2229
2230 * NEWS: Add entry for BZ #14602.
2231
0e8e0c1c
JM
22322012-10-09 Joseph Myers <joseph@codesourcery.com>
2233
2234 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2235 type-generic.
2236 * math/libm-test.inc: Update comment listing what functions and
2237 macros are tested.
2238 (isgreater_test): New function.
2239 (isgreaterequal_test): Likewise.
2240 (isless_test): Likewise.
2241 (islessequal_test): Likewise.
2242 (islessgreater_test): Likewise.
2243 (isunordered_test): Likewise.
2244 (main): Call the new functions.
2245
273edc5e
RM
22462012-10-09 Roland McGrath <roland@hack.frob.com>
2247
b8493de0
RM
2248 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2249 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2250 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2251 * sysdeps/i386/configure: Regenerated.
2252 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2253 * sysdeps/mach/configure: Regenerated.
2254 * sysdeps/mach/hurd/configure: Regenerated.
2255 * sysdeps/powerpc/configure: Regenerated.
2256 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2257 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2258 * sysdeps/s390/s390-32/configure: Regenerated.
2259 * sysdeps/s390/s390-64/configure: Regenerated.
2260 * sysdeps/sh/configure: Regenerated.
2261 * sysdeps/sparc/configure: Regenerated.
2262 * sysdeps/unix/sysv/linux/configure: Regenerated.
2263 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2264 * sysdeps/x86_64/configure: Regenerated.
2265
273edc5e
RM
2266 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2267 defined. Don't check if MAP is NULL.
2268
c8450f70
JM
22692012-10-09 Joseph Myers <joseph@codesourcery.com>
2270
2271 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2272 (_G_stat64): Likewise.
2273 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2274 (_G_stat64): Likewise.
2275 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2276 instead of struct _G_stat64.
2277 * libio/fileops.c (mmap_remap_check): Likewise.
2278 (decide_maybe_mmap): Likewise.
2279 (_IO_new_file_seekoff): Likewise.
2280 (_IO_file_stat): Likewise.
2281 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2282 _G_off64_t.
2283 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2284 instead of struct _G_stat64.
2285 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2286
57e605ba
MK
22872012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2288
2289 [BZ #14602]
2290 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2291 Replace with ...
2292 (CHECK_EOL): New macro.
2293 (two_way_short_needle): Check beginning of haystack for EOL. Use
2294 CHECK_EOL.
2295 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2296 Replace with CHECK_EOL.
2297 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2298 Replace with CHECK_EOL.
2299
ef1bb361
JM
23002012-10-08 Joseph Myers <joseph@codesourcery.com>
2301
2302 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2303 type-generic.
2304 * math/libm-test.inc: Update comment listing what functions and
2305 macros are tested.
2306 (finite_test): New function.
2307 (isinf_test): Likewise.
2308 (isnan_test): Likewise.
2309 (fpclassify_test): Test subnormal input.
2310 (isfinite_test): Likewise.
2311 (isnormal_test): Likewise.
2312 (main): Call the new functions.
2313
55f11534
JN
23142012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2315
2316 [BZ #14660]
2317 * Makerules (%.dynsym): Force C locale when running
2318 $(OBJDUMP) --dynamic-syms.
2319
1ab29350
AS
23202012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2321
2322 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2323 <stdint.h>.
2324
f1ecb7ef
DM
23252012-10-06 David S. Miller <davem@davemloft.net>
2326
2327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2328 upper 32-bits of the length value in %o2 since we use branch-on-register
2329 tests which consider the entire 64-bit register.
2330
5d41d91a
L
23312012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2332
2333 * string/test-strstr.c (check2): Add a test for page boundary.
2334
3baddb72
DM
23352012-10-05 David S. Miller <davem@davemloft.net>
2336
2337 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2338 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2339 file.
2340 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2341 sysdep_routines.
2342 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2343 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2344 and bzero when HWCAP_SPARC_CRYPTO is present.
2345
9cee5585
L
23462012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2347
d7e0dab9
L
2348 [BZ #14602]
2349 * string/test-strstr.c (check2): New function.
2350 (test_main): Call check2.
2351
03759f47
L
2352 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2353 and bug-strchr1.
2354 * string/bug-strcasestr1.c (do_test): Moved to ...
2355 * string/test-strcasestr.c (check1): Here. New function.
2356 (do_one_test): Break out result checking code into ...
2357 (check_result): This. New function.
2358 (do_one_test): Call check_result.
2359 (test_main): Call check1.
2360 * string/bug-strchr1.c (do_test): Moved to ...
2361 * string/test-strchr.c (check1): Here. New function.
2362 (do_one_test): Break out result checking code into ...
2363 (check_result): This. New function.
2364 (do_one_test): Call check_result.
2365 (test_main): Call check1.
2366 * string/bug-strstr1.c (main): Moved to ...
2367 * string/test-strchr.c (check1): Here. New function.
2368 (do_one_test): Break out result checking code into ...
2369 (check_result): This. New function.
2370 (do_one_test): Call check_result.
2371 (test_main): Call check1.
2372 * string/bug-strcasestr1.c: Removed.
2373 * string/bug-strchr1.c: Likewise.
2374 * string/bug-strstr1.c: Likewise.
2375
53cea63e
L
2376 * elf/Makefile (dl-routines): Add hwcaps.
2377 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2378 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2379 (_dl_important_hwcaps): Moved to ...
2380 * elf/dl-hwcaps.c: Here. New file.
2381 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2382
9cee5585 2383 [BZ #14557]
bb859b06
L
2384 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2385 if IS_IN_rtld isn't defined.
2386
9cee5585
L
2387 * elf/dl-support.c (_dl_sysinfo_map): New.
2388 Include "get-dynamic-info.h" and "setup-vdso.h".
2389 (_dl_non_dynamic_init): Call setup_vdso.
2390 * elf/dynamic-link.h: Don't include <assert.h>.
2391 (elf_get_dynamic_info): Moved to ...
2392 * elf/get-dynamic-info.h: Here. New file.
2393 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2394 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2395 * elf/setup-vdso.h: Here. New file.
2396 * elf/rtld.c: Include "setup-vdso.h".
2397 (dl_main): Call setup_vdso.
2398
23c31b76
JM
23992012-10-05 Joseph Myers <joseph@codesourcery.com>
2400
28234b07
JM
2401 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2402 creal in comment listing functions tested. List finite, isinf,
2403 isnan, isless, islessequal, isgreater, isgreaterequal,
2404 islessgreater, isunordered, lgamma_r and pow10 as functions and
2405 macros not tested. Mention which functions not tested are aliases
2406 for other functions. Fix typo. Note that signs of NaNs are not
2407 tested.
2408
23c31b76
JM
2409 * scripts/config.guess: Update from config.git.
2410 * scripts/config.sub: Likewise.
2411
9043e228
RM
24122012-10-04 Roland McGrath <roland@hack.frob.com>
2413
2414 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2415 * misc/madvise.c (madvise): Renamed to __madvise.
2416 Make madvise a weak alias.
2417 * include/sys/mman.h: Declare __madvise.
2418 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2419 * sysdeps/unix/syscalls.list
2420 (madvise): Make __madvise the strong name, and madvise a weak alias.
2421 * sysdeps/unix/sysv/linux/syscalls.list
2422 (madvise, mmap): Remove redundant entries.
2423 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2424 * malloc/malloc.c (mtrim): Likewise.
2425 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2426
f57f8055
RM
24272012-10-03 Roland McGrath <roland@hack.frob.com>
2428
2429 * sysdeps/mach/hurd/dl-cache.c: File removed.
2430 * config.h.in (USE_LDCONFIG): New #undef.
2431 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2432 * configure: Regenerated.
2433 * elf/Makefile (dl-routines): Add dl-cache only under
2434 [$(use-ldconfig) = yes].
2435 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2436 cache on [USE_LDCONFIG].
2437 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2438 [USE_LDCONFIG].
2439 * elf/rtld.c (dl_main): Likewise.
2440
5bb0c10a
PT
24412012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2442
2443 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2444 _SC_LEVEL4_CACHE_LINESIZE.
2445
010188c6
RM
24462012-10-03 Roland McGrath <roland@hack.frob.com>
2447
2448 * sysdeps/unix/bsd/confstr.h: File removed.
2449
b6c5ec07
AO
24502012-10-02 Alexandre Oliva <aoliva@redhat.com>
2451
2452 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2453 sys/sdt-config.h.
2454
408223d4
RM
24552012-10-02 Roland McGrath <roland@hack.frob.com>
2456
2457 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2458 Make 'mapoff' field ElfW(Off) rather than off_t.
2459
bb9510dc
DL
24602012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2461
fc997c6e
DL
2462 * nscd/Makefile: Remove nscd-cflags and all its users.
2463 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2464 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2465
bb9510dc
DL
2466 [BZ #10631]
2467 * malloc.c (malloc_printerr): Clarify error message.
2468
05699367
L
24692012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2470
2471 [BZ #14648]
2472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2473 Set bit_FMA_Usable if FMA is supported.
2474 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2475 macro.
2476 (bit_FMA4_Usable): Updated.
2477 (index_FMA_Usable): New macro.
2478 (CPUID_FMA): Likewise
2479 (HAS_FMA): Defined with bit_FMA_Usable.
2480
51367701
RM
24812012-10-01 Roland McGrath <roland@hack.frob.com>
2482
2483 * bits/types.h (__swblk_t): Type removed.
2484 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2485 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2487 (__SWBLK_T_TYPE): Likewise.
2488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2489 (__SWBLK_T_TYPE): Likewise.
2490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2491 (__SWBLK_T_TYPE): Likewise.
2492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2493 (__SWBLK_T_TYPE): Likewise.
2494
4d57bf63 24952012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2496 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2497
2498 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2499 (xdr_mapname): Use YPMAXMAP as maxsize.
2500 (xdr_peername): Use YPMAXPEER as maxsize.
2501 (xdr_keydat): Use YPAXRECORD as maxsize.
2502 (xdr_valdat): Use YPMAXRECORD as maxsize.
2503
93c65d43
RM
25042012-10-01 Roland McGrath <roland@hack.frob.com>
2505
497a03d6
RM
2506 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2507
93c65d43
RM
2508 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2509 * csu/init-first.c: ... here.
2510 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2511 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2512 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2513 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2514 * sysdeps/i386/init-first.c: File removed.
2515 * sysdeps/sh/init-first.c: File removed.
2516
bec749fd
JM
25172012-10-01 Joseph Myers <joseph@codesourcery.com>
2518
2519 [BZ #14645]
2520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2521 if x * y might underflow to zero and z is zero.
2522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2524 * math/libm-test.inc (min_subnorm_value): New variable.
2525 (fma_test): Add more tests.
2526 (fma_test_towardzero): Likewise.
2527 (fma_test_downward): Likewise
2528 (fma_test_upward): Likewise.
2529 (initialize): Set min_subnorm_value.
2530
8ec5b013
JM
25312012-09-29 Joseph Myers <joseph@codesourcery.com>
2532
2533 [BZ #14638]
2534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2535 0 + 0.
2536 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2537 mode for addition resulting in exact zero.
2538 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2540 exact 0 + 0.
2541 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2542 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2543 * math/libm-test.inc (fma_test): Add more tests.
2544 (fma_test_towardzero): New function.
2545 (fma_test_downward): Likewise.
2546 (fma_test_upward): Likewise.
2547 (main): Call the new functions.
2548
b1fa802e
DM
25492012-09-28 David S. Miller <davem@davemloft.net>
2550
2551 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2552
d3b9fd9e
RM
25532012-09-28 Roland McGrath <roland@hack.frob.com>
2554
ea4d37b3
RM
2555 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2556 instead of SIGALRM.
2557
ac51c949
RM
2558 * sysdeps/gnu/_G_config.h: Moved to ...
2559 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2560 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2561 * sysdeps/generic/_G_config.h: ... here.
2562
28c195f7
RM
2563 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2564
848917f9
RM
2565 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2566
6bacf05b
RM
2567 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2568 Conditionalize target on [libnss_test1.so-version].
2569
91363dbb
RM
2570 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2571
cc87f7d8
RM
2572 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2573 (elfobjdir): Move out of conditionals.
2574
b1c608fe
RM
2575 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2576 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2577 (__nss_lookup_function): Conditionalize label remove_from_tree on
2578 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 2579
1d9a6d96
DM
25802012-09-28 David S. Miller <davem@davemloft.net>
2581
2582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2583 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2584 file.
2585 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2586 sysdep_routines.
2587 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2589 when HWCAP_SPARC_CRYPTO is present.
2590
72581615
PT
25912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2592
2593 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2594
715a900c
JL
25952012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2596
2597 [BZ #6530]
2598 * stdio-common/vfprintf.c (process_string_arg): Revert
2599 2000-07-22 change.
2600
26012011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2602
2603 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2604 for testcase.
2605 * stdio-common/tst-sprintf.c: Include <locale.h>
2606 (main): Test sprintf's handling of incomplete multibyte
2607 characters.
2608
9bac1d86
L
26092012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2610
2611 * elf/dl-runtime.c (VERSYMIDX): Removed.
2612 * elf/dl-version.c (VERSYMIDX): Likewise.
2613 * elf/do-rel.h (VERSYMIDX): Likewise.
2614 (VALIDX): Likewise.
2615 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2616 * elf/rtld.c (VALIDX): Likewise.
2617 (ADDRIDX): Likewise.
9bac1d86
L
2618 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2619 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2620 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2621 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2622 (VALIDX): Likewise.
2623 (ADDRIDX): Likewise.
9bac1d86 2624
b31606c0
PT
26252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2626
2627 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2628
11541177
JL
26292012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2630
2631 [BZ #11438]
2632 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2633 to global scope.
2634 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2635 addresses are in the same scope as 192.0.2/24.
2636 * posix/gai.conf: Document new scope table defaults.
2637
adb26fae
SP
26382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2639
2640 [BZ #5298]
2641 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2642 for ftell. Compute offsets from write pointers instead.
2643 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2644
4573c6b0
SP
26452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2646
2647 [BZ #14543]
2648 * libio/Makefile (tests): New test case tst-fseek.
2649 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2650 combination works in wide mode.
2651 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2652 state when the external buffer state changes.
2653
aa9bbfe6
DM
26542012-09-27 David S. Miller <davem@davemloft.net>
2655
2656 [BZ #14376]
2657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2658 pass reloc->r_addend in as the 'high' argument to
2659 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2660
784421e7
DM
2661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2662
c39bc8b8
PT
26632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2664
2665 * rt/tst-aio2.c: Include <pthread.h>.
2666 * rt/tst-aio3.c: Likewise.
2667
1ccc2399
SE
26682012-09-27 Steve Ellcey <sellcey@mips.com>
2669
2670 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2671
31ed4153
L
26722012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2673
25f5f885
L
2674 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2675 contents on [SHARED].
31ed4153 2676
b7bfe116
MP
26772012-09-26 Marek Polacek <polacek@redhat.com>
2678
2679 [BZ #14530]
2680 [BZ #13741]
2681 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2682 for C++ and GCC <4.3 as well as for non GCC compilers.
2683
43c4edba
MT
26842012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2685
2686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2687
6a1bf82f
RM
26882012-09-25 Roland McGrath <roland@hack.frob.com>
2689
2690 * Makefile.in (all, install): Declare with .PHONY.
2691 Reported by Michael Hope <michael.hope@linaro.org>.
2692
8ad11b9a
TMQMF
26932012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2694
2695 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2696 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2697 system header.
2698 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2699 Likewise.
2700 (sydep_routines): Add the new and the internal functions.
2701 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2702 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2704 (GLIBC_2.17): Add the new function.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2706 (GLIBC_2.17): Likewise.
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2708 (GLIBC_2.17): Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2710 (GLIBC_2.17): Likewise.
2711 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2712
7e2fca8d
AM
27132012-09-25 Alan Modra <amodra@gmail.com>
2714
2715 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2716 Add release barrier before setting once_control to say
2717 initialisation is done. Add hints on lwarx. Use macro in
2718 place of isync.
2719 (clear_once_control): Add release barrier.
2720
b87c4b24
JM
27212012-09-25 Joseph Myers <joseph@codesourcery.com>
2722
d032e0d2
JM
2723 [BZ #13629]
2724 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2725 specially.
2726 * math/s_clog10.c (__clog10): Likewise.
2727 * math/s_clog10f.c (__clog10f): Likewise.
2728 * math/s_clog10l.c (__clog10l): Likewise.
2729 * math/s_clogf.c (__clogf): Likewise.
2730 * math/s_clogl.c (__clogl): Likewise.
2731 * math/Makefile (libm-calls): Add x2y2m1.
2732 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2733 (__x2y2m1): Likewise.
2734 (__x2y2m1l): Likewise.
2735 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2736 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2737 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2738 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2739 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2740 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2741 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2742 * sysdeps/i386/fpu/libm-test-ulps: Update.
2743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2744
b87c4b24
JM
2745 [BZ #14621]
2746 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2747 int as type of variable DEPTH.
2748 (glob): Use size_t instead of int as type of variables NEWCOUNT
2749 and OLD_PATHC.
2750
6d3bf199
LD
27512012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2752
22bf5c17
LD
2753 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2754 Add s_sincosf-sse2.
2755 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2756 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2757 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2758 macros for using routine as __sincosf_ia32.
2759 Use macro for function declaration and weak_alias.
2760 * sysdeps/i386/fpu/libm-test-ulps: Update.
2761
2762 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2764
2765 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2766 subnormal argument.
2767 * math/s_cexpf.c (__cexpf): Likewise.
2768 * math/s_csinf.c (__csinf): Likewise.
2769 * math/s_csinhf.c (__csinhf): Likewise.
2770 * math/s_ctanf.c (__ctanf): Likewise.
2771 * math/s_ctanhf.c (__ctanhf): Likewise.
2772 * math/s_ccosh.c (__ccoshf): Likewise.
2773 * math/s_cexp.c (__cexpl): Likewise.
2774 * math/s_csin.c (__csin): Likewise.
2775 * math/s_csinh.c (__csinh): Likewise.
2776 * math/s_ctan.c (__ctan): Likewise.
2777 * math/s_ctanh.c (ctanh): Likewise.
2778 * math/s_ccoshl.c (__ccoshl): Likewise.
2779 * math/s_cexpl.c (__cexpl): Likewise.
2780 * math/s_csinl.c (__csinl): Likewise.
2781 * math/s_csinhl.c (__csinhl): Likewise.
2782 * math/s_ctanl.c (__ctanl): Likewise.
2783 * math/s_ctanhl.c (__ctanhl): Likewise.
2784
203e5603
JM
27852012-09-25 Joseph Myers <joseph@codesourcery.com>
2786
2787 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2788 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2789 (_IO_off_t): Define to __off_t, not _G_off_t.
2790 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2791 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2792 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2793 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2794 type of __dummy and __dummy2 fields.
2795 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2796 (_G_ssize_t): Likewise.
2797 (_G_off_t): Likewise.
2798 (_G_pid_t): Likewise.
2799 (_G_uid_t): Likewise.
2800 (_G_wchar_t): Likewise.
2801 (_G_wint_t): Likewise.
2802 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2803 (_G_ssize_t): Likewise.
2804 (_G_off_t): Likewise.
2805 (_G_pid_t): Likewise.
2806 (_G_uid_t): Likewise.
2807 (_G_wchar_t): Likewise.
2808 (_G_wint_t): Likewise.
2809 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2810 (_G_ssize_t): Likewise.
2811 (_G_off_t): Likewise.
2812 (_G_pid_t): Likewise.
2813 (_G_uid_t): Likewise.
2814 (_G_wchar_t): Likewise.
2815 (_G_wint_t): Likewise.
2816
9fab36eb
SP
28172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2818
2819 * malloc/arena.c: Include malloc-sysdep.h.
2820 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2821 is sufficient to shrink the heap or an unmap is needed.
2822 * sysdeps/generic/malloc-sysdep.h: New file. Define
2823 new function check_may_shrink_heap.
2824 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2825 new function check_may_shrink_heap.
2826
2b4f00d1
SP
28272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2828
2829 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2830 comments.
2831
9a9028b1
DL
28322012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2833
57c69bef
DL
2834 * catgets/test-gencat.sh: Add "set -e".
2835 * elf/tst-pathopt.sh: Likewise.
2836 * grp/tst_fgetgrent.sh: Likewise.
2837 * iconvdata/run-iconv-test.sh: Likewise.
2838 * intl/tst-gettext.sh: Likewise.
2839 * intl/tst-gettext2.sh: Likewise.
2840 * intl/tst-gettext4.sh: Likewise.
2841 * intl/tst-gettext6.sh: Likewise.
2842 * intl/tst-translit.sh: Likewise.
2843 * io/ftwtest-sh: Likewise.
2844 * libio/test-freopen.sh: Likewise.
2845 * malloc/tst-mtrace.sh: Likewise.
2846 * posix/globtest.sh: Likewise.
2847 * posix/tst-getconf.sh: Likewise.
2848 * posix/wordexp-tst.sh: Likewise.
2849 * stdio-common/tst-printf.sh: Likewise.
2850 * stdio-common/tst-unbputc.sh: Likewise.
2851 * stdlib/tst-fmtmsg.sh: Likewise.
2852 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2853 * catgets/Makefile: Do not specify -e option when running
2854 testsuite shell scripts.
2855 * elf/Makefile: Likewise.
2856 * grp/Makefile: Likewise.
2857 * iconvdata/Makefile: Likewise.
2858 * intl/Makefile: Likewise.
2859 * io/Makefile: Likewise.
2860 * libio/Makefile: Likewise.
2861 * malloc/Makefile: Likewise.
2862 * posix/Makefile: Likewise.
2863 * stdio-common/Makefile: Likewise.
2864 * stdlib/Makefile: Likewise.
2865 * sysdeps/x86_64/Makefile: Likewise.
2866
9a9028b1
DL
2867 * io/ftwtest-sh: Add copyright header.
2868 * posix/globtest.sh: Likewise.
2869 * posix/tst-getconf.sh: Likewise.
2870 * posix/wordexp-tst.sh: Likewise.
2871 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2872
ced6f16e
L
28732012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2874
94b32c39
L
2875 [BZ #13679]
2876 * Makeconfig (+link): Defined as $(+link-static) if
2877 $(build-shared) isn't yes.
2878 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2879 isn't yes.
2880 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2881
189e935b
L
2882 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2883
ced6f16e
L
2884 [BZ #14562]
2885 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2886 new chunk size with MALLOC_ALIGN_MASK.
2887
a9f8e53a
JM
28882012-09-24 Joseph Myers <joseph@codesourcery.com>
2889
2890 [BZ #5044]
2891 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2892 <rounding-mode.h>.
2893 (__printf_fphex): Determine rounding using get_rounding_mode and
2894 round_away.
2895 * stdio-common/tst-printf-round.c (struct hex_test): New
2896 structure.
2897 (hex_tests): New variable.
2898 (test_hex_in_one_mode): New function.
2899 (do_test): Also run tests for hex float output.
2900
43153109
JM
29012012-09-21 Joseph Myers <joseph@codesourcery.com>
2902
2903 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2904 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2905 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2906 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2907 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2908 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2909 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2910 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2911
8a26625d
JM
29122012-09-20 Joseph Myers <joseph@codesourcery.com>
2913
2914 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2915 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2916 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2917 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2918
f3fd569c
DL
29192012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2920
2921 [BZ #14579]
2922 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2923 mode only.
2924 * elf/tst-rtld-load-self.sh: New test.
2925 * elf/Makefile: Run it.
2926
63bbedd4
JM
29272012-09-18 Joseph Myers <joseph@codesourcery.com>
2928
2929 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2930 (tst-writev-ENV): Remove.
2931 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2932
626f8b6a
CM
29332012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2934
2935 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2936
b7aaa4d6
JM
29372012-09-17 Joseph Myers <joseph@codesourcery.com>
2938
2939 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2940 unconditional.
2941 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2942 Likewise.
2943 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2944 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2945 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2946 Likewise.
2947
65513990
L
29482012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2949
2950 [BZ #14587]
2951 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2952 * config.make.in (have-cpp-asm-debuginfo): Removed.
2953 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2954 * configure: Regenerated.
2955
784761be
JM
29562012-09-14 Joseph Myers <joseph@codesourcery.com>
2957
2958 [BZ #5044]
2959 * stdio-common/printf_fp.c: Include <stdbool.h> and
2960 <rounding-mode.h>.
2961 (___printf_fp): Determine rounding using get_rounding_mode and
2962 round_away.
2963 * stdio-common/tst-printf-round.c: New file.
2964 * stdio-common/Makefile (tests): Add tst-printf-round.
2965 (link-libm): New variable.
2966 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2967
9503345f
L
29682012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2969
2970 [BZ #14576]
2971 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2972 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2973 Likewise.
2974 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2975 Likewise.
2976
ad35fc00
JM
29772012-09-13 Joseph Myers <joseph@codesourcery.com>
2978
2979 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2980 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2981 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2982 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2983
6c9b0f68
JM
29842012-09-12 Joseph Myers <joseph@codesourcery.com>
2985
2986 [BZ #14518]
2987 * include/rounding-mode.h: New file.
2988 * sysdeps/generic/get-rounding-mode.h: Likewise.
2989 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2990 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2991 (MAX_VALUE): New macro.
2992 (MIN_VALUE): Likewise.
2993 (overflow_value): New function.
2994 (underflow_value): Likewise.
2995 (round_and_return): Use overflow_value and underflow_value to
2996 determine return values in overflow and underflow cases. Use
2997 round_away to determine rounding depending on rounding mode.
2998 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2999 determine return values in overflow and underflow cases.
3000 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3001 (struct test_results): New structure.
3002 (struct test): Use struct test_results to store expected results
3003 for all rounding modes.
3004 (TEST): Include expected results for all rounding modes.
3005 (test_in_one_mode): New function.
3006 (do_test): Use test_in_one_mode to compute and check results.
3007 Check results for all rounding modes.
3008 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3009 $(link-libm).
3010
19fcedd5
AM
30112012-12-09 Allan McRae <allan@archlinux.org>
3012
1e9d84cd 3013 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3014
8bbfd2f1
JM
30152012-09-11 Joseph Myers <joseph@codesourcery.com>
3016
3017 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3018 (_G_int32_t): Likewise.
3019 (_G_uint16_t): Likewise.
3020 (_G_uint32_t): Likewise.
3021 (_G_HAVE_BOOL): Likewise.
3022 (_G_HAVE_ATEXIT): Likewise.
3023 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3024 (_G_HAVE_IO_FILE_OPEN): Likewise.
3025 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3026 (_G_int32_t): Likewise.
3027 (_G_uint16_t): Likewise.
3028 (_G_uint32_t): Likewise.
3029 (_G_HAVE_BOOL): Likewise.
3030 (_G_HAVE_ATEXIT): Likewise.
3031 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3032 (_G_HAVE_IO_FILE_OPEN): Likewise.
3033 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3034 (_G_int32_t): Likewise.
3035 (_G_uint16_t): Likewise.
3036 (_G_uint32_t): Likewise.
3037 (_G_HAVE_BOOL): Likewise.
3038 (_G_HAVE_ATEXIT): Likewise.
3039 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3040 (_G_HAVE_IO_FILE_OPEN): Likewise.
3041
b1dc5912
L
30422012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3043
3044 * csu/libc-tls.c: Update copyright years.
3045
0e886ef9
JM
30462012-09-10 Joseph Myers <joseph@codesourcery.com>
3047
28361c5e
JM
3048 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3049 [!_G_USING_THUNKS]: Remove conditional code.
3050 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3051 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3052
0e886ef9
JM
3053 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3054 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3055 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3056 (_G_VTABLE_LABEL_PREFIX): Likewise.
3057 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3058 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3059 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3060 (_G_VTABLE_LABEL_PREFIX): Likewise.
3061 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3062 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3063 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3064 (_G_VTABLE_LABEL_PREFIX): Likewise.
3065 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3066
bcba7aa2
L
30672012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3068
3069 * libio/Makefile: Include ../Makeconfig before tests.
3070 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3071 only if $(build-shared) is yes.
3072
06585ee8
L
3073 * iconv/gconv_db.c: Update copyright years.
3074
80ccd52c
LD
30752012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3076
3077 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3078 unwind info if defined PIC. Fix special cases description.
3079 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3080
3081 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3082 DP_HI_MASK entry.
3083 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3084
691bc9c1
L
30852012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3086
3d9b46b3
L
3087 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3088
de2139a9
L
3089 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3090 is NULL.
3091
5ca78dd0
L
3092 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3093 (LDLIBS-tst-chk4): This.
3094 (LDFLAGS-tst-chk5): Renamed to ...
3095 (LDLIBS-tst-chk5): This.
3096 (LDFLAGS-tst-chk6): Renamed to ...
3097 (LDLIBS-tst-chk6): This.
3098 (LDFLAGS-tst-lfschk4): Renamed to ...
3099 (LDLIBS-tst-lfschk4): This.
3100 (LDFLAGS-tst-lfschk5): Renamed to ...
3101 (LDLIBS-tst-lfschk5): This.
3102 (LDFLAGS-tst-lfschk6): Renamed to ...
3103 (LDLIBS-tst-lfschk6): This.
3104
691bc9c1
L
3105 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3106 on $(common-objpfx)soversions.mk.
3107
65cafb1c
JM
31082012-09-07 Joseph Myers <joseph@codesourcery.com>
3109
3110 [BZ #10014]
3111 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3112 example host name.
3113
c78ab094
SP
31142012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3115
3116 * malloc/arena.c (arena_get_retry): New function that gets
3117 another arena for the caller to try its request on.
3118 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3119 current arena cannot fulfill the request.
3120 (__libc_memalign): Likewise.
3121 (__libc_memalign): Likewise.
3122 (__libc_pvalloc): Likewise.
3123 (__libc_calloc): Likewise.
3124
01f49f59
JT
31252012-09-05 John Tobey <john.tobey@gmail.com>
3126
3127 [BZ #13542]
3128 * manual/arith.texi (Operations on Complex): Fix description
3129 of carg branch cut.
3130
4c23fed5
JM
31312012-09-06 Joseph Myers <joseph@codesourcery.com>
3132
1d3c8572
JM
3133 [BZ #10014]
3134 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3135 host name.
3136
4c23fed5
JM
3137 [BZ #10038]
3138 * manual/memory.texi (Memory): Make order of menu items match
3139 order of sections.
3140
04570aaa
L
31412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3142
3143 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3144 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3145 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3146
b80af2f4
L
31472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3148
3149 * csu/libc-tls.c (static_dtv): Renamed to ...
3150 (_dl_static_dtv): This. Make it global.
3151 (_dl_initial_dtv): Removed.
3152 (__libc_setup_tls): Updated.
3153 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3154 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3155 DL_INITIAL_DTV.
3156
2abe9f15
PM
31572012-09-06 Petr Machata <pmachata@redhat.com>
3158
3159 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3160 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3161 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3162 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3163
0948c3af
L
31642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3165
3166 [BZ #14545]
3167 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3168 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3169 freeing dtv[-1].
3170
a5055ad1
L
31712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3172
3173 [BZ #14544]
3174 * Makeconfig (link-static-before-libc): Replace $(+prector)
3175 with $(+prectorT).
3176 (link-static-after-libc): Replace $(+postctor) with
3177 $(+postctorT).
3178 (link-bounded): Replace $(+prector)/$(+postctor) with
3179 $(+prectorT)/$(+postctorT).
3180 (+prectorT): New macro.
3181 (+postctorT): Likewise.
3182
ed8c2ecd
JM
31832012-09-06 Joseph Myers <joseph@codesourcery.com>
3184
3185 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3186 (round_str): Handle values above the maximum for IBM long double
3187 as inexact.
3188 * stdlib/tst-strtod-round.c (tests): Regenerated.
3189
14c996c8
AK
31902012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3191
3192 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3193 assembler flag.
3194 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3195 zarch_nohighgprs around the zarch optimized routines.
3196 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3197 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3198 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3199 for zarch.
3200
430d6ce6
DM
32012012-09-05 David S. Miller <davem@davemloft.net>
3202
3203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3204
ff04dda4
DM
3205 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3206 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3207 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3208 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3209 entries.
3210
24d4e01b
AO
32112012-09-05 Alexandre Oliva <aoliva@redhat.com>
3212
3213 * malloc/arena.c: Fold copyright years.
3214 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3215
61d58174
AO
32162012-09-05 Alexandre Oliva <aoliva@redhat.com>
3217
3218 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3219
20196a5e
AO
32202012-09-05 Alexandre Oliva <aoliva@redhat.com>
3221
3222 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3223
5c447383
AO
32242012-09-05 Alexandre Oliva <aoliva@redhat.com>
3225
3226 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3227 change internal state upon failure.
3228
fad64255
AO
32292012-09-05 Alexandre Oliva <aoliva@redhat.com>
3230
3231 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3232 * malloc/memusage.c (mmap): Likewise.
3233 (mmap64, mremap): Likewise. Adjust name in comment.
3234
1ffb8c90
SP
32352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3236
3237 * libio/fileops.c: Fix typos in comments.
3238 * libio/oldfileops.c: Likewise.
3239 * libio/wfileops.c: Likewise.
3240
6ef9cc37
SP
32412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3242
3243 [BZ #1349]
3244 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3245 (tst-malloc-usable-ENV): Set environment for test case.
3246 * malloc/hooks.c (malloc_check_get_size): New function to get
3247 requested size.
3248 * malloc/malloc.c (musable): Use malloc_check_get_size.
3249 * malloc/tst-malloc-usable.c: New test case.
3250
4d038ae3
AS
32512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3252
3253 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3254
c4e85184
AM
32552012-09-05 Allan McRae <allan@archlinux.org>
3256
b9dafc56 3257 [BZ #13966]
c4e85184
AM
3258 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3259 determine header location.
3260 * configure: Regenerated.
3261
e1343020
AS
32622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3263
3264 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3265 float format.
3266 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3267 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3268 format.
e1343020
AS
3269 (test): Regenerate.
3270
0a9f1987
DM
32712012-09-04 David S. Miller <davem@davemloft.net>
3272
3273 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3274 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3275 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3276
29237804
FW
32772012-09-04 Florian Weimer <fweimer@redhat.com>
3278
3279 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3280 failures.
3281
edb3cb88
FW
3282 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3283
60160d83
JM
32842012-09-04 Joseph Myers <joseph@codesourcery.com>
3285
3286 [BZ #9914]
3287 * libio/iogetdelim.c: Include <limits.h>.
3288 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3289 + len + 1 would overflow.
3290
bcd6c8dc
AJ
32912012-09-03 Andreas Jaeger <aj@suse.de>
3292
3293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3294 * sysdeps/i386/fpu/libm-test-ulps: Update.
3295
4ffffbd2
LD
32962012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3297
3298 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3299 Add s_sinf-sse2, s_conf-sse2.
3300
3301 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3302 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3303 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3304 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3305
3306 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3307 for using routine as __sinf_ia32.
3308 Use macro for function declaration and weak_alias.
3309 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3310 for using routine as __cosf_ia32.
3311 Use macro for function declaration and weak_alias.
3312
3313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3314 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3315
3316 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3317 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3319
3320 * math/libm-test.inc (cos_test): Add more test cases.
3321 (sin_test): Likewise.
3322 (sincos_test): Likewise.
3323
511fa286
AK
33242012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3325
3326 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3327 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3328 hidden.
3329 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3330
5f30cfec
L
33312012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3332
3333 [BZ #14538]
3334 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3335 first element of the GOT.
3336 (elf_machine_load_address): Return the difference between
3337 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3338
0786794f
AM
33392012-09-01 Allan McRae <allan@archlinux.org>
3340
5f30cfec
L
3341 [BZ #13412]
3342 * configure.in (AWK): Require gawk version 3.0 or later.
3343 * configure: Regenerated.
0786794f 3344
26889eac
JM
33452012-09-01 Joseph Myers <joseph@codesourcery.com>
3346
3347 * sysdeps/unix/sysv/linux/kernel-features.h
3348 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3350 [__NR_clock_getres]: Make code unconditional.
3351 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3352 (clock_getcpuclockid): Remove code left unreachable by removal of
3353 conditionals.
3354 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3355 code unconditional.
3356 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3358 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3359 Make code unconditional.
3360 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3361 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3362 * sysdeps/unix/sysv/linux/clock_settime.c
3363 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3364 conditional code.
3365 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3366 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3367
d22e28b0
L
33682012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3369
3370 [BZ #14476]
3371 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3372 scripts/test-installation.pl.
3373
3374 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3375 and $ld_so_version if it is set.
3376
050af9c4
SP
33772012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3378
3379 [BZ #14516]
3380 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3381 failure if reading from procfs failed.
3382 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3383
ad845c0b
JM
33842012-08-27 Joseph Myers <joseph@codesourcery.com>
3385
3386 * sysdeps/unix/sysv/linux/kernel-features.h
3387 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3388 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3389 Remove conditional code.
3390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3391 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3392 Remove conditional code.
3393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3394 * sysdeps/unix/sysv/linux/i386/fxstat.c
3395 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3397 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3398 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3400 * sysdeps/unix/sysv/linux/i386/lxstat.c
3401 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3403 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3404 Remove conditional code.
3405 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3406 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3407 Remove conditional code.
3408 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3409 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3410 <kernel-features.h>.
3411 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3412 Remove.
3413 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3414 Remove conditional code.
3415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3416 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3417 Remove conditional.
3418
5dbf56af
MF
34192012-08-27 Mike Frysinger <vapier@gentoo.org>
3420
3421 [BZ #5400]
3422 * NEWS: Add fixed bug number.
3423
d6e70f43
JM
34242012-08-27 Joseph Myers <joseph@codesourcery.com>
3425
7efb4737
JM
3426 [BZ #14519]
3427 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3428 underflowing exponent in case of negative sign.
3429 * stdlib/tst-strtod-round-data: Add more tests.
3430 * stdlib/tst-strtod-round.c (tests): Regenerated.
3431
af92131a
JM
3432 [BZ #3479]
3433 * stdlib/strtod_l.c (NDIG): Remove.
3434 (HEXNDIG): Likewise.
3435 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3436 smallest representable value.
3437 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3438 lie within an exact representation of 1/2 ulp of the result.
3439 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3440 unconditionally.
3441 (TENS_P9_IDX): Define unconditionally.
3442 (TENS_P9_SIZE): Likewise.
3443 (TENS_P10_IDX): Likewise.
3444 (TENS_P10_SIZE): Likewise.
3445 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3446 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3447 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3448 entries for 10^2^13 and 10^2^14.
3449 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3450 (TENS_P13_IDX): Define.
3451 (TENS_P13_SIZE): Likewise.
3452 (TENS_P14_IDX): Likewise.
3453 (TENS_P14_SIZE): Likewise.
3454 (_fpioconst_pow10): Change array size to
3455 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3456 unconditional.
3457 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3458 1024]: Add entries for 10^2^13 and 10^2^14.
3459 [LAST_POW10 > _LAST_POW10]: Remove #error.
3460 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3461 (_fpioconst_pow10): Change array size to
3462 FPIOCONST_POW10_ARRAY_SIZE.
3463 * stdlib/gen-fpioconst.c: New file.
3464 * stdlib/gen-tst-strtod-round.c: Likewise.
3465 * stdlib/tst-strtod-round-data: Likewise.
3466 * stdlib/tst-strtod-round.c: Likewise.
3467 * stdlib/Makefile (tests): Add tst-strtod-round.
3468
d6e70f43
JM
3469 [BZ #14459]
3470 * stdlib/strtod_l.c: Include <stdint.h>.
3471 (NDEBUG): Do not define.
3472 (round_and_return): Change EXPONENT parameter to type intmax_t.
3473 Rearrange calculations to avoid internal overflow possibilities.
3474 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3475 Rearrange calculations to avoid internal overflow possibilities.
3476 Assert that number fits inside MPNSIZE limbs.
3477 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3478 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3479 calculations and add assertions to avoid internal overflow
3480 possibilities. Add casts to avoid signed/unsigned operations.
3481 * stdlib/tst-strtod-overflow.c: New file.
3482 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3483
1f529f7d
MP
34842012-08-25 Marek Polacek <polacek@redhat.com>
3485
3486 * time/time.h: Fix some typos in comments.
3487
59a629f1
RM
34882012-08-23 Roland McGrath <roland@hack.frob.com>
3489
3490 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3491 * posix/tst-rfc3484-2.c: Likewise.
3492 * posix/tst-rfc3484-3.c: Likewise.
3493
d3bafbc9
SM
34942012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3495
3496 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3497 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3498
4efcc022
JM
34992012-08-23 Joseph Myers <joseph@codesourcery.com>
3500
3501 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3502 #include of fxstatat64.c.
3503
3cc3ef96
RM
35042012-08-22 Roland McGrath <roland@hack.frob.com>
3505
f04e2132
RM
3506 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3507 * shadow/getspent_r.c: Likewise.
3508 * shadow/getspnam.c: Likewise.
3509 * shadow/getspnam_r.c: Likewise.
3510 * gshadow/getsgent.c: Likewise.
3511 * gshadow/getsgent_r.c: Likewise.
3512 * gshadow/getsgnam.c: Likewise.
3513 * gshadow/getsgnam_r.c: Likewise.
3514 * inet/getnetbyad.c: Likewise.
3515 * inet/getnetbyad_r.c: Likewise.
3516 * inet/getnetbynm.c: Likewise.
3517 * inet/getnetbynm_r.c: Likewise.
3518 * inet/getnetent.c: Likewise.
3519 * inet/getnetent_r.c: Likewise.
3520 * inet/getproto.c: Likewise.
3521 * inet/getproto_r.c: Likewise.
3522 * inet/getprtent.c: Likewise.
3523 * inet/getprtent_r.c: Likewise.
3524 * inet/getprtname.c: Likewise.
3525 * inet/getprtname_r.c: Likewise.
3526 * inet/getrpcbyname.c: Likewise.
3527 * inet/getrpcbyname_r.c: Likewise.
3528 * inet/getrpcbynumber.c: Likewise.
3529 * inet/getrpcbynumber_r.c: Likewise.
3530 * inet/getrpcent.c: Likewise.
3531 * inet/getrpcent_r.c: Likewise.
3532 * inet/getaliasent.c: Likewise.
3533 * inet/getaliasent_r.c: Likewise.
3534 * inet/getaliasname.c: Likewise.
3535 * inet/getaliasname_r.c: Likewise.
3536 * nscd/getgrgid_r.c: Likewise.
3537 * nscd/getgrnam_r.c: Likewise.
3538 * nscd/gethstbyad_r.c: Likewise.
3539 * nscd/gethstbynm3_r.c: Likewise.
3540 * nscd/getpwnam_r.c: Likewise.
3541 * nscd/getpwuid_r.c: Likewise.
3542 * nscd/getsrvbynm_r.c: Likewise.
3543 * nscd/getsrvbypt_r.c: Likewise.
3544 * nscd/gai.c: Likewise.
3545
c53d909c
RM
3546 * configure.in (build_nscd): New substituted variable, set
3547 by --disable-build-nscd and defaults to $use_nscd.
3548 * configure: Regenerated.
3549 * config.make.in (build-nscd): New substituted variable.
3550 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3551 Change conditional to require [$(build-nscd) = yes] as well.
3552 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3553
3cc3ef96
RM
3554 [BZ# 13696]
3555 * configure.in (use_nscd): New substituted variable, set by
3556 --disable-nscd. If enabled, define USE_NSCD.
3557 * configure: Regenerated.
3558 * config.h.in: Add USE_NSCD.
3559 * config.make.in (use-nscd): New substituted variable.
3560 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3561 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3562 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3563 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3564 (CFLAGS-getgrnam_r.c): Likewise.
3565 (CFLAGS-initgroups.c): Likewise.
3566 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3567 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3568 Variables removed.
3569 * inet/getnetgrent_r.c
3570 (nscd_setnetgrent): New function, broken out of ...
3571 (setnetgrent): ... here. Call it.
3572 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3573 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3574 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3575 * nscd/Makefile (routines, aux): Move definitions after include of
3576 Makeconfig. Conditionalize on [$(use-nscd) != no].
3577 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3578 Conditionalize on [USE_NSCD].
3579 (is_nscd, nscd_init_cb): Likewise.
3580 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3581 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3582 * nss/nss_db/db-init.c: Likewise.
3583 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3584 [USE_NSCD].
3585 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3586 (make_request): Use it.
3587 (cache_valid_p): New function.
3588 (__check_pf): Use it.
3589 * NEWS: Add item for --disable-nscd.
3590
07e51550
DL
35912012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3592
3593 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3594 to support sed >= 4.2.1-20-ga9bf076.
3595 * configure: Regenerated.
3596
35a5b08b
RM
35972012-08-22 Roland McGrath <roland@hack.frob.com>
3598
3599 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3600 Conditionalize whole body on [IREL].
3601
8479f23a
JL
36022012-08-22 Jeff Law <law@redhat.com>
3603
3604 [BZ #14505]
3605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3606 if the family is PF_UNSPEC.
3607
48da0b21
MF
36082012-08-22 Mike Frysinger <vapier@gentoo.org>
3609
3610 * Makerules (lib-version): Rename from V.
3611 (install-lib-nosubdir): Change V to lib-version.
3612
15d0da8c
WS
36132012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3614
3615 [BZ #14252]
3616 * powerpc32/power6/wcschr.c: New file.
3617 * powerpc32/power6/wcscpy.c: New file.
3618 * powerpc32/power6/wcsrchr.c: New file.
3619 * powerpc64/power6/wcschr.c: New file.
3620 * powerpc64/power6/wcscpy.c: New file.
3621 * powerpc64/power6/wcsrchr.c: New file.
3622
bcca0895
MK
36232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3624
3625 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3626 (two_way_short_needle): Use it.
5a4aaa33
RM
3627 * string/strstr.c (AVAILABLE1_USES_J): Define.
3628 * string/strcasestr.c: Likewise.
99677e57
MK
3629
3630 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3631 array references.
3632 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3633
400726de
MK
3634 [BZ #11607]
3635 * NEWS: Add an entry.
3636 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3637 define their defaults.
3638 (two_way_short_needle): Detect end-of-string on-the-fly.
3639 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3640 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3641 * string/bug-strcasestr1.c: New test.
3642 * string/Makefile: Run it.
3643
20a71f2c
MK
36442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3645
3646 [BZ #11607]
3647 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3648 the first character.
3649
21ad0558
RM
36502012-08-21 Roland McGrath <roland@hack.frob.com>
3651
3652 * csu/elf-init.c (__libc_csu_irel): Function removed.
3653 * csu/libc-start.c (apply_irel): New function.
3654 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3655
0e1d9911
JM
36562012-08-21 Joseph Myers <joseph@codesourcery.com>
3657
3658 * sysdeps/unix/sysv/linux/kernel-features.h
3659 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3660 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3661 <kernel-features.h>.
3662 [__NR_fadvise64_64]: Make code unconditional.
3663 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3664 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3665 !__NR_fadvise64_64)]: Likewise.
3666 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3667 !__NR_fadvise64_64))]: Likewise.
3668 [__NR_fadvise64]: Make code unconditional.
3669 [!__NR_fadvise64]: Remove conditional code.
3670 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3671 <kernel-features.h>.
3672 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3673 unconditional.
3674 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3675 conditional code.
3676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3677 not include <kernel-features.h>.
3678 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3679 unconditional.
3680 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3681 conditional code.
3682 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3683 include <kernel-features.h>.
3684 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3685 unconditional.
3686 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3687 conditional code.
3688
14a50c9d
WS
36892012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3690
3691 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3692 slight instruction rearrangements per scrollpipe analysis.
3693 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3694
c0f4faf0
RM
36952012-08-20 Roland McGrath <roland@hack.frob.com>
3696
696da859
RM
3697 * manual/syslog.texi (syslog; vsyslog, closelog):
3698 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3699 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3700
c0f4faf0
RM
3701 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3702 DSOCAPS to match condition on defining it.
3703
348363b2
JM
37042012-08-20 Joseph Myers <joseph@codesourcery.com>
3705
a35cbf28
JM
3706 * sysdeps/unix/sysv/linux/kernel-features.h
3707 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3709 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3710 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3712 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3713 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3715 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3716 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3717
445f7ecd
JM
3718 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3719 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3720
348363b2
JM
3721 * sysdeps/unix/sysv/linux/kernel-features.h
3722 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3723 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3724 unconditional.
3725 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3726 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3727 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3728 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3729 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3730 Make code unconditional.
3731 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3732 (__mmap64) [!__NR_mmap2]: Likewise.
3733 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3734 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3735 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3736 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3737 [__NR_mmap2]: Make code unconditional.
3738 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3739 (__mmap64) [!__NR_mmap2]: Likewise.
3740
bc5bc0e5
AK
37412012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3742
3743 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3744
88d506de
AJ
37452012-08-18 Andreas Jaeger <aj@suse.de>
3746
3747 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3748
493387d2
MF
37492012-08-18 Mike Frysinger <vapier@gentoo.org>
3750
3751 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3752 * include/unistd.h (__have_sock_cloexec): Likewise.
3753 (__have_pipe2): Likewise.
3754 (__have_dup3): Likewise.
3755
a277af22
MF
37562012-08-18 Mike Frysinger <vapier@gentoo.org>
3757
3758 [BZ #9685]
3759 * include/unistd.h (__have_pipe2): Change define into an extern int.
3760 (__have_dup3): Likewise.
3761 * socket/have_sock_cloexec.c: Include fcntl.h.
3762 (__have_pipe2): New variable.
3763 (__have_dup3): Likewise.
3764
fdab8fd3
MF
37652012-08-17 Mike Frysinger <vapier@gentoo.org>
3766
3767 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3768
31035e80
MP
37692012-08-17 Marek Polacek <polacek@redhat.com>
3770
3771 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3772 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3773
3bd9e993
RM
37742012-08-17 Roland McGrath <roland@hack.frob.com>
3775
c91c505f
RM
3776 * configure.in: Add AC_SUBST for sysheaders.
3777 * configure: Regenerated.
3778 * config.make.in (sysheaders): New substituted variable.
3779
7c6f9d53
RM
3780 * sysdeps/unix/mkfifo.c: Moved ...
3781 * sysdeps/posix/mkfifo.c: ... here.
3782 * sysdeps/unix/mkfifoat.c: Moved ...
3783 * sysdeps/posix/mkfifoat.c: ... here.
3784
3785 * sysdeps/unix/utime.c: Moved ...
3786 * sysdeps/posix/utime.c: ... here.
3787
3788 * sysdeps/unix/time.c: Moved ...
3789 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3790 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3791 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3792
3793 * sysdeps/unix/nice.c: Moved ...
3794 * sysdeps/posix/nice.c: ... here.
3795
3796 * sysdeps/unix/alarm.c: Moved ...
3797 * sysdeps/posix/alarm.c: ... here.
3798
3bd9e993
RM
3799 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3800
d1f09384
JL
38012012-08-17 Jeff Law <law@redhat.com>
3802
3803 * intl/Makefile (codeset_mo): New variable.
3804 ($(codeset_mo)): New target.
3805 (tst-codeset.out): Depend on that. Remove explicit rule.
3806 (tst-gettext3.out, tst-gettext5.out): Likewise.
3807 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3808 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3809 * intl/tst-codeset.sh: Remove.
3810 * intl/tst-gettext3.sh: Likewise.
3811 * intl/tst-gettext5.sh: Likewise.
3812
2ae1ae5c
RM
38132012-08-17 Roland McGrath <roland@hack.frob.com>
3814
c31fdb83
RM
3815 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3816 * sysdeps/unix/syscalls.list: ... here.
3817
a0844057
RM
3818 * sysdeps/posix/getaddrinfo.c
3819 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3820 (gaiconf_init, gaiconf_reload): Use them.
3821 [!_STATBUF_ST_NSEC]
3822 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3823 Define using time_t rather than struct timespec.
3824
750c1f2a
RM
3825 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3826 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3827 Macros removed.
3828 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3829 [!NO_THREADS].
3830 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3831 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3832 Likewise.
3833
2ae1ae5c
RM
3834 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3835 __libc_cleanup_push argument.
3836
e66a42f5
RM
3837 * bits/param.h: New file.
3838 * misc/sys/param.h: New file.
3839 * include/sys/param.h: New file.
3840 * misc/Makefile (headers): Add bits/param.h.
3841 * sysdeps/generic/sys/param.h: File removed.
3842 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3843 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3844 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 3845 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 3846
b7c08a66
RM
3847 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3848 last change.
3849
b2e1c562
RM
3850 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3851 [_IO_MTSAFE_IO].
3852 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3853 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3854 New macros.
3855
c75ccd4c
RM
3856 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3857 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3858 rather than -D_IO_MTSAFE_IO conditionally.
3859 * stdio-common/Makefile (CPPFLAGS): Likewise.
3860 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3861 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3862 Use $(libio-mtsafe).
3863 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3864 of -D_IO_MTSAFE_IO.
3865 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3866 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3867 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3868 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3869 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3870 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3871 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3872 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3873 (CFLAGS-fread_u_chk.c): Likewise.
3874 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3875 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3876 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3877 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3878 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3879 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3880 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3881 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3882 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3883
3884 * libio/Makefile: Test [$(libc-reentrant) = yes]
3885 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3886
3887 * Makeconfig
3888 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3889 * sysdeps/pthread/configure: File removed.
3890 * sysdeps/pthread/Makeconfig: New file.
3891 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3892 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3893
d9195db8
GB
38942012-08-16 Gary Benson <gbenson@redhat.com>
3895
3896 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3897 unmapping the first object in a namespace.
3898
86466cd9
RM
38992012-08-16 Roland McGrath <roland@hack.frob.com>
3900
3901 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3902 (__internal_setnetgrent): ... this. Add internal_function to
3903 definition. Add libc_hidden_def.
3904 (setnetgrent): Update caller.
3905 (internal_endnetgrent): Renamed to ...
3906 (__internal_endnetgrent): ... this. Add internal_function to
3907 definition. Add libc_hidden_def.
3908 (endnetgrent): Update caller.
3909 (internal_getnetgrent_r): Renamed to ...
3910 (__internal_getnetgrent_r): ... this. Add internal_function to
3911 definition. Add libc_hidden_def.
3912 (__getnetgrent_r): Update caller.
3913 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3914
c3c8283c
JM
39152012-08-16 Joseph Myers <joseph@codesourcery.com>
3916
3917 * stdlib/longlong.h: Update from GCC.
3918
db1ee0a8
RM
39192012-08-16 Roland McGrath <roland@hack.frob.com>
3920
3921 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3922 on _QL, which is set by umul_ppmm but never used.
3923 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3924 variables, which are set by GMP macros but never used.
3925 * stdio-common/_itowa.c (_itowa): Likewise.
3926 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3927 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3928
30f69637
CD
39292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3930
3931 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3932 struct La_sh_regs is not constant.
3933 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3934 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3935 and struct La_sparc64_regs are not constant.
3936
93a78ac4
JM
39372012-08-16 Joseph Myers <joseph@codesourcery.com>
3938
3939 * sysdeps/unix/sysv/linux/kernel-features.h
3940 (__ASSUME_POSIX_TIMERS): Remove.
3941 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3943 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3944 Make code unconditional.
3945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3946 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3947 Make code unconditional.
3948 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3949 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3950 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3951 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3952 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3953 Make code unconditional.
3954 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3955 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3956 (__libc_missing_posix_timers): Remove.
3957
dd924cd7
RM
39582012-08-15 Roland McGrath <roland@hack.frob.com>
3959
4b4f2771
RM
3960 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3961 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3962
601c888b
RM
3963 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3964
176790a7
RM
3965 * elf/dl-sym.c: Include <stdlib.h>.
3966
329bc018
RM
3967 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3968 constants, which avoids warnings in 32-bit builds.
3969
e04e272d
RM
3970 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3971 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3972
952bf94a
RM
3973 * misc/lseek.c: File moved to ...
3974 * io/lseek.c: ... here.
3975
7c99b50a
RM
3976 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3977
dd924cd7
RM
3978 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3979 shifting LEN more than 31 bits at once.
3980
b3f479a8
LD
39812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3982
3983 [BZ #14195]
8c4ae0d4
RM
3984 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3985 segmentation fault for a case of two empty input strings.
b3f479a8
LD
3986 * string/test-strncasecmp.c (check1): Renamed to...
3987 (bz12205): ...this.
3988 (bz14195): Add new testcase for two empty input strings and N > 0.
3989 (test_main): Call new testcase, adapt for renamed function.
3990
9c55864e
AJ
39912012-08-15 Andreas Jaeger <aj@suse.de>
3992
3993 [BZ #14090]
3994 * crypt/md5test2.c: New test, based on test supplied by Serge
3995 Belyshev <belyshev@depni.sinp.msu.ru>.
3996 * crypt/Makefile (xtests): Add md5test-giant..
3997 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3998
02dcb6c5
PE
39992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4000
4001 [BZ #14090]
4002 * crypt/md5.c (md5_process_block): Don't assume the buffer
4003 length is less than 2**32.
4004 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4005 length is less than 2**64.
4006
a3f95dcc
RM
40072012-08-15 Roland McGrath <roland@hack.frob.com>
4008
be75d758
RM
4009 * string/str-two-way.h: Include <sys/param.h>.
4010 (MAX): Macro removed.
4011
7312ca90
RM
4012 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4013 Move #define and #undef of memmove to just before and after
4014 including <string.h>.
4015
9a0a5486
RM
4016 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4017 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4018 and after including <string.h>. Move declarations of
4019 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4020 to before #include "string/memmove.c".
4021
67cc348d
RM
4022 * include/dirent.h: Declare __getdirentries.
4023
a3f95dcc
RM
4024 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4025 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4026
ca98e171
MF
40272012-08-14 Mike Frysinger <vapier@gentoo.org>
4028
4029 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4030 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4031 * sysdeps/i386/configure: Regenerated.
4032 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4033 STABS_CURRENT_FILE, and STABS_FUN.
4034 (END): Remove call to STABS_FUN_END.
4035 (STABS_CURRENT_FILE1): Delete.
4036 (STABS_CURRENT_FILE): Likewise.
4037 (STABS_FUN): Likewise.
4038 (STABS_FUN_END): Likewise.
4039 (STABS_FUN2): Likewise.
4040 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4041 * sysdeps/x86_64/configure: Regenerated.
4042
5908bf46
RM
40432012-08-14 Roland McGrath <roland@hack.frob.com>
4044
4045 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4046 * elf/dl-lookup.c: Likewise.
5908bf46 4047
f2c05b9e
JM
40482012-08-14 Joseph Myers <joseph@codesourcery.com>
4049
4050 * sysdeps/unix/sysv/linux/kernel-features.h
4051 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4052 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4053 unconditionally.
4054 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4055 unconditionally.
4056 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4057 condition on __ASSUME_CLONE_THREAD_FLAGS.
4058
e11f5155
AJ
40592012-08-14 Andreas Jaeger <aj@suse.de>
4060
4061 * sysdeps/i386/fpu/libm-test-ulps: Update.
4062
51a9ba86
MK
40632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4064
2fdd4f78
AJ
4065 * include/atomic.h (atomic_exchange_and_add): Split into ...
4066 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4067 New atomic macros.
51a9ba86 4068
ba6cba9e
MT
40692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4070
4071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4072
42443a47
JL
40732012-08-13 Jeff Law <law@redhat.com>
4074
4075 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4076 null byte in the output string.
4077
121dce05
JM
40782012-08-10 Joseph Myers <joseph@codesourcery.com>
4079
4080 * sysdeps/unix/sysv/linux/kernel-features.h
4081 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4082 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4083 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4084 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4085 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4086 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4087 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4088
bf51f568
JL
40892012-08-09 Jeff Law <law@redhat.com>
4090
4091 [BZ #13939]
4092 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4093 When avoid_arena is set, don't retry in the that arena. Pick the
4094 next one, whatever it might be.
4095 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4096 (arena_lock): Pass in new parameter to arena_get2.
4097 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4098 arena_get2.
4099 (__libc_malloc): Unify retrying after main arena failure with
4100 __libc_memalign version.
4101 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4102
f85fa270
L
41032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 [BZ #14166]
4106 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4107 to __redirect_strstr.
4108 (__strstr_sse42): Use typeof __redirect_strstr.
4109 (__strstr_ia32): Likewise.
4110 (__libc_strstr): New prototype.
4111 (strstr): Renamed to ...
4112 (__libc_strstr): This.
4113 (strstr): New strong alias of __libc_strstr.
4114 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4115 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4116 __redirect_time.
4117 Include <time.h>.
4118 (__libc_time): New prototype.
4119 (time_ifunc): Replace time with __libc_time.
4120 (time): New strong alias and hidden definition of __libc_time.
4121 (__GI_time): Remove strong alias.
4122 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4123 Include <stddef.h>.
4124 (memmove): Redefined to __redirect_memmove.
4125 (__memmove_sse2): Use typeof __redirect_memmove.
4126 (__memmove_ssse3): Likewise.
4127 (__memmove_ssse3_back): Likewise.
4128 (__libc_memmove): New prototype.
4129 (memmove): Renamed to ...
4130 (__libc_memmove): This.
4131 (memmove): New strong alias of __libc_memmove.
4132
33b4a91e
MS
41332012-08-08 Mark Salter <msalter@redhat.com>
4134
4135 * elf/elf.h
4136 (R_MN10300_TLS_GD): Define.
4137 (R_MN10300_TLS_LD): Likewise.
4138 (R_MN10300_TLS_LDO): Likewise.
4139 (R_MN10300_TLS_GOTIE): Likewise.
4140 (R_MN10300_TLS_IE): Likewise.
4141 (R_MN10300_TLS_LE): Likewise.
4142 (R_MN10300_TLS_DTPMOD): Likewise.
4143 (R_MN10300_TLS_DTPOFF): Likewise.
4144 (R_MN10300_TLS_TPOFF): Likewise.
4145 (R_MN10300_SYM_DIFF): Likewise.
4146 (R_MN10300_ALIGN): Likewise.
4147 (R_MN10300_NUM): Update.
4148
b36137f1
JM
41492012-08-08 Joseph Myers <joseph@codesourcery.com>
4150
4151 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4152 Remove.
4153
cdd915fd
RM
41542012-08-08 Roland McGrath <roland@hack.frob.com>
4155
a2433aac
RM
4156 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4157
cdd915fd
RM
4158 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4159 sysdeps/unix -> sysdeps/posix move.
4160 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4161
bf9b740a
AM
41622012-08-07 Allan McRae <allan@archlinux.org>
4163
4164 [BZ #14303]
4165 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4166 (SUNOS_CPP): Likewise.
4167 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4168 not found.
4169 (open_input): Call CPP using execvp.
4170
93df14ee
JM
41712012-08-07 Joseph Myers <joseph@codesourcery.com>
4172
4173 * sysdeps/unix/sysv/linux/kernel-features.h
4174 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4175 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4176 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4177 (__ASSUME_WAITID_SYSCALL): Likewise.
4178 * sysdeps/unix/sysv/linux/dl-execstack.c
4179 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4180 code unconditional.
4181 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4182 conditional code.
4183 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4184 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4185 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4186 code.
4187 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4188 unconditional.
4189 [__ASSUME_WAITID_SYSCALL]: Likewise.
4190 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4191
d34689de
RM
41922012-08-07 Roland McGrath <roland@hack.frob.com>
4193
a281decc
RM
4194 * sysdeps/unix/closedir.c: Renamed to ...
4195 * sysdeps/posix/closedir.c: ... here.
4196 * sysdeps/unix/dirfd.c: Renamed to ...
4197 * sysdeps/posix/dirfd.c: ... here.
4198 * sysdeps/unix/dirstream.h: Renamed to ...
4199 * sysdeps/posix/dirstream.h: ... here.
4200 * sysdeps/unix/fdopendir.c: Renamed to ...
4201 * sysdeps/posix/fdopendir.c: ... here.
4202 * sysdeps/unix/opendir.c: Renamed to ...
4203 * sysdeps/posix/opendir.c: ... here.
4204 * sysdeps/unix/readdir.c: Renamed to ...
4205 * sysdeps/posix/readdir.c: ... here.
4206 * sysdeps/unix/readdir_r.c: Renamed to ...
4207 * sysdeps/posix/readdir_r.c: ... here.
4208 * sysdeps/unix/rewinddir.c: Renamed to ...
4209 * sysdeps/posix/rewinddir.c: ... here.
4210 * sysdeps/unix/seekdir.c: Renamed to ...
4211 * sysdeps/posix/seekdir.c: ... here.
4212 * sysdeps/unix/telldir.c: Renamed to ...
4213 * sysdeps/posix/telldir.c: ... here.
4214 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4215 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4216 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4217 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4218
22895b47
RM
4219 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4220 * bits/fcntl.h: ... here.
4221
707a53b6
RM
4222 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4223 not 0.
4224 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4225 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4226 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4227 (struct flock): Move l_start, l_len to the beginning.
4228 Use __pid_t for l_pid.
4229 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4230 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4231 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4232 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4233 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4234 [__USE_LARGEFILE64] (struct flock64): New type.
4235 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4236
f0bd3e25
RM
4237 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4238 * bits/dirent.h: ... here.
4239
d34689de
RM
4240 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4241 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4242
6dad2c06
JM
42432012-08-07 Joseph Myers <joseph@codesourcery.com>
4244
4245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4246 Change from 2.6.0 to 2.6.16.
4247 * sysdeps/unix/sysv/linux/configure: Regenerated.
4248 * sysdeps/unix/sysv/linux/kernel-features.h
4249 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4250 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4251 version.
4252 (__ASSUME_UTIMES): Likewise.
4253 (__ASSUME_CLONE_STOPPED): Remove.
4254 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4255 architectures, not kernel version.
4256 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4257 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4258 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4259 (__ASSUME_WAITID_SYSCALL): Likewise.
4260 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4261 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4262 * README: State 2.6.16 as minimum Linux kernel version. Do not
4263 refer to older versions.
4264
03af9520
RM
42652012-08-06 Roland McGrath <roland@hack.frob.com>
4266
8e49df1d
RM
4267 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4268 Define alphasort64 as an alias.
4269 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4270 Define versionsort64 as an alias.
4271 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4272 Define scandir64 as an alias.
4273 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4274 Define scandirat64 as an alias.
4275 * dirent/alphasort64.c (alphasort64):
4276 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4277 * dirent/versionsort64.c: Likewise.
4278 * dirent/scandir64.c: Likewise.
4279 * dirent/scandirat64.c: Likewise.
4280 * sysdeps/wordsize-64/alphasort.c: File removed.
4281 * sysdeps/wordsize-64/alphasort64.c: File removed.
4282 * sysdeps/wordsize-64/scandir.c: File removed.
4283 * sysdeps/wordsize-64/scandir64.c: File removed.
4284 * sysdeps/wordsize-64/scandirat.c: File removed.
4285 * sysdeps/wordsize-64/scandirat64.c: File removed.
4286 * sysdeps/wordsize-64/versionsort.c: File removed.
4287 * sysdeps/wordsize-64/versionsort64.c: File removed.
4288 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4289 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4290 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4291 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4292 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4293 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4294 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4295 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4296
4297 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4299 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4301 [defined __arch64__ || defined __sparcv9]
4302 (__INO_T_MATCHES_INO64_T): New macro.
4303 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4304 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4305 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4306 * sysdeps/unix/sysv/linux/bits/dirent.h
4307 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4308 (_DIRENT_MATCHES_DIRENT64): New macro.
4309
03af9520
RM
4310 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4311 Define lockf64 as an alias.
4312 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4313 Define fseeko64 as an alias.
4314 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4315 Define ftello64 as an alias.
4316 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4317 Define _IO_fgetpos64 and fgetpos64 as aliases.
4318 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4319 Define _IO_fsetpos64 and fsetpos64 as aliases.
4320 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4321 Conditionalize body on this.
4322 * libio/fseeko64.c: Likewise.
4323 * libio/ftello64.c: Likewise.
4324 * libio/iofgetpos64.c: Likewise.
4325 * libio/iofsetpos64.c: Likewise.
4326 * sysdeps/wordsize-64/lockf.c: File removed.
4327 * sysdeps/wordsize-64/lockf64.c: File removed.
4328 * sysdeps/wordsize-64/fseeko.c: File removed.
4329 * sysdeps/wordsize-64/fseeko64.c: File removed.
4330 * sysdeps/wordsize-64/ftello.c: File removed.
4331 * sysdeps/wordsize-64/ftello64.c: File removed.
4332 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4333 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4334 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4335 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4336 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4337 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4338 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4339 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4340 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4341 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4342 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4343 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4344 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4345 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4346
4347 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4349 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4351 [defined __arch64__ || defined __sparcv9]
4352 (__OFF_T_MATCHES_OFF64_T): New macro.
4353 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4354 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4356 (__OFF_T_MATCHES_OFF64_T): New macro.
4357
c5757acd
L
43582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4359
4360 * stdlib/secure-getenv.c (__secure_getenv): Replace
4361 GLIBC_2_16 with GLIBC_2_17.
4362
3a31811e
L
43632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4364
4365 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4366 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4367
faa2bccb
DM
43682012-08-03 David S. Miller <davem@davemloft.net>
4369
4370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4371
85fe1997
JM
43722012-08-03 Joseph Myers <joseph@codesourcery.com>
4373
4374 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4375 Remove.
4376 (__ASSUME_CORRECT_SI_PID): Likewise.
4377 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4378 (__ASSUME_TMPFS_NAME): Likewise.
4379 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4380 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4381 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4382 (HAVE_AUX_SECURE): Make definition unconditional.
4383 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4384 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4385
4f75b7a0
RM
43862012-08-03 Roland McGrath <roland@hack.frob.com>
4387
4388 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4389 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4390 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4391 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4392 __eloop_threshold instead of SYMLOOP_MAX.
4393
4394 * sysdeps/generic/eloop-threshold.h: New file.
4395 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4396 of MAXSYMLINKS.
4397 * elf/chroot_canon.c (chroot_canon): Likewise.
4398
7aab07e4
JM
43992012-08-03 Joseph Myers <joseph@codesourcery.com>
4400
4401 [BZ #13717]
4402 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4403 Change to 2.6.0 everywhere.
4404 * sysdeps/unix/sysv/linux/configure: Regenerated.
4405 * sysdeps/unix/sysv/linux/kernel-features.h
4406 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4407 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4408 kernel versions.
4409 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4410 (__ASSUME_FUTEX_REQUEUE): Remove.
4411 (__ASSUME_STATFS64): Define unconditionally.
4412 (__ASSUME_AT_SECURE): Likewise.
4413 (__ASSUME_CORRECT_SI_PID): Likewise.
4414 (__ASSUME_TGKILL): Define without depending on kernel version for
4415 i386.
4416 (__ASSUME_UTIMES): Likewise.
4417 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4418 kernel version.
4419 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4420 (__ASSUME_TMPFS_NAME): Likewise.
4421 * README: Update reference to Linux kernel versions.
4422
b67e9372
MP
44232012-08-02 Marek Polacek <polacek@redhat.com>
4424
1f529f7d 4425 [BZ# 14150]
b67e9372
MP
4426 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4427 libc_cv_asm_type_prefix with %.
4428 * configure: Regenerated.
d2441631
RM
4429 * include/libc-symbols.h: Remove comment about
4430 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4431 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4432 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4433 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4434 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4435 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4436 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4437 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4438 * elf/tst-unique2mod1.c: Likewise.
4439 * elf/tst-unique1mod2.c: Likewise.
4440 * elf/tst-unique1mod1.c: Likewise.
4441 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4442 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4443 Replace ASM_TYPE_DIRECTIVE with .type.
4444 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4445 * sysdeps/i386/sysdep.h: Likewise.
4446 * sysdeps/x86_64/sysdep.h: Likewise.
4447 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4449 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4450 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4451 * sysdeps/powerpc/powerpc32/sysdep.h:
4452 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4453 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4454 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4455 * sysdeps/i386/fpu/e_powf.S: Likewise.
4456 * sysdeps/i386/fpu/e_expl.S: Likewise.
4457 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4458 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4459 * sysdeps/i386/fpu/e_pow.S: Likewise.
4460 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4461 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4462 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4463 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4464 * sysdeps/i386/fpu/e_log2.S: Likewise.
4465 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4466 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4467 * sysdeps/i386/fpu/e_powl.S: Likewise.
4468 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4469 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4470 * sysdeps/i386/fpu/e_logl.S: Likewise.
4471 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4472 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4473 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4474 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4475 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4476 * sysdeps/i386/fpu/e_log.S: Likewise.
4477 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4478 * sysdeps/i386/fpu/e_logf.S: Likewise.
4479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4481 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4482 * sysdeps/i386/fpu/e_log10.S: Likewise.
4483 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4484 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4485 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4486 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4487 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4488 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4489 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4490 * sysdeps/i386/i686/strtok.S: Likewise.
4491 * sysdeps/i386/i386-mcount.S: Likewise.
4492 * sysdeps/i386/strtok.S: Likewise.
4493 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4494 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4495 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4496 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4497 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4498 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4499 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4500 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4501 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4502 * sysdeps/x86_64/_mcount.S: Likewise.
4503 * sysdeps/x86_64/strtok.S: Likewise.
4504 * sysdeps/sh/_mcount.S: Likewise.
4505
2747bf9a
RM
45062012-08-01 Roland McGrath <roland@hack.frob.com>
4507
4508 * libio/iofopen.c: Include <fcntl.h>.
4509 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4510 (_IO_fopen64, fopen64): Define as aliases.
4511 * libio/iofopen64.c: Include <fcntl.h>.
4512 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4513 Conditionalize body on this.
4514 * sysdeps/wordsize-64/iofopen.c: File removed.
4515 * sysdeps/wordsize-64/iofopen64.c: File removed.
4516
3fb791b8
MP
45172012-08-01 Marek Polacek <polacek@redhat.com>
4518
4519 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4520 Use dlfcn directly instead of a variable.
4521 (binfmt-subdir): Do not define.
4522 (dlfcn): Likewise.
4523
a9f1039f
JM
45242012-08-01 Joseph Myers <joseph@codesourcery.com>
4525
23bddc06
JM
4526 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4527 Remove all definitions.
4528 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4529 <kernel-features.h>.
4530 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4531 (miss_F_GETOWN_EX): Remove all definitions.
4532 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4533 macro definition.
4534 [!__ASSUME_FCNTL64]: Remove conditional code.
4535 [__ASSUME_FCNTL64]: Make code unconditional.
4536 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4537 <kernel-features.h>.
4538 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4539 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4540 (lockf64) [__NR_fcntl64]: Make code unconditional.
4541 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4542
a9f1039f
JM
4543 * sysdeps/unix/sysv/linux/kernel-features.h
4544 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4545 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4546 Make code unconditional.
4547 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4548 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4550 [__NR_vfork]: Make code unconditional.
4551 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4552 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4554 [__NR_vfork]: Make code unconditional.
4555 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4556 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4557
09c0ee5f
RM
45582012-08-01 Roland McGrath <roland@hack.frob.com>
4559
48aec5b9
RM
4560 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4561 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4562
cd97c966
RM
4563 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4564 Define mkstemp64 as an alias.
3f55550c
RM
4565 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4566 Define mkstemps64 as an alias.
cd97c966
RM
4567 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4568 Define mkostemp64 as an alias.
b8625cfc
RM
4569 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4570 Define mkostemps64 as an alias.
cd97c966
RM
4571 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4572 Conditionalize body on this.
4573 * misc/mkostemp64.c: Likewise.
b8625cfc 4574 * misc/mkostemps64.c: Likewise.
3f55550c 4575 * misc/mkstemps64.c: Likewise.
cd97c966
RM
4576 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4577 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4578 * sysdeps/wordsize-64/mkostemp.c: File removed.
4579 * sysdeps/wordsize-64/mkstemp.c: File removed.
4580 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4581 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4582 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4583 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4584
09c0ee5f
RM
4585 [BZ #14138]
4586 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4587 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4588 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4589 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4590
4591 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4592 compat_symbol macros from <shlib-compat.h> rather than the underlying
4593 default_symbol_version and symbol_version macros, so that DEFAULT
4594 lines in shlib-versions are respected.
4595 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4596
7e66ee51
FW
45972012-08-01 Florian Weimer <fweimer@redhat.com>
4598
4599 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4600 Declare with warn_unused_result.
4601 (setgid, setregid, setegid, setresgid): Likewise.
4602 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4603 Likewise.
4604 * WUR-REPORT: Remove set*id functions.
4605
d2a54255
PT
46062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4607
4608 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4609
7ecdb005
RM
46102012-07-31 Roland McGrath <roland@hack.frob.com>
4611
789bd351
RM
4612 * include/sys/socket.h (__libc_accept, __libc_accept4):
4613 Add attribute_hidden.
4614 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4615
40ce302d
RM
4616 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4617 use of PTR_MANGLE.
4618 * inet/getnetgrent_r.c (setup): Likewise.
4619
7ecdb005
RM
4620 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4621
e2eabb2c
DM
46222012-07-31 David S. Miller <davem@davemloft.net>
4623
4624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4625
d0419dbf
JM
46262012-07-31 Joseph Myers <joseph@codesourcery.com>
4627
4628 [BZ #13629]
4629 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4630 value between 1.0 and 2.0 and smaller part has absolute value less
4631 than 1.0.
4632 * math/s_clog10.c (__clog10): Likewise.
4633 * math/s_clog10f.c (__clog10f): Likewise.
4634 * math/s_clog10l.c (__clog10l): Likewise.
4635 * math/s_clogf.c (__clogf): Likewise.
4636 * math/s_clogl.c (__clogl): Likewise.
4637 * math/libm-test.inc (clog_test): Add more tests.
4638 (clog10_test): Likewise.
4639 * sysdeps/i386/fpu/libm-test-ulps: Update.
4640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4641
2bc13872
FW
46422012-07-31 Florian Weimer <fweimer@redhat.com>
4643
4644 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4645 Exit with zero in case no suitable GID is found, and write a
4646 message to standard error.
4647
bea9b193
RM
46482012-07-30 Roland McGrath <roland@hack.frob.com>
4649
4650 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4651 rather than to 1.
4652 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4653 (MAXPATHLEN): Removed.
4654 (NOGROUP, NODEV): New macros.
4655 (setbit, clrbit, isset, isclr): New macros.
4656 (howmany, roundup, powerof2): New macros.
4657 (DEV_BSIZE): New macro.
4658
4659 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4660 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4661
4662 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4663 definition on [!__NO_LONG_DOUBLE_MATH].
4664
4665 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4666 PTR_MANGLE and PTR_DEMANGLE.
4667
4668 * socket/accept4.c (accept4): Rename to __libc_accept4.
4669 Define accept4 as a weak alias.
4670
4671 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4672 on [_DIRENT_HAVE_D_TYPE].
4673 * io/ftw.c (ftw_dir): Likewise.
4674
4675 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4676
4677 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4678
4679 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4680 Use the BSD numbers rather than the arbitrary ones we had.
4681 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4682 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4683 (SIGXCPU, SIGXFSZ): New macros.
4684 (_NSIG): Now 32.
4685
4686 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4687 initializer on [_LIBC_REENTRANT].
4688
4689 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4690 definitions inside [_POSIX_MAPPED_FILES].
4691
4692 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4693
4694 * dirent/opendir.c: Include <fcntl.h>.
4695
4696 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4697 (__libc_getspecific): Likewise.
4698 (__libc_key_create): Likewise.
4699
4700 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4701 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4702 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4703 (tmpfile64): Define as alias.
4704 * sysdeps/wordsize-64/tmpfile.c: File removed.
4705 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4708
4709 * stdio-common/vfscanf.c: Include <stdbool.h>.
4710 * nss/makedb.c: Likewise.
4711 * stdio-common/_i18n_number.h: Likewise.
4712 * argp/argp-help.c: Likewise.
4713 * posix/wordexp.c: Likewise.
4714 * sysdeps/posix/spawni.c: Likewise.
4715 * nss/nss_files/files-initgroups.c: Likewise.
4716 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4717 * nss/nss_files/files-initgroups.c: Likewise.
4718 * nss/nss_db/db-netgrp.c: Likewise.
4719 * nss/nss_db/db-initgroups.c: Likewise.
4720 * io/fchmodat.c: Include <sys/stat.h>.
4721
4722 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4723 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4724
4725 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4726 [HAVE_MMAP].
4727
4728 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4729 Add multiple inclusion protection.
4730
e5abc686
DM
47312012-07-27 David S. Miller <davem@davemloft.net>
4732
4733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4734
815e6fa3
GB
47352012-07-27 Gary Benson <gbenson@redhat.com>
4736
4737 [BZ #14298]
4738 * elf/rtld.c: Include <stap-probe.h>.
4739 (dl_main): Added static probes "init_start" and "init_complete".
4740 * elf/dl-load.c: Include <stap-probe.h>.
4741 (lose): Take new parameter "nsid".
4742 Added static probe "map_failed".
4743 (_dl_map_object_from_fd): Pass namespace id to lose.
4744 Added static probe "map_start".
4745 (open_verify): Pass namespace id to lose.
4746 * elf/dl-open.c: Include <stap-probe.h>.
4747 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4748 and "reloc_complete".
4749 * elf/dl-close.c: Include <stap-probe.h>.
4750 (_dl_close_worker): Added static probes "unmap_start" and
4751 "unmap_complete".
4752 * elf/rtld-debugger-interface.txt: New file documenting the above.
4753
9f98c16c
RM
47542012-07-26 Roland McGrath <roland@hack.frob.com>
4755
4756 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4757 rather than a string variable.
4758 * sunrpc/rpc_main.c (h_output): Likewise.
4759 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4760
f3c22df3
PT
47612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4762
4763 * inet/check_native.c: New file.
4764
3129cfc6
JM
47652012-07-26 Joseph Myers <joseph@codesourcery.com>
4766
da865e95
JM
4767 [BZ #13629]
4768 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4769 if larger part has absolute value 1.0.
4770 * math/s_clog10.c (__clog10): Likewise.
4771 * math/s_clog10f.c (__clog10f): Likewise.
4772 * math/s_clog10l.c (__clog10l): Likewise.
4773 * math/s_clogf.c (__clogf): Likewise.
4774 * math/s_clogl.c (__clogl): Likewise.
4775 * math/libm-test.inc (clog_test): Add more tests.
4776 (clog10_test): Likewise.
4777 * sysdeps/i386/fpu/libm-test-ulps: Update.
4778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4779
3129cfc6
JM
4780 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4781 (pltexit): Likewise.
4782 (La_regs): Likewise.
4783 (La_retval): Likewise.
4784 (int_retval): Likewise.
4785 Update #error for removed macros to refer only to definitions in
4786 tst-audit.h.
4787 * elf/tst-auditmod3b.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-auditmod4b.c (pltenter): Remove all definitions of
4794 macro.
4795 (pltexit): Likewise.
4796 (La_regs): Likewise.
4797 (La_retval): Likewise.
4798 (int_retval): Likewise.
4799 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4800 macro.
4801 (pltexit): Likewise.
4802 (La_regs): Likewise.
4803 (La_retval): Likewise.
4804 (int_retval): Likewise.
4805 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4806 macro.
4807 (pltexit): Likewise.
4808 (La_regs): Likewise.
4809 (La_retval): Likewise.
4810 (int_retval): Likewise.
4811 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4812 macro.
4813 (pltexit): Likewise.
4814 (La_regs): Likewise.
4815 (La_retval): Likewise.
4816 (int_retval): Likewise.
4817 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4818 macro.
4819 (pltexit): Likewise.
4820 (La_regs): Likewise.
4821 (La_retval): Likewise.
4822 (int_retval): Likewise.
4823 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4824 macro definitions in tst-audit.h.
4825 * sysdeps/i386/tst-audit.h: New file.
4826 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4827 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4828 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4829 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4830 * sysdeps/sh/tst-audit.h: Likewise.
4831 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4832 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4833 * sysdeps/x86_64/tst-audit.h: Likewise.
4834
bfc07087
AJ
48352012-07-26 Andreas Jaeger <aj@suse.de>
4836
b1b2aaf8
AJ
4837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4838 ptrace.
4839
4840 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4841 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4842 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4843 PTRACE_O_MASK.
4844 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4845 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4846 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4847
bfc07087
AJ
4848 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4849 value.
4850
4851 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4852 _sigsys.
4853 (si_call_addr, si_syscall, si_arch): Define new macro.
4854 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4855 _sigsys.
4856 (si_call_addr, si_syscall, si_arch): Define new marcro.
4857 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4858 _sigsys.
4859 (si_call_addr, si_syscall, si_arch): Define new macro.
4860 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4861 _sigsys.
4862 (si_call_addr, si_syscall, si_arch): Define new macro.
4863
89b4b02f
JM
48642012-07-25 Joseph Myers <joseph@codesourcery.com>
4865
4866 [BZ #13717]
4867 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4868 Change to 2.4.21 where previously 2.4.1.
4869 * sysdeps/unix/sysv/linux/configure: Regenerated.
4870 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4871 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4872 Linux kernel version.
4873 (__ASSUME_STD_AUXV): Remove.
4874 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4875 kernel version.
4876 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4877 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4878 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4879 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4880 (__ASSUME_NETLINK_SUPPORT): Likewise.
4881 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4882 (__no_netlink_support): Remove conditional definition.
4883 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4884 Remove.
4885 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4886 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4887 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4888 (if_nameindex_ioctl): Remove.
4889 (if_nameindex_netlink): Do not handle __no_netlink_support.
4890 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4891 code.
4892 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4893 Remove conditional code.
4894 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4895 code.
4896 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4897 unconditional.
4898 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4899 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4900 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4901 Remove.
4902 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4903 [!__ASSUME_STD_AUXV]: Remove conditional code.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4905 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4906 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4908 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4909 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4910 code.
4911 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4913 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4914 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4915 conditional code.
4916 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4918 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4919 code.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4921 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4922 conditional code.
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4924 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4925 code unconditional.
4926 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4927 conditional code.
4928 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4929 unconditional.
4930 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4931 conditional code.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4933 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4934 unconditional.
4935 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4936 conditional code.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4938 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4939 code unconditional.
4940 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4941 conditional code.
4942 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4943 unconditional.
4944 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4945 conditional code.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4947 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4948 code unconditional.
4949 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4950 conditional code.
4951 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4952 unconditional.
4953 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4954 conditional code.
4955
842a39cd
AS
49562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4957
4958 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4959 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4960 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4961 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4962 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4963 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4964 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4965 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4966 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4967 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4968 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4969 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4970 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4971 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4973 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4974 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4976 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4978 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4979 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4980 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4981
84b3fd84
FW
49822012-07-25 Florian Weimer <fweimer@redhat.com>
4983
4984 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
4985 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4986 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4987 Introduce __libc_secure_getenv.
0c7936d5
FW
4988 * stdlib/Versions (2.17): Add secure_getenv
4989 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4990 * stdlib/secure-getenv.c: Rename __secure_getenv to
4991 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4992 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
4993 * stdlib/tst-secure-getenv.c: New.
4994 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
4995 * manual/startup.texi (Environment Access): Document
4996 secure_getenv.
84b3fd84
FW
4997 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4998 __libc_secure_getenv.
4999 * inet/ruserpass.c (ruserpass): Likewise.
5000 * malloc/mtrace.c (mtrace): Likewise.
5001 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5002 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5003 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5004 * sysdeps/posix/tempname.c: Likewise. Evaluate
5005 HAVE_SECURE_GETENV.
5006 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5007 __secure_getenv to __libc_secure_getenv.
84b3fd84 5008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5010 Likewise.
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5012 Likewise.
5013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5015 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5020
56e49b71
JM
50212012-07-25 Joseph Myers <joseph@codesourcery.com>
5022
5023 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5024 (struct La_i86_retval): Likewise.
5025 (struct La_x86_64_regs): Likewise.
5026 (struct La_x86_64_retval): Likewise.
5027 (struct La_x32_regs): Likewise.
5028 (struct La_x32_retval): Likewise.
5029 (struct La_ppc32_regs): Likewise.
5030 (struct La_ppc32_retval): Likewise.
5031 (struct La_ppc64_regs): Likewise.
5032 (struct La_ppc64_retval): Likewise.
5033 (struct La_sh_regs): Likewise.
5034 (struct La_sh_retval): Likewise.
5035 (struct La_s390_32_regs): Likewise.
5036 (struct La_s390_32_retval): Likewise.
5037 (struct La_s390_64_regs): Likewise.
5038 (struct La_s390_64_retval): Likewise.
5039 (struct La_sparc32_regs): Likewise.
5040 (struct La_sparc32_retval): Likewise.
5041 (struct La_sparc64_regs): Likewise.
5042 (struct La_sparc64_retval): Likewise.
5043 (struct audit_ifaces): Remove architecture-specific pltenter and
5044 pltexit members.
5045 * sysdeps/i386/ldsodefs.h: New file.
5046 * sysdeps/powerpc/ldsodefs.h: Likewise.
5047 * sysdeps/s390/ldsodefs.h: Likewise.
5048 * sysdeps/sh/ldsodefs.h: Likewise.
5049 * sysdeps/sparc/ldsodefs.h: Likewise.
5050 * sysdeps/x86_64/ldsodefs.h: Likewise.
5051
354691b7
MP
50522012-07-25 Marek Polacek <polacek@redhat.com>
5053
5054 [BZ #6808]
5055 * math/libm-test.inc (yn_test): Add another test.
5056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5057 to ERANGE when the result is +-Inf.
5058 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5059 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5060 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5061 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5062
bf9e2071
JM
50632012-07-24 Joseph Myers <joseph@codesourcery.com>
5064
5065 * conform/data/time.h-data (NULL): Use macro-constant. Require
5066 equal to 0.
5067 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5068 clock_t.
5069 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5070
57633811
TS
50712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5072
5073 * configure.in <sysdeps resolving>: Correct printing
5074 Implies_before.
5075 * configure: Regenerate.
5076
c23c33b0
TS
50772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5078
5079 * math/w_ilogb.c: Include <limits.h>.
5080 * math/w_ilogbl.c: Likewise.
5081
b5982523
JM
50822012-07-20 Joseph Myers <joseph@codesourcery.com>
5083
5084 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5085 va_copy. Document allowing for unavailable va_copy only as
5086 pre-C99 compatibility.
5087 * manual/string.texi (Copying and Concatenation): Use va_copy
5088 instead of __va_copy in concat example.
5089
ac4ea442
PT
50902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5091
5092 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5093 (__sendto): Use create_address_port. Initialize APORT and deallocate
5094 it if not null.
5095
f98eafbd
PT
5096 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5097 with O_NOLINK passed to __file_name_lookup.
5098
898c7aab
PT
5099 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5100 with O_NOLINK passed to __file_name_lookup.
5101
0ced335a
PT
5102 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5103 negative N or less than NGIDS.
5104
b3404dbd
PT
5105 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5106 type to string_t. Set ERANGE as errno and return it if NAME is not big
5107 enough. Use memcpy instead of strncpy.
5108
0f48659e
JM
51092012-07-20 Joseph Myers <joseph@codesourcery.com>
5110
5111 * elf/Makefile (check-data): Remove.
5112 (localplt.data): New vpath directive.
5113 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5114 instead of $(check-data).
5115 * scripts/data/localplt-generic.data: Move to ...
5116 * sysdeps/generic/localplt.data: ... here.
5117 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5118 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5119 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5121 ... here.
5122 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5124 ... here.
5125 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5127 ... here.
5128 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5130 ... here.
5131 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5133 ... here.
5134 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5136 ... here.
5137
d37cbdaa
AZ
51382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5139
5140 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5141 PPC32 and PPC64 files.
5142 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5143 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5144
46f85fc2
AK
51452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5146
5147 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5148 __makecontext_ret to ...
5149 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5150 ... here and call exit if uc_link is NULL. New file.
5151 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5152 __makecontext_ret.S.
5153 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5154 __makecontext_ret to ...
5155 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5156 ... here and call exit if uc_link is NULL. New file.
5157 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5158 __makecontext_ret.S.
5159
08f43f9b
AK
51602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5161
5162 * elf/elf.h (R_390_IRELATIVE): New definition.
5163 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5164 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5165 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5166 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5167 (elf_machine_lazy_rel): Likewise.
5168 * sysdeps/s390/dl-irel.h: New file.
5169 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5170 * sysdeps/s390/s390-64/memset.S: New asm code.
5171 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5172 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5173 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5174 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5175 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5176 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5177 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5178 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5179 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5180 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5181 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5182 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5183 * sysdeps/s390/s390-32/memset.S: New asm code.
5184 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5185
3b05db33
MP
51862012-07-17 Marek Polacek <polacek@redhat.com>
5187
5188 [BZ #14349]
5189 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5190 * sysdeps/s390/s390-64/configure.in: Likewise.
5191 * sysdeps/sparc/configure.in: Likewise.
5192 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5193 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5194 * sysdeps/i386/configure.in: Likewise.
5195 * sysdeps/x86_64/configure.in: Likewise.
5196 * sysdeps/sh/configure.in: Likewise.
5197 * sysdeps/s390/s390-32/configure: Regenerated.
5198 * sysdeps/s390/s390-64/configure: Likewise.
5199 * sysdeps/x86_64/configure: Likewise.
5200 * sysdeps/sh/configure: Likewise.
5201 * sysdeps/powerpc/powerpc64/configure: Likewise.
5202 * sysdeps/powerpc/powerpc32/configure: Likewise.
5203 * sysdeps/sparc/configure: Likwise.
5204 * sysdeps/i386/configure: Likewise.
5205
a66877c6
MP
5206 * elf/dl-open.c: Comment fixes.
5207
cfc82fd8
JM
52082012-07-17 Joseph Myers <joseph@codesourcery.com>
5209
bd29910a
JM
5210 * Makefile [CXX] (check-data): Remove.
5211 [CXX] (c++-types.data): New vpath directive.
5212 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5213 vpath. Do not allow for C++ type data being missing.
5214 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5215 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5216 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5217 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5218 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5219 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5220 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5222 ... here.
5223 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5225 ... here.
5226 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5228 ... here.
5229 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5231 ... here.
5232 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5234 ... here.
5235 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5237 ... here.
5238 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5240 ... here.
5241 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5243
cfc82fd8
JM
5244 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5245 definitions to architecture-specific files.
5246 (TLS_IE): Likewise.
5247 (TLS_LD): Likewise.
5248 (TLS_GD): Likewise.
5249 * sysdeps/i386/tls-macros.h: New file.
5250 * sysdeps/powerpc/tls-macros.h: Likewise.
5251 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5252 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5253 * sysdeps/sh/tls-macros.h: Likewise.
5254 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5255 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5256 * sysdeps/x86_64/tls-macros.h: Likewise.
5257
f7db3170
TS
52582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5259
07cbfc23
TS
5260 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5261 zero value for regular exit case.
5262
f7db3170
TS
5263 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5264 (__start_context): Preserve zero value for regular exit case.
5265
dc97c227
TS
52662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5267 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5268
5269 * manual/setjmp.texi (setcontext): Clarify normal process
5270 termination when uc_link is the null pointer.
5271 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5272 exit call.
5273
d0cd7d02
AS
52742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5275
5276 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5277 preprocessor. Test for each exception mask separately.
5278
dd318934
AJ
52792012-07-16 Andreas Jaeger <aj@suse.de>
5280
5281 * po/ru.po: Update from translation team.
5282
8048311a
JM
52832012-07-15 Joseph Myers <joseph@codesourcery.com>
5284
5285 * conform/data/string.h-data (NULL): Use macro-constant. Require
5286 equal to 0.
5287 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5288 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5289 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5290 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5292
b637d46e
AJ
52932012-07-13 Andreas Jaeger <aj@suse.de>
5294
5295 * po/fr.po: Update from translation team.
5296
541428fe
MP
52972012-07-12 Marek Polacek <polacek@redhat.com>
5298
5299 [BZ #14173]
5300 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5301 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5302 loop condition.
5303
ec332e94
JM
53042012-07-12 Joseph Myers <joseph@codesourcery.com>
5305
5306 [BZ #13717]
5307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5308 Change to 2.4.1 where previously 2.4.0.
5309 * sysdeps/unix/sysv/linux/configure: Regenerated.
5310 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5311 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5312 version.
5313 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5314 (__ASSUME_AT_CLKTCK): Remove.
5315 (__ASSUME_AT_PAGESIZE): Likewise.
5316 (__ASSUME_AT_XID): Likewise.
5317 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5318 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5319 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5320 unconditionally.
5321 (HAVE_AUX_PAGESIZE): Likewise.
5322 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5323 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5324 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5325
7b6e99be
JB
53262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5327
5328 [BZ #14307]
5329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5330 the temporary buffer used to invoke __gethostbyname2_r,
5331 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5332 host_data / struct gaih_addrtuple.
5333 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5334 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5335 header file nss/nsswitch.h.
5336 * nss/nsswitch.h (global scope): Add definition of implementation
5337 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5338 resolv/nss_dns/dns-host.c).
5339
608404eb
AJ
53402012-07-11 Andreas Jaeger <aj@suse.de>
5341
5342 * po/fr.po: Update from translation team.
5343
71220aca
AJ
5344 * po/sv.po: Update from translation team
5345 * po/fr.po: Another update from translation team.
5346
28cfe843
AZ
53472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5348
5349 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5350 for subnormals or multiply small sinh result by itself.
5351 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5353
6b90f981
DM
53542012-07-11 David S. Miller <davem@davemloft.net>
5355
5356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5357
c6825772
AS
53582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5359
5360 [BZ #14347]
5361 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5362 (INTERNAL_MARK): Shift it here.
5363
7b8e0d49
MP
53642012-07-10 Marek Polacek <polacek@redhat.com>
5365
5366 [BZ #14151]
5367 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5368 libc_cv_asm_global_directive with .globl.
5369 * configure: Regenerated.
5370 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5371 with .globl.
5372 * sysdeps/i386/configure: Regenerated.
5373 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5374 with .globl.
5375 * sysdeps/x86_64/configure: Regenerated.
5376 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5377 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5378 * elf/tst-unique2mod2.c: Likewise.
5379 * elf/tst-unique2mod1.c: Likewise.
5380 * elf/tst-unique1mod2.c: Likewise.
5381 * elf/tst-unique1mod1.c: Likewise.
5382 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5383 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5384 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5385 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5386 * sysdeps/mach/sysdep.h: Likewise.
5387 * sysdeps/i386/sysdep.h: Likewise.
5388 * sysdeps/i386/i386-mcount.S: Likewise.
5389 * sysdeps/x86_64/_mcount.S: Likewise.
5390 * sysdeps/x86_64/sysdep.h: Likewise.
5391 * sysdeps/sh/_mcount.S: Likewise.
5392 * sysdeps/sh/sysdep.h: Likewise.
5393 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5394 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5395 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5396 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5397 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5398 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5399 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5400 * locale/localeinfo.h: Likewise.
5401 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5402 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5403
6c55cda3
RM
54042012-07-09 Roland McGrath <roland@hack.frob.com>
5405
5406 [BZ #14336]
5407 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5408 system".
5409 * manual/message.texi (The Uniforum approach): Likewise.
5410 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5411 (glibc iconv Implementation): Likewise.
5412
638a572e
JM
54132012-07-09 Joseph Myers <joseph@codesourcery.com>
5414
5415 [BZ #14337]
5416 * math/s_clog.c (__clog): Avoid scaling a value down where that
5417 could result in underflow.
5418 * math/s_clog10.c (__clog10): Likewise.
5419 * math/s_clog10f.c (__clog10f): Likewise.
5420 * math/s_clog10l.c (__clog10l): Likewise.
5421 * math/s_clogf.c (__clogf): Likewise.
5422 * math/s_clogl.c (__clogl): Likewise.
5423 * math/libm-test.inc (clog_test): Add more tests.
5424 (clog10_test): Likewise.
5425 * sysdeps/i386/fpu/libm-test-ulps: Update.
5426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5427
261f4859
AS
54282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5429
0abaf3e4
AS
5430 [BZ #14283]
5431 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5432 by 7 not 8 to examine high bit of fractional part.
5433
261f4859
AS
5434 [BZ #14042]
5435 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5436 for call to __mcount_internal.
5437 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5438 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5439 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5440
f17ac40d
JM
54412012-07-06 Joseph Myers <joseph@codesourcery.com>
5442
9ad63c23
JM
5443 [BZ #14154]
5444 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5445 approximation for values within 0x1p-13f of an odd multiple of
5446 pi/4.
5447 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5448 exception. Add more tests.
5449 * sysdeps/i386/fpu/libm-test-ulps: Update.
5450
f17ac40d
JM
5451 [BZ #6778]
5452 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5453 inputs and return -1 for them. Do not check for +Inf in case not
5454 reachable for +Inf.
5455 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5456 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5457 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5458 and return -1 for them. Do not check for +Inf in case not
5459 reachable for +Inf.
5460 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5461 define.
5462 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5463 and return -1 for them. Do not check for +Inf in case not
5464 reachable for +Inf.
5465 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5466 spurious underflow.
5467 * sysdeps/i386/fpu/libm-test-ulps: Update.
5468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5469
fb21f89b
MF
54702012-07-06 Mike Frysinger <vapier@gentoo.org>
5471
5472 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5473
cdfe2c5e
JM
54742012-07-05 Joseph Myers <joseph@codesourcery.com>
5475
5476 [BZ #14157]
5477 [BZ #14331]
5478 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5479 could result in spurious underflow. Scale down values above
5480 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5481 * math/s_csqrtf.c (__csqrtf): Likewise.
5482 * math/s_csqrtl.c (__csqrtl): Likewise.
5483 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5484 spurious underflow.
5485 * sysdeps/i386/fpu/libm-test-ulps: Update.
5486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5487
70d35b67
AS
54882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5489
704bc459
AS
5490 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5491 xopen-msg.sed.
5492 * catgets/xopen-msg.awk: New file.
5493 * catgets/xopen-msg.sed: Removed.
5494
70d35b67
AS
5495 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5496 po2text.sed.
5497 * intl/po2test.awk: New file.
5498 * intl/po2test.sed: Removed.
5499
ca61cf32
JM
55002012-07-04 Joseph Myers <joseph@codesourcery.com>
5501
5502 [BZ #14328]
5503 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5504 or multiply small sinh result by itself.
5505 * math/s_ctanf.c (__ctanf): Likewise.
5506 * math/s_ctanh.c (__ctanh): Likewise.
5507 * math/s_ctanhf.c (__ctanhf): Likewise.
5508 * math/s_ctanhl.c (__ctanhl): Likewise.
5509 * math/s_ctanl.c (__ctanl): Likewise.
5510 * math/libm-test.inc (ctan_test_tonearest): New function.
5511 (ctan_test_towardzero): Likewise.
5512 (ctan_test_downward): Likewise.
5513 (ctan_test_upward): Likewise.
5514 (ctanh_test_tonearest): Likewise.
5515 (ctanh_test_towardzero): Likewise.
5516 (ctanh_test_downward): Likewise.
5517 (ctanh_test_upward): Likewise.
5518 (main): Call these new functions.
5519 * sysdeps/i386/fpu/libm-test-ulps: Update.
5520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5521
ca48a46a
MF
55222012-07-03 Mike Frysinger <vapier@gentoo.org>
5523
5524 * .gitignore: Delete /ports entry.
5525
9d63d37d
AJ
55262012-07-03 Andreas Jaeger <aj@suse.de>
5527
5528 * po/bg.po: Update from translation team.
5529 * po/cs.po: Likewise.
5530 * po/de.po: Likewise.
5531 * po/hr.po: Likewise.
5532 * po/nl.pl: Likewise.
5533 * po/pl.po: Likewise.
5534 * po/vi.po: Likewise.
5535
370ca3d2
JM
55362012-07-03 Joseph Myers <joseph@codesourcery.com>
5537
95f5a9a8
JM
5538 * Makeconfig [!+link] (+link-before-libc): New variable.
5539 [!+link] (+link-after-libc): Likewise.
5540 [!+link] (+link-tests): Likewise.
5541 [!+link] (+link): Define in terms of $(+link-before-libc) and
5542 $(+link-after-libc).
5543 [!+link-static] (+link-static-before-libc): New variable.
5544 [!+link-static] (+link-static-after-libc): Likewise.
5545 [!+link-static] (+link-static-tests): Likewise.
5546 [!+link-static] (+link-static): Define in terms of
5547 $(+link-static-before-libc) and $(+link-static-after-libc).
5548 [build-shared] (link-libc-before-gnulib): New variable.
5549 [build-shared] (link-libc-tests): Likewise.
5550 [build-shared] (link-libc): Define in terms of
5551 $(link-libc-before-gnulib).
5552 [!build-shared] (link-libc-tests): New variable.
5553 (link-libc-static-tests): New variable.
5554 [!gnulib] (gnulib-arch): New variable.
5555 [!gnulib] (gnulib-tests): Likewise.
5556 [!gnulib] (static-gnulib-arch): Likewise.
5557 [!gnulib] (static-gnulib-tests): Likewise.
5558 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5559 Define with "=" instead of ":=".
5560 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5561 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5562 * Rules (binaries-all-notests): New variable.
5563 (binaries-all-tests): Likewise.
5564 (binaries-static-notests): Likewise.
5565 (binaries-static-tests): Likewise.
5566 (binaries-all): Define using $(binaries-all-notests) and
5567 $(binaries-all-tests).
5568 (binaries-static): Define using $(binaries-static-notests) and
5569 $(binaries-static-tests).
5570 (binaries-shared-tests): New variable.
5571 (binaries-shared-notests): Likewise.
5572 (binaries-shared): Remove variable.
5573 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5574 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5575 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5576 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5577 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5578 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5579 * elf/Makefile (sln-modules): New variable.
5580 (extra-objs): Add $(sln-modules:=.o).
5581 (ldconfig-modules): Add static-stubs.
5582 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5583 * elf/static-stubs.c: New file.
5584
7a845b2c
JM
5585 [BZ #14283]
5586 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5587 by 7 not 8 to examine high bit of fractional part. Use volatile
5588 variables when splitting into final array of floats if
5589 __FLT_EVAL_METHOD__ != 0.
5590 * math/libm-test.inc (cos_test): Add another test.
5591 (sin_test): Likewise.
5592 * sysdeps/i386/fpu/libm-test-ulps: Update.
5593
e2283f38
JM
5594 [BZ #14273]
5595 * math/libm-test.inc (cosh_test): Add more tests.
5596
370ca3d2
JM
5597 * version.h (RELEASE): Set to "development".
5598 (VERSION): Set to "2.16.90".
5599
ee9247c3
CD
56002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5601
5602 * NEWS: Update copyright. Remove last-updated date.
5603 Mention math library bug fixes and timezone data changes.
5604 * README: Mention GNU/Hurd, x32, and HPPA support status.
5605
4648c381
TS
56062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5607
5608 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5609
aac78a43
AJ
56102012-06-27 Andreas Jaeger <aj@suse.de>
5611
5612 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5613
ed3dbfad
AJ
56142012-06-25 Andreas Jaeger <aj@suse.de>
5615
5616 * sysdeps/s390/fpu/libm-test-ulps: Update.
5617
4d0ee855
AS
56182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5619 Thomas Schwinge <thomas@codesourcery.com>
5620
5621 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5622 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5624 fanotify_mark.
5625
af1bce34
TS
56262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5627
a9fa33ba
TS
5628 * sysdeps/mach/start.c: Remove file.
5629 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5630 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5631 * sysdeps/sh/init-first.c: Likewise.
5632
58f902b8
TS
5633 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5634 registers for frame unwinding purposes, add CFI directives.
5635 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5637 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5638 Likewise.
5639
1518f58b
TS
5640 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5641 __fortify_fail returning.
5642 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5643
db9b5059
TS
5644 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5645 sysdeps/sh/____longjmp_chk.S.
5646 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5647 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5648 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5649 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5650
967705fe
TS
5651 * sysdeps/sh/abort-instr.h: New file.
5652 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5653 process in case exit returns.
5654
a9def8c4
TS
5655 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5656 initialize the GOT register before use.
5657
2a649725
TS
5658 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5659 calculation of ARGC > 4.
5660
af1bce34
TS
5661 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5662 meaningful names to some local labels.
5663
d230f50a
KK
56642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5665 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5666
5667 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5668 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5669 (__arch_compare_and_exchange_val_16_acq): Likewise.
5670 (__arch_compare_and_exchange_val_32_acq): Likewise.
5671 (atomic_exchange_and_add): Fix gUSA sequence.
5672 (atomic_add): Likewise.
5673 (atomic_add_negative): Likewise.
5674 (atomic_add_zero): Likewise.
5675 (atomic_bit_test_set): Likewise.
5676
0479b305
AS
56772012-06-22 Andreas Schwab <schwab@redhat.com>
5678
5679 [BZ #13579]
5680 * include/link.h (struct link_map): Add l_free_initfini.
5681 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5682 l_initfini.
5683 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5684 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5685 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5686 set.
5687
0e3933b9
CD
56882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5689
5690 * configure.in: Use AC_LANG_SOURCE.
5691 * configure: Regenerate.
5692
4248b1b1
RM
56932012-06-22 Roland McGrath <roland@hack.frob.com>
5694
5695 * configure.in (libc_cv_localstatedir): New substituted variable.
5696 * configure: Regenerated.
5697 * config.make.in (localstatedir): New variable, substituted from
5698 libc_cv_localstatedir.
5699 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5700 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5701 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5702 * sysdeps/gnu/configure: Regenerated.
5703
006dd861
JL
57042012-06-21 Jeff Law <law@redhat.com>
5705
5706 [BZ #14277]
5707 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5708 free. Simplify list management for _LIBC case.
5709
79662d42
JM
57102012-06-21 Joseph Myers <joseph@codesourcery.com>
5711
b7abb4bf
JM
5712 [BZ #14273]
5713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5714 Clear sign bit of 64-bit integer value before comparing against
5715 overflow value.
5716
79662d42
JM
5717 * sysdeps/mach/configure: Regenerated.
5718
1f150908
L
57192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 [BZ #14278]
5722 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5723
28363bbf
JL
57242012-06-21 Jeff Law <law@redhat.com>
5725
5726 [BZ #13882]
5727 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5728 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5729 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5730 * elf/dl-open.c (dl_open_worker): Likewise.
5731
09615db4
CD
57322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5733
5734 * scripts/list-sources.sh: Scan PORTS for translations.
5735 * po/libc.pot: Regenerated.
5736
2174c6dd
AJ
57372012-06-21 Andreas Jaeger <aj@suse.de>
5738
5739 [BZ #12194]
5740 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5741 warning.
5742 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5743 * bits/byteswap-16.h (__bswap_16): Likewise.
5744 * bits/byteswap.h (__bswap_constant_16): Likewise.
5745
3ee947b1
L
57462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5747
5748 [BZ #14117]
a2f34833
L
5749 * sysdeps/i386/fpu_control.h: Removed.
5750 * sysdeps/x86_64/fpu_control.h: Moved to ...
5751 * sysdeps/x86/fpu_control.h: Here.
5752
3ee947b1
L
5753 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5754 (_FPU_SETCW): Likewise.
5755
ed1825f8
L
57562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5757
25f1282a
L
5758 [BZ #14117]
5759 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5760 * sysdeps/x86/fpu/bits/mathinline.h: This.
5761 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5762
ed1825f8
L
5763 [BZ #14050]
5764 [BZ #14117]
5765 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5766 functions if __x86_64__ is defined.
5767
36d54b74
CLT
57682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5769
5770 * string/endian.h: Add !__ASSEMBLER__ condition for including
5771 conversion interfaces.
5772
10285c21
JM
57732012-06-15 Joseph Myers <joseph@codesourcery.com>
5774
5775 [BZ #14241]
5776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5777 of ABS(x) in calculating zero to negative powers other than odd
5778 integers.
5779 * math/libm-test.inc (pow_test): Add more tests.
5780
06c5abbd
AJ
57812012-06-15 Andreas Jaeger <aj@suse.de>
5782
5783 * manual/contrib.texi (Contributors): Update entry of Liubov
5784 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5785 Machado Filho.
5786
a3aeac40
CH
57872012-06-15 Cyril Hrubis <metan@ucw.cz>
5788
5789 * string/string.h: Add __wur to GNU version of strerror_r.
5790
49bdf4c1
L
57912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5792
5793 [BZ #14229]
5794 * string/Makefile (tests): Add tst-strtok_r.
5795 * string/tst-strtok_r.c: New file.
5796 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5797 RAX_LP/RDX_LP on SAVE_PTR.
5798
834f9b8d
RM
57992012-06-14 Roland McGrath <roland@hack.frob.com>
5800
5801 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5802
75fa1921
JM
58032012-06-14 Joseph Myers <joseph@codesourcery.com>
5804
5805 * libm_test.inc (csqrt_test): Allow more spurious underflow
5806 exceptions.
5807 (j0_test): Likewise.
5808 (j1_test): Likewise.
5809 (y0_test): Likewise.
5810 (y1_test): Likewise.
5811
771766df
CD
58122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5813
5814 * po/Makefile (libc.pot): Use UTF-8 charset.
5815
ceb9e56b
PP
58162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5817
5818 [BZ #14210]
5819 Suppress sign-conversion warning from FD_SET.
5820 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5821 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5822 not unsigned long int.
5823 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5824
ddb28975
L
58252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5826
5827 [BZ #14050]
5828 [BZ #14117]
5829 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5830 __extern_always_inline instead of __extern_inline.
5831 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5832 (__signbit): Likewise.
5833 (__signbitl): Support C++ namespace.
5834 (lrintf): New inline function.
5835 (lrint): Likewise.
5836 (llrintf): Likewise.
5837 (llrint): Likewise.
5838 (fmaxf): Likewise.
5839 (fmax): Likewise.
5840 (fminf): Likewise.
5841 (fmin): Likewise.
5842 (rint): Likewise.
5843 (rintf): Likewise.
5844 (ceil): Likewise.
5845 (ceilf): Likewise.
5846 (floor): Likewise.
5847 (floorf): Likewise.
5848 (nearbyint): Likewise.
5849 (nearbyintf): Likewise.
5850
d7b4fb26
TS
58512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5852
5853 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5854 non-default versions.
5855
eb55f5c2
RM
58562012-06-11 Roland McGrath <roland@hack.frob.com>
5857
5858 [BZ #14218]
5859 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5860
366af02c
TS
58612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5862
99ff6e5c
TS
5863 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5864 (FE_UPWARD, FE_DOWNWARD): Don't define.
5865 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5866 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5867
366af02c
TS
5868 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5869 reading it.
5870 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5871 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5872
793ea851
KK
58732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5874
5875 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5877 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5878 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5879
a728a38f
L
58802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5881
5882 [BZ #14117]
c08010c7
L
5883 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5884 * sysdeps/i386/fpu/Implies: New file.
5885 * sysdeps/x86_64/fpu/Implies: Likewise.
5886 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5887 * sysdeps/x86/fpu/bits/fenv.h: This.
5888
a728a38f
L
5889 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5890 __SSE_MATH__.
5891
6e230d11
SP
58922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5893
5894 [BZ #14134]
5895 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5896 character 0xffff that matches the last element of the
5897 conversion table.
5898
1b671feb
AZ
58992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5900
5901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5902 fmodl commit.
5903
6043738b
AZ
59042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5905
5906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5907 values higher than 25.6283.
5908
34ae0b32
AZ
59092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5910
5911 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5912 subnormal exponent extraction and add some __builtin_expect.
5913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5914 Fix for subnormal mantissa calculation.
5915
1214ec8f
MF
59162012-06-04 Mike Frysinger <vapier@gentoo.org>
5917
5918 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5919 cpu2 is -1 and errno is not ENOSYS.
5920
f3d1f93c
L
59212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5922
5923 [BZ #14117]
0e4a3cd7
L
5924 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5925 * sysdeps/x86/bits/string.h: This.
5926 * sysdeps/x86_64/bits/string.h: Removed.
5927
6704c645
L
5928 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5929 if not compiling for x86-64, but compiling for >= i486.
5930
48495318
L
5931 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5932 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5933
14adcbfc
L
5934 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5935 New macro from Linux kernel 3.4.0.
5936 (FP_XSTATE_MAGIC2): Likewise.
5937 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5938 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5939 (struct _fpx_sw_bytes): New struct.
5940 (struct _xsave_hdr): Likewise.
5941 (struct _ymmh_state): Likewise.
5942 (struct _xstate): Likewise.
5943
68e408ab
L
5944 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5945 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5946 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5947 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5948 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5949 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5950
f3d1f93c
L
5951 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5952 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5953 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5954 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5955 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5956 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5957
d9dc34cd
TMQMF
59582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5959
5960 [BZ #13743]
5961 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5962 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5963 (sysdep_headers): Include sys/platform/ppc.h.
5964 * sysdeps/powerpc/test-gettimebase.c: Test for
5965 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5966 * manual/Makefile (appendices): Include platform.texi.
5967 * manual/contrib.texi (Contributors): Update @node pointers.
5968 * manual/maint.texi (Maintenance): Likewise.
5969 (Platform): New node.
5970 * manual/platform.texi: New file. Document the new features.
5971
4af3879c
SP
59722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5973 Jakub Jelinek <jakub@redhat.com>
5974
5975 [BZ #14188]
5976 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5977 where __builtin_expect is unavailable.
5978
2fd6ff13
DM
59792012-06-03 David S. Miller <davem@davemloft.net>
5980
5981 * stdlib/longlong.h: Updated from GCC.
5982
173f7220
AS
59832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5984
5985 [BZ #14042]
5986 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5987 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5988 __mcount_internal.
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5990 (GLIBC_2.16): Likewise.
5991
f34a1c6f
L
59922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5993
5994 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5995
88a4576f
JM
59962012-06-01 Joseph Myers <joseph@codesourcery.com>
5997
ea32bcdd
JM
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5999 (default-abi): New variable.
6000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6001 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6002 variable.
6003 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6004 Likewise.
6005 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6006 Likewise.
6007 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6008 Likewise.
6009
88a4576f
JM
6010 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6011 definition. Document in comment.
6012
402fe938
DM
60132012-06-01 David S. Miller <davem@davemloft.net>
6014
6015 * stdlib/longlong.h: Updated from GCC.
6016
3553723f
L
60172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6018
6019 [BZ #14117]
3bd872c4
L
6020 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6021 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6022 sys/debugreg.h sys/io.h here.
6023 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6024 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6025 sys/io.h.
6026 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6027 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6028 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6029 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6030 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6031 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6032
3553723f
L
6033 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6034 Define only if __x86_64__ is defined.
6035
4842e4fe
JM
60362012-06-01 Joseph Myers <joseph@codesourcery.com>
6037
c5bfe3d5
JM
6038 [BZ #14048]
6039 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6040 Use int64_t for variable i.
6041 * math/libm-test.inc (fmod_test): Add more tests.
6042
4842e4fe
JM
6043 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6044 z computation is not scheduled after fetestexcept.
6045 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6046 Use math_force_eval instead of asm to ensure calculation scheduled
6047 before exception test.
6048 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6049 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6050
efb73488
AJ
60512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6052
6053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6054 computation is not scheduled after fetestexcept.
6055
29bcce7c
L
60562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6057
6058 [BZ #14117]
6059 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6060 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6061
73a68f94
AZ
60622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6063
6064 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6065 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6066
67b6df78
L
60672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6068
edf2933a 6069 [BZ #14117]
ebc64a18
L
6070 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6071 <bits/wordsize.h>.
6072 (__WCHAR_MIN): Support __WORDSIZE == 64.
6073 (__WCHAR_MAX): Likewise.
6074
edf2933a
L
6075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6076 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6077
57c6cf40
L
6078 [BZ #14183]
6079 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6080 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6081
67b6df78 6082 [BZ #14117]
8eb6281e
L
6083 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6084 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6085
aac639f4
L
6086 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6087 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6088
67b6df78
L
6089 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6090 Defined to 1 if __x86_64__ isn't defined.
6091 (_STAT_VER_LINUX_OLD): New.
6092 (st_atime): Remove duplicate.
6093 (st_mtime): Likewise.
6094 (st_ctime): Likewise.
6095
1c2cfe81
DM
60962012-05-31 David S. Miller <davem@davemloft.net>
6097
6098 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6099 entries.
6100
5be8418c
AS
61012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6102
e7725326
AS
6103 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6104 gen-libm-test.pl.
6105
5be8418c
AS
6106 [BZ #14132]
6107 * elf/dl-reloc.c: Include <_itoa.h>.
6108 (_dl_reloc_bad_type): Remove use of INTUSE.
6109 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6110 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6111 * stdio-common/psiginfo.c (psiginfo): Likewise.
6112 * stdio-common/psignal.c (psignal): Likewise.
6113 * string/strsignal.c (strsignal): Likewise.
6114 * include/signal.h (_sys_siglist): Declare hidden proto.
6115 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6116 INTVARDEF with libc_hidden_data_def.
6117 * stdio-common/itoa-udigits.c: Likewise.
6118 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6119 (_itoa_lower_digits_internal): Remove declaration.
6120 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6121 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6122 (_sys_sigabbrev_internal): Remove aliases.
6123 (_sys_siglist): Define hidden alias.
6124
507352f1
MT
61252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6126
6127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6128 bits/sysctl.h.
6129
42bbb1c3
L
61302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6131
6132 [BZ #14117]
6bd784b6
L
6133 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6134 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6135
8bca20f0
L
6136 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6137 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6138 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6139 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6141 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6142
f9e890a9
L
6143 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6144 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6145 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6146
471101a1
L
6147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6148 with __addr.
6149 (insw): Likewise.
6150 (insl): Likewise.
6151 (outsb): Likewise.
6152 (outsw): Likewise.
6153 (outsl): Likewise.
6154
6451c862
L
6155 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6157 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6158
a254b8c9
L
6159 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6160 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6162 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6163 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6164 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6165
b8dfdd92
L
6166 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6167 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6168
578cd270
L
6169 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6170 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6171
de662f5f
L
6172 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6173 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6174 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6175
25653439
L
6176 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6177 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6178 to ...
6179 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6180
6bad24a0
L
6181 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6182 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6183 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6184
42bbb1c3
L
6185 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6186 for x86-64.
6187 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6188
2d10d547
JM
61892012-05-31 Joseph Myers <joseph@codesourcery.com>
6190
6191 * math/math.h (M_El): Use two more decimal places.
6192 (M_LOG2El): Likewise.
6193 (M_LOG10El): Likewise.
6194 (M_LN2l): Likewise.
6195 (M_LN10l): Likewise.
6196 (M_PIl): Likewise.
6197 (M_PI_2l): Likewise.
6198 (M_PI_4l): Likewise.
6199 (M_1_PIl): Likewise.
6200 (M_2_PIl): Likewise.
6201 (M_2_SQRTPIl): Likewise.
6202 (M_SQRT2l): Likewise.
6203 (M_SQRT1_2l): Likewise.
6204
f230c29b
DM
62052012-05-31 David S. Miller <davem@davemloft.net>
6206
6207 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6208 values between float registers.
6209 * sysdeps/sparc/sparc64/memset.S: Likewise.
6210 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6211
fed806c3
MF
62122012-05-31 Mike Frysinger <vapier@gentoo.org>
6213
6214 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6215 -D_FORTIFY_SOURCE=1.
6216 (CPPFLAGS-tst-longjmp_chk.c): Define.
6217 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6218 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6219 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6220 CFLAGS-tst-wchar-h.c.
6221
30917259
MP
62222012-05-31 Marek Polacek <polacek@redhat.com>
6223
6224 [BZ #14132]
6225 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6226 __endmntent_internal): Remove declaration.
6227 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6228 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6229 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6230
1c58d5dc
DM
62312012-05-30 David S. Miller <davem@davemloft.net>
6232
6233 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6234 (___Q_simulate_exceptions): Use real FP ops rather than writing
6235 into the %fsr.
6236 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6237 Likewise.
6238
7dc00e0d
L
62392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6240
6241 [BZ #14117]
0bd53985
L
6242 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6243 * sysdeps/x86/bits/xtitypes.h: This.
6244
3a257e66
L
6245 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6246 * sysdeps/x86/bits/wordsize.h: This.
6247
62f62904
L
6248 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6249 * sysdeps/x86/bits/huge_vall.h: This.
6250
404fe9d9
L
6251 * sysdeps/i386/bits/select.h: Removed.
6252 * sysdeps/x86_64/bits/select.h: Renamed to ...
6253 * sysdeps/x86/bits/select.h: This.
6254
d48d0446
L
6255 * sysdeps/i386/bits/setjmp.h: Removed.
6256 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6257 * sysdeps/x86/bits/setjmp.h: This.
6258
7dc00e0d
L
6259 * sysdeps/i386/bits/mathdef.h: Removed.
6260 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6261 * sysdeps/x86/bits/mathdef.h: This.
6262
03277f8f
AS
62632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6264
6265 [BZ #14132]
6266 * include/sys/socket.h (__connect_internal)
6267 (__libc_sa_len_internal): Remove declaration.
6268 (__connect, __libc_sa_len): Declare hidden_proto.
6269 (SA_LEN): Remove use of INTUSE.
6270 * socket/connect.c: Add libc_hidden_def.
6271 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6272 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6273 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6274 alias.
6275 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6276 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6277 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6278 of adding _internal alias.
6279
13764867
L
62802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6281
6282 [BZ #14117]
6bd97696
L
6283 * sysdeps/i386/bits/link.h: Removed.
6284 * sysdeps/i386/bits/linkmap.h: Likewise.
6285 * sysdeps/x86_64/bits/link.h: Renamed to ...
6286 * sysdeps/x86/bits/link.h: This.
6287 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6288 * sysdeps/x86/bits/linkmap.h: This.
6289
f726f0bb
L
6290 * sysdeps/i386/bits/endian.h: Removed.
6291 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6292 * sysdeps/x86/bits/endian.h: This.
6293
13764867
L
6294 * sysdeps/i386/bits/byteswap.h: Removed.
6295 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6296 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6297 * sysdeps/x86/bits/byteswap.h: This.
6298 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6299 * sysdeps/x86/bits/byteswap-16.h: This.
6300 * sysdeps/i386/Implies: Add x86.
6301 * sysdeps/x86_64/Implies: Likewise.
6302
ae251b0b
DM
63032012-05-30 David S. Miller <davem@davemloft.net>
6304
6305 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6306 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6307 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6308 (FP_TRAPPING_EXCEPTIONS): Define.
6309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6310 (FP_TRAPPING_EXCEPTIONS): Define.
6311 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6312 subnormals only when inexact has been signalled or underflow
6313 exceptions are enabled.
6314 (_FP_PACK_CANONICAL): Likewise.
6315
d5c90867
L
63162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6317
6318 [BZ #14183]
6319 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6320 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6321
63f1549e
RH
63222012-05-30 Richard Henderson <rth@twiddle.net>
6323
8d8f2279
RH
6324 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6325 with #ifndef NOT_IN_libc.
6326
63f1549e
RH
6327 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6328 marked to avoid plt entry.
6329
0ab0291b
L
63302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6331
6332 [BZ #14112]
6333 * Makeconfig (default-abi): New macro.
6334 (abi-includes): Likewise.
6335 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6336 $(abi-$(default-abi)-lib-soname) for soname if defined.
6337 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6338 abi-variants.
6339 * Makefile (installed-stubs): Likewise.
6340 * include/stubs-biarch.h: Removed.
6341 * scripts/lib-names.awk: Only handle one library at a time.
6342 * scripts/soversions.awk: Remove WORDSIZE support.
6343 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6344 entries.
6345 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6346 Removed.
6347 (syscall-list-default-condition): Likewise.
6348 (syscall-list-default-condition): Likewise.
6349 (syscall-list-includes): Likewise.
6350 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6351 syscall-list-* with abi-*. Handle undefined abi-variants.
6352 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6353 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6354 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6355 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6356 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6357 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6358 Removed.
6359 (syscall-list-32-options): Likewise.
6360 (syscall-list-32-condition): Likewise.
6361 (syscall-list-64-options): Likewise.
6362 (syscall-list-64-condition): Likewise.
6363 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6364 macro.
6365 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6366 Renamed to ...
6367 (abi-*): This.
6368 (abi-64-ld-soname): New macro.
6369 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6370 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6371 Renamed to ...
6372 (abi-*): This.
6373 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6374 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6375
4da0431d
JM
63762012-05-30 Joseph Myers <joseph@codesourcery.com>
6377
3a85279c
JM
6378 * sysdeps/unix/sysv/linux/kernel-features.h
6379 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6380 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6381 include <kernel-features.h>.
6382 [!__NR_ftruncate64]: Remove conditional code.
6383 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6384 [__NR_ftruncate64]: Make code unconditional.
6385 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6386 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6387 include <kernel-features.h>.
6388 [!__NR_ftruncate64]: Remove conditional code.
6389 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6390 [__NR_ftruncate64]: Make code unconditional.
6391 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6393 include <kernel-features.h>.
6394 [!__NR_ftruncate64]: Remove conditional code.
6395 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6396 [__NR_ftruncate64]: Make code unconditional.
6397 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6399 include <kernel-features.h>.
6400 [!__NR_ftruncate64]: Remove conditional code.
6401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6402 [__NR_ftruncate64]: Make code unconditional.
6403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6404
4da0431d
JM
6405 * configure.in (libc_cv_fpie): Weaken to a compile test using
6406 LIBC_TRY_CC_OPTION.
6407 * configure: Regenerated.
6408
11ef492c
AK
64092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6410
6411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6415 Refreshed.
6416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6422 Refreshed.
6423
d66ef399
DM
64242012-05-27 David S. Miller <davem@davemloft.net>
6425
6426 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6427 (___Q_zero): New.
6428 (__Q_simulate_exceptions): Return void. Change to simulate
6429 exceptions by writing into the %fsr.
6430 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6431 (__Qp_handle_exceptions): Likewise.
6432 (numbers): Delete.
6433 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6434 __Qp_handle_exceptions.
6435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6436 __Qp_handle_exceptions.
6437 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6438 as unused and give dummy FP_RND_NEAREST initializer.
6439 (FP_INHIBIT_RESULTS): Define.
6440 (___Q_simulate_exceptions): Update declaration.
6441 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6442 formatting.
6443 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6444 as unused and give dummy FP_RND_NEAREST initializer.
6445 (__Qp_handle_exceptions): Update declaration.
6446 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6447 formatting.
6448
04fb54b5
TS
64492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6450
6451 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6452 the temporary FPU control word.
6453 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6454 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6455 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6456 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6457 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6458 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6459 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6460 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6461 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6462 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6463 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6464
3f99608f
KK
64652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6466
6467 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6468 fields.
6469
65a4de4e
CLT
64702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6471
6472 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6473 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6474 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6475 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6476 Likewise.
6477 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6478 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6479 Likewise.
6480
15749d40
UD
64812012-05-27 Ulrich Drepper <drepper@gmail.com>
6482
6483 * po/h.po: Update from translation team.
6484
25dbcb27
AS
64852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6486
3d3f8e55
AS
6487 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6488
25dbcb27
AS
6489 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6490 handling of denormals.
6491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6492 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6493 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6494 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6498 Likewise.
6499
7ad47a80 65002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6501
6502 [BZ #14152]
6503 * math/libm-test.inc (fma_test): Don't always expect underflow
6504 exception.
6505
9c6ea9fa
SP
65062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6507
6508 [BZ #12416]
6509 * elf/tst-execstack.c: Include stackinfo.h.
6510 (do_test): Adjust test case to ensure that pthread_getattr_np
6511 behaviour remains the same after marking stack executable.
6512
a8239222
JM
65132012-05-25 Joseph Myers <joseph@codesourcery.com>
6514
6515 * sysdeps/unix/sysv/linux/kernel-features.h
6516 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6517 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6518 kernel-features.h.
6519 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6520 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6521 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6522 kernel-features.h.
6523 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6524 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6525
918b5606
L
65262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6527
6528 * configure.in: Define the default includes to being none.
6529 * configure: Regenerated.
6530
3a097cc7
RM
65312012-05-25 Roland McGrath <roland@hack.frob.com>
6532
8422c9a5
RM
6533 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6534 * sysdeps/x86_64/setjmp.S: Likewise.
6535 * sysdeps/i386/bsd-setjmp.S: Likewise.
6536 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6537 * sysdeps/i386/setjmp.S: Likewise.
6538 * sysdeps/i386/__longjmp.S: Likewise.
6539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6540 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6541
3a097cc7
RM
6542 * include/stap-probe.h: New file.
6543 * configure.in: Handle --enable-systemtap.
6544 * configure: Regenerated.
6545 * config.h.in (USE_STAP_PROBE): New #undef.
6546 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6547 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6548 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6549
21708942
JM
65502012-05-25 Joseph Myers <joseph@codesourcery.com>
6551
6552 [BZ #13717]
6553 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6554 to 2.4.0 where earlier.
6555 * sysdeps/unix/sysv/linux/configure: Regenerated.
6556 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6557 <kernel-features.h>.
6558 [__ASSUME_32BITUIDS]: Make code unconditional.
6559 [!__ASSUME_32BITUIDS]: Remove conditional code.
6560 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6561 <kernel-features.h>.
6562 [__ASSUME_32BITUIDS]: Make code unconditional.
6563 [!__ASSUME_32BITUIDS]: Remove conditional code.
6564 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6565 [__ASSUME_32BITUIDS]: Make code unconditional.
6566 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6567 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
6584 <kernel-features.h>.
6585 [__ASSUME_32BITUIDS]: Make code unconditional.
6586 [!__ASSUME_32BITUIDS]: Remove conditional code.
6587 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6588 <kernel-features.h>.
6589 [__ASSUME_32BITUIDS]: Make code unconditional.
6590 [!__ASSUME_32BITUIDS]: Remove conditional code.
6591 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6592 <kernel-features.h>.
6593 [__ASSUME_32BITUIDS]: Make code unconditional.
6594 [!__ASSUME_32BITUIDS]: Remove conditional code.
6595 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6596 <kernel-features.h>.
6597 [__ASSUME_32BITUIDS]: Make code unconditional.
6598 [!__ASSUME_32BITUIDS]: Remove conditional code.
6599 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6600 <kernel-features.h>.
6601 [__ASSUME_32BITUIDS]: Make code unconditional.
6602 [!__ASSUME_32BITUIDS]: Remove conditional code.
6603 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6604 <kernel-features.h>.
6605 [__ASSUME_32BITUIDS]: Make code unconditional.
6606 [!__ASSUME_32BITUIDS]: Remove conditional code.
6607 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6608 <kernel-features.h>.
6609 [__NR_setresgid] (__setresgid): Do not declare.
6610 [__ASSUME_32BITUIDS]: Make code unconditional.
6611 [!__ASSUME_32BITUIDS]: Remove conditional code.
6612 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6613 <kernel-features.h>.
6614 [__NR_setresuid] (__setresuid): Do not declare.
6615 [__ASSUME_32BITUIDS]: Make code unconditional.
6616 [!__ASSUME_32BITUIDS]: Remove conditional code.
6617 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
6634 <kernel-features.h>.
6635 [__ASSUME_32BITUIDS]: Make code unconditional.
6636 [!__ASSUME_32BITUIDS]: Remove conditional code.
6637 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6638 <kernel-features.h>.
6639 [__ASSUME_32BITUIDS]: Make code unconditional.
6640 [!__ASSUME_32BITUIDS]: Remove conditional code.
6641 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6642 <kernel-features.h>.
6643 [__ASSUME_32BITUIDS]: Make code unconditional.
6644 [!__ASSUME_32BITUIDS]: Remove conditional code.
6645 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6646 <kernel-features.h>.
6647 [__ASSUME_32BITUIDS]: Make code unconditional.
6648 [!__ASSUME_32BITUIDS]: Remove conditional code.
6649 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6650 <kernel-features.h>.
6651 [__ASSUME_32BITUIDS]: Make code unconditional.
6652 [!__ASSUME_32BITUIDS]: Remove conditional code.
6653 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6654 <kernel-features.h>.
6655 [__ASSUME_32BITUIDS]: Make code unconditional.
6656 [!__ASSUME_32BITUIDS]: Remove conditional code.
6657 * sysdeps/unix/sysv/linux/kernel-features.h
6658 (__ASSUME_SETRESUID_SYSCALL): Remove.
6659 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6660 (__ASSUME_32BITUIDS): Likewise.
6661 (__ASSUME_LDT_WORKS): Likewise.
6662 (__ASSUME_O_DIRECTORY): Likewise.
6663 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6664 architecture but not kernel version.
6665 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6666 (__ASSUME_MMAP2_SYSCALL): Likewise.
6667 (__ASSUME_STAT64_SYSCALL): Likewise.
6668 (__ASSUME_IPC64): Likewise.
6669 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6670 <kernel-features.h>.
6671 [__ASSUME_32BITUIDS]: Make code unconditional.
6672 [!__ASSUME_32BITUIDS]: Remove conditional code.
6673 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6674 <kernel-features.h>.
6675 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6676 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6677 132096]: Remove conditional code.
6678 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6679 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6680 <kernel-features.h>.
6681 [__ASSUME_32BITUIDS]: Make code unconditional.
6682 [!__ASSUME_32BITUIDS]: Remove conditional code.
6683 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6684 <kernel-features.h>.
6685 [__ASSUME_32BITUIDS]: Make code unconditional.
6686 [!__ASSUME_32BITUIDS]: Remove conditional code.
6687 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6688 <kernel-features.h>.
6689 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6690 unconditional.
6691 (__setresgid): Do not declare.
6692 [__ASSUME_32BITUIDS]: Make code unconditional.
6693 [!__ASSUME_32BITUIDS]: Remove conditional code.
6694 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6695 <kernel-features.h>.
6696 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6697 unconditional.
6698 (__setresuid): Do not declare.
6699 [__ASSUME_32BITUIDS]: Make code unconditional.
6700 [!__ASSUME_32BITUIDS]: Remove conditional code.
6701 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6702 <kernel-features.h>.
6703 [__ASSUME_32BITUIDS]: Make code unconditional.
6704 [!__ASSUME_32BITUIDS]: Remove conditional code.
6705 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6706 <kernel-features.h>.
6707 [__ASSUME_32BITUIDS]: Make code unconditional.
6708 [!__ASSUME_32BITUIDS]: Remove conditional code.
6709
a386f1cc
RH
67102012-05-25 Richard Henderson <rth@twiddle.net>
6711
6712 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6713 dl_hwcap to ifunc resolver.
6714 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6715 elf_ifunc_invoke.
6716 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6717 dl_hwcap to ifunc resolver.
6718 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6719
b6550497
JM
67202012-05-24 Joseph Myers <joseph@codesourcery.com>
6721
6722 [BZ #14153]
6723 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6724 for |x| <= 2**-26, not 2**-57.
6725 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6726 exception.
6727
b0bc23a1
JL
67282012-05-24 Jeff Law <law@redhat.com>
6729
6730 * stdio-common/Makefile (tests): Add bug25.
6731 * stdio-common/bug25.c: New test.
6732
347c92e9
L
67332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6734
6735 [BZ #13576]
6736 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6737 multiple of MALLOC_ALIGNMENT in size.
6738 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6739
6bcc8b3f
JM
67402012-05-24 Joseph Myers <joseph@codesourcery.com>
6741
6742 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6743 Require >= 256.
6744 (FILENAME_MAX): Use macro-int-constant.
6745 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6746 (_IOFBF): Use macro-int-constant.
6747 (_IOLBF): Likewise.
6748 (_IONBF): Likewise.
6749 (SEEK_CUR): Likewise.
6750 (SEEK_END): Likewise.
6751 (SEEK_SET): Likewise.
6752 (TMP_MAX): Likewise.
6753 (EOF): Use macro-int-constant. Require < 0.
6754 (NULL): Use macro-constant. Require == 0.
6755 (stdin): Require type to be FILE *.
6756 (stdout): Likewise.
6757 (stderr): Likewise.
6758 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6759 macro-int-constant.
6760 (EXIT_SUCCESS): Likewise.
6761 (NULL): Use macro-constant. Require == 0.
6762 (RAND_MAX): Use macro-int-constant.
6763 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6764 [C99-based standards] (strtof): Require function.
6765 [C99-based standards] (strtold): Likewise.
6766 [C99-based standards] (strtoll): Likewise.
6767 [C99-based standards] (strtoull): Likewise.
6768 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6769 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6770 [ISO || ISO99 || ISO11] (math.h): Likewise.
6771 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6772 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6773 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6774
d18ea0c5
AS
67752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6776
6777 [BZ #14132]
56d25bb8
AS
6778 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6779 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6780 * intl/dgettext.c (DCGETTEXT): Likewise.
6781 * intl/gettext.c (DCGETTEXT): Likewise.
6782 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6783 * posix/regex_internal.h (gettext): Likewise.
6784 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6785 Remove declaration.
6786 * include/argz.h (__argz_count_internal)
6787 (__argz_stringify_internal): Remove declaration.
6788 (__argz_count, __argz_stringify): Declare hidden proto.
6789 * intl/dcgettext.c: Remove use of INTDEF.
6790 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6791 * string/argz-stringify.c: Likewise.
6792 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6793 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6794 Declare hidden proto.
d18ea0c5
AS
6795 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6796 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6797 Declare hidden proto.
6798 * include/stdio.h (__asprintf_internal): Don't declare.
6799 (__asprintf): Don't define as macro. Declare hidden proto.
6800 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6801 (__fsetlocking): Declare hidden proto.
6802 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6803 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6804 hidden proto.
6805 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6806 (_IO_setlinebuf): Remove use of INTUSE.
6807 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6808 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6809 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6810 Remove declaration.
6811 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6812 (_IO_do_flush): Remove use of INTUSE.
6813 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6814 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6815 (_IO_adjust_column, _IO_least_wmarker)
6816 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6817 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6818 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6819 (_IO_default_doallocate, _IO_wdefault_doallocate)
6820 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6821 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6822 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6823 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6824 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6825 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6826 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6827 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6828 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6829 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6830 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6831 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6832 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6833 proto.
6834 (_IO_flush_all_internal, _IO_adjust_column_internal)
6835 (_IO_default_uflow_internal, _IO_default_finish_internal)
6836 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6837 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6838 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6839 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6840 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6841 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6842 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6843 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6844 (_IO_file_close_internal, _IO_file_close_it_internal)
6845 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6846 (_IO_file_init_internal, _IO_file_attach_internal)
6847 (_IO_file_fopen_internal, _IO_file_read_internal)
6848 (_IO_file_sync_internal, _IO_file_seek_internal)
6849 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6850 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6851 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6852 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6853 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6854 (_IO_list_all_internal, _IO_link_in_internal)
6855 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6856 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6857 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6858 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6859 (_IO_do_write_internal, _IO_padn_internal)
6860 (_IO_getline_info_internal, _IO_getline_internal)
6861 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6862 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6863 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6864 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6865 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6866 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6867 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6868 with libc_hidden_ver, remove use of INTUSE.
6869 * libio/genops.c: Likewise.
6870 * libio/freopen.c: Likewise.
6871 * libio/freopen64.c: Likewise.
6872 * libio/iofclose.c: Likewise.
6873 * libio/iofdopen.c: Likewise.
6874 * libio/iofflush.c: Likewise.
6875 * libio/iofflush_u.c: Likewise.
6876 * libio/iofgets.c: Likewise.
6877 * libio/iofgets_u.c: Likewise.
6878 * libio/iofopen.c: Likewise.
6879 * libio/iofopncook.c: Likewise.
6880 * libio/iofread.c: Likewise.
6881 * libio/iofread_u.c: Likewise.
6882 * libio/ioftell.c: Likewise.
6883 * libio/iofwrite.c: Likewise.
6884 * libio/iogetline.c: Likewise.
6885 * libio/iogets.c: Likewise.
6886 * libio/iogetwline.c: Likewise.
6887 * libio/iopadn.c: Likewise.
6888 * libio/iopopen.c: Likewise.
6889 * libio/ioseekoff.c: Likewise.
6890 * libio/ioseekpos.c: Likewise.
6891 * libio/iosetbuffer.c: Likewise.
6892 * libio/iosetvbuf.c: Likewise.
6893 * libio/ioungetc.c: Likewise.
6894 * libio/ioungetwc.c: Likewise.
6895 * libio/iovdprintf.c: Likewise.
6896 * libio/iovsprintf.c: Likewise.
6897 * libio/iovsscanf.c: Likewise.
6898 * libio/memstream.c: Likewise.
6899 * libio/obprintf.c: Likewise.
6900 * libio/oldfileops.c: Likewise.
6901 * libio/oldiofclose.c: Likewise.
6902 * libio/oldiofdopen.c: Likewise.
6903 * libio/oldiofopen.c: Likewise.
6904 * libio/oldiopopen.c: Likewise.
6905 * libio/oldstdfiles.c: Likewise.
6906 * libio/putc.c: Likewise.
6907 * libio/setbuf.c: Likewise.
6908 * libio/setlinebuf.c: Likewise.
6909 * libio/stdfiles.c: Likewise.
6910 * libio/strops.c: Likewise.
6911 * libio/vasprintf.c: Likewise.
6912 * libio/vscanf.c: Likewise.
6913 * libio/vsnprintf.c: Likewise.
6914 * libio/vswprintf.c: Likewise.
6915 * libio/wfiledoalloc.c: Likewise.
6916 * libio/wfileops.c: Likewise.
6917 * libio/wgenops.c: Likewise.
6918 * libio/wmemstream.c: Likewise.
6919 * libio/wstrops.c: Likewise.
6920 * libio/__fpurge.c: Likewise.
6921 * libio/__fsetlocking.c: Likewise.
6922 * assert/assert.c: Likewise.
6923 * debug/fgets_chk.c: Likewise.
6924 * debug/fgets_u_chk.c: Likewise.
6925 * debug/fread_chk.c: Likewise.
6926 * debug/fread_u_chk.c: Likewise.
6927 * debug/gets_chk.c: Likewise.
6928 * debug/obprintf_chk.c: Likewise.
6929 * debug/vasprintf_chk.c: Likewise.
6930 * debug/vdprintf_chk.c: Likewise.
6931 * debug/vsnprintf_chk.c: Likewise.
6932 * debug/vsprintf_chk.c: Likewise.
6933 * malloc/mtrace.c: Likewise.
6934 * misc/error.c: Likewise.
6935 * misc/syslog.c: Likewise.
6936 * stdio-common/asprintf.c: Likewise.
6937 * stdio-common/fxprintf.c: Likewise.
6938 * stdio-common/getw.c: Likewise.
6939 * stdio-common/isoc99_fscanf.c: Likewise.
6940 * stdio-common/isoc99_scanf.c: Likewise.
6941 * stdio-common/isoc99_vfscanf.c: Likewise.
6942 * stdio-common/isoc99_vscanf.c: Likewise.
6943 * stdio-common/isoc99_vsscanf.c: Likewise.
6944 * stdio-common/printf-prs.c: Likewise.
6945 * stdio-common/printf_fp.c: Likewise.
6946 * stdio-common/printf_fphex.c: Likewise.
6947 * stdio-common/printf_size.c: Likewise.
6948 * stdio-common/putw.c: Likewise.
6949 * stdio-common/scanf.c: Likewise.
6950 * stdio-common/sprintf.c: Likewise.
6951 * stdio-common/tmpfile.c: Likewise.
6952 * stdio-common/vfprintf.c: Likewise.
6953 * stdio-common/vfscanf.c: Likewise.
6954 * stdlib/strfmon_l.c: Likewise.
6955 * sunrpc/openchild.c: Likewise.
6956 * sunrpc/xdr_stdio.c: Likewise.
6957 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6958 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6959
d6c33fda
RM
69602012-05-24 Roland McGrath <roland@hack.frob.com>
6961
c1487492
RM
6962 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6963
6964 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6965 in the third column, to generate for the shared library an IFUNC
6966 that uses _dl_vdso_vsym.
6967 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6968 * Makeconfig (object-suffixes-noshared): New variable.
6969
6970 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6971 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6972 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6973 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6974
d6c33fda
RM
6975 [BZ #14132]
6976 * include/sys/time.h (__gettimeofday): Remove macro.
6977 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6978 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6979 Remove INTDEF.
6980 (__gettimeofday): Add libc_hidden_def.
6981 (gettimeofday): Add libc_hidden_weak.
6982 * sysdeps/mach/gettimeofday.c: Likewise.
6983 * sysdeps/posix/gettimeofday.c: Likewise.
6984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6985 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6987 (__gettimeofday_internal): Remove strong_alias.
6988 (__gettimeofday): Add libc_hidden_def.
6989 (gettimeofday): Add libc_hidden_weak.
6990 * sysdeps/unix/syscalls.list (gettimeofday):
6991 Remove __gettimeofday_internal alias.
6992
b5a2bbe6
L
69932012-05-24 Daniel Jacobowitz <drow@false.org>
6994 H.J. Lu <hongjiu.lu@intel.com>
6995
6996 [BZ #12495]
6997 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6998 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6999 (largebin_index_32_big): New.
7000 (largebin_index): Use it for 16-byte alignment.
7001 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7002 correction with front_misalign.
7003
cfba4fda
L
70042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7005
7f907421
L
7006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7008 Likewise.
7009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7010 Likewise.
7011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7012 Likewise.
7013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7014 Likewise.
7015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7016 Likewise.
7017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7018 Likewise.
7019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7020 Likewise.
7021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7022 Likewise.
7023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7024 Likewise.
7025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7026 Likewise.
7027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7028 Likewise.
7029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7030 Likewise.
7031
cfba4fda
L
7032 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7033 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7034
80bad0cc
JM
70352012-05-24 Joseph Myers <joseph@codesourcery.com>
7036
7a25eb06
JM
7037 [BZ #10846]
7038 [BZ #14036]
7039 * math/libm-test.inc (exp_test): Add test from bug 14036.
7040 (pow_test): Add test from bug 10846.
7041
795405f9
JM
7042 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7043 and other flags.
7044 (special_function): Do not include flags in test name.
7045 (parse_args): Likewise.
7046 * sysdeps/i386/fpu/libm-test-ulps: Update.
7047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7048 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7049 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7051
80bad0cc
JM
7052 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7053 exceptions.
7054 * math/libm-test.inc ("Philosophy"): Update comment about
7055 exception testing.
7056 (UNDERFLOW_EXCEPTION): New macro.
7057 (UNDERFLOW_EXCEPTION_OK): Likewise.
7058 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7059 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7060 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7061 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7062 (INVALID_EXCEPTION_OK): Update value.
7063 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7064 (OVERFLOW_EXCEPTION_OK): Likewise.
7065 (IGNORE_ZERO_INF_SIGN): Likewise.
7066 (test_exceptions): Handle underflow exceptions.
7067 (acos_test): Update for underflow exception expectations.
7068 (cexp_test): Likewise.
7069 (clog_test): Likewise.
7070 (clog10_test): Likewise.
7071 (csqrt_test): Likewise.
7072 (ctan_test): Likewise.
7073 (ctanh_test): Likewise.
7074 (exp_test): Likewise.
7075 (exp10_test): Likewise.
7076 (exp2_test): Likewise.
7077 (expm1_test): Likewise.
7078 (fma_test): Likewise.
7079 (j0_test): Likewise.
7080 (jn_test): Likewise.
7081 (nexttoward_test): Likewise.
7082 (pow_test): Likewise.
7083 (scalbn_test): Likewise.
7084 (scalbln_test): Likewise.
7085 (tan_test): Likewise.
7086 (y1_test): Likewise.
7087 * sysdeps/i386/fpu/libm-test-ulps: Update.
7088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7089
9e0e3d0b
DM
70902012-05-23 David S. Miller <davem@davemloft.net>
7091
7092 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7093 (__libc_sigaction): Remove unused local variables.
7094
ccd0a08f
L
70952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7096
7097 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7098
62bdf9a6
PE
70992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7100
f8591f80
PE
7101 mktime: avoid signed integer overflow
7102 * time/mktime.c (__mktime_internal): Do not mishandle the case
7103 where diff == INT_MIN.
7104
94c7d826
PE
7105 mktime: simplify computation of average
7106 * time/mktime.c (ranged_convert): Use new time_t_avg function
7107 instead of rolling our own (probably-slower) code.
7108
ce73d683
PE
7109 mktime: do not assume signed right shift propagates sign bit
7110 * time/mktime.c (isdst_differ): New static function.
7111 (__mktime_internal): No need to normalize tm_isdst now.
7112 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7113 tm_isdst values.
7114
72a22e59
PE
7115 mktime: merge another wrapv change from gnulib
7116 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7117 from some compilers.
7118
68605433
PE
7119 mktime: remove incorrect attempt at unusual arithmetics
7120 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7121 The code didn't really work on such machines anyway.
7122 (TYPE_MINIMUM): Assume two's complement.
7123 (twos_complement_arithmetic): Verify that long_int and time_t
7124 are two's complement (or unsigned, in the latter case).
7125
03cf7fe3
PE
7126 mktime: check signed shifts on long_int and time_t, too
7127 * time/mktime.c (SHR): Check that shifts work as desired
7128 on the types long_int and time_t too, as SHR is used on
7129 such types.
7130
f04dfbc2
PE
7131 mktime: do not assume 'long' is wide enough
7132 * time/mktime.c (verify): Move decl up.
7133 (long_int): New type.
7134 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7135 to remove assumption in the code that 'long' is wide enough to
7136 store year values. This assumption is not true on x32 and on
7137 some non-glibc platforms.
7138
62bdf9a6
PE
7139 mktime: merge wrapv change from gnulib
7140 * time/mktime.c (WRAPV): New macro.
7141 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7142 (guess_time_tm, __mktime_internal): Do not assume that signed
7143 integer overflow wraps around; modern compilers generate code
7144 where this assumption is no longer valid.
7145
5e292e4f
L
71462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7147
7148 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7149 Replace "jmp L(pseudo_end)" with "ret".
7150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7151 Likewise.
7152
8caf8c87
AJ
71532012-05-23 Andreas Jaeger <aj@suse.de>
7154
7155 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7156 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7157
1a09dc56
AJ
71582012-05-23 Andreas Jaeger <aj@suse.de>
7159 Maximilian Attems <max@stro.at>
7160
7161 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7162 New macros.
7163
1c87aba0
L
71642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7165
7166 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7167 code so that pseudo_end is just ret and the stack pointer is
7168 correct also for static library in error case.
7169
40e45bd5
JM
71702012-05-23 Joseph Myers <joseph@codesourcery.com>
7171
c2670533
JM
7172 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7173 move to syscalls.list.
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7178
40e45bd5
JM
7179 * manual/install.texi (Running make install): Do not mention Linux
7180 kernel version for which pt_chown is not needed.
7181 (Linux): Do not mention problems with nscd with 2.0 kernels.
7182 * INSTALL: Regenerated.
7183
be08eda5
AJ
71842012-05-23 Andreas Jaeger <aj@suse.de>
7185
7186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7187 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7188 macro.
7189 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7191 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7192 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7193 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7194 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7195 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7196 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7197 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7198 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7199 * sysdeps/unix/sysv/linux/bits/in.h
7200 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7201
a6a056bb
RM
72022012-05-22 Roland McGrath <roland@hack.frob.com>
7203
7204 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7205 (PREPARE_VERSION): Just use assert instead, it will be elided
7206 under [NDEBUG] anyway.
7207
c9009328
L
72082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7209
7210 * sysdeps/unix/sysv/linux/Makefile: Include
7211 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7212 (sysdep_routines): Remove sysctl.
c9009328
L
7213 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7214 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7215 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7216 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7217 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7218
73338355
AJ
72192012-05-22 Andreas Jaeger <aj@suse.de>
7220
7221 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7222 that pseudo_end is just ret and the stack pointer is correct also
7223 for static library in error case.
7224
d44638b0
PP
72252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7226
7227 [BZ #14122]
7228 * nss/nsswitch.c (defconfig_entries): New variable.
7229 (__nss_database_lookup): Don't leak defconfig entries.
7230 (nss_parse_service_list): Don't leak on error paths.
7231 (free_database_entries): New function.
7232 (free_defconfig): New function.
7233 (free_mem): Move common code to free_database_entries.
7234
31a39bd8
L
72352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7236
da0331a8
L
7237 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7238 Add arch_prctl.
7239 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7240
31a39bd8
L
7241 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7242 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7244 New macro.
7245 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7246 (INTERNAL_SYSCALL_TYPES): Likewise.
7247 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7248 (LOAD_REGS_TYPES_[1-6]): Likewise.
7249 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7250 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7251
45470df3
AZ
72522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7253
7254 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7255 copysignl for GLIBC_2_0.
7256 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7257 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7259 logbl for GLIBC_2_0.
7260 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7261 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7262
98a61bcb
L
72632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7264
a4f6e481
L
7265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7266 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7267
f63d5db6
L
7268 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7269 Use "neg %eax".
7270
98a61bcb
L
7271 * time/mktime.c: Update copyright years.
7272
95770f14
PE
72732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7274
6226efbd
PE
7275 mktime: merge comment-quoting-style change from gnulib
7276 * time/mktime.c: Quote 'like this' in comments.
7277 The GNU coding standards suggest that we no longer quote `like this',
7278 as "`" and "'" are typically rendered asymmetrically nowadays.
7279 The typical gnulib style is to quote 'like this' when quoting
7280 code, and "like this" when quoting English.
7281
b99e4f78
PE
7282 * time/mktime.c (compile-command): Add "-I.".
7283
643e01e6
PE
7284 mktime: merge mktime-internal.h change from gnulib
7285 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7286
2554247d
PE
7287 mktime: merge time_r change from gnulib
7288 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7289
826dd0ab
PE
7290 mktime: merge DEBUG change from gnulib
7291 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7292 case system <time.h> has a #define.
7293
bd83aabe
PE
7294 mktime: merge <sys/types.h> change from gnulib
7295 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7296 since <time.t> is now guaranteed to define time_t.
7297
95770f14
PE
7298 mktime: merge HAVE_CONFIG_H change from gnulib
7299 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7300
5e1a27a9
L
73012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7302
0e44a77e
L
7303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7304 Use "neg %eax".
7305
5e1a27a9
L
7306 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7307 __rlim_t cast.
7308 (struct rusage): Use anonymous union to pad each field to
7309 __syscall_slong_t.
7310
46259bec
DM
73112012-05-21 David S. Miller <davem@davemloft.net>
7312
7313 * Makefules (o-iterator): Remove .s cases.
7314 (compile-command.s): Delete.
7315 (COMPILE.s): Delete.
7316 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7317
59f0c22e
JM
73182012-05-21 Joseph Myers <joseph@codesourcery.com>
7319
7320 * configure.in (libc_cv_predef_stack_protector): Only consider
7321 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7322 * configure: Regenerated.
7323
20c07380
L
73242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7325
bbb3154b
L
7326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7327 New macro. Use R*LP on int and pointer.
7328 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7329 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7330 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7331 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7332
20c07380
L
7333 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7334 [__WORDSIZE_TIME64_COMPAT32] instead of
7335 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7336 (struct utmp): Likewise.
7337 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7338 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7339 Renamed to ...
7340 (__WORDSIZE_TIME64_COMPAT32): This.
7341 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7342 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7343 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7344 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7345 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7346 (__WORDSIZE_TIME64_COMPAT32): New macro.
7347
d8d1017e
AJ
73482012-05-21 Andreas Jaeger <aj@suse.de>
7349
7350 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7351 only if [SHARED]. Add prototype for __wcschr_ia32.
7352
6c7fb145
RM
73532012-05-21 Roland McGrath <roland@hack.frob.com>
7354
7355 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7356 of %rbp unmolested in the jmp_buf while mangling the low bits.
7357 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7358 unmolested high bits of %rbp while demangling the low bits.
7359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7360
66274218
AJ
73612012-05-21 Andreas Jaeger <aj@suse.de>
7362
07c58f8f
AJ
7363 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7364 * sunrpc/svc_simple.c: Use it for registerrpc.
7365 * sunrpc/xcrypt.c: Use it for passwd2des.
7366
66274218
AJ
7367 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7368
61f65140
L
73692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7370
7371 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7372 Don't define if [__SYSCALL_WORDSIZE != 32].
7373 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7374 New macro.
7375
5fefb436
AJ
73762012-05-21 Bruno Haible <bruno@clisp.org>
7377 Andreas Jaeger <aj@suse.de>
7378
7379 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7380 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7381 inptr and inend for must_buffer_ch.
7382 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7383 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7384 * stdio-common/Makefile (tests): Remove bug15.
7385 (bug15-ENV): Remove macro.
7386 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7387 anymore.
7388
d8e272ab
AJ
73892012-05-19 Andreas Jaeger <aj@suse.de>
7390 Roland McGrath <roland@hack.frob.com>
7391
7392 * manual/contrib.texi: Completely rewritten. It contains now an
7393 alphabetical list of contributors and their contributions.
7394
4a56a162
RH
73952012-05-21 Richard Henderson <rth@twiddle.net>
7396
7397 * misc/getauxval.c (__getauxval): Use unsigned long int.
7398 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7399 (getauxval): Use unsigned long int.
7400
d024d23c
L
74012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7402
7403 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7404
cbc00a03
RM
74052012-05-21 Roland McGrath <roland@hack.frob.com>
7406
7407 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7408 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7409 __alignof__ (long double).
7410
478143fa
AZ
74112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7412
7413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7414
c7683a6d
RH
74152012-05-20 Richard Henderson <rth@twiddle.net>
7416
7417 * misc/getauxval.c: New file.
7418 * misc/sys/auxv.h: New file.
7419 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7420 (routines): Add getauxval.
7421 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7422 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7423 * elf/dl-sysdep.c (_dl_auxv): Remove.
7424 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7425 * elf/dl-support.c (_dl_auxv): New variable.
7426 (_dl_aux_init): Initialize it.
7427 * manual/startup.texi (Auxiliary Vector): New node.
7428 * sysdeps/generic/bits/hwcap.h: New file.
7429 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7430 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7431 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7432 * sysdeps/sparc/sysdep.h: ... here. Include it.
7433 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7436 Update.
c7683a6d
RH
7437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7445
a6f1845d
AZ
74462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7447
7448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7449
cbcbe830
DM
74502012-05-19 David S. Miller <davem@davemloft.net>
7451
7452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7453
e0b16cc2
JM
74542012-05-19 Joseph Myers <joseph@codesourcery.com>
7455
7456 [BZ #14123]
7457 * math/s_ccosh.c: Include <float.h>
7458 (__ccosh): Avoid internal overflow calculating sinh and cosh
7459 values before multiplying by sin and cos values.
7460 * math/s_ccoshf.c: Likewise.
7461 * math/s_ccoshl.c: Likewise.
7462 * math/s_csin.c: Likewise.
7463 * math/s_csinf.c: Likewise.
7464 * math/s_csinl.c: Likewise.
7465 * math/s_csinh.c: Likewise.
7466 * math/s_csinhf.c: Likewise.
7467 * math/s_csinhl.c: Likewise.
7468 * math/libm-test.inc (ccos_test): Add more tests.
7469 (ccosh_test): Likewise.
7470 (csin_test): Likewise.
7471 (csinh_test): Likewise.
7472 * sysdeps/i386/fpu/libm-test-ulps: Update.
7473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7474
6ad13e08
L
74752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7476
f66f0ce8
L
7477 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7478 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7479
6ad13e08
L
7480 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7481
b1d072a7
JM
74822012-05-19 Joseph Myers <joseph@codesourcery.com>
7483
7484 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7485 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7486 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7487 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7488 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7489 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7490 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7491 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7492 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7493 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7494 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7495 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7496 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7497 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7498 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7499 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7500 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7501 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7502 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7503 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7504 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7505 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7506 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7507 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7508 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7509 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7510 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7511 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7512 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7513 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7514 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7515
9eae47cb
AJ
75162012-05-18 Andreas Jaeger <aj@suse.de>
7517
7518 * csu/.gitignore: Delete.
7519
bb07f69f
L
75202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7521
7522 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7523 (timex): Use __syscall_slong_t.
7524
e6bdb741
AJ
75252012-05-18 Andreas Jaeger <aj@suse.de>
7526 Carlos O'Donell <carlos_odonell@mentor.com>
7527
7528 * manual/install.texi (Configuring and compiling): Update
7529 description about files modified in the source directory.
d6c33fda 7530 * INSTALL: Regenerated.
e6bdb741 7531
1b74487e
L
75322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7533
7534 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7535 value. Use "or" to set return value to -1.
7536 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7537 negate return value.
7538
a88b64b9
TMQMF
75392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7540
7541 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7542 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7543 failure if the compiler has Graphite support disabled.
7544 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7545 Likewise.
7546 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7547 CFLAGS-memmove.c): Likewise.
7548 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7549 Likewise.
7550
3707636e
L
75512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7552
610b8622
L
7553 * sysdeps/x86_64/x32/_itoa.h: New file.
7554
7cd195df
L
7555 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7556 getdents system call only if kernel and user dirents have the
7557 same d_ino and d_off.
7558
94b07d20
L
7559 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7560 LLONG_MAX != LONG_MAX.
7561 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7562 (_fitoa_word): Likewise.
7563
18298070
L
7564 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7565 years.
7566 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7567 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7568 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7569
553c7ea4
L
7570 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7571 include <bits/wordsize.h>. Check __x86_64__ instead of
7572 __WORDSIZE.
7573 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7574 if __x86_64__ is defined. Use anonymous union on fpstate.
7575
3707636e
L
7576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7577 anonymous union.
7578
b53ef01a
AS
75792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7580
37fb1dc0
AS
7581 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7582 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7583 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7584 Refer to _rtld_local_ro instead of _rtld_global_ro.
7585 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7586 Likewise.
7587 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7588 Likewise.
7589 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7590 Likewise.
7591 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7592 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7593 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7594
b53ef01a
AS
7595 * sysdeps/powerpc/powerpc32/dl-machine.c
7596 (__elf_machine_runtime_setup) [PROF]: Don't reference
7597 _dl_prof_resolve.
7598
7a185db2
AJ
75992012-05-18 Andreas Jaeger <aj@suse.de>
7600
7601 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7602 function only available for GCCs before 3.4 since GCC 3.4
7603 introduced a builtin.
7604 (lrint): Likewise.
7605 (llrintf): Likewise.
7606 (llrint): Likewise.
7607 (fmaxf): Likewise.
7608 (fmax): Likewise.
7609 (fminf): Likewise.
7610 (fmin): Likewise.
7611 (rint): Likewise.
7612 (rintf): Likewise.
7613 (nearbyint): Likewise.
7614 (nearbyintf): Likewise.
7615 (ceil): Likewise.
7616 (ceilf): Likewise.
7617 (floor): Likewise.
7618 (floorf): Likewise.
7619
3e5aef87
L
76202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7621
428bd707
L
7622 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7623 on both fields and cast pointer to __syscall_ulong_t.
7624
3e5aef87
L
7625 * bits/types.h (__fsword_t): New type.
7626 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7627 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7629 (__FSWORD_T_TYPE): Likewise.
7630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7631 (__FSWORD_T_TYPE): Likewise.
7632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7633 (__FSWORD_T_TYPE): Likewise.
7634 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7635 (__FSWORD_T_TYPE): Likewise.
7636 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7637 __SWORD_TYPE with __fsword_t.
7638 (statfs64): Likewise.
7639
1ba7c3dc
DM
76402012-05-17 David S. Miller <davem@davemloft.net>
7641
7642 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7643
59910343
AJ
76442012-05-17 Andreas Jaeger <aj@suse.de>
7645
7646 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7647 warning.
7648
2e4c1e9e
L
76492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7650
7651 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7652
de7f5ce7
AJ
76532012-05-17 Andreas Jaeger <aj@suse.de>
7654
7655 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7656 when it is used.
7657
286abc3d
CM
76582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7659
7660 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7661
477cc68e
L
76622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7663
7664 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7665 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7666
1a0994f5
CD
76672012-05-17 Andreas Jaeger <aj@suse.de>
7668 Carlos O'Donell <carlos_odonell@mentor.com>
7669
7670 [BZ #14059]
7671 * sysdeps/x86_64/multiarch/init-arch.h
7672 (bit_YMM_Usable): Rename to...
7673 (bit_AVX_Usable): ... this.
7674 (bit_FMA4_Usable): New macro.
7675 (bit_XMM_state): New macro.
7676 (bit_YMM_state): New macro.
7677 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7678 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7679 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7680 (CPUID_OSXSAVE): New macro.
7681 (CPUID_AVX): New macro.
7682 (CPUID_FMA4): New macro.
7683 (index_YMM_Usable): Rename to...
7684 (index_AVX_Usable): ... this.
7685 (HAS_AVX): Use HAS_ARCH_FEATURE.
7686 (HAS_FMA4): Likewise.
7687 (HAS_YMM_USABLE): Remove.
7688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7689 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7690 are present.
7691 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7692 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7693 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7694 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7695 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7696
0af797de
CM
76972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7698
7699 * math/libm-test.c: Support platforms without multiple rounding modes.
7700 * math/bug-nextafter.c: Support platforms without FP exceptions.
7701 * math/bug-nexttoward.c: Likewise.
7702 * math/test-fenv.c: Likewise.
7703 * math/test-misc.c: Likewise.
7704 * stdlib/bug-getcontext.c: Likewise.
7705
e39745ff
AJ
77062012-05-17 Andreas Jaeger <aj@suse.de>
7707
7708 * manual/examples/search.c (critter_cmp): Change signature to
7709 avoid warnings.
7710 * manual/string.texi (Collation Functions): Likewise.
7711
48970aba
L
77122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7713
7714 * bits/types.h: Fold copyright years.
7715 * bits/typesizes.h: Likewise.
7716 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7720 * time/time.h: Likewise.
7721
bedee953
PP
77222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7723
7724 [BZ #208]
7725 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7726 in instead of returning them. Return void.
7727 (__libc_mallinfo): Accumulate over all arenas.
7728 (__malloc_stats): Adjust for change in int_mallinfo interface.
7729
61653dfb
RM
77302012-05-16 Roland McGrath <roland@hack.frob.com>
7731
30b99d79
RM
7732 [BZ #10375]
7733 * configure.in (NM): Add AC_CHECK_TOOL for it.
7734 (libc_extra_cflags): New substituted variable.
7735 Check for -fstack-protector being used implicitly.
7736 * configure: Regenerated.
7737 * config.make.in (config-extra-cflags): New variable,
7738 gets @libc_extra_cflags@.
7739 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7740
61653dfb
RM
7741 [BZ #10375]
7742 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7743 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7744 * configure: Regenerated.
7745 * config.make.in (CPPUNDEFS): New substituted variable.
7746 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7747 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7748 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7749
661768bb
L
77502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7751
7752 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7753 (mq_attr): Use __syscall_slong_t.
7754
d4261567
L
77552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7756
7757 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7758 Check __x86_64__ instead of __WORDSIZE.
7759 (_STAT_VER_LINUX): Likewise.
7760 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7761 __syscall_ulong_t and __syscall_slong_t.
7762 (stat64): Likewise.
7763
cf3ff365
L
77642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7765
7766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7767
76cf3e4d
L
77682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7769
7770 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7771
a637753a
L
77722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7773
7774 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7775 __syscall_ulong_t.
7776
d5e05119
L
7777 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7778 include <bits/wordsize.h>. Check __x86_64__ instead of
7779 __WORDSIZE.
7780 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7781 defined.
7782 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7783
f62ee380
L
7784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7785 include <bits/wordsize.h>. Check __x86_64__ instead of
7786 __WORDSIZE.
7787 (user_regs_struct): Use "__extension__ unsigned long long"
7788 instead of "unsigned long" if __x86_64__ is defined.
7789 (user): Likewise. Pad after pointer field if __ILP32__ is
7790 defined.
7791
4e124ced
JM
77922012-05-16 Joseph Myers <joseph@codesourcery.com>
7793
6a3951a0
JM
7794 * configure.in (makeinfo): Require version 4.5 or later. Allow
7795 versions 5 to 9.
7796 * configure: Regenerated.
7797 * manual/install.texi (texinfo): Increase version requirement to
7798 4.5 or later.
7799 * INSTALL: Regenerated.
7800
4e124ced
JM
7801 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7802
953ca31a
L
78032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7804
7805 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7806
617aca05
L
7807 * sysdeps/x86_64/x32/ffs.c: New file.
7808
5762f7ae
L
7809 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7810 __syscall_ulong_t.
7811 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7812 defined. Use __syscall_ulong_t.
7813 (shminfo): Use __syscall_ulong_t.
7814 (shm_info): Likewise.
7815
a26b6856
L
7816 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7817 __syscall_ulong_t.
7818
cb2b9ef7
L
7819 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7820 <bits/wordsize.h>.
7821 (msgqnum_t): Use __syscall_ulong_t.
7822 (msglen_t): Likewise.
7823 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7824 __syscall_ulong_t.
7825
34683bb0
L
7826 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7827 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7828
84a68786
L
7829 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7830
48baa5f1
L
7831 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7832 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7833
180be88b
L
7834 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7835 __syscall_slong_t.
7836
5e90c8ad
L
7837 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7838 include <bits/wordsize.h>. Check __x86_64__ instead of
7839 __WORDSIZE.
7840
23dfb58b
L
7841 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7842 "unsigned long long int" if __x86_64__ is defined.
7843 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7844
ce5d54b0
L
7845 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7846 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7847 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7848
13dc9eac
L
7849 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7850 <stdint.h>.
7851 (GET_PC): Cast to uintptr_t first.
7852 (GET_FRAME): Likewise.
7853 (GET_STACK): Likewise.
7854
a7895d15
L
7855 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7856 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7857 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7858 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7859 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7860 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7861 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7862 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7863 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7864 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7865 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7866 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7867 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7868 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7869 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7871 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7872 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7873 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7874 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7875 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7876 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7877 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7878 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7879 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7880 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7881 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7882 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7883 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7884
656416c9
AS
78852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7886
5bd66283
AS
7887 * Makerules (+depfiles): Also collect depfiles from .oS in
7888 $(extra-objs).
7889 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7890 .oS, $(libnldbl-routines)).
7891
656416c9
AS
7892 * Makerules (native-compile-mkdep-flags): Define.
7893 * sunrpc/Makefile (extra-objs): Add $(addprefix
7894 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7895 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7896 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7897 calling $(make-target-directory).
7898
a46f2169
L
78992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7900
7901 * bits/types.h (__snseconds_t): Removed.
7902 * time/time.h (struct timespec): Replace __snseconds_t with
7903 __syscall_slong_t.
7904 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7905 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7906 Likewise.
7907 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7908 (__SNSECONDS_T_TYPE): Likewise.
7909 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7910 (__SNSECONDS_T_TYPE): Likewise.
7911 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7912 (__SNSECONDS_T_TYPE): Likewise.
7913
6af6528b
L
79142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7915
7916 * sysdeps/mach/hurd/bits/typesizes.h
7917 (__SYSCALL_SLONG_TYPE): New macro.
7918 (__SYSCALL_ULONG_TYPE): Likewise.
7919
de986b56
L
79202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7921
7922 * bits/types.h (__syscall_slong_t): New type.
7923 (__syscall_ulong_t): Likewise.
7924
7925 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7926 (__SYSCALL_ULONG_TYPE): Likewise.
7927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7928 (__SYSCALL_SLONG_TYPE): Likewise.
7929 (__SYSCALL_ULONG_TYPE): Likewise.
7930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7931 (__SYSCALL_SLONG_TYPE): Likewise.
7932 (__SYSCALL_ULONG_TYPE): Likewise.
7933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7934 (__SYSCALL_SLONG_TYPE): Likewise.
7935 (__SYSCALL_ULONG_TYPE): Likewise.
7936
85736dc7
L
79372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7938
7939 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7940 Add sigaltstack-offsets.sym.
7941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7942 <sigaltstack-offsets.h>.
7943 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7944 longjmp_msg pointer.
7945 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7946 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7947 signal stack.
7948 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7949
cc03b296
JM
79502012-05-15 Joseph Myers <joseph@codesourcery.com>
7951
a9538892
JM
7952 * elf/stackguard-macros.h: Remove file.
7953 * sysdeps/generic/stackguard-macros.h: New file.
7954 * sysdeps/i386/stackguard-macros.h: Likewise.
7955 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7956 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7957 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7958 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7959 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7960 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7961 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7962 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7963 <elf/stackguard-macros.h>.
7964
cc03b296
JM
7965 [BZ #14109]
7966 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7967 __aligned__ in attribute.
7968 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7969 (gregset_t): Likewise.
7970
93171016
L
79712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7972
7973 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7974 * sysdeps/x86_64/64/Implies-after: Here. New file.
7975 * sysdeps/x86_64/x32/Implies-after: New file.
7976
d86813a0
L
79772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7978
7979 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7980 and access return value for _dl_profile_fixup. Use R10_LP to
7981 load frame size.
7982
2953ec75
L
79832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7984
7985 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7986
3b550e9e
L
79872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7988
7989 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7990 * sysdeps/x86_64/x32/sysdep.h: New file.
7991
eda41706
L
79922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7993
7994 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7995 * sysdeps/x86_64/setjmp.S: Likewise.
7996
9ea01d93
AZ
79972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7998
7999 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8000 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8001 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8002 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8003 remove unused global constant.
8004
02a91938
CM
80052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8006
8007 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8008 include of <not-cancel.h>.
8009
6540185f
RM
80102012-05-15 Roland McGrath <roland@hack.frob.com>
8011
8012 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8013
509072a0
AJ
80142012-05-15 Jeff Law <law@redhat.com>
8015 Andreas Jaeger <aj@suse.de>
8016
8017 [BZ #13594]
8018 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8019 out from...
8020 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8021 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8022 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8023 code changing __hst_map_handle.map.
8024
ba75122d
RM
80252012-05-15 Roland McGrath <roland@hack.frob.com>
8026
8027 * configure.in (sysnames): Look for Implies-before and Implies-after
8028 files.
8029 * configure: Regenerated.
8030
890d8bd8
L
80312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8032
8033 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8034 8-byte data alignment with LP_SIZE alignment.
8035
f6ee6623
L
80362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8037
8038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8039 into R10_LP.
8040
ea2626f6
L
80412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8042
8043 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8044
085f715e
L
80452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8046
8047 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8048 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8049 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8050 Likewise.
8051 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8052
be8498fc
L
80532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8054
8055 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8056 (stackinfo_sub_sp): Likewise.
8057
70bc83b9
L
80582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8059
8060 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8061 RAX_LP.
8062
9bc0b730
L
80632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8064
8065 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8066 into R*_LP.
8067
6d2850e7
L
80682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8069
8070 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8071 sizes into R*_LP.
8072
3cb84561
L
80732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8074
8075 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8076
54e2ed81
L
80772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8078
8079 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8080 into R11_LP and load __x86_64_shared_cache_size_half into
8081 R8_LP.
8082
8a17f349
L
80832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8084
8085 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8086 R8_LP.
8087
777b1eea
AZ
80882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8089
8090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8091 logb for POWER7.
8092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8093 logbf for POWER7.
8094 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8095 logbl for POWER7.
8096 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8097 powerpc32/power7/fpu/s_logb.c via #include.
8098 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8099 powerpc32/power7/fpu/s_logbf.c via #include.
8100 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8101 powerpc32/power7/fpu/s_logbl.c via #include.
8102
d20d4ac2
JM
81032012-05-15 Joseph Myers <joseph@codesourcery.com>
8104
8105 * README.libm: Remove file.
8106
6cdef1ab
L
81072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8108
8109 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8110 count for x32. Use R*_LP and omit operand-size suffix.
8111
0b254d8f
L
81122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8113
8114 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8115 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8116 * sysdeps/x86_64/x32/shlib-versions: New file.
8117
ceb809dc
RM
81182012-05-14 Roland McGrath <roland@hack.frob.com>
8119
8120 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8121 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8122 Use _dl_fatal_printf instead.
8123
37f1abd4
JM
81242012-05-14 Joseph Myers <joseph@codesourcery.com>
8125
8126 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8127 set if not set by the user. Do not allow for being unset.
8128 * sysdeps/unix/sysv/linux/configure: Regenerated.
8129
11de3a33
L
81302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8131
8132 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8133 the `q' suffix from lea and replace .quad with ASM_ADDR.
8134
e02f153a
L
81352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8136
8137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8138 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8139 instead of $17.
8140 (PTR_DEMANGLE): Likewise.
8141
520ae0fd
L
81422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8143
8144 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8145 (LP_OP): Likewise.
8146 (ASM_ADDR): Likewise.
8147 (RAX_LP): Likewise.
8148 (RBP_LP): Likewise.
8149 (RBX_LP): Likewise.
8150 (RCX_LP): Likewise.
8151 (RDI_LP): Likewise.
8152 (RSI_LP): Likewise.
8153 (RSP_LP): Likewise.
8154 (R8_LP): Likewise.
8155 (R9_LP): Likewise.
8156 (R10_LP): Likewise.
8157 (R10_LP): Likewise.
8158 (R11_LP): Likewise.
8159 (R12_LP): Likewise.
8160 (R13_LP): Likewise.
8161 (R14_LP): Likewise.
8162 (R15_LP): Likewise.
8163
b985be81
L
81642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8165
8166 * sysdeps/x86_64/x32/dl-machine.h: New file.
8167
6a4888ff
AJ
81682012-05-14 Andreas Jaeger <aj@suse.de>
8169
8170 * manual/Makefile (subdir): Remove export of subdir.
8171 (all): Remove target.
8172 (.PHONY): Remove all from list.
8173 (mkinstalldirs): Remove.
8174 (.PHONY): Remove installdirs from list.
8175 ($(inst_infodir)/libc.info): Use make-target-directory.
8176 (installdirs): Remove.
8177 (subdir_%): Remove.
8178 (glibc-targets): Remove.
8179 (lib): Remove.
8180 (stubs): Remove.
8181 ($(objpfx)stubs ../po/manual.pot): Remove.
8182 ($(objpfx)stamp%): Remove.
8183 (make-target-directory): Remove.
8184 (subdir_install): Remove.
8185 (routines): Remove.
8186 (aux): Remove.
8187 (sources): Remove.
8188 (objects): Remove.
8189 (headers): Remove.
8190
8191 [BZ #13750]
8192 * manual/.gitignore: Remove, it's not needed anymore.
8193 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8194 all files in it.
8195 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8196 directory.
8197 (texis): Renamed to $(objpfx)texis.
8198 (texis-path): New, contains path to generated files.
8199 (chapters.%): Use texis-path for complete path, add extra argument
8200 libc-texinfo.sh.
8201 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8202 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8203 (summary,texi, stamp-summary): Use complete path of
8204 files. Generate files in build dir.
8205 (dir-add.texi): Build in build dir.
8206 (libm-err.texi,stamp-libm-err): Likewise.
8207 (version.texi, stamp-version): Likewise.
8208 (.%c.texi): Likewise.
8209 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8210 (mostlyclean): Remove target.
8211 (realclean): Remove target.
8212 (generated): Add new variable with contents from mostlyclean and
8213 realclean, remove entries duplicated in common-mostlyclean, add
8214 stamp-libm-err and stamp-version.
8215 (generated-dirs): Add libc directory.
8216 ($(inst_infodir)/libc.info): Install files from build dir.
8217
8218 * manual/install.texi (Configuring and compiling): Adjust since
8219 the info files are not part of the tar ball anymore.
8220
7ac77294
AJ
82212012-05-14 Andreas Jaeger <aj@suse.de>
8222
8223 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8224 variable.
8225
ffb7875d
JM
82262012-05-14 Joseph Myers <joseph@codesourcery.com>
8227
8228 [BZ #13717]
8229 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8230 to 2.2.0 where earlier.
8231 * sysdeps/unix/sysv/linux/configure: Regenerated.
8232 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8233 Remove conditional code.
8234 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8235 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8236 Remove conditional code.
8237 [!__NR_lchown]: Likewise.
8238 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8239 [__NR_lchown]: Likewise.
8240 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8241 comment referencing __ASSUME_LCHOWN_SYSCALL.
8242 * sysdeps/unix/sysv/linux/i386/sigaction.c
8243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8245 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8246 Remove conditional code.
8247 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8248 (__protocol_available): Remove #if 0 code.
8249 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8250 conditional code.
8251 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8252 * sysdeps/unix/sysv/linux/kernel-features.h
8253 (__ASSUME_GETCWD_SYSCALL): Don't define.
8254 (__ASSUME_REALTIME_SIGNALS): Likewise.
8255 (__ASSUME_PREAD_SYSCALL): Likewise.
8256 (__ASSUME_PWRITE_SYSCALL): Likewise.
8257 (__ASSUME_POLL_SYSCALL): Likewise.
8258 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8259 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8260 non-SPARC.
8261 (__ASSUME_SIOCGIFNAME): Don't define.
8262 (__ASSUME_MSG_NOSIGNAL): Likewise.
8263 (__ASSUME_SENDFILE): Define unconditionally.
8264 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8265 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8266 conditional code.
8267 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8268 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8269 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8270 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8271 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8272 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8273 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8275 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8278 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8281 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8284 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8287 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8290 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8293 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8296 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8298 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8299 Remove conditional code.
8300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8301 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8302 Remove conditional code.
8303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8304 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8305 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8306 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8307 Remove conditional code.
8308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8309 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8310 Remove conditional code.
8311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8312 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8313 Remove conditional code.
8314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8315 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8316 Remove conditional code.
8317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8318 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8319 Remove conditional code.
8320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8321 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8324 * sysdeps/unix/sysv/linux/sigaction.c
8325 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8326 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8327 * sysdeps/unix/sysv/linux/sigpending.c
8328 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8329 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8330 * sysdeps/unix/sysv/linux/sigprocmask.c
8331 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8332 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8333 * sysdeps/unix/sysv/linux/sigsuspend.c
8334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8336 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8337 (__libc_missing_rt_sigs): Remove.
8338 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8339 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8340 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8341 Remove conditional code.
8342 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8343 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8344 return 1.
8345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8346 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8347 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8348 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8349
1bfb7291
AJ
83502012-05-14 Andreas Jaeger <aj@suse.de>
8351
caae5a81
AJ
8352 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8353 it's not used in glibc.
8354 (__coshm1): Likewise.
8355 (__acosh1p): Likewise.
8356 (__sgn): Likewise.
8357
1bfb7291
AJ
8358 * manual/string.texi (Copying and Concatenation): Add missing
8359 variable in concat example.
8360 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8361
c044d724
L
83622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8363
144c5467 8364 [BZ #14103]
c044d724
L
8365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8366 __builtin_clzl with __builtin_clzll.
8367
2523c62b
L
83682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8369
8370 [BZ #14104]
8371 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8372 libc_freeres_ptr.
8373
d7bb4c42
LD
83742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8375
8376 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8377 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8378 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8379 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8380
9dc4e1fb
MF
83812012-05-14 Mike Frysinger <vapier@gentoo.org>
8382
8383 * NEWS: Update ia64 info.
8384
c7df0112
AS
83852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8386
8387 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8388 used as bcopy.
8389
dc70356c
TS
83902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8391
8392 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8393 * sysdeps/unix/syscalls.list (dup3): Likewise.
8394 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8395 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8396
9fb1a21f
L
83972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8398
8399 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8400 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8401
4822a2a5
L
84022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8403
8404 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8405 thread pointer.
8406 (TLS_IE): Use mov/add instead of movq/addq to load thread
8407 pointer.
8408 (TLS_GD_PREFIX): New.
8409 (TLS_GD): Use it.
8410
842b81d6
DM
84112012-05-11 David S. Miller <davem@davemloft.net>
8412
8413 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8414 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8415 (_FPU_SETCW): Likewise.
8416
1cf463cd
L
84172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8418
8419 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8420 is 32-byte aligned.
8421
60cc4a18
AS
84222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8423
8424 [BZ #11837]
8425 * iconvdata/gb18030.c: Update tables.
8426 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8427 characters specially.
8428 (BODY for TO_LOOP): Add encoding of missing ranges.
8429
febb44a4
TS
84302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8431
8432 [BZ #13673]
8433 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8434 * sysdeps/mach/hurd/dup3.c: Likewise.
8435 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8436 * sysdeps/powerpc/memmove.c:: Likewise.
8437
0a10fb9e
L
84382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8439
8440 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8441 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8442
df8a552f
L
84432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * elf/elf.h (R_X86_64_RELATIVE64): New.
8446 (R_X86_64_NUM): Updated.
8447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8448 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8449 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8450 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8451 tst-quad1pie tst-quad2pie
8452 (modules-names): Add tst-quadmod1 tst-quadmod2.
8453 ($(objpfx)tst-quad1): New dependency.
8454 ($(objpfx)tst-quad2): Likewise.
8455 ($(objpfx)tst-quad1pie): Likewise.
8456 ($(objpfx)tst-quad2pie): Likewise.
8457 * sysdeps/x86_64/tst-quad1.c: New file.
8458 * sysdeps/x86_64/tst-quad1pie.c: New file.
8459 * sysdeps/x86_64/tst-quad2.c: Likewise.
8460 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8461 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8462 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8463 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8464 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8465
f34d6f84
ST
84662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8467
f42d41d1
ST
8468 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8469 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8470 * streams/stropts.h (t_scalar_t): Define type.
8471
3c3571fc
ST
8472 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8473 (_PATH_PRESERVE): Set to "/var/lib".
8474 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8475
61f06bd3
ST
8476 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8477 instead of int.
8478
918d4d71
ST
8479 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8480 if __dir_mkfile succeeded.
8481
f34d6f84
ST
8482 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8483 checking for _hurd_dtablesize. Unlock it right after having
8484 finished _hurd_dtable allocation.
8485
10589b4a
TS
84862012-05-10 Thomas Schwinge <thomas@schwinge.name>
8487
674cdbc7
TS
8488 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8489 * sysdeps/mach/hurd/configure: Regenerated.
8490 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8491 special-casing to...
8492 * sysdeps/gnu/configure.in: ... this new file.
8493 * sysdeps/unix/sysv/linux/configure: Regenerated.
8494 * sysdeps/gnu/configure: New generated file.
8495
8e41b99f
TS
8496 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8497 for Linux: use nsec instead of usec, as well as:
8498 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8499 members of type struct timespec.
8500 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8501 New macros.
8502 (struct stat64): Likewise.
8503 (_STATBUF_ST_NSEC): New macro.
8504 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8505
10589b4a
TS
8506 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8507 __strtoul_internal rather than strtoul.
8508
63643c85
PT
85092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8510
8511 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8512 and reject them.
8513
3faebe6a
ST
85142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8515
8516 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8517 which preserves existing values.
8518 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8519
c6474b07
PT
85202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8521
8522 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8523 TIMEOUT values. Return EINVAL for NFDS values either negative or
8524 greater than FD_SETSIZE.
8525
1043890b
ST
85262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8527
8528 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8529 allocated, call __vm_protect to finish enabling the existing space, and
8530 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8531 allocate the remainder.
8532
37ed8b9b
PT
85332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8534
8535 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8536 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8537
db653660
ST
85382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8539
37ed8b9b
PT
8540 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8541 sysdeps/mach/hurd/readlink.c.
b29d4053 8542
db653660
ST
8543 * posix/tst-sysconf.c (posix_options): Only use
8544 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8545 _POSIX_SYNCHRONIZED_IO when they are defined
8546 * sysdeps/mach/hurd/bits/posix_opt.h:
8547 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8548 (_XOPEN_REALTIME): Undefine macro.
8549 (_XOPEN_REALTIME_THREADS): Undefine macro.
8550 (_XOPEN_SHM): Undefine macro.
8551 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8552 macro to -1.
8553 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8554 macro to -1.
8555 (_POSIX_ASYNC_IO): Undefine macro.
8556 (_POSIX_PRIORITIZED_IO): Undefine macro.
8557 (_POSIX_SPIN_LOCKS): Define macro to -1.
8558
ee16e894
ST
8559 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8560 SA_NODEFER, SA_RESETHAND.
8561 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8562 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8563 F_DUPFD_CLOEXEC.
8564
6103ae3b
TS
85652012-05-10 Thomas Schwinge <thomas@schwinge.name>
8566
8567 * elf/Makefile (pldd-modules): Define unconditionally.
8568
80b4e5f3
TS
85692012-05-10 Thomas Schwinge <thomas@schwinge.name>
8570
8571 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8572
edadcbd6
ST
85732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8574
8575 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8576 Return ENOENT when name is empty.
8577 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8578
80694780
TS
85792012-05-10 Thomas Schwinge <thomas@schwinge.name>
8580
1792c087
TS
8581 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8582
80694780
TS
8583 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8584
6b645f0d
ST
85852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8586
80694780
TS
8587 Fix mlock in all cases except non-readable pages.
8588 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8589 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8590
6b645f0d
ST
8591 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8592 (__mkdir): When path is `/', just fail with EEXIST.
8593 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8594
e468f8a3
TS
85952012-05-10 Thomas Schwinge <thomas@schwinge.name>
8596
8597 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8598 <sys/uio.h> (for writev).
8599 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8600 and <sys/param.h> (for MIN).
8601
a4186cff
PT
86022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8603
8604 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8605 REQUESTED_TIME. Properly set the remaining time and return EINTR
8606 if interrupted.
8607
510bbf14
TS
86082012-05-10 Thomas Schwinge <thomas@schwinge.name>
8609
8610 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8611 Depend on against $(link-rpcuserlibs).
8612
5d5722e8
ST
86132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8614
a4186cff
PT
8615 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8616 (__libc_stack_end): Do not use attribute_relro.
8617 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8618 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8619 to libthread-provided value.
a4186cff
PT
8620 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8621 attribute_relro.
5d5722e8 8622
37233df9
TS
86232012-05-10 Thomas Schwinge <thomas@schwinge.name>
8624
be971a2b
TS
8625 [BZ #3748]
8626 * bits/libc-lock.h (__libc_once_get): New macro.
8627 * sysdeps/mach/bits/libc-lock.h: Likewise.
8628 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8629 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8630 instead of using implementation details.
8631
37233df9
TS
8632 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8633 * libio/freopen.c: Likewise.
8634 * libio/freopen64.c: Likewise.
8635 * misc/syslog.c: Likewise.
8636 * nscd/connections.c: Likewise.
8637 * nscd/netgroupcache.c: Likewise.
8638 * sysdeps/posix/getcwd.c: Likewise.
8639
38de94a5
RM
86402012-05-10 Roland McGrath <roland@hack.frob.com>
8641
8642 * math/w_ilogbf.c: Add #include <limits.h>.
8643
67530489
ST
86442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8645
a4186cff 8646 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8647 path instead of returning without unlocking.
8648
67530489
ST
8649 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8650 immediate-write ioctls.
8651 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8652
5aa3a74a
TS
86532012-05-10 Thomas Schwinge <thomas@schwinge.name>
8654
18bad2ae
TS
8655 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8656 __builtin_frame_address instead of making assumptions about the
8657 location of the return address relative to DATA. Force early load of
8658 the return address.
8659 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8660 __builtin_frame_address.
8661
5aa3a74a
TS
8662 dup3 for GNU Hurd.
8663 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8664 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8665 implement dup3 and do some further code clean-ups.
8666 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8667 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8668
ecd0de9a
ST
86692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8670
cd9fa985
ST
8671 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8672
a4186cff
PT
8673 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8674 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8675 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8676 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8677 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8678 d->port.lock.
802ca5a5 8679
a4186cff
PT
8680 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8681 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8682 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8683
bcf55240
TS
86842012-05-10 Thomas Schwinge <thomas@schwinge.name>
8685
6960eb42
TS
8686 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8687 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8688 definitions.
8689
eb43375f
TS
8690 accept4 for GNU Hurd.
8691 * include/sys/socket.h (__libc_accept4): New prototype.
8692 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8693 to implement __libc_accept4.
8694 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8695 __libc_accept4.
8696 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8697
bcf55240
TS
8698 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8699 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8700 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8701 signal-defines.sym.
8702
6178c55b
ST
87032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8704
a4186cff 8705 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8706
6f080c2f
TS
87072012-05-10 Thomas Schwinge <thomas@schwinge.name>
8708
8709 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8710 assertion on O_CLOEXEC flag.
8711 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8712 * hurd/intern-fd.c: Likewise.
8713 * hurd/port2fd.c: Likewise.
8714
bcfe3a54
ST
87152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8716
8717 [BZ #3906]
8718 * bits/in.h (IPV6_PKTINFO): Define new macro.
8719 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8720
89c9aa49
AZ
87212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8722
8723 [BZ #13954]
8724 [BZ #13955]
8725 [BZ #13956]
8726 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8728 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8731 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8732 * math/libm-test.inc (logb_test) : Additional logb tests.
8733
021db4be
AJ
87342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8735 Andreas Jaeger <aj@suse.de>
8736
8737 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8738 * configure: Regenerated.
8739 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8740 * config.make.in (link-obsolete-rpc): New substituted variable.
8741 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8742 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8743 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8744 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8745 so that libc.a contains the symbols.
8746 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8747 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8748 * sunrpc/auth_none.c: Likewise.
8749 * sunrpc/auth_unix.c: Likewise.
8750 * sunrpc/authdes_prot.c: Likewise.
8751 * sunrpc/authuxprot.c: Likewise.
8752 * sunrpc/clnt_gen.c: Likewise.
8753 * sunrpc/clnt_perr.c: Likewise.
8754 * sunrpc/clnt_raw.c: Likewise.
8755 * sunrpc/clnt_simp.c: Likewise.
8756 * sunrpc/clnt_tcp.c: Likewise.
8757 * sunrpc/clnt_udp.c: Likewise.
8758 * sunrpc/clnt_unix.c: Likewise.
8759 * sunrpc/des_crypt.c: Likewise.
8760 * sunrpc/des_soft.c: Likewise.
8761 * sunrpc/get_myaddr.c: Likewise.
8762 * sunrpc/key_call.c: Likewise.
8763 * sunrpc/key_prot.c: Likewise.
8764 * sunrpc/netname.c: Likewise.
8765 * sunrpc/pm_getmaps.c: Likewise.
8766 * sunrpc/pm_getport.c: Likewise.
8767 * sunrpc/pmap_clnt.c: Likewise.
8768 * sunrpc/pmap_prot.c: Likewise.
8769 * sunrpc/pmap_prot2.c: Likewise.
8770 * sunrpc/pmap_rmt.c: Likewise.
8771 * sunrpc/publickey.c: Likewise.
8772 * sunrpc/rpc_cmsg.c: Likewise.
8773 * sunrpc/rpc_common.c: Likewise.
8774 * sunrpc/rpc_dtable.c: Likewise.
8775 * sunrpc/rpc_prot.c: Likewise.
8776 * sunrpc/rpc_thread.c: Likewise.
8777 * sunrpc/rtime.c: Likewise.
8778 * sunrpc/svc.c: Likewise.
8779 * sunrpc/svc_auth.c: Likewise.
8780 * sunrpc/svc_raw.c: Likewise.
8781 * sunrpc/svc_run.c: Likewise.
8782 * sunrpc/svc_tcp.c: Likewise.
8783 * sunrpc/svc_udp.c: Likewise.
8784 * sunrpc/svc_unix.c: Likewise.
8785 * sunrpc/svcauth_des.c: Likewise.
8786 * sunrpc/xcrypt.c: Likewise.
8787 * sunrpc/xdr.c: Likewise.
8788 * sunrpc/xdr_array.c: Likewise.
8789 * sunrpc/xdr_float.c: Likewise.
8790 * sunrpc/xdr_intXX_t.c: Likewise.
8791 * sunrpc/xdr_mem.c: Likewise.
8792 * sunrpc/xdr_rec.c: Likewise.
8793 * sunrpc/xdr_ref.c: Likewise.
8794 * sunrpc/xdr_sizeof.c: Likewise.
8795 * sunrpc/xdr_stdio.c: Likewise.
8796
b5c086a2
RM
87972012-05-10 Roland McGrath <roland@hack.frob.com>
8798
8799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8800 change. Update copyright years.
8801
6d74dd09
JM
88022012-05-10 Joseph Myers <joseph@codesourcery.com>
8803
8804 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8805
28e72501
MK
88062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8807 Joseph Myers <joseph@codesourcery.com>
8808 Paul Pluzhnikov <ppluzhnikov@google.com>
8809
8810 [BZ #14012]
8811 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8812 requiring rpcgen.
8813 [cross-compiling] (extra-libs): Likewise.
8814 [cross-compiling] (extra-libs-others): Likewise.
8815 [cross-compiling] (librpcsvc-routines): Likewise.
8816 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8817 [cross-compiling] (omit-deps): Likewise.
8818 (sunrpc-CPPFLAGS): New variable.
8819 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8820 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8821 (cross-rpcgen-objs): New variable.
8822 (extra-objs): Append $(cross-rpcgen-objs).
8823 ($(cross-rpcgen-objs)): New rule.
8824 ($(objpfx)cross-rpcgen): Likewise.
8825 (rpcgen-cmd): Define to use $(built-program-file). Expand
8826 comment.
8827 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8828 ($(objpfx)x%.stmp): Likewise.
8829 * sunrpc/proto.h [IS_IN_build] (_): Define.
8830 [IS_IN_build] (_libc_intl_domainname): Likewise.
8831
c8c59454
L
88322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8833
8834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8835 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8836 and R_X86_64_TPOFF64.
8837
6f27cd16
JM
88382012-05-10 Joseph Myers <joseph@codesourcery.com>
8839
8840 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8841 sysdeps/unix/sysv/syscalls.list.
8842 (stime): Likewise.
8843 (utime): Likewise.
8844 * sysdeps/unix/sysv/syscalls.list: Remove file.
8845
02467e1c
PE
88462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8847
8848 [BZ #3440]
8849 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8850 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8851 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8852 (__LC_IDENTIFICATION): Make these macros useful in #if
8853 expressions, as required by C99.
8854
da392631
AS
88552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8856
8857 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8858 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8859 after this.
8860
8115f29b
L
88612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 * stdlib/longlong.h: Updated from GCC.
8864
bdd74070
AJ
88652012-05-09 Andreas Jaeger <aj@suse.de>
8866
edfe0dbe
AJ
8867 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8868 default is first entry.
8869 (run_mode): Set type.
8870 (main): Remove informal message about syslog.
8871 (options): Fix typo.
8872
bcfe3a54
ST
8873 [BZ #14053]
8874 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 8875 to asm.
bcfe3a54
ST
8876 (lrint): Likewise.
8877 (llrintf): Likewise.
8878 (llrint): Likewise.
8879 (rint): Likewise.
8880 (rintf): Likewise.
8881 (nearbyint): Likewise.
8882 (nearbyintf): Likewise.
bdd74070 8883
91d8d69e
AJ
88842012-05-09 Andreas Jaeger <aj@suse.de>
8885 Pedro Alves <palves@redhat.com>
8886
8887 * nscd/nscd.c (run_mode): Use enum.
8888 (main): Cleanup coding style issue.
8889
bb90b80b
AJ
88902012-05-09 Alexandre Oliva <aoliva@redhat.com>
8891 Andreas Jaeger <aj@suse.de>
8892
bcfe3a54
ST
8893 * nscd/nscd.c (go_background): Replaced with...
8894 (run_mode): ... this.
bb90b80b 8895 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
8896 (options): Add -F --foreground.
8897 (main): Implement it.
8898 (parse_opt): Parse it.
bb90b80b 8899
1a4b75a1
AJ
89002012-05-09 Andreas Jaeger <aj@suse.de>
8901
8902 [BZ #14083]
8903 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8904 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8905 -Wconversion warning.
8906 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8907 Likewise.
8908
b1cc2472
JM
89092012-05-09 Joseph Myers <joseph@codesourcery.com>
8910
8911 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8912 == 0.
8913 (LC_ALL): Use macro-int-constant.
8914 (LC_COLLATE): Likewise.
8915 (LC_CTYPE): Likewise.
8916 (LC_MESSAGES): Likewise.
8917 (LC_MONETARY): Likewise.
8918 (LC_NUMERIC): Likewise.
8919 (LC_TIME): Likewise.
8920 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8921 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8923 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8924 Specify type.
8925 [C99-based standards] (float_t): Expect type.
8926 [C99-based standards] (double_t): Expect type.
8927 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8928 type.
8929 [C99-based standards] (HUGE_VALL): Likewise.
8930 [C99-based standards] (INFINITY): Likewise.
8931 [C99-based standards] (NAN): Likewise.
8932 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8933 [C99-based standards] (FP_NAN): Likewise.
8934 [C99-based standards] (FP_NORMAL): Likewise.
8935 [C99-based standards] (FP_SUBNORMAL): Likewise.
8936 [C99-based standards] (FP_ZERO): Likewise.
8937 [C99-based standards] (FP_FAST_FMA): Use
8938 optional-macro-int-constant. Specify type. Require == 1.
8939 [C99-based standards] (FP_FAST_FMAF): Likewise.
8940 [C99-based standards] (FP_FAST_FMAL): Likewise.
8941 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8942 [C99-based standards] (FP_ILOGBNAN): Likewise.
8943 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8944 Specify type.
8945 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8946 [C99-based standards] (math_errhandling): Specify type.
8947 [ISO99 || ISO11] (signgam): Do not allow.
8948 [non-C99-based standards] (copysignf): Do not allow.
8949 [non-C99-based standards] (exp2f): Likewise.
8950 [non-C99-based standards] (log2f): Likewise.
8951 [non-C99-based standards] (modff): Allow.
8952 [non-C99-based standards] (erff): Do not allow.
8953 [non-C99-based standards] (erfcf): Likewise.
8954 [non-C99-based standards] (gammaf): Likewise.
8955 [non-C99-based standards] (hypotf): Likewise.
8956 [non-C99-based standards] (j0f): Likewise.
8957 [non-C99-based standards] (j1f): Likewise.
8958 [non-C99-based standards] (jnf): Likewise.
8959 [non-C99-based standards] (lgammaf): Likewise.
8960 [non-C99-based standards] (tgammaf): Likewise.
8961 [non-C99-based standards] (y0f): Likewise.
8962 [non-C99-based standards] (y1f): Likewise.
8963 [non-C99-based standards] (ynf): Likewise.
8964 [non-C99-based standards] (isnanf): Likewise.
8965 [non-C99-based standards] (acoshf): Likewise.
8966 [non-C99-based standards] (asinhf): Likewise.
8967 [non-C99-based standards] (atanhf): Likewise.
8968 [non-C99-based standards] (cbrtf): Likewise.
8969 [non-C99-based standards] (expm1f): Likewise.
8970 [non-C99-based standards] (ilogbf): Likewise.
8971 [non-C99-based standards] (log1pf): Likewise.
8972 [non-C99-based standards] (logbf): Likewise.
8973 [non-C99-based standards] (nextafterf): Likewise.
8974 [non-C99-based standards] (remainderf): Likewise.
8975 [non-C99-based standards] (rintf): Likewise.
8976 [non-C99-based standards] (scalbf): Likewise.
8977 [non-C99-based standards] (copysignl): Likewise.
8978 [non-C99-based standards] (exp2l): Likewise.
8979 [non-C99-based standards] (log2l): Likewise.
8980 [non-C99-based standards] (modfl): Allow.
8981 [non-C99-based standards] (erfl): Do not allow.
8982 [non-C99-based standards] (erfcl): Likewise.
8983 [non-C99-based standards] (gammal): Likewise.
8984 [non-C99-based standards] (hypotl): Likewise.
8985 [non-C99-based standards] (j0l): Likewise.
8986 [non-C99-based standards] (j1l): Likewise.
8987 [non-C99-based standards] (jnl): Likewise.
8988 [non-C99-based standards] (lgammal): Likewise.
8989 [non-C99-based standards] (tgammal): Likewise.
8990 [non-C99-based standards] (y0l): Likewise.
8991 [non-C99-based standards] (y1l): Likewise.
8992 [non-C99-based standards] (ynl): Likewise.
8993 [non-C99-based standards] (isnanl): Likewise.
8994 [non-C99-based standards] (acoshl): Likewise.
8995 [non-C99-based standards] (asinhl): Likewise.
8996 [non-C99-based standards] (atanhl): Likewise.
8997 [non-C99-based standards] (cbrtl): Likewise.
8998 [non-C99-based standards] (expm1l): Likewise.
8999 [non-C99-based standards] (ilogbl): Likewise.
9000 [non-C99-based standards] (log1pl): Likewise.
9001 [non-C99-based standards] (logbl): Likewise.
9002 [non-C99-based standards] (nextafterl): Likewise.
9003 [non-C99-based standards] (remainderl): Likewise.
9004 [non-C99-based standards] (rintl): Likewise.
9005 [non-C99-based standards] (scalbl): Likewise.
9006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9007 [non-C99-based standards] (FP_*): Do not allow.
9008 [C99-based standards] (FP_*): Change to
9009 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9010 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9011 allow.
9012 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9013 (SIG_ERR): Likewise.
9014 [X/Open-based standards] (SIG_HOLD): Likewise.
9015 (SIG_IGN): Likewise.
9016 (SIGABRT): Use macro-int-constant. Specify type. Require
9017 positive value.
9018 (SIGFPE): Likewise.
9019 (SIGILL): Likewise.
9020 (SIGINT): Likewise.
9021 (SIGSEGV): Likewise.
9022 (SIGTER): Likewise.
9023 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9024 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9025 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9026 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9027 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9028 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9029 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9030 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9031 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9032 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9033 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9034 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9035 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9036 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9037 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9038 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9039 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9040 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9041 [X/Open-based standards] (SIGTRAP): Likewise.
9042 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9043 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9044 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9045 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9046 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9047 allow.
9048
b9f1922d
IW
90492012-05-08 Ian Wienand <ianw@vmware.com>
9050
9051 [BZ #14080]
9052 * time/tzset.c (__tzset_parse_tz): Update default rules for
9053 daylight time changes in the Energy Policy Act of 2005.
9054
1db86e88
AJ
90552012-05-09 Andreas Jaeger <aj@suse.de>
9056
9057 [BZ #13983]
9058 * elf/ldconfig.c (parse_conf): Change string to make clear that
9059 ldconfig only issued a warning if ld.so.conf does not exist.
9060
dee4a4e3
DM
90612012-05-08 David S. Miller <davem@davemloft.net>
9062
ee0db190
DM
9063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9064 movxtod instead of popping the value on the stack.
9065
dee4a4e3
DM
9066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9067
6a43ec98
CD
90682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9069
9070 * config.h.in: Add HAVE_ARM_PCS_VFP.
9071
05c2c961
RMG
90722012-05-08 Roland Mc Grath <roland@hack.frob.com>
9073
bcfe3a54
ST
9074 [BZ #13979]
9075 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9076 checking but the checks are disabled for any reason.
05c2c961 9077
4b30f61a
L
90782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9081 and ELF64_R_TYPE with ELFW(R_TYPE).
9082
eee2bc67
JM
90832012-05-08 Joseph Myers <joseph@codesourcery.com>
9084
7ea5391a
JM
9085 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9086 (ulimit): Likewise.
9087
eee2bc67
JM
9088 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9089 (settimeofday): Likewise.
9090
abb66a67
MF
90912012-05-08 Mike Frysinger <vapier@gentoo.org>
9092
9093 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9094 a struct th_u2 inside the union, and move tu_block/tu_code into
9095 a new th_u3 union of tu_block/tu_code inside of that. Move
9096 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9097 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9098 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9099 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9100 (th_stuff): Change to th_u1.tu_stuff.
9101 (th_data): Define.
9102 (th_msg): Change to th_u1.th_u2.tu_data.
9103
7f18b530
DM
91042012-05-07 David S. Miller <davem@davemloft.net>
9105
05760585
DM
9106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9107
7f18b530
DM
9108 [BZ #14074]
9109 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9110 (SETUP_PIC_REG): Use it.
9111 (SETUP_PIC_REG_LEAF): Use it.
9112
495fd99f
JM
91132012-05-07 Joseph Myers <joseph@codesourcery.com>
9114
9115 [BZ #13885]
9116 [BZ #13923]
9117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9118 USE_AS_EXPM1L.
9119 (EXPL_FINITE): Likewise.
9120 (FLDLOG): Likewise.
9121 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9122 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9123 e_expl.S.
9124 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9125 USE_AS_EXPM1L.
9126 (EXPL_FINITE): Likewise.
9127 (FLDLOG): Likewise.
9128 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9129 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9130 e_expl.S.
9131 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9132 test of -max_value argument for long double.
9133 * sysdeps/i386/fpu/libm-test-ulps: Update.
9134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9135
6693d694
DM
91362012-05-06 David S. Miller <davem@davemloft.net>
9137
9138 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9139 quad soft-float symbols whose references which are compiler
9140 generated.
9141 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9142
6c23e11c
JM
91432012-05-06 Joseph Myers <joseph@codesourcery.com>
9144
d8b82cad
JM
9145 [BZ #13884]
9146 [BZ #13914]
9147 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9148 USE_AS_EXP10L.
9149 (EXPL_FINITE): Likewise.
9150 (FLDLOG): Likewise.
9151 (c0): Likewise.
9152 (c1): Likewise.
9153 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9154 Adjust comments for base varying.
9155 (__expl_finite): Change alias to EXPL_FINITE.
9156 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9157 e_expl.S.
9158 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9159 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9161 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9163 USE_AS_EXP10L.
9164 (EXPL_FINITE): Likewise.
9165 (FLDLOG): Likewise.
9166 (c0): Likewise.
9167 (c1): Likewise.
9168 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9169 Adjust comments for base varying.
9170 (__expl_finite): Change alias to EXPL_FINITE.
9171 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9172 tests for bugs.
9173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9174
6c23e11c
JM
9175 [BZ #14064]
9176 * math/libm-test.inc (check_float_internal): Correct ulp
9177 calculation for subnormal expected results.
9178
29ba805c
AJ
91792012-05-06 Andreas Jaeger <aj@suse.de>
9180
9181 * Makeconfig (+math-flags): New, set to -frounding-math.
9182 (+cflags): Add +math-flags so that all of glibc gets compiled with
9183 it.
9184
9185 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9186
7b17aeda
JM
91872012-05-05 Joseph Myers <joseph@codesourcery.com>
9188
5779f134
JM
9189 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9190 Disable one test.
9191
41498f4d
JM
9192 [BZ #13787]
9193 [BZ #13922]
9194 [BZ #14036]
9195 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9196 (__ieee754_expl): Allow for and saturate large arguments.
9197 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9198 (u_threshold): Likewise.
9199 (__exp): Call __ieee754_exp before checking for overflow and
9200 underflow.
9201 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9202 (u_threshold): Likewise.
9203 (__expf): Call __ieee754_expf before checking for overflow and
9204 underflow.
9205 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9206 (u_threshold): Likewise.
9207 (__expl): Call __ieee754_expl before checking for overflow and
9208 underflow.
9209 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9210 (__ieee754_expl): Allow for and saturate large arguments.
9211 * math/libm-test.inc (exp_test): Add another test. Do not allow
9212 missing overflow exception on overflow.
9213 (expm1_test): Do not allow missing overflow exception on overflow.
9214
6698b8bf
JM
9215 * sysdeps/i386/fpu/e_expl.c: Move to ...
9216 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9217 rather than using inline asm.
9218 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9219 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9220 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9221
7b17aeda
JM
9222 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9223 (nice): Likewise.
9224 (poll): Likewise.
9225 (signal): Likewise.
9226 (time): Likewise.
9227 (times): Likewise.
9228
f7c85819
JM
92292012-05-04 Joseph Myers <joseph@codesourcery.com>
9230
9231 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9232 sysdeps/unix/common/syscalls.list.
9233 (fchmod): Likewise.
9234 (fchown): Likewise.
9235 (ftruncate): Likewise.
9236 (getrusage): Likewise.
9237 (gettimeofday): Likewise.
9238 (setpgid): Likewise.
9239 (setregid): Likewise.
9240 (setreuid): Likewise.
9241 (sigaction): Likewise.
9242 (truncate): Likewise.
9243 (vhangup): Likewise.
9244 * sysdeps/unix/common/syscalls.list: Remove file.
9245 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9246 * sysdeps/unix/sysv/linux/Implies: Likewise.
9247
336270d0
L
92482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9249
9250 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9252 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9253 Moved to ...
9254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9255 Here.
9256 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9257 to ...
9258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9259 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9260 to ...
9261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9262 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9263 to ...
9264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9265 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9266 to ...
9267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9268 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9269 to ...
9270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9271 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9272 to ...
9273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9274 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9275 to ...
9276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9277 Here.
9278 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9279 to ...
9280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9281 Here.
9282 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9283 to ...
9284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9285 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9286 Moved to ...
9287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9288 Here.
9289 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9290 to ...
9291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9292
d128e450
JM
92932012-05-04 Joseph Myers <joseph@codesourcery.com>
9294
fa8ee516
JM
9295 * sysdeps/unix/common/bits/dirent.h: Remove file.
9296 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9297
d128e450
JM
9298 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9299 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9300 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9301 * sysdeps/unix/bsd/isatty.c: Likewise.
9302 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9303 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9304 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9305
ff8faaf0 93062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9307
62881be4 9308 [BZ #13563]
31dc8730
AZ
9309 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9310 long double comparison inaccuracies.
9311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9313
6fef930c
AS
93142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9315
9316 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9317 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9318
8f203e6c
JM
93192012-05-04 Joseph Myers <joseph@codesourcery.com>
9320
9321 [BZ #14049]
9322 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9323 nonzero digits before rounding a hex value.
9324 * stdlib/tst-strtod.c (tests): Add another test.
9325
5197d9c2
AK
93262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9327
9328 * sysdeps/s390/fpu/libm-test-ulps: Update.
9329
f0c1dedf
AJ
93302012-05-03 Andreas Jaeger <aj@suse.de>
9331
9332 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9333 does not get optimized out.
9334 (malloc_opt_barrier): New.
9335
a65ef2ae 93362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9337 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9338
2b942cb7 9339 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9340 intermediate file deletion.
2b942cb7 9341 (generated): Add .symlist files.
a65ef2ae 9342
54b71e02
JM
93432012-05-03 Joseph Myers <joseph@codesourcery.com>
9344
9345 [BZ #13775]
9346 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9347 Redirect under this condition.
9348 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9349 [__USE_GNU] (__dprintf_chk): Not under this condition.
9350 [__USE_GNU] (__vdprintf_chk): Likewise.
9351 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9352 under this condition.
9353 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9354 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9355 [__USE_XOPEN2K8] (vdprintf): Likewise.
9356 [__USE_GNU] (__dprintf_chk): Not under this condition.
9357 [__USE_GNU] (__vdprintf_chk): Likewise.
9358 [__USE_GNU] (dprintf): Likewise.
9359 [__USE_GNU] (vdprintf): Likewise.
9360
d3dfcc41
RM
93612012-05-03 Roland McGrath <roland@hack.frob.com>
9362
9363 * elf/Makefile (common-generated): Set this instead of generated for
9364 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9365 $(all-built-dso)-derived lists.
9366
7ac30cc5
AJ
93672012-05-03 Andreas Jaeger <aj@suse.de>
9368
0c51e550
AJ
9369 * sysdeps/i386/fpu/libm-test-ulps: Update.
9370
7ac30cc5
AJ
9371 * FAQ: Removed.
9372 * FAQ.in: Likewise.
9373 * scripts/gen-FAQ.pl: Likewise.
9374 * manual/install.texi (Installation): Point to online location of
9375 FAQ.
9376 * Makefile (files-for-dist): Remove FAQ.
9377 (FAQ): Remove.
9378
d4c2917f
AM
93792012-05-02 Allan McRae <allan@archlinux.org>
9380
9381 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9382 (LDFLAGS-reldepmod5.so): Likewise.
9383 (LDFLAGS-reldep6mod1.so): Likewise.
9384 (LDFLAGS-reldep6mod4.so): Likewise.
9385 (LDFLAGS-reldep8mod3.so): Likewise.
9386 (LDFLAGS-unload4mod1.so): Likewise.
9387 (LDFLAGS-unload4mod2.so): Likewise.
9388 (LDFLAGS-tst-initorder): Likewise.
9389 (LDFLAGS-tst-initordera2.so): Likewise.
9390 (LDFLAGS-tst-initordera3.so): Likewise.
9391 (LDFLAGS-tst-initordera4.so): Likewise.
9392 (LDFLAGS-tst-initorderb2.so): Likewise.
9393 (LDFLAGS-noload): Likewise.
9394 (LDFLAGS-next): Likewise.
9395 (LDFLAGS-order2mod1.so): Likewise.
9396 (LDFLAGS-order2mod2.so): Likewise.
9397 (LDFLAGS-tst-initorder2): Likewise.
9398 (LDFLAGS-tst-initorder2a.so): Likewise.
9399 (LDFLAGS-tst-initorder2b.so): Likewise.
9400 (LDFLAGS-tst-initorder2c.so): Likewise.
9401 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9402
d77f993f
DM
94032012-05-02 David S. Miller <davem@davemloft.net>
9404
9405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9406
171a70b4
PP
94072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9408
9409 [BZ #14055]
9410 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9411
0be196ad
AJ
94122012-05-02 Andreas Jaeger <aj@suse.de>
9413
9414 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9415 since we manipulate rounding mode.
9416 (CPPFLAGS-test-idouble.c): Likewise.
9417 (CPPFLAGS-test-ifloat.c): Likewise.
9418 (CFLAGS-test-ldouble.c): Likewise.
9419 (CFLAGS-test-double.c): Likewise.
9420 (CFLAGS-test-float.c): Likewise.
9421 (CFLAGS-test-misc.c): Likewise.
9422 (CFLAGS-test-test-fenv.c): Likewise.
9423
4f9d04aa
AZ
94242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9425
2b942cb7
RM
9426 [BZ #2550]
9427 [BZ #2570]
9428 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9429 comparisons to determine direction to adjust input.
4f9d04aa 9430
82a79e7d
RM
94312012-05-01 Roland McGrath <roland@hack.frob.com>
9432
f5a01ca9
RM
9433 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9434 output to the target.
9435
90fe4186
RM
9436 * scripts/localplt.awk: New file.
9437 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9438 (check-localplt-CFLAGS): Variable removed.
9439 ($(all-built-dso:=.jmprel)): New static pattern rule.
9440 (generated): Add those targets.
9441 (localplt-built-dso): New variable.
9442 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9443
9444 * elf/check-localplt.c: File removed.
9445
82397ed6
RM
9446 * scripts/check-execstack.awk: New file.
9447 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9448 (check-execstack-CFLAGS): Variable removed.
9449 ($(objpfx)check-execstack.h): Target removed.
9450 ($(objpfx)execstack-default): New target.
9451 (generated): Add that instead of check-execstack.h.
9452 ($(all-built-dso:=.phdr)): New static pattern rule.
9453 (generated): Add those targets.
9454 * elf/check-execstack.c: File removed.
9455
82a79e7d
RM
9456 * scripts/check-textrel.awk: New file.
9457 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9458 (check-textrel-CFLAGS): Variable removed.
9459 (all-built-dso): Use := to define.o
9460 ($(all-built-dso:=.dyn)): New static pattern rule.
9461 (generated): Add those targets.
9462 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9463 * config.make.in (READELF): New substituted variable.
9464 * elf/check-textrel.c: File removed.
9465
62fde54f 94662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9467
615605c9
JM
9468 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9469 allow.
9470 * conform/data/ctype.h-data [C99-based standards] (isblank):
9471 Expect function.
9472 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9473 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9475 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9476 Specify type. Require positive value.
9477 (EILSEQ): Likewise.
9478 (ERANGE): Likewise.
9479 [ISO || POSIX] (EILSEQ): Do not expect.
9480 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9481 Specify type. Require positive value.
9482 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9483 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9484 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9485 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9486 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9487 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9488 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9489 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9490 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9491 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9492 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9493 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9494 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9495 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9496 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9497 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9498 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9499 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9500 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9501 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9502 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9503 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9504 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9505 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9506 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9507 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9508 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9509 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9510 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9511 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9513 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9514 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9515 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9516 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9517 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9518 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9519 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9520 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9521 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9522 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9523 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9524 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9525 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9526 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9527 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9528 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9529 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9530 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9531 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9532 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9533 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9534 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9535 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9536 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9537 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9538 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9539 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9540 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9541 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9542 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9543 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9544 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9545 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9546 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9547 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9548 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9549 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9550 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9551 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9552 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9553 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9554 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9555 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9556 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9557 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9558 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9559 Require >= 2.
9560 (FLT_ROUNDS): Expect as macro, not constant.
9561 (FLT_MANT_DIG): Use macro-int-constant.
9562 (DBL_MANT_DIG): Likewise.
9563 (LDBL_MANT_DIG): Likewise.
9564 (FLT_DIG): Likewise.
9565 (DBL_DIG): Likewise.
9566 (LDBL_DIG): Likewise.
9567 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9568 (DBL_MIN_EXP): Likewise.
9569 (LDBL_MIN_EXP): Likewise.
9570 (FLT_MAX_EXP): Use macro-int-constant.
9571 (DBL_MAX_EXP): Likewise.
9572 (LDBL_MAX_EXP): Likewise.
9573 (FLT_MAX_10_EXP): Likewise.
9574 (DBL_MAX_10_EXP): Likewise.
9575 (LDBL_MAX_10_EXP): Likewise.
9576 (FLT_MAX): Use macro-constant.
9577 (DBL_MAX): Likewise.
9578 (LDBL_MAX): Likewise.
9579 (FLT_EPSILON): Use macro-constant. Give upper bound.
9580 (DBL_EPSILON): Likewise.
9581 (LDBL_EPSILON): Likewise.
9582 (FLT_MIN): Likewise.
9583 (DBL_MIN): Likewise.
9584 (LDBL_MIN): Likewise.
9585 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9586 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9587 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9588 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9589 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9590 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9591 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9592 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9593 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9594 [ISO11] (FLT_TRUE_MIN): Likewise.
9595 [ISO11] (LDBL_TRUE_MIN): Likewise.
9596 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9597 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9598 (SCHAR_MIN): Use macro-int-constant. Specify type.
9599 (SCHAR_MAX): Likewise.
9600 (UCHAR_MAX): Likewise.
9601 (CHAR_MIN): Likewise.
9602 (CHAR_MAX): Likewise.
9603 (MB_LEN_MAX): Use macro-int-constant.
9604 (SHRT_MIN): Use macro-int-constant. Specify type.
9605 (SHRT_MAX): Likewise.
9606 (USHRT_MAX): Likewise.
9607 (INT_MAX): Likewise.
9608 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9609 bound negative.
9610 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9611 bound with "U".
9612 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9613 bound with "L".
9614 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9615 bound negative. Suffix upper bound with "L".
9616 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9617 bound with "UL".
9618 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9619 Specify type.
9620 [C99-based standards] (LLONG_MAX): Likewise.
9621 [C99-based standards] (ULLONG_MAX): Likewise.
9622 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9623 == 0.
9624 [ISO11] (max_align_t): Require type.
9625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9626
c9140a62
JM
9627 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9628 from $CFLAGS, without defining away __attribute__ calls.
9629 (checknamespace): Use $CFLAGS_namespace.
9630
9af0bf29
JM
9631 * conform/conformtest.pl (@keywords): Only include C99 keywords
9632 for standards based on C99 or C11.
9633
343222a2
JM
9634 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9635 Disable tests.
9636 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9637 UNIX98]: Likewise.
9638
661f8cf0
JM
9639 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9640 usability of symbols in #if.
9641
ee74b9cb
JM
9642 * conform/conformtest.pl: If macro or constant types start
9643 "promoted:", expect the symbol to be of the following type
9644 promoted by the integer promotions.
62fde54f 9645
aafc49b3
JM
9646 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9647 in one place. Also handle "macro-constant".
9648
fefdf574
JM
9649 * conform/conformtest.pl: Only accept expected macro values with
9650 "==". Parse all "macro" lines in one place.
9651 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9652
f2d922fe
JM
9653 * conform/conformtest.pl: Handle braced types on "constant" lines
9654 instead of handling "typed-constant".
9655 * conform/data/signal.h-data: Use "constant" instead of
9656 "typed-constant".
9657
d22956c9
JM
9658 * conform/conformtest.pl: Handle "optional-" at start of lines in
9659 one place rather than duplicating several cases. Handle each
9660 format of "macro" line with initial "optional-".
9661
028e2e38
JM
9662 * conform/conformtest.pl: Only accept expected constant or
9663 optional-constant values with "==". Parse all "constant" lines in
9664 one place. Parse all "optional-constant" lines in one place.
9665 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9666 * conform/data/fmtmsg.h-data: Likewise.
9667 * conform/data/netinet/in.h-data: Likewise.
9668 * conform/data/tar.h-data: Likewise.
9669 * conform/data/limits.h-data: Use "==" form on "constant" and
9670 "optional-constant" lines.
9671
1b8f2850
JM
9672 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9673 Use -std=c99 for XOPEN2K.
9674 (@knownproblems): Remove.
9675 (newtoken): Don't check %isknown.
9676
a05a144b
JM
9677 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9678 Do not expect macro.
9679 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9680 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9681 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9682 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9683 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9684 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9685 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9686 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9687 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9688 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9689 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9690 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9691 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9692 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9693 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9694 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9695 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9696 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9697 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9698 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9699 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9700 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9701 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9702 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9703 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9704 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9705 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9706 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9707 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9708 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9709 [XPG3] (acosh): Likewise.
9710 [XPG3] (asinh): Likewise.
9711 [XPG3] (atanh): Likewise.
9712 [XPG3] (cbrt): Likewise.
9713 [XPG3] (expm1): Likewise.
9714 [XPG3] (ilogb): Likewise.
9715 [XPG3] (log1p): Likewise.
9716 [XPG3] (logb): Likewise.
9717 [XPG3] (nextafter): Likewise.
9718 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9719 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9720 [XPG3] (remainder): Likewise.
9721 [XPG3] (rint): Likewise.
9722 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9723 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9724 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9725 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9726 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9727 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9728 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9729 [UNIX98 || XOPEN2K] (scalb): Expect.
9730 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9731 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9732 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9733 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9734 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9735 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9736 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9737 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9738 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9739 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9740 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9741 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9742 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9743 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9744 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9745 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9746 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9747 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9748 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9749 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9750 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9751 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9752 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9753 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9754 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9755 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9756 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9757 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9758 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9759 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9760 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9761 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9762 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9763 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9764 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9765 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9766 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9767 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9768 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9769 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9770 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9771 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9772 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9773 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9774 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9775 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9776 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9777 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9778 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9779 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9780 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9781 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9782 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9783 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9784 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9785 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9786 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9787 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9788 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9789 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9790 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9791 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9792 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9793 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9794 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9795 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9796 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9797 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9798 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9799 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9800 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9801 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9802 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9803 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9804 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9805 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9806 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9807 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9808 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9809 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9810 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9811 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9812 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9813 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9814 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9815 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9816 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9821 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9822 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9823 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9826 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9827 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9828 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9829 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9830 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9831 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9832 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9833 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9834 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9835 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9836 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9837 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9838 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9839 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9840 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9841 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9842 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9843 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9844 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9845 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9846 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9847 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9848 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9849 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9850 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9851 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9852 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9853 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9854 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9855 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9856 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9857 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9858 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9859 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9860 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9861 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9862 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9863 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9864 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9865 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9866 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9867
73c5ebe3
JM
9868 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9869 _XOPEN_SOURCE_EXTENDED for XPG4.
9870
39c33b6c
JM
9871 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9872
62fde54f
JM
9873 * Makeconfig (localtime): Remove variable.
9874 (inst_localtime-file): Likewise.
9875
0741d64c
AS
98762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9877
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9879 Update.
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9881 Update.
9882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9883 Update.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9885 Update.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9887 Update.
9888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9889 Update.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9891 Update.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9893 Update.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9895 Update.
9896
7cb029ee
JM
98972012-05-01 Joseph Myers <joseph@codesourcery.com>
9898
9899 [BZ #2550]
9900 [BZ #2570]
9901 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9902 comparisons to determine direction to adjust input.
9903 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9904 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9906 Likewise.
9907 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9908 Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9910 Likewise.
9911 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9912 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9913 Likewise.
9914 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9915 Likewise.
9916 * math/libm-test.inc (nexttoward_test): Add more tests.
9917
412bd966
AS
99182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9919
9920 [BZ #14040]
9921 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9922 in version GLIBC_2.1, not GLIBC_2.0.
9923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9924 Likewise.
9925
9568c0c2
JM
99262012-04-30 Joseph Myers <joseph@codesourcery.com>
9927
adfbc8ac
JM
9928 [BZ #13942]
9929 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9930 (1 - x) * (1 + x).
9931 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9932 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9933 * math/libm-test.inc (acos_test): Add more tests.
9934 (asin_test): Likewise.
9935 * sysdeps/i386/fpu/libm-test-ulps: Update.
9936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9937
5ba3cc69
JM
9938 [BZ #14034]
9939 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9940 of square root.
9941 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9942 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9943 * math/libm-test.inc (acos_test_tonearest): New function.
9944 (acos_test_towardzero): Likewise.
9945 (acos_test_downward): Likewise.
9946 (acos_test_upward): Likewise.
9947 (asin_test_tonearest): Likewise.
9948 (asin_test_towardzero): Likewise.
9949 (asin_test_downward): Likewise.
9950 (asin_test_upward): Likewise.
9951 (main): Call the new functions.
9952 * sysdeps/i386/fpu/libm-test-ulps: Update.
9953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9954
9568c0c2
JM
9955 [BZ #13884]
9956 [BZ #13924]
9957 * math/e_exp10.c: Include <float.h>.
9958 (__ieee754_exp10): Handle underflow here rather than multiplying
9959 large negative argument by M_LN10.
9960 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9961 of __ieee754_expf.
9962 * math/e_exp10l.c: Include <float.h>.
9963 (__ieee754_exp10l): Handle underflow here rather than multiplying
9964 large negative argument by M_LN10l.
9965 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9966 spurious overflow exception on underflow.
9967
5ac3ea17
MP
99682012-04-29 Marek Polacek <polacek@redhat.com>
9969
9970 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9971 (__fortify_function): New macro.
9972 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9973 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9974 __extern_always_inline.
9975 * libio/bits/stdio2.h: Likewise.
9976 * libio/bits/stdio.h: Likewise.
9977 * string/string.h: Likewise.
9978 * string/bits/string3.h: Likewise.
9979 * include/stdio.h: Likewise.
9980 * stdlib/bits/stdlib.h: Likewise.
9981 * stdlib/stdlib.h: Likewise.
9982 * rt/bits/mqueue2.h: Likewise.
9983 * rt/mqueue.h: Likewise.
9984 * posix/bits/unistd.h: Likewise.
9985 * posix/unistd.h: Likewise.
9986 * io/bits/poll2.h: Likewise.
9987 * io/bits/fcntl2.h: Likewise.
9988 * io/fcntl.h: Likewise.
9989 * io/sys/poll.h: Likewise.
9990 * misc/bits/syslog.h: Likewise.
9991 * misc/bits/syslog-ldbl.h: Likewise.
9992 * misc/sys/syslog.h: Likewise.
9993 * socket/bits/socket2.h: Likewise.
9994 * socket/sys/socket.h: Likewise.
9995 * debug/tst-chk1.c: Likewise.
9996 * wcsmbs/bits/wchar2.h: Likewise.
9997 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9998 * wcsmbs/wchar.h: Likewise.
9999
ecf0ebfb
AJ
100002012-04-29 Andreas Jaeger <aj@suse.de>
10001
10002 * Makerules (tests): Remove enable-check-abi protection.
10003 (check-abi-warn): Remove.
10004 (check-abi-%): Remove check-abi-warn usage.
10005
10006 * configure.in: Remove check-abi configure option.
10007 * configure: Regenerated.
10008 * config.make.in (enable-check-abi): Remove.
10009
6d5c57fa
AS
100102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10011
24c5d07e 10012 [BZ #14033]
ded5180a
AS
10013 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10014 double functions to double *_finite functions.
10015
7e0d315d
AS
10016 [BZ #13941]
10017 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10018 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10019 LDBL_MIN_EXP.
10020 * stdio-common/Makefile (tests): Add tst-sprintf3.
10021 * stdio-common/tst-sprintf3.c: New file.
10022
6d5c57fa
AS
10023 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10024 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10025
0749ff8b
JM
100262012-04-28 Joseph Myers <joseph@codesourcery.com>
10027
10028 * conform/conformtest.pl: Remove duplicate typed-constant
10029 handling.
10030
8dbd5d7b
DM
100312012-04-28 David S. Miller <davem@davemloft.net>
10032
10033 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10034 (check-abi-%): Remove AWK script prerequisite and explicit
10035 abilist directory.
10036 (check-abi): Rewrite to just diff the symlist with the abilist.
10037 (config-tls, config-abi-config): Delete, no longer used.
10038 (update-abi-%): Remove AWK script and explicit abilist directory.
10039 (update-abi): Rewrite to simply compare and conditionally copy the
10040 symlist and the sysdep abilist file. Remove update-abi-config
10041 checks.
10042 * abilist/ld.abilist: Remove.
10043 * abilist/libBrokenLocale.abilist: Remove.
10044 * abilist/libanl.abilist: Remove.
10045 * abilist/libcrypt.abilist: Remove.
10046 * abilist/libdl.abilist: Remove.
10047 * abilist/librt.abilist: Remove.
10048 * abilist/libthread_db.abilist: Remove.
10049 * abilist/libutil.abilist: Remove.
10050 * scripts/extract-abilist.awk: Remove.
10051 * scripts/merge-abilist.awk: Remove.
10052 * sysdeps/generic/libcidn.abilist: New file.
10053 * sysdeps/generic/libnss_compat.abilist: New file.
10054 * sysdeps/generic/libnss_db.abilist: New file.
10055 * sysdeps/generic/libnss_dns.abilist: New file.
10056 * sysdeps/generic/libnss_files.abilist: New file.
10057 * sysdeps/generic/libnss_hesiod.abilist: New file.
10058 * sysdeps/generic/libnss_nis.abilist: New file.
10059 * sysdeps/generic/libnss_nisplus.abilist: New file.
10060 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10061 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10062 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10063 file.
10064 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10065 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10066 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10067 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10068 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10069 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10070 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10071 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10072 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10073 file.
10074 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10075 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10076 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10077 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10078 file.
10079 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10080 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10081 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10082 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10083 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10084 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10085 file.
10086 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10087 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10088 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10089 file.
10090 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10092 New file.
10093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10094 New file.
10095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10096 New file.
10097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10098 New file.
10099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10100 New file.
10101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10102 New file.
10103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10104 New file.
10105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10106 New file.
10107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10108 New file.
10109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10110 New file.
10111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10112 New file.
10113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10114 New file.
10115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10116 New file.
10117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10118 file.
10119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10120 New file.
10121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10122 New file.
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10124 file.
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10126 New file.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10128 New file.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10130 file.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10132 New file.
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10134 New file.
10135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10136 New file.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10138 New file.
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10140 New file.
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10142 New file.
10143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10145 file.
10146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10147 New file.
10148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10149 file.
10150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10151 file.
10152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10153 file.
10154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10155 file.
10156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10157 file.
10158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10159 New file.
10160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10161 file.
10162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10163 file.
10164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10165 New file.
10166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10167 file.
10168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10170 file.
10171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10172 New file.
10173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10174 file.
10175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10176 file.
10177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10178 file.
10179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10180 file.
10181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10182 file.
10183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10184 New file.
10185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10186 file.
10187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10188 file.
10189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10190 New file.
10191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10192 file.
10193 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10194 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10195 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10196 file.
10197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10198 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10199 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10200 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10201 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10202 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10203 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10204 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10205 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10206 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10209 file.
10210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10211 New file.
10212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10213 file.
10214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10215 file.
10216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10217 file.
10218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10219 file.
10220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10221 file.
10222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10223 New file.
10224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10225 New file.
10226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10227 file.
10228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10229 New file.
10230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10231 file.
10232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10234 file.
10235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10236 New file.
10237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10238 file.
10239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10240 file.
10241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10242 file.
10243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10244 file.
10245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10246 file.
10247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10248 New file.
10249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10250 New file.
10251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10252 file.
10253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10254 New file.
10255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10256 file.
10257
41d73a1b
JM
102582012-04-28 Joseph Myers <joseph@codesourcery.com>
10259
10260 * conform/conformtest.pl: Fix typo in handling typed-constant from
10261 allow-header.
10262
28aeeda4
JM
102632012-04-27 Joseph Myers <joseph@codesourcery.com>
10264
adae8f5e
JM
10265 * README: Cut down references to pre-2.6 Linux kernels and
10266 Linuxthreads. Update lists of configurations in libc and ports
10267 and sort alphabetically. Say "or newer" with Linux kernel version
10268 requirements.
10269
28aeeda4
JM
10270 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10271
a462cb63
RA
102722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10273
10274 [BZ #887]
10275 * math/libm-test.inc (logb_test_downward): New test to expose
10276 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10277 rounding mode.
10278
6ad3493e
JM
102792012-04-27 Joseph Myers <joseph@codesourcery.com>
10280
10281 [BZ #14027]
10282 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10283 to be done.
10284 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10285 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10286
2ce4f015
JM
102872012-04-26 Joseph Myers <joseph@codesourcery.com>
10288
5aeb141a
JM
10289 * sysdeps/unix/i386/brk.S: Remove file.
10290 * sysdeps/unix/i386/dl-brk.S: Likewise.
10291 * sysdeps/unix/i386/pipe.S: Likewise.
10292 * sysdeps/unix/i386/sigreturn.S: Likewise.
10293 * sysdeps/unix/i386/syscall.S: Likewise.
10294 * sysdeps/unix/i386/vfork.S: Likewise.
10295 * sysdeps/unix/i386/wait.S: Likewise.
10296
7143acae
JM
10297 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10298 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10299
2ce4f015
JM
10300 * configure.in (arm*-none*): Do not allow without
10301 --enable-hacker-mode.
10302 (netbsd*): Remove case setting base_os.
10303 (386bsd*): Likewise.
10304 (freebsd*): Likewise.
10305 (bsdi*): Likewise.
10306 (osf*): Likewise.
10307 (sunos*): Likewise.
10308 (ultrix*): Likewise.
10309 (newsos*): Likewise.
10310 (dynix*): Likewise.
10311 (*bsd*): Likewise.
10312 (sysv*): Likewise.
10313 (isc*): Likewise.
10314 (esix*): Likewise.
10315 (sco*): Likewise.
10316 (minix*): Likewise.
10317 (irix4*): Likewise.
10318 (irix6*): Likewise.
10319 (solaris[2-9]*): Likewise.
10320 (none): Likewise.
10321 * configure: Regenerated.
10322
0ac229c8
AZ
103232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10324
10325 [BZ #11521]
10326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10327 overflow or cancellation in calculating denominator.
10328 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10330 down expression to avoid unexpected rounding in newer GCCs.
10331 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10332
33f244f4
DM
103332012-04-26 David S. Miller <davem@davemloft.net>
10334
10335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10336 long-double compat symbols.
10337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10350
cfa1f3e8
DM
103512012-04-25 David S. Miller <davem@davemloft.net>
10352
10353 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10354 HWCAP_* values only after the memory barriers have been defined.
10355 (atomic_full_barrier): Define.
10356 (atomic_read_barrier): Define.
10357 (atomic_write_barrier): Define.
10358
6e236b92
SP
103592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10360
10361 * shlib-versions: Add libgcc_s version information.
10362 * sysdeps/generic/libgcc_s.h: Remove.
10363 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10364 libgcc_s.h.
10365 * sysdeps/gnu/unwind-resume.c: Likewise.
10366 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10367
aab39a09
DM
103682012-04-25 David S. Miller <davem@davemloft.net>
10369
10370 * sysdeps/unix/sparc/brk.S: Delete.
10371 * sysdeps/unix/sparc/dl-brk.S: Delete.
10372 * sysdeps/unix/sparc/pipe.S: Delete.
10373 * sysdeps/unix/sparc/sysdep.S: Delete.
10374 * sysdeps/unix/sparc/sysdep.h: Delete.
10375 * sysdeps/unix/sparc/vfork.S: Delete.
10376 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10377 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10379 ret_ERRVAL, r0, r1, MOVE): Define.
10380 (JUMPTARGET): Remove.
10381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10382 sysdeps/unix/sparc/sysdep.h
10383 (ENTRY, END): Remove.
10384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10385
a3cc4f48
JM
103862012-04-25 Joseph Myers <joseph@codesourcery.com>
10387
2ed8cda2
JM
10388 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10389 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10390 -DIS_IN_build.
10391
35d76d59
JM
10392 * timezone/README: Update upstream location and email address for
10393 tzcode and tzdata.
10394 * timezone/zdump.c: Update from tzcode 2012b.
10395 * timezone/zic.c: Likewise.
10396
a3cc4f48
JM
10397 * configure.in (libc_cv_as_needed): Remove test.
10398 * configure: Regenerated.
10399 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10400 conditional definition.
10401 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10402 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10403 * config.make.in (have-as-needed): Remove variable.
10404
ceab42c3
SP
104052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10406 Paul Pluzhnikov <ppluzhnikov@google.com>
10407
10408 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10409 strings correctly.
10410
3ce2865f
CLT
104112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10412
10413 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10414 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10415 * sysdeps/sh/strlen.S: Likewise.
10416
f37e0d68
JM
104172012-04-24 Joseph Myers <joseph@codesourcery.com>
10418
ae186e9a
JM
10419 * sysdeps/unix/fork.S: Remove file.
10420 * sysdeps/unix/i386/fork.S: Likewise.
10421 * sysdeps/unix/sparc/fork.S: Likewise.
10422
b96914af
JM
10423 * sysdeps/unix/system.c: Remove file.
10424 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10425
f37e0d68
JM
10426 * sysdeps/unix/getegid.S: Remove file.
10427 * sysdeps/unix/geteuid.S: Likewise.
10428
87ef29ca
RM
104292012-04-24 Roland McGrath <roland@hack.frob.com>
10430
83bcd236
RM
10431 * scripts/check-localplt.awk: New file.
10432 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10433 of diff.
10434 * scripts/data/localplt-generic.data: Add a comment.
10435
87ef29ca
RM
10436 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10437 NODE when __dir_mkfile failed.
10438 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10439 Reported by Ludovic Courtès <ludo@gnu.org>.
10440
e5a6e567
AJ
104412012-04-24 Andreas Jaeger <aj@suse.de>
10442
10443 * Makerules (common-clean): Also remove gen-as-const-headers
10444 files.
10445
c1820385
JM
104462012-04-24 Joseph Myers <joseph@codesourcery.com>
10447
10448 * Makerules (native-compile): Do not change working directory for
10449 build. Use $(OUTPUT_OPTION) in command.
10450 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10451
94e02fc4
AZ
104522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10453
10454 [BZ #13886]
10455 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10456 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10457 * math/libm-test.inc (floor_test): Add more tests.
10458 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10459
3a533ca3
JM
104602012-04-24 Joseph Myers <joseph@codesourcery.com>
10461
940ab4b3
JM
10462 * sysdeps/unix/getdents.c: Remove file.
10463 * sysdeps/unix/sysv/getdents.c: Likewise.
10464 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10465
90e037bd
JM
10466 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10467 sysdeps/unix/mman/syscalls.list.
10468 (mmap): Likewise.
10469 (mprotect): Likewise.
10470 (msync): Likewise.
10471 (munmap): Likewise.
10472 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10473 * sysdeps/unix/mman/syscalls.list: Remove.
10474 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10475
3a533ca3
JM
10476 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10477 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10478 * configure: Regenerated.
10479 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10480 $(libgcc_s_suffix).
10481 * config.make.in (libgcc_s_suffix): Remove variable.
10482
1ad743de
JM
104832012-04-23 Joseph Myers <joseph@codesourcery.com>
10484
4ad451e2
JM
10485 * sysdeps/unix/sysv/gethostname.c: Move to ...
10486 * sysdeps/posix/gethostname.c: ... here.
10487
5e37ce39
JM
10488 * sysdeps/unix/execve.S: Remove file.
10489
1ad743de
JM
10490 * sysdeps/unix/_exit.S: Remove file.
10491
4e681b5b
AJ
104922012-04-23 Andreas Jaeger <aj@suse.de>
10493
10494 [BZ #13739]
10495 * manual/Makefile: Remove make dist support, there's no
10496 need for a stand-alone documentation tar ball.
10497 (TEXI2DVI): Define always, it's not in Makeconfig.
10498 (dist): Removed.
10499 (tar-it): Removed.
10500 (edition): Removed.
10501 (glibc-doc-$(edition).tar): Removed
10502 (%.Z): Removed.
10503 (%.gz): Removed.
10504 (%.uu): Removed.
10505 (ETAGS): Remove, it's in Makeconfig.
10506 (move-if-change): Remove, it's in Makeconfig.
10507
c0baea34
PE
105082013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10509
10510 [BZ #13970]
10511 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10512 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10513 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10514 (strtod_l, strtof_l, strtold_l): Remove __wur.
10515 It is not necessarily an error to ignore strtol's return value.
10516 One can reliably look at the stored endptr to decide whether
10517 the number had valid syntax.
10518
7c0616fa
AJ
105192012-04-21 Andreas Jaeger <aj@suse.de>
10520
803cb6b7 10521 [BZ #13739]
7c0616fa
AJ
10522 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10523
b0fe253f
JM
105242012-04-21 Joseph Myers <joseph@codesourcery.com>
10525
10526 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10527 * sysdeps/unix/sysv/Versions: Remove file.
10528
8280f22d
MT
105292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10530
10531 [BZ #13927]
10532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10533
75ce411f 105342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10535
10536 [BZ #7064]
10537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10538 version from __vm86.
10539
097d59fa
JM
105402012-04-20 Joseph Myers <joseph@codesourcery.com>
10541
a90f3bcb
JM
10542 * sysdeps/unix/common/lxstat.c: Remove file.
10543 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10544
edc7ea78
JM
10545 * sysdeps/unix/sysv/Makefile: Remove file.
10546
cb78c221
JM
10547 * sysdeps/unix/sysv/direct.h: Remove file.
10548
efa6a45f
JM
10549 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10550 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10551 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10552 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10553 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10554 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10555 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10556
9c9f2d0c
JM
10557 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10558
4541c83b
JM
10559 * sysdeps/unix/xmknod.c: Remove file.
10560 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10561
f5d153a0
JM
10562 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10563
aa746595
JM
10564 * sysdeps/unix/sysv/i386/time.S: Remove file.
10565
cce5905e
JM
10566 * sysdeps/unix/fxstat.c: Remove file.
10567 * sysdeps/unix/xstat.c: Likewise.
10568 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10569
37fa3841
JM
10570 * sysdeps/unix/sysv/sigaction.c: Remove file.
10571
ff1962a3
JM
10572 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10573 (sysdep_headers): Remove variable.
10574 [termio.h not in sysdep_headers] (generated): Likewise.
10575 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10576 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10577 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10578 * sysdeps/unix/sysv/tcflow.c: Likewise.
10579 * sysdeps/unix/sysv/tcflush.c: Likewise.
10580 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10581 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10582 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10583 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10584 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10585
e7740d31
JM
10586 * sysdeps/unix/siglist.c: Remove file.
10587
ee06f18b
JM
10588 * sysdeps/unix/getppid.S: Remove file.
10589
097d59fa
JM
10590 * sysdeps/unix/mkdir.c: Remove file.
10591 * sysdeps/unix/rmdir.c: Likewise.
10592
ff3d51ec
AS
105932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10594
10595 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10596 ERR_MAX value.
10597 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10598 errlist-compat value.
10599
50f81fd7
DM
106002012-04-18 David S. Miller <davem@davemloft.net>
10601
10602 * sysdeps/generic/memcopy.h (reg_char): Delete.
10603 * debug/strcat_chk.c: Use char, not reg_char.
10604 * debug/strcpy_chk.c: Likewise.
10605 * debug/strncat_chk.c: Likewise.
10606 * debug/strncpy_chk.c: Likewise.
10607 * string/memchr.c: Likewise.
10608 * string/memrchr.c: Likewise.
10609 * string/rawmemchr.c: Likewise.
10610 * string/strcat.c: Likewise.
10611 * string/strchr.c: Likewise.
10612 * string/strchrnul.c: Likewise.
10613 * string/strcmp.c: Likewise.
10614 * string/strcpy.c: Likewise.
10615 * string/strncat.c: Likewise.
10616 * string/strncmp.c: Likewise.
10617 * string/strncpy.c: Likewise.
10618
8ff41c46
WS
106192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10620
10621 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10622 __builtin_memcopy is called when src and dest ranges are known to not
10623 overlap.
10624
6b652f46
WS
106252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10626
10627 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10628 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10629 fwd_align_merge macro call.
10630 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10631 bwd_align_merge macro call.
10632 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10633
b282631e
WS
106342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10635
10636 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10637 bwd_align_merge macros.
10638 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10639 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10640 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10641
95aa737c
DM
106422012-04-18 David S. Miller <davem@davemloft.net>
10643
10644 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10645
7a99a614
AJ
106462012-04-18 Andreas Jaeger <aj@suse.de>
10647
10648 [BZ# 6794]
10649 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10650 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10651 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10652
10653 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10654 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10656
10657 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10658 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10659 Adjust for changed ldbl-128 files.
10660
10661 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10662 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10663 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10664
e5270c23
DM
106652012-04-17 David S. Miller <davem@davemloft.net>
10666
10667 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10668
fb5e92c9
AS
106692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10670
10671 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10672 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10673 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10674 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10675 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10676 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10677
76da7265
AZ
106782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10679
10680 [BZ #6794]
10681 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10682 * math/libm-test.inc: Add ilogb errno and exception tests.
10683 * math/w_ilogb.c: New file: ilogb wrapper.
10684 * math/w_ilogbf.c: New file: ilogbf wrapper.
10685 * math/w_ilogbl.c: New file: ilogbl wrapper.
10686 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10687 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10688 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10689 exception being thrown with 0.0 as argument.
10690 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10691 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10692 exception being thrown with 0.0 as argument.
10693 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10694 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10695 exception being thrown with 0.0 as argument.
10696 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10697 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10698 exception being thrown with 0.0 as argument.
10699 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10700 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10701 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10702 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10703 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10704 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10705 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10706 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10707 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10708
0396e69d
PB
107092012-04-17 Petr Baudis <pasky@ucw.cz>
10710
10711 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10712 with altivec.
10713
750b5926
MP
107142012-04-16 Marek Polacek <polacek@redhat.com>
10715
10716 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10717
751728a1
MP
107182012-04-16 Marek Polacek <polacek@redhat.com>
10719
10720 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10721 operands of fdivp instruction.
10722
34a27407
L
107232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10726 * elf/tst-auditmod3b.c: Likewise.
10727 * elf/tst-auditmod4b.c: Likewise.
10728 * elf/tst-auditmod5b.c: Likewise.
10729 * elf/tst-auditmod6b.c: Likewise.
10730 * elf/tst-auditmod6c.c: Likewise.
10731 * elf/tst-auditmod7b.c: Likewise.
10732 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10733 * sysdeps/x86_64/preconfigure.in: Likewise.
10734 * sysdeps/x86_64/preconfigure: Regenerated.
10735
7e73e17d
L
107362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10737
10738 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10739 __ILP32__.
10740
c7a6ab72
AB
107412012-04-13 Antoine Balestrat <merkil33@gmail.com>
10742
10743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10744 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10745
a9e8e0e0
CL
107462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10747
10748 [BZ #13973]
10749 * locale/iso-639.def: Fix gl language name. Spotted by
10750 Yaron Shahrabani.
10751
ec98af7d
RM
107522012-04-12 Roland McGrath <roland@hack.frob.com>
10753
10754 [BZ #2074]
10755 * libio/libio.h (__io_write_fn): Update comment.
10756
247c3ede
PB
107572012-04-12 Petr Baudis <pasky@ucw.cz>
10758
10759 [BZ #2074]
10760 * stdio.texi (Hook Functions): The user provided writer function
10761 is not allowed to return -1.
10762
55939d6d
DM
107632012-04-11 David S. Miller <davem@davemloft.net>
10764
10765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10766
90020f5a
MF
107672012-04-11 Mike Frysinger <vapier@gentoo.org>
10768
10769 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10770 Add a leading slash to rtkaio.
10771
288f9098
JM
107722012-04-11 Jim Meyering <meyering@redhat.com>
10773
90020f5a
MF
10774 [BZ #11959]
10775 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10776 It is not necessarily an error to ignore fwrite's return
10777 value. One can reliably use ferror to test for errors after
10778 the fact.
288f9098 10779
4be2b570
L
107802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10781
10782 * bits/types.h (__snseconds_t): New type.
10783 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10784
10785 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10787 (__SNSECONDS_T_TYPE): Likewise.
10788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10789 (__SNSECONDS_T_TYPE): Likewise.
10790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10791 (__SNSECONDS_T_TYPE): Likewise.
10792
288f9098 107932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10794
10795 [BZ #2636]
10796 * manual/time.texi (Processor Time): Return type of times is
10797 elapsed real time since an arbitrary point in the past.
10798 (CPU Time): Move CLK_TCK from here...
10799 (Processor Time): ...to here. Correct description.
10800 * manual/conf.texi (Constants for Sysconf): Correct description of
10801 _SC_CLK_TCK.
10802
d7dd4413
DM
108032012-04-10 David S. Miller <davem@davemloft.net>
10804
10805 [BZ #13967]
10806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10807 where the is a gap between DT_REL(A) and DT_JMPREL.
10808
b46068fc
L
108092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10810
10811 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10812 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10813 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10814
73d65cc3
SP
108152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10816
10817 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10818 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10819 (dl_main): Handle --inhibit-cache.
10820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10821 _dl_inhibit_cache.
10822 * elf/dl-load.c (_dl_map_object): Use it.
10823 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10824
bcc8d661
JM
108252012-04-09 Joseph Myers <joseph@codesourcery.com>
10826
8f9a2fae
JM
10827 [BZ #13872]
10828 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10829 (__ieee754_powl): Saturate large exponents rather than testing for
10830 overflow of y*log2(x).
10831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10832 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10833 exceptions.
10834
bcc8d661
JM
10835 [BZ #11521]
10836 * math/s_ctan.c: Include <float.h>.
10837 (__ctan): Avoid internal overflow or cancellation in calculating
10838 denominator.
10839 * math/s_ctanf.c: Likewise.
10840 * math/s_ctanl.c: Likewise.
10841 * math/s_ctanh.c: Likewise.
10842 * math/s_ctanhf.c: Likewise.
10843 * math/s_ctanhl.c: Likewise.
10844 * math/libm-test.inc (ctan_test): Add more tests.
10845 (ctanh_test): Likewise.
10846 * sysdeps/i386/fpu/libm-test-ulps: Update.
10847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10848
823fbbb4
AJ
108492012-04-09 Andreas Jaeger <aj@suse.de>
10850
03879793
AJ
10851 [BZ #6894]
10852 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10853 is an optional BSD extension.
10854
823fbbb4
AJ
10855 [BZ #10254]
10856 * manual/stdio.texi (Opening Streams): Document additional fopen
10857 parameters.
10858
8de131cb
RM
108592012-04-09 Roland McGrath <roland@hack.frob.com>
10860
10861 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10862 %eax without telling the compiler.
10863
c0ed9d7d
CD
108642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10865
10866 [BZ # 13963]
10867 * manual/install.texi: Use sourceware.org.
10868
c483f6b4
JM
108692012-04-09 Joseph Myers <joseph@codesourcery.com>
10870
d7dd9453
JM
10871 [BZ #13873]
10872 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10873 (__ieee754_pow): Generate overflow and underflow using huge*huge
10874 and tiny*tiny rather than just returning constant infinity or zero
10875 for large exponents.
10876 * math/libm-test.inc (pow_test): Require overflow exceptions for
10877 applicable cases of large exponents.
10878
c483f6b4
JM
10879 [BZ #706]
10880 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10881 (__ieee754_pow): Use iterative multiplication algorithm only for
10882 integer exponents with absolute value below 1024. Check for odd
10883 integer exponents when using algorithm for real exponents.
10884 * math/libm-test.inc (pow_test): Add more tests.
10885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10886
d2de7579
JM
108872012-04-08 Joseph Myers <joseph@codesourcery.com>
10888
10889 [BZ #13705]
10890 * math/libm-test.inc (exp_test): Do not allow overflow exception
10891 on underflow test.
10892
f77f1232
AJ
108932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10894
10895 [BZ #13705]
10896 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10897 instead of __kernel_standard_f.
10898
3884932b
MF
108992012-04-08 Mike Frysinger <vapier@gentoo.org>
10900
10901 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10902 * sysdeps/x86_64/memset_chk.S: Likewise.
10903
54472e9c
AJ
109042012-04-08 Andreas Jaeger <aj@suse.de>
10905
6ab0fbfc
AJ
10906 [BZ #10153]
10907 * manual/startup.texi (Environment Access): Describe return value
10908 for putenv and setenv.
10909
61efba8c
AJ
10910 [BZ #6895]
10911 * manual/filesys.texi (Directory Entries): Add description for
10912 DT_LNK.
10913
95c3f29a
AJ
10914 [BZ #6890]
10915 * manual/filesys.texi (Directory Entries): Clarify that it's file
10916 system not operating system in the description of DT_UNKNOWN.
10917
54472e9c
AJ
10918 [BZ #6578]
10919 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10920
624254b1
SC
109212012-04-08 Stephen Compall <s11@member.fsf.org>
10922
10923 [BZ #6649]
10924 * manual/llio.texi (Opening and Closing Files): Add cross
10925 reference to explain mode argument.
10926
1e4920e0
MF
109272012-04-07 Mike Frysinger <vapier@gentoo.org>
10928
10929 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10930 * sysdeps/x86_64/memset_chk.S: Likewise.
10931
5ed848f3
DM
109322012-04-07 David S. Miller <davem@davemloft.net>
10933
10934 * elf/elf.h (R_SPARC_WDISP10): Define.
10935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10936 R_SPARC_SIZE32.
10937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10938 R_SPARC_SIZE64 and R_SPARC_H34.
10939
96154cd8
CD
109402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10941
10942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10943 conditions and remove no longer applicable assertion.
10944
9904dc47
L
109452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10946
10947 * bits/byteswap.h: Include <features.h>.
10948 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10949 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10950
f8887d0a
L
109512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10952
10953 * bits/byteswap.h (__bswap_16): Removed.
10954 Include <bits/byteswap-16.h> to get __bswap_16.
10955 * sysdeps/i386/bits/byteswap.h: Likewise.
10956 * sysdeps/s390/bits/byteswap.h: Likewise.
10957 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10958 * bits/byteswap-16.h: New file.
10959 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10960 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10961 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10962 * string/Makefile (headers): Add bits/byteswap-16.h.
10963
62470f60
PP
109642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10965
10966 [BZ #13895]
10967 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10968 extra indirection.
10969 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10970 * nss/tst-nss-static.c: New.
10971
4dad7bab
RM
109722012-04-06 Robert Millan <rmh@gnu.org>
10973
10974 [BZ #6486]
10975 * manual/llio.texi (File Position Primitive): lseek
10976 refers to WHENCE when it really means OFFSET.
10977
e9142a17
AJ
109782012-04-06 Andreas Jaeger <aj@suse.de>
10979
2c040eff
AJ
10980 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10981 strncmp declarations.
10982
e9142a17
AJ
10983 * abilist/libc.abilist: Add __poll and __ppoll.
10984
ff9f1c5f
DM
109852012-04-05 David S. Miller <davem@davemloft.net>
10986
dcd2ae90
DM
10987 * scripts/check-local-headers.sh: Accept a host triplet in the
10988 path matched by the exclude regexp.
10989
993eb054
DM
10990 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10991 definition.
10992 * sysdeps/powerpc/powerpc32/dl-machine.h
10993 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10994 * sysdeps/s390/s390-32/dl-machine.h
10995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10996 * sysdeps/sparc/sparc32/dl-machine.h
10997 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10998 * sysdeps/sparc/sparc64/dl-machine.h
10999 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11000
ff9f1c5f
DM
11001 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11002 lazy binding.
48e2e132 11003 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11004 undefined symbol errors.
11005
48e2e132 11006 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11007 DT_NEEDED entries.
11008
e80d6f94
MM
110092012-04-05 Michael Matz <matz@suse.de>
11010
11011 [BZ #13592]
11012 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11013
349fa79f
AJ
110142012-04-05 Andreas Jaeger <aj@suse.de>
11015
11016 [BZ #13908]
11017 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11018 comment.
11019
f402708f
KK
110202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11021
11022 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11023 which ROUND is no valid rounding mode.
11024
2ecccfc9
KK
110252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11026
11027 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11028 read again.
11029 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11030
8a53f50f
KK
110312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11032
11033 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11034 an exception using FPU order intentionally.
11035
110362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11037
11038 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11039 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11040 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11041 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11042
d653abb7
SJ
110432012-04-05 Simon Josefsson <simon@josefsson.org>
11044
11045 [BZ #12340]
11046 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11047 EINVAL when BUFLEN is too smal.
11048
c3b1bf7d
TS
110492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11050
11051 [BZ #13553]
11052 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11053 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11054
b1aa60f3
AJ
110552012-04-03 Andreas Jaeger <aj@suse.de>
11056
c3b1bf7d 11057 [BZ #13938]
67f60a26
AJ
11058 * manual/setjmp.texi (System V contexts): Fix sentence.
11059
b1aa60f3
AJ
11060 [BZ #13926]
11061 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11062 New macro for this case.
11063 [!__GNUC__] (__bswap_64): New inline function for this case.
11064 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11065 * bits/byteswap.h: Likewise.
11066 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11067 ull, guard with __GLIBC_HAVE_LONG_LONG.
11068
11069 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11070 __GLIBC_HAVE_LONG_LONG.
11071
11072 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11073 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11074
39c59c35
TMQMF
110752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11076
11077 [BZ #13691]
11078 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11079 inptr and inend, rather than using last_ch.
11080
135ffda8
DM
110812012-04-02 David S. Miller <davem@davemloft.net>
11082
11083 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11084 * stdio-common/printf-parse.h (read_int): Change return type to
11085 'int', return -1 on INT_MAX overflow.
11086 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11087 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11088 overflows INT_MAX. Check for overflow of in-format-string precision
11089 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11090 SIZE_MAX not INT_MAX for integer overflow test.
11091 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11092 skip the construct in the format string but do not record anything.
11093 * stdio-common/bug22.c: Adjust to test both width/prevision
11094 INT_MAX overflow as well as total length INT_MAX overflow. Check
11095 explicitly for proper errno values.
11096
228c019e
TS
110972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11098
302cadd3
TS
11099 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11100 CHAR_MAX.
11101 * string/test-strcmp.c [! WIDE]: Likewise.
11102 * time/tst-mktime2.c: Likewise for INT_MAX.
11103 * string/test-string.h: #include <sys/param.h> for MIN.
11104
228c019e
TS
11105 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11106 * sysdeps/i386/init-first.c (init): Likewise.
11107 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11108 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11109 * sysdeps/sh/init-first.c (init): Likewise.
11110
cfa633f5
UD
111112012-04-01 Ulrich Drepper <drepper@gmail.com>
11112
11113 * po/ru.po: Update from translation team.
d1635ef8 11114 * po/vi.po: Likewise.
cfa633f5 11115
6cd0a5ea
SP
111162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11117
11118 * resolv/nss_dns/dns-host.c: Merge copyright years.
11119
4b43400f
LD
111202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11121
11122 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11123 Optimize memcpy with prefetch if
11124 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11125 src, dst pointers have unequal 16 byte alignments.
11126
48c41d04
SP
111272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11128
11129 [BZ #13928]
11130 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11131 from a CNAME entry and return the minimum ttl for the query.
11132 (gaih_getanswer_slice): Likewise.
11133
b8dc394d
JL
111342012-03-30 Jeff Law <law@redhat.com>
11135
11136 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11137 due to long keys.
11138 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11139 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11140
2f5a5ed0
JL
11141 * resolv/nss_dns/dns-host.c: Update copyright year.
11142
1d39e359
UD
111432012-03-30 Ulrich Drepper <drepper@gmail.com>
11144
c030f70c 11145 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11146 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11147
1d39e359
UD
11148 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11149 comments for sendmmsg.
11150
111512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11152
11153 [BZ #13691]
11154 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11155 with only 1 character between 0x0041 and 0x01b0.
11156 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11157 * wcsmbs/tst-mbsnrtowcs.c: New file.
11158
20fde227
DM
111592012-03-29 David S. Miller <davem@davemloft.net>
11160
11161 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11162 small copies by hand.
11163
984a4237
JL
111642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11165
11166 [BZ #13761]
11167 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11168 _nss_compat_initgroups_dyn): Fall back to malloc/free
11169 for large group memberships.
11170
18c9d62b
DM
111712012-03-28 David S. Miller <davem@davemloft.net>
11172
88d85d4f
DM
11173 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11174 that branches into memcpy.
11175 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11177 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11178 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11180 bits.
11181 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11182 implementation too.
11183 * sysdeps/sparc/mempcpy.S: New file.
11184
e5aa83e1
DM
11185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11186 the IFUNC routine in the libc case.
11187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11188
88570753
DM
11189 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11190 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11191 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11192 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11193 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11194 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11195 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11196 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11197
249d7567
DM
11198 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11199 loop to 256 bytes instead of 64 bytes and fix test signedness.
11200
18c9d62b
DM
11201 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11202 * sysdeps/sparc/sparc32/Makefile: rather than here...
11203 * sysdeps/sparc/sparc64/Makefile: and here.
11204
05f3d1f6
UD
112052012-03-28 Ulrich Drepper <drepper@gmail.com>
11206
11207 * malloc/mallocbug.c: Avoid warnings about unused variables.
11208
86ae07a8
JL
112092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11210
11211 [BZ #13760]
11212 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11213 in the right place. Discard and retry query if response is
11214 larger than input buffer size.
11215
41bf21a1
JM
112162012-03-28 Joseph Myers <joseph@codesourcery.com>
11217
d6270972
JM
11218 [BZ #369]
11219 [BZ #2678]
11220 [BZ #3866]
11221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11222 x for large integer exponent.
11223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11224 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11225 sign of result as needed afterwards.
11226 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11228 result for underflowing pow the same as for overflow.
11229 (__kernel_standard_l): Handle powl overflow and underflow here
11230 rather than calling __kernel_standard.
11231 * math/libm-test.inc (pow_test): Add more tests.
11232
414fca03 11233 [BZ #3868]
41bf21a1
JM
11234 [BZ #13879]
11235 [BZ #13910]
11236 [BZ #13911]
11237 [BZ #13912]
11238 [BZ #13913]
11239 [BZ #13915]
11240 [BZ #13916]
11241 [BZ #13917]
11242 [BZ #13918]
11243 [BZ #13919]
11244 [BZ #13920]
11245 [BZ #13921]
11246 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11247 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11248 (__kernel_standard_l): New function.
11249 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11250 __kernel_standard.
11251 * math/w_acosl.c (__acosl): Likewise.
11252 * math/w_asinl.c (__asinl): Likewise.
11253 * math/w_atan2l.c (__atan2l): Likewise.
11254 * math/w_atanhl.c (__atanhl): Likewise.
11255 * math/w_coshl.c (__coshl): Likewise.
11256 * math/w_exp10l.c (__exp10l): Likewise.
11257 * math/w_exp2l.c (__exp2l): Likewise.
11258 * math/w_fmodl.c (__fmodl): Likewise.
11259 * math/w_hypotl.c (__hypotl): Likewise.
11260 * math/w_j0l.c (__j0l, __y0l): Likewise.
11261 * math/w_j1l.c (__j1l, __y1l): Likewise.
11262 * math/w_jnl.c (__jnl, __ynl): Likewise.
11263 * math/w_lgammal.c (__lgammal): Likewise.
11264 * math/w_log10l.c (__log10l): Likewise.
11265 * math/w_log2l.c (__log2l): Likewise.
11266 * math/w_logl.c (__logl): Likewise.
11267 * math/w_powl.c (__powl): Likewise.
11268 * math/w_remainderl.c (__remainderl): Likewise.
11269 * math/w_scalbl.c (sysv_scalbl): Likewise.
11270 * math/w_sinhl.c (__sinhl): Likewise.
11271 * math/w_sqrtl.c (__sqrtl): Likewise.
11272 * math/w_tgammal.c (__tgammal): Likewise.
11273 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11274 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11275 * math/libm-test.inc (acos_test): Add more tests.
11276 (acosh_test): Likewise.
11277 (asin_test): Likewise.
11278 (atanh_test): Likewise.
11279 (exp_test): Likewise.
11280 (exp10_test): Likewise.
11281 (exp2_test): Likewise.
11282 (expm1_test): Likewise.
11283 (lgamma_test): Likewise.
11284 (log_test): Likewise.
11285 (log10_test): Likewise.
11286 (log1p_test): Likewise.
11287 (log2_test): Likewise.
11288 (pow_test): Do not allow some spurious overflow exceptions.
11289 (sqrt_test): Add more tests.
11290 (tgamma_test): Likewise.
11291 (y0_test): Likewise.
11292 (y1_test): Likewise.
11293 (yn_test): Likewise.
11294
dd62fda6
AB
112952012-03-27 Anton Blanchard <anton@samba.org>
11296
11297 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11298 MAP_HUGETLB.
11299 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11301 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11302
1e3cdfda
AJ
113032012-03-27 David S. Miller <davem@davemloft.net>
11304
b855ab85
DM
11305 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11306
1e3cdfda
AJ
11307 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11308 have-as-vis3 check.
11309
113102012-03-27 Andreas Jaeger <aj@suse.de>
11311
11312 * sysdeps/x86_64/elf/configure.in: Moved to ...
11313 * sysdeps/x86_64/configure.in: ... here.
11314 * sysdeps/x86_64/elf/start.S: Moved to ...
11315 * sysdeps/x86_64/start.S: ... here.
11316 * sysdeps/x86_64/elf/configure: Delete.
11317
11318 * sysdeps/x86_64/configure.in: Merge contents from
11319 sysdeps/i386/configure.in (without i686 check).
11320
11321 * sysdeps/i386/elf/Versions: Merge into ...
11322 * sysdeps/i386/Versions: ... this.
11323 * sysdeps/i386/elf/Versions: Delete file.
11324 * sysdeps/i386/elf/start.S: Moved to ...
11325 * sysdeps/i386/start.S: ...here.
11326 * sysdeps/i386/elf/configure.in: Merge into...
11327 * sysdeps/i386/configure.in: ...here.
11328 * sysdeps/i386/elf/configure.in: Delete file.
11329 * sysdeps/i386/elf/configure: Delete file.
11330
11331 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11332 * debug/backtracesyms.c: ... here.
11333 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11334 * debug/backtracesymsfd.c: ... here.
11335 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11336 * sysdeps/generic/ifunc-sel.h: ... here.
11337
11338 * sysdeps/unix/i386/start.c: Delete file.
11339 * sysdeps/unix/sparc/start.c: Delete file.
11340 * sysdeps/unix/start.c: Delete file.
11341
11342 * sysdeps/sh/elf/configure.in: Moved to ...
11343 * sysdeps/sh/configure.in: ... here.
11344 * sysdeps/sh/elf/start.S: Moved to ...
11345 * sysdeps/sh/start.S: ... here.
11346 * sysdeps/sh/elf/configure: Delete file.
11347
11348 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11349 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11350 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11351 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11352 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11353 * sysdeps/powerpc/powerpc64/start.S: here.
11354 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11355 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11356 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11357 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11358 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11359
11360 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11361 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11362 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11363 * sysdeps/powerpc/powerpc32/start.S: ... here.
11364 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11365 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11366 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11367
11368 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11369 * sysdeps/powerpc/ifunc-sel.h: ... here.
11370 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11371 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11372
11373 * sysdeps/sparc/elf/configure.in: Moved to ...
11374 * sysdeps/sparc/configure.in: ... here.
11375 * sysdeps/sparc/elf/configure: Delete file.
11376 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11377 * sysdeps/sparc/sparc32/start.S: ... here.
11378 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11379 * sysdeps/sparc/sparc64/start.S: ... here.
11380 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11381 * sysdeps/sparc/sparc32/Makefile: ... this.
11382 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11383 * sysdeps/sparc/sparc64/Makefile: ... this.
11384
11385 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11386 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11387 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11388 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11389 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11390 * sysdeps/s390/s390-32/setjmp.S: ... here.
11391 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11392 * sysdeps/s390/s390-32/configure.in: ... here.
11393 * sysdeps/s390/s390-32/elf/configure: Delete file.
11394 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11395 * sysdeps/s390/s390-32/start.S: ... here.
11396
11397 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11398 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11399 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11400 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11401 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11402 * sysdeps/s390/s390-64/setjmp.S: ... here.
11403 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11404 * sysdeps/s390/s390-64/configure.in: ... here
11405 * sysdeps/s390/s390-64/elf/configure: Delete file.
11406 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11407 * sysdeps/s390/s390-64/start.S: ... here.
11408 * sysdeps/s390/s390-64/elf/configure: Delete.
11409
11410 * configure.in: Remove support for elf directories in sysdeps.
11411
11412 * configure: Regenerated.
11413 * sysdeps/i386/configure: Regenerated.
11414 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11415 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11416 * sysdeps/s390/s390-32/configure: Regenerated.
11417 * sysdeps/s390/s390-64/configure: Regenerated.
11418 * sysdeps/sh/configure: Regenerated.
11419 * sysdeps/sparc/configure: Regenerated.
11420 * sysdeps/x86_64/configure: Regenerated.
11421
a3f61311
AS
114222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11423
c876e002
AS
11424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11425
a3f61311
AS
11426 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11427 denormal result into account.
11428
ac4c54f0
RM
114292012-03-25 Roland McGrath <roland@hack.frob.com>
11430
11431 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11432 Reported by Allan McRae <allan@archlinux.org>.
11433
6a9b9c02
JL
114342012-03-23 Jeff Law <law@redhat.com>
11435
11436 * nss/getnssent.c (__nss_getent): Fix typo.
11437
4c42a0c1
DM
114382012-03-23 David S. Miller <davem@davemloft.net>
11439
11440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11441
1532c7ac
L
114422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11443
11444 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11445 to pad to uint64_t for each field.
11446 (dl_tls_index): Replace unsigned long with uint64_t.
11447
3ff42526
PP
114482012-03-23 Daniel Jacobowitz <dmj@google.com>
11449 Paul Pluzhnikov <ppluzhnikov@google.com>
11450
11451 [BZ #6528]
11452 * grp/Makefile (otherlibs): Don't set it.
11453 * inet/Makefile (otherlibs): Likewise.
11454 * login/Makefile (otherlibs): Likewise.
11455 * nscd/Makefile (otherlibs): Likewise.
11456 * posix/Makefile (otherlibs): Likewise.
11457 * pwd/Makefile (otherlibs): Likewise.
11458 * rt/Makefile (otherlibs): Likewise.
11459 * sunrpc/Makefile (otherlibs): Likewise.
11460 * nss/Makefile (otherlibs): Likewise.
11461 Add libnss_files to routines and static-only-routines.
11462 ($(objpfx)getent): Remove rule.
11463 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11464 static-only-routines.
11465
7c69cd14
JM
114662012-03-22 Joseph Myers <joseph@codesourcery.com>
11467
11468 [BZ #13892]
11469 * math/s_cexp.c: Include <float.h>.
11470 (__cexp): Handle exp result overflowing not necessarily
11471 overflowing both real and imaginary parts of result.
11472 * math/s_cexpf.c: Likewise.
11473 * math/s_cexpl.c: Likewise.
11474 * math/libm-test.inc (cexp_test): Add more tests.
11475 * sysdeps/i386/fpu/libm-test-ulps: Update.
11476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11477
81b035fe
L
114782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11479
11480 * include/link.h (ELFW): New macro.
11481 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11482 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11483
1da7940c
L
114842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11485
11486 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11487 with uint64_t.
11488
b749dbb9
L
114892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11490
11491 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11492 declaration.
11493 (struct La_x32_retval): Likewise.
11494
2ff87f3f
L
114952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11496
11497 * sysdeps/x86_64/preconfigure.in: New file.
11498 * sysdeps/x86_64/preconfigure: New generated file.
11499
c0df8e69
JM
115002012-03-22 Joseph Myers <joseph@codesourcery.com>
11501
48e44791
JM
11502 [BZ #13824]
11503 * math/e_exp2l.c: Include <float.h>.
11504 (__ieee754_exp2l): Handle overflow and underflow cases
11505 separately. Only pass fractional part of argument to
11506 __ieee754_expl.
11507 * math/libm-test.inc (exp2_test): Add more tests.
11508
c0df8e69
JM
11509 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11510 negating x to take absolute value.
11511 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11512 Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11515 Likewise.
11516 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11517 computing low part if x was negated.
11518 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11519
c8e43ba7
L
115202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11521
11522 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11523 la_x32_gnu_pltexit.
11524 (pltexit): Cast int_retval to ptrdiff_t.
11525 * elf/tst-auditmod3b.c: Likewise.
11526 * elf/tst-auditmod4b.c: Likewise.
11527 * elf/tst-auditmod5b.c: Likewise.
11528 * elf/tst-auditmod6b.c: Likewise.
11529 * elf/tst-auditmod6c.c: Likewise.
11530 * elf/tst-auditmod7b.c: Likewise.
11531
11532 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11533 and x32_gnu_pltexit.
11534
11535 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11536 __ELF_NATIVE_CLASS.
11537 (La_x32_regs): New macro.
11538 (La_x32_retval): Likewise.
11539 (la_x32_gnu_pltenter): New function prototype.
11540 (la_x32_gnu_pltexit): Likewise.
11541
7998fa78
AS
115422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11543
dcb33988
AS
11544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11545 exponent.
11546
233fc563
AS
11547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11548
7998fa78
AS
11549 * configure.in (libc_cv_cc_nofma): Check for option to disable
11550 generation of FMA instructions.
11551 * configure: Regenerate.
11552 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11553 * sysdeps/ieee754/dbl-64/Makefile: New file.
11554 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11555 Remove brandred-fma4.
11556 (CFLAGS-brandred-fma4.c): Remove.
11557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11559 define.
11560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11561 define.
11562
8e95c99a
L
115632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11564
11565 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11566 LLONG_MAX != LONG_MAX.
11567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11568 (_fitoa_word): Likewise.
11569 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11570 LLONG_MAX != LONG_MAX.
11571 * stdio-common/_itowa.h: Include <_itoa.h>.
11572 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11573 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11574 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11575 only if not defined.
11576 (_ITOA_WORD_TYPE): Likewise.
11577 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11578 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11579
6f4db457
DM
115802012-03-21 David S. Miller <davem@davemloft.net>
11581
11582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11583
7785fe5a
L
115842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11585
11586 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11587 of x86_64 when setting libc_cv_slibdir, libdir and
11588 libc_cv_localedir.
11589 * sysdeps/unix/sysv/linux/configure: Regenerated.
11590
4535cd55
JM
115912012-03-21 Joseph Myers <joseph@codesourcery.com>
11592
11593 * manual/lang.texi (Old Varargs): Remove section.
11594 (How Variadic): Update menu.
11595 (va_start): Do not mention varargs.h.
11596
17228132
TS
115972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11598 Joseph Myers <joseph@codesourcery.com>
11599
11600 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11601 link test.
11602 * configure: Regenerated.
11603
8149f976
TS
116042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11605
05f3d1f6
UD
11606 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11607 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11608 conformtest.pl
8149f976 11609
1a4ac776
JM
116102012-03-21 Joseph Myers <joseph@codesourcery.com>
11611
be22ce65
JM
11612 * NOTES: Remove.
11613 * Makefile (files-for-dist): Remove NOTES.
11614 (NOTES): Remove rule.
11615 * README: Don't refer to NOTES.
11616 * manual/creature.texi: Don't include macros.texi.
11617 * manual/intro.texi (creature.texi): Remove comment referring to
11618 NOTES.
11619
40b601fb
JM
11620 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11621 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11622 * configure: Regenerated.
11623 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11624 LIBC_TRY_CC_OPTION.
11625 (libc_cv_as_i686): Likewise.
11626 (libc_cv_cc_avx): Likewise.
11627 (libc_cv_cc_sse2avx): Likewise.
11628 (libc_cv_cc_fma4): Likewise.
11629 (libc_cv_cc_novzeroupper): Likewise.
11630 * sysdeps/i386/configure: Regenerated.
11631
1a4ac776
JM
11632 [BZ #13883]
11633 * sysdeps/i386/fpu/s_cexp.S: Remove.
11634 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11635 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11636 * math/libm-test.inc (cexp_test): Add more tests.
11637 * sysdeps/i386/fpu/libm-test-ulps: Update.
11638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11639
a458e7fe
AM
116402012-03-21 Allan McRae <allan@archlinux.org>
11641
11642 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11643
0cb7efc5
JM
116442012-03-21 Joseph Myers <joseph@codesourcery.com>
11645
11646 [BZ #13871]
11647 * math/w_exp2.c: Do not include <float.h>.
11648 (o_threshold, u_threshold): Remove.
11649 (__exp2): Calculate result before checking finiteness and calling
11650 __kernel_standard.
11651 * math/w_exp2f.c: Likewise.
11652 * math/w_exp2l.c: Likewise.
11653 * math/libm-test.inc (exp2_test): Require overflow exception for
11654 1e6 input.
2460d3aa
JM
11655
11656 [BZ #3866]
11657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11658 range of signed 64-bit integers before using fistpll. Remove
11659 checks for whether integers fit in mantissa bits.
11660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11661 the range of signed 32-bit integers before using fistpl. Remove
11662 checks for whether integers fit in mantissa bits.
11663 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11664 (__ieee754_powl): Test for y outside the range of signed 64-bit
11665 integers before using fistpll. Reduce 64-bit values to 63-bit
11666 ones as needed.
11667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11668 divide-by-zero is raised for zero to large negative powers.
11669 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11670 (__ieee754_powl): Test for y outside the range of signed 64-bit
11671 integers before using fistpll. Reduce 64-bit values to 63-bit
11672 ones as needed.
11673 * math/libm-test.inc (pow_test): Add more tests.
11674
eb96ffb0
L
116752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11676
11677 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11678 <stdio-common/_itoa.h>.
11679 * debug/segfault.c: Likewise.
11680 * elf/dl-cache.c: Likewise.
11681 * elf/dl-minimal.c: Likewise.
11682 * elf/dl-misc.c: Likewise.
11683 * elf/dl-sysdep.c: Likewise.
11684 * elf/dl-version.c: Likewise.
11685 * elf/rtld.c: Likewise.
11686 * hurd/hurdsock.c: Likewise.
11687 * hurd/lookup-retry.c: Likewise.
11688 * malloc/malloc.c: Likewise.
11689 * malloc/mtrace.c: Likewise.
11690 * nscd/nscd_getgr_r.c: Likewise.
11691 * nscd/nscd_getpw_r.c: Likewise.
11692 * nscd/nscd_getserv_r.c: Likewise.
11693 * posix/getopt_init.c: Likewise.
11694 * posix/wordexp.c: Likewise.
11695 * stdio-common/_itoa.c: Likewise.
11696 * stdio-common/printf_fphex.c: Likewise.
11697 * stdio-common/vfprintf.c: Likewise.
11698 * string/_strerror.c: Likewise.
11699 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11700 * sysdeps/i386/i686/hp-timing.h: Likewise.
11701 * sysdeps/mach/_strerror.c: Likewise.
11702 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11703 * sysdeps/mach/hurd/sethostid.c: Likewise.
11704 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11705 * sysdeps/mach/xpg-strerror.c: Likewise.
11706 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11707 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11708 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11709 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11710 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11711 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11712 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11713 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11714 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11715 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11716 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11717 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11718 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11719 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11720 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11721 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11722 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11723 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11724 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11725 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11726 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11727
11728 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11729
11730 * stdio-common/_itoa.h: Moved to ...
11731 * sysdeps/generic/_itoa.h: Here.
11732
11733 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11734
11735 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11736 instead of "_itoa.h" and "_itowa.h".
11737 * stdio-common/vfprintf.: Likewise.
11738
d1af992d
L
117392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11740
11741 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11742 <bits/wordsize.h>.
11743 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11744 (__signbit): Likwise.
11745 (llrintf): Likwise.
11746 (llrint): Likwise.
11747
114883e0
L
117482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11749
11750 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11751 __WORDSIZE != 64.
11752
c135cc1b
JM
117532012-03-20 Joseph Myers <joseph@codesourcery.com>
11754
11755 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11756 OVERFLOW_EXCEPTION_OK.
11757 * math/libm-test.inc ("Philosophy"): Update comment about
11758 exception testing.
11759 (OVERFLOW_EXCEPTION): Define.
11760 (OVERFLOW_EXCEPTION_OK): Likewise.
11761 (INVALID_EXCEPTION_OK): Renumber.
11762 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11763 (IGNORE_ZERO_INF_SIGN): Likewise.
11764 (test_exceptions): Handle FE_OVERFLOW.
11765 (exp10_test): Expect overflow exceptions.
11766 (exp2_test): Likewise.
11767 (expm1_test): Likewise.
11768 (nextafter_test): Likewise.
11769 (pow_test): Likewise.
11770 (scalbn_test): Likewise.
11771 (scalbln_test): Likewise.
11772
95443d88
L
117732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11774
11775 * sysdeps/x86_64/bits/atomic.h
11776 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11777 64bit integer.
11778 (atomic_exchange_acq): Likewise.
11779 (__arch_exchange_and_add_body): Likewise.
11780 (__arch_add_body): Likewise.
11781 (atomic_add_negative): Likewise.
11782 (atomic_add_zero): Likewise.
11783
490df6c4
L
117842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11785
c2722551 11786 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11787 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11788
5e52b189
L
117892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11790
11791 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11792 Check __x86_64__ instead of __WORDSIZE.
11793
a9879d4c
L
117942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11797
5df98260
DM
117982012-03-19 David S. Miller <davem@davemloft.net>
11799
e1497744
DM
11800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11801
5df98260
DM
11802 * sysdeps/sparc/fpu/fenv_private.h: New file.
11803 * sysdeps/sparc/fpu/math_private.h: Use it.
11804 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11805 Remove.
11806 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11807 (libc_feholdexcept_setroundl): Remove.
11808 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11809 Remove.
11810 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11811 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11812
b4c35121
L
118132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11814
11815 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11816 int64_t instead of long int.
11817 (INSERT_WORDS64): Likwise.
11818
56965fd7
L
118192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11820
11821 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11822 _Unwind_GetCFA return to _Unwind_Ptr first.
11823
83d1aec8
JM
118242012-03-19 Joseph Myers <joseph@codesourcery.com>
11825
1897ad44
JM
11826 [BZ #13629]
11827 * math/s_clog.c: Include <float.h>.
11828 (__clog): Scale large or subnormal inputs.
11829 * math/s_clogf.c: Likewise.
11830 * math/s_clogl.c: Likewise.
11831 * math/s_clog10.c: Include <float.h>.
11832 (M_LOG10_2): Define.
11833 (__clog10): Scale large or subnormal inputs.
11834 * math/s_clog10f.c: Likewise.
11835 * math/s_clog10l.c: Likewise.
11836 * math/libm-test.inc (clog_test): Add more tests.
11837 (clog10_test): Likewise.
11838 * sysdeps/i386/fpu/libm-test-ulps: Update.
11839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11840
7726d6a9
JM
11841 [BZ #11451]
11842 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11843 x and y.
11844 * math/libm-test.inc (atan2_test): Add another test.
11845
83d1aec8
JM
11846 * Makerules (common-objdir-compile): Remove.
11847 * sysdeps/unix/Makefile (config-generated): Do not add
11848 $(unix-generated) to variable.
11849 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11850 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11851 Remove rule.
11852 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11853 Likewise.
11854 [generic bits/local_lim.h] (before-compile): Do not append to
11855 variable.
11856 [generic bits/local_lim.h] (common-generated): Likewise.
11857 [generic sys/param.h] (before-compile): Do not append to variable.
11858 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11859 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11860 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11861 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11862 include.
11863 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11864 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11865 [generic sys/param.h] ($(addprefix
11866 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11867 [generic sys/param.h] (common-generated): Do not append to
11868 variable.
11869 [generic sys/param.h] (sysdep_headers): Likewise.
11870 [generic bits/errno.h] (before-compile): Do not append to
11871 variable.
11872 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11873 rule.
11874 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11875 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11876 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11877 [generic bits/errno.h] (common-generated): Do not append to
11878 variable.
11879 [generic bits/ioctls.h] (before-compile): Do not append to
11880 variable.
11881 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11882 rule.
11883 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11884 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11885 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11886 rule.
11887 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11888 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11889 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11890 [generic bits/ioctls.h] (common-generated): Do not append to
11891 variable.
11892 [generic sys/syscall.h] (syscall.h): Remove variable.
11893 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11894 rule.
11895 [generic sys/syscall.h] (before-compile): Do not append to
11896 variable.
11897 [generic sys/syscall.h] (common-generated): Likewise.
11898 * sysdeps/unix/errnos-tmpl.c: Remove file.
11899 * sysdeps/unix/errnos.awk: Likewise.
11900 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11901 * sysdeps/unix/ioctls.awk: Likewise.
11902 * sysdeps/unix/mk-local_lim.c: Likewise.
11903 * sysdeps/unix/snarf-ioctls: Likewise.
11904
4851a949
RH
119052012-03-19 Richard Henderson <rth@twiddle.net>
11906
bd37f2ee
RH
11907 * sysdeps/i386/fpu/fenv_private.h: New file.
11908 * sysdeps/i386/fpu/math_private.h: Use it.
11909 (math_opt_barrier, math_force_eval): Remove.
11910 (libc_feholdexcept_setround_53bit): Remove.
11911 (libc_feupdateenv_53bit): Remove.
11912 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11913 (math_opt_barrier, math_force_eval): Remove.
11914 (libc_feholdexcept): Remove.
11915 (libc_feholdexcept_setround): Remove.
11916 (libc_fetestexcept, libc_fesetenv): Remove.
11917 (libc_feupdateenv_test): Remove.
11918 (libc_feupdateenv, libc_feholdsetround): Remove.
11919 (libc_feresetround): Remove.
11920
d0adc922
RH
11921 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11922 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11923
0fe0f1f8
RH
11924 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11925 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11926 (libc_feupdateenv_testl): New.
11927 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11928 (libc_feupdateenv_testf): New.
11929 (libc_feupdateenv): Use libc_feupdateenv_test.
11930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11931 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11932
eb92c487
RH
11933 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11934 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11935 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11936 (libc_feresetround_noex): New.
11937 (libc_feresetround_noexf): New.
11938 (libc_feresetround_noexl): New.
11939 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11940 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11941 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11942 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11943 SET_RESTORE_ROUND.
11944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11946 (__cos): Likewise.
11947 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11948 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11949 SET_RESTORE_ROUND_NOEX.
11950 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11951 SET_RESTORE_ROUND_NOEXF.
11952 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11953 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11954 (libc_feholdsetroundf): New.
11955 (libc_feresetround, libc_feresetroundf): New.
11956
7d2e8012
RH
11957 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11958 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11959 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11960
b4dabbb4
RH
11961 * sysdeps/generic/math_private.h: Include <fenv.h>.
11962 (default_libc_feholdexcept): New.
11963 (default_libc_feholdexcept_setround): New.
11964 (default_libc_fesetenv, default_libc_feupdateenv): New.
11965 (libc_feholdexcept): Only define if undefined.
11966 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11967 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11968 (libc_feholdexcept_setroundl): Likewise.
11969 (libc_feholdexcept_setround_53bit): Likewise.
11970 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11971 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11972 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11973 (libc_feupdateenv_53bit): Likewise.
11974 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11975 (libc_feholdexcept): Convert from macro to inline function.
11976 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11977 (libc_fesetenv, libc_feupdateenv): Likewise.
11978
4851a949
RH
11979 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11980 not previously defined.
11981 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11982 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11983 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11984 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11985 * sysdeps/ieee754/flt-32/math_private.h: New file.
11986 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11987 math_private.h below SET_FLOAT_WORD.
11988 (__isnan, __isinf_ns, __finite): Remove.
11989 (__isnanf, __isinf_nsf, __finitef): Remove.
11990
e79d442e
AS
119912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11992
11993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11994
90b80344
DM
119952012-03-17 David S. Miller <davem@davemloft.net>
11996
11997 [BZ #6471]
11998 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11999 for 2.16.
12000
edc21804
DM
120012012-03-16 David S. Miller <davem@davemloft.net>
12002
77e927af
DM
12003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12004 warnings.
12005
374976dd
DM
12006 [BZ #6471]
12007 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12008 properly.
12009 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12010 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12011 sysdep_routines when subdir is sysvipc.
12012 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12013 __getshmlba helper.
12014
edc21804
DM
12015 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12016
473c3ef3
L
120172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12018
12019 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12020 [__LP64__].
12021
eb0f39b6
L
120222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12023
12024 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12025 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12026 (__lround): Renamed to ...
12027 (__llround): This. Replace long int with long long int.
12028 Define lround functions as aliases of llround functions.
12029 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12030
6b6cd74b
L
120312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12032
12033 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12034 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12035 adresses to uintptr_t. Replace "long int" and "unsigned long
12036 int" with "greg_t" on va_arg.
12037
f1a77b01
L
120382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12039
12040 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12041 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12042
12043 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12044 Move e_machine check before EI_CLASS check. Handle x32
12045 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12046 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12047 SKIP_EM_IA_64 and include
12048 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12049
12050 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12051 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12052 (add_system_dir): New macro.
12053
12054 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12055 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12056
11b90b9f
JM
120572012-03-16 Joseph Myers <joseph@codesourcery.com>
12058
c36e1d23
JM
12059 [BZ #2551]
12060 [BZ #2552]
12061 [BZ #2553]
12062 [BZ #2554]
12063 [BZ #2562]
12064 [BZ #2563]
12065 [BZ #2565]
12066 [BZ #2566]
12067 [BZ #2576]
12068 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12069 (y0): Likewise.
12070 * math/w_j0f.c (j0f): Likewise.
12071 (y0f): Likewise.
12072 * math/w_j0l.c (__j0l): Likewise.
12073 (__y0l): Likewise.
12074 * math/w_j1.c (j1): Likewise.
12075 (y1): Likewise.
12076 * math/w_j1f.c (j1f): Likewise.
12077 (y1f): Likewise.
12078 * math/w_j1l.c (__j1l): Likewise.
12079 (__y1l): Likewise.
12080 * math/w_jn.c (jn): Likewise.
12081 (yn): Likewise.
12082 * math/w_jnf.c (jnf): Likewise.
12083 (ynf): Likewise.
12084 * math/w_jnl.c (__jnl): Likewise.
12085 (__ynl): Likewise.
12086 * math/libm-test.inc (j0_test): Add more tests.
12087 (j1_test): Likewise.
12088 (jn_test): Likewise. Add trailing semicolon to existing test.
12089 (y0_test): Likewise.
12090 (y1_test): Likewise.
12091 * sysdeps/i386/fpu/libm-test-ulps: Update.
12092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12093
11b90b9f
JM
12094 [BZ #13851]
12095 [BZ #13854]
12096 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12097 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12098 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12099 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12100 (__tanl): Set errno for infinite argument.
12101 * sysdeps/i386/fpu/mptan.c: Remove.
12102 * sysdeps/i386/fpu/s_tan.S: Likewise.
12103 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12104 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12105 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12106 * math/libm-test.inc (tan_test): Add more tests and enable more
12107 tests for double and long double.
12108 * sysdeps/i386/fpu/libm-test-ulps: Update.
12109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12110
6a1bd2a1
JK
121112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12112
12113 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12114 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12115
10a803e0
RM
121162012-03-16 Roland McGrath <roland@hack.frob.com>
12117
12118 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12119 * configure.in: Use it for both main tree and add-ons.
12120 * configure: Regenerated.
12121
f196c7f7
L
121222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12123
12124 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12125
8848d99d
JM
121262012-03-16 Joseph Myers <joseph@codesourcery.com>
12127
96cbe7f4
JM
12128 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12129 in comment.
12130
8848d99d
JM
12131 [BZ #13851]
12132 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12133 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12134 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12135 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12137 infinite argument.
12138 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12140 != 0 for prec == 2.
12141 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12142 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12143 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12144 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12145 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12146 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12147 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12148 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12149 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12150 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12151 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12152 * math/libm-test.inc (cos_test): Add more tests and enable more
12153 tests for long double.
12154 (sin_test): Likewise.
12155 (sincos_test): Likewise.
12156 * sysdeps/i386/fpu/libm-test-ulps: Update.
12157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12158
dd7f4703
DM
121592012-03-16 David S. Miller <davem@davemloft.net>
12160
12161 * sysdeps/sparc/fpu/math_private.h: New file.
12162
006f1daa
DM
121632012-03-15 David S. Miller <davem@davemloft.net>
12164
c0c83bc8
DM
12165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12166 file.
e6a62e18 12167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12169 file.
e6a62e18
DM
12170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12176 sysdep routines.
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12178
88cb87d9
DM
12179 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12180 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12181
006f1daa 12182 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12184 sparc-ifunc.h
006f1daa 12185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12187 Likewise.
12188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12189 Likewise.
006f1daa
DM
12190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12194 Likewise.
006f1daa
DM
12195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12200 Likewise.
12201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12202 Likewise.
006f1daa
DM
12203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12224 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12225 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12227
11e0098e
AS
122282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12229
12230 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12231 scaling.
12232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12233
e85b09d0
AJ
122342012-03-15 Andreas Jaeger <aj@suse.de>
12235
12236 [BZ #13852]
12237 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12238 ieee754/flt-32 implementation for sin, cos and sincos.
12239 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12240 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12241 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12242 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12243 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12244 ieee754/flt-32 implementation for tan.
12245
12246 * math/libm-test.inc (cos_test): Enable some large input tests for
12247 float as well
12248 (sin_test): Likewise.
12249 (sincos_test): Likewise.
12250 (tan_test): Add tests for large input.
12251
12252 * sysdeps/i386/fpu/libm-test-ulps: Update.
12253
81c64153
AJ
122542012-03-15 Andreas Jaeger <aj@suse.de>
12255
12256 [BZ #13658]
12257 * math/libm-test.inc (cos_test): Add more test cases.
12258 (sin_test): Likewise.
12259 (sincos_test): Likewise.
12260
7bbfa5c6
AJ
122612012-03-15 Andreas Jaeger <aj@suse.de>
12262
12263 [BZ #13837]
12264 * math/libm-test.inc (cos_test): Add a test case for large input
12265 value.
12266 (sin_test): Likewise.
12267 (sincos_test): Likewise.
12268
122692012-03-15 Andreas Jaeger <aj@suse.de>,
12270 Joseph Myers <joseph@codesourcery.com>
12271
12272 [BZ #13658]
0671f479 12273 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12274 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12275 * sysdeps/i386/fpu/branred.c: Likewise.
12276 * sysdeps/i386/fpu/dosincos.c: Likewise.
12277 * sysdeps/i386/fpu/mpa.c: Likewise.
12278 * sysdeps/i386/fpu/s_cos.S: Likewise.
12279 * sysdeps/i386/fpu/s_sin.S: Likewise.
12280 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12281 * sysdeps/i386/fpu/sincos32.c: Likewise.
12282
12283 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12284 Define.
12285 (libc_feupdateenv_53bit): Define.
12286 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12287 Define.
12288 (libc_feupdateenv_53bit): Define.
12289
12290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12291 53 bit (without extend i386 double precision).
12292
12293 * math/libm-test.inc (sincos_test): Add tests for large input.
12294 (sin): Likewise.
12295 (cos): Likewise.
12296
12297 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12298
9cad04ea
AS
122992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12300
12301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12302
f7062b9a
DM
123032012-03-15 David S. Miller <davem@davemloft.net>
12304
12305 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12306 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12307 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12308 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12321 file.
f7062b9a 12322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12324 file.
f7062b9a 12325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12327 file.
f7062b9a 12328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12330 file.
f7062b9a
DM
12331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12333 fmin/fmax sysdep routines.
12334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12335
7bd951ff
DM
123362012-03-14 David S. Miller <davem@davemloft.net>
12337
559398ab
DM
12338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12360 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12361 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12364 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12367 routines.
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12369 file.
559398ab 12370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12372 file.
559398ab 12373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12375 file.
559398ab 12376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12378 file.
559398ab 12379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12381 file.
559398ab 12382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12384 file.
12385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12386 file.
12387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12388 file.
12389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12390 file.
12391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12392 New file.
12393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12394 file.
12395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12396 file.
559398ab 12397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12399 file.
559398ab 12400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12402 file.
559398ab 12403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12405 file.
559398ab 12406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12408 VIS3 routines.
559398ab
DM
12409
12410 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12411 New file.
12412
5a1c1e32
DM
12413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12414
eae47a36
DM
12415 * sysdeps/sparc/configure.in: New file.
12416 * sysdeps/sparc/configure: Generate.
12417 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12418 * configure: Regenerate.
12419 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12420 * config.make.in (have-as-vis3): New.
12421 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12422 available use -Av9d instead of -Av9a.
12423 * sysdeps/sparc/sparc64/Makefile: Likewise.
12424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12426 New file.
12427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12428 file.
12429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12430 New file.
12431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12432 file.
eae47a36
DM
12433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12434 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12437 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12438
c0c83bc8
DM
12439 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12440 fzeros/fnegs to load 0x80000000 into a float register instead of
12441 using the stack.
7bd951ff
DM
12442 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12443
bd951ccb
JM
124442012-03-14 Joseph Myers <joseph@codesourcery.com>
12445
12446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12447 bits/syscall.h.
12448 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12449 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12450 ($(inst_includedir)/bits/syscall.h): Remove rule.
12451 ($(objpfx)bits/syscall.d): Include instead of
12452 $(objpfx)syscall-list.d.
12453 (generated): Change syscall-list.h and syscall-list.d to
12454 bits/syscall.h and bits/syscall.d.
12455
bb4e6db2
RM
124562012-03-14 Roland McGrath <roland@hack.frob.com>
12457
12458 [BZ #13846]
12459 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12460
aa4a2ae1
JM
124612012-03-14 Joseph Myers <joseph@codesourcery.com>
12462
e456826d
JM
12463 [BZ #13841]
12464 * math/s_csqrt.c: Include <float.h>.
12465 (__csqrt): Scale large or subnormal inputs.
12466 * math/s_csqrtf.c: Likewise.
12467 * math/s_csqrtl.c: Likewise.
12468 * math/libm-test.inc (csqrt_test): Add more tests.
12469 * sysdeps/i386/fpu/libm-test-ulps: Update.
12470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12471
aa4a2ae1
JM
12472 [BZ #13840]
12473 * math/libm-test.inc (hypot_test): Add more tests.
12474
7c10fd35
DM
124752012-03-13 David S. Miller <davem@davemloft.net>
12476
12477 [BZ #13840]
12478 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12479 double-precision for the calculation instead of scaling.
12480
f453b98b
JM
124812012-03-13 Joseph Myers <joseph@codesourcery.com>
12482
12483 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12484 manipulate bits before adding and subtracting TWO52[sx].
12485 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12486 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12487 Likewise.
12488 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12489
09a3453f
DM
124902012-03-13 David S. Miller <davem@davemloft.net>
12491
8e59da90
DM
12492 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12493 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12495 rtld-global-offsets.h
12496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12497
2a8ab7f2
DM
12498 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12499 large parameters.
12500
10f62770
DM
12501 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12502
5f0bdb18
DM
12503 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12504 'err' in the ifdef scope in which it is actually used.
12505
09a3453f
DM
12506 * nss/nss_db/db-init.c: Include string.h
12507
b4b2eb5e
DM
125082012-03-12 David S. Miller <davem@davemloft.net>
12509
98bb2f1c
DM
12510 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12511 masking out of the most significant byte of random value used.
12512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12513 Fix coding style in previous change.
12514
b4b2eb5e
DM
12515 * sysdeps/unix/sysv/linux/kernel-features.h
12516 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12517 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12518 expression.
12519 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12520 later.
12521
6e226b09
DM
125222012-03-11 David S. Miller <davem@davemloft.net>
12523
a1bcbd40
DM
12524 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12525 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12526 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12527 for 'resultvar' otherwise things get truncated on 64-bit.
12528
cb9d6174
DM
12529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12530 Fix masking out of the most significant byte of random value used.
12531
6e226b09
DM
12532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12533
058c132d
AS
125342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12535
12536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12537
2d2cd515
DM
125382012-03-09 David S. Miller <davem@davemloft.net>
12539
12540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12541 variables with appropriate CPP guards.
12542 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12543 frame pointer, not the stack pointer. Correct layout comments. Fix test
12544 on resulting framesize and the management of the outregs buffer for pltexit.
12545 Preserve floating point return values across _dl_call_pltexit call.
12546 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12547 framesize and the management of the outregs buffer for pltexit.
12548 Preserve floating point return values across _dl_call_pltexit
12549 call.
12550 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12551 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12552 (print_exit): Fix format string for return register value.
12553
9a07f9d0
JM
125542012-03-10 Joseph Myers <joseph@codesourcery.com>
12555
12556 * sunrpc/Makefile (others): Add rpcgen.
12557 ($(objpfx)rpcgen): Remove special build rule and dependency on
12558 libc.
12559 * sunrpc/rpcgen.c: New file.
12560
547b5e30
PE
125612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12562
c524201a
PE
12563 [BZ #13673]
12564 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12565 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12566 * sysdeps/i386/crti.S: Likewise.
12567 * sysdeps/i386/crtn.S: Likewise.
12568 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12569 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12570 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12571 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12572 * sysdeps/sh/crti.S: Likewise.
12573 * sysdeps/sh/crtn.S: Likewise.
12574 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12575
7b6235f2
PE
12576 [BZ #13673]
12577 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12578 with URL.
12579 * locale/programs/locfile-kw.gperf: Likewise.
12580 * locale/programs/charmap-kw.h: Regenerated.
12581 * locale/programs/locfile-kw.h: Likewise.
12582
547b5e30
PE
12583 [BZ #13673]
12584 * intl/plural.y: Replace FSF snail mail address with URL.
12585 * intl/plural.c: Regenerated.
12586
5f0a5dae
RH
125872012-03-09 Richard Henderson <rth@twiddle.net>
12588
12589 * include/math_private.h: Remove file.
12590 * math/math_private.h: Move file ...
12591 * sysdeps/generic/math_private.h: ... here.
12592
b8c03620
RH
12593 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12594 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12595 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12596
4e234f5d 12597 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12598 and <math_private.h>.
12599 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12600 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12601 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12602 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12603 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12604 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12660 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12687 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12688 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12690 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12691 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12692 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12693 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12694 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12695 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12696 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12698 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12699 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12700 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12701 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12702 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12703 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12704 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12705 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12706 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12707 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12709 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12710 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12711 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12712 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12713 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12714 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12716 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12718 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12719 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12720 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12721 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12722 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12723 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12724 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12725 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12726 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12727 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12728 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12729 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12730 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12731 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12732 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12733 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12734 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12735 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12736 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12737 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12738 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12741 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12742 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12743 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12747 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12748 * sysdeps/ieee754/k_standard.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12762 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12763 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12862 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12864 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12867 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12868 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12871 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12876 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12881 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12897 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12898 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12903 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12909 * sysdeps/ieee754/s_lib_version.c: Likewise.
12910 * sysdeps/ieee754/s_matherr.c: Likewise.
12911 * sysdeps/ieee754/s_signgam.c: Likewise.
12912 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12913 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12914 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12915 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12916 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12917 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12918 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12919 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12920 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12921 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12922 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12923 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12924 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12925 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12926 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12927 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12928 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12929 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12930 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 12933
1991fa03
JM
129342012-03-09 Joseph Myers <joseph@codesourcery.com>
12935
12936 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12937 * sunrpc/rpc_main.c: Likewise.
12938 * sunrpc/rpc_svcout.c: Likewise.
12939
60d6f5a6
DM
129402012-03-09 David S. Miller <davem@davemloft.net>
12941
12942 * include/math_private.h: New file.
12943
4962050e
JM
129442012-03-09 Joseph Myers <joseph@codesourcery.com>
12945
02a6f887
JM
12946 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12947 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12948 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12949 from <bits/socket_type.h>.
12950 (enum __socket_type): Don't define here.
12951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12953 bits/socket_type.h.
12954
c6e013c1
JM
12955 [BZ #13566]
12956 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12957 checking __USE_GNU.
12958
4962050e
JM
12959 * Makerules ($(inst_includedir)/%.h): New rule.
12960 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12961 (install-others): Remove variable setting.
12962 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12963
38842f45
RH
129642012-03-08 Richard Henderson <rth@twiddle.net>
12965
67bb6da6
RH
12966 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12967 from macro to inline function; merge with the
12968 !__LIBC_INTERNAL_MATH_INLINES version.
12969 (__ieee754_sqrtf): Likewise.
12970
15194b4b
RH
12971 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12972 to inline function.
12973 (__rintf, __floor, __floorf): Likewise.
12974
64e21ede
RH
12975 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12976 macro to inline function.
12977 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12978
38842f45
RH
12979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12980 not <math/math_private.h>.
12981
c64bf5fe
DM
129822012-03-08 David S. Miller <davem@davemloft.net>
12983
12984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12985 copyright year.
12986 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12987
82d86f28
TS
129882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12989
12990 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12991 normalization.
12992 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12993 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12994
aea5d727
UD
129952012-03-08 Ulrich Drepper <drepper@gmail.com>
12996
12997 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12998 be defined individually, they must be defined as a block. Define
12999 S for printing a string instead of hidint the different by using a
13000 macro for adding the 'l'.
13001 * stdio-common/tst-fphex-wide.c: Adjust.
13002
70bca0a3
MP
130032012-03-07 Marek Polacek <polacek@redhat.com>
13004
13005 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13006
65b81130
MP
130072012-03-08 Marek Polacek <polacek@redhat.com>
13008
13009 [BZ #13806]
13010 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13011 * stdio-common/tst-fphex.c: Define a few macros to make the
13012 test reusable. Use them.
13013 * stdio-common/tst-fphex-wide.c: New file.
13014
07037eeb
JM
130152012-03-08 Joseph Myers <joseph@codesourcery.com>
13016
a7a93d50
JM
13017 [BZ #6911]
13018 * manual/macros.texi (gnusystems): New macro.
13019 (nongnusystems): Likewise.
13020 (gnulinuxhurdsystems): Likewise.
13021 (gnuhurdsystems): Likewise..
13022 (gnulinuxsystems): Likewise.
13023 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13024 variants of the GNU system, not "GNU system".
13025 * manual/conf.texi: Likewise.
13026 * manual/errno.texi: Likewise. Update example of errno macro
13027 expansion.
13028 * manual/filesys.texi: Likewise.
13029 (getumask): Document as specific to GNU/Hurd.
13030 * manual/install.texi: Likewise. Reword some references to
13031 GNU/Linux.
13032 * manual/intro.texi: Likewise.
13033 * manual/io.texi: Likewise.
13034 (File Name Portability): Detail which constraints are inapplicable
13035 to all GNU systems and which are only inapplicable to GNU/Hurd.
13036 * manual/job.texi: Likewise.
13037 * manual/llio.texi: Likewise.
13038 (O_NOCTTY): Document as present on GNU/Linux.
13039 * manual/maint.texi: Likewise.
13040 * manual/memory.texi: Likewise.
13041 * manual/pattern.texi: Likewise.
13042 * manual/pipe.texi: Likewise.
13043 * manual/process.texi: Likewise.
13044 * manual/resource.texi: Likewise.
13045 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13046 child on GNU/Hurd.
13047 * manual/setjmp.texi: Likewise.
13048 * manual/signal.texi: Likewise.
13049 * manual/startup.texi: Likewise.
13050 * manual/stdio.texi: Likewise.
13051 * manual/terminal.texi: Likewise.
13052 (ONLCR): Document as POSIX.
13053 (OXTABS): Document availability on GNU/Linux as XTABS.
13054 (ONOEOT): Document availability separately from other bits.
13055 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13056 * manual/time.texi: Likewise.
13057 * manual/users.texi: Likewise.
13058 * INSTALL: Regenerated.
13059 * sysdeps/gnu/errlist.c: Regenerated.
13060
07037eeb
JM
13061 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13062 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13063 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13064 puts.
13065 * configure: Regenerated.
13066
d1d3431a
JM
130672012-03-07 Joseph Myers <joseph@codesourcery.com>
13068
af6a1e37
JM
13069 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13070 default includes instead of AC_HEADER_CHECK.
13071 * sysdeps/i386/configure: Regenerated.
13072
d1d3431a
JM
13073 [BZ #10716]
13074 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13075 * math/s_cacoshf.c (__cacoshf): Likewise.
13076 * math/s_cacoshl.c (__cacoshl): Likewise.
13077 * math/s_casinh.c (__casinh): Set signs of result from argument.
13078 * math/s_casinhf.c (__casinhf): Likewise.
13079 * math/s_casinhl.c (__casinhl): Likewise.
13080 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13081 (casinh_test): Add more tests.
13082 * sysdeps/i386/fpu/libm-test-ulps: Update.
13083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13084
482ff4da
UD
130852012-03-07 Ulrich Drepper <drepper@gmail.com>
13086
872fda05
UD
13087 * po/zh_TW.po: Update from translation team.
13088
a4300c7a
UD
13089 * login/Makefile (distribute): Remove variable.
13090 * catgets/Makefile: Likewise.
13091 * mach/Makefile: Likewise.
13092 * malloc/Makefile: Likewise.
13093 * misc/Makefile: Likewise.
13094 * iconv/Makefile: Likewise.
13095 * nscd/Makefile: Likewise.
13096 * hurd/Makefile: Likewise.
13097 * manual/Makefile: Likewise.
13098 * locale/Makefile: Likewise.
13099 * intl/Makefile: Likewise.
13100 * conform/Makefile: Likewise.
13101 * nss/Makefile: Likewise.
13102 * time/Makefile: Likewise.
13103 * soft-fp/Makefile: Likewise.
13104 * dirent/Makefile: Likewise.
13105 * gmon/Makefile: Likewise.
13106 * po/Makefile: Likewise.
13107 * rt/Makefile: Likewise.
13108 * socket/Makefile: Likewise.
13109 * math/Makefile: Likewise.
13110 * signal/Makefile: Likewise.
13111 * debug/Makefile: Likewise.
13112 * elf/Makefile: Likewise.
13113 * timezone/Makefile: Likewise.
13114 * stdlib/Makefile: Likewise.
13115 * iconvdata/Makefile: Likewise.
13116 * sunrpc/Makefile: Likewise.
13117 * io/Makefile: Likewise.
13118 * argp/Makefile: Likewise.
13119 * inet/Makefile: Likewise.
13120 * hesiod/Makefile: Likewise.
13121 * grp/Makefile: Likewise.
13122 * csu/Makefile: Likewise.
13123 * wctype/Makefile: Likewise.
13124 * crypt/Makefile: Likewise.
13125 * libio/Makefile: Likewise.
13126 * string/Makefile: Likewise.
13127 * nis/Makefile: Likewise.
13128 * resolv/Makefile: Likewise.
13129 * stdio-common/Makefile: Likewise.
13130 * wcsmbs/Makefile: Likewise.
13131 * dlfcn/Makefile: Likewise.
13132 * posix/Makefile: Likewise.
13133
3b7c4e74 13134 [BZ #6959]
482ff4da
UD
13135 * timezone/Makefile: Don't install timezone files, just the programs
13136 and scripts.
13137
f72ed77d
UD
131382012-03-06 Ulrich Drepper <drepper@gmail.com>
13139
a000466f
UD
13140 * nss/databases.def: Add missing gshadow entry.
13141
f72ed77d
UD
13142 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13143
a53b7a4e
MP
131442012-03-06 Marek Polacek <polacek@redhat.com>
13145
13146 [BZ #13726]
13147 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13148 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13149 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13150 * stdio-common/tst-long-dbl-fphex.c: New file.
13151
e9258400
DM
131522012-03-06 David S. Miller <davem@davemloft.net>
13153
13154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13155 (set_obp_int): New function.
13156 (get_obp_int): New function.
13157 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13158 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13159 Avoid unused variable warnings on 'val' and use builtin_expect.
13160 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13161 __builtin_expect.
e9258400
DM
13162 (INLINE_CLONE_SYSCALL): Likewise.
13163
3bd2c723
DM
131642012-03-05 David S. Miller <davem@davemloft.net>
13165
13166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13167
bbb78d03
AS
131682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13169
884c5db4
AS
13170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13171
bbb78d03
AS
13172 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13173 only for |x| >= 40.
13174 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13175
1c9f702a 131762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13177
13178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13179 Replace gettimeofday with __vdso_gettimeofday.
13180
7be16f82
RM
13181 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13182 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13183 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13184
13185 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13186 time with __vdso_time.
13187
ed58a00f
JM
131882012-03-05 Joseph Myers <joseph@codesourcery.com>
13189
13190 * manual/lang.texi (size_t): Note types to which size_t may be
13191 equivalent with the GNU C Library, but do not describe when
13192 differences between them are significant.
13193
30ee4ced
AJ
131942012-03-05 Andreas Jaeger <aj@suse.de>
13195
13196 * sysdeps/i386/fpu/libm-test-ulps: Update.
13197
b7cd39e8
JM
131982012-03-05 Joseph Myers <joseph@codesourcery.com>
13199
13200 [BZ #3976]
13201 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13202 (__ieee754_pow): Save and restore rounding mode and use
13203 round-to-nearest for main computations.
13204 * math/libm-test.inc (pow_test_tonearest): New function.
13205 (pow_test_towardzero): Likewise.
13206 (pow_test_downward): Likewise.
13207 (pow_test_upward): Likewise.
13208 (main): Call the new functions.
13209 * sysdeps/i386/fpu/libm-test-ulps: Update.
13210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13211
13212 [BZ #3976]
13213 * math/libm-test.inc (cosh_test_tonearest): New function.
13214 (cosh_test_towardzero): Likewise.
13215 (cosh_test_downward): Likewise.
13216 (cosh_test_upward): Likewise.
13217 (sinh_test_tonearest): Likewise.
13218 (sinh_test_towardzero): Likewise.
13219 (sinh_test_downward): Likewise.
13220 (sinh_test_upward): Likewise.
13221 (main): Call the new functions.
13222 * sysdeps/i386/fpu/libm-test-ulps: Update.
13223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13224
6c6a98c9
TV
132252012-03-05 Tom de Vries <tom@codesourcery.com>
13226
13227 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13228 default stack guard is set in last bytes.
13229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13230
21bb2d2e 132312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13232
21bb2d2e 13233 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13234
21bb2d2e
AJ
13235 [BZ #13656]
13236 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13237 possibly allocate from heap instead of stack.
13238 * stdio-common/bug-vfprintf-nargs.c: New file.
13239 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13240
c6922934
AS
132412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13242
13243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13244
bc957d53
MP
132452012-03-03 Marek Polacek <polacek@redhat.com>
13246
13247 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13248 * math/math_private.h: Likewise.
13249 * stdlib/tst-strtod.c: Likewise.
13250 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13251 * sysdeps/x86_64/bits/atomic.h: Likewise.
13252
6358490d
DM
132532012-03-02 David S. Miller <davem@davemloft.net>
13254
13255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13259 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13260 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13261 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13262 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13263
01ae168d
RM
132642012-03-02 Roland McGrath <roland@hack.frob.com>
13265
d9a17c07
RM
13266 [BZ #13792]
13267 * manual/examples/README: New file, says the example source files
13268 can be used under GPL>=2.
13269 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13270 line containing just "*/".
13271 * manual/examples/add.c: Add copyright header (GPL>=2).
13272 * manual/examples/argp-ex1.c: Likewise.
13273 * manual/examples/argp-ex2.c: Likewise.
13274 * manual/examples/argp-ex3.c: Likewise.
13275 * manual/examples/argp-ex4.c: Likewise.
13276 * manual/examples/atexit.c: Likewise.
13277 * manual/examples/db.c: Likewise.
13278 * manual/examples/dir.c: Likewise.
13279 * manual/examples/dir2.c: Likewise.
13280 * manual/examples/execinfo.c: Likewise.
13281 * manual/examples/filecli.c: Likewise.
13282 * manual/examples/filesrv.c: Likewise.
13283 * manual/examples/fmtmsgexpl.c: Likewise.
13284 * manual/examples/genpass.c: Likewise.
13285 * manual/examples/inetcli.c: Likewise.
13286 * manual/examples/inetsrv.c: Likewise.
13287 * manual/examples/isockad.c: Likewise.
13288 * manual/examples/longopt.c: Likewise.
13289 * manual/examples/memopen.c: Likewise.
13290 * manual/examples/memstrm.c: Likewise.
13291 * manual/examples/mkfsock.c: Likewise.
13292 * manual/examples/mkisock.c: Likewise.
13293 * manual/examples/mygetpass.c: Likewise.
13294 * manual/examples/pipe.c: Likewise.
13295 * manual/examples/popen.c: Likewise.
13296 * manual/examples/rprintf.c: Likewise.
13297 * manual/examples/search.c: Likewise.
13298 * manual/examples/select.c: Likewise.
13299 * manual/examples/setjmp.c: Likewise.
13300 * manual/examples/sigh1.c: Likewise.
13301 * manual/examples/sigusr.c: Likewise.
13302 * manual/examples/stpcpy.c: Likewise.
13303 * manual/examples/strdupa.c: Likewise.
13304 * manual/examples/strftim.c: Likewise.
13305 * manual/examples/strncat.c: Likewise.
13306 * manual/examples/subopt.c: Likewise.
13307 * manual/examples/swapcontext.c: Likewise.
13308 * manual/examples/termios.c: Likewise.
13309 * manual/examples/testopt.c: Likewise.
13310 * manual/examples/testpass.c: Likewise.
13311 * manual/examples/timeval_subtract.c: Likewise.
13312
01ae168d
RM
13313 [BZ #13792]
13314 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13315 function to ...
13316 * manual/timeval_subtract.c.texi: ... here, new file.
13317
49efa33d
DM
133182012-03-02 David S. Miller <davem@davemloft.net>
13319
13320 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13321
28afd92d
JM
133222012-03-02 Joseph Myers <joseph@codesourcery.com>
13323
804360ed
JM
13324 [BZ #3976]
13325 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13326 (__sin): Save and restore rounding mode and use round-to-nearest
13327 for all computations.
13328 (__cos): Save and restore rounding mode and use round-to-nearest
13329 for all computations.
13330 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13331 <fenv.h>.
13332 (tan): Save and restore rounding mode and use round-to-nearest for
13333 all computations.
13334 * math/libm-test.inc (cos_test_tonearest): New function.
13335 (cos_test_towardzero): Likewise.
13336 (cos_test_downward): Likewise.
13337 (cos_test_upward): Likewise.
13338 (sin_test_tonearest): Likewise.
13339 (sin_test_towardzero): Likewise.
13340 (sin_test_downward): Likewise.
13341 (sin_test_upward): Likewise.
13342 (tan_test_tonearest): Likewise.
13343 (tan_test_towardzero): Likewise.
13344 (tan_test_downward): Likewise.
13345 (tan_test_upward): Likewise.
13346 (main): Call the new functions.
13347 * sysdeps/i386/fpu/libm-test-ulps: Update.
13348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13349
a6d06d7b
JM
13350 [BZ #10135]
13351 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13352 small n, then large n, before computing and testing k+n.
13353 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13355 Likewise.
13356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13357 Likewise.
13358 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13359 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13364 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13366 * math/libm-test.inc (scalbn_test): Add more tests.
13367 (scalbln_test): Likewise.
13368
07e12bb3
JM
13369 * manual/filesys.texi (mode_t): Describe constraints on size and
13370 signedness, not exact equivalence to a particular type.
13371 (ino_t): Likewise.
13372 (ino64_t): Likewise.
13373 (dev_t): Likewise.
13374 (nlink_t): Likewise.
13375 (blkcnt_t): Likewise.
13376 (blkcnt64_t): Likewise.
13377 * manual/llio.texi (off_t): Likewise.
13378
28afd92d
JM
13379 [BZ #3976]
13380 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13381 (__ieee754_exp): Save and restore rounding mode and use
13382 round-to-nearest for all computations.
13383 * math/libm-test.inc (exp_test_tonearest): New function.
13384 (exp_test_towardzero): Likewise.
13385 (exp_test_downward): Likewise.
13386 (exp_test_upward): Likewise.
13387 (main): Call the new functions.
13388 * sysdeps/i386/fpu/libm-test-ulps: Update.
13389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13390
b1eeb65d
CD
133912012-03-01 Chris Demetriou <cgd@google.com>
13392
13393 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13394 have predictable order.
13395
53362a4b
DM
133962012-03-01 David S. Miller <davem@davemloft.net>
13397
3c969083
DM
13398 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13399
759707de
DM
13400 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13401 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13402 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13403 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13404
dfdb8ff2
DM
13405 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13406 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13407 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13409 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13410 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13411 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13412 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13413 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13414
ead89f96
DM
13415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13416
7f66bd07
DM
13417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13418 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13419 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13420
53362a4b
DM
13421 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13422 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13423 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13424 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13425 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13427 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13428 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13429 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13430 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13431 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13434 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13435 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13437 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13438 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13439 * sysdeps/sparc/elf/configure: Regenerated.
13440
7b1902cb
JM
134412012-03-01 Joseph Myers <joseph@codesourcery.com>
13442
bec039bc
JM
13443 * configure.in (AS, LD): Require binutils 2.20 or later.
13444 * configure: Regenerated.
13445 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13446 as required minimum version.
13447 * INSTALL: Regenerated.
13448
7b1902cb
JM
13449 [BZ #2541]
13450 [BZ #4108]
13451 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13452 before squaring exponent.
13453 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13454 bottom long double and 27 bits of top long double before squaring
13455 exponent.
13456 * math/libm-test.inc (erfc_test): Add more tests.
13457 * sysdeps/i386/fpu/libm-test-ulps: Update.
13458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13460
f775c276
KT
134612012-03-01 Kai Tietz <ktietz@redhat.com>
13462
13463 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13464 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13465 containing bit-fields.
13466 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13467 * soft-fp/single.h (_FP_UNION_S): Likewise.
13468 * soft-fp/double.h (_FP_UNION_D): Likewise.
13469
5b8a4d4a
JM
134702012-02-29 Joseph Myers <joseph@codesourcery.com>
13471
0bab47b6
JM
13472 [BZ #13786]
13473 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13474 not include ../strcmp.S.
13475 [USE_AS_STRNCASECMP_L]: Likewise.
13476 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13477 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13478 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13479 (__strncasecmp_l_ia32): Define as alias to
13480 __strncasecmp_l_nonascii.
13481
0fcad3e2
JM
13482 [BZ #5794]
13483 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13484 * sysdeps/i386/fpu/libm-test-ulps: Update.
13485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13486
5b8a4d4a
JM
13487 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13489
8fdceb2e
JL
134902012-02-29 Jeff Law <law@redhat.com>
13491
13492 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13493 out of bounds read.
13494
1f393a11
MP
134952012-02-29 Marek Polacek <polacek@redhat.com>
13496
13497 [BZ #13706]
13498 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13499 * elf/Makefile: Add rules to run tst-unused-dep.out.
13500
8847f037
DM
135012012-02-28 David S. Miller <davem@davemloft.net>
13502
13503 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13504 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13506 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13507 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13508 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13509
169d7f11
JM
135102012-02-29 Joseph Myers <joseph@codesourcery.com>
13511
13512 * math/libm-test.inc (llround_test): Move one test from
13513 lround_test. Use TEST_f_L in moved test.
13514 (lround_test): Move misplaced test to llround_test. Add testcase
13515 from bug 2561.
13516
39adf059
UD
135172012-02-28 Ulrich Drepper <drepper@gmail.com>
13518
13519 * sysdeps/x86_64/fpu/e_expf.S: New file.
13520 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13521
71b5d1c5
SB
135222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13523
13524 [BZ #13637]
13525 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13526 of remain_len that may cause incomplete multi-byte character and
13527 false match.
13528 * posix/bug-regex33.c: New file.
13529 * posix/Makefile (tests): Add bug-regex33.
13530
1f77f049
JM
135312012-02-28 Joseph Myers <joseph@codesourcery.com>
13532
13533 * manual/macros.texi: New file.
13534 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13535 * manual/libc.texinfo: Include macros.texi.
13536 * manual/creatute.texi: Likewise.
13537 * manual/install.texi: Likewise.
13538 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13539 @glibcadj{} in references to the GNU C Library.
13540 * manual/charset.texi: Likewise.
13541 * manual/conf.texi: Likewise.
13542 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13543 when not using those macros.
13544 * manual/creature.texi: Likewise.
13545 * manual/crypt.texi: Likewise.
13546 * manual/errno.texi: Likewise.
13547 * manual/filesys.texi: Likewise.
13548 * manual/header.texi: Likewise.
13549 * manual/install.texi: Likewise.
13550 * manual/intro.texi: Likewise.
13551 * manual/io.texi: Likewise.
13552 * manual/job.texi: Likewise.
13553 * manual/lang.texi: Likewise.
13554 * manual/libc.texiinfo: Likewise.
13555 * manual/llio.texi: Likewise.
13556 * manual/locale.texi: Likewise.
13557 * manual/maint.texi: Likewise.
13558 * manual/math.texi: Likewise.
13559 * manual/memory.texi: Likewise.
13560 * manual/message.texi: Likewise.
13561 * manual/nss.texi: Likewise.
13562 * manual/pattern.texi: Likewise.
13563 * manual/process.texi: Likewise.
13564 * manual/resource.texi: Likewise.
13565 * manual/search.texi: Likewise.
13566 * manual/setjmp.texi: Likewise.
13567 * manual/signal.texi: Likewise.
13568 * manual/socket.texi: Likewise.
13569 * manual/startup.texi: Likewise.
13570 * manual/stdio.texi: Likewise.
13571 * manual/string.texi: Likewise.
13572 * manual/sysinfo.texi: Likewise.
13573 * manual/syslog.texi: Likewise.
13574 * manual/terminal.texi: Likewise.
13575 * manual/time.texi: Likewise.
13576 * manual/users.texi: Likewise.
13577 * INSTALL: Regenerated.
13578 * NOTES: Regenerated.
d40c5d54 13579 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 13580
450bf206
AS
135812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13582
13583 * include/dirent.h: Include <dirstream.h> before
13584 <dirent/dirent.h>.
13585
741a235b
DM
135862012-02-28 David S. Miller <davem@davemloft.net>
13587
13588 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13589 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13590 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13591 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13592
d6b5aa58
DM
135932012-02-27 David S. Miller <davem@davemloft.net>
13594
1aff59a3
DM
13595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13597 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13598 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13599
d6b5aa58
DM
13600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13601 frame pointer instead of stack pointer relative arg slot.
13602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13605
433f48bf
CD
136062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13607
13608 [BZ #3992]
13609 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13610
d674b76d
DM
136112012-02-27 David S. Miller <davem@davemloft.net>
13612
13613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13617 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13618 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13619 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13620 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13621
0e7727f7
JM
136222012-02-27 Joseph Myers <joseph@codesourcery.com>
13623
13624 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13625 later. Allow versions 5-9.
43be4ca2 13626 * configure: Regenerated.
0e7727f7
JM
13627 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13628 required minimum version and 4.6 as recommended version. Do not
13629 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13630 * INSTALL: Regenerated.
0e7727f7 13631
a78bc654
DM
136322012-02-27 David S. Miller <davem@davemloft.net>
13633
428d5830
DM
13634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13638 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13639 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13640 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13641 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13642
a78bc654
DM
13643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13644 manipulate bits before adding and subtracting TWO112[sx].
13645 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13646
4579f81c
RM
136472012-02-27 Roland McGrath <roland@hack.frob.com>
13648
36c8acb4
RM
13649 [BZ #13775]
13650 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13651 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13652 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13653 being in POSIX, because they are in 1003.1-2008.
13654
84ad622b
RM
13655 * rt/tst-aio.c: Include <fcntl.h>.
13656 * rt/tst-aio7.c: Likewise.
13657 * rt/tst-aio64.c: Likewise.
13658
4579f81c
RM
13659 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13660
abd923db
JM
136612012-02-27 Joseph Myers <joseph@codesourcery.com>
13662
13663 * manual/install.texi (--with-headers): Describe headers as
13664 interface headers, not private headers.
13665 (Specific advice for GNU/Linux systems): Describe use of headers
13666 from "make headers_install", not private headers from older
13667 kernels.
43be4ca2 13668 * INSTALL: Regenerated.
abd923db
JM
13669 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13670 Change to 2.6.19.
13671 * sysdeps/unix/sysv/linux/configure: Regenerated.
13672
6664049b
JM
13673 * manual/llio.texi (fclean): Remove documentation.
13674
bb8b6697
JM
13675 * manual/Makefile (libc-texi-generated): New variable. Include
13676 version.texi.
13677 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13678 $(libc-texi-generated), not duplicated list of files.
13679 (version.texi, stamp-version): New rules.
13680 (realclean): Remove $(libc-texi-generated), not individual files
13681 from that list. Do not remove dir-add.texinfo.
13682 * manual/libc.texinfo: Comment out uses of edition numbers and
13683 references to printed manual. Remove last-updated dates.
13684 (EDITION): Comment out.
13685 (ISBN): Likewise.
13686 (VERSION, UPDATED): Remove.
13687 (version.texi): Include.
13688
12e5c3b9
AS
136892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13690
13691 * sysdeps/posix/spawni.c: Include <signal.h>.
13692 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13693 * sysdeps/pthread/aio_fsync.c: Likewise.
13694
4efeffc1 136952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13696
ba63ba08
UD
13697 * conform/Makefile (tests): Run only when not cross-compiling and
13698 when fast-check is not defined.
13699
d94a4670
UD
13700 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13701 * conform/data/limits.h-data: Fixes for POSIX2008.
13702 * conform/run-conformtest.sh: Run all tests.
13703 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13704 headers.
13705 * include/bits/dlfcn.h: Likewise.
13706 * include/langinfo.h: Likewise.
13707 * include/monetary.h: Likewise.
13708 * include/sys/poll.h: Likewise.
13709
13710 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13711 for __USE_GNU.
13712 * posix/spawn.h: Define __need_sigset_t.
13713 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13714 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13715 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13716 to get sigevent_t only.
13717 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13718 only for __USE_GNU.
13719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13720 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13721 process_vm_writev only for __USE_GNU.
13722 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13723
13724 * conform/Makefile: For now ignore errors from run-conformtest.
13725 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13726 POSIX to avoid namespace pollution. Don't prepend headers.
13727 * conform/data/aio.h-data: Fixes for POSIX testing.
13728 * conform/data/fcntl.h-data: Likewise.
13729 * conform/data/glob.h-data: Likewise.
13730 * conform/data/grp.h-data: Likewise.
13731 * conform/data/pthread.h-data: Likewise.
13732 * conform/data/pwd.h-data: Likewise.
13733 * conform/data/signal.h-data: Likewise.
13734 * conform/data/spawn.h-data: Likewise.
13735 * conform/data/stdio.h-data: Likewise.
13736 * conform/data/stdlib.h-data: Likewise.
13737 * conform/data/stropts.h-data: Likewise.
13738 * conform/data/sys/mman.h-data: Likewise.
13739 * conform/data/sys/stat.h-data: Likewise.
13740 * conform/data/sys/types.h-data: Likewise.
13741 * conform/data/sys/wait.h-data: Likewise.
13742 * conform/data/time.h-data: Likewise.
13743 * conform/data/unistd.h-data: Likewise.
13744 * conform/data/utime.h-data: Likewise.
13745
13746 * io/sys/stat.h: fchmod was always in POSIX.
13747 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13748 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13749 * rt/aio.h: Define __need_timespec before including <time.h>.
13750 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13751 struct. Add forward declaration of pthread_attr_t and use it in
13752 sigevent.
13753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13755 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13756 always remove CLK_TCK definition.
13757
c20105c3
AS
137582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13759
13760 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13761
7a270350
UD
137622012-02-25 Ulrich Drepper <drepper@gmail.com>
13763
31341567
UD
13764 * conform/run-conformtest.sh: New file.
13765 * conform/Makefile: Run run-conformtest for tests.
13766 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13767 support.
13768
13769 * conform/data/uchar.h-data: New file.
13770 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13771 * conform/data/arpa/inet.h-data: Likewise.
13772 * conform/data/assert.h-data: Likewise.
13773 * conform/data/complex.h-data: Likewise.
13774 * conform/data/cpio.h-data: Likewise.
13775 * conform/data/ctype.h-data: Likewise.
13776 * conform/data/dirent.h-data: Likewise.
13777 * conform/data/dlfcn.h-data: Likewise.
13778 * conform/data/errno.h-data: Likewise.
13779 * conform/data/fcntl.h-data: Likewise.
13780 * conform/data/float.h-data: Likewise.
13781 * conform/data/fmtmsg.h-data: Likewise.
13782 * conform/data/fnmatch.h-data: Likewise.
13783 * conform/data/ftw.h-data: Likewise.
13784 * conform/data/glob.h-data: Likewise.
13785 * conform/data/grp.h-data: Likewise.
13786 * conform/data/iconv.h-data: Likewise.
13787 * conform/data/inttypes.h-data: Likewise.
13788 * conform/data/langinfo.h-data: Likewise.
13789 * conform/data/libgen.h-data: Likewise.
13790 * conform/data/limits.h-data: Likewise.
13791 * conform/data/locale.h-data: Likewise.
13792 * conform/data/math.h-data: Likewise.
13793 * conform/data/monetary.h-data: Likewise.
13794 * conform/data/mqueue.h-data: Likewise.
13795 * conform/data/ndbm.h-data: Likewise.
13796 * conform/data/net/if.h-data: Likewise.
13797 * conform/data/netdb.h-data: Likewise.
13798 * conform/data/netinet/in.h-data: Likewise.
13799 * conform/data/nl_types.h-data: Likewise.
13800 * conform/data/poll.h-data: Likewise.
13801 * conform/data/pthread.h-data: Likewise.
13802 * conform/data/pwd.h-data: Likewise.
13803 * conform/data/regex.h-data: Likewise.
13804 * conform/data/sched.h-data: Likewise.
13805 * conform/data/search.h-data: Likewise.
13806 * conform/data/semaphore.h-data: Likewise.
13807 * conform/data/setjmp.h-data: Likewise.
13808 * conform/data/signal.h-data: Likewise.
13809 * conform/data/spawn.h-data: Likewise.
13810 * conform/data/stdarg.h-data: Likewise.
13811 * conform/data/stdio.h-data: Likewise.
13812 * conform/data/stdlib.h-data: Likewise.
13813 * conform/data/string.h-data: Likewise.
13814 * conform/data/strings.h-data: Likewise.
13815 * conform/data/stropts.h-data: Likewise.
13816 * conform/data/sys/ipc.h-data: Likewise.
13817 * conform/data/sys/mman.h-data: Likewise.
13818 * conform/data/sys/msg.h-data: Likewise.
13819 * conform/data/sys/resource.h-data: Likewise.
13820 * conform/data/sys/select.h-data: Likewise.
13821 * conform/data/sys/sem.h-data: Likewise.
13822 * conform/data/sys/shm.h-data: Likewise.
13823 * conform/data/sys/socket.h-data: Likewise.
13824 * conform/data/sys/stat.h-data: Likewise.
13825 * conform/data/sys/statvfs.h-data: Likewise.
13826 * conform/data/sys/time.h-data: Likewise.
13827 * conform/data/sys/timeb.h-data: Likewise.
13828 * conform/data/sys/times.h-data: Likewise.
13829 * conform/data/sys/types.h-data: Likewise.
13830 * conform/data/sys/uio.h-data: Likewise.
13831 * conform/data/sys/un.h-data: Likewise.
13832 * conform/data/sys/utsname.h-data: Likewise.
13833 * conform/data/sys/wait.h-data: Likewise.
13834 * conform/data/syslog.h-data: Likewise.
13835 * conform/data/tar.h-data: Likewise.
13836 * conform/data/termios.h-data: Likewise.
13837 * conform/data/utime.h-data: Likewise.
13838 * conform/data/utmpx.h-data: Likewise.
13839 * conform/data/varargs.h-data: Likewise.
13840 * conform/data/wchar.h-data: Likewise.
13841 * conform/data/wctype.h-data: Likewise.
13842 * conform/data/wordexp.h-data: Likewise.
13843
13844 * include/stropts.h: New file.
13845 * include/uchar.h: New file.
13846 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13847 * include/assert.h: Likewise.
13848 * include/ctype.h: Likewise.
13849 * include/dirent.h: Likewise.
13850 * include/dlfcn.h: Likewise.
13851 * include/fcntl.h: Likewise.
13852 * include/fnmatch.h: Likewise.
13853 * include/glob.h: Likewise.
13854 * include/grp.h: Likewise.
13855 * include/libio.h: Likewise.
13856 * include/locale.h: Likewise.
13857 * include/math.h: Likewise.
13858 * include/net/if.h: Likewise.
13859 * include/netdb.h: Likewise.
13860 * include/netinet/in.h: Likewise.
13861 * include/pthread.h: Likewise.
13862 * include/pwd.h: Likewise.
13863 * include/regex.h: Likewise.
13864 * include/sched.h: Likewise.
13865 * include/search.h: Likewise.
13866 * include/setjmp.h: Likewise.
13867 * include/signal.h: Likewise.
13868 * include/stdio.h: Likewise.
13869 * include/stdlib.h: Likewise.
13870 * include/string.h: Likewise.
13871 * include/sys/cdefs.h: Likewise.
13872 * include/sys/mman.h: Likewise.
13873 * include/sys/msg.h: Likewise.
13874 * include/sys/resource.h: Likewise.
13875 * include/sys/select.h: Likewise.
13876 * include/sys/socket.h: Likewise.
13877 * include/sys/stat.h: Likewise.
13878 * include/sys/statvfs.h: Likewise.
13879 * include/sys/time.h: Likewise.
13880 * include/sys/times.h: Likewise.
13881 * include/sys/uio.h: Likewise.
13882 * include/sys/utsname.h: Likewise.
13883 * include/sys/wait.h: Likewise.
13884 * include/termios.h: Likewise.
13885 * include/time.h: Likewise.
13886 * include/ulimit.h: Likewise.
13887 * include/unistd.h: Likewise.
13888 * include/utime.h: Likewise.
13889 * include/wchar.h: Likewise.
13890 * include/wctype.h: Likewise.
13891 * include/wordexp.h: Likewise.
13892
13893 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13894
7a270350
UD
13895 * time/time.h: TIME_UTC must be a macro.
13896 Make timespec_get available for ISO C11 only as well.
13897
7724defc
UD
138982012-02-24 Ulrich Drepper <drepper@gmail.com>
13899
13900 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13901 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13902
6b1d1d46
JM
139032012-02-24 Joseph Myers <joseph@codesourcery.com>
13904
13905 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 13906
0f8bbd69
JM
139072012-02-24 Joseph Myers <joseph@codesourcery.com>
13908
13909 * manual/texinfo.tex: Update to version 2012-01-19.16.
13910
66ab80bc
JM
139112012-02-24 Joseph Myers <joseph@codesourcery.com>
13912
13913 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13914
74981cc5
RM
139152012-02-24 Roland McGrath <roland@hack.frob.com>
13916
ee968201
RM
13917 [BZ #13738]
13918 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13919 * manual/fdl-1.3.texi: New file.
13920 * manual/fdl-1.1.texi: File removed.
13921
74981cc5
RM
13922 [BZ #13738]
13923 * manual/libc.texinfo (FDL_VERSION): New @set.
13924 Use it for mention of FDL in cover text.
13925 (Documentation License): Use it in @include file name.
13926
7bb764bc
JM
139272012-02-22 Joseph Myers <joseph@codesourcery.com>
13928 Roland McGrath <roland@hack.frob.com>
13929
13930 [BZ #5461]
13931 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13932 not LONG_LONG_MAX and LONG_LONG_MIN.
13933 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13934 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13935 name.
13936 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13937
6cbeae47
JM
139382012-02-22 Joseph Myers <joseph@codesourcery.com>
13939
13940 [BZ #2547]
13941 [BZ #11365]
13942 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13943 manipulate bits before adding and subtracting TWO23[sx].
13944 * math/libm-test.inc (nearbyint_test): Add more tests.
13945
fe45ce09
JM
139462012-02-22 Joseph Myers <joseph@codesourcery.com>
13947
13948 [BZ #2548]
13949 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13950 bits before adding and subtracting TWO23[sx].
13951 * math/libm-test.inc (rint_test): Add more tests.
13952 (rint_test_tonearest): Likewise.
13953 (rint_test_towardzero): Likewise.
13954 (rint_test_downward): Likewise.
13955 (rint_test_upward: Likewise.
13956
ff3b3d82
JM
139572012-02-22 Joseph Myers <joseph@codesourcery.com>
13958
13959 [BZ #10110]
13960 * include/stdc-predef.h: New file. Extracted from features.h.
13961 * include/features.h: Include stdc-predef.h.
13962 * Makefile (headers): Add stdc-predef.h.
13963 * CONFORMANCE (Compiler limitations): Update.
13964
ef0aab35
JM
139652012-02-22 Joseph Myers <joseph@codesourcery.com>
13966
13967 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13968
58639409
DM
139692012-02-21 David S. Miller <davem@davemloft.net>
13970
13971 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13972 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13973
c0e70b25
DM
139742012-02-20 David S. Miller <davem@davemloft.net>
13975
13976 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13977 using a normal save/restore sequence, rather than allocating a
13978 dummy stack frame just to store a frame pointer and restore.
13979 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13980
fb06851d
JM
139812012-02-21 Joseph Myers <joseph@codesourcery.com>
13982
13983 * manual/install.texi: Fix stray word in line-wrapped comment.
13984
7a8b71c3
DM
139852012-02-20 David S. Miller <davem@davemloft.net>
13986
d510c123
DM
13987 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13988 both binutils and gcc support GOTDATA.
13989
0722d7c2
DM
13990 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13991 "rd %pc" in the PIC register setup sequences.
13992
3d2b3019
DM
13993 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13994 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13995 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13996 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13997 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13999 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14000 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14002 (SYSCALL_ERROR_HANDLER): Likewise.
14003 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14006 (SYSCALL_ERROR_HANDLER): Likewise.
14007
c80098a9
DM
14008 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14009 (HAVE_GCC_GOTDATA): New.
14010 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14011 relocation support in both binutils and gcc.
14012 * sysdeps/sparc/elf/configure: Regenerate.
14013
3a2545a0
DM
14014 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14015 * sysdeps/sparc/sparc32/elf/configure: Delete.
14016 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14017 * sysdeps/sparc/sparc64/elf/configure: Delete.
14018 * sysdeps/sparc/elf/configure.in: New file.
14019 * sysdeps/sparc/elf/configure: Generate.
14020
7a8b71c3
DM
14021 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14022 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14023 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14024 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14025 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14026
f1e86fca
JM
140272012-02-21 Joseph Myers <joseph@codesourcery.com>
14028
14029 * manual/install.texi: Do not mention specific glibc version
14030 numbers.
14031 * manual/libc.texinfo (VERSION, UPDATED): Update.
14032 (@copying): Use @copyright{} and range of years.
14033
0e7dfaef
JM
140342012-02-21 Joseph Myers <joseph@codesourcery.com>
14035
14036 [BZ #13695]
14037 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14038 [crti.S not in sysdirs] (generated): Do not append.
14039 [crti.S not in sysdirs] (omit-deps): Likewise.
14040 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14041 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14042 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14043 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14044 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14045 Likewise.
14046 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14047 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14048 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14049 * csu/defs.awk: Remove file.
14050 * sysdeps/generic/initfini.c: Likewise.
14051 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14052 variable.
14053 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14054 Likewise.
14055
599af3ca
JM
140562012-02-20 Joseph Myers <joseph@codesourcery.com>
14057
14058 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14059 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14060 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14061 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14062 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14063 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14064 <bits/epoll.h>.
14065 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14066 (__EPOLL_PACKED): Define to empty if not defined by
14067 <bits/epoll.h>.
14068 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14070 bits/epoll.h.
14071
0e499750
JM
140722012-02-20 Joseph Myers <joseph@codesourcery.com>
14073
14074 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14075 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14076 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14077 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14078 <bits/timerfd.h>.
14079 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14081 bits/timerfd.h.
14082
5ad91f6e
JM
140832012-02-20 Joseph Myers <joseph@codesourcery.com>
14084
14085 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14086 in C locale.
14087 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14088 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14089 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14091
06b99b02
AJ
140922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14093
14094 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14095 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14096
7638c0fd
AS
140972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14098
14099 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14100 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14101 defined.
14102 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14103 Likewise.
14104 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14105 entry for 2.16.
14106
92221550
AJ
141072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14108
14109 * math/w_acos.c: Use non-signaling floating-point comparisons.
14110 * math/w_acosf.c: Likewise.
14111 * math/w_acosh.c: Likewise.
14112 * math/w_acoshf.c: Likewise.
14113 * math/w_acoshl.c: Likewise.
14114 * math/w_acosl.c: Likewise.
14115 * math/w_asin.c: Likewise.
14116 * math/w_asinf.c: Likewise.
14117 * math/w_asinl.c: Likewise.
14118 * math/w_atanh.c: Likewise.
14119 * math/w_atanhf.c: Likewise.
14120 * math/w_atanhl.c: Likewise.
14121 * math/w_exp2.c: Likewise.
14122 * math/w_exp2f.c: Likewise.
14123 * math/w_exp2l.c: Likewise.
14124 * math/w_j0.c: Likewise.
14125 * math/w_j0f.c: Likewise.
14126 * math/w_j0l.c: Likewise.
14127 * math/w_j1.c: Likewise.
14128 * math/w_j1f.c: Likewise.
14129 * math/w_j1l.c: Likewise.
14130 * math/w_jn.c: Likewise.
14131 * math/w_jnf.c: Likewise.
14132 * math/w_log.c: Likewise.
14133 * math/w_log10.c: Likewise.
14134 * math/w_log10f.c: Likewise.
14135 * math/w_log10l.c: Likewise.
14136 * math/w_log2.c: Likewise.
14137 * math/w_log2f.c: Likewise.
14138 * math/w_log2l.c: Likewise.
14139 * math/w_logf.c: Likewise.
14140 * math/w_logl.c: Likewise.
14141 * math/w_sqrt.c: Likewise.
14142 * math/w_sqrtf.c: Likewise.
14143 * math/w_sqrtl.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14146 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14149
ebaf36eb
JM
141502012-02-19 Joseph Myers <joseph@codesourcery.com>
14151
14152 [BZ #9739]
14153 * manual/string.texi (strnlen): Use correct parameter name in
14154 equivalent expression.
14155
71c254a6
JM
141562012-02-19 Joseph Myers <joseph@codesourcery.com>
14157
14158 [BZ #11174]
14159 * manual/users.texi (seteuid): Consistently use neweuid for
14160 argument name.
14161
16d2c631
JM
141622012-02-19 Joseph Myers <joseph@codesourcery.com>
14163
14164 [BZ #13704]
14165 * manual/nss.texi (Services in the NSS configuration): Correct
14166 list of services in example configuration file.
14167
cd837b09
NB
141682012-02-19 Nick Bowler <nbowler@draconx.ca>
14169
14170 [BZ #11322]
14171 * manual/arith.texi: Remove statements about negative zero
14172 behaving identically to zero.
14173
02c4bbad
JM
141742012-02-18 Joseph Myers <joseph@codesourcery.com>
14175
14176 [BZ #5993]
14177 * manual/install.texi: Do not document upgrading from libc5.
14178
366842e7
JM
141792012-02-18 Joseph Myers <joseph@codesourcery.com>
14180
14181 [BZ #4596]
14182 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14183
dd54084d
DM
141842012-02-18 David S. Miller <davem@davemloft.net>
14185
14186 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14187 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14188 %o7 across the call.
14189 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14190 instead.
14191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14192 SETUP_PIC_REG_LEAF.
14193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14194 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14195 * sysdeps/sparc/crtn.S: Likewise.
14196
2bcc53a3
UD
141972012-02-17 Ulrich Drepper <drepper@gmail.com>
14198
14199 * aout/Makefile: Remove.
14200
09c093b5
RK
142012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14202
14203 [BZ #13058]
14204 * manual/examples/argp-ex1.c (main): Format definition in GNU
14205 style.
14206 * manual/examples/argp-ex2.c (main): Likewise.
14207 * manual/examples/argp-ex3.c (main): Likewise.
14208 * manual/examples/argp-ex4.c (main): Likewise.
14209 * manual/examples/longopt.c (main): Use new-style prototype
14210 definition.
14211 * manual/examples/strncat.c (main): Specify return type and use
14212 (void) for arguments.
14213 * manual/examples/subopt.c (main): Use char **argv argument.
14214
2ee633a2
JM
142152012-02-17 Joseph Myers <joseph@codesourcery.com>
14216
14217 [BZ #5077]
14218 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14219 rounding modes.
14220
0520adde
FB
142212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14222
14223 [BZ #6907]
14224 * manual/string.texi (strchr): Change when strchrnul is
14225 recommended.
14226
3f4081cd
DGM
142272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14228
14229 [BZ #174]
14230 * manual/locale.texi (setlocale): Document LOCPATH.
14231
d1b10e78
JM
142322012-02-17 Joseph Myers <joseph@codesourcery.com>
14233
14234 [BZ #10210]
14235 * manual/process.texi (execle): Move @dots{} before last argument.
14236
79c6869c
PB
142372012-02-17 Paul Bolle <pebolle@tiscali.nl>
14238
14239 [BZ #12047]
14240 * manual/charset.texi (Generic Charset Conversion): Fix typo
14241 (LC_TYPE -> LC_CTYPE).
14242
cc6e48bc
NB
142432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14244
14245 [BZ #5805]
14246 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14247 (scalbnf): Likewise.
14248 (scalbnl): Likewise.
14249 (scalbln): Likewise.
14250 (scalblnf): Likewise.
14251 (scalblnl): Likewise.
14252 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14253 (vwarnx): Likewise.
14254 (verr): Likewise.
14255 (verrx): Likewise.
14256 * manual/filesys.texi (telldir): Use braces around return type.
14257 * manual/llio.texi (mmap): Add space after comma.
14258 (mmap64): Likewise.
14259 * manual/math.texi (jn): Use @var{} on parameter names.
14260 (jnf): Likewise.
14261 (jnl): Likewise.
14262 (yn): Likewise.
14263 (ynf): Likewise.
14264 (ynl): Likewise.
14265 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14266 line.
14267 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14268 "...".
14269 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14270 (sched_get_priority_max): Likewise.
14271 * manual/signal.texi (sigvec): Add space after comma.
14272 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14273 names.
14274 (if_indextoname): Likewise.
14275 (if_freenameindex): Likewise.
14276 (sendto): Use ',' instead of '.' in prototype.
14277 * manual/startup.texi (syscall): Use @dots{} instead of literal
14278 "...".
14279 * manual/stdio.texi (__fpending): Separate initial words of
14280 paragraph from @deftypefun line.
14281 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14282 "...".
14283 (vsyslog): Use @var{} on parameter names.
14284 * manual/terminal.texi (stty): Use @var{} on parameter names.
14285 * manual/users.texi (getutmp): Use @var{} on parameter names.
14286 (getutmpx): Likewise.
14287
5b23062f
JM
142882012-02-17 Joseph Myers <joseph@codesourcery.com>
14289
14290 [BZ #6884]
14291 * manual/stdio.texi (fopen): Fix typos in description of
14292 ",ccs=STRING".
14293
8dee4833
AJ
142942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14295
14296 [BZ #4026]
14297 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14298 get clock_id definition.
14299
9078ce93
TS
143002012-02-17 Thomas Schwinge <thomas@schwinge.name>
14301
14302 [BZ #4822]
14303 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14304 (madvise): Cast every argument to void on its own.
14305
3835c55f
JM
143062012-02-17 Joseph Myers <joseph@codesourcery.com>
14307
14308 [BZ #9902]
14309 * manual/startup.texi (Exit Status): Fix typo.
14310
35c47e37
JM
143112012-02-17 Joseph Myers <joseph@codesourcery.com>
14312
14313 [BZ #10140]
14314 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14315 * manual/examples/argp-ex2.c: Likewise.
14316 * manual/examples/argp-ex3.c: Likewise.
14317
e3b69ca7
RH
143182012-02-16 Richard Henderson <rth@redhat.com>
14319
14320 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14321 * sysdeps/s390/s390-32/initfini.c: Remove.
14322 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14323 * sysdeps/s390/s390-64/initfini.c: Remove.
14324
df83af67
KK
143252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14326
14327 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14328 compiler output for sysdeps/generic/initfini.c.
14329 * sysdeps/sh/elf/initfini.c: Remove file.
14330
f63f3380
DM
143312012-02-16 David S. Miller <davem@davemloft.net>
14332
fb59b3a4
DM
14333 [BZ #11494]
14334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14335
f63f3380
DM
14336 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14337 * sysdeps/sparc/crti.S: New file.
14338 * sysdeps/sparc/crtn.S: New file.
14339 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14340 * sysdeps/sparc/sparc64/Makefile: Likewise.
14341
df6a4a4a
MF
143422012-02-15 Mike Frysinger <vapier@gentoo.org>
14343
6dd8f3dc 14344 [BZ #3335]
df6a4a4a
MF
14345 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14346
1cac7236
RM
143472012-02-15 Roland McGrath <roland@hack.frob.com>
14348
d2c736f8
RM
14349 [BZ #4822]
14350 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14351
1cac7236
RM
14352 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14353 (write, read, close): Likewise.
14354 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14355
8e475601
JM
143562012-02-15 Joseph Myers <joseph@codesourcery.com>
14357
14358 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14359 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14360 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14361 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14362 <bits/signalfd.h>.
14363 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14365 bits/signalfd.h.
14366
ed656b40
MP
143672012-02-14 Marek Polacek <polacek@redhat.com>
14368
14369 * sysdeps/x86_64/crti.S: New file.
14370 * sysdeps/x86_64/crtn.S: New file.
14371 * sysdeps/x86_64/elf/initfini.c: Remove file.
14372
2a979d3a
JM
143732012-02-13 Joseph Myers <joseph@codesourcery.com>
14374
14375 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14376 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14377 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14378 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14379 <bits/inotify.h>.
14380 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14382 bits/inotify.h.
14383
2a418ac3
JM
143842012-02-13 Joseph Myers <joseph@codesourcery.com>
14385
14386 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14387 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14388 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14389 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14390 <bits/eventfd.h>.
14391 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14393 bits/eventfd.h.
14394
fb779be7
TS
143952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14396
e19e83c5
RM
14397 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14398 __feraiseexcept instead of feraiseexcept.
7c35ffed 14399
fb779be7
TS
14400 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14401 nanosleep invocations.
14402 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14403 strings, and add error checking for a nanosleep invocations.
14404
59ba27a6
PE
144052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14406
14407 Replace FSF snail mail address with URLs, as per GNU coding standards.
14408 Most of the snail mail addresses were wrong anyway, and omitting
14409 them makes the source code easier to maintain. Almost all of the
14410 changes are to license notices and to locale LC_IDENTIFICATION
14411 addresses, except for this one:
14412 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14413 not its snail mail address.
14414
57b957eb
RH
144152012-02-09 Richard Henderson <rth@twiddle.net>
14416
af850b1c
RH
14417 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14418 of kernel-features.h.
14419
57b957eb
RH
14420 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14421
6b73181a
MP
144222012-02-08 Marek Polacek <polacek@redhat.com>
14423
14424 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14425 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14426 * sysdeps/gnu/_G_config.h: Likewise.
14427 * sysdeps/generic/_G_config.h: Likewise.
14428
26ecc33a
AS
144292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14430
6c6dbc63
AS
14431 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14432 tests.
14433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14434
e216c012
AS
14435 * sysdeps/powerpc/powerpc32/crti.S: New file.
14436 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14437 * sysdeps/powerpc/powerpc64/crti.S: New file.
14438 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14439
26ecc33a
AS
14440 * Makeconfig (have-initfini): Don't set.
14441 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14442 * configure.in (nopic_initfini): Don't substitute.
14443 * config.h.in (HAVE_INITFINI): Don't #undef.
14444 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14445 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14446
3add8e13
JM
144472012-02-08 Joseph Myers <joseph@codesourcery.com>
14448
14449 Support crti.S and crtn.S provided directly by architectures.
14450 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14451 [crti.S in sysdirs] (omit-deps): Likewise.
14452 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14453 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14454 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14455 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14456 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14457 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14458 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14459 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14460 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14461 compiler output for sysdeps/generic/initfini.c.
14462 * sysdeps/i386/elf/Makefile: Remove file.
14463 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14464
a22f12b4
MP
144652012-02-07 Marek Polacek <polacek@redhat.com>
14466
14467 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14468 * sysdeps/gnu/_G_config.h: Likewise.
14469 * sysdeps/mach/hurd/_G_config.h: Likewise.
14470
148cf100
MP
144712012-02-07 Marek Polacek <polacek@redhat.com>
14472
14473 * math/Makefile (tests): Add tst-CMPLX2.
14474 * math/tst-CMPLX2.c: New file.
14475
cfdc0dd7
AS
144762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14477
84ba42c4
AS
14478 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14479
cfdc0dd7
AS
14480 * math/libm-test.inc (jn_test): Add missing L suffix.
14481
622c86f4
MP
144822012-02-06 Marek Polacek <polacek@redhat.com>
14483
14484 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14485 * sysdeps/i386/fpu/e_powf.S: Likewise.
14486 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14487 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14489 * sysdeps/i386/fpu/e_pow.S: Likewise.
14490 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14491 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14492 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14493 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14494 * sysdeps/i386/fpu/e_log2.S: Likewise.
14495 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14496 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14497 * sysdeps/i386/fpu/e_powl.S: Likewise.
14498 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14499 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14500 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14501 * sysdeps/i386/fpu/e_logl.S: Likewise.
14502 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14503 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14504 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14505 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14506 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14507 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14508 * sysdeps/i386/fpu/e_log.S: Likewise.
14509 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14510 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14511 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14512 * sysdeps/i386/fpu/e_logf.S: Likewise.
14513 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14514 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14515 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14516 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14517 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14518 * sysdeps/i386/fpu/e_log10.S: Likewise.
14519 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14520 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14521 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14522 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14523 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14524 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14525 * sysdeps/i386/asm-syntax.h: Likewise.
14526 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14527 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14528 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14529 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14530 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14531 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14532 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14533 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14534 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14535 * sysdeps/powerpc/sysdep.h: Likewise.
14536 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14537 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14538
d4a54ac6
JM
145392012-02-06 Joseph Myers <joseph@codesourcery.com>
14540
14541 [BZ #411]
14542 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14543
314054ea
JM
145442012-02-06 Joseph Myers <joseph@codesourcery.com>
14545
14546 * sysdeps/i386/sysdep.h: Include <features.h>.
14547 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14548 version.
14549
d8e0ca50
JM
145502012-02-05 Joseph Myers <joseph@codesourcery.com>
14551
14552 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14553 Define.
14554 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14555 LOAD_PIC_REG_STR.
14556
b1da7dd9
JM
145572012-02-03 Joseph Myers <joseph@codesourcery.com>
14558
14559 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14560 (SETUP_PIC_REG): Use GET_PC_THUNK.
14561 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14562 macro.
14563
9a1d9254
JM
145642012-02-03 Joseph Myers <joseph@codesourcery.com>
14565
14566 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14567 for non-PIC compilation.
14568 (SETUP_PIC_REG): Add .p2align directive.
14569 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14570 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14571 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14572 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14573 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14574 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14576 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14577 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14578 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14579 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14580 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14581 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14582 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14583 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14584 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14585 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14586 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14587 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14588 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14589 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14590 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14591 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14592 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14595 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14597 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14598 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14599 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14600 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14601 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14602 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14603 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14604 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14605 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14606 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14607 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14608 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14609 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14610
65dc3b75
JM
146112012-02-03 Joseph Myers <joseph@codesourcery.com>
14612
14613 * math/tst-CMPLX.c: Include <stdio.h>.
14614
d55bf177
JM
146152012-01-31 Joseph Myers <joseph@codesourcery.com>
14616
14617 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14618 float.
14619 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14620 * sysdeps/sparc/bits/mathdef.h: Likewise.
14621
69db4f8f
MP
146222012-01-31 Marek Polacek <polacek@redhat.com>
14623
14624 * libio/libio.h: Don't define _PARAMS.
14625 * locale/programs/config.h: Don't define PARAMS.
14626 * stdlib/strtol_l.c: Likewise.
14627 (__strtol_l): Remove PARAMS from the prototype.
14628
41b81892
UD
146292012-01-31 Ulrich Drepper <drepper@gmail.com>
14630
3b49edc0
UD
14631 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14632 names. Just use the correct names. Remove unnecessary wrapper
14633 functions.
14634 * malloc/arena.c: Likewise.
14635 * malloc/hooks.c: Likewise.
14636
41b81892
UD
14637 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14638 ARENA_TEST says not to. Simplify test for creation of a new arena.
14639 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14640
27a25b6e
UD
146412012-01-30 Ulrich Drepper <drepper@gmail.com>
14642
14643 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14644 into tail calls.
14645 (update_get_addr): New function.
14646 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14647 GET_ADDR_MODULE parameter.
14648
c8a89e7d
JM
146492012-01-30 Joseph Myers <joseph@codesourcery.com>
14650
14651 * crypt/cert.c: Remove __STDC__ conditionals.
14652 * crypt/crypt-entry.c: Likewise.
14653 * crypt/crypt_util.c: Likewise.
14654 * libio/filedoalloc.c: Likewise.
14655 * libio/fileops.c: Likewise.
14656 * libio/genops.c: Likewise.
14657 * libio/iofclose.c: Likewise.
14658 * libio/iofdopen.c: Likewise.
14659 * libio/iofopen.c: Likewise.
14660 * libio/iofopen64.c: Likewise.
14661 * libio/iogetdelim.c: Likewise.
14662 * libio/iopopen.c: Likewise.
14663 * libio/obprintf.c: Likewise.
14664 * libio/oldfileops.c: Likewise.
14665 * libio/oldiofclose.c: Likewise.
14666 * libio/oldiofdopen.c: Likewise.
14667 * libio/oldiofopen.c: Likewise.
14668 * libio/oldiopopen.c: Likewise.
14669 * libio/wfiledoalloc.c: Likewise.
14670 * libio/wgenops.c: Likewise.
14671 * locale/programs/xmalloc.c: Likewise.
14672 * misc/syslog.c: Likewise.
14673 * stdio-common/xbug.c: Likewise.
14674 * string/memchr.c: Likewise.
14675 * string/memcmp.c: Likewise.
14676 * string/memrchr.c: Likewise.
14677 * string/rawmemchr.c: Likewise.
14678 * sysdeps/posix/getcwd.c: Likewise.
14679 * time/strftime_l.c: Likewise.
14680
3b100462
JM
146812012-01-30 Joseph Myers <joseph@codesourcery.com>
14682
14683 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14684 * config.make.in (config-cflags-sse2avx): Define.
14685 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14686 Fix typo.
14687
607998af
CM
146882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14689
14690 * scripts/config.guess: Update from upstream config git repository.
14691 * scripts/config.sub: Likewise.
14692
3601428f
CM
146932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14694
3ac8b282
CM
14695 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14696 (EM_NUM): Update.
14697 (R_TILEPRO_*, R_TILEGX_*): New macros.
14698
e034841e
CM
14699 * scripts/firstversions.awk: Fix bug in version range handling.
14700
540d7568
CM
14701 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14702
3601428f
CM
14703 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14704
463de862
CM
14705 * include/sys/epoll.h: New file.
14706 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14707 libc_hidden_def.
14708
73139a76
UD
147092012-01-28 Ulrich Drepper <drepper@gmail.com>
14710
96bc5b45
UD
14711 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14712 Avoid unnecessary __WORDSIZE == 64 test.
14713 (fmaxf): Use VEX format if possible.
14714 (fmax): Likewise.
14715 (fminf): Likewise.
14716 (fmin): Likewise.
14717
56f6f6a2
UD
14718 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14719 * math/math_private.h: Remove libc_fegetround* and
14720 libc_fesetround*.
14721 * sysdeps/i386/configure.in: Check for -msse2avx.
14722 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14723 also if SSE2AVX is defined.
14724 Remove libc_fegetround* and libc_fesetround*.
14725 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14726 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14728 of HAS_YMM_USABLE.
14729 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14730 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14732 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14734
73139a76
UD
14735 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14736
d73f93a4
AZ
147372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14738
14739 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14740 size is not set.
14741 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14742
6ee65ed6
UD
147432012-01-27 Ulrich Drepper <drepper@gmail.com>
14744
14745 [BZ #13618]
14746 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14747 relocation.
14748 * Makeconfig (libm): Define.
14749 * elf/Makefile: Add rules to build and run tst-relsort1.
14750 * elf/tst-relsort1.c: New file.
14751 * elf/tst-relsort1mod1.c: New file.
14752 * elf/tst-relsort1mod2.c: New file.
14753
8db21882
JM
147542012-01-27 Joseph Myers <joseph@codesourcery.com>
14755
14756 * math/s_ldexp.c: Remove __STDC__ conditionals.
14757 * math/s_ldexpf.c: Likewise.
14758 * math/s_ldexpl.c: Likewise.
14759 * math/s_nextafter.c: Likewise.
14760 * math/s_nexttowardf.c: Likewise.
14761 * math/s_significand.c: Likewise.
14762 * math/s_significandf.c: Likewise.
14763 * math/s_significandl.c: Likewise.
14764 * math/w_jnl.c: Likewise.
14765 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14766 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14767 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14768 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14769 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14775 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14784 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14785 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14786 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14787 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14788 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14789 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14790 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14791 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14792 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14793 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14794 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14795 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14796 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14797 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14798 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14799 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14800 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14801 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14802 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14803 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14804 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14805 * sysdeps/ieee754/k_standard.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14809 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14810 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14824 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14825 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14826 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14827 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14829 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14848 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14849 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14851 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14852 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14855 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14864 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14867 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14868 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14872 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14881 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14883 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14884 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14885 * sysdeps/ieee754/s_matherr.c: Likewise.
14886 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14887 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14890
965a54a4
JM
148912012-01-26 Joseph Myers <joseph@codesourcery.com>
14892
14893 * crypt/md5.h: Remove __STDC__ conditionals.
14894 * libio/libioP.h: Likewise.
14895 * locale/programs/config.h: Likewise.
14896 * sysdeps/generic/sysdep.h: Likewise.
14897 * sysdeps/i386/asm-syntax.h: Likewise.
14898 * sysdeps/s390/asm-syntax.h: Likewise.
14899 * sysdeps/unix/sysdep.h: Likewise.
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14902
7071ad79
JM
149032012-01-26 Joseph Myers <joseph@codesourcery.com>
14904
14905 * libio/libio.h: Remove __STDC__ conditionals.
14906 * malloc/obstack.h: Likewise.
14907 * math/complex.h: Likewise.
14908 * math/math.h: Likewise.
14909 * sysdeps/generic/_G_config.h: Likewise.
14910 * sysdeps/gnu/_G_config.h: Likewise.
14911 * sysdeps/mach/hurd/_G_config.h: Likewise.
14912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14913 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14914 * sysdeps/sparc/bits/mathdef.h: Likewise.
14915
afc5ed09
UD
149162012-01-26 Ulrich Drepper <drepper@gmail.com>
14917
14918 [BZ #13583]
14919 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 14920 Clean up HAS_* macros.
afc5ed09 14921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
14922 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14923 possible.
14924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14925 HAS_AVX.
14926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14927 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14928 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14929 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 14931
bdb6de1d
JM
149322012-01-25 Joseph Myers <joseph@codesourcery.com>
14933
14934 * elf/tst-unique3.cc (gets): Remove declaration.
14935 * elf/tst-unique3lib.cc (gets): Likewise.
14936 * elf/tst-unique3lib2.cc (gets): Likewise.
14937 * elf/tst-unique4.cc (gets): Likewise.
14938
b15549e6
UD
149392012-01-24 Ulrich Drepper <drepper@gmail.com>
14940
14941 * include/stdio.h: Add C++ protection. Add gets declarations and
14942 definitions.
14943 * debug/tst-chk1.c: Don't declare gets here.
14944 * stdio-common/tst-gets.c: Likewise.
14945
a037381f
JM
149462012-01-24 Joseph Myers <joseph@codesourcery.com>
14947
14948 * posix/glob: Remove directory.
14949
f1d4aa75
JM
149502012-01-24 Joseph Myers <joseph@codesourcery.com>
14951
14952 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14953
81c0c964
PT
149542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14955
14956 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14957 of the non-standard EPFNOSUPPORT.
14958
0ea698ae
ST
149592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14960
14961 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14962 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14963 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14964
d220b117
UD
149652012-01-21 Ulrich Drepper <drepper@gmail.com>
14966
14967 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14968
3e1aa84e
UD
149692012-01-20 Ulrich Drepper <drepper@gmail.com>
14970
14971 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14972 transient errors.
14973 * nscd/grpcache.c (cache_addgr): Likewise.
14974 * nscd/hstcache.c (cache_addhst): Likewise.
14975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14976 * nscd/pwdcache.c (cache_addpw): Likewise.
14977 * nscd/servicescache.c (cache_addserv): Likewise.
14978
400aa020
UD
149792012-01-16 Ulrich Drepper <drepper@gmail.com>
14980
d77e7869
UD
14981 * malloc/malloc.c: Various cleanups.
14982 * malloc/hooks.c: Likewise.
14983
400aa020
UD
14984 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14985 * stdlib/bug-fmtmsg1.c: New file.
14986
14987 * stdlib/fmtmsg.c (init): Add missing unlock.
14988 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14989
e0a309cf
MP
149902012-01-12 Marek Polacek <polacek@redhat.com>
14991
14992 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14993 and _GNU_SOURCE.
14994
929d11c7
WS
149952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14996
14997 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14998 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14999 macro to ensure uniqueness of label name.
15000 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15001 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15002
41d0e869
UD
150032012-01-11 Ulrich Drepper <drepper@gmail.com>
15004
0cc5ed3b
UD
15005 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15006
41d0e869
UD
15007 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15008 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15009 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15011
a47a831a
UD
150122012-01-10 Ulrich Drepper <drepper@gmail.com>
15013
daa891c0
UD
15014 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15015
15016 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15017 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15018 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15019
e58ef0f2
UD
15020 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15021
a47a831a 15022 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15023 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15024 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15026
15027 * math/bits/math-finite.h: Add ldexp support.
15028
a0bfc9c7
MP
150292012-01-10 Marek Polacek <polacek@redhat.com>
15030
15031 * locale/programs/localedef.h (show_archive_content): Add noreturn
15032 attribute.
15033
d6e97a1d
UD
150342012-01-09 Ulrich Drepper <drepper@gmail.com>
15035
15036 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15037
d5835c26
UD
150382012-01-08 Ulrich Drepper <drepper@gmail.com>
15039
e5f484c6
UD
15040 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15041
d5835c26
UD
15042 * io/Makefile (headers): Add bits/poll2.h.
15043
d1f741e9
WS
150442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15045
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15047 typo #include statement.
15048
ec09c1c4
UD
150492012-01-08 Ulrich Drepper <drepper@gmail.com>
15050
15051 * include/sys/cdefs.h: Define __attribute_alloc_size.
15052 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15053 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15054 * elf/pldd.c: Likewise.
15055 * iconv/iconv_charmap.c: Likewise.
15056 * iconv/iconvconfig.c: Likewise.
15057 * iconv/strtab.c: Likewise.
15058 * locale/programs/locale.c: Likewise.
15059 * locale/programs/localedef.h: Likewise.
15060 * locale/programs/simple-hash.c: Likewise.
15061 * nscd/nscd.h: Likewise.
15062 * nss/makedb.c: Likewise.
15063 * sysdeps/generic/ldconfig.h: Likewise.
15064 * locale/programs/localedef.c: Remove xmalloc prototype.
15065 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15066
20b38e03
PP
150672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15068
15069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15070 appropriate.
15071
a0da5fe1
UD
150722012-01-08 Ulrich Drepper <drepper@gmail.com>
15073
1d5a644a 15074 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15075 * math/tst-CMPLX.c: New file.
1d5a644a 15076
8784a6db
UD
15077 * math/complex.h (CMPLXL): Fix typo.
15078
d9a216c0
UD
15079 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15080 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15081 GLIBC_2.16.
15082 * debug/tst-chk1.c: Add poll and ppoll tests.
15083 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15084 * include/sys/poll.h: Add hidden proto for ppoll.
15085 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15086 * sysdeps/mach/hurd/ppoll.c: Likewise.
15087 * io/ppoll.c: Likewise.
15088 * debug/poll_chk.c: New file.
15089 * debug/ppoll_chk.c: New file.
15090 * include/bits/poll2.h: New file.
15091 * io/bits/poll2.h: New file.
15092
ac097f5c
UD
15093 [BZ #1350]
15094 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15095
2119dcfa
UD
15096 * configure.in: static is always set to yes. Remove.
15097 * config.make.in: Don't set build-static.
15098 * Makeconfig: Remove use of build-static.
15099 * dlfcn/Makefile: Likewise.
15100 * elf/Makefile: Likewise.
15101 * math/Makefile: Likewise.
15102 * misc/Makefile: Likewise.
15103 * nptl/Makefile: Likewise.
15104 * sysdeps/mach/hurd/Makefile: Likewise.
15105
121766a9
UD
15106 * configure.in: PWD_P is not used anymore.
15107 * config.make.in: Remove PWD_P entry.
15108
51a1d39c 15109 * configure.in: Remove last remnants of RANLIB.
8720d066 15110 No need to check for signed size_t anymore.
215f4bdc
UD
15111 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15112 and IA-64.
3857022a 15113 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15114 * aclocal.m4: Likewise.
15115
d3ed7225
UD
15116 * wcsmbs/mbrtoc16.c: Implement using towc function.
15117 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15118 * wcsmbs/wcsmbsload.c: Likewise.
15119 * iconv/gconv_simple.c: Likewise.
15120 * iconv/gconv_int.h: Likewise.
15121 * iconv/gconv_builtin.h: Likewise.
15122 * iconv/iconv_prog.c: Remove CHAR16 handling.
15123
15124 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15125
15126 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15127
a0da5fe1
UD
15128 * configure.in: Remove --with-elf and --enable-bounded options.
15129 Dont set base_machine for ia64. More non-ELF conditions removed.
15130 Remove testing and setting of leading underscore information.
15131 * config.make.in (build-bounded): Set to no.
15132 * config.h.in: Remove NO_UNDERSCORES entry.
15133 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15134 them.
15135 * csu/start.c: Remove !NO_UNDERSCORE code.
15136 * locale/localeinfo.h: Likewise.
15137 * sysdeps/generic/machine-gmon.h: Likewise.
15138 * sysdeps/generic/sysdep.h: Likewise.
15139 * sysdeps/i386/sysdep.h: Likewise.
15140 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15141 * sysdeps/mach/sysdep.h: Likewise.
15142 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15143 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15144 * sysdeps/sh/sysdep.h: Likewise.
15145 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15146 * sysdeps/unix/i386/sysdep.S: Likewise.
15147 * sysdeps/unix/sparc/start.c: Likewise.
15148 * sysdeps/unix/sparc/sysdep.S: Likewise.
15149 * sysdeps/unix/sparc/sysdep.h: Likewise.
15150 * sysdeps/unix/start.c: Likewise.
15151 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15152 * sysdeps/x86_64/sysdep.h: Likewise.
15153
df78418a
UD
151542012-01-07 Ulrich Drepper <drepper@gmail.com>
15155
a784e502
UD
15156 [BZ #13553]
15157 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15158 for non-gcc.
15159 * argp/argp-fmtstream.h: Use const instead __const.
15160 * argp/argp.h: Likewise.
15161 * assert/assert.h: Likewise.
15162 * bits/fenv.h: Likewise.
15163 * bits/sched.h: Likewise.
15164 * bits/sigset.h: Likewise.
15165 * bits/sigthread.h: Likewise.
15166 * catgets/nl_types.h: Likewise.
15167 * conform/data/pthread.h-data: Likewise.
15168 * crypt/crypt-private.h: Likewise.
15169 * crypt/crypt.h: Likewise.
15170 * crypt/crypt_util.c: Likewise.
15171 * ctype/ctype.h: Likewise.
15172 * debug/execinfo.h: Likewise.
15173 * debug/mbsnrtowcs_chk.c: Likewise.
15174 * debug/mbsrtowcs_chk.c: Likewise.
15175 * debug/wcsnrtombs_chk.c: Likewise.
15176 * debug/wcsrtombs_chk.c: Likewise.
15177 * debug/wcstombs_chk.c: Likewise.
15178 * dirent/dirent.h: Likewise.
15179 * dlfcn/dlfcn.h: Likewise.
15180 * elf/neededtest4.c: Likewise.
15181 * grp/grp.h: Likewise.
15182 * gshadow/gshadow.h: Likewise.
15183 * iconv/gconv.h: Likewise.
15184 * iconv/gconv_int.h: Likewise.
15185 * iconv/gconv_simple.c: Likewise.
15186 * iconv/iconv.h: Likewise.
15187 * iconv/loop.c: Likewise.
15188 * iconv/skeleton.c: Likewise.
15189 * include/aio.h: Likewise.
15190 * include/aliases.h: Likewise.
15191 * include/argz.h: Likewise.
15192 * include/arpa/inet.h: Likewise.
15193 * include/assert.h: Likewise.
15194 * include/dirent.h: Likewise.
15195 * include/dlfcn.h: Likewise.
15196 * include/execinfo.h: Likewise.
15197 * include/fcntl.h: Likewise.
15198 * include/fenv.h: Likewise.
15199 * include/glob.h: Likewise.
15200 * include/grp.h: Likewise.
15201 * include/libintl.h: Likewise.
15202 * include/mntent.h: Likewise.
15203 * include/netdb.h: Likewise.
15204 * include/pwd.h: Likewise.
15205 * include/rpc/netdb.h: Likewise.
15206 * include/sched.h: Likewise.
15207 * include/search.h: Likewise.
15208 * include/shadow.h: Likewise.
15209 * include/signal.h: Likewise.
15210 * include/stdio.h: Likewise.
15211 * include/stdlib.h: Likewise.
15212 * include/string.h: Likewise.
15213 * include/sys/socket.h: Likewise.
15214 * include/sys/stat.h: Likewise.
15215 * include/sys/statfs.h: Likewise.
15216 * include/sys/statvfs.h: Likewise.
15217 * include/sys/syslog.h: Likewise.
15218 * include/sys/time.h: Likewise.
15219 * include/sys/uio.h: Likewise.
15220 * include/time.h: Likewise.
15221 * include/unistd.h: Likewise.
15222 * include/utmp.h: Likewise.
15223 * include/wchar.h: Likewise.
15224 * include/wctype.h: Likewise.
15225 * inet/aliases.h: Likewise.
15226 * inet/arpa/inet.h: Likewise.
15227 * inet/netinet/ether.h: Likewise.
15228 * inet/netinet/in.h: Likewise.
15229 * intl/libintl.h: Likewise.
15230 * io/bits/fcntl2.h: Likewise.
15231 * io/fcntl.h: Likewise.
15232 * io/ftw.h: Likewise.
15233 * io/sys/poll.h: Likewise.
15234 * io/sys/stat.h: Likewise.
15235 * io/sys/statfs.h: Likewise.
15236 * io/sys/statvfs.h: Likewise.
15237 * io/utime.h: Likewise.
15238 * libio/bits/stdio.h: Likewise.
15239 * libio/bits/stdio2.h: Likewise.
15240 * libio/libio.h: Likewise.
15241 * libio/libioP.h: Likewise.
15242 * libio/stdio.h: Likewise.
15243 * locale/lc-ctype.c: Likewise.
15244 * locale/locale.h: Likewise.
15245 * login/utmp.h: Likewise.
15246 * malloc/arena.c: Likewise.
15247 * malloc/malloc.c: Likewise.
15248 * malloc/malloc.h: Likewise.
15249 * malloc/mcheck.c: Likewise.
15250 * malloc/mtrace.c: Likewise.
15251 * math/bits/mathcalls.h: Likewise.
15252 * math/fenv.h: Likewise.
15253 * math/math_private.h: Likewise.
15254 * misc/bits/error.h: Likewise.
15255 * misc/bits/syslog.h: Likewise.
15256 * misc/err.h: Likewise.
15257 * misc/error.h: Likewise.
15258 * misc/fstab.h: Likewise.
15259 * misc/mntent.h: Likewise.
15260 * misc/regexp.h: Likewise.
15261 * misc/search.h: Likewise.
15262 * misc/sgtty.h: Likewise.
15263 * misc/sys/mman.h: Likewise.
15264 * misc/sys/syslog.h: Likewise.
15265 * misc/sys/uio.h: Likewise.
15266 * misc/sys/xattr.h: Likewise.
15267 * misc/ttyent.h: Likewise.
15268 * nis/rpcsvc/ypclnt.h: Likewise.
15269 * nss/nss.h: Likewise.
15270 * posix/bits/unistd.h: Likewise.
15271 * posix/fnmatch.h: Likewise.
15272 * posix/glob.h: Likewise.
15273 * posix/sched.h: Likewise.
15274 * posix/spawn.h: Likewise.
15275 * posix/sys/wait.h: Likewise.
15276 * posix/unistd.h: Likewise.
15277 * posix/wordexp.h: Likewise.
15278 * pwd/pwd.h: Likewise.
15279 * resolv/netdb.h: Likewise.
15280 * resource/sys/resource.h: Likewise.
15281 * rt/aio.h: Likewise.
15282 * rt/bits/mqueue2.h: Likewise.
15283 * rt/mqueue.h: Likewise.
15284 * shadow/shadow.h: Likewise.
15285 * signal/signal.h: Likewise.
15286 * socket/send.c: Likewise.
15287 * socket/sendto.c: Likewise.
15288 * socket/sys/socket.h: Likewise.
15289 * stdio-common/printf.h: Likewise.
15290 * stdlib/bits/stdlib.h: Likewise.
15291 * stdlib/fmtmsg.h: Likewise.
15292 * stdlib/monetary.h: Likewise.
15293 * stdlib/stdlib.h: Likewise.
15294 * stdlib/ucontext.h: Likewise.
15295 * streams/stropts.h: Likewise.
15296 * string/argz.h: Likewise.
15297 * string/bits/string2.h: Likewise.
15298 * string/string.h: Likewise.
15299 * string/strings.h: Likewise.
15300 * sunrpc/rpc/auth.h: Likewise.
15301 * sunrpc/rpc/auth_des.h: Likewise.
15302 * sunrpc/rpc/clnt.h: Likewise.
15303 * sunrpc/rpc/netdb.h: Likewise.
15304 * sunrpc/rpc/pmap_clnt.h: Likewise.
15305 * sunrpc/rpc/xdr.h: Likewise.
15306 * sysdeps/generic/inttypes.h: Likewise.
15307 * sysdeps/generic/net/if.h: Likewise.
15308 * sysdeps/generic/sys/swap.h: Likewise.
15309 * sysdeps/gnu/net/if.h: Likewise.
15310 * sysdeps/gnu/utmpx.h: Likewise.
15311 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15312 * sysdeps/i386/i486/bits/string.h: Likewise.
15313 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15314 * sysdeps/s390/bits/string.h: Likewise.
15315 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15316 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15317 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15318 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15319 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15320 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15321 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15322 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15323 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15324 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15325 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15326 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15327 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15328 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15329 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15330 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15331 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15333 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15335 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15336 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15337 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15338 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15339 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15340 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15341 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15342 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15343 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15345 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15346 * sysvipc/sys/ipc.h: Likewise.
15347 * sysvipc/sys/msg.h: Likewise.
15348 * sysvipc/sys/sem.h: Likewise.
15349 * sysvipc/sys/shm.h: Likewise.
15350 * termios/termios.h: Likewise.
15351 * time/sys/time.h: Likewise.
15352 * time/time.h: Likewise.
15353 * wcsmbs/bits/wchar2.h: Likewise.
15354 * wcsmbs/uchar.h: Likewise.
15355 * wcsmbs/wchar.h: Likewise.
15356 * wctype/wctype.h: Likewise.
15357
0269750c
UD
15358 [BZ #13551]
15359 * Makeconfig: Remove all but ELF support including AIX support.
15360 * Makerules: Likewise.
15361 * config.h.in: Likewise.
15362 * config.make.in: Likewise.
15363 * configure: Likewise.
15364 * configure.in: Likewise.
15365 * csu/Makefile: Likewise.
15366 * csu/version.c: Likewise.
15367 * debug/Makefile: Likewise.
15368 * dlfcn/Makefile: Likewise.
15369 * elf/Makefile: Likewise.
15370 * extra-lib.mk: Likewise.
15371 * iconv/Makefile: Likewise.
15372 * include/libc-symbols.h: Likewise.
15373 * include/shlib-compat.h: Likewise.
15374 * resolv/Makefile: Likewise.
15375 * resolv/res_libc.c: Likewise.
15376 * rt/Makefile: Likewise.
15377 * sysdeps/i386/asm-syntax.h: Likewise.
15378 * sysdeps/i386/sysdep.h: Likewise.
15379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15380 * sysdeps/mach/sysdep.h: Likewise.
15381 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15382 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15383 * sysdeps/s390/asm-syntax.h: Likewise.
15384 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15386 * sysdeps/sh/sysdep.h: Likewise.
15387 * sysdeps/unix/sparc/sysdep.h: Likewise.
15388 * sysdeps/wordsize-32/divdi3.c: Likewise.
15389 * sysdeps/x86_64/sysdep.h: Likewise.
15390
00bbd29b
UD
15391 * argp/Versions: Remove _argp_unlock_xxx.
15392
15393 [BZ #13559]
15394 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15395 * abilist/libBrokenLocale.abilist: Likewise.
15396 * abilist/libanl.abilist: Likewise.
15397 * abilist/libc.abilist: Likewise.
15398 * abilist/libcrypt.abilist: Likewise.
15399 * abilist/libdl.abilist: Likewise.
15400 * abilist/libm.abilist: Likewise.
15401 * abilist/libnsl.abilist: Likewise.
15402 * abilist/libpthread.abilist: Likewise.
15403 * abilist/libresolv.abilist: Likewise.
15404 * abilist/librt.abilist: Likewise.
15405 * abilist/libthread_db.abilist: Likewise.
15406 * abilist/libutil.abilist: Likewise.
15407 * abilist/libnss_db.abilist: New file.
15408
15409 * scripts/abilist.awk: Add support for indirect functions.
15410
a2693a0e
UD
15411 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15412
3f05895f
UD
15413 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15414
ecb6fb48
UD
15415 * shlib-versions: Remove entries for ports architectures.
15416
664f8cb9
UD
15417 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15418 files in ports.
15419 * elf/stackguard-macros.h: Remove support for IA-64.
15420 * elf/tst-auditmod1.c: Likewise.
15421 * sysdeps/generic/ldsodefs.h: Likewise.
15422
7ae81d88
UD
15423 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15424 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15425 configure files.
15426
bdeba135
UD
15427 [BZ #13552]
15428 * configure.in: Remove --enable-omitfp support.
15429 * FAQ.in: Adjust.
15430 * config.make.in: Likewise.
15431 * Makeconfig: Likewise.
15432 * manual/install.texi: Likewise.
15433
d75a0a62
UD
15434 In case anyone cares, the IA-64 architecture could move to ports.
15435 * sysdeps/ia64/*: Removed.
15436 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15437 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15438
dcc9756b
UD
15439 [BZ #13555]
15440 * configure.in: Remove entries for unsupported architectures.
15441
d3761ebc 15442 [BZ #13533]
9954432e
UD
15443 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15444 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15445 routines.
15446 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15447 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15448 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15449 fall back to using wcrtomb.
15450 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15451 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15452 renaming.
15453 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15454 * wcsmbs/tst-c16c32-1.c: New file.
15455
15456 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15457 local variable.
15458
c3a87236
UD
15459 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15460
28926a1b
UD
15461 * elf/tst-unique3.cc: Add explicit declaration of gets.
15462 * elf/tst-unique3lib.cc: Likewise.
15463 * elf/tst-unique3lib2.cc: Likewise.
15464 * elf/tst-unique4.cc: Likewise.
15465
df78418a
UD
15466 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15467
8ecd6b2a
JM
154682012-01-06 Joseph Myers <joseph@codesourcery.com>
15469
15470 [BZ #13566]
15471 * assert/assert.h (static_assert): Don't define for C++.
15472 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15473 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15474
9f115170
UD
154752012-01-03 Ulrich Drepper <drepper@gmail.com>
15476
5e0d0300
UD
15477 * iconv/loop.c (single loop): Fix assertion in storing of
15478 remaining bytes.
15479
9f115170
UD
15480 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15481
81fb02b0
UD
154822012-01-01 Ulrich Drepper <drepper@gmail.com>
15483
15484 * posix/getconf.c: Update copyright year.
15485 * nss/getent.c: Likewise.
a316c1f6 15486 * nss/makedb.c: Likewise.
81fb02b0
UD
15487 * iconv/iconvconfig.c: Likewise.
15488 * iconv/iconv_prog.c: Likewise.
15489 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15490 * elf/pldd.c: Likewise.
15491 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15492 * catgets/gencat.c: Likewise.
15493 * csu/version.c: Likewise.
15494 * elf/ldd.bash.in: Likewise.
15495 * elf/sprof.c (print_version): Likewise.
15496 * locale/programs/locale.c: Likewise.
15497 * locale/programs/localedef.c: Likewise.
a316c1f6 15498 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15499 * nscd/nscd.c (print_version): Likewise.
15500 * debug/xtrace.sh: Likewise.
15501 * malloc/memusage.sh: Likewise.
15502 * malloc/mtrace.pl: Likewise.
15503 * debug/catchsegv.sh: Likewise.
15504
2ba92745
JJ
155052011-12-30 Jakub Jelinek <jakub@redhat.com>
15506
15507 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15508 pure attribute.
15509
dadebdae
UD
155102011-12-24 Ulrich Drepper <drepper@gmail.com>
15511
d3761ebc 15512 [BZ #13533]
db6af3eb
UD
15513 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15514 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15515 transformations.
15516 * iconv/gconv_int.h: Likewise.
15517 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15518 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15519 from libc for GLIBC_2.16.
15520 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15521 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15522 * wcsmbs/uchar.h: Really define mbstate_t.
15523 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15524 * wcsmbs/c16rtomb.c: New file.
15525 * wcsmbs/mbrtoc16.c: New file.
15526 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15527 for C/POSIX locale.
15528 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15529 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15530
dadebdae
UD
15531 * wcsmbs/wchar.h: Add missing __restrict.
15532
67371b56
UD
155332011-12-23 Ulrich Drepper <drepper@gmail.com>
15534
74033a25
UD
15535 [BZ #13532]
15536 * time/Makefile (routines): Add timespec_get.
15537 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15538 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15539 timespec for ISO C11.
15540 * time/timespec_get.c: New file.
15541 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15542 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15543
380d7e87
UD
15544 [BZ #13531]
15545 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15546 * stdlib/stdlib.h: Declare aligned_alloc.
15547 * Versions.def: Add GLIBC_2.16 for libc.
15548 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15549
4e9e7a35
UD
15550 [BZ 13527]
15551 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15552 ISO C11.
15553
380d7e87 15554 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15555 code.
15556
03a71829
UD
15557 [BZ #13528]
15558 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15559
839e283e
UD
15560 [BZ #13529]
15561 * assert/assert.h (static_assert): Define.
15562
ce5294e2 15563 * version.h: Update for 2.16 development version.
90fa7312 15564
8d44e150 15565 [BZ #13526]
d7809905
UD
15566 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15567 _ISOC11_SOURCE.
15568
c0da14cd
UD
15569 * version.h (RELEASE): Bump for 2.15 release.
15570 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15571
530a3249
MP
15572 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15573 Patch by Marek Polacek <mpolacek@redhat.com>.
15574
67371b56
UD
15575 * bits/byteswap.h: Protect long long constants with __extension__.
15576 * sysdeps/i386/bits/byteswap.h: Likewise.
15577 * sysdeps/ia64/bits/byteswap.h: Likewise.
15578 * sysdeps/s390/bits/byteswap.h: Likewise.
15579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15580
15db4de1
LD
155812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15582
15583 [BZ #13540]
bbe315ea
LD
15584 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15585 destination buffer.
15db4de1
LD
15586 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15587
2b2596b1
MP
155882011-12-23 Marek Polacek <polacek@redhat.com>
15589
15590 * elf/dl-addr.c (determine_info): Add inline keyword.
15591 * elf/tst-auditmod4b.c (check_avx): Likewise.
15592 * elf/tst-auditmod6b.c (check_avx): Likewise.
15593 * elf/tst-auditmod6c.c (check_avx): Likewise.
15594 * elf/tst-auditmod7b.c (check_avx): Likewise.
15595
70c6c246
UD
155962011-12-23 Ulrich Drepper <drepper@gmail.com>
15597
15598 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15599 !__SSE_MATH__.
15600
c044cf14
LD
156012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15602
15db4de1 15603 [BZ #13540]
c044cf14
LD
15604 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15605 processing for last bytes.
15606
6b13d9d9
BH
156072011-08-06 Bruno Haible <bruno@clisp.org>
15608
d455f537
BH
15609 [BZ #13061]
15610 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15611 U+0385, not to U+1FEE.
15612
6b13d9d9
BH
15613 [BZ #13062]
15614 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15615 entry for U+00A5 U+0301.
15616
db910efd
UD
156172011-12-22 Ulrich Drepper <drepper@gmail.com>
15618
27deeafc
UD
15619 [BZ #13166]
15620 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15621 buffer for the output is too small.
15622
aed9d171
UD
15623 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15624 optimization.
15625
db910efd
UD
15626 [BZ #13185]
15627 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15628 SSE flags if possible.
15629
2bd779ae
LD
156302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15631
e7f9dac3 15632 [BZ #13540]
2bd779ae
LD
15633 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15634 processing for last bytes.
15635
154bfc16
JM
156362011-12-22 Joseph Myers <joseph@codesourcery.com>
15637
15638 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15639 (syscall-list-default-options, syscall-list-default-condition)
15640 (syscall-list-includes): Define.
15641 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15642 list of ABIs and options and #if conditions for each ABI. Do not
15643 handle common syscalls between ABIs specially.
15644 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15645 Remove.
15646 (syscall-list-variants, syscall-list-32bit-options)
15647 (syscall-list-32bit-condition, syscall-list-64bit-options)
15648 (syscall-list-64bit-condition): Define.
15649 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15650 (syscall-list-variants, syscall-list-32bit-options)
15651 (syscall-list-32bit-condition, syscall-list-64bit-options)
15652 (syscall-list-64bit-condition): Define.
15653 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15654 Remove.
15655 (syscall-list-variants, syscall-list-32bit-options)
15656 (syscall-list-32bit-condition, syscall-list-64bit-options)
15657 (syscall-list-64bit-condition): Define.
15658 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15659 Remove.
15660 (syscall-list-variants, syscall-list-32bit-options)
15661 (syscall-list-32bit-condition, syscall-list-64bit-options)
15662 (syscall-list-64bit-condition): Define.
15663
21eaf3a5
UD
156642011-12-22 Ulrich Drepper <drepper@gmail.com>
15665
16c6f992
UD
15666 * locale/iso-639.def: Add brx entry.
15667
41043168
UD
15668 [BZ #13328]
15669 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15670 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15671
21eaf3a5
UD
15672 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15673 __feraiseexcept_renamed.
15674
e3a851a2
UD
156752011-12-21 Ulrich Drepper <drepper@gmail.com>
15676
4920765e
UD
15677 [BZ #13538]
15678 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15679 EPOLLET with unsigned values.
15680 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15681 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15682
e3a851a2
UD
15683 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15684 to large cancellation.
15685 * math/s_cacoshf.c: Likewise.
15686 * math/s_cacoshl.c: Likewise.
15687
b27e24b8
RK
156882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15689
15690 [BZ #13305]
aebefeee 15691 [BZ #12786]
b27e24b8
RK
15692 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15693 * math/s_cacoshf.c: Likewise.
15694 * math/s_cacoshl.c: Likewise.
15695
ee190f67
UD
156962011-12-21 Ulrich Drepper <drepper@gmail.com>
15697
15698 [BZ #13439]
15699 * iconv/gconv.h: Define __GCONV_SWAP.
15700 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15701 * iconvdata/utf-16.c: Likewise.
15702 * iconvdata/utf-32.c: Likewise.
15703
707f25df
AS
157042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15705
15706 [BZ #13524]
15707 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15708 numerator after shifting it by one limb.
15709
d2daaa1e
RÁE
157102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15711
15712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15713 under [__USE_EXTERN_INLINES].
15714
a4647e72
UD
157152011-12-17 Ulrich Drepper <drepper@gmail.com>
15716
15717 [BZ #13446]
15718 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15719
f0b264f1
AZ
157202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15721
15722 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15723 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15724 optimized code.
15725 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15727 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15728 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15729 for strncasecmp/strncasecmp_l compilation.
15730 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15731 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15732
8ef4f244
MP
157332011-12-08 Marek Polacek <mpolacek@redhat.com>
15734
15735 [BZ #13484]
15736 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15737 of __asm__.
15738
97ac2654
UD
157392011-12-17 Ulrich Drepper <drepper@gmail.com>
15740
15741 [BZ #13506]
15742 * time/tzfile.c (__tzfile_read): Check values from file header.
15743
91d2a845
WS
157442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15745
15746 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15747 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15748 * powerpc/powerpc32/dl-start.S: Likewise.
15749 * powerpc/powerpc32/elf/start.S: Likewise.
15750 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15751 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15752 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15753 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15754 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15755 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15756 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15757 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15758 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15759 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15760 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15761 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15762 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15763 * powerpc/powerpc32/memset.S: Likewise.
15764 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15765 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15766 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15767 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15768 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15769 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15770 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15771 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15772 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15773 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15774 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15775 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15776 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15777
a1267ba1
AZ
157782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15779
15780 * math/libm-test.inc: Added more nearbyint tests.
15781 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15782 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15784 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15785
ad8ac1bd
RL
157862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15787
15788 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15789 FD_CLOEXEC.
15790
1d3e4b61
UD
157912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15792
15793 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15794 Add wcscpy-ssse3 wcscpy-c.
15795 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15796 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15797 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15798 * sysdeps/x86_64/wcschr.S: New file.
15799 * sysdeps/x86_64/wcsrchr.S: New file.
15800 * string/test-strcmp.c: Remove checking of wcscmp function for
15801 wrong alignments.
15802 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15803 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15804 wcsrchr-sse2 wcsrchr-c.
15805 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15806 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15807 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15808 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15809 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15810 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15811 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15812 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15813 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15814 * wcsmbc/wcschr.c (WCSCHR): New macro.
15815
5b330a2d
UD
158162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15817
15818 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15819 * wcsmbs/test-wcsrchr.c: New file.
15820 * string/test-strrchr.c: Add wcsrchr support.
15821 (WIDE): New macro.
15822 * wcsmbs/test-wcscpy.c: New file.
15823 * string/test-strcpy.c: Add wcscpy support.
15824 (WIDE): New macro.
26428b7c 15825
f039c043
UD
158262011-12-10 Ulrich Drepper <drepper@gmail.com>
15827
15828 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15829 the inner loop.
15830
850fb039
AS
158312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15832
15833 [BZ #13472]
15834 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15835
4efbd5cb
UD
158362011-12-04 Ulrich Drepper <drepper@gmail.com>
15837
52ff5dd0 15838 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 15839 Minor optimizations.
52ff5dd0 15840
4efbd5cb
UD
15841 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15842 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15843 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15844
8a426e12
UD
158452011-12-03 Ulrich Drepper <drepper@gmail.com>
15846
aff2453d
UD
15847 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15848 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15849 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15850 for gcc to avoid warnings.
15851 * inet/Makefile (tests): Add tst-checks.
15852 * inet/tst-checks.c: New file.
15853
15854 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15855 warning.
15856
15857 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15858 __wmemcmp_sse2.
15859
15860 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15861 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15862
8a426e12
UD
15863 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15864
9bea3473
UD
158652011-12-02 Ulrich Drepper <drepper@gmail.com>
15866
3a965496
UD
15867 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15868 problem.
15869
9bea3473
UD
15870 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15871
f101631b
UD
158722011-11-29 Joseph Myers <joseph@codesourcery.com>
15873
15874 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15875 conditional on GCC version.
15876 (__arch_compare_and_exchange_val_8_acq)
15877 (__arch_compare_and_exchange_val_16_acq)
15878 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15879 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15880 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15881
a98275aa
UD
158822011-12-02 Joseph Myers <joseph@codesourcery.com>
15883
15884 * sysdeps/sh/backtrace.c: New file.
15885
d4cc29a2
AS
158862011-12-02 Andreas Schwab <schwab@redhat.com>
15887
15888 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15889 parenthesis.
15890
6257af2d
AS
158912011-12-01 Andreas Schwab <schwab@redhat.com>
15892
15893 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15894 falling back to utime.
15895
b5f44c1a
AS
158962011-11-30 Andreas Schwab <schwab@redhat.com>
15897
15898 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15899 expectations for float.
15900
f3a6cc0a
AS
159012011-11-29 Andreas Schwab <schwab@redhat.com>
15902
15903 * locale/weight.h (findidx): Add parameter len.
15904 * locale/weightwc.h (findidx): Likewise.
15905 * posix/fnmatch_loop.c (FCT): Adjust caller.
15906 * posix/regcomp.c (build_equiv_class): Likewise.
15907 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15908 * posix/regexec.c (check_node_accept_bytes): Likewise.
15909 * string/strcoll_l.c (STRCOLL): Likewise.
15910 * string/strxfrm_l.c (STRXFRM): Likewise.
15911
9d65ea3a
UD
159122011-11-17 Ulrich Drepper <drepper@gmail.com>
15913
15914 * Makefile.in: Remove CVSOPT handling.
15915 * configure.in: Remove use of AC_REVISION.
15916 * iconvdata/Makefile (distribute): No need to filter out CVS.
15917 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15918 handling.
15919
5583a086
AS
159202011-11-16 Andreas Schwab <schwab@redhat.com>
15921
15922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15923 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15924 [USE_AS_STRNCASECMP_L]: Likewise.
15925 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15926 NO_TLS_DIRECT_SEG_REFS.
15927 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15928 Fix argument offsets for non-PIC.
15929 [USE_AS_STRNCASECMP_L]: Likewise.
15930 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15931 NO_TLS_DIRECT_SEG_REFS.
15932
d62a8200
UD
159332011-11-15 Ulrich Drepper <drepper@gmail.com>
15934
9d65ea3a 15935 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
15936 O_CLOEXEC.
15937 * locale/loadlocale.c (_nl_load_locale): Likewise.
15938
09f93bd3
AS
159392011-11-15 Andreas Schwab <schwab@redhat.com>
15940
446514f9
AS
15941 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15942 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15943 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15944 (SYSCALL_GETTIME): Set errno on error.
15945
09f93bd3
AS
15946 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15947 count references to noai6ai_cached.
15948
312be3f9
UD
159492011-11-15 Ulrich Drepper <drepper@gmail.com>
15950
15951 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15952
15953 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15954 FD_CLOEXEC for /proc/self/maps.
15955
15956 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15957 FD_CLOEXEC for /proc/meminfo.
15958
15959 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15960 gai.conf.
15961
15962 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15963 FD_CLOEXEC for given file.
15964
15965 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15966
15967 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15968 FD_CLOEXEC for /etc/hosts.
15969 (_gethtent): Likewise.
15970
15971 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15972
15973 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15974 cancellation and set FD_CLOEXEC for /etc/netgroup.
15975
15976 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15977 reading /etc/publickey.
15978
15979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15980 allow cancellation when reading /etc/group.
15981
15982 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15983 cancellation.
15984 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15985
15986 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15987 when using data file.
15988
15989 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15990
15991 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15992 (write_nis_obj): Use "c" and "e" in fopen.
15993
15994 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15995
15996 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15997
15998 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15999
16000 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16001
16002 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16003 locale.alias.
16004
16005 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16006
16007 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16008
16009 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16010
16011 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16012 file parsing and set FD_CLOEXEC.
16013
82af0fa8
UD
160142011-11-14 Ulrich Drepper <drepper@gmail.com>
16015
16016 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16017
a5fb313c
AS
160182011-11-14 Andreas Schwab <schwab@redhat.com>
16019
16020 * malloc/arena.c (arena_get2): Don't call reused_arena when
16021 _int_new_arena failed.
16022
6abf3465
UD
160232011-11-14 Ulrich Drepper <drepper@gmail.com>
16024
16025 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16026 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16028 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16029 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16031 to compile strcasecmp and strncasecmp.
16032 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16033 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16034
16035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16036
76e3966e
UD
160372011-11-13 Ulrich Drepper <drepper@gmail.com>
16038
16039 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16040 locale-defines.sym to gen-as-const-headers.
16041 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16042 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16044 to compile strcasecmp and strncasecmp.
16045 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16046 strcasecmp_l and strncasecmp_l.
16047 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16048 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16049 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16050 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16051 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16052 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16053 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16054 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16055 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16056 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16057 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16058
ab26144e
UD
160592011-11-12 Ulrich Drepper <drepper@gmail.com>
16060
7edb22ef
UD
16061 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16062 result of SYSDEP_GETTIME_CPU to retval.
16063 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16064 parameter list to macro. Remove trailing semicolon. Adjust users.
16065
9694fc44
UD
16066 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16067 variable.
16068
8ad89ef8
UD
16069 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16070 mantissa words.
16071 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16072
0c822ef9
UD
16073 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16074 from unused variable.
16075
874e0564
UD
16076 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16077 DWARF definitions.
16078 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16079 for assembling.
16080
3a2edc79
UD
16081 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16082 over namespaces.
16083
f3c2577f
UD
16084 * sunrpc/rpc_prot.c (rejected): Fix case value.
16085
294ce126
UD
16086 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16087 unsigned long long int to avoid warnings in shift.
16088
5e2b63c6
UD
16089 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16090 of use of trans.
16091 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16092 variable tmp.
16093
e7f4b08e
UD
16094 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16095 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16096 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16097
ab26144e
UD
16098 * nis/nis_table.c (nis_list): Use variable of correct type for
16099 result of __follow_path call.
16100
8a6d5255
AZ
161012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16102
16103 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16104 of math functions ceil, trunc, floor, round, and sqrt, when
16105 avaliable on the platform.
16106 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16107 name clash.
16108 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16109 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16110 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16111
aaddc98c
MP
161122011-10-30 Marek Polacek <mpolacek@redhat.com>
16113
16114 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16115 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16116
95b7042b
RM
161172011-11-11 Roland McGrath <roland@hack.frob.com>
16118
16119 * include/unistd.h: Fix __readlink return type.
16120 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16121
57769839
UD
161222011-11-11 Ulrich Drepper <drepper@gmail.com>
16123
16124 * stdlib/ucontext.h: Undo last change for makecontext.
16125
edc5984d
AS
161262011-11-11 Andreas Schwab <schwab@redhat.com>
16127
98591e58
AS
16128 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16129
edc5984d
AS
16130 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16131 * setjmp/setjmp.h: Mark functions as non-leaf.
16132 * setjmp/bits/setjmp2.h: Likewise.
16133 * stdlib/ucontext.h: Likewise.
16134
77cdc054
AS
161352011-11-10 Andreas Schwab <schwab@redhat.com>
16136
16137 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16138 (reused_arena): Don't check arena limit.
16139 (arena_get2): Atomically check arena limit.
16140
fe72eebd
UD
161412011-11-08 Ulrich Drepper <drepper@gmail.com>
16142
5f078c32
UD
16143 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16144 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16145
fe72eebd
UD
16146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16147 instructions.
16148
ae1bc2fa
AS
161492011-11-07 Andreas Schwab <schwab@redhat.com>
16150
7583a88d
AS
16151 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16152 handler when locking.
16153
ae1bc2fa
AS
16154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16155 Fix size of allocated buffer.
16156
10fb0bfa
AS
161572011-11-04 Andreas Schwab <schwab@redhat.com>
16158
998832a4
AS
16159 [BZ #10103]
16160 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16161 declarations for long double functions.
16162 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16163
10fb0bfa
AS
16164 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16165
3d7ba52b
AS
161662011-11-03 Andreas Schwab <schwab@redhat.com>
16167
a9ae54a1
AS
16168 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16169 installed.
16170
3d7ba52b
AS
16171 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16172 is disabled.
16173
bc8db248
ST
161742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16175
16176 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16177
45b96dd6
AS
161782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16179
647776f6
AS
16180 * include/alloca.h (stackinfo_alloca_round): Define.
16181 (extend_alloca): Use it.
16182 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16183 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16184 here.
16185
d91a8b93
AS
16186 * scripts/check-local-headers.sh: Ignore libaudit.h.
16187
45b96dd6
AS
16188 * nscd/Makefile (extra-objs): Make recursively expanded.
16189
432d41ce
UD
161902011-11-01 Ulrich Drepper <drepper@gmail.com>
16191
34372fc6
UD
16192 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16194
fadb59f8
UD
16195 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16196 * posix/tst-rfc3484-2.c: Likewise.
16197 * posix/tst-rfc3484-3.c: Likewise.
16198
78239589
UD
16199 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16200 process_vm_writev.
16201 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16202 process_vm_writev.
16203 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16204 process_vm_writev from libc using GLIBC_2.15 version.
16205
432d41ce
UD
16206 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16207
02f9c6cf
PP
162082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16209
16210 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16211 stack usage.
16212
3a2c0242
UD
162132011-10-31 Ulrich Drepper <drepper@gmail.com>
16214
f4ec4833
UD
16215 [BZ #13367]
16216 * nss/getent.c (initgroups_keys): Show error message in case no group
16217 names are given.
16218
3a2c0242
UD
16219 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16220 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16221 __bump_nl_timestamp.
16222 * nscd/connections (nscd_init): When host database is served open
16223 netlink socket and request notification about configuration changes.
16224 (main_loop_poll): Track netlink file descriptor and bump timestamp
16225 in case data becomes available.
16226 (main_loop_epoll): Likewise.
16227 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16228 (database_pers_head): Add extra_data fileds.
16229 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16230 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16231 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16232 Adjust caller.
16233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16234 in6ai data, call __free_in6ai.
16235 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16236 Add -DHAVE_NETLINK.
16237 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16238 interface information. Reuse previous data if netlink timestamp
16239 is not changed.
16240 (__bump_nl_timestamp): New function.
16241 (__free_in6ai): New function.
16242
636064eb
UD
162432011-10-30 Ulrich Drepper <drepper@gmail.com>
16244
16245 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16246 close_not_cancel_no_status here.
16247 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16248
9beb2334
UD
162492011-10-29 Ulrich Drepper <drepper@gmail.com>
16250
6ef76f3b
UD
16251 [BZ #13276]
16252 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16253 return value.
16254
0ffc4f3e 16255 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16256 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16257 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16258
cb95113e
UD
162592011-07-03 Andreas Jaeger <aj@suse.de>
16260
16261 [BZ #10709]
16262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16263 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16264 * math/libm-test.inc (sin_test): Add test case.
16265
a1b560ff
UD
162662011-10-29 Ulrich Drepper <drepper@gmail.com>
16267
c9aaface
UD
16268 [BZ #13337]
16269 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16270 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16271
d272e7f1
UD
16272 * elf/chroot_canon.c (chroot_canon): Cleanups.
16273
1bc33071
UD
16274 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16275
1760874d
TJ
16276 [BZ #13335]
16277 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16278 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16279
51d91b18
UD
16280 * string/test-strchr.c: Make usable for strchrnul testing.
16281 * string/test-strchrnul.c: New file.
16282 * string/Makefile (strop-tests): Add strchrnul.
16283
a1b560ff 16284 * po/it.po: Update from translation team.
b611fb81 16285 * po/es.po: Likewise.
a1b560ff 16286
a5b81e1f
UD
162872011-10-28 Ulrich Drepper <drepper@gmail.com>
16288
fd52bc6d
UD
16289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16290 the three constants needed as parameters. Drop the others.
16291 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16292 __m128i_strloadu_tolower.
52e4b9eb
UD
16293 Create and initialize variable zero and use it in all the places
16294 where _mm_setzero_si128 was used.
fd52bc6d 16295
a5b81e1f
UD
16296 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16297 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16298 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16300 anymore.
16301 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16302 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16303 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16304 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16305 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16306 __mpranred, __mptan.
16307 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16308 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16309 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16310 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16311 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16312 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16313 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16314 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16315 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16316
b4343346
AS
163172011-10-28 Andreas Schwab <schwab@redhat.com>
16318
0c92d8a8
AS
16319 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16320 redefine if SHARED.
16321 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16322
b4343346
AS
16323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16324 wide char related routines to wcsmbs subdir.
16325
3871f58f
AS
163262011-10-27 Andreas Schwab <schwab@redhat.com>
16327
16328 [BZ #13344]
16329 * misc/sys/cdefs.h (__THROWNL): Define.
16330 * posix/unistd.h: Use __THREADNL instead of __THREAD
16331 for memory synchronization functions.
16332
94d44d9f
RM
163332011-10-26 Roland McGrath <roland@hack.frob.com>
16334
21b64b15 16335 [BZ #13349]
94d44d9f
RM
16336 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16337 doesn't exist.
16338 * manual/stdio.texi (Obstack Streams): Node removed.
16339
f6ce9294
AS
163402011-10-26 Andreas Schwab <schwab@redhat.com>
16341
80479147
AS
16342 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16343 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16344 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16345
f6ce9294
AS
16346 * math/math_private.h (math_force_eval): Allow non-addressable
16347 arguments.
16348 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16349
618280a1
UD
163502011-10-25 Ulrich Drepper <drepper@gmail.com>
16351
e0016b11
UD
16352 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16353 file is not needed.
16354
16355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16358 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16360 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16361 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16362 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16363 Add AVX variants.
16364 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16365 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16366 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16367 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16368 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16369 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16370 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16371 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16372 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16373 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16374 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16375 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16376 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16377 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16378 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16379 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16380 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16381 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16382 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16383
16384 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16385 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16386
618280a1
UD
16387 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16388 place. Use VEX encoding when compiling for AVX.
16389
37822576
AS
163902011-10-25 Andreas Schwab <schwab@redhat.com>
16391
1f1e1947
AS
16392 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16393 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16394
37822576
AS
16395 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16396
31ea014d
UD
163972011-10-25 Ulrich Drepper <drepper@gmail.com>
16398
d7826aa1 16399 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16400 useless if() expression.
d7826aa1
UD
16401 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16402 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16403 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16405 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16406 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16407 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16408 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16409 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16412 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16413 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16414 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16415 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16416 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16417 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16418 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16419 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16420
31ea014d
UD
16421 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16422
16437fec
AS
164232011-10-25 Andreas Schwab <schwab@redhat.com>
16424
16425 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16426 condition.
16427 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16428
31d3cc00
UD
164292011-10-25 Ulrich Drepper <drepper@gmail.com>
16430
16431 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16432 .text section. Avoid duplicate constants.
16433 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16435 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16441 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16442 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16443 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16444 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16445 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16446 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16447 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16448 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16449 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16450 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16453 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16454 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16455 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16457 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16460 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16462 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16463 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16464 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16465 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16466 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16467 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16468 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16469 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16471 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16472 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16474 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16475 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16476 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16477 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16478
58985aa9
UD
164792011-10-24 Ulrich Drepper <drepper@gmail.com>
16480
202c9deb
UD
16481 * sysdeps/x86_64/dla.h: Move to ...
16482 * sysdeps/x86_64/fpu/dla.h: ...here.
16483 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16484 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16485
af968f62
UD
16486 * config.make.in: Add have-mfma4 entry.
16487 * configure.in: Substitute libc_cv_cc_fma4.
16488 * math/Makefile (dbl-only-routines): Add sincostab.
16489 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16490 Use __sincostab not sincos.
16491 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16492 name is a macro.
16493 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16497 using __copysign.
16498 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16499 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16500 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16501 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16502 and __inv.
16503 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16504 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16505 __copysign.
16506 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16507 define aliases when function name is a macro.
16508 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16509 sysdeps/ieee754/dbl-64/sincos.tbl.
16510 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16511 fma4-enabled routines.
16512 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16513 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16514 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16515 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16516 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16517 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16518 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16519 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16521 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16522 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16523 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16524 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16525 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16526 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16527 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16528 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16529 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16530 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16531 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16532 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16533 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16534 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16535 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16536 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16537 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16538 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16539 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16540 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16541 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16542
58985aa9
UD
16543 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16544 rename.
16545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16553
a201fbcf
AS
165542011-10-24 Andreas Schwab <schwab@redhat.com>
16555
16556 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16557
fc2ee42a
LD
165582011-10-23 Ulrich Drepper <drepper@gmail.com>
16559
bb3129bd
UD
16560 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16561
0275fff8
UD
16562 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16563 prediction.
16564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16565
2fa2ae85
UD
16566 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16567 Remove unused variable magic_bits.
16568 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16569
fc2ee42a
LD
16570 * string/strnlen.c: Define and use STRNLEN macro.
16571 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16572 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16574 * wcsmbs/wcslen.c: Define and use WCSLEN.
16575 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16576 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16577 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16578 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16579 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16580 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16581 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16582
ce7dd29f
LD
165832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16584
16585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16586 strnlen-sse2-no-bsf.
16587 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16588 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16589 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16590 Add strnlen support.
16591 (USE_AS_STRNLEN): New macro.
16592 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16593 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16594 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16595 * sysdeps/x86_64/wcslen.S: New file.
16596
979c70a3
MZ
165972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16598
16599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16600 XMM-moves are used for copying on small sizes.
16601
2d09f82f
LD
166022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16603
16604 * wcsmbs/Makefile (strop-tests): Add wcschr.
16605 * wcsmbs/test-wcschr.c: New file.
16606 * string/test-strchr.c: Update.
16607 Add wcschr support.
16608 (WIDE): New macro.
16609
619fccca
LD
166102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16611
2d09f82f 16612 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16613 * wcsmbs/test-wcslen.c: New file.
16614 * string/test-strlen.c: Update.
16615 Add wcslen support.
16616 (WIDE): New macro.
16617
09f699ea
UD
166182011-10-23 Ulrich Drepper <drepper@gmail.com>
16619
16620 * po/it.po: Update from translation team.
16621
95584d3b
LD
166222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16623
16624 * sysdeps/x86_64/wcscmp.S: Update.
16625 Fix wrong comparison semantics.
16626 wcscmp shall use signed comparison not unsigned.
16627 Don't use substraction to avoid overflow bug.
16628 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16629 * wcsmbc/wcscmp.c: Likewise.
16630 * string/test-strcmp.c: Likewise.
16631 Add new tests to check cases with negative values.
16632
c8b3296b
UD
166332011-10-23 Ulrich Drepper <drepper@gmail.com>
16634
16635 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16636 * sysdeps/x86_64/dla.h: ...here. New file.
16637 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16646
246ad57a
AS
166472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16648
16649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16650 __ynl_finite aliases.
16651
a1a87169
UD
166522011-10-22 Ulrich Drepper <drepper@gmail.com>
16653
0d355eb7
UD
16654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16655
a1a87169
UD
16656 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16657 define DLA_FMA.
16658 [DLA_FMA] (EMULV): Use DLA_FMA.
16659 [DLA_FMA] (MUL12): Use EMULV.
16660 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16661 that are not needed.
16662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16669
ee2aafe0
AS
166702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16671
16672 * math/s_nan.c: Undef __nan.
16673 * math/s_nanf.c: Undef __nanf.
16674 * math/s_nanl.c: Undef __nanl.
16675 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16676 "math_private.h".
16677
bc62c2fb
UD
166782011-10-22 Ulrich Drepper <drepper@gmail.com>
16679
77425c63
UD
16680 * math/s_catan.c: Add branch predictions.
16681 * math/s_catanf.c: Likewise.
16682 * math/s_catanh.c: Likewise.
16683 * math/s_catanhf.c: Likewise.
16684 * math/s_catanhl.c: Likewise.
16685 * math/s_catanl.c: Likewise.
16686 * math/s_cexp.c: Likewise.
16687 * math/s_cexpf.c: Likewise.
16688 * math/s_cexpl.c: Likewise.
16689 * math/s_clog.c: Likewise.
16690 * math/s_clog10.c: Likewise.
16691 * math/s_clog10f.c: Likewise.
16692 * math/s_clog10l.c: Likewise.
16693 * math/s_clogf.c: Likewise.
16694 * math/s_clogl.c: Likewise.
16695 * math/s_csqrt.c: Likewise.
16696 * math/s_csqrtf.c: Likewise.
16697 * math/s_csqrtl.c: Likewise.
16698 * math/s_ctanf.c: Likewise.
16699 * math/s_ctanh.c: Likewise.
16700 * math/s_ctanhf.c: Likewise.
16701 * math/s_ctanhl.c: Likewise.
16702 * math/s_ctanl.c: Likewise.
16703
bc62c2fb
UD
16704 * math/math_private.h: Define __nan, __nanf, __nanl.
16705 * math/s_cacosh.c: Include <math_private.h>.
16706 * math/s_cacoshl.c: Likewise.
16707 * math/s_casinh.c: Likewise.
16708 * math/s_casinhf.c: Likewise.
16709 * math/s_casinhl.c: Likewise.
16710 * math/s_ccos.c: Rely entire on ccosh.
16711 * math/s_ccosf.c: Rely entire on ccoshf.
16712 * math/s_ccosl.c: Rely entirely on ccoshl.
16713 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16714 Remove tests for FE_INVALID.
16715 * math/s_ccoshf.c: Likewise.
16716 * math/s_ccoshl.c: Likewise.
16717 * math/s_csin.c: Likewise.
16718 * math/s_csinf.c: Likewise.
16719 * math/s_csinh.c Likewise.
16720 * math/s_csinhf.c: Likewise.
16721 * math/s_csinhl.c: Likewise.
16722 * math/s_csinl.c: Likewise.
16723 * math/s_ctan.c: Likewise.
16724 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16725 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16726 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16727
8ec250a4
UD
167282011-10-21 Ulrich Drepper <drepper@gmail.com>
16729
c196fed8
UD
16730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16731 compilation problems.
16732
8ec250a4
UD
16733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16734 __builtin_expect.
16735
8d4f46c6
UD
167362011-10-20 Ulrich Drepper <drepper@gmail.com>
16737
ed72b654
UD
16738 * sysdeps/i386/configure.in: Test for -mfma4 option.
16739 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16740 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16741 COMMON_CPUID_INDEX_80000001.
16742 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16743 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16744 use it if FMA3 is not supported.
16745 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16746
8d4f46c6
UD
16747 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16748 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16749
d45c60c2
AS
167502011-10-20 Andreas Schwab <schwab@redhat.com>
16751
16752 [BZ #12892]
16753 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16754 it would create a cycle with a link time dependency.
16755
d9a4d2ab
UD
167562011-10-19 Ulrich Drepper <drepper@gmail.com>
16757
855d1560
UD
16758 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16759 instruction.
16760 * string/Makefile (strop-tests): Add rawmemchr.
16761 * string/test-rawmemchr.c: New file.
16762
d9a4d2ab
UD
16763 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16765 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16766 when compiling str{,n}casecmp and when AVX is available. Hook up
16767 new optimized code in initializers.
16768
8f3b1ffe
AS
167692011-10-19 Andreas Schwab <schwab@redhat.com>
16770
16771 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16772 __feraiseexcept instead of feraiseexcept.
16773
d38f1dba
UD
167742011-10-18 Ulrich Drepper <drepper@gmail.com>
16775
d9a8d0ab
UD
16776 * math/math_private.h: Define defaults for libc_fetestexcept and
16777 libc_feupdateenv.
16778 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16779 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16780 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16782 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16783 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16784 libc_fetestexcept and libc_feupdateenv.
16785
4855e3dd
UD
16786 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16787 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16788 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16789 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16790 libc_feholdexcept_setround.
16791
581d30e3
UD
16792 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16793 Add s_nearbyint-c and s_nearbyintf-c.
16794 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16795 nearbyintf inlines.
16796 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16797 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16799 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16800
d38f1dba
UD
16801 * math/math_private.h: Define defaults for libc_fegetround,
16802 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16803 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16804 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16805 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16806 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16807 standard functions.
16808 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16809 Remove comments and hacks for old compiler versions.
16810 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16811 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16812 libc_feholdexceptl.
16813
caa6c9d8
AS
168142011-10-18 Andreas Schwab <schwab@redhat.com>
16815
16816 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
16817 (__feraiseexcept_renamed): Add __NTH.
16818 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
16819 namespace violations.
16820
97c066e6
UD
168212011-10-17 Ulrich Drepper <drepper@gmail.com>
16822
99ce7b04
UD
16823 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16824
1004d182
UD
16825 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16826
228a984d
UD
16827 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16828 recently added interfaces.
16829 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16830
c8553a6a
UD
16831 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16832 about macro parameter expansion.
16833
ed22dcf6
UD
16834 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16835 __NO_MATH_INLINES is defined. Cleanups.
16836
16837 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16838 and __floorf is target has SSE4.1.
16839 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16840 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16841 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16842 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16843
b171c137
UD
16844 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16845 name.
16846 (floorf): Likewise.
16847
97c066e6
UD
16848 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16849
629f62ef
AS
168502011-10-17 Andreas Schwab <schwab@redhat.com>
16851
49a43d80
AS
16852 * misc/sys/cdefs.h: Fix last change.
16853
629f62ef
AS
16854 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16855 database lookup.
16856
e453f6cd
UD
168572011-10-16 Ulrich Drepper <drepper@gmail.com>
16858
aa78043a
UD
16859 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16860
ad0f5cad
UD
16861 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16863 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16868 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16869 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16870 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16871 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16872 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16873 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16874 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16875 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16876 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16877 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16878 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16879 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16880 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16881 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16882 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16883
16884 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16885 ceil, ceilf, floor, floorf.
16886
16887 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16888 Perform IRELATIVE relocations last.
16889
e453f6cd
UD
16890 * elf/do-rel.h: Add another parameter nrelative, replacing the
16891 local variable with the same name. Change name of the function
16892 to end in Rel or Rela (uppercase).
16893 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16894 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16895 elf_dynamic_do_##reloc function.
16896
fd5bdc09
UD
168972011-10-15 Ulrich Drepper <drepper@gmail.com>
16898
79b195b5
UD
16899 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16900 is sufficient, at least on modern CPUs.
16901
d4a28569
UD
16902 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16903
b61099b5
UD
16904 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16905 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16906
bcf01e6d
UD
16907 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16908 __expl_finite.
16909 * math/bits/math-finite.h: Add entries for exp.
16910 * math/e_expl.c: Add __*_finite alias.
16911 * sysdeps/i386/fpu/e_exp.S: Likewise.
16912 * sysdeps/i386/fpu/e_expf.S: Likewise.
16913 * sysdeps/i386/fpu/e_expl.c: Likewise.
16914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16915 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16918 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16919 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16920 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16921
ba1a0d59
UD
16922 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16923 is sufficient, at least on modern CPUs.
16924
fd5bdc09
UD
16925 * ctype/ctype-info.c (__ctype_init): Define.
16926 * include/ctype.h (__ctype_init): Declare.
16927 (__ctype_b_loc): The variable is always initialized.
16928 (__ctype_toupper_loc): Likewise.
16929 (__ctype_tolower_loc): Likewise.
16930 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16931 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16932
7872cfb0
AS
169332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16934
b468825a
AS
16935 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16936
7872cfb0
AS
16937 * configure.in: Also look in $cxxmachine/include for C++ system
16938 headers.
16939
be13f7bf
LD
169402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16941
16942 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16943 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16944 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16945 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16946 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16947 (USE_AS_WMEMCMP): New macro.
16948 Fixing indents.
16949 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16950 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16951 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16952 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16954 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16955 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16956 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16957 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16958 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16959 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16960 (USE_AS_WMEMCMP): New macro.
16961 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16962 * sysdeps/string/test-memcmp.c: Update.
16963 Fix simple_wmemcmp.
16964 Add new tests.
16965 * wcsmbs/wmemcmp.c: Update.
16966 (WMEMCMP): New macro.
16967 Fix overflow bug.
16968
556a2007
AJ
169692011-10-12 Andreas Jaeger <aj@suse.de>
16970
16971 [BZ #13268]
16972 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16973
538faaa7
UD
169742011-10-15 Ulrich Drepper <drepper@gmail.com>
16975
ab6737ff
UD
16976 * libio/iofwide.c (do_length): Avoid warning.
16977
538faaa7
UD
16978 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16979
396a21b1
UD
169802011-10-14 Ulrich Drepper <drepper@gmail.com>
16981
cdf2901f
UD
16982 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16983
38ad40ce
UD
16984 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16985 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16986 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16987 * sysdeps/i386/i686/fpu/e_log.S: New file.
16988 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16989 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16990
396a21b1
UD
16991 * ctype/ctype.h: Add support for inlined isXXX functions when
16992 compiling C++ code.
16993
6b1f68c9
AS
169942011-10-14 Andreas Schwab <schwab@redhat.com>
16995
349290c0
AS
16996 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16997
6b1f68c9
AS
16998 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16999
f2282d42
RM
170002011-10-13 Roland McGrath <roland@hack.frob.com>
17001
17002 [BZ #13291]
17003 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17004
5298ffa8
AS
170052011-10-13 Andreas Schwab <schwab@redhat.com>
17006
714fad23
AS
17007 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17008 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17009 feraiseexcept.
17010
81dcc7fb
AS
17011 * sysdeps/x86_64/memrchr.S: Check for zero size.
17012
5298ffa8
AS
17013 * string/stratcliff.c: Add memrchr tests.
17014
951fbcec
LD
170152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17016
17017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17018 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17019 rawmemchr-sse2 rawmemchr-sse2-bsf.
17020 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17021 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17022 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17023 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17024 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17025 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17026 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17027 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17028 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17029 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17030 * string/memrchr.c (MEMRCHR): New macro.
17031
0ac5ae23
UD
170322011-10-12 Ulrich Drepper <drepper@gmail.com>
17033
17034 Add integration with gcc's -ffinite-math-only and optimize wrapper
17035 functions in libm.
17036 * Versions.def: Define GLIBC_2.15 version for libm.
17037 * math/Makefile (headers): Add bits/math-finite.h.
17038 * math/bits/math-finite.h: New file.
17039 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17040 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17041 * math/e_acoshl.c: Add __*_finite alias.
17042 * math/e_acosl.c: Likewise.
17043 * math/e_asinl.c: Likewise.
17044 * math/e_atan2l.c: Likewise.
17045 * math/e_atanhl.c: Likewise.
17046 * math/e_coshl.c: Likewise.
17047 * math/e_exp10.c: Likewise.
17048 * math/e_exp10f.c: Likewise.
17049 * math/e_exp10l.c: Likewise.
17050 * math/e_exp2l.c: Likewise.
17051 * math/e_fmodl.c: Likewise.
17052 * math/e_gammal_r.c: Likewise.
17053 * math/e_hypotl.c: Likewise.
17054 * math/e_j0l.c: Likewise.
17055 * math/e_j1l.c: Likewise.
17056 * math/e_jnl.c: Likewise.
17057 * math/e_lgammal_r.c: Likewise.
17058 * math/e_log10l.c: Likewise.
17059 * math/e_log2l.c: Likewise.
17060 * math/e_logl.c: Likewise.
17061 * math/e_powl.c: Likewise.
17062 * math/e_sinhl.c: Likewise.
17063 * math/e_sqrtl.c: Likewise.
17064 * math/e_scalb.c: Completely rewritten and optimized.
17065 * math/e_scalbf.c: Likewise.
17066 * math/e_scalbl.c: Likewise.
17067 * math/w_acos.c: Likewise.
17068 * math/w_acosf.c: Likewise.
17069 * math/w_acosl.c: Likewise.
17070 * math/w_acosh.c: Likewise.
17071 * math/w_acoshf.c: Likewise.
17072 * math/w_acoshl.c: Likewise.
17073 * math/w_asin.c: Likewise.
17074 * math/w_asinf.c: Likewise.
17075 * math/w_asinl.c: Likewise.
17076 * math/w_atan2.c: Likewise.
17077 * math/w_atan2f.c: Likewise.
17078 * math/w_atan2l.c: Likewise.
17079 * math/w_atanh.c: Likewise.
17080 * math/w_atanhf.c: Likewise.
17081 * math/w_atanhl.c: Likewise.
17082 * math/w_exp10.c: Likewise.
17083 * math/w_exp10f.c: Likewise.
17084 * math/w_exp10l.c: Likewise.
17085 * math/w_fmod.c: Likewise.
17086 * math/w_fmodf.c: Likewise.
17087 * math/w_fmodl.c: Likewise.
17088 * math/w_j0.c: Likewise.
17089 * math/w_j0f.c: Likewise.
17090 * math/w_j0l.c: Likewise.
17091 * math/w_j1.c: Likewise.
17092 * math/w_j1f.c: Likewise.
17093 * math/w_j1l.c: Likewise.
17094 * math/w_jn.c: Likewise.
17095 * math/w_jnf.c: Likewise.
17096 * math/w_log.c: Likewise.
17097 * math/w_logf.c: Likewise.
17098 * math/w_logl.c: Likewise.
17099 * math/w_log10.c: Likewise.
17100 * math/w_log10f.c: Likewise.
17101 * math/w_log10l.c: Likewise.
17102 * math/w_log2.c: Likewise.
17103 * math/w_log2f.c: Likewise.
17104 * math/w_log2l.c: Likewise.
17105 * math/w_pow.c: Likewise.
17106 * math/w_powf.c: Likewise.
17107 * math/w_powl.c: Likewise.
17108 * math/w_remainder.c: Likewise.
17109 * math/w_remainderf.c: Likewise.
17110 * math/w_remainderl.c: Likewise.
17111 * math/w_scalb.c: Likewise.
17112 * math/w_scalbf.c: Likewise.
17113 * math/w_scalbl.c: Likewise.
17114 * math/w_sqrt.c: Likewise.
17115 * math/w_sqrtf.c: Likewise.
17116 * math/w_sqrtl.c: Likewise.
17117 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17118 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17119 used.
17120 * math/math_private.h: Declare __kernel_standard_f.
17121 * math/w_cosh.c: Remove cruft and optimize a bit.
17122 * math/w_coshf.c: Likewise.
17123 * math/w_coshl.c: Likewise.
17124 * math/w_exp2.c: Likewise.
17125 * math/w_exp2f.c: Likewise.
17126 * math/w_exp2l.c: Likewise.
17127 * math/w_hypot.c: Likewise.
17128 * math/w_hypotf.c: Likewise.
17129 * math/w_hypotl.c: Likewise.
17130 * math/w_lgamma.c: Likewise.
17131 * math/w_lgamma_r.c: Likewise.
17132 * math/w_lgammaf.c: Likewise.
17133 * math/w_lgammaf_r.c: Likewise.
17134 * math/w_lgammal.c: Likewise.
17135 * math/w_lgammal_r.c: Likewise.
17136 * math/w_sinh.c: Likewise.
17137 * math/w_sinhf.c: Likewise.
17138 * math/w_sinhl.c: Likewise.
17139 * math/w_tgamma.c: Likewise.
17140 * math/w_tgammaf.c: Likewise.
17141 * math/w_tgammal.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17144 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17145 Minor optimizations. Pretty printing. Remove cruft.
17146 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17147 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17148 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17149 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17150 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17151 * sysdeps/i386/fpu/e_asin.S: Likewise.
17152 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17153 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17154 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17155 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17156 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17157 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17158 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17159 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17160 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17161 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17162 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17163 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17164 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17165 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17166 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17167 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17168 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17169 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17170 * sysdeps/i386/fpu/e_log.S: Likewise.
17171 * sysdeps/i386/fpu/e_log10.S: Likewise.
17172 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17173 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17174 * sysdeps/i386/fpu/e_log2.S: Likewise.
17175 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17176 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17177 * sysdeps/i386/fpu/e_logf.S: Likewise.
17178 * sysdeps/i386/fpu/e_logl.S: Likewise.
17179 * sysdeps/i386/fpu/e_pow.S: Likewise.
17180 * sysdeps/i386/fpu/e_powf.S: Likewise.
17181 * sysdeps/i386/fpu/e_powl.S: Likewise.
17182 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17183 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17184 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17185 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17186 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17187 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17188 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17189 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17190 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17191 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17194 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17195 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17196 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17204 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17205 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17211 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17212 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17213 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17214 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17215 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17216 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17217 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17218 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17219 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17220 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17221 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17222 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17223 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17224 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17225 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17226 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17227 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17228 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17229 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17230 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17231 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17232 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17244 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17246 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17270 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17271 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17276 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17277 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17279 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17282 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17283 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17284 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17285 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17286 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17287 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17288 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17289 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17290 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17291 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17292 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17293 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17294 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17295 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17296 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17297 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17298 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17299 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17300 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17301 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17302 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17303 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17304 (__isnanf): Likewise.
17305 (__isinf_ns): Likewise.
17306 (__isinf_nsf): Likewise.
17307 (__finite): Likewise.
17308 (__finitef): Likewise.
17309 (__ieee754_sqrt): Define as macro.
17310 (__ieee754_sqrtf): Define as macro.
17311 (__ieee754_sqrtl): Define as macro.
17312 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17313 inlined copy.
17314 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17315 __FINITE_MATH_ONLY__ consistent.
17316 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17317
12cc2fcd
AS
173182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17319
a843a204
AS
17320 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17321 of rawmemchr.
17322
12cc2fcd
AS
17323 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17324
c853acd5
UD
173252011-10-09 Ulrich Drepper <drepper@gmail.com>
17326
17327 * po/ja.po: Update from translation team.
17328
c658d255
RM
173292011-10-08 Roland McGrath <roland@hack.frob.com>
17330
110946e4
RM
17331 * locale/programs/locarchive.c (prepare_address_space): New function.
17332 (create_archive, enlarge_archive, open_archive): Use it.
17333
50604220
RM
17334 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17335 inside [SHARED], where it is used.
17336
c658d255
RM
17337 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17338
17339 * nss/getent.c (netgroup_keys): Remove unused variable.
17340 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17341
6a621eb7
UD
173422011-10-08 Ulrich Drepper <drepper@gmail.com>
17343
7edb55ce
UD
17344 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17345 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17347 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17348 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17349 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17350 * math/Makefile (libm-calls): Add s_isinf_ns.
17351 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17352 * math/multc3.c: Likewise.
17353 * math/s_casin.c: Likewise.
17354 * math/s_casinf.c: Likewise.
17355 * math/s_casinl.c: Likewise.
17356 * math/s_ccos.c: Likewise.
17357 * math/s_ccosf.c: Likewise.
17358 * math/s_ccosl.c: Likewise.
17359 * math/s_ctan.c: Likewise.
17360 * math/s_ctanf.c: Likewise.
17361 * math/s_ctanh.c: Likewise.
17362 * math/s_ctanhf.c: Likewise.
17363 * math/s_ctanhl.c: Likewise.
17364 * math/s_ctanl.c: Likewise.
17365 * math/w_fmod.c: Likewise.
17366 * math/w_fmodf.c: Likewise.
17367 * math/w_fmodl.c: Likewise.
17368 * math/w_remainder.c: Likewise.
17369 * math/w_remainderf.c: Likewise.
17370 * math/w_remainderl.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17372 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17375 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17376 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17377 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17378 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17379
187da0ae
UD
17380 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17381 of the number.
17382 * stdio-common/printf_fphex.c: Likewise.
17383 * stdio-common/printf_size.c: Likewise.
17384
9277c064
UD
17385 * math/e_exp10.c: Include math_private.h using <...> not "...".
17386 * math/e_exp10f.c: Likewise.
17387 * math/e_exp10l.c: Likewise.
17388 * math/e_exp2l.c: Likewise.
17389 * math/e_j0l.c: Likewise.
17390 * math/e_j1l.c: Likewise.
17391 * math/e_jnl.c: Likewise.
17392 * math/e_lgammal_r.c: Likewise.
17393 * math/e_rem_pio2l.c: Likewise.
17394 * math/e_scalb.c: Likewise.
17395 * math/e_scalbf.c: Likewise.
17396 * math/e_scalbl.c: Likewise.
17397 * math/k_cosl.c: Likewise.
17398 * math/k_sinl.c: Likewise.
17399 * math/k_tanl.c: Likewise.
17400 * math/s_cacoshf.c: Likewise.
17401 * math/s_catan.c: Likewise.
17402 * math/s_catanf.c: Likewise.
17403 * math/s_catanh.c: Likewise.
17404 * math/s_catanhf.c: Likewise.
17405 * math/s_catanhl.c: Likewise.
17406 * math/s_catanl.c: Likewise.
17407 * math/s_ccosh.c: Likewise.
17408 * math/s_ccoshf.c: Likewise.
17409 * math/s_ccoshl.c: Likewise.
17410 * math/s_cexp.c: Likewise.
17411 * math/s_cexpf.c: Likewise.
17412 * math/s_cexpl.c: Likewise.
17413 * math/s_clog.c: Likewise.
17414 * math/s_clog10.c: Likewise.
17415 * math/s_clog10f.c: Likewise.
17416 * math/s_clog10l.c: Likewise.
17417 * math/s_clogf.c: Likewise.
17418 * math/s_clogl.c: Likewise.
17419 * math/s_csin.c: Likewise.
17420 * math/s_csinf.c: Likewise.
17421 * math/s_csinh.c: Likewise.
17422 * math/s_csinhf.c: Likewise.
17423 * math/s_csinhl.c: Likewise.
17424 * math/s_csinl.c: Likewise.
17425 * math/s_csqrt.c: Likewise.
17426 * math/s_csqrtf.c: Likewise.
17427 * math/s_csqrtl.c: Likewise.
17428 * math/s_ctan.c: Likewise.
17429 * math/s_ctanf.c: Likewise.
17430 * math/s_ctanh.c: Likewise.
17431 * math/s_ctanhf.c: Likewise.
17432 * math/s_ctanhl.c: Likewise.
17433 * math/s_ctanl.c: Likewise.
17434 * math/s_ldexp.c: Likewise.
17435 * math/s_ldexpf.c: Likewise.
17436 * math/s_ldexpl.c: Likewise.
17437 * math/s_significand.c: Likewise.
17438 * math/s_significandf.c: Likewise.
17439 * math/s_significandl.c: Likewise.
17440 * math/w_acos.c: Likewise.
17441 * math/w_acosf.c: Likewise.
17442 * math/w_acosh.c: Likewise.
17443 * math/w_acoshf.c: Likewise.
17444 * math/w_acoshl.c: Likewise.
17445 * math/w_acosl.c: Likewise.
17446 * math/w_asin.c: Likewise.
17447 * math/w_asinf.c: Likewise.
17448 * math/w_asinl.c: Likewise.
17449 * math/w_atan2.c: Likewise.
17450 * math/w_atan2f.c: Likewise.
17451 * math/w_atan2l.c: Likewise.
17452 * math/w_atanh.c: Likewise.
17453 * math/w_atanhf.c: Likewise.
17454 * math/w_atanhl.c: Likewise.
17455 * math/w_cosh.c: Likewise.
17456 * math/w_coshf.c: Likewise.
17457 * math/w_coshl.c: Likewise.
17458 * math/w_dremf.c: Likewise.
17459 * math/w_exp10.c: Likewise.
17460 * math/w_exp10f.c: Likewise.
17461 * math/w_exp10l.c: Likewise.
17462 * math/w_exp2.c: Likewise.
17463 * math/w_exp2f.c: Likewise.
17464 * math/w_fmod.c: Likewise.
17465 * math/w_fmodf.c: Likewise.
17466 * math/w_fmodl.c: Likewise.
17467 * math/w_hypot.c: Likewise.
17468 * math/w_hypotf.c: Likewise.
17469 * math/w_hypotl.c: Likewise.
17470 * math/w_j0.c: Likewise.
17471 * math/w_j0f.c: Likewise.
17472 * math/w_j0l.c: Likewise.
17473 * math/w_j1.c: Likewise.
17474 * math/w_j1f.c: Likewise.
17475 * math/w_j1l.c: Likewise.
17476 * math/w_jn.c: Likewise.
17477 * math/w_jnf.c: Likewise.
17478 * math/w_jnl.c: Likewise.
17479 * math/w_lgamma.c: Likewise.
17480 * math/w_lgamma_r.c: Likewise.
17481 * math/w_lgammaf.c: Likewise.
17482 * math/w_lgammaf_r.c: Likewise.
17483 * math/w_lgammal.c: Likewise.
17484 * math/w_lgammal_r.c: Likewise.
17485 * math/w_log.c: Likewise.
17486 * math/w_log10.c: Likewise.
17487 * math/w_log10f.c: Likewise.
17488 * math/w_log10l.c: Likewise.
17489 * math/w_log2.c: Likewise.
17490 * math/w_log2f.c: Likewise.
17491 * math/w_log2l.c: Likewise.
17492 * math/w_logf.c: Likewise.
17493 * math/w_logl.c: Likewise.
17494 * math/w_pow.c: Likewise.
17495 * math/w_powf.c: Likewise.
17496 * math/w_powl.c: Likewise.
17497 * math/w_remainder.c: Likewise.
17498 * math/w_remainderf.c: Likewise.
17499 * math/w_remainderl.c: Likewise.
17500 * math/w_scalb.c: Likewise.
17501 * math/w_scalbf.c: Likewise.
17502 * math/w_scalbl.c: Likewise.
17503 * math/w_sinh.c: Likewise.
17504 * math/w_sinhf.c: Likewise.
17505 * math/w_sinhl.c: Likewise.
17506 * math/w_sqrt.c: Likewise.
17507 * math/w_sqrtf.c: Likewise.
17508 * math/w_sqrtl.c: Likewise.
17509 * math/w_tgamma.c: Likewise.
17510 * math/w_tgammaf.c: Likewise.
17511 * math/w_tgammal.c: Likewise.
17512
6a621eb7
UD
17513 * po/ja.po: Update from translation team.
17514
bf582445
AJ
175152011-09-29 Andreas Jaeger <aj@suse.de>
17516
f9efbf3a
AJ
17517 [BZ #13179]
17518 * sunrpc/netname.c (netname2host): Fix logic.
17519
bf582445
AJ
17520 [BZ #6779]
17521 [BZ #6783]
17522 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17523 correctly.
17524 * math/w_remainder.c (__remainder): Likewise.
17525 * math/w_remainderf.c (__remainderf): Likewise.
17526 * math/libm-test.inc (remainder_test): Add test cases.
17527
48693bea
AK
175282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17529
17530 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17531 sdiv_qrnnd.
17532
42622229
LD
175332011-10-07 Ulrich Drepper <drepper@gmail.com>
17534
17535 * string/test-memcmp.c: Avoid unncessary #defines.
17536 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17537
093ecf92
LD
175382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17539
17540 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17541 Use new sse2 version for core i3 - i7 as it's faster
17542 than sse42 version.
17543 (bit_Prefer_PMINUB_for_stringop): New.
17544 * sysdeps/x86_64/rawmemchr.S: Update.
17545 Replace with faster SSE2 version.
17546 * sysdeps/x86_64/memrchr.S: New file.
17547 * sysdeps/x86_64/memchr.S: Update.
17548 Replace with faster SSE2 version.
17549
fde56e5c
MP
175502011-09-12 Marek Polacek <mpolacek@redhat.com>
17551
17552 * elf/dl-load.c (lose): Add cast to avoid warning.
17553
21fd49a9
UD
175542011-10-07 Ulrich Drepper <drepper@gmail.com>
17555
5a06e643
UD
17556 * po/ca.po: Update from translation team.
17557
684ae515
UD
17558 * inet/getnetgrent_r.c: Hook up nscd.
17559 * nscd/Makefile (routines): Add nscd_netgroup.
17560 (nscd-modules): Add netgroupcache.
17561 (CFLAGS-netgroupcache.c): Define.
17562 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17563 (cache_search): Add const to second parameter.
17564 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17565 INNETGR.
17566 (dbs): Add netgrdb entry.
17567 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17568 (verify_persistent_db): Handle netgrdb.
17569 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17570 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17571 GETFDNETGR.
17572 (netgroup_response_header): Define.
17573 (innetgroup_response_header): Define.
17574 (datahead): Add netgroup_response_header and innetgroup_response_header
17575 elements.
17576 * nscd/nscd.conf: Add entries for netgroup cache.
17577 * nscd/nscd.h (dbtype): Add netgrdb.
17578 (_PATH_NSCD_NETGROUP_DB): Define.
17579 (netgroup_iov_disabled): Declare.
17580 (xmalloc, xcalloc, xrealloc): Move declarations here.
17581 (cache_search): Adjust prototype.
17582 Add netgroup-related prototypes.
17583 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17584 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17585 (__nscd_innetgr): Declare.
17586 * nscd/selinux.c (perms): Use access_vector_t as element type and
17587 add netgroup-related initializers.
17588 * nscd/netgroupcache.c: New file.
17589 * nscd/nscd_netgroup.c: New file.
17590 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17591 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17592 For four parameters use innetgr.
17593 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17594 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17595 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17596 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17597
21fd49a9
UD
17598 * nscd/connections.c (register_traced_file): Don't register file
17599 for disabled databases.
17600
054c0457
UD
176012011-10-06 Ulrich Drepper <drepper@gmail.com>
17602
32b63198
UD
17603 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17604
054c0457
UD
17605 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17606 from tree and freeing node.
17607
64031225
JO
176082011-09-25 Jiri Olsa <jolsa@redhat.com>
17609
17610 * nss/nsswitch.c (__nss_database_lookup): Handle
17611 nss_parse_service_list out of memory case.
17612
0490345c
JO
176132011-09-15 Jiri Olsa <jolsa@redhat.com>
17614
17615 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17616 out of memory case.
17617
3a62d00d
AS
176182011-10-04 Andreas Schwab <schwab@redhat.com>
17619
17620 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17621 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17622 pass it down.
17623 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17624 elf_machine_rela, elf_machine_lazy_rel.
17625 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17626 (ELF_DYNAMIC_DO_REL): Likewise.
17627 (ELF_DYNAMIC_DO_RELA): Likewise.
17628 (ELF_DYNAMIC_RELOCATE): Likewise.
17629 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17630 to ELF_DYNAMIC_DO_REL.
17631 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17632 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17633 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17634 elf_machine_rela.
17635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17636 skip_ifunc, don't call ifunc function if non-zero.
17637 (elf_machine_rela): Likewise.
17638 (elf_machine_lazy_rel): Likewise.
17639 (elf_machine_lazy_rela): Likewise.
17640 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17641 (elf_machine_lazy_rel): Likewise.
17642 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17643 Likewise.
17644 (elf_machine_lazy_rel): Likewise.
17645 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17646 Likewise.
17647 (elf_machine_lazy_rel): Likewise.
17648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17649 (elf_machine_lazy_rel): Likewise.
17650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17651 (elf_machine_lazy_rel): Likewise.
17652 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17653 (elf_machine_lazy_rel): Likewise.
17654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17655 (elf_machine_lazy_rel): Likewise.
17656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17657 (elf_machine_lazy_rel): Likewise.
17658 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17659 (elf_machine_lazy_rel): Likewise.
17660
68577918
UD
176612011-09-28 Ulrich Drepper <drepper@gmail.com>
17662
17663 * nss/nss_files/files-init.c (_nss_files_init): Use static
17664 initialization for all the *_traced_file variables.
17665
68822d74
AS
176662011-09-28 Andreas Schwab <schwab@redhat.com>
17667
17668 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17669
2056100b
RM
176702011-09-27 Roland McGrath <roland@hack.frob.com>
17671
17672 [BZ #13226]
17673 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17674
32c76b63
AS
176752011-09-27 Andreas Schwab <schwab@redhat.com>
17676
17677 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17678 Reread the line before reparsing it.
17679
bf972c9d
AS
176802011-09-26 Andreas Schwab <schwab@redhat.com>
17681
17682 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17683
e057a1b5
JM
176842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17685 Maxim Kuvyrkov <maxim@codesourcery.com>
17686 Joseph Myers <joseph@codesourcery.com>
17687
17688 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17689 if needed for __stack_chk_guard.
17690
bc7e1c36
RM
176912011-09-19 Roland McGrath <roland@hack.frob.com>
17692
ecb1482f
RM
17693 * sysdeps/posix/spawni.c (script_execute): Always define it.
17694 It will be optimized away if unused.
17695 (maybe_script_execute): New function.
17696 (__spawni): Call it.
17697
bc7e1c36
RM
17698 * Makerules: Don't include tls.make.
17699 (config-tls): Always set to thread.
17700 * tls.make.c: File removed.
17701
1c3b002b
MF
177022011-09-19 Mike Frysinger <vapier@gentoo.org>
17703
17704 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17705 * config.make.in (CPPFLAGS-config): New substituted variable.
17706
2840865d
UD
177072011-09-15 Ulrich Drepper <drepper@gmail.com>
17708
88738eb6
UD
17709 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17710
cbf645a6 17711 [BZ #13192]
2840865d
UD
17712 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17713 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17714
b402e91a
RM
177152011-09-15 Roland McGrath <roland@hack.frob.com>
17716
17717 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17718 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17720 (CALL_FAIL): Likewise.
17721 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17722 (CALL_FAIL): Macro removed.
17723 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17724
4c1a1f71
UD
177252011-09-15 Ulrich Drepper <drepper@gmail.com>
17726
17727 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17728 for __FINITE_MATH_ONLY__ == 1.
17729
edc121be
AS
177302011-09-15 Andreas Schwab <schwab@redhat.com>
17731
17732 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17733 __ieee754_sqrt instead of sqrt.
17734 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17735 __ieee754_sqrtf instead of sqrtf.
17736 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17737 __floorf instead of floorf.
17738 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17739 __floorf, __truncf instead of floorf, truncf.
17740
cd205654
UD
177412011-09-14 Ulrich Drepper <drepper@gmail.com>
17742
ee4d0315
UD
17743 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17744
cd205654
UD
17745 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17746 __extern_always_inline.
17747 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17748 32-bit.
17749
48b67d71
AS
177502011-09-14 Andreas Schwab <schwab@redhat.com>
17751
17752 * elf/rtld.c (dl_main): Also relocate in dependency order when
17753 doing symbol dependency testing.
17754
1ae12c75
AS
177552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17756
17757 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17758 Always define `refsym'.
17759
995a80df
AS
177602011-09-13 Andreas Schwab <schwab@redhat.com>
17761
e529793b
AS
17762 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17763 (__FD_ELT): Renamed from __FDELT.
17764 * misc/bits/select2.h (__FD_ELT): Likewise.
17765 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17766 __FD_MASK instead of __FDELT, __FDMASK.
17767 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17768 Likewise.
17769 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17770 Likewise.
17771
52d4fef8
AS
17772 * elf/Makefile (gen-ldd): Fix pattern.
17773
995a80df
AS
17774 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17775 (init_tls): Likewise.
17776
8682f8b0
UD
177772011-09-12 Ulrich Drepper <drepper@gmail.com>
17778
17779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17780
de82006d
AS
177812011-09-12 Andreas Schwab <schwab@redhat.com>
17782
a7c8e6a1
AS
17783 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17784 `struct cmsghdr *' instead of `void *'.
17785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17786 Likewise.
17787
0f31fe77
AS
177882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17789
17790 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17791 if non-absolute.
17792 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17793 ldd_rewrite_script.
0f31fe77 17794
32b4c839
UD
177952011-09-11 Ulrich Drepper <drepper@gmail.com>
17796
83cd1420
UD
17797 * configure.in: Remove --with-tls option.
17798 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17799 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17800 out in case it is missing.
17801 * sysdeps/ia64/elf/configure.in: Likewise.
17802 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17803 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17804 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17805 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17806 * sysdeps/sh/elf/configure.in: Likewise.
17807 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17808 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17809 * sysdeps/x86_64/elf/configure.in: Likewise.
17810 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17811 * sysdeps/mach/hurd/tls.h: Likewise.
17812
633f745d
UD
17813 [BZ #13067]
17814 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17815
f318beb8
UD
17816 [BZ #13090]
17817 * configure.in: Fix use of AC_INIT.
17818
32b4c839
UD
17819 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17820
3ce1f295
UD
178212011-09-10 Ulrich Drepper <drepper@gmail.com>
17822
bb016596
UD
17823 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17824 __set_errno.
8e58439c
UD
17825 * malloc/hooks.c: Likewise.
17826
aebae053 17827 [BZ #11929]
02d46fc4
UD
17828 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17829 variables statically.
17830 (narenas): Initialize.
17831 (list_lock): Initialize.
bb016596
UD
17832 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17833 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
17834 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17835 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17836 Add initializers to main_arena and mp_.
17837 (malloc_state): Remove pagesize member. Change all users to use
17838 GLRO(dl_pagesize).
17839
17840 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17841 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17842 is always initialized.
17843
22a89187
UD
17844 * malloc/malloc.c: Removed unused configurations and dead code.
17845 * malloc/arena.c: Likewise.
17846 * malloc/hooks.c: Likewise.
02d46fc4 17847 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 17848
d063d164
UD
17849 * include/tls.h: Removed. USE___THREAD must always be defined.
17850 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17851 * elf/dl-libc.c: Likewise.
17852 * elf/dl-tsd.c: Likewise.
17853 * include/errno.h: Likewise.
17854 * include/netdb.h: Likewise.
17855 * include/resolv.h: Likewise.
17856 * inet/herrno-loc.c: Likewise.
17857 * inet/herrno.c: Likewise.
17858 * malloc/arena.c: Likewise.
17859 * malloc/hooks.c: Likewise.
17860 * malloc/malloc.c: Likewise.
17861 * resolv/res-state.c: Likewise.
17862 * resolv/res_libc.c: Likewise.
17863 * sysdeps/i386/dl-machine.h: Likewise.
17864 * sysdeps/ia64/dl-machine.h: Likewise.
17865 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17866 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17867 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17868 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17869 * sysdeps/sh/dl-machine.h: Likewise.
17870 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17871 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17872 * sysdeps/unix/i386/sysdep.S: Likewise.
17873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17874 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17876 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17877 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17879 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17883 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17884 * sysdeps/x86_64/dl-machine.h: Likewise.
17885 * tls.make.c: Likewise.
17886
3ce1f295
UD
17887 * configure.in: Remove --with-__thread option. Make tests for
17888 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17889 tls_model attribute fail if no support is available. Remove
17890 USE_IN_LIBIO.
17891 * Makeconfig: Adjust for dropped configure option. All features are
17892 now mandatory.
17893 * Makerules: Likewise.
17894 * Versions.def: Likewise.
17895 * argp/argp-fmtstream.c: Likewise.
17896 * argp/argp-fmtstream.h: Likewise.
17897 * argp/argp-help.c: Likewise.
17898 * assert/assert.c: Likewise.
17899 * config.h.in: Likewise.
17900 * config.make.in: Likewise.
17901 * configure: Likewise.
17902 * configure.in: Likewise.
17903 * csu/Versions: Likewise.
17904 * csu/init.c: Likewise.
17905 * elf/tst-audit2.c: Likewise.
17906 * elf/tst-tls10.c: Likewise.
17907 * elf/tst-tls10.h: Likewise.
17908 * elf/tst-tls11.c: Likewise.
17909 * elf/tst-tls12.c: Likewise.
17910 * elf/tst-tls14.c: Likewise.
17911 * elf/tst-tlsmod11.c: Likewise.
17912 * elf/tst-tlsmod12.c: Likewise.
17913 * elf/tst-tlsmod13.c: Likewise.
17914 * elf/tst-tlsmod13a.c: Likewise.
17915 * elf/tst-tlsmod14a.c: Likewise.
17916 * elf/tst-tlsmod15b.c: Likewise.
17917 * elf/tst-tlsmod16a.c: Likewise.
17918 * elf/tst-tlsmod16b.c: Likewise.
17919 * elf/tst-tlsmod7.c: Likewise.
17920 * elf/tst-tlsmod8.c: Likewise.
17921 * elf/tst-tlsmod9.c: Likewise.
17922 * gmon/gmon.c: Likewise.
17923 * grp/fgetgrent_r.c: Likewise.
17924 * grp/putgrent.c: Likewise.
17925 * hurd/fopenport.c: Likewise.
17926 * include/libc-symbols.h: Likewise.
17927 * include/tls.h: Likewise.
17928 * intl/gettextP.h: Likewise.
17929 * intl/loadinfo.h: Likewise.
17930 * locale/global-locale.c: Likewise.
17931 * locale/localeinfo.h: Likewise.
17932 * mach/devstream.c: Likewise.
17933 * malloc/arena.c: Likewise.
17934 * malloc/set-freeres.c: Likewise.
17935 * misc/err.c: Likewise.
17936 * misc/getttyent.c: Likewise.
17937 * misc/mntent_r.c: Likewise.
17938 * posix/getopt.c: Likewise.
17939 * posix/wordexp.c: Likewise.
17940 * pwd/fgetpwent_r.c: Likewise.
17941 * resolv/Versions: Likewise.
17942 * resolv/res_hconf.c: Likewise.
17943 * shadow/fgetspent_r.c: Likewise.
17944 * shadow/putspent.c: Likewise.
17945 * stdio-common/printf_fphex.c: Likewise.
17946 * stdio-common/tmpfile.c: Likewise.
17947 * stdlib/abort.c: Likewise.
17948 * stdlib/fmtmsg.c: Likewise.
17949 * sunrpc/auth_unix.c: Likewise.
17950 * sunrpc/clnt_perr.c: Likewise.
17951 * sunrpc/clnt_tcp.c: Likewise.
17952 * sunrpc/clnt_udp.c: Likewise.
17953 * sunrpc/clnt_unix.c: Likewise.
17954 * sunrpc/openchild.c: Likewise.
17955 * sunrpc/svc_simple.c: Likewise.
17956 * sunrpc/svc_tcp.c: Likewise.
17957 * sunrpc/svc_udp.c: Likewise.
17958 * sunrpc/svc_unix.c: Likewise.
17959 * sunrpc/xdr.c: Likewise.
17960 * sunrpc/xdr_array.c: Likewise.
17961 * sunrpc/xdr_rec.c: Likewise.
17962 * sunrpc/xdr_ref.c: Likewise.
17963 * sunrpc/xdr_stdio.c: Likewise.
17964
1248c1c4
PB
179652011-09-09 Ulrich Drepper <drepper@gmail.com>
17966
17967 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17968
179692011-07-03 Andreas Jaeger <aj@suse.de>
17970
17971 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17972 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17973 regenerate with gen-libm-tests.pl.
17974
179752010-05-12 Petr Baudis <pasky@suse.cz>
17976
17977 [BZ #11589]
17978 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17979 around j0() zero points by switching to j1().
17980 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17984
f22e1074
UD
179852011-09-09 Ulrich Drepper <drepper@gmail.com>
17986
f19009c1
UD
17987 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17988 instead of 0.
17989 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17990 instead of 0. .
17991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17992 Patch in part by Pavel Roskin <proski@gnu.org>.
17993
3f8cc204
UD
17994 [BZ #13138]
17995 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17996 realloc.
17997 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17998 Free memory block if necessary.
17999
f22e1074
UD
18000 [BZ #12847]
18001 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18002 be NULL. Don't lock in this case.
18003
0a2349f9
RM
180042011-09-09 Roland McGrath <roland@hack.frob.com>
18005
18006 * elf/elf.h (ELFOSABI_GNU): New macro.
18007 (ELFOSABI_LINUX): Define to that.
18008
f3cdd467
DZ
180092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18010
18011 * string/strncat.c (strncat): Undef the symbol in case it has been
18012 defined in bits/string.h.
18013
74718d13
UD
180142011-09-09 Ulrich Drepper <drepper@gmail.com>
18015
633e9e0f
UD
18016 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18017
0a2349f9 18018 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18019 link map.
18020
f9924780
AJ
180212011-08-17 Andreas Jaeger <aj@suse.de>
18022
18023 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18024
7f5517aa
PP
180252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18026 Ian Lance Taylor <iant@google.com>
18027
18028 * math/libm-test.inc (lround_test): New testcase.
18029 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18030
762011fe
UD
180312011-09-08 Ulrich Drepper <drepper@gmail.com>
18032
92963737
UD
18033 * Makefile: Remove support for automatic cvs check-ins.
18034 * Makerules: Likewise.
18035 * config.make.in: Likewise.
18036 * configure.in: Likewise.
18037 * intl/Makefile: Likewise.
18038 * locale/Makefile: Likewise.
18039 * po/Makefile: Likewise.
18040 * posix/Makefile: Likewise.
18041 * sysdeps/gnu/Makefile: Likewise.
18042 * sysdeps/mach/hurd/Makefile: Likewise.
18043 * sysdeps/sparc/sparc32/Makefile: Likewise.
18044
b0727fd8
JS
18045 [BZ #13118]
18046 * posix/Makefile (bug-regex32-ENV): Define.
18047 Patch by John Stanley <jpsinthemix@verizon.net>.
18048
a0f33f99
UD
18049 * misc/Makefile (headers): Add bits/select2.h.
18050 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18051 * misc/bits/select2.h: New file.
18052 * include/bits/select2.h: New file.
18053 * debug/Makefile (routines): Add fdelt_chk.
18054 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18055 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18056 FD_ISSET.
18057 * debug/fdelt_chk.c: New file.
18058
762011fe
UD
18059 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18060 * wcsmbs/test-wmemcmp.c: Likewise.
18061 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18062 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18063
180642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18065
18066 * string/Makefile (strop-tests): Add memcmp.
18067 * string/test-wmemcmp.c: New file.
18068 * string/test-memcmp.c: Add wmemcmp support.
18069
7f513ec8
RM
180702011-09-08 Roland McGrath <roland@hack.frob.com>
18071
0442afb4
RM
18072 [BZ #13153]
18073 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18074 2011-07-19 change.
18075
7f513ec8
RM
18076 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18077 garbage value in a __mach_port_mod_refs call in the cases of the
18078 task-self and thread-self ports.
18079
a12b2239
ST
180802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18081
18082 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18083
610f9ab4
AS
180842011-09-08 Andreas Schwab <schwab@redhat.com>
18085
7f513ec8 18086 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18087
48882a1a
LD
180882011-09-07 Ulrich Drepper <drepper@gmail.com>
18089
b49865be
UD
18090 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18091
fdc86bc9
UD
18092 * elf/dl-libc.c (dlerror_run): Pass back error code from
18093 dl_catch_error.
18094
c966526a
UD
18095 [BZ #13123]
18096 * elf/dl-load.c (lose): Free l_origin if it is valid.
18097
48882a1a
LD
18098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18099 names.
18100 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18104 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18105 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18106
77a2a8b4
AZ
181072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18108
18109 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18110 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18111 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18112 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18113 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18114 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18115 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18116 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18117 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18118 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18119
24f579d8
AM
181202011-08-15 Alan Modra <amodra@gmail.com>
18121
18122 [BZ #13092]
18123 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18124 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18125 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18126 ppc_mcount to static-only-routines.
18127 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18128 __mcount_internal.
18129 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18130 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18131
3d4837df
UD
181322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18133
18134 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18135 for finite and infinity parameters.
18136
22700377
WS
181372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18138
18139 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18140 and add nop instructions for throughput optimization.
18141 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18142
5025581e
WS
181432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18144
18145 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18146 aligned copy for power7 with vector-scalar instructions.
18147 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18148
08a300c9
L
181492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18150
18151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18152 AVX check.
18153
59178ef9
AS
181542011-09-07 Andreas Schwab <schwab@redhat.com>
18155
18156 [BZ #13144]
18157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18158 last change.
18159
e38ba7ab
UD
181602011-09-07 Ulrich Drepper <drepper@gmail.com>
18161
18162 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18163 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18164 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18165 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18166 clock_gettime.
18167
d53a73ac
UD
181682011-09-06 Ulrich Drepper <drepper@gmail.com>
18169
fc8bffcc
UD
18170 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18171 Forgot to demangle the pointer.
18172
ceaa0c5d
UD
18173 * sysdeps/i386/sysdep.h: Define atom_text_section.
18174 * sysdeps/x86_64/sysdep.h: Likewise.
18175 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18176 section with atom_text_section.
18177 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18178 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18179 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18181 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18182
a77d3c17
UD
18183 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18184 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18185 already be defined. Change to take two parameters and don't assign
18186 result to variable. Adjust all users.
18187 Define INTERNAL_GETTIME if not already defined.
18188 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18189 call.
18190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18191 HAVE_CLOCK_GETTIME_VSYSCALL.
18192 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18193
d53a73ac
UD
18194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18195 gettimeofday vsyscall, just use time.
18196
a8f84144
AS
181972011-09-06 Andreas Schwab <schwab@redhat.com>
18198
18199 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18200 <errno.h>.
18201
ef606249
UD
182022011-09-06 Ulrich Drepper <drepper@gmail.com>
18203
18204 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18205 syscall on x86-64.
18206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18207 syscall.
18208 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18209 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18210 syscall if possible.
18211
6585cb60
UD
182122011-09-05 Ulrich Drepper <drepper@gmail.com>
18213
18214 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18215 e_ident. Don't pass to find_mapsXX.
18216 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18217
a5f524e4
LD
182182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18219
18220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18221 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18222 * sysdeps/x86_64/multiarch/strchr.S: Update.
18223 Check bit_slow_BSF bit.
18224 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18225 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18226 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18227
554881ef
UD
182282011-09-05 Ulrich Drepper <drepper@gmail.com>
18229
d96de963
UD
18230 [BZ #13134]
18231 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18232 before glibc 2.15.
18233 (tryshell): Define.
18234 (__spawni): Change last parameter to be flag. Test
18235 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18236 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18237 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18238 * posix/spawni.c: Likewise.
18239 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18240 * posix/spawnp.c: Likewise. Change normal version to use
18241 SPAWN_XFLAGS_USE_PATH.
18242 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18243 SPAWN_XFLAGS_TRY_SHELL.
18244
d48e5868
UD
18245 [BZ #13150]
18246 * posix/glob.h: Remove gcc 1.x support.
18247
554881ef
UD
18248 [BZ #13068]
18249 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18250
693fb948
LD
182512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18252
18253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18254 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18255 strrchr-sse2-bsf
18256 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18257 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18258 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18259 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18260 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18261 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18262
1b48c537
UD
182632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18264
49d42c37
UD
18265 * sysdeps/x86_64/wcscmp.S: New file.
18266
1b48c537
UD
18267 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18268 wcscmp-c wcscmp-sse2
18269 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18270 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18271 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18272 * wcsmbs/wcscmp.c: Allow renaming.
18273
15c95c5d
DM
182742011-09-05 David S. Miller <davem@davemloft.net>
18275
18276 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18277 stack slot, rather than the struct return pointer slot.
18278 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18279 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18281 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18282
2f0ad8f3
UD
182832011-09-05 Ulrich Drepper <drepper@gmail.com>
18284
d88ae418
UD
18285 * po/ja.po: Update from translation team.
18286
2f0ad8f3
UD
18287 [BZ #13144]
18288 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18289 kernel in 64-bit binaries.
18290
5f4318d1
DM
182912011-09-01 David S. Miller <davem@davemloft.net>
18292
18293 * elf/elf.h (HWCAP_SPARC_*): Move to..
18294 * sysdeps/sparc/sysdep.h: this new file and add new values.
18295 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18296 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18297 _DL_HWCAP_COUNT to 24.
18298 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18299 entries.
18300 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18301 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18302 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18304 instead of magic constants.
18305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18306
3ba57516
DM
183072011-08-31 David S. Miller <davem@davemloft.net>
18308
18309 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18311 Reimplement to do errno handling inline.
18312 (SYSCALL_ERROR_HANDLER): New macro.
18313 (__SYSCALL_STRING): Do not do errno handling in asm.
18314 (__CLONE_SYSCALL_STRING): Delete.
18315 (__INTERNAL_SYSCALL_STRING): Delete.
18316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18317 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18318 (PSEUDO): Reimplement to do errno handling inline.
18319 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18320 (SYSCALL_ERROR_HANDLER): New macro.
18321 (__SYSCALL_STRING): Do not do errno handling in asm.
18322 (__CLONE_SYSCALL_STRING): Delete.
18323 (__INTERNAL_SYSCALL_STRING): Delete.
18324 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18325 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18326 i386.
18327 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18328 (inline_syscall*): Add 'err' argument.
18329 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18330 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18331 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18332 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18333
18334 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18335 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18336
2bc17433
AS
183372011-08-30 Andreas Schwab <schwab@redhat.com>
18338
18339 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18340
fbeb5f4d
JO
183412011-08-29 Jiri Olsa <jolsa@redhat.com>
18342
18343 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18344 directive.
18345
ad69cc26
DM
183462011-08-24 David S. Miller <davem@davemloft.net>
18347
18348 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18349
39dd69df
AS
183502011-08-24 Andreas Schwab <schwab@redhat.com>
18351
18352 * elf/Makefile: Add rules to build and run unload8 test.
18353 * elf/unload8.c: New file.
18354 * elf/unload8mod1.c: New file.
18355 * elf/unload8mod1x.c: New file.
18356 * elf/unload8mod2.c: New file.
18357 * elf/unload8mod3.c: New file.
18358
18359 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18360 it wasn't used.
18361
2c0b250a
DM
183622011-08-23 David S. Miller <davem@davemloft.net>
18363
18364 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18365 subtract stack bias.
18366 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18367 %sp not %fp in calculations.
18368 (_JMPBUF_UNWINDS_ADJ): Likewise.
18369
22044b48
DM
18370 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18371 (aio_suspend): Call it to force an exception region around the
18372 AIO_MISC_WAIT() invocation.
18373
2cae4995
AS
183742011-08-23 Andreas Schwab <schwab@redhat.com>
18375
18376 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18377 backslash.
18378
873a772e
AJ
183792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18380
18381 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18382 protection macro.
18383 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18384 and <dl-machine.h>.
18385 (Elf64_FuncDesc): Remove.
18386
25ad0df1
DM
183872011-08-22 David S. Miller <davem@davemloft.net>
18388
18389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18390 sigaltstack check, add missing cfi directives.
18391 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18392 missing cfi directives, and sigaltstack handling.
18393
e888bcbe
AS
183942011-08-16 Andreas Schwab <schwab@redhat.com>
18395
18396 [BZ #11724]
18397 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18398 object is seen twice.
18399 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18400
18401 * elf/Makefile (distribute): Add tst-initorder2.c.
18402 (tests): Add tst-initorder2.
18403 (modules-names): Add tst-initorder2a tst-initorder2b
18404 tst-initorder2c tst-initorder2d. Add rules to build them.
18405 ($(objpfx)tst-initorder2.out): New rule.
18406 * elf/tst-initorder2.c: New file.
18407 * elf/tst-initorder2.exp: New file.
18408
87162f46
AS
184092011-08-22 Andreas Schwab <schwab@redhat.com>
18410
70538b7f
AS
18411 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18412
f55ffe58
AS
18413 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18414 dependencies back to end of function.
18415
87162f46
AS
18416 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18417 $(elfobjdir)/ld.so.
18418
91b392a4
UD
184192011-08-21 Ulrich Drepper <drepper@gmail.com>
18420
18421 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18422 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18424 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18425 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18426 of __vdso_gettimeofday.
18427 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18428 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18429 attribute_hidden.
18430 (_libc_vdso_platform_setup): Remove initialization of
18431 __vdso_gettimeofday and __vdso_time.
18432
5c43483f
UD
184332011-08-20 Ulrich Drepper <drepper@gmail.com>
18434
775a77e7
UD
18435 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18436 and fgetc_unlocked.
18437 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18438 getc_unlocked.
89f447ed 18439
49c74ba9
UD
18440 * elf/dl-open.c (add_to_global): Report additions to the global scope
18441 for LD_DEBUG=scopes.
18442 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18443 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18444
5c43483f
UD
18445 [BZ #13114]
18446 * stdio-common/Makefile (tests): Add bug24.
18447 * stdio-common/bug24.c: New file.
18448
a101b025
AJ
184492011-08-19 Andreas Jaeger <aj@suse.de>
18450
18451 [BZ #13114]
18452 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18453 non-existant file when using close-on-exec mode.
18454
c88f1766
UD
184552011-08-20 Ulrich Drepper <drepper@gmail.com>
18456
0276a718
UD
18457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18458 the very first instruction.
18459
c88f1766
UD
18460 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18461 the CFI state in the end.
18462 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18463 inclusion of dl-trampoline.h.
18464 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18465
51ccffa0
AS
184662011-08-19 Andreas Schwab <schwab@redhat.com>
18467
94d7165f
AS
18468 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18469 expectations for long double.
18470
51ccffa0
AS
18471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18472 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18473
fd708658 184742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18475
18476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18477 artificual limit depends upon the system page size.
18478
44f0a71e
UD
184792011-08-17 Ulrich Drepper <drepper@gmail.com>
18480
18481 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18482 * resolv/Makefile: Define CFLAGS-libresolv.
18483
8de79a24
AS
184842011-08-17 Andreas Schwab <schwab@redhat.com>
18485
18486 * nss/makedb.c (compute_tables): Make variables used in nested
18487 function static.
18488
27724598
UD
184892011-08-17 Ulrich Drepper <drepper@gmail.com>
18490
c5305d88
UD
18491 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18492 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18493 if buffer was too small.
18494
27724598
UD
18495 * elf/pldd.c (main): Attach to all threads in the process.
18496 Rewrite /proc handling to use *at functions.
18497
076fe015
UD
184982011-08-16 Ulrich Drepper <drepper@gmail.com>
18499
174baab3
UD
18500 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18501 specifies first scope to show.
18502 (dl_open_worker): Update callers. Move printing scope of new
18503 object to before the relocation.
44f0a71e 18504 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18505 * sysdeps/generic/ldsodefs.h: Update declaration.
18506
076fe015
UD
18507 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18508 string for the scope number.
18509
a60df2c3
UD
185102011-08-14 Ulrich Drepper <drepper@gmail.com>
18511
18512 * nscd/servicescache.c (cache_addserv): Make sure written is always
18513 initialized.
18514
5e4287d1
RM
185152011-08-14 Roland McGrath <roland@hack.frob.com>
18516
85ae0589
RM
18517 * sysdeps/i386/i486/bits/atomic.h
18518 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18519 statement expression, so as to suppress "set but not used" warning.
18520 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18521
69f63097
RM
18522 * string/strncat.c (STRNCAT): Use prototype definition.
18523
675456ef
RM
18524 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18525 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18526 -Iprograms here.
18527 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18528 (localedef-modules): Add localedef.
18529 (locale-modules): Add locale.
18530
5e4287d1
RM
18531 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18532 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18533 to avoid a warning.
18534
9c96ff23
DM
185352011-08-14 David S. Miller <davem@davemloft.net>
18536
18537 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18538 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18539
f9ddf089
UD
185402011-08-13 Ulrich Drepper <drepper@gmail.com>
18541
44f0a71e 18542 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18543 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18544 * elf/rtld.c (dl_main): Set l_name of vDSO.
18545 Call _dl_show_scope when DL_DEBUG_SCOPES.
18546 (process_dl_debug): Recognize scopes flag and also set it for all.
18547 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18548 Declare _dl_show_scope.
18549
1dc27704
UD
18550 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18551 (do_dlopen): Pass caller_dlopen to dl_open.
18552 (__libc_dlopen_mode): Initialize caller_dlopen.
18553
f9ddf089
UD
18554 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18555 of libc. Make tolower call locale-independent. Optimize a bit by
18556 using isdigit instead of isalnum.
18557 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18558
9ac533d3
UD
185592011-08-12 Ulrich Drepper <drepper@gmail.com>
18560
18561 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18562 was a dependency or dynamically loaded.
18563
89edf2e9
UD
185642011-08-11 Ulrich Drepper <drepper@gmail.com>
18565
8e999d29
UD
18566 * intl/l10nflist.c: Allow architecture-specific pop function.
18567 * sysdeps/x86_64/l10nflist.c: New file.
18568
89edf2e9
UD
18569 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18570 classification.
18571
14d96785
AS
185722011-08-10 Andreas Schwab <schwab@redhat.com>
18573
18574 * include/dirent.h: Add libc_hidden_proto for scandirat and
18575 scandirat64. Don't declare __scandirat64.
18576 * dirent/scandirat.c: Add libc_hidden_def.
18577 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18578 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18579
6761ac04
DM
185802011-08-10 David S. Miller <davem@davemloft.net>
18581
18582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18583 enum.
18584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18585 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18586 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18587
c55fbd1e
UD
185882011-08-09 Ulrich Drepper <drepper@gmail.com>
18589
18590 * Versions.def [libc]: Add GLIBC_2.15.
18591 * dirent/Makefile (routines): Add scandirat and scandirat64.
18592 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18593 GLIBC_2.15.
18594 * dirent/dirent.h: Declare scandirat and scandirat64.
18595 * dirent/scandirat.c: New file.
18596 * dirent/scandirat64.c: New file.
18597 * sysdeps/wordsize-64/scandirat.c: New file.
18598 * sysdeps/wordsize-64/scandirat64.c: New file.
18599 * dirent/opendir.c: Define opendirat.
18600 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18601 using scandirat.
18602 * dirent/scandir64.c: Adjust for scandir.c change.
18603 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18604 __scandirat64, and __scandir_cancel_handler.
18605 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18606 additional parameter and use openat instead of open (outside of ld.so).
18607 Add new __opendir as wrapper around __opendirat.
18608 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18609 here without requiring old scandirat implementation.
18610
879165f2
UD
186112011-08-08 Ulrich Drepper <drepper@gmail.com>
18612
18613 * dirent/scandir.c (cancel_handler): Renamed to
18614 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18615 defined. Adjust users.
18616 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18617 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18618
cb7e923b
UD
186192011-08-04 Ulrich Drepper <drepper@gmail.com>
18620
16292edd
UD
18621 * string/test-string.h (IMPL): Use __STRING to expand name and then
18622 stringify it.
18623
cb7e923b
UD
18624 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18625 of cleanups.
18626
cff82933
LD
186272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18628
18629 * string/Makefile: Update.
18630 (strop-tests): Append strncat.
18631 * string/test-wcscmp.c: New file.
18632 New comprehensive test for wcscmp.
18633 * string/test-strcmp.c: Update.
18634 (WIDE): New define.
18635
9be9bfcc
AS
186362011-07-22 Andreas Schwab <schwab@redhat.com>
18637
18638 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18639 line.
18640
2e96f1c7
AS
186412011-07-26 Andreas Schwab <schwab@redhat.com>
18642
18643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18644 encoding to ACE if AI_IDN.
18645
85188888
JJ
186462011-08-01 Jakub Jelinek <jakub@redhat.com>
18647
18648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18649 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18650
5fa16e9b
LD
186512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18652
18653 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18654 Fix overflow bug in strncat.
18655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18656
18657 * string/test-strncat.c: Update.
18658 Add new tests for checking overflow bugs.
18659
186602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18661
18662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18663 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18664 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18665 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18666 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18667 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18668 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18669 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18670 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18671
18672 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18673 (USE_AS_STRCAT): Define.
18674 Add strcat and strncat support.
18675 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18676
8c1a459f
AS
186772011-07-25 Andreas Schwab <schwab@redhat.com>
18678
18679 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18680 __n bigger than INT_MAX+1.
18681 (__strncmp_g): Likewise.
18682
bba33c28
UD
186832011-07-23 Ulrich Drepper <drepper@gmail.com>
18684
798be72d
UD
18685 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18686 * libio/stido.h: Likewise.
18687
8accd4dc
UD
18688 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18689 (AF_NFC): Define.
18690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18691 (AF_NFC): Define.
18692
cbff0d96
UD
18693 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18694 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18696 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18698
9191c04a
UD
18699 [BZ #13021]
18700 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18701 installed.
18702
bba33c28
UD
18703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18704 typo.
18705 (_dl_x86_64_save_sse): Likewise.
18706
90f139dd
UD
187072011-07-22 Ulrich Drepper <drepper@gmail.com>
18708
1aae088a
UD
18709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18710 OSXSAVE.
18711 (_dl_x86_64_save_sse): Likewise.
18712
8e2045f5
UD
18713 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18714
90f139dd
UD
18715 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18716
1d002f25
AS
187172011-07-21 Andreas Schwab <schwab@redhat.com>
18718
18719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18720 change.
18721 (_dl_x86_64_save_sse): Use correct AVX check.
18722
21137f89
UD
187232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18724
18725 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18726 bug in strncpy/strncat.
18727 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18728
a65c0b7a
UD
187292011-07-21 Ulrich Drepper <drepper@gmail.com>
18730
18731 * string/tester.c (test_strcat): Add tests for different alignments
18732 of source and destination.
18733 (test_strncat): Likewise.
18734
6986b98a
UD
187352011-07-20 Ulrich Drepper <drepper@gmail.com>
18736
90bb2039
UD
18737 [BZ #12852]
18738 * posix/glob.c (glob): Check passed in values before using them in
18739 expressions to avoid some overflows.
18740 (glob_in_dir): Likewise.
18741
5644ef54
UD
18742 [BZ #13007]
18743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18744 check for AVX enablement so that we don't crash with old kernels and
18745 new hardware.
18746 * elf/tst-audit4.c: Add same checks here.
18747 * elf/tst-audit6.c: Likewise.
18748
18749 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18750
bfc9dc9b
AS
187512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18752
18753 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18754
702e64bb
UD
187552011-07-20 Ulrich Drepper <drepper@gmail.com>
18756
18757 * po/cs.po: Update from translation team.
18758 * po/bg.po: Likewise.
18759
295e904f
MP
187602011-07-12 Marek Polacek <mpolacek@redhat.com>
18761
18762 * misc/sys/cdefs.h: Add support for const attribute.
18763 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18764 to gnu_dev_{major,minor,makedev} functions.
18765
3ff94596
MP
187662011-07-20 Marek Polacek <mpolacek@redhat.com>
18767
18768 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18769
28b59fca
AS
187702011-07-20 Andreas Schwab <schwab@redhat.com>
18771
18772 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18773 strlen results.
18774
19df733e
AK
187752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18776
18777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18778 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18779 register in order to avoid conflicts with the soft frame pointer
18780 being held in r11 when necessary.
18781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18782 (INTERNAL_VSYSCALL_NCS): Likewise.
18783
c8835729
MP
187842011-07-14 Marek Polacek <mpolacek@redhat.com>
18785
18786 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18787 * elf/dl-fini.c (_dl_fini): Adjust caller.
18788 * elf/dl-close.c (_dl_close_worker): Likewise.
18789 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18790
b902330c
MP
187912011-07-15 Marek Polacek <mpolacek@redhat.com>
18792
8991e135
MP
18793 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18794 "aux_cache->nlibs < 0".
18795
b902330c
MP
18796 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18797 in the reload-count case.
18798
99710781
LD
187992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18800
18801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18802 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18803 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18804 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18805 * sysdeps/x86_64/multiarch/strcat.S: New file.
18806 * sysdeps/x86_64/multiarch/strncat.S: New file.
18807 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18808 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18809 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18810 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18811 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18812 (USE_AS_STRCAT): Define.
18813 Add strcat and strncat support.
18814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18815 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18816 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18817 * string/strncat.c: Update.
18818 (USE_AS_STRNCAT): Define.
18819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18820 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18821 and i7.
18822 * sysdeps/x86_64/multiarch/init-arch.h
18823 (bit_Prefer_PMINUB_for_stringop): New.
18824 (index_Prefer_PMINUB_for_stringop): Likewise.
18825 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18826 bit_Prefer_PMINUB_for_stringop.
18827
7dc6bd90
UD
188282011-07-19 Ulrich Drepper <drepper@gmail.com>
18829
18830 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18831 buffer64.
18832 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18833 of casting of buffer.
18834 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18835 buffer32 and buffer64.
18836 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18837 writes instead of casting of buffer.
18838 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18839 buffer32.
18840 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18841 casting of buffer.
18842
e0e72284
AS
188432011-07-19 Andreas Schwab <schwab@redhat.com>
18844
18845 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18846
feb1eb0b
UD
188472011-07-19 Ulrich Drepper <drepper@gmail.com>
18848
18849 * nscd/nscd.c (termination_handler): Don't do anything for a database
18850 if it has not yet been initialized.
18851
298711ff
UD
188522011-07-18 Ulrich Drepper <drepper@gmail.com>
18853
18854 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18855
188562011-07-15 Marek Polacek <mpolacek@redhat.com>
18857
18858 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18859
f9d68389
UD
188602011-07-18 Ulrich Drepper <drepper@gmail.com>
18861
18862 * po/nl.po: Update from translation team.
18863 * po/sv.po: Likewise.
18864
db290cf5
RM
188652011-07-16 Roland McGrath <roland@hack.frob.com>
18866
18867 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18868 now disallowed by GCC.
5c550700 18869
fd5e21c7
RM
18870 * configure.in (use-default-link): Default to yes if a test -shared
18871 link meets our qualifications.
18872 * configure: Regenerated.
18873
5c550700
RM
18874 * config.make.in (output-format): New variable.
18875 * configure.in: Check for ld --print-output-format support.
18876 * configure: Regenerated.
18877 * Makerules ($(common-objpfx)format.lds)
18878 [$(output-format) != unknown]: Just use $(output-format),
18879 instead of the linker-script munging.
18880
9fa2c032
RM
188812011-07-14 Roland McGrath <roland@hack.frob.com>
18882
a6928d51
RM
18883 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18884 of $(common-objpfx)shlib.lds.
18885 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18886
661607b3
RM
18887 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18888 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18889
9fa2c032
RM
18890 * configure.in (-z relro check): Adjust test code to add a large
18891 writable data section after it.
18892 * configure: Regenerated.
18893
defe9061
RM
188942011-07-11 Roland McGrath <roland@hack.frob.com>
18895
18896 * configure.in (-z relro check): Fix test code to make the variable
18897 truly const.
18898 * configure: Regenerated.
18899
319b9ad4
UD
189002011-07-11 Ulrich Drepper <drepper@gmail.com>
18901
18902 * nscd/nscd.h (struct traced_file): Define.
18903 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18904 elements. Add traced_files.
18905 (inotify_fd): Declare.
18906 (register_traced_file): Declare.
18907 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18908 (inotify_fd): Export.
18909 (resolv_conf_descr): Remove.
18910 (nscd_init): Move inotify descriptor creation to main.
18911 Don't register files for notification here.
18912 (register_traced_file): New function.
18913 (invalidate_cache): Don't use reset_res to determine whether to call
18914 res_init, go through the list of registered files.
18915 (main_loop_poll): The inotify descriptors are now stored in the
18916 structures for the traced files.
18917 (main_loop_epoll): Likewise
18918 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18919 to __nss_disable_nscd.
18920 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18921 for a database anymore. Check the records for all the registered
18922 files instead.
18923 * nss/Makefile (libnss_files-routines): Add files-init.
18924 (libnss_db-routines): Add db-init.
18925 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18926 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18927 * nss/nss_db/db-init.c: New file.
18928 * nss/nss_files/files-init.c: New file.
18929 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18930 __nss_lookup_function.
18931 (__nss_lookup_function): Call nss_load_library.
18932 (nss_load_all_libraries): New function.
18933 (__nss_disable_nscd): Take parameter with callback function for files
18934 to register. Set is_nscd. Load all the DSOs for the NSS modules
18935 used for the cached services.
18936 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18937 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18938 options for features to all the files in nscd.
18939
18940 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18941
23bee3e8
RM
189422011-07-10 Roland McGrath <roland@hack.frob.com>
18943
18944 * csu/elf-init.c (__libc_csu_init): Comment typo.
18945
46a5b7f0
UD
189462011-07-09 Ulrich Drepper <drepper@gmail.com>
18947
18948 * po/pl.po: Update from translation team.
18949 * po/ja.po: Likewise.
18950 * po/ru.po: Likewise.
18951 * po/ko.po: Likewise.
18952 * po/fr.po: Likewise.
18953
d30cf5bb
RM
189542011-07-09 Roland McGrath <roland@hack.frob.com>
18955
113ddea4
RM
18956 * configure.in (.ctors/.dtors header and trailer check):
18957 Use an empirical test on a built program.
18958 * configure: Regenerated.
18959
574920b4
RM
18960 * configure.in (-z relro check): Use an empirical test on a built DSO.
18961 Detect, but do not require, on ia64.
18962 * configure: Regenerated.
18963
d30cf5bb
RM
18964 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18965 Update tests that use readelf to use $READELF instead.
18966 * configure: Regenerated.
18967
8538fdb3
UD
189682011-07-08 Ulrich Drepper <drepper@gmail.com>
18969
18970 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18971 if the result is not used.
18972
04d08991
AJ
189732011-07-05 Andreas Jaeger <aj@suse.de>
18974
18975 [BZ#9696]
18976 * stdlib/tst-strtod.c: Add testcase.
18977
de283087
AD
189782011-07-07 Ulrich Drepper <drepper@gmail.com>
18979
4e5f31c8 18980 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 18981 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
18982 The latter has a higher limit. Take additional parameter to pass to
18983 the new function.
18984 (__pathconf): Pass file to __statfs_link_max.
18985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18986 __statfs_link_max.
18987 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18988 __statfs_link_max.
18989
de283087
AD
18990 [BZ #12868]
18991 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18992 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18993 Handle Lustre.
18994 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18995 (__statfs_filesize_max): Likewise.
18996 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18997
c75fa153
AJ
189982011-07-05 Andreas Jaeger <aj@suse.de>
18999
19000 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19001
1a544854
UD
190022011-07-06 Marek Polacek <mpolacek@redhat.com>
19003
19004 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19005 `status' variable.
19006 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19007 Likewise.
19008
6f0eec67
UD
190092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19010
19011 * Makefile (strop-tests): Add strncat.
19012 * string/test-strncat.c: New file.
19013
aae30307
UD
190142011-06-30 Marek Polacek <mpolacek@redhat.com>
19015
19016 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19017
c0cfb5eb
UD
190182011-06-21 Andreas Jaeger <aj@suse.de>
19019
19020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19021 Copy rule from iconvdata/Makefile.
19022
01636b21
UD
190232011-07-06 Ulrich Drepper <drepper@gmail.com>
19024
19025 [BZ #12922]
19026 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19027 but no long options are defined, just return 'W'.
19028
9895c8bc
UD
190292011-06-22 Marek Polacek <mpolacek@redhat.com>
19030
19031 [BZ #9696]
19032 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19033
5d4cf042
UD
190342011-07-06 Ulrich Drepper <drepper@gmail.com>
19035
19036 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19037 netgroups to read.
960e5535 19038 (innetgr): Likewise.
5d4cf042 19039
751eb97e
RM
190402011-07-05 Roland McGrath <roland@hack.frob.com>
19041
19042 * config.make.in (install_root): Default to $(DESTDIR).
19043
f15f1e45
UD
190442011-07-05 Ulrich Drepper <drepper@gmail.com>
19045
19046 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19047
4e34ac6a
RM
190482011-07-02 Roland McGrath <roland@hack.frob.com>
19049
5e9b6af4
RM
19050 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19051
84f9ea0f
RM
19052 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19053 containing directory rather than embedding absolute directory names.
19054
ea5ee9f7
RM
19055 * scripts/check-local-headers.sh: Rewritten using awk.
19056 Match by word, not by line. Print error messages for matches.
19057 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19058
1b74661a
RM
19059 * Makerules [shlib-lds-flags empty]:
19060 ($(common-objpfx)libc_pic.opts): New target.
19061 ($(common-objpfx)libc_pic.os.clean): New target.
19062 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19063
19064 * config.make.in (OBJCOPY): New variable.
19065 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19066 * configure: Regenerated.
19067
f781ef40
RM
19068 * config.make.in (use-default-link): New variable.
19069 * configure.in (use_default_link): Grok --with-default-link to set it.
19070 * configure: Regenerated.
19071 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19072 (shlib-lds, shlib-lds-flags): Define to empty.
19073
2d4fa81e
RM
19074 * Makerules (shlib-lds): New variable.
19075 (shlib-lds-flags): New variable.
19076 (build-shlib, build-moduile, build-module-asneeded): Use it.
19077 ($(common-objpfx)libc.so): Use $(shlib-lds).
19078 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19080
31fffa6b
RM
19081 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19082 DT_FLAGS/DT_FLAGS_1 with zero flags.
19083
4e34ac6a
RM
19084 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19085 linker script munging.
19086
fcfc776b
UD
190872011-07-02 Ulrich Drepper <drepper@gmail.com>
19088
19089 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19090 as 128-bit value.
19091 * crypt/sha512.c (sha512_process_block): Perform total addition using
19092 128-bit if possible.
19093 (__sha512_finish_ctx): Likewise.
19094 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19095 as 64-bit value.
19096 * crypt/sha256.c (SWAP64): Define.
19097 (sha256_process_block): Perform total addition using 64-bit if
19098 possible.
19099 (__sha256_finish_ctx): Likewise.
19100
99231d9a
UD
191012011-07-01 Ulrich Drepper <drepper@gmail.com>
19102
19103 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19105 * nscd/hstcache.c (cache_addhst): Likewise.
19106 * nscd/grpcache.c (cache_addgr): Likewise.
19107 * nscd/aicache.c (addhstaiX): Likewise
19108 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19109
445b4a53
TK
191102011-07-01 Thorsten Kukuk <kukuk@suse.de>
19111
19112 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19114 * nscd/hstcache.c (cache_addhst): Likewise.
19115 * nscd/grpcache.c (cache_addgr): Likewise.
19116 * nscd/aicache.c (addhstaiX): Likewise
19117
6d4d8e8e
AS
191182011-07-01 Andreas Schwab <schwab@redhat.com>
19119
19120 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19121 domain only when needed.
19122
89f654c5
AS
191232011-06-30 Andreas Schwab <schwab@redhat.com>
19124
19125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19126 is always restored.
19127
cf3b23ff
UD
191282011-06-29 Ulrich Drepper <drepper@gmail.com>
19129
19130 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19131 are re-adding the entry.
19132 * nscd/servicescache.c (cache_addserv): Likewise.
19133
751626f9
AJ
191342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19135
19136 * sysdeps/generic/dl-irel.h: fix protection against multiple
19137 inclusions.
19138 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19139
9113ea1f
UD
191402011-06-28 Ulrich Drepper <drepper@gmail.com>
19141
5c0b8d90
UD
19142 [BZ #12935]
19143 * malloc/memusage.sh: Fix quoting in message.
19144 * debug/xtrace.sh: Likewise.
19145
9113ea1f
UD
19146 * configure.in: Remove support for --experimental-malloc option, make
19147 it the default.
19148 * config.make.in: Likewise.
19149 * malloc/Makefile: Likewise.
19150
a4172181
AS
191512011-06-27 Andreas Schwab <schwab@redhat.com>
19152
19153 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19154 two-byte characters.
19155
78a7eee7
RM
191562011-06-27 Roland McGrath <roland@hack.frob.com>
19157
62bede13
RM
19158 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19159 AC_CACHE_CHECK invocation.
19160 * configure: Regenerated.
19161
78a7eee7
RM
19162 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19163
5ce33a62
UD
191642011-06-27 Ulrich Drepper <drepper@gmail.com>
19165
034807a9
UD
19166 [BZ #12350]
19167 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19168 bit from old_res_options.
19169
4902da17
UD
19170 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19171
5ce33a62
UD
19172 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19173 value type for setfct.
19174
c2344f56
L
191752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19176
19177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19178 __gettimeofday instead of gettimeofday.
19179
68468076
UD
191802011-06-26 Ulrich Drepper <drepper@gmail.com>
19181
19182 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19183
acb0d739
L
191842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19185
19186 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19187
19188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19189 info.
19190
8912479f
L
191912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19192
19193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19194 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19195 strcpy-sse2-unaligned strncpy-sse2-unaligned
19196 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19197 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19198 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19199 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19200 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19201 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19203 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19204 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19205 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19206 (STRCPY): Support SSE2 and SSSE3 versions.
19207
d5495a11
UD
192082011-06-24 Ulrich Drepper <drepper@gmail.com>
19209
19210 [BZ #12874]
19211 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19212 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19213 kernels which artificially limit size of requests.
19214
0b1cbaae
L
192152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19216
19217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19218 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19219 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19220 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19221 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19222 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19223 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19224 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19225 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19226 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19227 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19228 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19229 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19230 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19231 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19233 Enable unaligned load optimization for Intel Core i3, i5 and i7
19234 processors.
19235 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19236 Define.
19237 (index_Fast_Unaligned_Load): Define.
19238 (HAS_FAST_UNALIGNED_LOAD): Define.
19239
07f494a0
MP
192402011-06-23 Marek Polacek <mpolacek@redhat.com>
19241
19242 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19243
fa3fc0fe
UD
192442011-06-22 Ulrich Drepper <drepper@gmail.com>
19245
19246 [BZ #12907]
19247 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19248 until it is clear that the information is realy needed.
19249 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19250
e12df166
AS
192512011-06-22 Andreas Schwab <schwab@redhat.com>
19252
19253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19254
852eb34d
UD
192552011-06-22 Ulrich Drepper <drepper@gmail.com>
19256
84e2a551
UD
19257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19258 /sys/devices/system/cpu/online if it is usable.
19259
852eb34d
UD
19260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19261 reading the information from the /proc filesystem to once a second.
19262
6e502e19
UD
192632011-06-21 Andreas Jaeger <aj@suse.de>
19264
19265 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19266 NULL after inclusion of kernel headers.
19267
75d39ff2
UD
192682011-06-21 Ulrich Drepper <drepper@gmail.com>
19269
51f9aa6a
UD
19270 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19271 calls to internal_setent.
19272
c0244a9d
UD
19273 [BZ #12885]
19274 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19275 addresses using gethostbyname4_r ignore IPv4 addresses.
19276
c5e3c2ae
UD
19277 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19278 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19279
75d39ff2
UD
19280 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19281
42675c6f
DM
192822011-06-20 David S. Miller <davem@davemloft.net>
19283
19284 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19285 inclusions.
19286 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19287
19288 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19289 (elf_irel): Use it.
19290 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19291 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19292 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19293 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19294 * sysdeps/x86_64/dl-irel.h: Likewise.
19295
19296 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19297 * elf/dl-sym.c: Likewise.
19298
57912a71
UD
192992011-06-15 Ulrich Drepper <drepper@gmail.com>
19300
19301 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19302 need to dereference resplen2.
19303
ee22793d
AS
193042011-06-14 Andreas Schwab <schwab@redhat.com>
19305
19306 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19307
a9e836b0
UD
193082011-06-15 Ulrich Drepper <drepper@gmail.com>
19309
77fb9117
UD
19310 * Makeconfig: Define vardbdir and inst_vardbdir.
19311 * nss/Makefile: Add rules to install db-Makefile.
19312
40c1b22c
UD
19313 * nss/nss_db/db-XXX.c: Cleanup.
19314
9f2da732
UD
19315 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19316 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19317 GLIBC_PRIVATE.
19318 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19319 * nss/makedb.c: Implement -g option to specify that value strings
19320 are generated and should not be added to table iterated over for
19321 get*ent calls.
19322 * nss/nss_db/db-initgroups.c: New file.
19323
82e9a1f7
UD
19324 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19325 interface.
19326
c41af17e
UD
19327 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19328 (internal_getgrouplist): Adjust to name change.
19329 Update use_initgroups_entry if this is not the first call.
19330 * nss/databases.def: Add initgroups entry.
19331
a9e836b0
UD
19332 * nss/makedb.c (compute_tables): Check result of multiple hash table
19333 sizes to minimize maximum chain length.
19334
2666d441
UD
193352011-06-14 Ulrich Drepper <drepper@gmail.com>
19336
19337 * Versions.def: Add entry for libnss_db.
19338 * shlib-versions: Likewise.
19339 * nss/Makefile: Add rules to build libnss_db.
19340 * nss/Versions: Add libnss_db information. Organize libnss_files
19341 entries better.
19342 * nss/db-Makefile: Add gshadow support. Change rules for the new
19343 makedb progra. Some minor improvements to generate smaller files.
19344 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19345 here from...
19346 * nss/makedb.c: ...here.
19347 Improve database format to be smaller and require less memory at
19348 runtime.
19349 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19350 db anymore.
19351 * nss/nss_db/db-netgrp.c: Likewise.
19352 * nss/nss_db/db-open.c: Likewise.
19353 * nss/nss_files/flies-XXX.x: Adjust comments.
19354 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19355 * nss/nss_files/files-grp.c: Likewise.
19356 * nss/nss_files/files-hosts.c: Likewise.
19357 * nss/nss_files/files-network.c: Likewise.
19358 * nss/nss_files/files-proto.c: Likewise.
19359 * nss/nss_files/files-pwd.c: Likewise.
19360 * nss/nss_files/files-rpc.c: Likewise.
19361 * nss/nss_files/files-service.c: Likewise.
19362 * nss/nss_files/files-sgrp.c: Likewise.
19363 * nss/nss_files/files-spwd.c: Likewise.
19364 * nss/nss_db/db-alias.c: Removed.
19365 * nss/nss_db/dummy-db.h: Removed.
19366
9ee76b5a
UD
193672011-06-02 Ulrich Drepper <drepper@gmail.com>
19368
19369 * nss/makedb.c: Rewritten to not use database library.
19370 * nss/Makefile: Update to build new makedb program.
19371
c71ca1f8
AJ
193722011-06-14 Andreas Jaeger <aj@suse.de>
19373
19374 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19375 memset declaration.
19376
3154bfb8
UD
193772011-06-10 Andreas Schwab <schwab@redhat.com>
19378
19379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19380 tmpbuf.
19381
b350afab
RM
193822011-06-10 Roland McGrath <roland@hack.frob.com>
19383
decd4e50
RM
19384 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19385 * elf/Makefile ($(objpfx)ld.so): Likewise.
19386
5615eaf2
RM
19387 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19388 Don't list ld.so twice in dependencies.
19389
19390 * posix/bug-regex31.c: Include <stdlib.h>.
19391
19392 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19393
19394 * nis/nss_compat/compat-spwd.c
19395 (getspent_next_nss_netgr): Remove unused variable.
19396 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19397
19398 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19399 nonmembers" output to use the right array.
19400
19401 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19402
19403 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19404
19405 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19406 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19407 * catgets/gencat.c (read_input_file): Likewise.
19408 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19409
19410 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19411 variable definition inside #if's controlling its use.
19412
19413 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19414
19415 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19416
19417 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19418
19419 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19420 unreachable code.
19421
19422 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19423
b68e08db
RM
19424 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19425 * configure: Regenerated.
19426
b350afab
RM
19427 * Makerules: Revert last change.
19428 * elf/Makefile: Likewise.
19429
28368601
RM
194302011-06-09 Roland McGrath <roland@hack.frob.com>
19431
19432 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19433 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19434 (reloc-link): Likewise.
19435
11988f8f
UD
194362011-06-09 Ulrich Drepper <drepper@gmail.com>
19437
19438 * elf/Makefile: Add rules to build pldd.
19439 * elf/pldd.c: New file.
19440 * elf/pldd-xx.c: New file.
19441
e80fab37
UD
194422011-06-07 Ulrich Drepper <drepper@gmail.com>
19443
19444 * version.h: Update for 2.15 development version.
19445
9b849836
DM
194462011-06-07 David S. Miller <davem@davemloft.net>
19447
19448 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19449 ifuncs.
19450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19451 elf_machine_lazy_rel): Likewise.
19452 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19453 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19454 elf_machine_lazy_rel): Likewise.
19455 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19456 dl_hwcap via passed in argument.
19457 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19458 Likewise.
19459
5a31b283
AK
194602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19461
19462 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19463
069e52f8
RM
194642011-06-06 Roland McGrath <roland@hack.frob.com>
19465
19466 [BZ #12849]
19467 * manual/fdl-1.1.texi: New file, verbatim from:
19468 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19469 * manual/lgpl-2.1.texi: New file, verbatim from:
19470 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19471 * manual/Makefile (licenses): New variable, list those new file names.
19472 (texis): Use it.
19473 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19474
19475 * manual/fdl.texi: File removed.
19476 * manual/lesser.texi: File removed.
19477 * manual/libc.texinfo (Copying, Documentation License):
19478 Use new @include file names, put @appendix directive before @include.
19479
f16846a5
JJ
194802011-06-04 Jakub Jelinek <jakub@redhat.com>
19481
19482 [BZ #12841]
19483 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19484 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19485 (mq_open): Add __NTH.
19486
3d29045b
L
194872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19488
19489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19490 Assume Intel Core i3/i5/i7 processor if AVX is available.
19491
8c297311
UD
194922011-05-31 Ulrich Drepper <drepper@gmail.com>
19493
19494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19495 typo.
19496
c8fc0c91
UD
194972011-05-31 Andreas Schwab <schwab@redhat.com>
19498
19499 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19500 memory. Use alloca_account. Fix memory leak when retrying.
19501
5b27a807
UD
195022011-05-31 Ulrich Drepper <drepper@gmail.com>
19503
356f8bc6
UD
19504 * version.h (RELEASE): Bump for 2.14 release.
19505 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19506
5b27a807
UD
19507 * config.make.in (RANLIB): Remove entry.
19508
01f16ab0
UD
195092011-05-30 Ulrich Drepper <drepper@gmail.com>
19510
41fce8bd
UD
19511 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19512 (libc.pot): Work around missing support for .ksh extension in xgettext.
19513
4769ae77
UD
19514 [BZ #12684]
19515 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19516 if both request failed.
19517 (send_dg): In case of server errors clear resplen or *resplen2.
19518
6b1e7d19
UD
19519 [BZ #12454]
19520 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19521 when there are multiple maps.
19522 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19523 (_dl_fini): Remove test here.
19524
01f16ab0
UD
19525 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19526
b1ebd700
UD
195272011-05-29 Ulrich Drepper <drepper@gmail.com>
19528
7ae22829
UD
19529 [BZ #12350]
19530 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19531 bit from old_res_options.
19532 (gaih_inet): Likewise.
19533
553149f6 19534 [BZ #11099]
18a84741 19535 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19536 as signed.
19537
652ffab1
UD
19538 * resolv/res_init.c (res_setoptions): Make the code more compact.
19539
16985fd0
UD
19540 [BZ #11558]
19541 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19542 set RES_USEVC.
19543
0464f746
UD
19544 [BZ #11634]
19545 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19546
7d17596c
UD
19547 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19548
cf6bbbd7
UD
19549 [BZ #11781]
19550 * malloc/malloc.h: Declare malloc hook variables as volatile.
19551
13f1ab36
UD
19552 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19553 in last patch.
19554
b1ebd700
UD
19555 [BZ #11799]
19556 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19557 raise in the comment.
80e2212d
UD
19558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19560 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19561
ce67228d
UD
195622011-05-28 Ulrich Drepper <drepper@gmail.com>
19563
8887a920
UD
19564 [BZ #12811]
19565 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19566 grow the buffers more if it already has to be sufficient.
19567 (build_wcs_upper_buffer): Likewise.
19568 * posix/regexec.c (check_matching): Likewise.
19569 (clean_state_log_if_needed): Likewise.
19570 (extend_buffers): Don't enlarge buffers beyond size of the input
19571 buffer.
19572 Patches mostly by Emil Wojak <emil@wojak.eu>.
19573 * posix/bug-regex32.c: New file.
19574 * posix/Makefile (tests): Add bug-regex32.
19575
4f031072
UD
19576 * locale/findlocale.c (_nl_find_locale): Return right away if
19577 _nl_explode_name failed.
19578 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19579
d0478f0c
UD
19580 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19581
de81b246
UD
19582 * debug/xtrace.sh: Unify messages.
19583 * malloc/memusage.sh: Likewise.
19584
c738465a
UD
19585 [BZ #12813]
19586 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19587 time symbol from vDSO. Substitute with vsyscall if not available.
19588 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19589 __vdso_time.
19590
f1f929d7
UD
19591 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19592 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19593 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19594 Add sendmmsg and internal_sendmmsg.
19595 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19596 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19597 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19598
ce67228d
UD
19599 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19600 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19601 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19602
e57420c6
UD
196032011-05-27 Ulrich Drepper <drepper@gmail.com>
19604
a8509ca5
UD
19605 [BZ #12813]
19606 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19607 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19608 available.
19609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19610 __vdso_getcpu.
19611
e57420c6
UD
19612 [BZ #12814]
19613 * iconvdata/Makefile (tests): Add bug-iconv9.
19614 * iconvdata/bug-iconv9.c: New file.
19615
4d07db15
AS
196162011-05-27 Andreas Schwab <schwab@redhat.com>
19617
19618 [BZ #12814]
19619 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19620
ea486f69
JJ
196212011-05-25 Jakub Jelinek <jakub@redhat.com>
19622
19623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19624 (struct user_regs_struct): Change intcs field back to cs.
19625
6f038433
UD
196262011-05-25 Ulrich Drepper <drepper@gmail.com>
19627
19628 * po/ja.po: Update from translation team.
19629
67f86a25
UD
196302011-05-23 Ulrich Drepper <drepper@gmail.com>
19631
19632 [BZ #12795]
19633 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19634 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19635
def7fbd6
AS
196362011-05-20 Andreas Schwab <schwab@redhat.com>
19637
19638 * stdlib/longlong.h: Update from GCC.
19639
f50ef8f1
AS
196402011-05-23 Andreas Schwab <schwab@redhat.com>
19641
19642 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19643 parameter name.
19644 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19645 Add parameter name.
19646 (__sysconf): Pass it down.
19647
de7ce8f1
UD
196482011-05-22 Ulrich Drepper <drepper@gmail.com>
19649
f2962a71
UD
19650 [BZ #12671]
19651 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19652 some situations.
19653 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19654 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19655 add in in __libc_use_alloca calls. Adjust callers.
19656 (glob): Use malloc in some situations.
19657
de7ce8f1
UD
19658 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19659 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19660 pltexit.
19661
aec84f53
UD
196622011-05-21 Ulrich Drepper <drepper@gmail.com>
19663
05bb4a68
UD
19664 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19665 and CLOCK_BOOTTIME_ALARM.
19666
7ea72f99
UD
19667 [BZ #12782]
19668 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19669 is returned.
19670
7e4afad5
UD
19671 * string/_strerror.c (__strerror_r): Print negative errors as signed
19672 numbers.
19673
8e211fec
UD
19674 [BZ #12777]
19675 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19676 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19677 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19678
f7d82dc9
UD
19679 * configure.in: Fix typo in redirection and correct removal of test
19680 files in two cases.
19681
cc9e536d
UD
19682 [BZ #12788]
19683 * locale/setlocale.c (new_composite_name): Fix test to check for
19684 identical name of all categories.
19685
aec84f53
UD
19686 [BZ #12792]
19687 * libio/filedoalloc.c (local_isatty): New function.
19688 (_IO_file_doallocate): Use local_isatty.
19689 * stdio-common/perror.c (perror): In case a new stream is used
19690 forward the stream error.
19691 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19692 error flag.
19693
78e64fdc
RT
196942011-05-20 Ulrich Drepper <drepper@gmail.com>
19695
34a9094f
UD
19696 [BZ #11869]
19697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19698 alloca.
19699 * include/alloca.h (extend_alloca_account): Define.
19700
78e64fdc
RT
19701 [BZ #11857]
19702 * posix/regex.h: Fix comments with documentation of user-accessible
19703 fields after compilation and describe correct free'ing of pattern
19704 after re_compile_pattern.
19705 Patch by Reuben Thomas <rrt@sc3d.org>.
19706
457bddfc
RA
197072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19708
19709 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19710 and -mno-altivec to prevent the compiler from using Altivec and/or
19711 VSX instructions when the corresponding registers are not available.
19712
a4527b51
AS
197132011-05-19 Andreas Schwab <schwab@redhat.com>
19714
19715 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19716
ed690b2f
UD
197172011-05-19 Ulrich Drepper <drepper@gmail.com>
19718
19719 * libio/freopen.c (freopen): Use __dup2, not dup2.
19720 * libio/freopen64.c (freopen64): Likewise.
19721
8db73634
L
197222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19723
19724 [BZ #12775]
19725 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19726 * math/Makefile (tests): Add test-powl.
19727 (CFLAGS-test-powl.c): Define.
19728 * math/test-powl.c: New file.
19729
0a197a9d
L
197302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19731
19732 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19733
ee30c380
UD
197342011-05-17 Ulrich Drepper <drepper@gmail.com>
19735
19736 [BZ #11837]
19737 * iconvdata/gb18030.c: Update to GB18020-2005.
19738
6ce75379
UD
197392011-05-16 Ulrich Drepper <drepper@gmail.com>
19740
a4b89fd8
AR
19741 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19742 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19743 Patch by Aharon Robbins <arnold@skeeve.com>.
19744
ea389b12
UD
19745 [BZ #11892]
19746 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19747 on the stack.
19748
68a3f91f
UD
19749 [BZ #11895]
19750 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19751 through underflows.
19752
15cc7dd1
UD
19753 [BZ #12766]
19754 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19755 point to strings before performing equality test for error_one_per_line
19756 mode.
19757
f3799213
UD
19758 [BZ #11697]
19759 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19760
d79a9c94
UD
19761 [BZ #11820]
19762 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19763 (struct user_fpregs_struct): Avoid __uint*_t types.
19764
56e5eb46
UD
19765 [BZ #6420]
19766 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19767 symbol info. Use it instead of calling _dl_addr locally.
19768 (lock_and_info): New function.
19769 (tr_freehook): Call lock_and_info and pass symbol info as additional
19770 parameter to tr_where.
19771 (tr_mallochook): Likewise.
19772 (tr_reallochook): Likewise.
19773 (tr_memalignhook): Likewise.
19774
6ce75379
UD
19775 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19776 used and couldn't be at all thread-safe.
19777
f8a3b5bf
UD
197782011-05-15 Ulrich Drepper <drepper@gmail.com>
19779
94b7cc37
UD
19780 * libio/freopen.c (freopen): Don't close old file descriptor
19781 before the new one is opened. Instead dup the new file descriptor
19782 to the old one after the new stream is created.
19783 * libio/freopen64.c (freopen64): Likewise.
19784 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19785 * libio/fileops.c (_IO_new_file_close_it): Handle new
19786 _IO_FLAGS2_NOCLOSE flag.
19787 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19788 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19789 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19790 _IO_FLAGS2_NOCLOSE flag.
19791 * include/unistd.h: Add hidden_proto for dup3.
19792 Define __have_dup3.
19793 * io/dup3.c: Define hidden symbol.
19794 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19795
bd25564e
UD
19796 [BZ #7101]
19797 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19798 when an incomplete long option is used.
19799 * posix/tst-getopt_long1.c: New file.
19800 * posix/Makefile (tests): Add tst-getopt_long1.
19801
c84cfef4
UD
19802 [BZ #10138]
19803 * scripts/config.guess: Update from autoconf-2.68.
19804 * scripts/config.sub: Likewise.
19805
3b85df27
UD
19806 [BZ #10157]
19807 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19808 tests into ...
19809 (has_cpuclock): ...this. New function.
19810 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19811 macro here based on has_cpuclock code.
19812
15a856b1
UD
19813 [BZ #10149]
19814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19815 First byte (not low byte) is now always NUL.
19816 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19817
05f399e6
UD
19818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19819 Use non-cancelable interfaces.
19820
10a52685 19821 [BZ #9809]
94ecc67d
UD
19822 * locale/iso-639.def: Add entry for Sorani.
19823
f8a3b5bf
UD
19824 [BZ #11901]
19825 * include/stdlib.h: Move include protection to the right place.
19826 Define abort_msg_s. Declare __abort_msg with it.
19827 * stdlib/abort.c (__abort_msg): Adjust type.
19828 * assert/assert.c (__assert_fail_base): New function. Majority
19829 of code from __assert_fail. Allocate memory for __abort_msg with
19830 mmap.
19831 (__assert_fail): Now call __assert_fail_base.
19832 * assert/assert-perr.c: Remove bulk of implementation. Use
19833 __assert_fail_base.
19834 * include/assert.hL Declare __assert_fail_base.
19835 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19836 mmap.
19837 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19838
1af4e298
UD
198392011-05-14 Ulrich Drepper <drepper@gmail.com>
19840
f8a3b5bf 19841 [BZ #11952]
d26dfc60
MG
19842 [BZ #12453]
19843 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19844 until all modules are registered in the DTV.
19845 * elf/Makefile: Add rules to build and run tst-tls19.
19846 * elf/tst-tls19.c: New file.
19847 * elf/tst-tls19mod1.c: New file.
19848 * elf/tst-tls19mod2.c: New file.
19849 * elf/tst-tls19mod3.c: New file.
19850 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19851
2fc54d6f
UD
19852 [BZ #12083]
19853 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19854 correctly.
19855
98d76b46
UD
19856 [BZ #12601]
19857 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19858 two-byte sequence errors.
19859 * iconvdata/Makefile (tests): Add bug-iconv8.
19860 * iconvdata/bug-iconv8.c: New file.
19861
da3c19ef
UD
19862 [BZ #12626]
19863 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19864 buf2 definition.
19865
ca408c15
UD
19866 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19867
d6f67f7d
UD
19868 [BZ #12432]
19869 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19870 (dummy_getcfa): New function.
19871 (init): Get _Unwind_GetCFA address, use dummy if not found.
19872 (backtrace_helper): In recursion check, also check whether CFA changes.
19873 (__backtrace): Completely initialize arg.
19874
1af4e298 19875 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
19876 storing incomplete byte sequence in state object. Avoid testing for
19877 guaranteed too small input if we know there is enough data available.
1af4e298 19878
da62f81b
AS
198792011-05-11 Andreas Schwab <schwab@redhat.com>
19880
19881 * Makeconfig (+link-pie): Indent.
19882 * Rules (binaries-pie): Define if $(have-fpie) and
19883 $(build-shared).
19884 (binaries-shared): Also filter out $(binaries-pie).
19885 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19886 * nscd/Makefile (others-pie): Add nscd.
19887 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19888 ($(objpfx)nscd): Remove command override.
19889 * login/Makefile (others-pie): Add pt_chown.
19890 ($(objpfx)pt_chown): Remove command override.
19891 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19892 remove command overrides.
19893
fcabc0f8
UD
198942011-05-13 Ulrich Drepper <drepper@gmail.com>
19895
20030ae6
UD
19896 * libio/tst_putwc.c: Fix error messages.
19897
fcabc0f8
UD
19898 [BZ #12724]
19899 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19900 currently writing and seek to current position when not.
19901 * libio/Makefile (tests): Add bug-fclose1.
19902 * libio/bug-fclose1.c: New file.
19903
320a5dc0
PB
199042011-05-12 Ulrich Drepper <drepper@gmail.com>
19905
19906 [BZ #12511]
19907 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19908 don't set DF_1_NODELETE here.
19909 (do_lookup_x): When entering new entry test for copy relocation
19910 and if necessary set DF_1_NODELETE flag.
19911 * elf/tst-unique4.cc: New file.
19912 * elf/tst-unique4.h: New file.
19913 * elf/tst-unique4lib.cc: New file.
19914 * elf/Makefile: Add rules to build and run tst-unique4.
19915 Patch by Piotr Bury <pbury@goahead.com>.
19916
22836f52
UD
199172011-05-11 Ulrich Drepper <drepper@gmail.com>
19918
f574184a
UD
19919 [BZ #12052]
19920 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19921
e1fb097f
UD
19922 [BZ #12625]
19923 * misc/mntent_r.c (addmntent): Flush the stream after the output
19924
22836f52
UD
19925 [BZ #12393]
19926 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19927 (is_trusted_path_normalize): Skip initial colon. Append slash
19928 to empty buffer. Duplicate is_trusted_path code but allow
19929 constructed patch to be prefix.
19930 (is_dst): Allow $ORIGIN followed by /.
19931 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19932 Correct testing of result of is_trusted_path_normalize
19933 (decompose_rpath): Fix warning.
19934
7b3b0b2a
UD
199352011-05-10 Ulrich Drepper <drepper@gmail.com>
19936
19937 [BZ #11257]
19938 * grp/initgroups.c (internal_getgrouplist): When we found the service
19939 list through the initgroups entry in nsswitch.conf do not always
19940 continue on a successful lookup. Don't always use the
eac80ce2 19941 __nss_group_database value if it is set.
7b3b0b2a
UD
19942 * nss/nsswitch.conf (initgroups): Change action for successful db
19943 lookup to continue for compatibility.
19944
2a81eaa5
UD
199452011-05-09 Ulrich Drepper <drepper@gmail.com>
19946
be97a69e
UD
19947 [BZ #11532]
19948 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19949 and CP774 modules.
19950 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19951 and CP774 modules.
19952 * iconvdata/tst-tables.sh: Likewise.
19953 * iconvdata/cp770.c: New file.
19954 * iconvdata/cp771.c: New file.
19955 * iconvdata/cp772.c: New file.
19956 * iconvdata/cp773.c: New file.
19957 * iconvdata/cp774.c: New file.
19958 * iconvdata/testdata/CP770: New file.
19959 * iconvdata/testdata/CP770..UTF8: New file.
19960 * iconvdata/testdata/CP771: New file.
19961 * iconvdata/testdata/CP771..UTF8: New file.
19962 * iconvdata/testdata/CP772: New file.
19963 * iconvdata/testdata/CP772..UTF8: New file.
19964 * iconvdata/testdata/CP773: New file.
19965 * iconvdata/testdata/CP773..UTF8: New file.
19966 * iconvdata/testdata/CP774: New file.
19967 * iconvdata/testdata/CP774..UTF8: New file.
19968
19969 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19970 END CHARMAP line.
19971 * iconvdata/gen-8bit-gap.sh: Likewise.
19972 * iconvdata/gen-8bit.sh: Likewise.
19973
c1e9e399
UD
19974 * locale/iso-639.def: Add ary entry.
19975
24c55fb3 19976 [BZ #11258]
96b4b1b0
UD
19977 * locale/C-translit.h.in: Add U20A1 transliteration.
19978
bdc2f971
KB
19979 [BZ #12178]
19980 * locale/iso-639.def: Add wae entry.
19981 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19982
2952b117
UD
19983 [BZ #12545]
19984 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19985 for n.
19986
2a81eaa5
UD
19987 [BZ #12711]
19988 * locale/C-translit.h.in: Add entry for U20B9.
19989 Patch by pravin.d.s@gmail.com.
19990
28377d1b
UD
199912011-05-08 Ulrich Drepper <drepper@gmail.com>
19992
7fb90fb8
UD
19993 [BZ #12713]
19994 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19995 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
19996 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19997 in rtld. Use *stat64.
7fb90fb8 19998 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 19999 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20000 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20001 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20002 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20003 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20004 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20005 __fstatat64 macros.
7fb90fb8
UD
20006 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20007 * dirent/rewinddir.c: Add libc_hidden_def.
20008 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20009 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20010
28377d1b
UD
20011 * include/dirent.h (__alloc_dir): Add flags parameter.
20012 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20013 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20014 __alloc_dir.
20015 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20016 from fdopendir if O_CLOEXEC is already set.
20017
66bdbaa4
AM
200182011-03-15 Alan Modra <amodra@gmail.com>
20019
20020 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20021 l_tls_firstbyte_offset non-zero. Save padding offset in
20022 l_tls_firstbyte_offset for later use.
20023 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20024 freeing static tls block.
20025
95721191
JN
200262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20027
20028 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20029 where #ifdef was intended. The intent is to prevent ARG_MAX from
20030 being defined by the kernel headers.
20031
f87dfb1f
UD
200322011-05-07 Ulrich Drepper <drepper@gmail.com>
20033
20034 [BZ #12734]
20035 * resolv/resolv.h: Define RES_NOTLDQUERY.
20036 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20037 no-tld-query and set RES_NOTLDQUERY.
20038 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20039 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20040 modern BIND to search name as TLD unless forbidden.
20041
47c3cd7a
UD
200422011-05-07 Petr Baudis <pasky@suse.cz>
20043 Ulrich Drepper <drepper@gmail.com>
20044
20045 [BZ #12393]
20046 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20047 (is_trusted_path): ...to here.
c1e9ea35 20048 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20049 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20050 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20051
8a35c912
PP
200522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20053
20054 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20055 __BEGIN/__END_DECLS.
20056
acd41f47
UD
200572011-05-06 Ulrich Drepper <drepper@gmail.com>
20058
20059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20060 NSS_STATUS_NOTFOUND if no record was found.
20061
597df647
AS
200622011-05-05 Andreas Schwab <schwab@redhat.com>
20063
20064 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20065 (headers-not-in-tirpc): Remove rpc/netdb.h
20066 * resolv/netdb.h: Revert last change.
20067
b9af1301
PP
200682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20069
20070 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20071 circular dependency between libgcc.a and libc.a.
20072
4e34d5f5
AS
200732011-05-05 Andreas Schwab <schwab@redhat.com>
20074
20075 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20076 * nis/Makefile: Don't install rpcsvc/*.
20077 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20078 instead of <rpc/types.h>.
20079 (MAXHOSTNAMELEN): Define.
20080
00ee369c
AS
200812011-05-03 Andreas Schwab <schwab@redhat.com>
20082
20083 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20084
0b592a30
MB
200852011-04-28 Maciej Babinski <mbabinski@google.com>
20086
20087 [BZ #12714]
20088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20089 gethostbyname4_r when IPv6 results are possible.
20090
6e04cbbe
UD
200912011-05-02 Ulrich Drepper <drepper@gmail.com>
20092
20093 [BZ #12723]
20094 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20095 _PC_PIPE_BUF handling.
20096
e4ecafe0
BH
200972011-04-30 Bruno Haible <bruno@clisp.org>
20098
20099 [BZ #12717]
20100 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20101 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20102 to 'int'.
20103 * inet/getnameinfo.c (getnameinfo): Likewise.
20104
125ee683
UD
201052011-04-29 Ulrich Drepper <drepper@gmail.com>
20106
20107 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20108 to groups setting in database lookup.
20109 * nss/nsswitch.conf: Add initgroups entry.
20110
b722481a
EB
201112011-04-22 Ulrich Drepper <drepper@gmail.com>
20112
20113 [BZ #12685]
20114 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20115 mode string.
20116 Patch by Eric Blake <eblake@redhat.com>.
20117
4df46dbd
L
201182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20119
20120 * sunrpc/Makefile (need-export-routines): Add svc_run.
20121 (routines): Remove svc_run.
20122 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20123 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20124 * sunrpc/svc_run.c (svc_run): Likewise.
20125 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20126
e84142d2
UD
201272011-04-21 Ulrich Drepper <drepper@gmail.com>
20128
20129 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20130 problem in reallocation in last patch.
20131
877175d8
UD
201322011-04-20 Ulrich Drepper <drepper@gmail.com>
20133
20134 * sunrpc/Makefile: Move inclusion of Rules.
20135
ab8eed78
UD
201362011-04-19 Ulrich Drepper <drepper@gmail.com>
20137
20138 * nss/nss_files/files-initgroups.c: New file.
20139 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20140 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20141 _nss_files_initgroups_dyn.
20142
e3d8f584
RS
201432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20144
20145 * elf/elf.h (R_ARM_IRELATIVE): Define.
20146
af190f45
UD
201472011-04-19 Ulrich Drepper <drepper@gmail.com>
20148
20149 * po/ru.po: Update from translation team.
20150
53cf59ef
UD
201512011-04-17 Ulrich Drepper <drepper@gmail.com>
20152
20153 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20154 dependencies.
20155
4c559bcd
MF
201562011-02-06 Mike Frysinger <vapier@gentoo.org>
20157
20158 [BZ #12653]
20159 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20160 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20161 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20162 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20164
4420675c
AS
201652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20166
20167 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20168 differing bytes.
20169 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20170 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20172
75ea32ab
UD
201732011-04-17 Ulrich Drepper <drepper@gmail.com>
20174
20175 [BZ #12420]
20176 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20177 storing it.
20178 * stdlib/bug-getcontext.c: New file.
20179 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20180
27390476
AK
201812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20182
20183 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20184 instructions into .machine "z9-109".
20185 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20186 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20187
10442705
AK
201882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20189
20190 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20191 between environment variables and auxiliary vector.
20192
7b57bfe5
UD
201932011-04-16 Ulrich Drepper <drepper@gmail.com>
20194
20195 * Makefile: Add rules to build linkobj/libc.so.
20196 * include/libc-symbols.h: Define libc_hidden_nolink.
20197 * include/rpc/auth.h: Mark functions which are to be hidden.
20198 * include/rpc/auth_des.h: Likewise.
20199 * include/rpc/auth_unix.h: Likewise.
20200 * include/rpc/clnt.h: Likewise.
20201 * include/rpc/des_crypt.h: Likewise.
20202 * include/rpc/key_prot.h: Likewise.
20203 * include/rpc/pmap_clnt.h: Likewise.
20204 * include/rpc/pmap_prot.h: Likewise.
20205 * include/rpc/pmap_rmt.h: Likewise.
20206 * include/rpc/rpc_msg.h: Likewise.
20207 * include/rpc/svc.h: Likewise.
20208 * include/rpc/svc_auth.h: Likewise.
20209 * include/rpc/xdr.h: Likewise.
20210 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20211 * nss/Makefile: Likewise.
20212 * sunrpc/Makefile: Don't install headers. Build library with normal
20213 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20214 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20215 for the compat linking library. Remove use of INTDEF/INTUSE.
20216 * sunrpc/auth_none.c: Likewise.
20217 * sunrpc/auth_unix.c: Likewise.
20218 * sunrpc/authdes_prot.c: Likewise.
20219 * sunrpc/authuxprot.c: Likewise.
20220 * sunrpc/clnt_gen.c: Likewise.
20221 * sunrpc/clnt_perr.c: Likewise.
20222 * sunrpc/clnt_raw.c: Likewise.
20223 * sunrpc/clnt_simp.c: Likewise.
20224 * sunrpc/clnt_tcp.c: Likewise.
20225 * sunrpc/clnt_udp.c: Likewise.
20226 * sunrpc/clnt_unix.c: Likewise.
20227 * sunrpc/des_crypt.c: Likewise.
20228 * sunrpc/des_soft.c: Likewise.
20229 * sunrpc/get_myaddr.c: Likewise.
20230 * sunrpc/key_call.c: Likewise.
20231 * sunrpc/key_prot.c: Likewise.
20232 * sunrpc/netname.c: Likewise.
20233 * sunrpc/pm_getmaps.c: Likewise.
20234 * sunrpc/pm_getport.c: Likewise.
20235 * sunrpc/pmap_clnt.c: Likewise.
20236 * sunrpc/pmap_prot.c: Likewise.
20237 * sunrpc/pmap_prot2.c: Likewise.
20238 * sunrpc/pmap_rmt.c: Likewise.
20239 * sunrpc/publickey.c: Likewise.
20240 * sunrpc/rpc_cmsg.c: Likewise.
20241 * sunrpc/rpc_common.c: Likewise.
20242 * sunrpc/rpc_dtable.c: Likewise.
20243 * sunrpc/rpc_prot.c: Likewise.
20244 * sunrpc/rpc_thread.c: Likewise.
20245 * sunrpc/rtime.c: Likewise.
20246 * sunrpc/svc.c: Likewise.
20247 * sunrpc/svc_auth.c: Likewise.
20248 * sunrpc/svc_authux.c: Likewise.
20249 * sunrpc/svc_raw.c: Likewise.
20250 * sunrpc/svc_run.c: Likewise.
20251 * sunrpc/svc_simple.c: Likewise.
20252 * sunrpc/svc_tcp.c: Likewise.
20253 * sunrpc/svc_udp.c: Likewise.
20254 * sunrpc/svc_unix.c: Likewise.
20255 * sunrpc/svcauth_des.c: Likewise.
20256 * sunrpc/xcrypt.c: Likewise.
20257 * sunrpc/xdr.c: Likewise.
20258 * sunrpc/xdr_array.c: Likewise.
20259 * sunrpc/xdr_float.c: Likewise.
20260 * sunrpc/xdr_intXX_t.c: Likewise.
20261 * sunrpc/xdr_mem.c: Likewise.
20262 * sunrpc/xdr_rec.c: Likewise.
20263 * sunrpc/xdr_ref.c: Likewise.
20264 * sunrpc/xdr_sizeof.c: Likewise.
20265 * sunrpc/xdr_stdio.c: Likewise.
20266
e6c61494
UD
202672011-04-10 Ulrich Drepper <drepper@gmail.com>
20268
20269 [BZ #12650]
20270 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20271 * sysdeps/ia64/dl-tls.h: Likewise.
20272 * sysdeps/powerpc/dl-tls.h: Likewise.
20273 * sysdeps/s390/dl-tls.h: Likewise.
20274 * sysdeps/sh/dl-tls.h: Likewise.
20275 * sysdeps/sparc/dl-tls.h: Likewise.
20276 * sysdeps/x86_64/dl-tls.h: Likewise.
20277 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20278
34fe483e
AS
202792011-03-14 Andreas Schwab <schwab@redhat.com>
20280
20281 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20282 rpath element also skip the following colon.
20283 (expand_dynamic_string_token): Add is_path parameter and pass
20284 down to DL_DST_REQUIRED and _dl_dst_substitute.
20285 (decompose_rpath): Call expand_dynamic_string_token with
20286 non-zero is_path. Ignore empty rpaths.
20287 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20288 with zero is_path.
20289
f12a32e6
AS
202902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20291
20292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20293 Make cancelable.
20294
38a7d692
UD
202952011-04-09 Ulrich Drepper <drepper@gmail.com>
20296
20297 [BZ #12655]
20298 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20299 Patch by Filipe David Manana <fdmanana@apache.org>.
20300
e451d22b
AS
203012011-04-07 Andreas Schwab <schwab@redhat.com>
20302
20303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20304 Maintain aligned stack.
20305 (CHECK_RSP): Remove unused macro.
20306
dedc7c7b
UD
203072011-04-03 Ulrich Drepper <drepper@gmail.com>
20308
20309 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20310 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20311
94521213
UD
203122011-04-02 Ulrich Drepper <drepper@gmail.com>
20313
20314 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20315
8cb700c0 20316 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20317
0354e355
L
203182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20319
20320 [BZ #12518]
20321 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20322 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20323 * sysdeps/x86_64/memmove.c: New file.
20324 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20325 (memcpy): Renamed to ...
20326 (__new_memcpy): This.
20327 (memcpy): Provide GLIBC_2_14 memcpy.
20328 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20329 (memcpy): Provide GLIBC_2_2_5 memcpy.
20330
8593482f
UD
203312011-04-01 Ulrich Drepper <drepper@gmail.com>
20332
20333 [BZ #12631]
20334 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20335
81a5726b
AS
203362011-03-30 Andreas Schwab <schwab@redhat.com>
20337
20338 * misc/syncfs.c: New file.
20339 * misc/Makefile (routines): Add syncfs.
20340 * posix/unistd.h: Declare syncfs.
20341 * sysdeps/unix/syscalls.list: Add syncfs.
20342
00e5419f
AS
203432011-04-01 Andreas Schwab <schwab@redhat.com>
20344
20345 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20346 open_by_handle_at.
20347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20352 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20354
748876bf
UD
203552011-04-01 Ulrich Drepper <drepper@gmail.com>
20356
658e451d
UD
20357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20358 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20364
748876bf
UD
20365 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20366 sync_file_range.c with -fexceptions.
20367 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20368 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20369 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20370 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20371 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20372 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20374 sync_file_range as cancellation point
20375 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20376 now a wrapper around __call_sync_file_range with cancellation handling.
20377 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20378 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20379 function name to __call_sync_file_range.
20380 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20381 Add call_sync_file_range.
748876bf 20382
6e63d5e1
AS
203832011-04-01 Andreas Schwab <schwab@redhat.com>
20384
20385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20386 bits/timex.h.
6e63d5e1 20387
46998f74
UD
203882011-04-01 Ulrich Drepper <drepper@gmail.com>
20389
4c1423ed
UD
20390 * iconv/iconv.h: Fix typo in comment.
20391 * io/fcntl.h: Likewise.
20392 * libio/stdio.h: Likewise.
20393 * posix/spawn.h: Likewise.
20394 * posix/unistd.h: Likewise.
20395 * stdlib/stdlib.h: Likewise.
20396 * time/time.h: Likewise.
20397 * wcsmbs/wchar.h: Likewise.
20398
158648c0
UD
20399 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20400 open_by_handle): Add.
20401 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20402 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20403 Augment a few comments.
20404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20409 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20410 open_by_handle.
20411
46998f74
UD
20412 * io/fcntl.h (AT_EMPTY_PATH): Define.
20413
83fe108b
UD
204142011-03-30 Ulrich Drepper <drepper@gmail.com>
20415
20416 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20417 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20418 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20419 to...
20420 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20421 * Versions.def: Add GLIBC_2.14.
20422 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20423 Export.
83fe108b 20424
bb242059
UD
204252011-03-22 Ulrich Drepper <drepper@gmail.com>
20426
20427 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20428 round counter.
20429 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20430
c97a1282
L
204312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20432
20433 [BZ #12597]
20434 * string/test-strncmp.c (do_page_test): New function.
20435 (check2): Likewise.
20436 (test_main): Call check2.
20437 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20438
2a115601
UD
204392011-03-20 Ulrich Drepper <drepper@gmail.com>
20440
20441 [BZ #12587]
20442 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20443 Handle cache information in CPU leaf 4.
20444 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20445
8126d904
UD
204462011-03-18 Ulrich Drepper <drepper@gmail.com>
20447
042c49c6 20448 [BZ #12583]
8126d904
UD
20449 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20450 character representation.
20451 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20452
ccfe366e
RA
204532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20454
20455 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20456 END(__isnan) to END(__isnanf) to match function entry point/label
20457 EALIGN(__isnanf,...).
20458
c6e13027
JJ
204592011-03-10 Jakub Jelinek <jakub@redhat.com>
20460
20461 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20462
33f85a3f
UD
204632011-03-10 Ulrich Drepper <drepper@gmail.com>
20464
028478fa
UD
20465 [BZ #12510]
20466 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20467 copy from the symbol referenced in the relocation to initialize the
20468 used variable.
20469 Patch by Piotr Bury <pbury@goahead.com>.
20470 * elf/Makefile: Add rules to build and tst-unique3.
20471 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20472 * elf/tst-unique3.cc: New file.
20473 * elf/tst-unique3.h: New file.
20474 * elf/tst-unique3lib.cc: New file.
20475 * elf/tst-unique3lib2.cc: New file.
20476
33f85a3f
UD
20477 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20478
03592fc7
MF
204792011-03-10 Mike Frysinger <vapier@gentoo.org>
20480
20481 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20482 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20483 to _start.
03592fc7 20484
6a5ee102
UD
204852011-03-06 Ulrich Drepper <drepper@gmail.com>
20486
20487 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20488 to-be-loaded object along a path to loader is ld.so.
20489
7e4ba49c
HJ
204902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20491 Ulrich Drepper <drepper@gmail.com>
20492
20493 * sysdeps/x86_64/memset.S: After aligning destination, code
20494 branches to different locations depending on the value of
20495 misalignment, when multiarch is enabled. Fix this.
20496
204972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20498
20499 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20500 Set _x86_64_preferred_memory_instruction for AMD processsors.
20501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20502 Set bit_Prefer_SSE_for_memop for AMD processors.
20503
13a804de
UD
205042011-03-04 Ulrich Drepper <drepper@gmail.com>
20505
20506 * libio/fmemopen.c (fmemopen): Optimize a bit.
20507
9d25c392
AS
205082011-03-03 Andreas Schwab <schwab@redhat.com>
20509
20510 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20511
a5543c6a
RM
205122011-03-03 Roland McGrath <roland@redhat.com>
20513
20514 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20515
012d35f7
DM
205162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20517
7e4ba49c 20518 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20519 __bzero_ultra1 instead of __memset_ultra1.
20520
4bff6e01
AS
205212011-02-23 Andreas Schwab <schwab@redhat.com>
20522 Ulrich Drepper <drepper@gmail.com>
20523
20524 [BZ #12509]
20525 * include/link.h (struct link_map): Add l_orig_initfini.
20526 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20527 returning unsuccessfully.
20528 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20529 close of a file loaded at startup, restore the original l_initfini
20530 list.
20531 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20532 list, store the pointer.
20533 * elf/Makefile ($(objpfx)noload-mem): New rule.
20534 (noload-ENV): Define.
20535 (tests): Add $(objpfx)noload-mem.
20536 * elf/noload.c: Include <memcheck.h>.
20537 (main): Call mtrace. Close all opened handles.
20538
f2092faf
AS
205392011-02-17 Andreas Schwab <schwab@redhat.com>
20540
20541 [BZ #12454]
20542 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20543 dependencies are missing.
20544
6c8a2e88
ST
205452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20546
f2092faf 20547 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20548 Hurd needs munmap.
20549 * sysdeps/mach/hurd/ifreq.h: New file.
20550
84a42118
PB
205512011-01-27 Petr Baudis <pasky@suse.cz>
20552 Ulrich Drepper <drepper@gmail.com>
20553
071f805e 20554 [BZ 12445]#
84a42118
PB
20555 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20556 to extend_alloca().
20557 * stdio-common/bug23.c: New file.
20558 * stdio-common/Makefile (tests): Add bug23.
20559
e23fe25b
AS
205602010-09-28 Andreas Schwab <schwab@redhat.com>
20561 Ulrich Drepper <drepper@gmail.com>
20562
20563 [BZ #12489]
20564 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20565 before performing relro protection. At old place add assertion
20566 to make sure nothing changed.
20567
d3f02e10
NS
205682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20569 Glauber de Oliveira Costa <glommer@gmail.com>
20570
20571 * elf/elf.h: Add new ARM TLS relocs.
20572
d55fd7a5
RA
205732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20574
20575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20576 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20577 cast from r3.
20578 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20579 'tests' variable.
20580 * sysdeps/wordsize-64/tst-writev.c: New file.
20581
2206397e
RA
205822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20583
20584 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20585 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20586 insns in _dl_start to prevent a TOC reference before relocs are
20587 resolved.
20588
e9433893
UD
205892011-02-15 Ulrich Drepper <drepper@gmail.com>
20590
20591 [BZ #12469]
20592 * Makeconfig: Remove RANLIB definition.
20593 * Makerules: Don't use RANLIB.
20594 * aclocal.m4: Remove ranlib test.
20595 * configure.in: No need to check for ranlib.
20596 * elf/rtld-Rules: Don't use RANLIB.
20597
f75286c6
ST
205982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20599
8e31c82d
ST
20600 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20601 protection macro.
20602 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20603 inclusion protection macro.
20604
f75286c6
ST
20605 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20606 SIGRTMIN and SIGRTMAX and print information in that case only when
20607 SIGRTMIN is defined.
20608
c1d0e639
JJ
206092011-02-11 Jakub Jelinek <jakub@redhat.com>
20610
20611 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20612 arginfo fn returning -1.
20613
20614 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20615 and thousands string is zero terminated.
20616
edf9294e
AS
206172011-02-03 Andreas Schwab <schwab@redhat.com>
20618
20619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20620 sysdeps/unix/sysv/linux/bits/socket.h.
20621
2b7e92df
ST
206222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20623
edf9294e
AS
20624 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20625 (__CPU_COUNT): Remove old macros.
20626 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20627 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20628 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20629 (__sched_cpualloc, __sched_cpufree): Add declarations.
20630
a4c7ea7b
UD
206312011-02-05 Ulrich Drepper <drepper@gmail.com>
20632
20633 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20634 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20635 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20636 (readdhstai): Return value of addhstaiX call.
20637 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20638 (addgrbyX): Return value returned by cache_addgr.
20639 (readdgrbyname): Return value returned by addgrbyX.
20640 (readdgrbygid): Likewise.
20641 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20642 (addpwbyX): Return value returned by cache_addpw.
20643 (readdpwbyname): Return value returned by addhstbyX.
20644 (readdpwbyuid): Likewise.
20645 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20646 (addservbyX): Return value returned by cache_addserv.
20647 (readdservbyname): Return value returned by addservbyX:
20648 (readdservbyport): Likewise.
20649 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20650 (addhstbyX): Return value returned by cache_addhst.
20651 (readdhstbyname): Return value returned by addhstbyX.
20652 (readdhstbyaddr): Likewise.
20653 (readdhstbynamev6): Likewise.
20654 (readdhstbyaddrv6): Likewise.
20655 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20656 (readdinitgroups): Return value returned by addinitgroupsX.
20657 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20658 (prune_cache): Keep track of timeout value of re-added entries.
20659 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20660 * nscd/nscd.h: Adjust prototypes of readd* functions.
20661
a0bf67cc
RM
206622011-02-04 Roland McGrath <roland@redhat.com>
20663
20664 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20665 (nis_stats): Likewise.
20666 * nis/nis_modify.c (nis_modify): Likewise.
20667 * nis/nis_remove.c (nis_remove): Likewise.
20668 * nis/nis_add.c (nis_add): Likewise.
20669
20670 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20671
20672 * posix/fnmatch_loop.c: Add some consts.
20673
20674 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20675
435b95eb
L
206762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20677
20678 [BZ #12460]
20679 * config.make.in (config-cflags-novzeroupper): Define.
20680 * configure.in: Substitute libc_cv_cc_novzeroupper.
20681 * elf/Makefile (AVX-CFLAGS): Define.
20682 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20683 (CFLAGS-tst-auditmod4a.c): Likewise.
20684 (CFLAGS-tst-auditmod4b.c): Likewise.
20685 (CFLAGS-tst-auditmod6b.c): Likewise.
20686 (CFLAGS-tst-auditmod6c.c): Likewise.
20687 (CFLAGS-tst-auditmod7b.c): Likewise.
20688 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20689
8517b15e
UD
206902011-02-02 Ulrich Drepper <drepper@gmail.com>
20691
20692 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20693 function to the callback.
20694 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20695
10a656fe
AS
206962011-02-02 Andreas Schwab <schwab@redhat.com>
20697
20698 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20699 of errno.
20700
968dad0a
UD
207012011-01-19 Ulrich Drepper <drepper@gmail.com>
20702
9f94d2ea 20703 [BZ #11724]
968dad0a
UD
20704 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20705 of constructors.
20706 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20707 of destructors.
20708 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20709
20710 [BZ #11724]
20711 * elf/Makefile: Add rules to build and run new test.
20712 * elf/tst-initorder.c: New file.
20713 * elf/tst-initorder.exp: New file.
20714 * elf/tst-initordera1.c: New file.
20715 * elf/tst-initordera2.c: New file.
20716 * elf/tst-initordera3.c: New file.
20717 * elf/tst-initordera4.c: New file.
20718 * elf/tst-initorderb1.c: New file.
20719 * elf/tst-initorderb2.c: New file.
20720 * elf/tst-order-a1.c: New file.
20721 * elf/tst-order-a2.c: New file.
20722 * elf/tst-order-a3.c: New file.
20723 * elf/tst-order-a4.c: New file.
20724 * elf/tst-order-b1.c: New file.
20725 * elf/tst-order-b2.c: New file.
20726 * elf/tst-order-main.c: New file.
20727 New test case by George Gensure <werkt0@gmail.com>.
20728
86e92359
UD
207292010-10-01 Andreas Schwab <schwab@redhat.com>
20730
20731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20732 decoding ACE if AI_CANONIDN.
20733
5d5732b0
UD
207342011-01-18 Ulrich Drepper <drepper@gmail.com>
20735
20736 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20737
a77e8cbc
UD
207382011-01-17 Ulrich Drepper <drepper@gmail.com>
20739
6392473f
UD
20740 * version.h (RELEASE): Bump for 2.13 release.
20741 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20742
620a0529
UD
20743 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20744
18ba70a5
UD
20745 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20746 MADV_NOHUGEPAGE.
32465c3e
UD
20747 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20752 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20753
c0dafcf1
UD
20754 * posix/getconf.c: Update copyright year.
20755 * catgets/gencat.c: Likewise.
20756 * csu/version.c: Likewise.
20757 * debug/catchsegv.sh: Likewise.
20758 * debug/xtrace.sh: Likewise.
20759 * elf/ldconfig.c: Likewise.
20760 * elf/ldd.bash.in: Likewise.
20761 * elf/sprof.c (print_version): Likewise.
20762 * iconv/iconv_prog.c: Likewise.
20763 * iconv/iconvconfig.c: Likewise.
20764 * locale/programs/locale.c: Likewise.
20765 * locale/programs/localedef.c: Likewise.
20766 * malloc/memusage.sh: Likewise.
20767 * malloc/mtrace.pl: Likewise.
20768 * nscd/nscd.c (print_version): Likewise.
20769 * nss/getent.c: Likewise.
20770
a77e8cbc
UD
20771 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20772 PF_CAIF, and PF_ALG.
20773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20774
77e8bddf
AS
207752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20776
1f20b93a
AS
20777 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20778 (modules-names): Use them.
20779 (ifunc-test-modules, ifunc-pie-tests): Define.
20780 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20781 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20782 (test-extras): Likewise.
20783 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20784 $(compile-command.c).
20785 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20786 (all-built-dso): Define.
20787 (check-textrel.out, check-execstack.out): Depend on it.
20788
77e8bddf
AS
20789 * configure.in: Don't override --enable-multi-arch.
20790
bc425b33
UD
207912011-01-15 Ulrich Drepper <drepper@gmail.com>
20792
20793 [BZ #6812]
20794 * nscd/hstcache.c (tryagain): Define.
20795 (cache_addhst): Return tryagain not notfound for temporary errors.
20796 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20797 failed.
20798
794c3ad3
UD
207992011-01-14 Ulrich Drepper <drepper@gmail.com>
20800
70181fdd
UD
20801 [BZ #10563]
20802 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20803 to make the syscall.
20804 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20805
794c3ad3
UD
20806 [BZ #12378]
20807 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20808 and fall back to matching as normal character if the string ends before
20809 the matching ']' is found. This is what POSIX requires.
20810 * posix/testfnm.c: Adjust test result.
20811 * posix/globtest.sh: Adjust test result. Add new test.
20812 * posix/tst-fnmatch.input: Likewise.
20813 * posix/tst-fnmatch2.c: Add new test.
20814
68dc9497
AS
208152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20816
20817 * elf/Makefile (check-execstack): Revert last change. Depend on
20818 check-execstack.h.
20819 (check-execstack.h): New target.
20820 (generated): Add check-execstack.h.
20821 * elf/check-execstack.c: Include "check-execstack.h".
20822 (main): Revert last change.
20823 (handle_file): Return zero if GNU_STACK is absent and
20824 DEFAULT_STACK_PERMS doesn't include PF_X.
20825
451f001b
UD
208262011-01-13 Ulrich Drepper <drepper@gmail.com>
20827
cfa28e56
UD
20828 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20829 in child fails because the descriptor is already closed.
8cf8ce17
UD
20830 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20831 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20832 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 20833
1086d70d
UD
20834 [BZ #12397]
20835 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20836 syscall.
20837
451f001b
UD
20838 [BZ #10484]
20839 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20840 temporary buffer used to handle multi lookups locally.
a85b5cb4 20841 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 20842
08769175
UD
208432011-01-12 Ulrich Drepper <drepper@gmail.com>
20844
20845 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20846 loader is ld.so.
20847
5e49c52e
UD
208482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20849
20850 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20851 alignment for SSE2.
20852
60522a5f
UD
208532011-01-12 Ulrich Drepper <drepper@gmail.com>
20854
20855 [BZ #12394]
20856 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20857 characters. When rounding increased number of integer digits recompute
20858 number of groups.
20859 * stdio-common/tst-grouping.c: New file.
20860 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20861
f257bbd7
UD
208622011-01-09 Ulrich Drepper <drepper@gmail.com>
20863
20864 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20865 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20866
20867 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20868 void.
20869 * bits/select.h: Likewise.
20870
fa9c15cb
UD
208712011-01-08 Ulrich Drepper <drepper@gmail.com>
20872
20873 * po/ja.po: Update from translation team.
20874
16c2895f
DM
208752011-01-04 David S. Miller <davem@sunset.davemloft.net>
20876
20877 [BZ #11155]
20878 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20879 implementation just like for lxstat, fxstatat, et al.
20880
2543fef2
JM
208812010-12-27 Jim Meyering <meyering@redhat.com>
20882
20883 [BZ #12348]
20884 * posix/regexec.c (build_trtable): Return failure indication upon
20885 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20886
98727dbe
UD
208872010-12-25 Ulrich Drepper <drepper@gmail.com>
20888
5bd6dc5c
UD
20889 [BZ #12201]
20890 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20891 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20892 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20893 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20894
97983464
UD
20895 [BZ #12207]
20896 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20897
98727dbe
UD
20898 [BZ #12204]
20899 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20900 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20901
4a531bb0
L
209022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20903
20904 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20905 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20906 script has SORT_BY_INIT_PRIORITY.
20907 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20908 NO_CTORS_DTORS_SECTIONS is defined.
20909 * elf/soinit.c: Likewise.
20910 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20911 NO_CTORS_DTORS_SECTIONS is defined.
20912 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20913 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20914 * sysdeps/sh/init-first.c: Likewise.
20915 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20916
07eb4b71
UD
209172010-12-24 Ulrich Drepper <drepper@gmail.com>
20918
20919 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20920 always use the slow path.
20921
30950a5f
RA
209222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20923
20924 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20925 similar rule which adds the sysdep directories to the header search in
20926 order to pick up the correct platform stackinfo.h.
20927 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20928 perform test if it is, otherwise return successfully without testing.
20929 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20930 DEFAULT_STACK_PERMS define in stackinfo.h.
20931 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20932 defined in stackinfo.h.
20933 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20934 DEFAULT_STACK_PERMS defined in stackinfo.h.
20935 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20936 * sysdeps/ia64/stackinfo.h: Likewise.
20937 * sysdeps/s390/stackinfo.h: Likewise.
20938 * sysdeps/sh/stackinfo.h: Likewise.
20939 * sysdeps/sparc/stackinfo.h: Likewise.
20940 * sysdeps/x86_64/stackinfo.h: Likewise.
20941 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20942 PF_X for powerpc64. Retain PF_X for powerpc32.
20943
db753e2c
UD
209442010-12-19 Ulrich Drepper <drepper@gmail.com>
20945
14b697f7
UD
20946 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20947 accurately.
db753e2c
UD
20948 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20949 GETDENTS_64BIT_ALIGNED.
20950
28300719
UD
209512010-12-14 Ulrich Drepper <dreper@gmail.com>
20952
14b697f7 20953 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 20954
4f197237
AS
209552010-12-10 Andreas Schwab <schwab@redhat.com>
20956
dbb0472f
AS
20957 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20958 _GNU_SOURCE.
20959
4f197237
AS
20960 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20961 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20962 Remove __restrict.
20963 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20964 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20965
fb88ac72
UD
209662010-12-09 Ulrich Drepper <drepper@gmail.com>
20967
20968 [BZ #11655]
20969 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20970 are initialized.
20971
42acbb92
JJ
209722010-12-09 Jakub Jelinek <jakub@redhat.com>
20973
20974 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20975
c038d98d
UD
209762010-12-03 Ulrich Drepper <drepper@gmail.com>
20977
20978 * po/it.po: Update from translation team.
20979
3a4a2499
L
209802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20981
20982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20983 unused codes.
20984
1e24cf6e
UD
209852010-11-30 Ulrich Drepper <drepper@gmail.com>
20986
20987 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20988
a7690819
AS
209892010-11-24 Andreas Schwab <schwab@redhat.com>
20990
20991 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20992 specially.
20993 (gaih_getanswer_slice): Likewise.
20994
3bf8d1b1
JJ
209952010-10-20 Jakub Jelinek <jakub@redhat.com>
20996
20997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20998
6db52fbb
PB
209992010-05-31 Petr Baudis <pasky@suse.cz>
21000
21001 [BZ #11149]
21002 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21003 silently even in the chroot mode.
21004
eaca7569
UD
210052010-11-22 Ulrich Drepper <drepper@gmail.com>
21006
21007 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21008 last patch a bit. Pretty printing
21009
3056dcdb
UD
210102010-05-31 Petr Baudis <pasky@suse.cz>
21011
21012 [BZ #10085]
21013 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21014 initialization of skip_initgroups_dyn.
21015
cf7c9078
UD
210162010-11-19 Ulrich Drepper <drepper@gmail.com>
21017
21018 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21019 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21020
a1fb5e3e
UD
210212010-11-16 Ulrich Drepper <drepper@gmail.com>
21022
21023 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21024
3540d66b
AS
210252010-11-11 Andreas Schwab <schwab@redhat.com>
21026
21027 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21028 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21029 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21030 ($(objpfx)tst-fnmatch-mem): New rule.
21031 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21032 * posix/tst-fnmatch.c (main): Call mtrace.
21033
13b69574
L
210342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21035
21036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21037 Support Intel processor model 6 and model 0x2c.
21038
da93d214
LM
210392010-11-10 Luis Machado <luisgpm@br.ibm.com>
21040
21041 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21042 signed comparison.
21043
8ca52c6e
L
210442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21045
21046 [BZ #12205]
21047 * string/test-strncasecmp.c (check_result): New function.
21048 (do_one_test): Use it.
21049 (check1): New function.
21050 (test_main): Use it.
21051 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21052 Support strcasecmp and strncasecmp.
21053
69da074d
UD
210542010-11-08 Ulrich Drepper <drepper@gmail.com>
21055
21056 [BZ #12194]
21057 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21058 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21059
ff02d528
L
210602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21061
21062 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21063 IFUNC support.
21064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21065 memset-x86-64.
21066 * sysdeps/x86_64/multiarch/bzero.S: New file.
21067 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21068 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21069 * sysdeps/x86_64/multiarch/memset.S: New file.
21070 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21072 Set bit_Prefer_SSE_for_memop for Intel processors.
21073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21074 Define.
21075 (index_Prefer_SSE_for_memop): Define.
21076 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21077
344d0b54
LM
210782010-11-04 Luis Machado <luisgpm@br.ibm.com>
21079
21080 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21081 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21082
c0dde15b
UD
210832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21084
21085 [BZ #12191]
21086 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21087 (__x86_64_raw_data_cache_size_half): Likewise.
21088 (__x86_64_raw_shared_cache_size): Likewise.
21089 (__x86_64_raw_shared_cache_size_half): Likewise.
21090
21091 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21092 (__x86_64_raw_data_cache_size_half): Likewise.
21093 (__x86_64_raw_shared_cache_size): Likewise.
21094 (__x86_64_raw_shared_cache_size_half): Likewise.
21095 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21096 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21097 and __x86_64_raw_shared_cache_size_half. Round
21098 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21099 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21100 to multiple of 256 bytes.
21101
0e516e0e
MS
211022010-11-03 Ulrich Drepper <drepper@gmail.com>
21103
21104 [BZ #12167]
21105 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21106 of inacessible symlinks. Verify result of symlink before returning it.
21107 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21108 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21109
0e012e87
ER
211102010-10-28 Erich Ritz <erichritz@gmail.com>
21111
21112 * math/math.h (isinf): Fix typo in comment.
21113
de0ff7bc
UD
211142010-11-01 Ulrich Drepper <drepper@gmail.com>
21115
21116 * po/da.po: Update from translation team.
21117
fa41c84d
UD
211182010-10-26 Ulrich Drepper <drepper@gmail.com>
21119
21120 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21121 is added to the list.
21122
f0967738
AK
211232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21124 Ulrich Drepper <drepper@gmail.com>
21125
21126 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21127 the global list here. Move code to...
21128 (_dl_add_to_namespace_list): ...here. New function.
21129 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21130 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21131 * elf/dl-load.c (lose): Don't remove the element from the list.
21132 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21133 (_dl_map_object): Likewise.
21134
211352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21136
21137 [BZ #12159]
21138 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21139 into all bytes of SSE register.
21140 Patch by Richard Li <richardpku@gmail.com>.
21141
f0967738 211422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21143
21144 [BZ #12140]
21145 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21146 perturbing.
21147
d0b9e94f
MB
211482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21149
21150 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21151 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21152 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21153 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21155 submachine.
21156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21157
8e9f92e9
AS
211582010-10-22 Andreas Schwab <schwab@redhat.com>
21159
21160 * include/dlfcn.h (__RTLD_SECURE): Define.
21161 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21162 mode & __RTLD_SECURE instead.
21163 (open_path): Rename preloaded parameter to secure.
21164 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21165 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21166 * elf/dl-deps.c (openaux): Likewise.
21167 * elf/rtld.c (struct map_args): Remove is_preloaded.
21168 (map_doit): Don't use it.
21169 (dl_main): Likewise.
21170 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21171 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21172
bc96fbda
AS
211732010-09-09 Andreas Schwab <schwab@redhat.com>
21174
21175 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21176 (sysd-rules-targets): Remove duplicates.
21177 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21178 rtld-%.$o dependency.
21179
22cd1c9b
AS
211802010-10-18 Andreas Schwab <schwab@redhat.com>
21181
21182 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21183 _dl_map_object do it.
21184
18edac48
UD
211852010-10-19 Ulrich Drepper <drepper@gmail.com>
21186
21187 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21188 fast fma builtins, define the macros in the C99 standard.
21189 (FP_FAST_FMAF): Likewise.
21190 (FP_FAST_FMAL): Likewise.
21191 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21192
21193 * bits/mathdef.h: Update copyright year.
21194 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21195
d2050124
MM
211962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21197
21198 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21199 builtins, define the macros in the C99 standard.
21200 (FP_FAST_FMAF): Likewise.
21201 (FP_FAST_FMAL): Likewise.
21202 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21203 multiply/add.
21204 (FP_FAST_FMAF): Likewise.
21205
475facd1
JJ
212062010-10-15 Jakub Jelinek <jakub@redhat.com>
21207
21208 [BZ #3268]
21209 * math/libm-test.inc (fma_test): Some new testcases.
21210 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21211 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21212 y and infinite z. Do multiplication by C already in long double.
21213 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21215 y and infinite z. Do bitwise or of inexact bit into u.d.
21216 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21217 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21218 * sysdeps/i386/fpu/s_fma.S: Removed.
21219 * sysdeps/i386/fpu/s_fmal.S: Removed.
21220
7c08a05c
JJ
212212010-10-16 Jakub Jelinek <jakub@redhat.com>
21222
21223 [BZ #3268]
21224 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21226 computation is not scheduled after fetestexcept. Fix value
21227 of minimum denormal long double.
21228
f3f7372d
JJ
212292010-10-14 Jakub Jelinek <jakub@redhat.com>
21230
21231 [BZ #3268]
21232 * math/libm-test.inc (fma_test): Add some more tests.
21233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21234 correctly.
21235
14d43591
AS
212362010-10-15 Andreas Schwab <schwab@redhat.com>
21237
21238 * scripts/data/localplt-s390-linux-gnu.data: New file.
21239 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21240
5e908464
JJ
212412010-10-13 Jakub Jelinek <jakub@redhat.com>
21242
21243 [BZ #3268]
21244 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21245 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21246 instead of dbl-64.
21247 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21248 inlines.
21249 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21251 if one of x and y is very large and the other is subnormal.
21252 * sysdeps/s390/fpu/s_fmaf.c: New file.
21253 * sysdeps/s390/fpu/s_fma.c: New file.
21254 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21255 * sysdeps/powerpc/fpu/s_fma.S: New file.
21256 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21257 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21258 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21259
212602010-10-12 Jakub Jelinek <jakub@redhat.com>
21261
21262 [BZ #3268]
21263 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21264 fma tests.
21265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21266 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21267 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21268 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21269 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21270 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21271 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21272
b833d51f
UD
212732010-10-12 Ulrich Drepper <drepper@redhat.com>
21274
21275 [BZ #12078]
21276 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21277 * posix/bug-regex31.input: Add test case.
21278
1751705d
UD
212792010-10-11 Ulrich Drepper <drepper@gmail.com>
21280
e9b9cbf5
UD
21281 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21282 * posix/bug-regex31.input: New file.
21283
21284 [BZ #12078]
21285 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21286 (parse_sub_exp): Fix last change, use postorder.
21287
ef06edbe
UD
21288 * posix/bug-regex31.c: New file.
21289 * posix/Makefile: Add rules to build and run bug-regex31.
21290
a129c80d
UD
21291 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21292
21293 [BZ #12078]
21294 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21295
b76b818e
UD
21296 [BZ #12108]
21297 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21298 to have entries in sys_siglist.
21299
1751705d
UD
21300 [BZ #12093]
21301 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21302 be NULL.
21303
9ff8d36f
JJ
213042010-10-07 Jakub Jelinek <jakub@redhat.com>
21305
21306 [BZ #3268]
21307 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21308 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21309 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21310 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21311 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21312 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21313 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21314 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21315 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21316 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21317 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21318 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21319 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21320 * math/ftestexcept.c (fetestexcept): Likewise.
21321 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21322 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21323 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21324 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21325 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21326 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21327 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21328
af325969
UD
213292010-10-11 Ulrich Drepper <drepper@gmail.com>
21330
c579b202 21331 [BZ #12107]
af325969
UD
21332 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21333 newline.
21334
67a67b95
UD
213352010-10-06 Ulrich Drepper <drepper@gmail.com>
21336
21337 * string/bug-strstr1.c: New file.
21338 * string/Makefile: Add rules to build and run bug-strstr1.
21339
5fb308bc
EB
213402010-10-05 Eric Blake <eblake@redhat.com>
21341
21342 [BZ #12092]
21343 * string/str-two-way.h (two_way_long_needle): Always clear memory
21344 when skipping input due to the shift table.
21345
45db99c7
UD
213462010-10-03 Ulrich Drepper <drepper@gmail.com>
21347
3b111893
UD
21348 [BZ #12005]
21349 * malloc/mcheck.c: Handle large requests.
21350
45db99c7
UD
21351 [BZ #12077]
21352 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21353 for strncmp and strncasecmp.
21354 * string/stratcliff.c: Add tests for strcmp and strncmp.
21355 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21356
cf7a1eb8
NI
213572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21358
21359 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21360 __set_fpscr.
21361
6484ba5e
AJ
213622010-09-30 Andreas Jaeger <aj@suse.de>
21363
21364 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21365 (CGROUP_SUPER_MAGIC): Define.
21366 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21367 Handle btrfs and cgroup file systems.
21368 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21369 Likewise.
21370
91c42559
LM
213712010-09-27 Luis Machado <luisgpm@br.ibm.com>
21372
21373 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21374 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21375
87a97932
AK
213762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21377
21378 [BZ #12067]
21379 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21380 trying to locate the ELF header.
21381
c21cc9bc
AS
213822010-09-27 Andreas Schwab <schwab@redhat.com>
21383
21384 [BZ #11611]
21385 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21386 Mask out sign-bit copies when constructing f_fsid.
21387
315970f6
PB
213882010-09-24 Petr Baudis <pasky@suse.cz>
21389
21390 * debug/stack_chk_fail_local.c: Add missing licence exception.
21391 * debug/warning-nop.c: Likewise.
21392
1ac7a2c7
JM
213932010-09-15 Joseph Myers <joseph@codesourcery.com>
21394
21395 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21396 implementing getdents64 using getdents syscall, set d_type if
21397 __ASSUME_GETDENTS32_D_TYPE.
21398
56801c50
AS
213992010-09-16 Andreas Schwab <schwab@redhat.com>
21400
21401 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21402 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21403
dda51327
UD
214042010-09-21 Ulrich Drepper <drepper@redhat.com>
21405
21406 [BZ #12037]
21407 * posix/unistd.h: Undo change of feature selection for ftruncate from
21408 2010-01-11.
21409
8ffcee4a
UD
214102010-09-20 Ulrich Drepper <drepper@redhat.com>
21411
a545ecd9 21412 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21413 detection.
21414
e24f0a8b
AS
214152010-09-20 Andreas Schwab <schwab@redhat.com>
21416
21417 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21418 fanotify_mark.
21419 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21420
7291c56f
AS
214212010-09-14 Andreas Schwab <schwab@redhat.com>
21422
21423 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21424 variables after CHECK_SP call.
21425 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21426
bc5fb037
AS
214272010-09-13 Andreas Schwab <schwab@redhat.com>
21428 Ulrich Drepper <drepper@redhat.com>
21429
21430 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21431 re-relocationg ld.so.
21432 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21433 _dl_init_paths call.
21434 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21435 here anymore.
21436
e66e7419
UD
214372010-09-14 Ulrich Drepper <drepper@redhat.com>
21438
21439 * resolv/res_init.c (__res_vinit): Count the default server we added.
21440
c044aa75
CLT
214412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21442 Ulrich Drepper <drepper@redhat.com>
21443
21444 [BZ #11968]
21445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21446 (____longjmp_chk): Use %ebx for saving value across system call.
21447 Add unwind info.
21448
32cf4069
AS
214492010-09-06 Andreas Schwab <schwab@redhat.com>
21450
21451 * manual/Makefile: Don't mix pattern rules with normal rules.
21452
817328ee
AS
214532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21454
21455 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21456 operation.
21457 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21458 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21459 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21460 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21461 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21462 Likewise.
21463
29fddf61
UD
214642010-09-04 Ulrich Drepper <drepper@redhat.com>
21465
21466 [BZ #11979]
21467 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21468 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21469
0959ffc9
UD
214702010-09-02 Ulrich Drepper <drepper@redhat.com>
21471
21472 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21473 * sysdeps/x86_64/addmul_1.S: Likewise.
21474 * sysdeps/x86_64/lshift.S: Likewise.
21475 * sysdeps/x86_64/mul_1.S: Likewise.
21476 * sysdeps/x86_64/rshift.S: Likewise.
21477 * sysdeps/x86_64/sub_n.S: Likewise.
21478 * sysdeps/x86_64/submul_1.S: Likewise.
21479
ece29840
ST
214802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21481
0959ffc9
UD
21482 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21483 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21484 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21485 * bits/sched.h [__need_schedparam]
ece29840 21486 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21487 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21488 (__defined_schedparam): Define to 1.
ece29840
ST
21489 (__sched_param): New structure, identical to sched_param.
21490 (__need_schedparam): Undefine.
21491
e53a31fe
MF
214922010-08-31 Mike Frysinger <vapier@gentoo.org>
21493
fdc0c10d
MF
21494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21495 (epoll_create1): Declare.
21496
e53a31fe
MF
21497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21498
a726d796
AS
214992010-08-31 Andreas Schwab <schwab@redhat.com>
21500
21501 [BZ #7066]
21502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21503 shifting retval into place.
21504
2f3e3dc7
UD
215052010-09-01 Ulrich Drepper <drepper@redhat.com>
21506
f2933da9
UD
21507 * nis/rpcsvc/nis.h: Update copyright notice.
21508 * nis/rpcsvc/nis.x: Likewise.
21509 * nis/rpcsvc/nis_callback.h: Likewise.
21510 * nis/rpcsvc/nis_callback.x: Likewise.
21511 * nis/rpcsvc/nis_object.x: Likewise.
21512 * nis/rpcsvc/nis_tags.h: Likewise.
21513 * nis/rpcsvc/yp.h: Likewise.
21514 * nis/rpcsvc/yp.x: Likewise.
21515 * nis/rpcsvc/ypupd.h: Likewise.
21516 * nis/yp_xdr.c: Likewise.
21517 * nis/ypupdate_xdr.c: Likewise.
21518
2f3e3dc7
UD
21519 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21520 mainly the body of pmap_getport. Add parameters to specify timeouts.
21521 (pmap_getport): Use __libc_rpc_getport.
21522 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21523 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21524 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21525
f3dcc2f9
AS
215262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21527
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21529 fanotify_mark.
21530
6d34eb5b
RM
215312010-08-27 Roland McGrath <roland@redhat.com>
21532
21533 * sysdeps/i386/i686/multiarch/Makefile
21534 (CFLAGS-varshift.c): New variable.
21535
9ea3de11
UD
215362010-08-27 Ulrich Drepper <drepper@redhat.com>
21537
c96d23fc
UD
21538 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21539 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21540
9ea3de11
UD
21541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21542
21543 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21544
623aac7f
L
215452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21546
21547 * sysdeps/x86_64/strlen.S: Unroll the loop.
21548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21549 strlen-sse2 strlen-sse2-bsf.
21550 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21551 __strlen_no_bsf if bit_Slow_BSF is set.
21552 (__strlen_sse42): Removed.
21553 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21554 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21555
8b2b7715
RM
215562010-08-25 Roland McGrath <roland@redhat.com>
21557
21558 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21559 * sysdeps/x86_64/multiarch/varshift.c: New file.
21560 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21561 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21562 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21563 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21564
e73015f2
L
215652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21566
21567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21568 strlen-sse2 strlen-sse2-bsf.
21569 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21570 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21571 (__strlen_sse2): Removed.
21572 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21575 bit_Slow_BSF for Atom.
21576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21577 (index_Slow_BSF): Define.
21578 (HAS_SLOW_BSF): Define.
21579
df24a73e
UD
215802010-08-25 Ulrich Drepper <drepper@redhat.com>
21581
21582 [BZ #10851]
21583 * resolv/res_init.c (__res_vinit): When no server address at all
21584 is given default to loopback.
21585
f2ac4868
RM
215862010-08-24 Roland McGrath <roland@redhat.com>
21587
09055553
RM
21588 * configure.in: Remove config-name.h generation.
21589 * configure: Regenerated.
21590 * config-name.in: File removed.
21591 * scripts/config-uname.sh: New file.
21592 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21593 ($(objdir)config-name.h): New target.
21594
f2ac4868
RM
21595 * sunrpc/rpc_parse.h: Avoid nested comment.
21596
73f27d5e
RH
215972010-08-24 Richard Henderson <rth@redhat.com>
21598 Ulrich Drepper <drepper@redhat.com>
21599 H.J. Lu <hongjiu.lu@intel.com>
21600
21601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21603 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21604 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21605 _mm_alignr_epi8 with _mm_loadu_si128.
21606 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21607 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21608 (__m128i_shift_right): Removed.
21609 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21610 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21611 * sysdeps/x86_64/multiarch/varshift.h: New file.
21612 * sysdeps/x86_64/multiarch/varshift.S: New file.
21613
84b9230c
MF
216142010-08-21 Mike Frysinger <vapier@gentoo.org>
21615
21616 * configure.in: Move assembler checks to before sysdep dir checking.
21617
9bbd0ddc
PB
216182010-08-20 Petr Baudis <pasky@suse.cz>
21619
21620 * LICENSES: Sync the sunrpc license.
21621
9da4bb31
UD
216222010-08-19 Ulrich Drepper <drepper@redhat.com>
21623
a7ab6ec8
UD
21624 * sunrpc/auth_des.c: Update copyright notice once again.
21625 * sunrpc/auth_none.c: Likewise.
21626 * sunrpc/auth_unix.c: Likewise.
21627 * sunrpc/authdes_prot.c: Likewise.
21628 * sunrpc/authuxprot.c: Likewise.
21629 * sunrpc/bindrsvprt.c: Likewise.
21630 * sunrpc/clnt_gen.c: Likewise.
21631 * sunrpc/clnt_perr.c: Likewise.
21632 * sunrpc/clnt_raw.c: Likewise.
21633 * sunrpc/clnt_simp.c: Likewise.
21634 * sunrpc/clnt_tcp.c: Likewise.
21635 * sunrpc/clnt_udp.c: Likewise.
21636 * sunrpc/clnt_unix.c: Likewise.
21637 * sunrpc/des_crypt.c: Likewise.
21638 * sunrpc/des_soft.c: Likewise.
21639 * sunrpc/get_myaddr.c: Likewise.
21640 * sunrpc/getrpcport.c: Likewise.
21641 * sunrpc/key_call.c: Likewise.
21642 * sunrpc/key_prot.c: Likewise.
21643 * sunrpc/openchild.c: Likewise.
21644 * sunrpc/pm_getmaps.c: Likewise.
21645 * sunrpc/pm_getport.c: Likewise.
21646 * sunrpc/pmap_clnt.c: Likewise.
21647 * sunrpc/pmap_prot.c: Likewise.
21648 * sunrpc/pmap_prot2.c: Likewise.
21649 * sunrpc/pmap_rmt.c: Likewise.
21650 * sunrpc/rpc/auth.h: Likewise.
21651 * sunrpc/rpc/auth_unix.h: Likewise.
21652 * sunrpc/rpc/clnt.h: Likewise.
21653 * sunrpc/rpc/des_crypt.h: Likewise.
21654 * sunrpc/rpc/key_prot.h: Likewise.
21655 * sunrpc/rpc/netdb.h: Likewise.
21656 * sunrpc/rpc/pmap_clnt.h: Likewise.
21657 * sunrpc/rpc/pmap_prot.h: Likewise.
21658 * sunrpc/rpc/pmap_rmt.h: Likewise.
21659 * sunrpc/rpc/rpc.h: Likewise.
21660 * sunrpc/rpc/rpc_des.h: Likewise.
21661 * sunrpc/rpc/rpc_msg.h: Likewise.
21662 * sunrpc/rpc/svc.h: Likewise.
21663 * sunrpc/rpc/svc_auth.h: Likewise.
21664 * sunrpc/rpc/types.h: Likewise.
21665 * sunrpc/rpc/xdr.h: Likewise.
21666 * sunrpc/rpc_clntout.c: Likewise.
21667 * sunrpc/rpc_cmsg.c: Likewise.
21668 * sunrpc/rpc_common.c: Likewise.
21669 * sunrpc/rpc_cout.c: Likewise.
21670 * sunrpc/rpc_dtable.c: Likewise.
21671 * sunrpc/rpc_hout.c: Likewise.
21672 * sunrpc/rpc_main.c: Likewise.
21673 * sunrpc/rpc_parse.c: Likewise.
21674 * sunrpc/rpc_parse.h: Likewise.
21675 * sunrpc/rpc_prot.c: Likewise.
21676 * sunrpc/rpc_sample.c: Likewise.
21677 * sunrpc/rpc_scan.c: Likewise.
21678 * sunrpc/rpc_scan.h: Likewise.
21679 * sunrpc/rpc_svcout.c: Likewise.
21680 * sunrpc/rpc_tblout.c: Likewise.
21681 * sunrpc/rpc_util.c: Likewise.
21682 * sunrpc/rpc_util.h: Likewise.
21683 * sunrpc/rpcinfo.c: Likewise.
21684 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21685 * sunrpc/rpcsvc/key_prot.x: Likewise.
21686 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21687 * sunrpc/rpcsvc/mount.x: Likewise.
21688 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21689 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21690 * sunrpc/rpcsvc/rex.x: Likewise.
21691 * sunrpc/rpcsvc/rstat.x: Likewise.
21692 * sunrpc/rpcsvc/rusers.x: Likewise.
21693 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21694 * sunrpc/rpcsvc/spray.x: Likewise.
21695 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21696 * sunrpc/rtime.c: Likewise.
21697 * sunrpc/svc.c: Likewise.
21698 * sunrpc/svc_auth.c: Likewise.
21699 * sunrpc/svc_authux.c: Likewise.
21700 * sunrpc/svc_raw.c: Likewise.
21701 * sunrpc/svc_run.c: Likewise.
21702 * sunrpc/svc_simple.c: Likewise.
21703 * sunrpc/svc_tcp.c: Likewise.
21704 * sunrpc/svc_udp.c: Likewise.
21705 * sunrpc/svc_unix.c: Likewise.
21706 * sunrpc/svcauth_des.c: Likewise.
21707 * sunrpc/xcrypt.c: Likewise.
21708 * sunrpc/xdr.c: Likewise.
21709 * sunrpc/xdr_array.c: Likewise.
21710 * sunrpc/xdr_float.c: Likewise.
21711 * sunrpc/xdr_mem.c: Likewise.
21712 * sunrpc/xdr_rec.c: Likewise.
21713 * sunrpc/xdr_ref.c: Likewise.
21714 * sunrpc/xdr_sizeof.c: Likewise.
21715 * sunrpc/xdr_stdio.c: Likewise.
21716
9da4bb31
UD
21717 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21718 handling.
21719
bdaa77bc
AS
217202010-08-19 Andreas Schwab <schwab@redhat.com>
21721
21722 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21723
fe2f79db
LM
217242010-08-19 Luis Machado <luisgpm@br.ibm.com>
21725
21726 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21727 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21728 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21729 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21730 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21731 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21732 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21733 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21734 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21735 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21736 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21737 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21738 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21739 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21740
b9b42ee0
AB
217412010-07-26 Anton Blanchard <anton@samba.org>
21742
21743 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21744 * malloc/arena.c (heap_trim): Likewise.
21745
1c06ba31
UD
217462010-08-16 Ulrich Drepper <drepper@redhat.com>
21747
21748 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21749 here. Not...
21750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21751 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21752
f8392f40
L
217532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21754
21755 * sysdeps/i386/elf/Makefile: New file.
21756
3162f12e
AS
217572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21758
21759 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21760 from fanotify_init.
21761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21763
28c90b2c
UD
217642010-08-15 Ulrich Drepper <drepper@redhat.com>
21765
21766 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21767 of strncasecmp_l.
1feccb6c 21768 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21769
ca6bb004
UD
217702010-08-14 Ulrich Drepper <drepper@redhat.com>
21771
e9f82e0d
UD
21772 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21773 strncase_l-nonascii.
21774 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21775 Add strncase_l-ssse3.
21776 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21777 * sysdeps/x86_64/strcmp.S: Likewise.
21778 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21779 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21780 * sysdeps/x86_64/strncase.S: New file.
21781 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21782 * sysdeps/x86_64/strncase_l.S: New file.
21783 * string/Makefile (strop-tests): Add strncasecmp.
21784 * string/test-strncasecmp.c: New file.
21785
21786 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21787 warning.
21788
ca6bb004
UD
21789 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21790 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21791
052fa7b3
AS
217922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21793
21794 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21795
962dba78
UD
217962010-08-12 Ulrich Drepper <drepper@redhat.com>
21797
21798 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21799 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21800 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21801
bebff237
AM
218022010-05-01 Alan Modra <amodra@gmail.com>
21803
21804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21805 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21806 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21807 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21808 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21809 tidying. Don't tail-call __sigjmp_save for static lib.
21810 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21811 save location.
21812 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21813 (CALL_MCOUNT): Add eh info, and nop after bl.
21814 (TAIL_CALL_SYSCALL_ERROR): New macro.
21815 (PSEUDO_RET): Use it.
21816 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21817 Correct save location of integer regs and cr.
21818 (_dl_profile_resolve): Correct cr save location. Delete nops
21819 after bl when SHARED. Reduce cfi size a little by better
21820 placement of cfi directives.
21821 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21822 make a stack frame. Instead use parm save area as a temp.
21823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21824 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21826 Don't make a stack frame for parent, use parm save area.
21827 Increase child stack frame to 112 bytes. Don't save unused reg,
21828 and adjust reg usage. Set up cfi on error recovery and
21829 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21831 (__makecontext): Add dummy nop after jump to exit.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21833 Use correct parm save area and cr save, reduce stack frame.
21834 Correct cfi for possible PSEUDO_RET frame setup.
21835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21836 Branch to local label emitted by PSEUDO_RET rather than
21837 __syscall_error.
21838
02637374
AS
218392010-08-12 Andreas Schwab <schwab@redhat.com>
21840
21841 [BZ #11904]
21842 * locale/programs/locale.c (print_assignment): New function.
21843 (show_locale_vars): Use it.
21844
c3e2f19b
UD
218452010-08-11 Ulrich Drepper <drepper@redhat.com>
21846
3cdaa6ad
UD
21847 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21848 field.
21849 (struct statfs64): Likewise.
21850 (_STATFS_F_FLAGS): Define.
21851 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21852 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21853 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21854 (ST_VALID): Define locally.
21855 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21856 __statvfs_getflags, use the provided value.
21857 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21858 __ASSUME_STATFS_F_FLAGS.
21859
754f7da3
UD
21860 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21861
10b3bedc
UD
21862 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21863 Add sys/fanotify.h.
21864 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21865 fanotify_mask for GLIBC_2.13.
21866 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21867 fanotify_init and fanotify_mark.
21868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21869 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21870
c08fb0d7
UD
21871 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21872 Add prlimit.
21873 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21874 prlimit64 for GLIBC_2.13.
21875 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21876 prlimit64.
21877 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21878 syscall.
21879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21880 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21881 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21882 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21883 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21884 add prlimit alias.
21885 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21886
15bac72b
UD
21887 [BZ #11903]
21888 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21889 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21890
c3e2f19b
UD
21891 * nss/Makefile: Add rules to build and run tst-nss-test1.
21892 * shlib-versions: Add entry for libnss_test1.
21893 * nss/nss_test1.c: New file.
21894 * nss/tst-nss-test1.c: New file.
21895
21896 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21897 (__nss_configure_lookup): Set appropriate entry in
21898 __nss_configure_lookup to true.
21899 * nss/nsswitch.h: Define enum with indeces of databases in
21900 databases and __nss_database_custom arrays. Declare
21901 __nss_database_custom.
21902 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21903 to avoid using nscd when custom rules are installed.
21904 * nss/getXXbyYY_r.c: Likewise.
21905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21906
21907 * nss/nss_files/files-parse.c: Whitespace fixes.
21908
f15ce4d8
UD
219092010-08-09 Ulrich Drepper <drepper@redhat.com>
21910
21911 [BZ #11883]
21912 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21913 * posix/fnmatch_loop.c: Likewise.
21914
d22e4cc9
AK
219152010-07-17 Andi Kleen <ak@linux.intel.com>
21916
21917 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21918 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21919 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21920 * Versions.def [GLIBC_2.13]: Add.
21921
805bc17d
UD
219222010-08-06 Ulrich Drepper <drepper@redhat.com>
21923
21924 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21925 Also fail if tpwd after pwuid call is NULL.
21926
5a42321d
ST
219272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21928
21929 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21930 when converting to ms.
21931
fd3ebeda
ST
219322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21933
21934 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21935 EOPNOTSUPP errors with ENOTTY.
21936 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21937 EOPNOTSUPP errors with ENOTTY.
21938
73507d3a
UD
219392010-07-31 Ulrich Drepper <drepper@redhat.com>
21940
21941 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21942 Add strcasecmp_l-ssse3.
21943 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21944 strcasecmp.
21945 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21946 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21947 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21948
fe36dd02
UD
219492010-07-30 Ulrich Drepper <drepper@redhat.com>
21950
66f6765a
UD
21951 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21952
42e08a54
UD
21953 * string/Makefile (strop-tests): Add strcasecmp.
21954 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21955 strcasecmp_l-nonascii.
21956 (gen-as-const-headers): Add locale-defines.sym.
21957 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21958 * sysdeps/x86_64/strcasecmp.S: New file.
21959 * sysdeps/x86_64/strcasecmp_l.S: New file.
21960 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21961 * sysdeps/x86_64/locale-defines.sym: New file.
21962 * string/test-strcasecmp.c: New file.
21963
fe36dd02
UD
21964 * string/test-strcasestr.c: Test both ends of the range of characters.
21965 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21966
48cbc0d6
RM
219672010-07-29 Roland McGrath <roland@redhat.com>
21968
76e6d6bc 21969 [BZ #11856]
48cbc0d6
RM
21970 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21971
880113d9
UD
219722010-07-27 Ulrich Drepper <drepper@redhat.com>
21973
21974 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21975 for ld.so.
21976
deb9cabb
AS
219772010-07-27 Andreas Schwab <schwab@redhat.com>
21978
21979 * manual/memory.texi (Malloc Tunable Parameters): Document
21980 M_PERTURB.
21981
1c7570ff
RM
219822010-07-26 Roland McGrath <roland@redhat.com>
21983
21984 [BZ #11840]
21985 * configure.in (-fgnu89-inline check): Set and substitute
21986 gnu89_inline, not libc_cv_gnu89_inline.
21987 * configure: Regenerated.
21988 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21989
24fb0f88
UD
219902010-07-26 Ulrich Drepper <drepper@redhat.com>
21991
21992 * string/test-strnlen.c: New file.
21993 * string/Makefile (strop-tests): Add strnlen.
21994 * string/tester.c (test_strnlen): Add a few more test cases.
21995 * string/tst-strlen.c: Better error reporting.
21996
21997 * sysdeps/x86_64/strnlen.S: New file.
21998
8e96b93a
UD
219992010-07-24 Ulrich Drepper <drepper@redhat.com>
22000
22001 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22002 lower-latency instructions.
22003
dbc676d4
UD
220042010-07-23 Ulrich Drepper <drepper@redhat.com>
22005
22006 * string/test-strcasestr.c: New file.
22007 * string/test-strstr.c: New file.
22008 * string/Makefile (strop-tests): Add strstr and strcasestr.
22009 * string/str-two-way.h: Don't undefine MAX.
22010 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22011
f6a31e0e
AS
220122010-07-21 Andreas Schwab <schwab@redhat.com>
22013
22014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22015 strcasestr-nonascii.
22016 (CFLAGS-strcasestr-nonascii.c): Define.
22017 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22018 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22019 Remove unused attribute.
22020
5dbc3b6c
RM
220212010-07-20 Roland McGrath <roland@redhat.com>
22022
22023 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22024 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22025 ld.so.cache was broken. With it, there is no way to disable dsocaps
22026 like LD_HWCAP_MASK can disable hwcaps.
22027
23d101d8
EPM
220282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22029
22030 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22031
cc9f2e47
UD
220322010-07-16 Ulrich Drepper <drepper@redhat.com>
22033
22034 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22035 call in strcasestr.
22036 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22037 __strcasestr_sse42_nonascii.
22038 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22039 strcasestr-nonascii.c.
22040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22041
77c1b069
LM
220422010-06-15 Luis Machado <luisgpm@br.ibm.com>
22043
22044 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22045 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22046 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22047 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22048
440566c3
UD
220492010-07-09 Ulrich Drepper <drepper@redhat.com>
22050
22051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22052 fcntl.
22053
5be9d05d
AS
220542010-07-06 Andreas Schwab <schwab@redhat.com>
22055
c30b7ee2 22056 [BZ #11577]
5be9d05d
AS
22057 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22058 dl_signal_cerror.
22059
8a492a67
UD
220602010-07-06 Ulrich Drepper <drepper@redhat.com>
22061
22062 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22063 _PC_PIPE_BUF using F_GETPIPE_SZ.
22064
713df3d5
RM
220652010-07-05 Roland McGrath <roland@redhat.com>
22066
22067 * manual/arith.texi (Rounding Functions): Fix rint description
22068 implicit in round description.
22069
702e8f14
UD
220702010-07-02 Ulrich Drepper <drepper@redhat.com>
22071
22072 * elf/Makefile: Fix linking for a few tests to make recent linker
22073 happy.
22074
52ed8be9
AS
220752010-06-30 Andreas Schwab <schwab@redhat.com>
22076
22077 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22078 $(common-objpfx)libc_nonshared.a.
22079
f47c9a11
LM
220802010-06-21 Luis Machado <luisgpm@br.ibm.com>
22081
22082 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22083 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22084 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22085 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22086 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22087 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22088 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22089 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22104 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22105 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22106 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22107 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22108 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22109 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22110 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22111 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22112 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22113 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22114 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22115 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22130
6fb8cbcb
L
221312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22132
22133 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22134 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22135 * string/memmove.c (memmove): Renamed to ...
22136 (MEMMOVE): ...this. Default to memmove.
22137 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22138 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22139 (END_CHK): Define.
22140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22141 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22142 mempcpy-ssse3-back memmove-ssse3-back.
22143 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22144 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22146 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22147 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22148 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22149 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22150 * sysdeps/x86_64/multiarch/memmove.c: New file.
22151 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22152 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22153 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22154 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22155 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22156 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22157 Define.
22158 (index_Fast_Copy_Backward): Define.
22159 (HAS_ARCH_FEATURE): Define.
22160 (HAS_FAST_REP_STRING): Define.
22161 (HAS_FAST_COPY_BACKWARD): Define.
22162
4e733bac 221632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22164
22165 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22166 Restore proper fallback handling.
22167
63c4ed22
UD
221682010-06-19 Ulrich Drepper <drepper@redhat.com>
22169
ac2b484c
UD
22170 [BZ #11701]
22171 * posix/group_member.c (__group_member): Correct checking loop.
22172
63c4ed22
UD
22173 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22174 OOM in getpwuid_r correctly. Return error number when the caller
22175 should return, otherwise -1.
22176 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22177 call returning > 0 value.
22178 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22179
765ade4b
AS
221802010-06-07 Andreas Schwab <schwab@redhat.com>
22181
22182 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22183 libc_nonshared.a from targets in modules-names.
22184
80da2e09
KS
221852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22186
22187 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22188 requires it.
22189
158db122
LM
221902010-06-10 Luis Machado <luisgpm@br.ibm.com>
22191
22192 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22193 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22195 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22196
caa78cf8
AS
221972010-06-02 Andreas Schwab <schwab@redhat.com>
22198
22199 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22200
b2ef2c01
UD
222012010-06-14 Ulrich Drepper <drepper@redhat.com>
22202
22203 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22204 and F_GETPIPE_SZ.
22205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22210 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22211
fbd643b6
RM
222122010-06-14 Roland McGrath <roland@redhat.com>
22213
22214 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22215
f32f2869
JJ
222162010-06-07 Jakub Jelinek <jakub@redhat.com>
22217
22218 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22219 __REDIRECT followed by __THROW.
22220 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22221 * posix/getopt.h (getopt): Likewise.
22222
2a50c078
EPM
222232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22224
22225 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22226 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22227 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22228 in AT_FLAGS.
22229 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22230 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22231
eb5ad2eb
LM
222322010-05-28 Luis Machado <luisgpm@br.ibm.com>
22233
22234 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22235
3c88fe1e
L
222362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22237
22238 [BZ #11640]
22239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22240 Properly check family and model.
22241
d2f73151
TY
222422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22243
22244 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22245
ebd2e13d
LM
222462010-05-24 Luis Machado <luisgpm@br.ibm.com>
22247
22248 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22249
b32b8b45
UD
222502010-05-21 Ulrich Drepper <drepper@redhat.com>
22251
22252 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22253 symbol reference.
22254
9acbe24d
AS
222552010-05-19 Andreas Schwab <schwab@redhat.com>
22256
22257 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22258 symbol reference.
22259
f0ccf6ea
AS
222602010-05-21 Andreas Schwab <schwab@redhat.com>
22261
3d04ff3a
AS
22262 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22263 and internal_recvmmsg.
22264 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22265 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22266 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22267 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22268
f0ccf6ea
AS
22269 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22270 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22271 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22272
5b08ac57
AS
222732010-05-20 Andreas Schwab <schwab@redhat.com>
22274
22275 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22276
4828935d
LM
222772010-05-17 Luis Machado <luisgpm@br.ibm.com>
22278
22279 POWER7 optimizations.
22280 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22281 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22282
373d545e
UD
222832010-05-19 Ulrich Drepper <drepper@redhat.com>
22284
22285 * version.h: Update for 2.13 development version.
22286
21a2b1ae
AS
222872010-05-12 Andrew Stubbs <ams@codesourcery.com>
22288
22289 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22290 exceptions. Return 0.
22291
3f7dcb2b
RM
222922010-05-07 Roland McGrath <roland@redhat.com>
22293
22294 * elf/ldconfig.c (main): Add a const.
22295
5f24d53a 222962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22297
a160f8d8
UD
22298 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22299 (args_options): Add no-idn option.
22300 (ahosts_keys_int): Add idn_flags to ai_flags.
22301 (parse_option): Handle 'i' option to clear idn_flags.
22302
5f24d53a
UD
22303 * malloc/malloc.c (_int_free): Possible race in the most recently
22304 added check. Only act on the data if no current modification
22305 happened.
265bb1ce
UD
22306
22307See ChangeLog.17 for earlier changes.