]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
check-local-headers: ignore Mach kernel headers
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a93f9cbc
PT
12012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2
3 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4
d64d9f87
AL
52012-11-16 Andrej Lajovic <natrij@gmail.com>
6
7 [BZ #14672]
8 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9
447885eb
DM
102012-11-16 David S. Miller <davem@davemloft.net>
11
12 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13 smaller than LDBL_EPSILON/2.0L, just return xm1.
14
bcbf9830
L
152012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16
17 * elf/tst-array1.c (init): Set constructor priority to 1000.
18 (fini): Set destructor priority to 1000.
19 * elf/tst-array2dep.c: Likewise.
20
2b766585
SP
212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22
23 [BZ #11741]
24 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25 (_IO_new_file_xsputn): Also return EOF if none of the input
26 data was written when overflow failed.
27 * libio/iopadn.c (_IO_padn): Likewise.
28 * libio/iowpadn.c (_IO_wpadn): Likewise.
29 * stdio-common/tst-put-error.c: Add copyright notice.
30 (do_test): Add case for printing padded string.
31 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32 _IO_padn returned error.
33 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35 return EOF.
36
b1848fde
SP
372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38
39 * libio/libioP.h: Add comment note that the references to C++
40 bits are now obsolete.
41
2fd89785
MS
422012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43
44 * math/libm-test.inc (check_complex): Use asprintf.
45
e3ea5409
JM
462012-11-14 Joseph Myers <joseph@codesourcery.com>
47
48 * debug/pcprofiledump.c (print_version): Update copyright year.
49 * malloc/memusagestat.c (print_version): Likewise.
50
2e64d265
L
512012-11-14 H.J. Lu <hongjiu.lu@intel.com>
52
53 [BZ #14831]
54 * elf/Makefile (tests): Add tst-audit8.
55 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56 ($(objpfx)tst-audit8.out): New target.
57 (tst-audit8-ENV): New variable.
58 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59 audit if l_reloc_result is NULL.
60 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62 * elf/tst-audit8.c: New file.
63
c485e4d2
MS
642012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
65
66 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67 * misc/Makefile (CFLAGS-select.c): Define.
68 * posix/Makefile (CFLAGS-pause.c): Define.
69
3a0d900a
DM
702012-11-13 David S. Miller <davem@davemloft.net>
71
72 * crypt/Makefile: Move test targets after toplevel Rules
73 inclusion. Grab any necessary sysdep routines when linking.
74 * crypt/md5.c (md5_process_block): Remove define, we will always
75 name it __md5_process_block.
76 (md5_finish_ctx): Update md5_process_block call.
77 (md5_stream): Likewise.
78 (md5_process_bytes): Likewise.
79 (md5_process_block): Rename to __md5_process_block and move to ...
80 * crypt/md5-block.c: ... here.
81 * crypt/sha256.c (sha256_process_block): Move to ...
82 * crypt/sha256-block.c: ... here.
83 * crypt/sha512.c (sha512_process_block): Move to ...
84 * crypt/sha512-block.c: ... here.
85 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
86 path.
87 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
88 * sysdeps/sparc/sparc64/multiarch/Makefile
89 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
90 crypt subdir.
91 (localedef-aux): Add md5 crypto assembler when in locale subdir.
92 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
93 multiarch changes.
94 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
95 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
96 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
97 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
98 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
99 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
100 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
101 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
102 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
103 file.
104 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
105 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
106 file.
107 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
108
8ca89318
JM
1092012-11-13 Joseph Myers <joseph@codesourcery.com>
110
e27d476a
JM
111 * timezone/tzselect.ksh: Update from tzcode git revision
112 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
113 * timezone/zdump.c: Likewise.
114 * timezone/zic.c: Likewise.
115 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
116 in TZVERSION setting, not $(PKGVERSION).
117 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
118 REPORT_BUGS_TO settings.
119
8ca89318
JM
120 [BZ #14838]
121 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
122 macro.
123
47594329
MS
1242012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
125
126 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
127 detection to immediately after _FP_ROUND().
128 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
129 bits are 0.
130
640ac3f1
DM
1312012-11-11 David S. Miller <davem@davemloft.net>
132
133 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
134 inttypes.h
135 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
136 __close rather than their public counterparts.
137
3d2577bb
JM
1382012-11-10 Joseph Myers <joseph@codesourcery.com>
139
140 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
141 file.
142 [UNIX98] (sem_timedwait): Do not expect.
143 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
144 [XPG4 || UNIX98] (sockatmark): Do not expect.
145 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
146 (clock_getcpuclockid): Do not expect.
147 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
148 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
149 Do not expect.
150 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
151 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
152 [UNIX98] (vwscanf): Likewise.
153 [UNIX98] (vswscanf): Likewise.
154
fb1ae1ee
JM
1552012-11-09 Joseph Myers <joseph@codesourcery.com>
156
9ec6f8bd
JM
157 * timezone/version.h: Remove file.
158 * timezone/README: Do not refer to version.h.
159 * timezone/Makefile ($(objpfx)zic.o): New dependency on
160 $(objpfx)version.h.
161 ($(objpfx)zdump.o): Likewise.
c3f81911 162 ($(objpfx)version.h): New target.
9ec6f8bd 163
0aa8f8a1
JM
164 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
165 2012i.
166 * timezone/README: Don't mention modification to tzselect.ksh.
167 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
168 work on unmodified tzselect.ksh. Substitute version numbers in
169 tzselect.ksh.
170
4e87147f
JM
171 * Makefile (format-me): Remove.
172 (INSTALL): Adjust indentation. Use commands directly instead of
173 using $(format-me).
174
8b748aed
JM
175 * aclocal.m4 (ACX_PKGVERSION): New macro.
176 (ACX_BUGURL): Likewise.
177 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
178 (PKGVERSION): New AC_DEFINE_UNQUOTED.
179 (REPORT_BUGS_TO): Likewise.
180 * configure: Regenerated.
181 * config.h.in (PKGVERSION): New macro.
182 (REPORT_BUGS_TO): Likewise.
183 * config.make.in (PKGVERSION): New variable.
184 (PKGVERSION_TEXI): Likewise.
185 (REPORT_BUGS_TO): Likewise.
186 (REPORT_BUGS_TEXI): Likewise.
187 * Makefile (format-me): Use -I$(common-objpfx)manual.
188 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
189 ($(common-objpfx)manual/%): New target.
190 (manual/%): Remove target.
191 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
192 (print_version): Use PKGVERSION.
193 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
194 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
195 and REPORT_BUGS_TO.
196 ($(objpfx)xtrace): Likewise.
197 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
198 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
199 (print_version): Use PKGVERSION.
200 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
201 (do_version): Use PKGVERSION.
202 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
203 REPORT_BUGS_TO.
204 (common-ldd-rewrite): Likewise.
205 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
206 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
207 (print_version): Use PKGVERSION.
208 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
209 * elf/pldd.c (argp_program_bug_address): Remove variable.
210 (more_help): New function.
211 (argp): Use more_help.
212 (print_version): Use PKGVERSION.
213 * elf/sln.c (main): Use PKGVERSION.
214 (usage): Use REPORT_BUGS_TO.
215 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
216 (top level): Use PKGVERSION.
217 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
218 (print_version): Use PKGVERSION.
219 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
220 (print_version): Use PKGVERSION.
221 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
222 (print_version): Use PKGVERSION.
223 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
224 (print_version): Use PKGVERSION.
225 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
226 (print_version): Use PKGVERSION.
227 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
228 (print_version): Use PKGVERSION.
229 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
230 and BUGURL.
231 ($(objpfx)memusage): Likewise.
232 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
233 (do_version): Use PKGVERSION.
234 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
235 (print_version): Use PKGVERSION.
236 * malloc/mtrace.pl ($PACKAGE): Remove variable.
237 ($PKGVERSION): New variable.
238 ($REPORT_BUGS_TO): Likewise.
239 (usage): Use $REPORT_BUGS_TO.
240 (top level): Use $PKGVERSION.
241 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
242 ($(objpfx)pkgvers.texi): New rule.
243 ($(objpfx)stamp-pkgvers): Likewise.
244 * manual/install.texi: Include pkgvers.texi.
245 (--with-pkgversion): Document new configure option.
246 (--with-bugurl): Likewise.
247 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
248 than necessarily for this particular distribution. Use
249 REPORT_BUGS_TO for where to report bugs.
250 * INSTALL: Regenerated.
251 * manual/libc.texinfo: Include pkgvers.texi.
252 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
253 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
254 (print_version): Use PKGVERSION.
255 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
256 (print_version): Use PKGVERSION.
257 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
258 (print_version): Use PKGVERSION.
259 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
260 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
261 macro.
262 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
263 (print_version): Use PKGVERSION.
264 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
265 (print_version): Use PKGVERSION.
266 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
267 and PKGVERSION.
268
92e4b6a9
JM
269 * timezone/checktab.awk: Update from tzcode 2012i.
270 * timezone/ialloc.c: Likewise.
271 * timezone/private.h: Likewise.
272 * timezone/scheck.c: Likewise.
273 * timezone/tzfile.h: Likewise.
274 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
275 (TZVERSION): Hardcode tzcode version number.
276 * timezone/zdump.c: Update from tzcode 2012i.
277 * timezone/zic.c: Likewise.
278 * timezone/version.h: New file.
279 * timezone/README: Describe version.h. Update upstream location.
280
9bde902c
JM
281 [BZ #14824]
282 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
283 (mktemp): Enable declaration.
284 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
285 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
286 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
288 Likewise.
289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
290 Likewise.
291 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
292 Likewise.
293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
294 Likewise.
295 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
296 Likewise.
297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
298 Likewise.
299
fb1ae1ee
JM
300 [BZ #14821]
301 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
302 offset in buffer as u_int32_t not u_long. Consistently use memcpy
303 for copies of such integer values.
304 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
305 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
306
2c1adbcb
AJ
3072012-11-09 Andreas Jaeger <aj@suse.de>
308
309 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
310 definitions and declarations that are provided by
311 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
312
d0f8457e
AK
3132012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
314
315 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
316 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
317 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
318 definition.
319
57241e26
MS
3202012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
321
322 * elf/elf.h: Update comment before AArch64 relocations.
323
60e8270d
DM
3242012-11-07 David S. Miller <davem@davemloft.net>
325
326 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
327 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
328 (__start_context): Declare.
329 (__makecontext_ret): Delete.
330 (__makecontext): Hook up __start_context instead of
331 __makecontext_ret.
332 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
333 (sysdep_routines): Add __start_context when in stdlib.
334
0fbb0fbc
JM
3352012-11-07 Joseph Myers <joseph@codesourcery.com>
336
337 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
338 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
339 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
340 hardcoded "nm".
341 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
342 (READELF): New variable. Use it instead of hardcoded "readelf".
343
eb48db7e
L
3442012-11-07 H.J. Lu <hongjiu.lu@intel.com>
345
346 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
347 * sysdeps/x86/Makefile: Here.
348 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
349 * sysdeps/x86/tst-xmmymm.sh: This.
350
05bcf62a
JM
3512012-11-07 Joseph Myers <joseph@codesourcery.com>
352
c4b6cf53
JM
353 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
354 expectations.
355 [UNIX98] (pthread_barrier_t): Do not expect.
356 [UNIX98] (pthread_barrierattr_t): Likewise.
357 [UNIX98] (pthread_spinlock_t): Likewise.
358 [UNIX98] (pthread_barrier_destroy): Likewise.
359 [UNIX98] (pthread_barrier_init): Likewise.
360 [UNIX98] (pthread_barrier_wait): Likewise.
361 [UNIX98] (pthread_barrierattr_destroy): Likewise.
362 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
363 [UNIX98] (pthread_barrierattr_init): Likewise.
364 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
365 [UNIX98] (pthread_getcpuclockid): Likewise.
366 [UNIX98] (pthread_mutex_timedlock): Likewise.
367 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
368 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
369 [UNIX98] (pthread_sigmask): Likewise.
370 [UNIX98] (pthread_spin_destroy): Likewise.
371 [UNIX98] (pthread_spin_init): Likewise.
372 [UNIX98] (pthread_spin_lock): Likewise.
373 [UNIX98] (pthread_spin_trylock): Likewise.
374 [UNIX98] (pthread_spin_unlock): Likewise.
375 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
376 Do not expect.
377 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
378 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
379 [XPG3 || XPG4] (pthread_cond_t): Likewise.
380 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
381 [XPG3 || XPG4] (pthread_key_t): Likewise.
382 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
383 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
384 [XPG3 || XPG4] (pthread_once_t): Likewise.
385 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
386 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
387 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
388 [XPG3 || XPG4] (pthread_t): Likewise.
389
cbe6e120
JM
390 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
391 not expect.
392 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
393
1b126443
JM
394 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
395 Change function return type to int.
396
b961a573
JM
397 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
398 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
399 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
400 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
401 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
402 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
403 [!POSIX] (posix_madvise): Likewise.
404 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
405 && !UNIX98].
406 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
407 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
408 (mode_t): Likewise.
409 (posix_mem_offset): Likewise.
410 (posix_typed_mem_get_info): Likewise.
411 (posix_typed_mem_open): Likewise.
412
9e188909
JM
413 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
414 Change condition to [XOPEN2K8].
415
05bcf62a
JM
416 * conform/conformtest.pl: Preprocess allow-header data with -x c
417 instead of from stdin.
418 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
419 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
420 [C99-based standards] (cerfc): Likewise.
421 [C99-based standards] (cexp2): Likewise.
422 [C99-based standards] (cexpm1): Likewise.
423 [C99-based standards] (clog10): Likewise.
424 [C99-based standards] (clog1p): Likewise.
425 [C99-based standards] (clog2): Likewise.
426 [C99-based standards] (clgamma): Likewise.
427 [C99-based standards] (ctgamma): Likewise.
428 [C99-based standards] (cerff): Likewise.
429 [C99-based standards] (cerfcf): Likewise.
430 [C99-based standards] (cexp2f): Likewise.
431 [C99-based standards] (cexpm1f): Likewise.
432 [C99-based standards] (clog10f): Likewise.
433 [C99-based standards] (clog1pf): Likewise.
434 [C99-based standards] (clog2f): Likewise.
435 [C99-based standards] (clgammaf): Likewise.
436 [C99-based standards] (ctgammaf): Likewise.
437 [C99-based standards] (cerfl): Likewise.
438 [C99-based standards] (cerfcl): Likewise.
439 [C99-based standards] (cexp2l): Likewise.
440 [C99-based standards] (cexpm1l): Likewise.
441 [C99-based standards] (clog10l): Likewise.
442 [C99-based standards] (clog1pl): Likewise.
443 [C99-based standards] (clog2l): Likewise.
444 [C99-based standards] (clgammal): Likewise.
445 [C99-based standards] (ctgammal): Likewise.
446 * conform/data/inttypes.h-data [C99-based standards]: Include
447 stdint.h-data. Remove all expectations for stdint.h contents.
448 [C99-based standards] (PRI*): Do not allow.
449 [C99-based standards] (SCN*): Likewise.
450 [C99-based standards] (*_t): Likewise.
451 [C99-based-standards] (PRId8): Expect macro.
452 [C99-based-standards] (PRIi8): Likewise.
453 [C99-based-standards] (PRIo8): Likewise.
454 [C99-based-standards] (PRIu8): Likewise.
455 [C99-based-standards] (PRIx8): Likewise.
456 [C99-based-standards] (PRIX8): Likewise.
457 [C99-based-standards] (SCNd8): Likewise.
458 [C99-based-standards] (SCNi8): Likewise.
459 [C99-based-standards] (SCNo8): Likewise.
460 [C99-based-standards] (SCNu8): Likewise.
461 [C99-based-standards] (SCNx8): Likewise.
462 [C99-based-standards] (PRIdLEAST8): Likewise.
463 [C99-based-standards] (PRIiLEAST8): Likewise.
464 [C99-based-standards] (PRIoLEAST8): Likewise.
465 [C99-based-standards] (PRIuLEAST8): Likewise.
466 [C99-based-standards] (PRIxLEAST8): Likewise.
467 [C99-based-standards] (PRIXLEAST8): Likewise.
468 [C99-based-standards] (SCNdLEAST8): Likewise.
469 [C99-based-standards] (SCNiLEAST8): Likewise.
470 [C99-based-standards] (SCNoLEAST8): Likewise.
471 [C99-based-standards] (SCNuLEAST8): Likewise.
472 [C99-based-standards] (SCNxLEAST8): Likewise.
473 [C99-based-standards] (PRIdFAST8): Likewise.
474 [C99-based-standards] (PRIiFAST8): Likewise.
475 [C99-based-standards] (PRIoFAST8): Likewise.
476 [C99-based-standards] (PRIuFAST8): Likewise.
477 [C99-based-standards] (PRIxFAST8): Likewise.
478 [C99-based-standards] (PRIXFAST8): Likewise.
479 [C99-based-standards] (SCNdFAST8): Likewise.
480 [C99-based-standards] (SCNiFAST8): Likewise.
481 [C99-based-standards] (SCNoFAST8): Likewise.
482 [C99-based-standards] (SCNuFAST8): Likewise.
483 [C99-based-standards] (SCNxFAST8): Likewise.
484 [C99-based-standards] (PRId16): Likewise.
485 [C99-based-standards] (PRIi16): Likewise.
486 [C99-based-standards] (PRIo16): Likewise.
487 [C99-based-standards] (PRIu16): Likewise.
488 [C99-based-standards] (PRIx16): Likewise.
489 [C99-based-standards] (PRIX16): Likewise.
490 [C99-based-standards] (SCNd16): Likewise.
491 [C99-based-standards] (SCNi16): Likewise.
492 [C99-based-standards] (SCNo16): Likewise.
493 [C99-based-standards] (SCNu16): Likewise.
494 [C99-based-standards] (SCNx16): Likewise.
495 [C99-based-standards] (PRIdLEAST16): Likewise.
496 [C99-based-standards] (PRIiLEAST16): Likewise.
497 [C99-based-standards] (PRIoLEAST16): Likewise.
498 [C99-based-standards] (PRIuLEAST16): Likewise.
499 [C99-based-standards] (PRIxLEAST16): Likewise.
500 [C99-based-standards] (PRIXLEAST16): Likewise.
501 [C99-based-standards] (SCNdLEAST16): Likewise.
502 [C99-based-standards] (SCNiLEAST16): Likewise.
503 [C99-based-standards] (SCNoLEAST16): Likewise.
504 [C99-based-standards] (SCNuLEAST16): Likewise.
505 [C99-based-standards] (SCNxLEAST16): Likewise.
506 [C99-based-standards] (PRIdFAST16): Likewise.
507 [C99-based-standards] (PRIiFAST16): Likewise.
508 [C99-based-standards] (PRIoFAST16): Likewise.
509 [C99-based-standards] (PRIuFAST16): Likewise.
510 [C99-based-standards] (PRIxFAST16): Likewise.
511 [C99-based-standards] (PRIXFAST16): Likewise.
512 [C99-based-standards] (SCNdFAST16): Likewise.
513 [C99-based-standards] (SCNiFAST16): Likewise.
514 [C99-based-standards] (SCNoFAST16): Likewise.
515 [C99-based-standards] (SCNuFAST16): Likewise.
516 [C99-based-standards] (SCNxFAST16): Likewise.
517 [C99-based-standards] (PRId32): Likewise.
518 [C99-based-standards] (PRIi32): Likewise.
519 [C99-based-standards] (PRIo32): Likewise.
520 [C99-based-standards] (PRIu32): Likewise.
521 [C99-based-standards] (PRIx32): Likewise.
522 [C99-based-standards] (PRIX32): Likewise.
523 [C99-based-standards] (SCNd32): Likewise.
524 [C99-based-standards] (SCNi32): Likewise.
525 [C99-based-standards] (SCNo32): Likewise.
526 [C99-based-standards] (SCNu32): Likewise.
527 [C99-based-standards] (SCNx32): Likewise.
528 [C99-based-standards] (PRIdLEAST32): Likewise.
529 [C99-based-standards] (PRIiLEAST32): Likewise.
530 [C99-based-standards] (PRIoLEAST32): Likewise.
531 [C99-based-standards] (PRIuLEAST32): Likewise.
532 [C99-based-standards] (PRIxLEAST32): Likewise.
533 [C99-based-standards] (PRIXLEAST32): Likewise.
534 [C99-based-standards] (SCNdLEAST32): Likewise.
535 [C99-based-standards] (SCNiLEAST32): Likewise.
536 [C99-based-standards] (SCNoLEAST32): Likewise.
537 [C99-based-standards] (SCNuLEAST32): Likewise.
538 [C99-based-standards] (SCNxLEAST32): Likewise.
539 [C99-based-standards] (PRIdFAST32): Likewise.
540 [C99-based-standards] (PRIiFAST32): Likewise.
541 [C99-based-standards] (PRIoFAST32): Likewise.
542 [C99-based-standards] (PRIuFAST32): Likewise.
543 [C99-based-standards] (PRIxFAST32): Likewise.
544 [C99-based-standards] (PRIXFAST32): Likewise.
545 [C99-based-standards] (SCNdFAST32): Likewise.
546 [C99-based-standards] (SCNiFAST32): Likewise.
547 [C99-based-standards] (SCNoFAST32): Likewise.
548 [C99-based-standards] (SCNuFAST32): Likewise.
549 [C99-based-standards] (SCNxFAST32): Likewise.
550 [C99-based-standards] (PRId64): Likewise.
551 [C99-based-standards] (PRIi64): Likewise.
552 [C99-based-standards] (PRIo64): Likewise.
553 [C99-based-standards] (PRIu64): Likewise.
554 [C99-based-standards] (PRIx64): Likewise.
555 [C99-based-standards] (PRIX64): Likewise.
556 [C99-based-standards] (SCNd64): Likewise.
557 [C99-based-standards] (SCNi64): Likewise.
558 [C99-based-standards] (SCNo64): Likewise.
559 [C99-based-standards] (SCNu64): Likewise.
560 [C99-based-standards] (SCNx64): Likewise.
561 [C99-based-standards] (PRIdLEAST64): Likewise.
562 [C99-based-standards] (PRIiLEAST64): Likewise.
563 [C99-based-standards] (PRIoLEAST64): Likewise.
564 [C99-based-standards] (PRIuLEAST64): Likewise.
565 [C99-based-standards] (PRIxLEAST64): Likewise.
566 [C99-based-standards] (PRIXLEAST64): Likewise.
567 [C99-based-standards] (SCNdLEAST64): Likewise.
568 [C99-based-standards] (SCNiLEAST64): Likewise.
569 [C99-based-standards] (SCNoLEAST64): Likewise.
570 [C99-based-standards] (SCNuLEAST64): Likewise.
571 [C99-based-standards] (SCNxLEAST64): Likewise.
572 [C99-based-standards] (PRIdFAST64): Likewise.
573 [C99-based-standards] (PRIiFAST64): Likewise.
574 [C99-based-standards] (PRIoFAST64): Likewise.
575 [C99-based-standards] (PRIuFAST64): Likewise.
576 [C99-based-standards] (PRIxFAST64): Likewise.
577 [C99-based-standards] (PRIXFAST64): Likewise.
578 [C99-based-standards] (SCNdFAST64): Likewise.
579 [C99-based-standards] (SCNiFAST64): Likewise.
580 [C99-based-standards] (SCNoFAST64): Likewise.
581 [C99-based-standards] (SCNuFAST64): Likewise.
582 [C99-based-standards] (SCNxFAST64): Likewise.
583 [C99-based-standards] (PRIdMAX): Likewise.
584 [C99-based-standards] (PRIiMAX): Likewise.
585 [C99-based-standards] (PRIoMAX): Likewise.
586 [C99-based-standards] (PRIuMAX): Likewise.
587 [C99-based-standards] (PRIxMAX): Likewise.
588 [C99-based-standards] (PRIXMAX): Likewise.
589 [C99-based-standards] (SCNdMAX): Likewise.
590 [C99-based-standards] (SCNiMAX): Likewise.
591 [C99-based-standards] (SCNoMAX): Likewise.
592 [C99-based-standards] (SCNuMAX): Likewise.
593 [C99-based-standards] (SCNxMAX): Likewise.
594 [C99-based-standards] (PRIdPTR): Likewise.
595 [C99-based-standards] (PRIiPTR): Likewise.
596 [C99-based-standards] (PRIoPTR): Likewise.
597 [C99-based-standards] (PRIuPTR): Likewise.
598 [C99-based-standards] (PRIxPTR): Likewise.
599 [C99-based-standards] (PRIXPTR): Likewise.
600 [C99-based-standards] (SCNdPTR): Likewise.
601 [C99-based-standards] (SCNiPTR): Likewise.
602 [C99-based-standards] (SCNoPTR): Likewise.
603 [C99-based-standards] (SCNuPTR): Likewise.
604 [C99-based-standards] (SCNxPTR): Likewise.
605 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
606 allow.
607 * conform/data/stdint.h-data: Update comments to clarify
608 requirements.
609 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
610 type.
611 [C99-based standards] (INT8_MAX): Likewise.
612 [C99-based standards] (INT16_MIN): Likewise.
613 [C99-based standards] (INT16_MAX): Likewise.
614 [C99-based standards] (INT32_MIN): Likewise.
615 [C99-based standards] (INT32_MAX): Likewise.
616 [C99-based standards] (INT64_MIN): Likewise.
617 [C99-based standards] (INT64_MAX): Likewise.
618 [C99-based standards] (UINT8_MAX): Likewise.
619 [C99-based standards] (UINT16_MAX): Likewise.
620 [C99-based standards] (UINT32_MAX): Likewise.
621 [C99-based standards] (UINT64_MAX): Likewise.
622 [C99-based standards] (INT_LEAST8_MIN): Likewise.
623 [C99-based standards] (INT_LEAST8_MAX): Likewise.
624 [C99-based standards] (INT_LEAST16_MIN): Likewise.
625 [C99-based standards] (INT_LEAST16_MAX): Likewise.
626 [C99-based standards] (INT_LEAST32_MIN): Likewise.
627 [C99-based standards] (INT_LEAST32_MAX): Likewise.
628 [C99-based standards] (INT_LEAST64_MIN): Likewise.
629 [C99-based standards] (INT_LEAST64_MAX): Likewise.
630 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
631 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
632 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
633 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
634 [C99-based standards] (INT_FAST8_MIN): Likewise.
635 [C99-based standards] (INT_FAST8_MAX): Likewise.
636 [C99-based standards] (INT_FAST16_MIN): Likewise.
637 [C99-based standards] (INT_FAST16_MAX): Likewise.
638 [C99-based standards] (INT_FAST32_MIN): Likewise.
639 [C99-based standards] (INT_FAST32_MAX): Likewise.
640 [C99-based standards] (INT_FAST64_MIN): Likewise.
641 [C99-based standards] (INT_FAST64_MAX): Likewise.
642 [C99-based standards] (UINT_FAST8_MAX): Likewise.
643 [C99-based standards] (UINT_FAST16_MAX): Likewise.
644 [C99-based standards] (UINT_FAST32_MAX): Likewise.
645 [C99-based standards] (UINT_FAST64_MAX): Likewise.
646 [C99-based standards] (INTPTR_MIN): Likewise.
647 [C99-based standards] (INTPTR_MAX): Likewise.
648 [C99-based standards] (UINTPTR_MAX): Likewise.
649 [C99-based standards] (INTMAX_MIN): Likewise.
650 [C99-based standards] (INTMAX_MAX): Likewise.
651 [C99-based standards] (UINTMAX_MAX): Likewise.
652 [C99-based standards] (PTRDIFF_MIN): Likewise.
653 [C99-based standards] (PTRDIFF_MAX): Likewise.
654 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
655 [C99-based standards] (SIZE_MAX): Likewise.
656 [C99-based standards] (WCHAR_MAX): Likewise.
657 [C99-based standards] (WINT_MAX): Likewise.
658 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
659 constraint on value.
660 [C99-based standards] (WCHAR_MIN): Likewise.
661 [C99-based standards] (WINT_MIN): Likewise.
662 [C99-based standards] (*_t): Allow.
663 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
664 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
665 Include math.h-data and complex.h-data. Remove all expectations
666 of math.h and complex.h contents.
667 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
668 at end of line.
669 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
670 (struct tm): Expect tag.
671 [C99-based-standards] (wcstof): Expect function.
672 [C99-based-standards] (wcstold): Likewise.
673 [C99-based-standards] (wcstoll): Likewise.
674 [C99-based-standards] (wcstoull): Likewise.
675 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
676 macro-int-constant. Specify type.
677 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
678 constraint on value.
679 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
680 Specify type.
681 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
682 Specify value.
683 [ISO C standards]: Do not allow headers.
684 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
685 wcs[abcdefghijklmnopqrstuvwxyz]*.
686 [ISO C standards] (*_t): Do not allow.
687 * conform/data/wctype.h-data [C99-based standards] (iswblank):
688 Expect function.
689 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
690 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
691 Specify type.
692 [ISO C standards]: Do not allow headers.
693 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
694 is[abcdefghijklmnopqrstuvwxyz]*.
695 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
696 to[abcdefghijklmnopqrstuvwxyz]*.
697 [ISO C standards] (*_t): Do not allow.
698 * conform/data/stdalign.h-data: New file.
699 * conform/data/stdbool.h-data: Likewise.
700 * conform/data/stdnoreturn.h-data: Likewise.
701
01f34a3b
JL
7022012-11-07 Andreas Jaeger <aj@suse.de>
703
704 [BZ #14809]
705 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
706 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
707 guards are changed. Only define if not yet defined, #undef back
708 after including linux/sysctl.h if defined here.
709
7514feb8
RM
7102012-11-07 Roland McGrath <roland@hack.frob.com>
711
712 [BZ #14815]
713 * manual/filesys.texi (Directory Entries): Typo fix.
714 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
715
19b2ecfc
MS
7162012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
717
718 * elf/elf.h (EM_AARCH64): New macro.
719 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
720 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
721 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
722 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
723 (R_AARCH64_TLSDESC): Likewise.
724 (NT_ARM_TLS): Likewise.
725 (NT_ARM_HW_BREAK): Likewise.
726 (NT_ARM_HW_WATCH): Likewise.
727
60e235ee
JM
7282012-11-07 Joseph Myers <joseph@codesourcery.com>
729
730 [BZ #14811]
731 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
732 (__ieee754_powl): Saturate nonzero exponents with absolute value
733 below 0x1p-79 to +/- 0x1p-79.
734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
735 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
736 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
737 nonzero exponents with absolute value below 0x1p-32 to +/-
738 0x1p-32.
739 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
740 (__ieee754_powl): Saturate nonzero exponents with absolute value
741 below 0x1p-79 to +/- 0x1p-79.
742 * math/libm-test.inc (pow_test): Add more tests.
743
0ab234b7
AK
7442012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
745
746 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
747 _dl_s390_cap_flags with kernel. Increase string length.
748 (_dl_s390_platforms): Add z196 and zEC12.
749
45832f74
JM
7502012-11-07 Joseph Myers <joseph@codesourcery.com>
751
752 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
753 Change XOPEN21K to XOPEN2K.
754
19218757
MK
7552012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
756
757 * string/memmove.c: Use memcpy when possible.
758
c5f45721
AJ
7592012-11-06 Andreas Jaeger <aj@suse.de>
760
761 * po/eo.po: Update from translation team.
762
82477c28
JM
7632012-11-06 Joseph Myers <joseph@codesourcery.com>
764
765 [BZ #14793]
766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
767 exponent and small x and y exponents, scale x or y up. Increase
768 by 2 the exponent used in scaling up.
769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
771 * math/libm-test.inc (fma_test): Add more tests.
772 (fma_test_towardzero): Likewise.
773 (fma_test_downward): Likewise.
774 (fma_test_upward): Likewise.
775
99252c8c
JM
7762012-11-05 Joseph Myers <joseph@codesourcery.com>
777
acfa885f
JM
778 [BZ #14805]
779 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
780 fenv_t *.
781
99252c8c
JM
782 [BZ #14801]
783 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
784 namespace for names of struct fields.
785 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
786 fenv_t fields.
787 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
788 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
789
d6d98dea
ST
7902012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
791
792 [BZ #3665]
793 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
794
e10bb107
TS
7952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
796
797 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
798 PTR_DEMANGLE.
799
800 [BZ #5246]
801 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
802 PTR_DEMANGLE.
803
a0c2940d
JM
8042012-11-04 Joseph Myers <joseph@codesourcery.com>
805
806 [BZ #14797]
807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
808 definitely overflow as x * y not x * y + z.
809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
810 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
811 * math/libm-test.inc (fma_test): Add more tests.
812 (fma_test_towardzero): Likewise.
813 (fma_test_downward): Likewise.
814 (fma_test_upward): Likewise.
815
b830319d
TS
8162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
817
818 [BZ #157]
819
820 * include/stub-tag.h: Remove file.
821 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
822 '#include' of it.
823 * manual/maint.texi (Porting): Don't reference it.
824 * Makerules ($(objpfx)stubs): Likewise.
825 * dirent/closedir.c: Don't include <stub-tag.h>.
826 * dirent/dirfd.c: Likewise.
827 * dirent/fdopendir.c: Likewise.
828 * dirent/getdents.c: Likewise.
829 * dirent/getdents64.c: Likewise.
830 * dirent/opendir.c: Likewise.
831 * dirent/readdir.c: Likewise.
832 * dirent/readdir64.c: Likewise.
833 * dirent/readdir64_r.c: Likewise.
834 * dirent/readdir_r.c: Likewise.
835 * dirent/rewinddir.c: Likewise.
836 * dirent/seekdir.c: Likewise.
837 * dirent/telldir.c: Likewise.
838 * gmon/profil.c: Likewise.
839 * grp/setgroups.c: Likewise.
840 * inet/if_index.c: Likewise.
841 * io/access.c: Likewise.
842 * io/chdir.c: Likewise.
843 * io/chmod.c: Likewise.
844 * io/chown.c: Likewise.
845 * io/close.c: Likewise.
846 * io/dup.c: Likewise.
847 * io/dup2.c: Likewise.
848 * io/dup3.c: Likewise.
849 * io/euidaccess.c: Likewise.
850 * io/faccessat.c: Likewise.
851 * io/fchdir.c: Likewise.
852 * io/fchmod.c: Likewise.
853 * io/fchmodat.c: Likewise.
854 * io/fchown.c: Likewise.
855 * io/fchownat.c: Likewise.
856 * io/fcntl.c: Likewise.
857 * io/flock.c: Likewise.
858 * io/fstatfs.c: Likewise.
859 * io/fstatfs64.c: Likewise.
860 * io/fstatvfs.c: Likewise.
861 * io/fstatvfs64.c: Likewise.
862 * io/futimens.c: Likewise.
863 * io/fxstat.c: Likewise.
864 * io/fxstat64.c: Likewise.
865 * io/fxstatat.c: Likewise.
866 * io/fxstatat64.c: Likewise.
867 * io/getcwd.c: Likewise.
868 * io/isatty.c: Likewise.
869 * io/lchmod.c: Likewise.
870 * io/lchown.c: Likewise.
871 * io/link.c: Likewise.
872 * io/linkat.c: Likewise.
873 * io/lseek.c: Likewise.
874 * io/lseek64.c: Likewise.
875 * io/lxstat64.c: Likewise.
876 * io/mkdir.c: Likewise.
877 * io/mkdirat.c: Likewise.
878 * io/mkfifo.c: Likewise.
879 * io/mkfifoat.c: Likewise.
880 * io/open.c: Likewise.
881 * io/open64.c: Likewise.
882 * io/openat.c: Likewise.
883 * io/openat64.c: Likewise.
884 * io/pipe.c: Likewise.
885 * io/pipe2.c: Likewise.
886 * io/poll.c: Likewise.
887 * io/posix_fadvise.c: Likewise.
888 * io/posix_fadvise64.c: Likewise.
889 * io/posix_fallocate.c: Likewise.
890 * io/posix_fallocate64.c: Likewise.
891 * io/read.c: Likewise.
892 * io/readlink.c: Likewise.
893 * io/readlinkat.c: Likewise.
894 * io/rmdir.c: Likewise.
895 * io/sendfile.c: Likewise.
896 * io/sendfile64.c: Likewise.
897 * io/statfs.c: Likewise.
898 * io/statfs64.c: Likewise.
899 * io/statvfs.c: Likewise.
900 * io/statvfs64.c: Likewise.
901 * io/symlink.c: Likewise.
902 * io/symlinkat.c: Likewise.
903 * io/ttyname.c: Likewise.
904 * io/ttyname_r.c: Likewise.
905 * io/umask.c: Likewise.
906 * io/unlink.c: Likewise.
907 * io/unlinkat.c: Likewise.
908 * io/utime.c: Likewise.
909 * io/utimensat.c: Likewise.
910 * io/write.c: Likewise.
911 * io/xmknod.c: Likewise.
912 * io/xmknodat.c: Likewise.
913 * io/xstat.c: Likewise.
914 * io/xstat64.c: Likewise.
915 * login/getpt.c: Likewise.
916 * login/grantpt.c: Likewise.
917 * login/unlockpt.c: Likewise.
918 * math/e_acoshl.c: Likewise.
919 * math/e_acosl.c: Likewise.
920 * math/e_asinl.c: Likewise.
921 * math/e_atan2l.c: Likewise.
922 * math/e_atanhl.c: Likewise.
923 * math/e_coshl.c: Likewise.
924 * math/e_expl.c: Likewise.
925 * math/e_fmodl.c: Likewise.
926 * math/e_gammal_r.c: Likewise.
927 * math/e_hypotl.c: Likewise.
928 * math/e_j0l.c: Likewise.
929 * math/e_j1l.c: Likewise.
930 * math/e_jnl.c: Likewise.
931 * math/e_lgammal_r.c: Likewise.
932 * math/e_log10l.c: Likewise.
933 * math/e_log2l.c: Likewise.
934 * math/e_logl.c: Likewise.
935 * math/e_powl.c: Likewise.
936 * math/e_rem_pio2l.c: Likewise.
937 * math/e_sinhl.c: Likewise.
938 * math/e_sqrtl.c: Likewise.
939 * math/fclrexcpt.c: Likewise.
940 * math/fedisblxcpt.c: Likewise.
941 * math/feenablxcpt.c: Likewise.
942 * math/fegetenv.c: Likewise.
943 * math/fegetexcept.c: Likewise.
944 * math/fegetround.c: Likewise.
945 * math/feholdexcpt.c: Likewise.
946 * math/fesetenv.c: Likewise.
947 * math/fesetround.c: Likewise.
948 * math/feupdateenv.c: Likewise.
949 * math/fgetexcptflg.c: Likewise.
950 * math/fraiseexcpt.c: Likewise.
951 * math/fsetexcptflg.c: Likewise.
952 * math/ftestexcept.c: Likewise.
953 * math/k_cosl.c: Likewise.
954 * math/k_rem_pio2l.c: Likewise.
955 * math/k_sinl.c: Likewise.
956 * math/k_tanl.c: Likewise.
957 * math/s_asinhl.c: Likewise.
958 * math/s_atanl.c: Likewise.
959 * math/s_cbrtl.c: Likewise.
960 * math/s_erfl.c: Likewise.
961 * math/s_expm1l.c: Likewise.
962 * math/s_log1pl.c: Likewise.
963 * math/s_tanhl.c: Likewise.
964 * misc/acct.c: Likewise.
965 * misc/brk.c: Likewise.
966 * misc/chflags.c: Likewise.
967 * misc/chroot.c: Likewise.
968 * misc/fchflags.c: Likewise.
969 * misc/fgetxattr.c: Likewise.
970 * misc/flistxattr.c: Likewise.
971 * misc/fremovexattr.c: Likewise.
972 * misc/fsetxattr.c: Likewise.
973 * misc/fsync.c: Likewise.
974 * misc/ftruncate.c: Likewise.
975 * misc/futimes.c: Likewise.
976 * misc/futimesat.c: Likewise.
977 * misc/getdomain.c: Likewise.
978 * misc/getdtsz.c: Likewise.
979 * misc/gethostid.c: Likewise.
980 * misc/gethostname.c: Likewise.
981 * misc/getloadavg.c: Likewise.
982 * misc/getpagesize.c: Likewise.
983 * misc/getsysstats.c: Likewise.
984 * misc/getxattr.c: Likewise.
985 * misc/gtty.c: Likewise.
986 * misc/ioctl.c: Likewise.
987 * misc/lgetxattr.c: Likewise.
988 * misc/listxattr.c: Likewise.
989 * misc/llistxattr.c: Likewise.
990 * misc/lremovexattr.c: Likewise.
991 * misc/lsetxattr.c: Likewise.
992 * misc/lutimes.c: Likewise.
993 * misc/madvise.c: Likewise.
994 * misc/mincore.c: Likewise.
995 * misc/mlock.c: Likewise.
996 * misc/mlockall.c: Likewise.
997 * misc/mmap.c: Likewise.
998 * misc/mprotect.c: Likewise.
999 * misc/msync.c: Likewise.
1000 * misc/munlock.c: Likewise.
1001 * misc/munlockall.c: Likewise.
1002 * misc/munmap.c: Likewise.
1003 * misc/preadv.c: Likewise.
1004 * misc/preadv64.c: Likewise.
1005 * misc/ptrace.c: Likewise.
1006 * misc/pwritev.c: Likewise.
1007 * misc/pwritev64.c: Likewise.
1008 * misc/readv.c: Likewise.
1009 * misc/reboot.c: Likewise.
1010 * misc/remap_file_pages.c: Likewise.
1011 * misc/removexattr.c: Likewise.
1012 * misc/revoke.c: Likewise.
1013 * misc/select.c: Likewise.
1014 * misc/setdomain.c: Likewise.
1015 * misc/setegid.c: Likewise.
1016 * misc/seteuid.c: Likewise.
1017 * misc/sethostid.c: Likewise.
1018 * misc/sethostname.c: Likewise.
1019 * misc/setregid.c: Likewise.
1020 * misc/setreuid.c: Likewise.
1021 * misc/setxattr.c: Likewise.
1022 * misc/sstk.c: Likewise.
1023 * misc/stty.c: Likewise.
1024 * misc/swapoff.c: Likewise.
1025 * misc/swapon.c: Likewise.
1026 * misc/sync.c: Likewise.
1027 * misc/syncfs.c: Likewise.
1028 * misc/syscall.c: Likewise.
1029 * misc/truncate.c: Likewise.
1030 * misc/ualarm.c: Likewise.
1031 * misc/usleep.c: Likewise.
1032 * misc/ustat.c: Likewise.
1033 * misc/utimes.c: Likewise.
1034 * misc/vhangup.c: Likewise.
1035 * misc/writev.c: Likewise.
1036 * posix/_exit.c: Likewise.
1037 * posix/alarm.c: Likewise.
1038 * posix/execve.c: Likewise.
1039 * posix/fexecve.c: Likewise.
1040 * posix/fork.c: Likewise.
1041 * posix/fpathconf.c: Likewise.
1042 * posix/getaddrinfo.c: Likewise.
1043 * posix/getegid.c: Likewise.
1044 * posix/geteuid.c: Likewise.
1045 * posix/getgid.c: Likewise.
1046 * posix/getgroups.c: Likewise.
1047 * posix/getlogin.c: Likewise.
1048 * posix/getlogin_r.c: Likewise.
1049 * posix/getpgid.c: Likewise.
1050 * posix/getpid.c: Likewise.
1051 * posix/getppid.c: Likewise.
1052 * posix/getresgid.c: Likewise.
1053 * posix/getresuid.c: Likewise.
1054 * posix/getsid.c: Likewise.
1055 * posix/getuid.c: Likewise.
1056 * posix/glob64.c: Likewise.
1057 * posix/nanosleep.c: Likewise.
1058 * posix/pathconf.c: Likewise.
1059 * posix/pause.c: Likewise.
1060 * posix/posix_madvise.c: Likewise.
1061 * posix/pread.c: Likewise.
1062 * posix/pread64.c: Likewise.
1063 * posix/pwrite.c: Likewise.
1064 * posix/pwrite64.c: Likewise.
1065 * posix/sched_getaffinity.c: Likewise.
1066 * posix/sched_getp.c: Likewise.
1067 * posix/sched_gets.c: Likewise.
1068 * posix/sched_primax.c: Likewise.
1069 * posix/sched_primin.c: Likewise.
1070 * posix/sched_rr_gi.c: Likewise.
1071 * posix/sched_setaffinity.c: Likewise.
1072 * posix/sched_setp.c: Likewise.
1073 * posix/sched_sets.c: Likewise.
1074 * posix/sched_yield.c: Likewise.
1075 * posix/setgid.c: Likewise.
1076 * posix/setlogin.c: Likewise.
1077 * posix/setpgid.c: Likewise.
1078 * posix/setresgid.c: Likewise.
1079 * posix/setresuid.c: Likewise.
1080 * posix/setsid.c: Likewise.
1081 * posix/setuid.c: Likewise.
1082 * posix/sleep.c: Likewise.
1083 * posix/spawni.c: Likewise.
1084 * posix/sysconf.c: Likewise.
1085 * posix/times.c: Likewise.
1086 * posix/wait.c: Likewise.
1087 * posix/wait3.c: Likewise.
1088 * posix/wait4.c: Likewise.
1089 * posix/waitpid.c: Likewise.
1090 * resolv/gai_sigqueue.c: Likewise.
1091 * resource/getpriority.c: Likewise.
1092 * resource/getrlimit.c: Likewise.
1093 * resource/getrusage.c: Likewise.
1094 * resource/nice.c: Likewise.
1095 * resource/setpriority.c: Likewise.
1096 * resource/setrlimit.c: Likewise.
1097 * resource/ulimit.c: Likewise.
1098 * rt/aio_cancel.c: Likewise.
1099 * rt/aio_fsync.c: Likewise.
1100 * rt/aio_read.c: Likewise.
1101 * rt/aio_sigqueue.c: Likewise.
1102 * rt/aio_suspend.c: Likewise.
1103 * rt/aio_write.c: Likewise.
1104 * rt/clock_getres.c: Likewise.
1105 * rt/clock_gettime.c: Likewise.
1106 * rt/clock_nanosleep.c: Likewise.
1107 * rt/clock_settime.c: Likewise.
1108 * rt/lio_listio.c: Likewise.
1109 * rt/mq_close.c: Likewise.
1110 * rt/mq_getattr.c: Likewise.
1111 * rt/mq_notify.c: Likewise.
1112 * rt/mq_open.c: Likewise.
1113 * rt/mq_receive.c: Likewise.
1114 * rt/mq_send.c: Likewise.
1115 * rt/mq_setattr.c: Likewise.
1116 * rt/mq_timedreceive.c: Likewise.
1117 * rt/mq_timedsend.c: Likewise.
1118 * rt/mq_unlink.c: Likewise.
1119 * rt/shm_open.c: Likewise.
1120 * rt/shm_unlink.c: Likewise.
1121 * rt/timer_create.c: Likewise.
1122 * rt/timer_delete.c: Likewise.
1123 * rt/timer_getoverr.c: Likewise.
1124 * rt/timer_gettime.c: Likewise.
1125 * rt/timer_settime.c: Likewise.
1126 * setjmp/__longjmp.c: Likewise.
1127 * setjmp/setjmp.c: Likewise.
1128 * signal/kill.c: Likewise.
1129 * signal/killpg.c: Likewise.
1130 * signal/raise.c: Likewise.
1131 * signal/sigaction.c: Likewise.
1132 * signal/sigaltstack.c: Likewise.
1133 * signal/sigblock.c: Likewise.
1134 * signal/sigignore.c: Likewise.
1135 * signal/sigintr.c: Likewise.
1136 * signal/signal.c: Likewise.
1137 * signal/sigpause.c: Likewise.
1138 * signal/sigpending.c: Likewise.
1139 * signal/sigqueue.c: Likewise.
1140 * signal/sigreturn.c: Likewise.
1141 * signal/sigset.c: Likewise.
1142 * signal/sigsetmask.c: Likewise.
1143 * signal/sigstack.c: Likewise.
1144 * signal/sigsuspend.c: Likewise.
1145 * signal/sigtimedwait.c: Likewise.
1146 * signal/sigvec.c: Likewise.
1147 * signal/sigwait.c: Likewise.
1148 * signal/sigwaitinfo.c: Likewise.
1149 * signal/sysv_signal.c: Likewise.
1150 * socket/accept.c: Likewise.
1151 * socket/accept4.c: Likewise.
1152 * socket/bind.c: Likewise.
1153 * socket/connect.c: Likewise.
1154 * socket/getpeername.c: Likewise.
1155 * socket/getsockname.c: Likewise.
1156 * socket/getsockopt.c: Likewise.
1157 * socket/isfdtype.c: Likewise.
1158 * socket/listen.c: Likewise.
1159 * socket/recv.c: Likewise.
1160 * socket/recvfrom.c: Likewise.
1161 * socket/recvmsg.c: Likewise.
1162 * socket/send.c: Likewise.
1163 * socket/sendmsg.c: Likewise.
1164 * socket/sendto.c: Likewise.
1165 * socket/setsockopt.c: Likewise.
1166 * socket/shutdown.c: Likewise.
1167 * socket/sockatmark.c: Likewise.
1168 * socket/socket.c: Likewise.
1169 * socket/socketpair.c: Likewise.
1170 * stdio-common/ctermid.c: Likewise.
1171 * stdio-common/cuserid.c: Likewise.
1172 * stdio-common/remove.c: Likewise.
1173 * stdio-common/rename.c: Likewise.
1174 * stdio-common/renameat.c: Likewise.
1175 * stdio-common/tempname.c: Likewise.
1176 * stdlib/getcontext.c: Likewise.
1177 * stdlib/makecontext.c: Likewise.
1178 * stdlib/setcontext.c: Likewise.
1179 * stdlib/swapcontext.c: Likewise.
1180 * stdlib/system.c: Likewise.
1181 * streams/fattach.c: Likewise.
1182 * streams/fdetach.c: Likewise.
1183 * streams/getmsg.c: Likewise.
1184 * streams/getpmsg.c: Likewise.
1185 * streams/putmsg.c: Likewise.
1186 * streams/putpmsg.c: Likewise.
1187 * sysdeps/unix/bsd/getpt.c: Likewise.
1188 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1189 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1190 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1192 Likewise.
1193 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1194 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1195 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1196 * sysvipc/msgctl.c: Likewise.
1197 * sysvipc/msgget.c: Likewise.
1198 * sysvipc/msgrcv.c: Likewise.
1199 * sysvipc/msgsnd.c: Likewise.
1200 * sysvipc/semctl.c: Likewise.
1201 * sysvipc/semget.c: Likewise.
1202 * sysvipc/semop.c: Likewise.
1203 * sysvipc/semtimedop.c: Likewise.
1204 * sysvipc/shmat.c: Likewise.
1205 * sysvipc/shmctl.c: Likewise.
1206 * sysvipc/shmdt.c: Likewise.
1207 * sysvipc/shmget.c: Likewise.
1208 * termios/tcdrain.c: Likewise.
1209 * termios/tcflow.c: Likewise.
1210 * termios/tcflush.c: Likewise.
1211 * termios/tcgetattr.c: Likewise.
1212 * termios/tcgetpgrp.c: Likewise.
1213 * termios/tcsendbrk.c: Likewise.
1214 * termios/tcsetattr.c: Likewise.
1215 * termios/tcsetpgrp.c: Likewise.
1216 * time/adjtime.c: Likewise.
1217 * time/clock.c: Likewise.
1218 * time/getitimer.c: Likewise.
1219 * time/gettimeofday.c: Likewise.
1220 * time/setitimer.c: Likewise.
1221 * time/settimeofday.c: Likewise.
1222 * time/stime.c: Likewise.
1223 * time/time.c: Likewise.
1224
12252012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1226
a20492cf
PT
1227 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1228 /usr/old/bin.
1229
72e182e3
PT
1230 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1231 instead of spaces.
1232 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1233
fbeafede
JM
12342012-11-03 Joseph Myers <joseph@codesourcery.com>
1235
5b5b04d6
JM
1236 [BZ #14796]
1237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1238 FE_TONEAREST before applying Dekker multiplication and Knuth
1239 addition. Clear inexact exceptions and check for exact zero
1240 results afterwards.
1241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1242 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1243 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1244 * math/libm-test.inc (fma_test): Add more tests.
1245 (fma_test_towardzero): Likewise.
1246 (fma_test_downward): Likewise.
1247 (fma_test_upward): Likewise.
1248 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1249 function.
1250 (libc_fesetround): New macro.
1251 (libc_fesetroundf): Likewise.
1252 (libc_fesetroundl): Likewise.
1253 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1254 function.
1255 (libc_fesetround_387): Likewise.
1256 (libc_fesetroundf): New macro.
1257 (libc_fesetround): Likewise.
1258 (libc_fesetroundl): Likewise.
1259 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1260 function.
1261 (libc_fesetroundf): New macro.
1262 (libc_fesetround): Likewise.
1263 (libc_fesetroundl): Likewise.
1264 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1265 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1266 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1267 libm_hidden_ver.
1268 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1269 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1270 libm_hidden_def.
1271 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1272 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1273 libm_hidden_ver.
1274 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1275 libm_hidden_def.
1276
fbeafede
JM
1277 [BZ #3439]
1278 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1279 integer constant usable in #if and use that to give value to enum
1280 constant.
1281 (FE_DIVBYZERO): Likewise.
1282 (FE_UNDERFLOW): Likewise.
1283 (FE_OVERFLOW): Likewise.
1284 (FE_INVALID): Likewise.
1285 (FE_INVALID_SNAN): Likewise.
1286 (FE_INVALID_ISI): Likewise.
1287 (FE_INVALID_IDI): Likewise.
1288 (FE_INVALID_ZDZ): Likewise.
1289 (FE_INVALID_IMZ): Likewise.
1290 (FE_INVALID_COMPARE): Likewise.
1291 (FE_INVALID_SOFTWARE): Likewise.
1292 (FE_INVALID_SQRT): Likewise.
1293 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1294 (FE_TONEAREST): Likewise.
1295 (FE_TOWARDZERO): Likewise.
1296 (FE_UPWARD): Likewise.
1297 (FE_DOWNWARD): Likewise.
1298 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1299 (FE_DIVBYZERO): Likewise.
1300 (FE_OVERFLOW): Likewise.
1301 (FE_UNDERFLOW): Likewise.
1302 (FE_INEXACT): Likewise.
1303 (FE_TONEAREST): Likewise.
1304 (FE_DOWNWARD): Likewise.
1305 (FE_UPWARD): Likewise.
1306 (FE_TOWARDZERO): Likewise.
1307 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1308 (FE_UNDERFLOW): Likewise.
1309 (FE_OVERFLOW): Likewise.
1310 (FE_DIVBYZERO): Likewise.
1311 (FE_INVALID): Likewise.
1312 (FE_TONEAREST): Likewise.
1313 (FE_TOWARDZERO): Likewise.
1314 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1315 (FE_OVERFLOW): Likewise.
1316 (FE_UNDERFLOW): Likewise.
1317 (FE_DIVBYZERO): Likewise.
1318 (FE_INEXACT): Likewise.
1319 (FE_TONEAREST): Likewise.
1320 (FE_TOWARDZERO): Likewise.
1321 (FE_UPWARD): Likewise.
1322 (FE_DOWNWARD): Likewise.
1323 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1324 (FE_DIVBYZERO): Likewise.
1325 (FE_OVERFLOW): Likewise.
1326 (FE_UNDERFLOW): Likewise.
1327 (FE_INEXACT): Likewise.
1328 (FE_TONEAREST): Likewise.
1329 (FE_DOWNWARD): Likewise.
1330 (FE_UPWARD): Likewise.
1331 (FE_TOWARDZERO): Likewise.
1332
105ca950
CM
13332012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1334
1335 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1336
a542b389
AS
13372012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1338
1339 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1340 commands. Quote $PWD.
1341 (blacklist_exports): Don't use remove_newlines. Replace "declare
1342 -x" by "export".
1343 (remove_newlines): Remove.
1344
f62c8abc
L
13452012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1346
1347 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1348 * stdlib/stdlib.h (atof): Moved to ...
1349 * include/bits/stdlib-float.h: Here. New file.
1350 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1351 * stdlib/bits/stdlib-float.h: New file.
1352 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1353 -mno-sse -mno-mmx.
1354 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1355 <xmmintrin.h>.
1356
0155d5b2
JM
13572012-11-02 Joseph Myers <joseph@codesourcery.com>
1358
a68d0680
JM
1359 * conform/conformtest.pl (@headers): Add fenv.h.
1360 * conform/data/fenv.h-data: New file.
1361 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1362 include of <math/fenv.h>.
1363
caf7f573
JM
1364 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1365 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1366 && !UNIX98]. Enables tests for XOPEN2K8.
1367 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1368 POSIX2008]: Likewise.
1369
6c073ad6
JM
1370 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1371 (struct rusage): Do not expect type or its members.
1372
0155d5b2
JM
1373 [BZ #3439]
1374 * math/math.h (FP_NAN): Define macro to integer constant usable in
1375 #if and use that to give value to enum constant.
1376 (FP_INFINITE): Likewise.
1377 (FP_ZERO): Likewise.
1378 (FP_SUBNORMAL): Likewise.
1379 (FP_NORMAL): Likewise.
1380
b5dcacb4
AS
13812012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1382
1383 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1384 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1385 arguments.
1386
f7934be8
RM
13872012-11-02 Roland McGrath <roland@hack.frob.com>
1388
1389 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1390 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1391 autoconf-time if not.
1392 * configure.in: Remove AC_PREREQ.
1393
d7d08bde
TMQMF
13942012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1395
1396 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1397 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1398 of the internal implementation.
1399
dcdae19a
JM
14002012-11-02 Joseph Myers <joseph@codesourcery.com>
1401
1402 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1403 except include of <misc/sys/syslog.h>.
1404
d6cffd3e
AS
14052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1406
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1408 function returns with a NULL context exit with zero.
1409
b3563932
TMQMF
14102012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1411
1412 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1413
b288a93d
L
14142012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1415
1416 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1417 (run_program_cmd): This.
1418 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1419 (tst_langinfo): New variable. Use it.
1420
a2421a68
SAS
14212012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1422
1423 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1424 floating point opcodes.
1425
6f796e1b
TS
14262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1427
7402596b
TS
1428 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1429 variable.
1430
d0d4f868
TS
1431 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1432
6f796e1b
TS
1433 * sysdeps/mach/hurd/powerpc: Remove directory.
1434 * sysdeps/mach/powerpc: Likewise.
1435
4da224a2
AS
14362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1437
1438 * scripts/check-local-headers.sh: Ignore c++ headers.
1439
341dd673
TS
14402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1441
1442 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1443 __libc_cleanup_region_start argument.
1444
473611b2
JM
14452012-11-01 Joseph Myers <joseph@codesourcery.com>
1446
1447 [BZ #14784]
1448 [BZ #14785]
1449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1450 x * y using scaling, not as x * y + z.
1451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1452 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1453 * math/libm-test.inc (fma_test): Add more tests.
1454 (fma_test_towardzero): Likewise.
1455 (fma_test_downward): Likewise.
1456 (fma_test_upward): Likewise.
1457
4078da3d
TS
14582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1459
1460 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1461
903252aa
JM
14622012-10-31 Joseph Myers <joseph@codesourcery.com>
1463
1464 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1465 New variable.
1466
cbc818d0
TS
14672012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1468
1469 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1470
5a03cb1e
AS
14712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1472
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1474 Fix sort order.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1476 Likewise.
1477
90aff2ff
TMQMF
14782012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1479
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1481 Fix the order of the list for glibc 2.17.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1483 Likewise.
1484
1818fcb7
AS
14852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1486
1487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1488
ef82f4da
JM
14892012-10-31 Joseph Myers <joseph@codesourcery.com>
1490
16a0e2ec
JM
1491 [BZ #14610]
1492 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1493 for low part of x being zero before using __atanl (y).
1494 * math/libm-test.inc (atan2_test): Add another test.
1495
0eb69512
JM
1496 * manual/install.texi (Configuring and compiling): Document
1497 general use of test-wrapper and test-wrapper-env.
1498 * INSTALL: Regenerated.
1499
ef82f4da
JM
1500 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1501 (__fma): Do not extract and scale down low bits on after-rounding
1502 systems when result rounded to normal precision would have normal
1503 exponent.
1504 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1505 (__fmal): Do not extract and scale down low bits on after-rounding
1506 systems when result rounded to normal precision would have normal
1507 exponent.
1508 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1509 (__fmal): Do not extract and scale down low bits on after-rounding
1510 systems when result rounded to normal precision would have normal
1511 exponent.
1512 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1513 macro.
1514 (fma_test): Add more tests.
1515 (fma_test_towardzero): Likewise.
1516 (fma_test_downward): Likewise.
1517 (fma_test_upward): Likewise.
1518
954ef0d9
L
15192012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1520
1521 * sysdeps/i386/tininess.h: Renamed to ...
1522 * sysdeps/x86/tininess.h: This.
1523 * sysdeps/x86_64/tininess.h: Removed.
1524
df61ffb2
JM
15252012-10-30 Joseph Myers <joseph@codesourcery.com>
1526
1527 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1528 input. Use $(build-program-cmd).
1529 ($(objpfx)tst-array1-static.out): Likewise.
1530 ($(objpfx)tst-array2.out): Likewise.
1531 ($(objpfx)tst-array3.out): Likewise.
1532 ($(objpfx)tst-array4.out): Likewise.
1533 ($(objpfx)tst-array5.out): Likewise.
1534 ($(objpfx)tst-array5-static.out): Likewise.
1535
01767843
CM
15362012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1537
47cc1490
CM
1538 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1539 if defined.
1540
01767843
CM
1541 * nss/nsswitch.h (nss_interface_function): Provide new
1542 macro for use with NSS functions.
1543 * grp/initgroups.c: Use new macro.
1544 * nss/getXXbyYY.c: Likewise.
1545 * nss/getXXbyYY_r.c: Likewise.
1546 * nss/getXXent.c: Likewise.
1547 * nss/getXXent_r.c: Likewise.
1548 * sysdeps/posix/getaddrinfo.c: Likewise.
1549
8321aa97
AJ
15502012-10-30 Andreas Jaeger <aj@suse.de>
1551
1552 * po/ru.po: Update Russion translation from translation project.
1553
2a27fd6d
JM
15542012-10-30 Joseph Myers <joseph@codesourcery.com>
1555
8627a232
JM
1556 [BZ #14152]
1557 [BZ #14783]
1558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1559 result and shift together with sticky bit instead of replicating
1560 round-to-nearest rounding.
1561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1562 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1563 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1564 missing underflow exceptions.
1565 (fma_test_towardzero): Add more tests.
1566 (fma_test_downward): Likewise.
1567 (fma_test_upward): Likewise.
1568
2a27fd6d
JM
1569 [BZ #14047]
1570 * sysdeps/generic/tininess.h: New file.
1571 * sysdeps/i386/tininess.h: Likewise.
1572 * sysdeps/sh/tininess.h: Likewise.
1573 * sysdeps/x86_64/tininess.h: Likewise.
1574 * stdlib/tst-strtod-underflow.c: Likewise.
1575 * stdlib/tst-tininess.c: Likewise.
1576 * stdlib/strtod_l.c: Include <tininess.h>.
1577 (round_and_return): Do not set errno for exact underflow cases.
1578 Force an underflow exception when setting errno for underflow.
1579 Determine underflow based on rounding to normal precision if
1580 TININESS_AFTER_ROUNDING.
1581 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1582 ERANGE for exact underflow cases.
1583 * stdlib/Makefile (tests): Add tst-tininess and
1584 tst-strtod-underflow.
1585 ($(objpfx)tst-tininess): Use $(link-libm).
1586 ($(objpfx)tst-strtod-underflow): Likewise.
1587
e7170363
AJ
15882012-10-30 Andreas Jaeger <aj@suse.de>
1589
e5088dc6
AJ
1590 [BZ#14767]
1591 * elf/Makefile (tests): Remove conditional for have-initfini-array
1592 since this is now always required and the variable does not exist
1593 anymore.
1594 (tests-static): Likewise.
1595 (modules-names): Likewise.
1596
e7170363 1597 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1598
1599 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1600 merged with constructor/destructor.
1601 (init_array): Likewise.
1602 * elf/tst-array2dep.c (fini_array): Likewise.
1603 (init_array): Likewise.
1604
60457d8a
MF
16052012-10-29 Mike Frysinger <vapier@gentoo.org>
1606
1607 * manual/message.texi: Delete @cartouche tags.
1608
8bece752
PT
16092012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1610
94ce799f
PT
1611 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1612 EOPNOTSUPP.
1613 * sysdeps/mach/hurd/fsync.c: Likewise.
1614
8bece752
PT
1615 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1616 [_POSIX_REALTIME_SIGNALS]: Change condition to
1617 [_POSIX_REALTIME_SIGNALS > 0].
1618
86ebe6b1
AJ
16192012-10-27 Andreas Jaeger <aj@suse.de>
1620
1621 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1622 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1624 [__WORDSIZE != 64]: Likewise.
1625
54399c08
L
16262012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1627
1628 * iconvdata/tst-table.sh: Remove ${SHELL}.
1629 * iconvdata/tst-tables.sh: Likewise.
1630
e2211bed
DM
16312012-10-25 David S. Miller <davem@davemloft.net>
1632
1633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1634 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1635 of strtoull.
1636
f303f97c
DM
1637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1638 ifunc-impl-list.c
1639 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1640 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1641 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1642 file.
1643
1e9d84cd
RM
16442012-10-25 Roland McGrath <roland@hack.frob.com>
1645
1646 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1647 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1648 __getdirentries.
1649
df381762
JM
16502012-10-25 Joseph Myers <joseph@codesourcery.com>
1651 Jim Blandy <jimb@codesourcery.com>
1652
1653 * scripts/cross-test-ssh.sh: New file.
1654 * manual/install.texi (Configuring and compiling): Document use of
1655 cross-test-ssh.sh.
1656 * INSTALL: Regenerated.
1657
bff64913
PT
16582012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1659
1660 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1661 EOPNOTSUPP.
1662
25fe8932
JM
16632012-10-25 Joseph Myers <joseph@codesourcery.com>
1664
1665 * Makeconfig (run-program-prefix): Fix comment.
1666
cc1290d0
JM
16672012-10-24 Joseph Myers <joseph@codesourcery.com>
1668 Jim Blandy <jimb@codesourcery.com>
1669
1670 * Makeconfig (test-wrapper): New variable,
1671 (test-wrapper-env): Likewise.
1672 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1673 (run-built-tests): Define to yes.
1674 (run-program-prefix): Use $(test-wrapper).
1675 (built-program-cmd): Likewise.
1676 * Rules (make-test-out): Use $(test-wrapper-env) and
1677 $(host-built-program-cmd).
1678 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1679 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1680 tst-pathopt.sh.
1681 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1682 $(test-wrapper-env) to tst-rtld-load-self.sh.
1683 ($(objpfx)order2.out): Use $(test-wrapper).
1684 ($(objpfx)tst-initorder.out): Likewise.
1685 ($(objpfx)tst-initorder2.out): Likewise.
1686 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1687 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1688 (test_wrapper_env): New variable. Use it to run ld.so.
1689 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1690 Use it to run ld.so.
1691 (test_wrapper_env): Likewise.
1692 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1693 $(test-wrapper) to run-iconv-test.sh.
1694 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1695 (ICONV): Use $test_wrapper.
1696 * posix/Makefile ($(objpfx)globtest.out): Pass
1697 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1698 globtest.sh, not $(run-program-prefix).
1699 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1700 (test_wrapper): Likewise.
1701 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1702 set together with run_via_rtld_prefix.
1703 (run_program_prefix): Define in terms of test_wrapper and
1704 run_via_rtld_prefix.
1705
6e6249d0
RM
17062012-10-24 Roland McGrath <roland@hack.frob.com>
1707
1708 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1709 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1710 Targets removed.
1711
1712 [BZ #14743]
1713 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1714 Declare __clock_getres, __clock_gettime, __clock_settime,
1715 __clock_nanosleep, and __clock_getcpuclockid.
1716 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1717 Remove librt_hidden_def (clock_gettime).
1718 * sysdeps/unix/clock_gettime.c: Likewise.
1719 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1720 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1721 * rt/clock_getres.c: Define __clock_getres as an alias.
1722 * sysdeps/posix/clock_getres.c: Likewise.
1723 * rt/clock_settime.c: Define __clock_settime as an alias.
1724 * sysdeps/unix/clock_settime.c: Likewise.
1725 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1726 * sysdeps/unix/clock_nanosleep.c: Likewise.
1727 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1728 * rt/clock-compat.c: New file.
1729 * rt/Makefile (librt-routines): Add clock-compat and move
1730 $(clock-routines) to ...
1731 (routines): ... here, new variable.
1732 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1733 Don't add get_clockfreq here.
1734 * rt/Versions (libc: GLIBC_2.17): New version set.
1735 Add clock_* symbols here.
1736 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1737 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1738 (GLIBC_2.17): Add clock_* symbols.
1739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1741 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1743 Likewise.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1745 Likewise.
1746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1750 * NEWS: Mention the move.
1751
1752 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1753 Use __open, __read, __close rather than their public counterparts.
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1755 (__get_clockfreq_via_cpuinfo): Likewise.
1756 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1757 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1758
1759 * config.h.in (HAVE_IFUNC): New #undef.
1760 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1761 was successful.
1762 * configure: Regenerated.
1763
0cae3f4b
MF
17642012-10-24 Mike Frysinger <vapier@gentoo.org>
1765
1766 * configure.in: Move READELF check to start of file.
1767 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1768 libc_cv_asm_gnu_indirect_function in the process.
1769 * configure: Regenerated.
1770
8175a253
MF
17712012-10-24 Mike Frysinger <vapier@gentoo.org>
1772
1773 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1774 send the output to /dev/null.
1775 (libc_cv_cc_with_libunwind): Likewise.
1776 (libc_cv_as_noexecstack): Likewise.
1777 * configure: Regenerate.
1778
0708a7d1
JM
17792012-10-24 Joseph Myers <joseph@codesourcery.com>
1780
10b40d85
JM
1781 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1782
0708a7d1
JM
1783 * posix/globtest.sh (TMPDIR): Do not set.
1784 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1785 (testout): Likewise.
1786
9fddec1a
AJ
17872012-10-24 Andreas Jaeger <aj@suse.de>
1788
3a8db22f
AJ
1789 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1790 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1791 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1792 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1793 posix_fadvise64, posix_fallocate64.
1794
9fddec1a
AJ
1795 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1796 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1797 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1798 Likewise.
1799 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1800 Likewise.
1801 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1802
1803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1804 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1805 <bits/fcntl-linux.h>.
1806 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1807
1808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1809 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1810 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1811 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1812 [__WORDSIZE != 64]: Likewise.
1813
ebfd1bbd
JM
18142012-10-23 Joseph Myers <joseph@codesourcery.com>
1815
03ac099f
JM
1816 * Makeconfig (run-built-tests): New variable.
1817 * Rules [$(cross-compiling) = yes]: Change condition to
1818 [$(run-built-tests) = no].
1819 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1820 to [$(run-built-tests) = yes].
1821 * elf/Makefile [$(cross-compiling) = no]: Likewise
1822 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1823 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1824 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1825 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1826 * io/Makefile [$(cross-compiling) = no]: Likewise.
1827 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1828 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1829 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1830 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1831 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1832 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1833 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1834 * string/Makefile [$(cross-compiling) = no]: Likewise.
1835
ebfd1bbd
JM
1836 * posix/Makefile ($(objpfx)globtest.out): Pass
1837 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1838 $(rtld-installed-name).
1839 * posix/globtest.sh (elf_objpfx): Remove variable.
1840 (rtld_installed_name): Likewise.
1841 (library_path): Likewise.
1842 (run_program_prefix): New variable. Use for running globtest
1843 binary.
1844
166bca24
JB
18452012-10-23 Jim Blandy <jimb@codesourcery.com>
1846 Joseph Myers <joseph@codesourcery.com>
1847
1848 * Makeconfig (host-built-program-cmd): New variable.
1849 * elf/Makefile (tst-stackguard1-ARGS): Use
1850 $(host-built-program-cmd).
1851 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1852 (tst-spawn-ARGS): Likewise.
1853 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1854
88866099
JM
18552012-10-23 Joseph Myers <joseph@codesourcery.com>
1856 Jim Blandy <jimb@codesourcery.com>
1857
1858 * Makeconfig (run-via-rtld-prefix): New variable.
1859 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1860 (built-program-cmd): Likewise.
1861
b4b4c296
AJ
18622012-10-22 Andreas Jaeger <aj@suse.de>
1863
1864 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1865 __O_RSYNC if it exists, otherwise to O_SYNC.
1866
6fb54a22
JB
18672012-10-22 Jim Blandy <jimb@codesourcery.com>
1868 Joseph Myers <joseph@codesourcery.com>
1869
1870 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1871 /dev/null.
1872 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1873 from /dev/null
1874 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1875 /dev/null.
1876
481b90b9
AJ
18772012-10-22 Andreas Jaeger <aj@suse.de>
1878
2a0e2669
AJ
1879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1880 Define always.
1881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1882
76e38f9a
AJ
1883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1884 bits/fcntl-linux.h.
1885
7cd37b43
AJ
1886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1887 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1888
481b90b9
AJ
1889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1890 to __O_LARGEFILE.
1891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1892 to __O_LARGEFILE.
1893
aba75984
JB
18942012-10-21 Jim Blandy <jimb@codesourcery.com>
1895 Joseph Myers <joseph@codesourcery.com>
1896
1897 * config.make.in (NM): New variable.
1898
88d4247f
AJ
18992012-10-21 Andreas Jaeger <aj@suse.de>
1900
1901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1902 definitions and declarations that are provided by
1903 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1904
f2eed205
L
19052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1906
1907 [BZ #14683]
1908 * elf/Makefile (tests-static): Add tst-leaks1-static.
1909 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1910 ($(objpfx)tst-leaks1-static): New rule.
1911 ($(objpfx)tst-leaks1-static-mem): Likewise.
1912 (tst-leaks1-static-ENV): New macro.
1913 * elf/dl-open.c (dl_open_worker): Check the main application
1914 only if SHARED is defined.
1915 * elf/tst-leaks1-static.c: New file.
1916
335e6931
AJ
19172012-10-20 Andreas Jaeger <aj@suse.de>
1918
1919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1920 generic values for Linux.
1921 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1922 and declarations that are provided by <bits/fcntl-linux.h> and
1923 include <bits/fcntl-linux.h>.
1924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1926
ac5c94d3
RM
19272012-10-20 Roland McGrath <roland@hack.frob.com>
1928
1929 * io/fcntl.h: Move include of <bits/types.h> to the top and
1930 include it unconditionally.
1931
de54b33a
L
19322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1933
228cfb01
L
1934 * wcsmbs/Makefile (tests-ifunc): New variable.
1935 (tests): Add $(tests-ifunc).
1936 * wcsmbs/test-wcschr-ifunc.c: New file.
1937 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1938 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1939 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1940 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1941 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1942
69f07e5f
L
1943 * string/Makefile (tests-ifunc): New variable.
1944 (tests): Add $(tests-ifunc).
1945 * string/test-memccpy.c (TEST_NAME): New macro.
1946 * string/test-memchr.c (TEST_NAME): Likewise.
1947 * string/test-memcmp.c (TEST_NAME): Likewise.
1948 * string/test-memcpy.c (TEST_NAME): Likewise.
1949 * string/test-memmem.c (TEST_NAME): Likewise.
1950 * string/test-memmove.c (TEST_NAME): Likewise.
1951 * string/test-memset.c (TEST_NAME): Likewise.
1952 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1953 * string/test-stpcpy.c (TEST_NAME): Likewise.
1954 * string/test-stpncpy.c (TEST_NAME): Likewise.
1955 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1956 * string/test-strcasestr.c (TEST_NAME): Likewise.
1957 * string/test-strcat.c (TEST_NAME): Likewise.
1958 * string/test-strchr.c (TEST_NAME): Likewise.
1959 * string/test-strcmp.c(TEST_NAME): Likewise.
1960 * string/test-strcpy.c (TEST_NAME): Likewise.
1961 * string/test-strcspn.c (TEST_NAME): Likewise.
1962 * string/test-strlen.c (TEST_NAME): Likewise.
1963 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1964 * string/test-strncmp.c (TEST_NAME): Likewise.
1965 * string/test-strncpy.c (TEST_NAME): Likewise.
1966 * string/test-strnlen.c (TEST_NAME): Likewise.
1967 * string/test-strpbrk.c (TEST_NAME): Likewise.
1968 * string/test-strrchr.c (TEST_NAME): Likewise.
1969 * string/test-strspn.c (TEST_NAME): Likewise.
1970 * string/test-strstr.c (TEST_NAME): Likewise.
1971 * string/test-bcopy-ifunc.c: New file.
1972 * string/test-bzero-ifunc.c: Likewise.
1973 * string/test-memccpy-ifunc.c: Likewise.
1974 * string/test-memchr-ifunc.c: Likewise.
1975 * string/test-memcmp-ifunc.c: Likewise.
1976 * string/test-memcpy-ifunc.c: Likewise.
1977 * string/test-memmem-ifunc.c: Likewise.
1978 * string/test-memmove-ifunc.c: Likewise.
1979 * string/test-mempcpy-ifunc.c: Likewise.
1980 * string/test-memset-ifunc.c: Likewise.
1981 * string/test-rawmemchr-ifunc.c: Likewise.
1982 * string/test-stpcpy-ifunc.c: Likewise.
1983 * string/test-stpncpy-ifunc.c: Likewise.
1984 * string/test-strcasecmp-ifunc.c: Likewise.
1985 * string/test-strcasestr-ifunc.c: Likewise.
1986 * string/test-strcat-ifunc.c: Likewise.
1987 * string/test-strchr-ifunc.c: Likewise.
1988 * string/test-strchrnul-ifunc.c: Likewise.
1989 * string/test-strcmp-ifunc.c: Likewise.
1990 * string/test-strcpy-ifunc.c: Likewise.
1991 * string/test-strcspn-ifunc.c: Likewise.
1992 * string/test-strlen-ifunc.c: Likewise.
1993 * string/test-strncasecmp-ifunc.c: Likewise.
1994 * string/test-strncat-ifunc.c: Likewise.
1995 * string/test-strncmp-ifunc.c: Likewise.
1996 * string/test-strncpy-ifunc.c: Likewise.
1997 * string/test-strnlen-ifunc.c: Likewise.
1998 * string/test-strpbrk-ifunc.c: Likewise.
1999 * string/test-strrchr-ifunc.c: Likewise.
2000 * string/test-strspn-ifunc.c: Likewise.
2001 * string/test-strstr-ifunc.c: Likewise.
2002
de54b33a
L
2003 * debug/Makefile (tests-ifunc): New variable.
2004 (tests): Add $(tests-ifunc).
2005 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2006 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2007 * debug/test-stpcpy_chk-ifunc.c: New file.
2008 * debug/test-strcpy_chk-ifunc.c: Likewise.
2009
88481c16
SP
20102012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2011
2012 [BZ #13601]
2013 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2014 header is not read in.
2015
135948bd
JM
20162012-10-19 Joseph Myers <joseph@codesourcery.com>
2017
89f1c388
JM
2018 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2019 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2020 directly. Pass built executable to script as
2021 $(built-program-cmd).
2022 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2023 $testprogram without using LD_LIBRARY_PATH and $ldso.
2024
e40a0d21
JM
2025 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2026 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2027 $(rtld-installed-name).
2028 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2029 (rtld_installed_name): Likewise.
2030 (library_path): Likewise.
2031 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2032 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2033 $(run-program-prefix) to tst-tables.sh.
2034 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2035 it to run tst-table-from and tst-table-to.
2036 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2037 Pass it to tst-table.sh.
2038 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2039 $(run-program-prefix) to tst-gettext.sh.
2040 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2041 tst-translit.sh.
2042 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2043 tst-gettext2.sh.
2044 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2045 to run tst-gettext.
2046 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2047 to run tst-gettext2.
2048 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2049 to run tst-translit.
2050 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2051 $(run-program-prefix) to tst-mtrace.sh.
2052 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2053 to run tst-mtrace.
2054 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2055 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2056 $(rtld-installed-name).
2057 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2058 (rtld_installed_name): Likewise.
2059 (run_program_prefix): New variable. Use it to run wordexp-test.
2060
728e272a
JM
2061 * Makeconfig (ARCH): Remove all definitions.
2062 (machine): Likewise.
2063 [ARCH]: Remove conditional code.
2064 [!objdir]: Give error.
2065 [!objdir] (objpfx): Remove.
2066 [!objdir] (common-objpfx): Likewise.
2067 [!objdir] (common-objdir): Likewise.
2068 * configure.in (config_makefile): Remove. Hardcode Makefile in
2069 AC_CONFIG_FILES call.
2070 * configure: Regenerated.
2071
d528cdcf
JM
2072 [BZ #13888]
2073 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2074 or TMPDIR.
2075 (testout): Likewise.
2076
135948bd
JM
2077 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2078 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2079 $(rtld-installed-name).
2080 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2081 (rtld_installed_name): Likwise.
2082 (runit): Remove function.
2083 (run_getconf): New variable, Use it for running getconf binary.
2084
38c78296
L
20852012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2086
2087 [BZ #14716]
2088 * string/test-memmem.c (check_result): New function.
2089 (do_one_test): Use it.
2090 (check1): New function.
2091 (test_main): Use it.
2092
d077f65f
MT
20932012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2094
2095 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2096
ced52c71
JM
20972012-10-18 Joseph Myers <joseph@codesourcery.com>
2098
2099 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2100 (_G_LSEEK64): Likewise.
2101 (_G_MMAP64): Likewise.
2102 (_G_FSTAT64): Likewise.
2103 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2104 (_G_LSEEK64): Likewise.
2105 (_G_MMAP64): Likewise.
2106 (_G_FSTAT64): Likewise.
2107 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2108 unconditional. Call __mmap64 directly.
2109 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2110 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2111 __lseek64 directly.
2112 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2113 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2114 __mmap64 directly.
2115 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2116 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2117 __lseek64 directly.
2118 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2119 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2120 __lseek64 directly.
2121 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2122 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2123 __lseek64 directly.
2124 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2125 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2126 __fxstat64 directly.
2127 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2128 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2129 unconditional.
2130 (freopen64) [!_G_OPEN64]: Remove conditional code.
2131 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2132 unconditional.
2133 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2134 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2135 unconditional.
2136 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2137 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2138 unconditional.
2139 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2140 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2141 unconditional.
2142 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2143 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2144 unconditional.
2145 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2146 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2147 unconditional.
2148 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2149 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2150 unconditional.
2151 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2152
b741de23
SP
21532012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2154
2155 [BZ #12140]
2156 * manual/memory.texi (Malloc Tunable Parameters): Add note
2157 about free list pointers overwriting some perturb bytes.
2158 Wording suggested by Roland McGrath.
2159
f9b9d9c9
JM
21602012-10-17 Joseph Myers <joseph@codesourcery.com>
2161
2162 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2163 (lgamma_test): Likewise.
2164 (tgamma_test): Likewise.
2165
172a631a
FW
21662012-10-16 Florian Weimer <fweimer@redhat.com>
2167
2168 [BZ #14700]
2169 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2170 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2171
e9f37252
MK
21722012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2173
2174 * NEWS: Mention BZ #14716.
2175 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2176 when removing AVAILABLE1_USES_J macro.
2177
d394eb74
L
21782012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2179
2180 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2181 (__bswap_64): __uint64_t for unsigned 64-bit int.
2182
ca38dc17
AS
21832012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2184
2185 * include/string.h (memmem): Declare libc hidden alias.
2186 * string/memmem.c (memmem): Define libc hidden alias.
2187 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2188 __read, __close instead of open, read, close.
2189
9a387d1f
L
21902012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2191
ac49ecaf
L
2192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2193 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2194 global and hidden.
2195 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2196 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2197 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2198 Likewise.
2199 (__rawmemchr_sse2): Likewise.
2200 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2201 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2202 (__strchr_sse2): Likewise.
2203 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2204 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2205 (__strcasecmp_sse2): Likewise.
2206 (__strncasecmp_sse2): Likewise.
2207 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2208 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2209 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2210 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2211 (__strrchr_sse2): Likewise.
2212 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2213 ifunc-impl-list.c.
2214 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2215 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2216 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2217 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2218 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2219 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2220 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2221 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2222 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2223 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2224 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2225 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2226 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2227 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2228 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2229 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2230 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2231 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2232 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2233 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2234 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2235 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2236 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2237 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2238 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2239 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2240 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2241 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2242 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2243 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2244
b090e8ea
L
2245 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2246 global and hidden.
2247 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2248 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2249 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2250 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2251 Likewise.
2252 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2253 Likewise.
2254 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2255 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2256 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2257 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2258 ifunc-impl-list.c.
2259 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2260 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2261 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2262 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2263 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2264 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2265 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2266 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2267 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2268 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2269 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2270 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2272 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2273 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2275 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2276 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2277 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2278 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2279 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2280 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2281 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2282 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2284 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2285 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2286 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2287 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2288 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2289 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2290 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2291 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2292 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2293 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2294 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2295 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2296 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2297 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2298 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2299 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2300
11dd4af6
L
2301 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2302 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2303 * include/ifunc-impl-list.h: New file.
2304 * misc/ifunc-impl-list.c: Likewise.
2305 * misc/Makefile (routines): Add ifunc-impl-list.
2306 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2307 * string/test-string.h: Include <ifunc-impl-list.h>.
2308 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2309 impl_array): New variables.
2310 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2311 are defined.
2312 (test_init): Call __libc_ifunc_impl_list to initialize
2313 func_list if TEST_IFUNC and TEST_NAME are defined.
2314
9a387d1f
L
2315 * string/Makefile (strop-tests): Add bcopy and bzero.
2316 * string/test-bcopy.c: New file.
2317 * string/test-bzero.c: Likewise.
2318 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2319 defined.
2320 * string/test-memset.c: Support bzero test if TEST_BZERO is
2321 defined.
2322 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2323 __libc_memmove.
2324 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2325 __libc_memset.
2326 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2327 of memset.
2328
472371b9
JM
23292012-10-10 Joseph Myers <joseph@codesourcery.com>
2330
1e4a9536
JM
2331 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2332 * configure: Regenerated.
2333
d173d12e
JM
2334 * Makeconfig (+link-static-before-libc): Don't include
2335 $(link-static-libc).
2336
472371b9
JM
2337 * libio/libio.h (_IO_pos_t): Remove.
2338
89a3ad0b
AO
23392012-10-10 Alexandre Oliva <aoliva@redhat.com>
2340
2341 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2342 McGrath.
2343
e7451425
AO
23442012-10-10 Alexandre Oliva <aoliva@redhat.com>
2345
2346 * crypt/crypt-entry.c: Include fips-private.h.
2347 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2348 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2349 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2350 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2351
4ba74a35
AO
23522012-10-10 Alexandre Oliva <aoliva@redhat.com>
2353
2354 * crypt/crypt-private.h: Include stdbool.h.
2355 (_ufc_setup_salt_r): Return bool.
2356 * crypt/crypt-entry.c: Include errno.h.
2357 (__crypt_r): Return NULL with EINVAL for bad salt.
2358 * crypt/crypt_util.c (bad_for_salt): New.
2359 (_ufc_setup_salt_r): Check that salt is long enough and within
2360 the specified alphabet.
2361 * crypt/badsalttest.c: New file.
2362 * crypt/Makefile (tests): Add it.
2363 ($(objpfx)badsalttest): New.
2364
f96f1242
MK
23652012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2366
2367 * NEWS: Add entry for BZ #14602.
2368
0e8e0c1c
JM
23692012-10-09 Joseph Myers <joseph@codesourcery.com>
2370
2371 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2372 type-generic.
2373 * math/libm-test.inc: Update comment listing what functions and
2374 macros are tested.
2375 (isgreater_test): New function.
2376 (isgreaterequal_test): Likewise.
2377 (isless_test): Likewise.
2378 (islessequal_test): Likewise.
2379 (islessgreater_test): Likewise.
2380 (isunordered_test): Likewise.
2381 (main): Call the new functions.
2382
273edc5e
RM
23832012-10-09 Roland McGrath <roland@hack.frob.com>
2384
b8493de0
RM
2385 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2386 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2387 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2388 * sysdeps/i386/configure: Regenerated.
2389 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2390 * sysdeps/mach/configure: Regenerated.
2391 * sysdeps/mach/hurd/configure: Regenerated.
2392 * sysdeps/powerpc/configure: Regenerated.
2393 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2394 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2395 * sysdeps/s390/s390-32/configure: Regenerated.
2396 * sysdeps/s390/s390-64/configure: Regenerated.
2397 * sysdeps/sh/configure: Regenerated.
2398 * sysdeps/sparc/configure: Regenerated.
2399 * sysdeps/unix/sysv/linux/configure: Regenerated.
2400 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2401 * sysdeps/x86_64/configure: Regenerated.
2402
273edc5e
RM
2403 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2404 defined. Don't check if MAP is NULL.
2405
c8450f70
JM
24062012-10-09 Joseph Myers <joseph@codesourcery.com>
2407
2408 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2409 (_G_stat64): Likewise.
2410 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2411 (_G_stat64): Likewise.
2412 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2413 instead of struct _G_stat64.
2414 * libio/fileops.c (mmap_remap_check): Likewise.
2415 (decide_maybe_mmap): Likewise.
2416 (_IO_new_file_seekoff): Likewise.
2417 (_IO_file_stat): Likewise.
2418 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2419 _G_off64_t.
2420 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2421 instead of struct _G_stat64.
2422 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2423
57e605ba
MK
24242012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2425
2426 [BZ #14602]
2427 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2428 Replace with ...
2429 (CHECK_EOL): New macro.
2430 (two_way_short_needle): Check beginning of haystack for EOL. Use
2431 CHECK_EOL.
2432 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2433 Replace with CHECK_EOL.
2434 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2435 Replace with CHECK_EOL.
2436
ef1bb361
JM
24372012-10-08 Joseph Myers <joseph@codesourcery.com>
2438
2439 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2440 type-generic.
2441 * math/libm-test.inc: Update comment listing what functions and
2442 macros are tested.
2443 (finite_test): New function.
2444 (isinf_test): Likewise.
2445 (isnan_test): Likewise.
2446 (fpclassify_test): Test subnormal input.
2447 (isfinite_test): Likewise.
2448 (isnormal_test): Likewise.
2449 (main): Call the new functions.
2450
55f11534
JN
24512012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2452
2453 [BZ #14660]
2454 * Makerules (%.dynsym): Force C locale when running
2455 $(OBJDUMP) --dynamic-syms.
2456
1ab29350
AS
24572012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2458
2459 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2460 <stdint.h>.
2461
f1ecb7ef
DM
24622012-10-06 David S. Miller <davem@davemloft.net>
2463
2464 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2465 upper 32-bits of the length value in %o2 since we use branch-on-register
2466 tests which consider the entire 64-bit register.
2467
5d41d91a
L
24682012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2469
2470 * string/test-strstr.c (check2): Add a test for page boundary.
2471
3baddb72
DM
24722012-10-05 David S. Miller <davem@davemloft.net>
2473
2474 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2475 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2476 file.
2477 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2478 sysdep_routines.
2479 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2480 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2481 and bzero when HWCAP_SPARC_CRYPTO is present.
2482
9cee5585
L
24832012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2484
d7e0dab9
L
2485 [BZ #14602]
2486 * string/test-strstr.c (check2): New function.
2487 (test_main): Call check2.
2488
03759f47
L
2489 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2490 and bug-strchr1.
2491 * string/bug-strcasestr1.c (do_test): Moved to ...
2492 * string/test-strcasestr.c (check1): Here. New function.
2493 (do_one_test): Break out result checking code into ...
2494 (check_result): This. New function.
2495 (do_one_test): Call check_result.
2496 (test_main): Call check1.
2497 * string/bug-strchr1.c (do_test): Moved to ...
2498 * string/test-strchr.c (check1): Here. New function.
2499 (do_one_test): Break out result checking code into ...
2500 (check_result): This. New function.
2501 (do_one_test): Call check_result.
2502 (test_main): Call check1.
2503 * string/bug-strstr1.c (main): Moved to ...
2504 * string/test-strchr.c (check1): Here. New function.
2505 (do_one_test): Break out result checking code into ...
2506 (check_result): This. New function.
2507 (do_one_test): Call check_result.
2508 (test_main): Call check1.
2509 * string/bug-strcasestr1.c: Removed.
2510 * string/bug-strchr1.c: Likewise.
2511 * string/bug-strstr1.c: Likewise.
2512
53cea63e
L
2513 * elf/Makefile (dl-routines): Add hwcaps.
2514 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2515 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2516 (_dl_important_hwcaps): Moved to ...
2517 * elf/dl-hwcaps.c: Here. New file.
2518 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2519
9cee5585 2520 [BZ #14557]
bb859b06
L
2521 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2522 if IS_IN_rtld isn't defined.
2523
9cee5585
L
2524 * elf/dl-support.c (_dl_sysinfo_map): New.
2525 Include "get-dynamic-info.h" and "setup-vdso.h".
2526 (_dl_non_dynamic_init): Call setup_vdso.
2527 * elf/dynamic-link.h: Don't include <assert.h>.
2528 (elf_get_dynamic_info): Moved to ...
2529 * elf/get-dynamic-info.h: Here. New file.
2530 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2531 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2532 * elf/setup-vdso.h: Here. New file.
2533 * elf/rtld.c: Include "setup-vdso.h".
2534 (dl_main): Call setup_vdso.
2535
23c31b76
JM
25362012-10-05 Joseph Myers <joseph@codesourcery.com>
2537
28234b07
JM
2538 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2539 creal in comment listing functions tested. List finite, isinf,
2540 isnan, isless, islessequal, isgreater, isgreaterequal,
2541 islessgreater, isunordered, lgamma_r and pow10 as functions and
2542 macros not tested. Mention which functions not tested are aliases
2543 for other functions. Fix typo. Note that signs of NaNs are not
2544 tested.
2545
23c31b76
JM
2546 * scripts/config.guess: Update from config.git.
2547 * scripts/config.sub: Likewise.
2548
9043e228
RM
25492012-10-04 Roland McGrath <roland@hack.frob.com>
2550
2551 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2552 * misc/madvise.c (madvise): Renamed to __madvise.
2553 Make madvise a weak alias.
2554 * include/sys/mman.h: Declare __madvise.
2555 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2556 * sysdeps/unix/syscalls.list
2557 (madvise): Make __madvise the strong name, and madvise a weak alias.
2558 * sysdeps/unix/sysv/linux/syscalls.list
2559 (madvise, mmap): Remove redundant entries.
2560 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2561 * malloc/malloc.c (mtrim): Likewise.
2562 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2563
f57f8055
RM
25642012-10-03 Roland McGrath <roland@hack.frob.com>
2565
2566 * sysdeps/mach/hurd/dl-cache.c: File removed.
2567 * config.h.in (USE_LDCONFIG): New #undef.
2568 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2569 * configure: Regenerated.
2570 * elf/Makefile (dl-routines): Add dl-cache only under
2571 [$(use-ldconfig) = yes].
2572 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2573 cache on [USE_LDCONFIG].
2574 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2575 [USE_LDCONFIG].
2576 * elf/rtld.c (dl_main): Likewise.
2577
5bb0c10a
PT
25782012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2579
2580 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2581 _SC_LEVEL4_CACHE_LINESIZE.
2582
010188c6
RM
25832012-10-03 Roland McGrath <roland@hack.frob.com>
2584
2585 * sysdeps/unix/bsd/confstr.h: File removed.
2586
b6c5ec07
AO
25872012-10-02 Alexandre Oliva <aoliva@redhat.com>
2588
2589 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2590 sys/sdt-config.h.
2591
408223d4
RM
25922012-10-02 Roland McGrath <roland@hack.frob.com>
2593
2594 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2595 Make 'mapoff' field ElfW(Off) rather than off_t.
2596
bb9510dc
DL
25972012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2598
fc997c6e
DL
2599 * nscd/Makefile: Remove nscd-cflags and all its users.
2600 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2601 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2602
bb9510dc
DL
2603 [BZ #10631]
2604 * malloc.c (malloc_printerr): Clarify error message.
2605
05699367
L
26062012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2607
2608 [BZ #14648]
2609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2610 Set bit_FMA_Usable if FMA is supported.
2611 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2612 macro.
2613 (bit_FMA4_Usable): Updated.
2614 (index_FMA_Usable): New macro.
2615 (CPUID_FMA): Likewise
2616 (HAS_FMA): Defined with bit_FMA_Usable.
2617
51367701
RM
26182012-10-01 Roland McGrath <roland@hack.frob.com>
2619
2620 * bits/types.h (__swblk_t): Type removed.
2621 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2622 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2624 (__SWBLK_T_TYPE): Likewise.
2625 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2626 (__SWBLK_T_TYPE): Likewise.
2627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2628 (__SWBLK_T_TYPE): Likewise.
2629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2630 (__SWBLK_T_TYPE): Likewise.
2631
4d57bf63 26322012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2633 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2634
2635 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2636 (xdr_mapname): Use YPMAXMAP as maxsize.
2637 (xdr_peername): Use YPMAXPEER as maxsize.
2638 (xdr_keydat): Use YPAXRECORD as maxsize.
2639 (xdr_valdat): Use YPMAXRECORD as maxsize.
2640
93c65d43
RM
26412012-10-01 Roland McGrath <roland@hack.frob.com>
2642
497a03d6
RM
2643 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2644
93c65d43
RM
2645 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2646 * csu/init-first.c: ... here.
2647 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2648 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2649 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2650 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2651 * sysdeps/i386/init-first.c: File removed.
2652 * sysdeps/sh/init-first.c: File removed.
2653
bec749fd
JM
26542012-10-01 Joseph Myers <joseph@codesourcery.com>
2655
2656 [BZ #14645]
2657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2658 if x * y might underflow to zero and z is zero.
2659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2661 * math/libm-test.inc (min_subnorm_value): New variable.
2662 (fma_test): Add more tests.
2663 (fma_test_towardzero): Likewise.
2664 (fma_test_downward): Likewise
2665 (fma_test_upward): Likewise.
2666 (initialize): Set min_subnorm_value.
2667
8ec5b013
JM
26682012-09-29 Joseph Myers <joseph@codesourcery.com>
2669
2670 [BZ #14638]
2671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2672 0 + 0.
2673 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2674 mode for addition resulting in exact zero.
2675 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2677 exact 0 + 0.
2678 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2680 * math/libm-test.inc (fma_test): Add more tests.
2681 (fma_test_towardzero): New function.
2682 (fma_test_downward): Likewise.
2683 (fma_test_upward): Likewise.
2684 (main): Call the new functions.
2685
b1fa802e
DM
26862012-09-28 David S. Miller <davem@davemloft.net>
2687
2688 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2689
d3b9fd9e
RM
26902012-09-28 Roland McGrath <roland@hack.frob.com>
2691
ea4d37b3
RM
2692 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2693 instead of SIGALRM.
2694
ac51c949
RM
2695 * sysdeps/gnu/_G_config.h: Moved to ...
2696 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2697 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2698 * sysdeps/generic/_G_config.h: ... here.
2699
28c195f7
RM
2700 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2701
848917f9
RM
2702 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2703
6bacf05b
RM
2704 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2705 Conditionalize target on [libnss_test1.so-version].
2706
91363dbb
RM
2707 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2708
cc87f7d8
RM
2709 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2710 (elfobjdir): Move out of conditionals.
2711
b1c608fe
RM
2712 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2713 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2714 (__nss_lookup_function): Conditionalize label remove_from_tree on
2715 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 2716
1d9a6d96
DM
27172012-09-28 David S. Miller <davem@davemloft.net>
2718
2719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2720 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2721 file.
2722 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2723 sysdep_routines.
2724 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2726 when HWCAP_SPARC_CRYPTO is present.
2727
72581615
PT
27282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2729
2730 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2731
715a900c
JL
27322012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2733
2734 [BZ #6530]
2735 * stdio-common/vfprintf.c (process_string_arg): Revert
2736 2000-07-22 change.
2737
27382011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2739
2740 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2741 for testcase.
2742 * stdio-common/tst-sprintf.c: Include <locale.h>
2743 (main): Test sprintf's handling of incomplete multibyte
2744 characters.
2745
9bac1d86
L
27462012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2747
2748 * elf/dl-runtime.c (VERSYMIDX): Removed.
2749 * elf/dl-version.c (VERSYMIDX): Likewise.
2750 * elf/do-rel.h (VERSYMIDX): Likewise.
2751 (VALIDX): Likewise.
2752 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2753 * elf/rtld.c (VALIDX): Likewise.
2754 (ADDRIDX): Likewise.
9bac1d86
L
2755 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2756 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2757 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2758 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2759 (VALIDX): Likewise.
2760 (ADDRIDX): Likewise.
9bac1d86 2761
b31606c0
PT
27622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2763
2764 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2765
11541177
JL
27662012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2767
2768 [BZ #11438]
2769 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2770 to global scope.
2771 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2772 addresses are in the same scope as 192.0.2/24.
2773 * posix/gai.conf: Document new scope table defaults.
2774
adb26fae
SP
27752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2776
2777 [BZ #5298]
2778 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2779 for ftell. Compute offsets from write pointers instead.
2780 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2781
4573c6b0
SP
27822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2783
2784 [BZ #14543]
2785 * libio/Makefile (tests): New test case tst-fseek.
2786 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2787 combination works in wide mode.
2788 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2789 state when the external buffer state changes.
2790
aa9bbfe6
DM
27912012-09-27 David S. Miller <davem@davemloft.net>
2792
2793 [BZ #14376]
2794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2795 pass reloc->r_addend in as the 'high' argument to
2796 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2797
784421e7
DM
2798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2799
c39bc8b8
PT
28002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2801
2802 * rt/tst-aio2.c: Include <pthread.h>.
2803 * rt/tst-aio3.c: Likewise.
2804
1ccc2399
SE
28052012-09-27 Steve Ellcey <sellcey@mips.com>
2806
2807 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2808
31ed4153
L
28092012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2810
25f5f885
L
2811 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2812 contents on [SHARED].
31ed4153 2813
b7bfe116
MP
28142012-09-26 Marek Polacek <polacek@redhat.com>
2815
2816 [BZ #14530]
2817 [BZ #13741]
2818 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2819 for C++ and GCC <4.3 as well as for non GCC compilers.
2820
43c4edba
MT
28212012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2822
2823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2824
6a1bf82f
RM
28252012-09-25 Roland McGrath <roland@hack.frob.com>
2826
2827 * Makefile.in (all, install): Declare with .PHONY.
2828 Reported by Michael Hope <michael.hope@linaro.org>.
2829
8ad11b9a
TMQMF
28302012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2831
2832 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2833 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2834 system header.
2835 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2836 Likewise.
2837 (sydep_routines): Add the new and the internal functions.
2838 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2839 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2841 (GLIBC_2.17): Add the new function.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2843 (GLIBC_2.17): Likewise.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2845 (GLIBC_2.17): Likewise.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2847 (GLIBC_2.17): Likewise.
2848 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2849
7e2fca8d
AM
28502012-09-25 Alan Modra <amodra@gmail.com>
2851
2852 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2853 Add release barrier before setting once_control to say
2854 initialisation is done. Add hints on lwarx. Use macro in
2855 place of isync.
2856 (clear_once_control): Add release barrier.
2857
b87c4b24
JM
28582012-09-25 Joseph Myers <joseph@codesourcery.com>
2859
d032e0d2
JM
2860 [BZ #13629]
2861 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2862 specially.
2863 * math/s_clog10.c (__clog10): Likewise.
2864 * math/s_clog10f.c (__clog10f): Likewise.
2865 * math/s_clog10l.c (__clog10l): Likewise.
2866 * math/s_clogf.c (__clogf): Likewise.
2867 * math/s_clogl.c (__clogl): Likewise.
2868 * math/Makefile (libm-calls): Add x2y2m1.
2869 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2870 (__x2y2m1): Likewise.
2871 (__x2y2m1l): Likewise.
2872 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2873 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2874 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2876 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2877 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2878 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2879 * sysdeps/i386/fpu/libm-test-ulps: Update.
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2881
b87c4b24
JM
2882 [BZ #14621]
2883 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2884 int as type of variable DEPTH.
2885 (glob): Use size_t instead of int as type of variables NEWCOUNT
2886 and OLD_PATHC.
2887
6d3bf199
LD
28882012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2889
22bf5c17
LD
2890 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2891 Add s_sincosf-sse2.
2892 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2893 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2894 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2895 macros for using routine as __sincosf_ia32.
2896 Use macro for function declaration and weak_alias.
2897 * sysdeps/i386/fpu/libm-test-ulps: Update.
2898
2899 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2901
2902 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2903 subnormal argument.
2904 * math/s_cexpf.c (__cexpf): Likewise.
2905 * math/s_csinf.c (__csinf): Likewise.
2906 * math/s_csinhf.c (__csinhf): Likewise.
2907 * math/s_ctanf.c (__ctanf): Likewise.
2908 * math/s_ctanhf.c (__ctanhf): Likewise.
2909 * math/s_ccosh.c (__ccoshf): Likewise.
2910 * math/s_cexp.c (__cexpl): Likewise.
2911 * math/s_csin.c (__csin): Likewise.
2912 * math/s_csinh.c (__csinh): Likewise.
2913 * math/s_ctan.c (__ctan): Likewise.
2914 * math/s_ctanh.c (ctanh): Likewise.
2915 * math/s_ccoshl.c (__ccoshl): Likewise.
2916 * math/s_cexpl.c (__cexpl): Likewise.
2917 * math/s_csinl.c (__csinl): Likewise.
2918 * math/s_csinhl.c (__csinhl): Likewise.
2919 * math/s_ctanl.c (__ctanl): Likewise.
2920 * math/s_ctanhl.c (__ctanhl): Likewise.
2921
203e5603
JM
29222012-09-25 Joseph Myers <joseph@codesourcery.com>
2923
2924 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2925 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2926 (_IO_off_t): Define to __off_t, not _G_off_t.
2927 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2928 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2929 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2930 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2931 type of __dummy and __dummy2 fields.
2932 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2933 (_G_ssize_t): Likewise.
2934 (_G_off_t): Likewise.
2935 (_G_pid_t): Likewise.
2936 (_G_uid_t): Likewise.
2937 (_G_wchar_t): Likewise.
2938 (_G_wint_t): Likewise.
2939 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2940 (_G_ssize_t): Likewise.
2941 (_G_off_t): Likewise.
2942 (_G_pid_t): Likewise.
2943 (_G_uid_t): Likewise.
2944 (_G_wchar_t): Likewise.
2945 (_G_wint_t): Likewise.
2946 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2947 (_G_ssize_t): Likewise.
2948 (_G_off_t): Likewise.
2949 (_G_pid_t): Likewise.
2950 (_G_uid_t): Likewise.
2951 (_G_wchar_t): Likewise.
2952 (_G_wint_t): Likewise.
2953
9fab36eb
SP
29542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2955
2956 * malloc/arena.c: Include malloc-sysdep.h.
2957 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2958 is sufficient to shrink the heap or an unmap is needed.
2959 * sysdeps/generic/malloc-sysdep.h: New file. Define
2960 new function check_may_shrink_heap.
2961 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2962 new function check_may_shrink_heap.
2963
2b4f00d1
SP
29642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2965
2966 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2967 comments.
2968
9a9028b1
DL
29692012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2970
57c69bef
DL
2971 * catgets/test-gencat.sh: Add "set -e".
2972 * elf/tst-pathopt.sh: Likewise.
2973 * grp/tst_fgetgrent.sh: Likewise.
2974 * iconvdata/run-iconv-test.sh: Likewise.
2975 * intl/tst-gettext.sh: Likewise.
2976 * intl/tst-gettext2.sh: Likewise.
2977 * intl/tst-gettext4.sh: Likewise.
2978 * intl/tst-gettext6.sh: Likewise.
2979 * intl/tst-translit.sh: Likewise.
2980 * io/ftwtest-sh: Likewise.
2981 * libio/test-freopen.sh: Likewise.
2982 * malloc/tst-mtrace.sh: Likewise.
2983 * posix/globtest.sh: Likewise.
2984 * posix/tst-getconf.sh: Likewise.
2985 * posix/wordexp-tst.sh: Likewise.
2986 * stdio-common/tst-printf.sh: Likewise.
2987 * stdio-common/tst-unbputc.sh: Likewise.
2988 * stdlib/tst-fmtmsg.sh: Likewise.
2989 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2990 * catgets/Makefile: Do not specify -e option when running
2991 testsuite shell scripts.
2992 * elf/Makefile: Likewise.
2993 * grp/Makefile: Likewise.
2994 * iconvdata/Makefile: Likewise.
2995 * intl/Makefile: Likewise.
2996 * io/Makefile: Likewise.
2997 * libio/Makefile: Likewise.
2998 * malloc/Makefile: Likewise.
2999 * posix/Makefile: Likewise.
3000 * stdio-common/Makefile: Likewise.
3001 * stdlib/Makefile: Likewise.
3002 * sysdeps/x86_64/Makefile: Likewise.
3003
9a9028b1
DL
3004 * io/ftwtest-sh: Add copyright header.
3005 * posix/globtest.sh: Likewise.
3006 * posix/tst-getconf.sh: Likewise.
3007 * posix/wordexp-tst.sh: Likewise.
3008 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3009
ced6f16e
L
30102012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3011
94b32c39
L
3012 [BZ #13679]
3013 * Makeconfig (+link): Defined as $(+link-static) if
3014 $(build-shared) isn't yes.
3015 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3016 isn't yes.
3017 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3018
189e935b
L
3019 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3020
ced6f16e
L
3021 [BZ #14562]
3022 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3023 new chunk size with MALLOC_ALIGN_MASK.
3024
a9f8e53a
JM
30252012-09-24 Joseph Myers <joseph@codesourcery.com>
3026
3027 [BZ #5044]
3028 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3029 <rounding-mode.h>.
3030 (__printf_fphex): Determine rounding using get_rounding_mode and
3031 round_away.
3032 * stdio-common/tst-printf-round.c (struct hex_test): New
3033 structure.
3034 (hex_tests): New variable.
3035 (test_hex_in_one_mode): New function.
3036 (do_test): Also run tests for hex float output.
3037
43153109
JM
30382012-09-21 Joseph Myers <joseph@codesourcery.com>
3039
3040 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3041 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3042 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3043 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3044 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3045 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3046 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3047 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3048
8a26625d
JM
30492012-09-20 Joseph Myers <joseph@codesourcery.com>
3050
3051 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3052 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3053 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3054 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3055
f3fd569c
DL
30562012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3057
3058 [BZ #14579]
3059 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3060 mode only.
3061 * elf/tst-rtld-load-self.sh: New test.
3062 * elf/Makefile: Run it.
3063
63bbedd4
JM
30642012-09-18 Joseph Myers <joseph@codesourcery.com>
3065
3066 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3067 (tst-writev-ENV): Remove.
3068 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3069
626f8b6a
CM
30702012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3071
3072 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3073
b7aaa4d6
JM
30742012-09-17 Joseph Myers <joseph@codesourcery.com>
3075
3076 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3077 unconditional.
3078 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3079 Likewise.
3080 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3081 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3082 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3083 Likewise.
3084
65513990
L
30852012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3086
3087 [BZ #14587]
3088 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3089 * config.make.in (have-cpp-asm-debuginfo): Removed.
3090 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3091 * configure: Regenerated.
3092
784761be
JM
30932012-09-14 Joseph Myers <joseph@codesourcery.com>
3094
3095 [BZ #5044]
3096 * stdio-common/printf_fp.c: Include <stdbool.h> and
3097 <rounding-mode.h>.
3098 (___printf_fp): Determine rounding using get_rounding_mode and
3099 round_away.
3100 * stdio-common/tst-printf-round.c: New file.
3101 * stdio-common/Makefile (tests): Add tst-printf-round.
3102 (link-libm): New variable.
3103 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3104
9503345f
L
31052012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3106
3107 [BZ #14576]
3108 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3109 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3110 Likewise.
3111 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3112 Likewise.
3113
ad35fc00
JM
31142012-09-13 Joseph Myers <joseph@codesourcery.com>
3115
3116 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3117 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3118 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3119 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3120
6c9b0f68
JM
31212012-09-12 Joseph Myers <joseph@codesourcery.com>
3122
3123 [BZ #14518]
3124 * include/rounding-mode.h: New file.
3125 * sysdeps/generic/get-rounding-mode.h: Likewise.
3126 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3127 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3128 (MAX_VALUE): New macro.
3129 (MIN_VALUE): Likewise.
3130 (overflow_value): New function.
3131 (underflow_value): Likewise.
3132 (round_and_return): Use overflow_value and underflow_value to
3133 determine return values in overflow and underflow cases. Use
3134 round_away to determine rounding depending on rounding mode.
3135 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3136 determine return values in overflow and underflow cases.
3137 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3138 (struct test_results): New structure.
3139 (struct test): Use struct test_results to store expected results
3140 for all rounding modes.
3141 (TEST): Include expected results for all rounding modes.
3142 (test_in_one_mode): New function.
3143 (do_test): Use test_in_one_mode to compute and check results.
3144 Check results for all rounding modes.
3145 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3146 $(link-libm).
3147
19fcedd5
AM
31482012-12-09 Allan McRae <allan@archlinux.org>
3149
1e9d84cd 3150 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3151
8bbfd2f1
JM
31522012-09-11 Joseph Myers <joseph@codesourcery.com>
3153
3154 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3155 (_G_int32_t): Likewise.
3156 (_G_uint16_t): Likewise.
3157 (_G_uint32_t): Likewise.
3158 (_G_HAVE_BOOL): Likewise.
3159 (_G_HAVE_ATEXIT): Likewise.
3160 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3161 (_G_HAVE_IO_FILE_OPEN): Likewise.
3162 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3163 (_G_int32_t): Likewise.
3164 (_G_uint16_t): Likewise.
3165 (_G_uint32_t): Likewise.
3166 (_G_HAVE_BOOL): Likewise.
3167 (_G_HAVE_ATEXIT): Likewise.
3168 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3169 (_G_HAVE_IO_FILE_OPEN): Likewise.
3170 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3171 (_G_int32_t): Likewise.
3172 (_G_uint16_t): Likewise.
3173 (_G_uint32_t): Likewise.
3174 (_G_HAVE_BOOL): Likewise.
3175 (_G_HAVE_ATEXIT): Likewise.
3176 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3177 (_G_HAVE_IO_FILE_OPEN): Likewise.
3178
b1dc5912
L
31792012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3180
3181 * csu/libc-tls.c: Update copyright years.
3182
0e886ef9
JM
31832012-09-10 Joseph Myers <joseph@codesourcery.com>
3184
28361c5e
JM
3185 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3186 [!_G_USING_THUNKS]: Remove conditional code.
3187 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3188 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3189
0e886ef9
JM
3190 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3191 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3192 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3193 (_G_VTABLE_LABEL_PREFIX): Likewise.
3194 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3195 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3196 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3197 (_G_VTABLE_LABEL_PREFIX): Likewise.
3198 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3199 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3200 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3201 (_G_VTABLE_LABEL_PREFIX): Likewise.
3202 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3203
bcba7aa2
L
32042012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3205
3206 * libio/Makefile: Include ../Makeconfig before tests.
3207 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3208 only if $(build-shared) is yes.
3209
06585ee8
L
3210 * iconv/gconv_db.c: Update copyright years.
3211
80ccd52c
LD
32122012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3213
3214 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3215 unwind info if defined PIC. Fix special cases description.
3216 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3217
3218 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3219 DP_HI_MASK entry.
3220 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3221
691bc9c1
L
32222012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3223
3d9b46b3
L
3224 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3225
de2139a9
L
3226 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3227 is NULL.
3228
5ca78dd0
L
3229 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3230 (LDLIBS-tst-chk4): This.
3231 (LDFLAGS-tst-chk5): Renamed to ...
3232 (LDLIBS-tst-chk5): This.
3233 (LDFLAGS-tst-chk6): Renamed to ...
3234 (LDLIBS-tst-chk6): This.
3235 (LDFLAGS-tst-lfschk4): Renamed to ...
3236 (LDLIBS-tst-lfschk4): This.
3237 (LDFLAGS-tst-lfschk5): Renamed to ...
3238 (LDLIBS-tst-lfschk5): This.
3239 (LDFLAGS-tst-lfschk6): Renamed to ...
3240 (LDLIBS-tst-lfschk6): This.
3241
691bc9c1
L
3242 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3243 on $(common-objpfx)soversions.mk.
3244
65cafb1c
JM
32452012-09-07 Joseph Myers <joseph@codesourcery.com>
3246
3247 [BZ #10014]
3248 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3249 example host name.
3250
c78ab094
SP
32512012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3252
3253 * malloc/arena.c (arena_get_retry): New function that gets
3254 another arena for the caller to try its request on.
3255 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3256 current arena cannot fulfill the request.
3257 (__libc_memalign): Likewise.
3258 (__libc_memalign): Likewise.
3259 (__libc_pvalloc): Likewise.
3260 (__libc_calloc): Likewise.
3261
01f49f59
JT
32622012-09-05 John Tobey <john.tobey@gmail.com>
3263
3264 [BZ #13542]
3265 * manual/arith.texi (Operations on Complex): Fix description
3266 of carg branch cut.
3267
4c23fed5
JM
32682012-09-06 Joseph Myers <joseph@codesourcery.com>
3269
1d3c8572
JM
3270 [BZ #10014]
3271 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3272 host name.
3273
4c23fed5
JM
3274 [BZ #10038]
3275 * manual/memory.texi (Memory): Make order of menu items match
3276 order of sections.
3277
04570aaa
L
32782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3279
3280 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3281 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3282 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3283
b80af2f4
L
32842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3285
3286 * csu/libc-tls.c (static_dtv): Renamed to ...
3287 (_dl_static_dtv): This. Make it global.
3288 (_dl_initial_dtv): Removed.
3289 (__libc_setup_tls): Updated.
3290 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3291 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3292 DL_INITIAL_DTV.
3293
2abe9f15
PM
32942012-09-06 Petr Machata <pmachata@redhat.com>
3295
3296 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3297 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3298 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3299 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3300
0948c3af
L
33012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3302
3303 [BZ #14545]
3304 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3305 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3306 freeing dtv[-1].
3307
a5055ad1
L
33082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 [BZ #14544]
3311 * Makeconfig (link-static-before-libc): Replace $(+prector)
3312 with $(+prectorT).
3313 (link-static-after-libc): Replace $(+postctor) with
3314 $(+postctorT).
3315 (link-bounded): Replace $(+prector)/$(+postctor) with
3316 $(+prectorT)/$(+postctorT).
3317 (+prectorT): New macro.
3318 (+postctorT): Likewise.
3319
ed8c2ecd
JM
33202012-09-06 Joseph Myers <joseph@codesourcery.com>
3321
3322 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3323 (round_str): Handle values above the maximum for IBM long double
3324 as inexact.
3325 * stdlib/tst-strtod-round.c (tests): Regenerated.
3326
14c996c8
AK
33272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3328
3329 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3330 assembler flag.
3331 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3332 zarch_nohighgprs around the zarch optimized routines.
3333 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3334 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3335 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3336 for zarch.
3337
430d6ce6
DM
33382012-09-05 David S. Miller <davem@davemloft.net>
3339
3340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3341
ff04dda4
DM
3342 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3343 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3344 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3345 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3346 entries.
3347
24d4e01b
AO
33482012-09-05 Alexandre Oliva <aoliva@redhat.com>
3349
3350 * malloc/arena.c: Fold copyright years.
3351 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3352
61d58174
AO
33532012-09-05 Alexandre Oliva <aoliva@redhat.com>
3354
3355 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3356
20196a5e
AO
33572012-09-05 Alexandre Oliva <aoliva@redhat.com>
3358
3359 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3360
5c447383
AO
33612012-09-05 Alexandre Oliva <aoliva@redhat.com>
3362
3363 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3364 change internal state upon failure.
3365
fad64255
AO
33662012-09-05 Alexandre Oliva <aoliva@redhat.com>
3367
3368 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3369 * malloc/memusage.c (mmap): Likewise.
3370 (mmap64, mremap): Likewise. Adjust name in comment.
3371
1ffb8c90
SP
33722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3373
3374 * libio/fileops.c: Fix typos in comments.
3375 * libio/oldfileops.c: Likewise.
3376 * libio/wfileops.c: Likewise.
3377
6ef9cc37
SP
33782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3379
3380 [BZ #1349]
3381 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3382 (tst-malloc-usable-ENV): Set environment for test case.
3383 * malloc/hooks.c (malloc_check_get_size): New function to get
3384 requested size.
3385 * malloc/malloc.c (musable): Use malloc_check_get_size.
3386 * malloc/tst-malloc-usable.c: New test case.
3387
4d038ae3
AS
33882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3389
3390 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3391
c4e85184
AM
33922012-09-05 Allan McRae <allan@archlinux.org>
3393
b9dafc56 3394 [BZ #13966]
c4e85184
AM
3395 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3396 determine header location.
3397 * configure: Regenerated.
3398
e1343020
AS
33992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3400
3401 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3402 float format.
3403 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3404 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3405 format.
e1343020
AS
3406 (test): Regenerate.
3407
0a9f1987
DM
34082012-09-04 David S. Miller <davem@davemloft.net>
3409
3410 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3411 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3412 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3413
29237804
FW
34142012-09-04 Florian Weimer <fweimer@redhat.com>
3415
3416 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3417 failures.
3418
edb3cb88
FW
3419 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3420
60160d83
JM
34212012-09-04 Joseph Myers <joseph@codesourcery.com>
3422
3423 [BZ #9914]
3424 * libio/iogetdelim.c: Include <limits.h>.
3425 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3426 + len + 1 would overflow.
3427
bcd6c8dc
AJ
34282012-09-03 Andreas Jaeger <aj@suse.de>
3429
3430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3431 * sysdeps/i386/fpu/libm-test-ulps: Update.
3432
4ffffbd2
LD
34332012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3434
3435 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3436 Add s_sinf-sse2, s_conf-sse2.
3437
3438 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3439 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3440 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3441 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3442
3443 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3444 for using routine as __sinf_ia32.
3445 Use macro for function declaration and weak_alias.
3446 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3447 for using routine as __cosf_ia32.
3448 Use macro for function declaration and weak_alias.
3449
3450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3451 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3452
3453 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3454 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3456
3457 * math/libm-test.inc (cos_test): Add more test cases.
3458 (sin_test): Likewise.
3459 (sincos_test): Likewise.
3460
511fa286
AK
34612012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3462
3463 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3464 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3465 hidden.
3466 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3467
5f30cfec
L
34682012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3469
3470 [BZ #14538]
3471 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3472 first element of the GOT.
3473 (elf_machine_load_address): Return the difference between
3474 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3475
0786794f
AM
34762012-09-01 Allan McRae <allan@archlinux.org>
3477
5f30cfec
L
3478 [BZ #13412]
3479 * configure.in (AWK): Require gawk version 3.0 or later.
3480 * configure: Regenerated.
0786794f 3481
26889eac
JM
34822012-09-01 Joseph Myers <joseph@codesourcery.com>
3483
3484 * sysdeps/unix/sysv/linux/kernel-features.h
3485 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3486 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3487 [__NR_clock_getres]: Make code unconditional.
3488 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3489 (clock_getcpuclockid): Remove code left unreachable by removal of
3490 conditionals.
3491 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3492 code unconditional.
3493 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3494 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3495 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3496 Make code unconditional.
3497 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3498 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3499 * sysdeps/unix/sysv/linux/clock_settime.c
3500 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3501 conditional code.
3502 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3503 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3504
d22e28b0
L
35052012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3506
3507 [BZ #14476]
3508 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3509 scripts/test-installation.pl.
3510
3511 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3512 and $ld_so_version if it is set.
3513
050af9c4
SP
35142012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3515
3516 [BZ #14516]
3517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3518 failure if reading from procfs failed.
3519 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3520
ad845c0b
JM
35212012-08-27 Joseph Myers <joseph@codesourcery.com>
3522
3523 * sysdeps/unix/sysv/linux/kernel-features.h
3524 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3525 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3526 Remove conditional code.
3527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3528 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3529 Remove conditional code.
3530 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3531 * sysdeps/unix/sysv/linux/i386/fxstat.c
3532 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3534 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3535 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3537 * sysdeps/unix/sysv/linux/i386/lxstat.c
3538 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3539 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3540 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3541 Remove conditional code.
3542 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3543 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3544 Remove conditional code.
3545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3546 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3547 <kernel-features.h>.
3548 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3549 Remove.
3550 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3551 Remove conditional code.
3552 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3553 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3554 Remove conditional.
3555
5dbf56af
MF
35562012-08-27 Mike Frysinger <vapier@gentoo.org>
3557
3558 [BZ #5400]
3559 * NEWS: Add fixed bug number.
3560
d6e70f43
JM
35612012-08-27 Joseph Myers <joseph@codesourcery.com>
3562
7efb4737
JM
3563 [BZ #14519]
3564 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3565 underflowing exponent in case of negative sign.
3566 * stdlib/tst-strtod-round-data: Add more tests.
3567 * stdlib/tst-strtod-round.c (tests): Regenerated.
3568
af92131a
JM
3569 [BZ #3479]
3570 * stdlib/strtod_l.c (NDIG): Remove.
3571 (HEXNDIG): Likewise.
3572 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3573 smallest representable value.
3574 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3575 lie within an exact representation of 1/2 ulp of the result.
3576 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3577 unconditionally.
3578 (TENS_P9_IDX): Define unconditionally.
3579 (TENS_P9_SIZE): Likewise.
3580 (TENS_P10_IDX): Likewise.
3581 (TENS_P10_SIZE): Likewise.
3582 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3583 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3584 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3585 entries for 10^2^13 and 10^2^14.
3586 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3587 (TENS_P13_IDX): Define.
3588 (TENS_P13_SIZE): Likewise.
3589 (TENS_P14_IDX): Likewise.
3590 (TENS_P14_SIZE): Likewise.
3591 (_fpioconst_pow10): Change array size to
3592 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3593 unconditional.
3594 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3595 1024]: Add entries for 10^2^13 and 10^2^14.
3596 [LAST_POW10 > _LAST_POW10]: Remove #error.
3597 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3598 (_fpioconst_pow10): Change array size to
3599 FPIOCONST_POW10_ARRAY_SIZE.
3600 * stdlib/gen-fpioconst.c: New file.
3601 * stdlib/gen-tst-strtod-round.c: Likewise.
3602 * stdlib/tst-strtod-round-data: Likewise.
3603 * stdlib/tst-strtod-round.c: Likewise.
3604 * stdlib/Makefile (tests): Add tst-strtod-round.
3605
d6e70f43
JM
3606 [BZ #14459]
3607 * stdlib/strtod_l.c: Include <stdint.h>.
3608 (NDEBUG): Do not define.
3609 (round_and_return): Change EXPONENT parameter to type intmax_t.
3610 Rearrange calculations to avoid internal overflow possibilities.
3611 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3612 Rearrange calculations to avoid internal overflow possibilities.
3613 Assert that number fits inside MPNSIZE limbs.
3614 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3615 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3616 calculations and add assertions to avoid internal overflow
3617 possibilities. Add casts to avoid signed/unsigned operations.
3618 * stdlib/tst-strtod-overflow.c: New file.
3619 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3620
1f529f7d
MP
36212012-08-25 Marek Polacek <polacek@redhat.com>
3622
3623 * time/time.h: Fix some typos in comments.
3624
59a629f1
RM
36252012-08-23 Roland McGrath <roland@hack.frob.com>
3626
3627 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3628 * posix/tst-rfc3484-2.c: Likewise.
3629 * posix/tst-rfc3484-3.c: Likewise.
3630
d3bafbc9
SM
36312012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3632
3633 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3634 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3635
4efcc022
JM
36362012-08-23 Joseph Myers <joseph@codesourcery.com>
3637
3638 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3639 #include of fxstatat64.c.
3640
3cc3ef96
RM
36412012-08-22 Roland McGrath <roland@hack.frob.com>
3642
f04e2132
RM
3643 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3644 * shadow/getspent_r.c: Likewise.
3645 * shadow/getspnam.c: Likewise.
3646 * shadow/getspnam_r.c: Likewise.
3647 * gshadow/getsgent.c: Likewise.
3648 * gshadow/getsgent_r.c: Likewise.
3649 * gshadow/getsgnam.c: Likewise.
3650 * gshadow/getsgnam_r.c: Likewise.
3651 * inet/getnetbyad.c: Likewise.
3652 * inet/getnetbyad_r.c: Likewise.
3653 * inet/getnetbynm.c: Likewise.
3654 * inet/getnetbynm_r.c: Likewise.
3655 * inet/getnetent.c: Likewise.
3656 * inet/getnetent_r.c: Likewise.
3657 * inet/getproto.c: Likewise.
3658 * inet/getproto_r.c: Likewise.
3659 * inet/getprtent.c: Likewise.
3660 * inet/getprtent_r.c: Likewise.
3661 * inet/getprtname.c: Likewise.
3662 * inet/getprtname_r.c: Likewise.
3663 * inet/getrpcbyname.c: Likewise.
3664 * inet/getrpcbyname_r.c: Likewise.
3665 * inet/getrpcbynumber.c: Likewise.
3666 * inet/getrpcbynumber_r.c: Likewise.
3667 * inet/getrpcent.c: Likewise.
3668 * inet/getrpcent_r.c: Likewise.
3669 * inet/getaliasent.c: Likewise.
3670 * inet/getaliasent_r.c: Likewise.
3671 * inet/getaliasname.c: Likewise.
3672 * inet/getaliasname_r.c: Likewise.
3673 * nscd/getgrgid_r.c: Likewise.
3674 * nscd/getgrnam_r.c: Likewise.
3675 * nscd/gethstbyad_r.c: Likewise.
3676 * nscd/gethstbynm3_r.c: Likewise.
3677 * nscd/getpwnam_r.c: Likewise.
3678 * nscd/getpwuid_r.c: Likewise.
3679 * nscd/getsrvbynm_r.c: Likewise.
3680 * nscd/getsrvbypt_r.c: Likewise.
3681 * nscd/gai.c: Likewise.
3682
c53d909c
RM
3683 * configure.in (build_nscd): New substituted variable, set
3684 by --disable-build-nscd and defaults to $use_nscd.
3685 * configure: Regenerated.
3686 * config.make.in (build-nscd): New substituted variable.
3687 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3688 Change conditional to require [$(build-nscd) = yes] as well.
3689 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3690
3cc3ef96
RM
3691 [BZ# 13696]
3692 * configure.in (use_nscd): New substituted variable, set by
3693 --disable-nscd. If enabled, define USE_NSCD.
3694 * configure: Regenerated.
3695 * config.h.in: Add USE_NSCD.
3696 * config.make.in (use-nscd): New substituted variable.
3697 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3698 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3699 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3700 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3701 (CFLAGS-getgrnam_r.c): Likewise.
3702 (CFLAGS-initgroups.c): Likewise.
3703 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3704 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3705 Variables removed.
3706 * inet/getnetgrent_r.c
3707 (nscd_setnetgrent): New function, broken out of ...
3708 (setnetgrent): ... here. Call it.
3709 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3710 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3711 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3712 * nscd/Makefile (routines, aux): Move definitions after include of
3713 Makeconfig. Conditionalize on [$(use-nscd) != no].
3714 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3715 Conditionalize on [USE_NSCD].
3716 (is_nscd, nscd_init_cb): Likewise.
3717 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3718 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3719 * nss/nss_db/db-init.c: Likewise.
3720 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3721 [USE_NSCD].
3722 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3723 (make_request): Use it.
3724 (cache_valid_p): New function.
3725 (__check_pf): Use it.
3726 * NEWS: Add item for --disable-nscd.
3727
07e51550
DL
37282012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3729
3730 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3731 to support sed >= 4.2.1-20-ga9bf076.
3732 * configure: Regenerated.
3733
35a5b08b
RM
37342012-08-22 Roland McGrath <roland@hack.frob.com>
3735
3736 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3737 Conditionalize whole body on [IREL].
3738
8479f23a
JL
37392012-08-22 Jeff Law <law@redhat.com>
3740
3741 [BZ #14505]
3742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3743 if the family is PF_UNSPEC.
3744
48da0b21
MF
37452012-08-22 Mike Frysinger <vapier@gentoo.org>
3746
3747 * Makerules (lib-version): Rename from V.
3748 (install-lib-nosubdir): Change V to lib-version.
3749
15d0da8c
WS
37502012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3751
3752 [BZ #14252]
3753 * powerpc32/power6/wcschr.c: New file.
3754 * powerpc32/power6/wcscpy.c: New file.
3755 * powerpc32/power6/wcsrchr.c: New file.
3756 * powerpc64/power6/wcschr.c: New file.
3757 * powerpc64/power6/wcscpy.c: New file.
3758 * powerpc64/power6/wcsrchr.c: New file.
3759
bcca0895
MK
37602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3761
3762 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3763 (two_way_short_needle): Use it.
5a4aaa33
RM
3764 * string/strstr.c (AVAILABLE1_USES_J): Define.
3765 * string/strcasestr.c: Likewise.
99677e57
MK
3766
3767 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3768 array references.
3769 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3770
400726de
MK
3771 [BZ #11607]
3772 * NEWS: Add an entry.
3773 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3774 define their defaults.
3775 (two_way_short_needle): Detect end-of-string on-the-fly.
3776 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3777 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3778 * string/bug-strcasestr1.c: New test.
3779 * string/Makefile: Run it.
3780
20a71f2c
MK
37812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3782
3783 [BZ #11607]
3784 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3785 the first character.
3786
21ad0558
RM
37872012-08-21 Roland McGrath <roland@hack.frob.com>
3788
3789 * csu/elf-init.c (__libc_csu_irel): Function removed.
3790 * csu/libc-start.c (apply_irel): New function.
3791 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3792
0e1d9911
JM
37932012-08-21 Joseph Myers <joseph@codesourcery.com>
3794
3795 * sysdeps/unix/sysv/linux/kernel-features.h
3796 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3797 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3798 <kernel-features.h>.
3799 [__NR_fadvise64_64]: Make code unconditional.
3800 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3801 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3802 !__NR_fadvise64_64)]: Likewise.
3803 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3804 !__NR_fadvise64_64))]: Likewise.
3805 [__NR_fadvise64]: Make code unconditional.
3806 [!__NR_fadvise64]: Remove conditional code.
3807 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3808 <kernel-features.h>.
3809 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3810 unconditional.
3811 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3812 conditional code.
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3814 not include <kernel-features.h>.
3815 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3816 unconditional.
3817 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3818 conditional code.
3819 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3820 include <kernel-features.h>.
3821 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3822 unconditional.
3823 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3824 conditional code.
3825
14a50c9d
WS
38262012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3827
3828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3829 slight instruction rearrangements per scrollpipe analysis.
3830 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3831
c0f4faf0
RM
38322012-08-20 Roland McGrath <roland@hack.frob.com>
3833
696da859
RM
3834 * manual/syslog.texi (syslog; vsyslog, closelog):
3835 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3836 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3837
c0f4faf0
RM
3838 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3839 DSOCAPS to match condition on defining it.
3840
348363b2
JM
38412012-08-20 Joseph Myers <joseph@codesourcery.com>
3842
a35cbf28
JM
3843 * sysdeps/unix/sysv/linux/kernel-features.h
3844 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3846 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3847 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3849 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3850 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3852 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3853 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3854
445f7ecd
JM
3855 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3856 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3857
348363b2
JM
3858 * sysdeps/unix/sysv/linux/kernel-features.h
3859 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3860 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3861 unconditional.
3862 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3863 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3864 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3865 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3866 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3867 Make code unconditional.
3868 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3869 (__mmap64) [!__NR_mmap2]: Likewise.
3870 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3871 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3872 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3873 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3874 [__NR_mmap2]: Make code unconditional.
3875 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3876 (__mmap64) [!__NR_mmap2]: Likewise.
3877
bc5bc0e5
AK
38782012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3879
3880 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3881
88d506de
AJ
38822012-08-18 Andreas Jaeger <aj@suse.de>
3883
3884 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3885
493387d2
MF
38862012-08-18 Mike Frysinger <vapier@gentoo.org>
3887
3888 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3889 * include/unistd.h (__have_sock_cloexec): Likewise.
3890 (__have_pipe2): Likewise.
3891 (__have_dup3): Likewise.
3892
a277af22
MF
38932012-08-18 Mike Frysinger <vapier@gentoo.org>
3894
3895 [BZ #9685]
3896 * include/unistd.h (__have_pipe2): Change define into an extern int.
3897 (__have_dup3): Likewise.
3898 * socket/have_sock_cloexec.c: Include fcntl.h.
3899 (__have_pipe2): New variable.
3900 (__have_dup3): Likewise.
3901
fdab8fd3
MF
39022012-08-17 Mike Frysinger <vapier@gentoo.org>
3903
3904 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3905
31035e80
MP
39062012-08-17 Marek Polacek <polacek@redhat.com>
3907
3908 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3909 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3910
3bd9e993
RM
39112012-08-17 Roland McGrath <roland@hack.frob.com>
3912
c91c505f
RM
3913 * configure.in: Add AC_SUBST for sysheaders.
3914 * configure: Regenerated.
3915 * config.make.in (sysheaders): New substituted variable.
3916
7c6f9d53
RM
3917 * sysdeps/unix/mkfifo.c: Moved ...
3918 * sysdeps/posix/mkfifo.c: ... here.
3919 * sysdeps/unix/mkfifoat.c: Moved ...
3920 * sysdeps/posix/mkfifoat.c: ... here.
3921
3922 * sysdeps/unix/utime.c: Moved ...
3923 * sysdeps/posix/utime.c: ... here.
3924
3925 * sysdeps/unix/time.c: Moved ...
3926 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3927 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3928 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3929
3930 * sysdeps/unix/nice.c: Moved ...
3931 * sysdeps/posix/nice.c: ... here.
3932
3933 * sysdeps/unix/alarm.c: Moved ...
3934 * sysdeps/posix/alarm.c: ... here.
3935
3bd9e993
RM
3936 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3937
d1f09384
JL
39382012-08-17 Jeff Law <law@redhat.com>
3939
3940 * intl/Makefile (codeset_mo): New variable.
3941 ($(codeset_mo)): New target.
3942 (tst-codeset.out): Depend on that. Remove explicit rule.
3943 (tst-gettext3.out, tst-gettext5.out): Likewise.
3944 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3945 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3946 * intl/tst-codeset.sh: Remove.
3947 * intl/tst-gettext3.sh: Likewise.
3948 * intl/tst-gettext5.sh: Likewise.
3949
2ae1ae5c
RM
39502012-08-17 Roland McGrath <roland@hack.frob.com>
3951
c31fdb83
RM
3952 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3953 * sysdeps/unix/syscalls.list: ... here.
3954
a0844057
RM
3955 * sysdeps/posix/getaddrinfo.c
3956 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3957 (gaiconf_init, gaiconf_reload): Use them.
3958 [!_STATBUF_ST_NSEC]
3959 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3960 Define using time_t rather than struct timespec.
3961
750c1f2a
RM
3962 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3963 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3964 Macros removed.
3965 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3966 [!NO_THREADS].
3967 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3968 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3969 Likewise.
3970
2ae1ae5c
RM
3971 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3972 __libc_cleanup_push argument.
3973
e66a42f5
RM
3974 * bits/param.h: New file.
3975 * misc/sys/param.h: New file.
3976 * include/sys/param.h: New file.
3977 * misc/Makefile (headers): Add bits/param.h.
3978 * sysdeps/generic/sys/param.h: File removed.
3979 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3980 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3981 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 3982 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 3983
b7c08a66
RM
3984 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3985 last change.
3986
b2e1c562
RM
3987 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3988 [_IO_MTSAFE_IO].
3989 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3990 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3991 New macros.
3992
c75ccd4c
RM
3993 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3994 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3995 rather than -D_IO_MTSAFE_IO conditionally.
3996 * stdio-common/Makefile (CPPFLAGS): Likewise.
3997 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3998 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3999 Use $(libio-mtsafe).
4000 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4001 of -D_IO_MTSAFE_IO.
4002 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4003 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4004 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4005 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4006 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4007 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4008 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4009 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4010 (CFLAGS-fread_u_chk.c): Likewise.
4011 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4012 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4013 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4014 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4015 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4016 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4017 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4018 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4019 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4020
4021 * libio/Makefile: Test [$(libc-reentrant) = yes]
4022 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4023
4024 * Makeconfig
4025 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4026 * sysdeps/pthread/configure: File removed.
4027 * sysdeps/pthread/Makeconfig: New file.
4028 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4029 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4030
d9195db8
GB
40312012-08-16 Gary Benson <gbenson@redhat.com>
4032
4033 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4034 unmapping the first object in a namespace.
4035
86466cd9
RM
40362012-08-16 Roland McGrath <roland@hack.frob.com>
4037
4038 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4039 (__internal_setnetgrent): ... this. Add internal_function to
4040 definition. Add libc_hidden_def.
4041 (setnetgrent): Update caller.
4042 (internal_endnetgrent): Renamed to ...
4043 (__internal_endnetgrent): ... this. Add internal_function to
4044 definition. Add libc_hidden_def.
4045 (endnetgrent): Update caller.
4046 (internal_getnetgrent_r): Renamed to ...
4047 (__internal_getnetgrent_r): ... this. Add internal_function to
4048 definition. Add libc_hidden_def.
4049 (__getnetgrent_r): Update caller.
4050 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4051
c3c8283c
JM
40522012-08-16 Joseph Myers <joseph@codesourcery.com>
4053
4054 * stdlib/longlong.h: Update from GCC.
4055
db1ee0a8
RM
40562012-08-16 Roland McGrath <roland@hack.frob.com>
4057
4058 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4059 on _QL, which is set by umul_ppmm but never used.
4060 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4061 variables, which are set by GMP macros but never used.
4062 * stdio-common/_itowa.c (_itowa): Likewise.
4063 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4064 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4065
30f69637
CD
40662012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4067
4068 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4069 struct La_sh_regs is not constant.
4070 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4071 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4072 and struct La_sparc64_regs are not constant.
4073
93a78ac4
JM
40742012-08-16 Joseph Myers <joseph@codesourcery.com>
4075
4076 * sysdeps/unix/sysv/linux/kernel-features.h
4077 (__ASSUME_POSIX_TIMERS): Remove.
4078 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4079 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4080 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4081 Make code unconditional.
4082 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4083 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4084 Make code unconditional.
4085 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4086 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4087 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4088 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4089 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4090 Make code unconditional.
4091 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4092 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4093 (__libc_missing_posix_timers): Remove.
4094
dd924cd7
RM
40952012-08-15 Roland McGrath <roland@hack.frob.com>
4096
4b4f2771
RM
4097 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4098 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4099
601c888b
RM
4100 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4101
176790a7
RM
4102 * elf/dl-sym.c: Include <stdlib.h>.
4103
329bc018
RM
4104 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4105 constants, which avoids warnings in 32-bit builds.
4106
e04e272d
RM
4107 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4108 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4109
952bf94a
RM
4110 * misc/lseek.c: File moved to ...
4111 * io/lseek.c: ... here.
4112
7c99b50a
RM
4113 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4114
dd924cd7
RM
4115 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4116 shifting LEN more than 31 bits at once.
4117
b3f479a8
LD
41182012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4119
4120 [BZ #14195]
8c4ae0d4
RM
4121 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4122 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4123 * string/test-strncasecmp.c (check1): Renamed to...
4124 (bz12205): ...this.
4125 (bz14195): Add new testcase for two empty input strings and N > 0.
4126 (test_main): Call new testcase, adapt for renamed function.
4127
9c55864e
AJ
41282012-08-15 Andreas Jaeger <aj@suse.de>
4129
4130 [BZ #14090]
4131 * crypt/md5test2.c: New test, based on test supplied by Serge
4132 Belyshev <belyshev@depni.sinp.msu.ru>.
4133 * crypt/Makefile (xtests): Add md5test-giant..
4134 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4135
02dcb6c5
PE
41362012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4137
4138 [BZ #14090]
4139 * crypt/md5.c (md5_process_block): Don't assume the buffer
4140 length is less than 2**32.
4141 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4142 length is less than 2**64.
4143
a3f95dcc
RM
41442012-08-15 Roland McGrath <roland@hack.frob.com>
4145
be75d758
RM
4146 * string/str-two-way.h: Include <sys/param.h>.
4147 (MAX): Macro removed.
4148
7312ca90
RM
4149 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4150 Move #define and #undef of memmove to just before and after
4151 including <string.h>.
4152
9a0a5486
RM
4153 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4154 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4155 and after including <string.h>. Move declarations of
4156 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4157 to before #include "string/memmove.c".
4158
67cc348d
RM
4159 * include/dirent.h: Declare __getdirentries.
4160
a3f95dcc
RM
4161 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4162 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4163
ca98e171
MF
41642012-08-14 Mike Frysinger <vapier@gentoo.org>
4165
4166 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4167 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4168 * sysdeps/i386/configure: Regenerated.
4169 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4170 STABS_CURRENT_FILE, and STABS_FUN.
4171 (END): Remove call to STABS_FUN_END.
4172 (STABS_CURRENT_FILE1): Delete.
4173 (STABS_CURRENT_FILE): Likewise.
4174 (STABS_FUN): Likewise.
4175 (STABS_FUN_END): Likewise.
4176 (STABS_FUN2): Likewise.
4177 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4178 * sysdeps/x86_64/configure: Regenerated.
4179
5908bf46
RM
41802012-08-14 Roland McGrath <roland@hack.frob.com>
4181
4182 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4183 * elf/dl-lookup.c: Likewise.
5908bf46 4184
f2c05b9e
JM
41852012-08-14 Joseph Myers <joseph@codesourcery.com>
4186
4187 * sysdeps/unix/sysv/linux/kernel-features.h
4188 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4189 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4190 unconditionally.
4191 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4192 unconditionally.
4193 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4194 condition on __ASSUME_CLONE_THREAD_FLAGS.
4195
e11f5155
AJ
41962012-08-14 Andreas Jaeger <aj@suse.de>
4197
4198 * sysdeps/i386/fpu/libm-test-ulps: Update.
4199
51a9ba86
MK
42002012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4201
2fdd4f78
AJ
4202 * include/atomic.h (atomic_exchange_and_add): Split into ...
4203 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4204 New atomic macros.
51a9ba86 4205
ba6cba9e
MT
42062012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4207
4208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4209
42443a47
JL
42102012-08-13 Jeff Law <law@redhat.com>
4211
4212 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4213 null byte in the output string.
4214
121dce05
JM
42152012-08-10 Joseph Myers <joseph@codesourcery.com>
4216
4217 * sysdeps/unix/sysv/linux/kernel-features.h
4218 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4219 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4220 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4221 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4222 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4223 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4224 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4225
bf51f568
JL
42262012-08-09 Jeff Law <law@redhat.com>
4227
4228 [BZ #13939]
4229 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4230 When avoid_arena is set, don't retry in the that arena. Pick the
4231 next one, whatever it might be.
4232 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4233 (arena_lock): Pass in new parameter to arena_get2.
4234 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4235 arena_get2.
4236 (__libc_malloc): Unify retrying after main arena failure with
4237 __libc_memalign version.
4238 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4239
f85fa270
L
42402012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4241
4242 [BZ #14166]
4243 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4244 to __redirect_strstr.
4245 (__strstr_sse42): Use typeof __redirect_strstr.
4246 (__strstr_ia32): Likewise.
4247 (__libc_strstr): New prototype.
4248 (strstr): Renamed to ...
4249 (__libc_strstr): This.
4250 (strstr): New strong alias of __libc_strstr.
4251 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4252 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4253 __redirect_time.
4254 Include <time.h>.
4255 (__libc_time): New prototype.
4256 (time_ifunc): Replace time with __libc_time.
4257 (time): New strong alias and hidden definition of __libc_time.
4258 (__GI_time): Remove strong alias.
4259 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4260 Include <stddef.h>.
4261 (memmove): Redefined to __redirect_memmove.
4262 (__memmove_sse2): Use typeof __redirect_memmove.
4263 (__memmove_ssse3): Likewise.
4264 (__memmove_ssse3_back): Likewise.
4265 (__libc_memmove): New prototype.
4266 (memmove): Renamed to ...
4267 (__libc_memmove): This.
4268 (memmove): New strong alias of __libc_memmove.
4269
33b4a91e
MS
42702012-08-08 Mark Salter <msalter@redhat.com>
4271
4272 * elf/elf.h
4273 (R_MN10300_TLS_GD): Define.
4274 (R_MN10300_TLS_LD): Likewise.
4275 (R_MN10300_TLS_LDO): Likewise.
4276 (R_MN10300_TLS_GOTIE): Likewise.
4277 (R_MN10300_TLS_IE): Likewise.
4278 (R_MN10300_TLS_LE): Likewise.
4279 (R_MN10300_TLS_DTPMOD): Likewise.
4280 (R_MN10300_TLS_DTPOFF): Likewise.
4281 (R_MN10300_TLS_TPOFF): Likewise.
4282 (R_MN10300_SYM_DIFF): Likewise.
4283 (R_MN10300_ALIGN): Likewise.
4284 (R_MN10300_NUM): Update.
4285
b36137f1
JM
42862012-08-08 Joseph Myers <joseph@codesourcery.com>
4287
4288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4289 Remove.
4290
cdd915fd
RM
42912012-08-08 Roland McGrath <roland@hack.frob.com>
4292
a2433aac
RM
4293 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4294
cdd915fd
RM
4295 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4296 sysdeps/unix -> sysdeps/posix move.
4297 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4298
bf9b740a
AM
42992012-08-07 Allan McRae <allan@archlinux.org>
4300
4301 [BZ #14303]
4302 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4303 (SUNOS_CPP): Likewise.
4304 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4305 not found.
4306 (open_input): Call CPP using execvp.
4307
93df14ee
JM
43082012-08-07 Joseph Myers <joseph@codesourcery.com>
4309
4310 * sysdeps/unix/sysv/linux/kernel-features.h
4311 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4312 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4313 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4314 (__ASSUME_WAITID_SYSCALL): Likewise.
4315 * sysdeps/unix/sysv/linux/dl-execstack.c
4316 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4317 code unconditional.
4318 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4319 conditional code.
4320 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4321 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4322 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4323 code.
4324 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4325 unconditional.
4326 [__ASSUME_WAITID_SYSCALL]: Likewise.
4327 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4328
d34689de
RM
43292012-08-07 Roland McGrath <roland@hack.frob.com>
4330
a281decc
RM
4331 * sysdeps/unix/closedir.c: Renamed to ...
4332 * sysdeps/posix/closedir.c: ... here.
4333 * sysdeps/unix/dirfd.c: Renamed to ...
4334 * sysdeps/posix/dirfd.c: ... here.
4335 * sysdeps/unix/dirstream.h: Renamed to ...
4336 * sysdeps/posix/dirstream.h: ... here.
4337 * sysdeps/unix/fdopendir.c: Renamed to ...
4338 * sysdeps/posix/fdopendir.c: ... here.
4339 * sysdeps/unix/opendir.c: Renamed to ...
4340 * sysdeps/posix/opendir.c: ... here.
4341 * sysdeps/unix/readdir.c: Renamed to ...
4342 * sysdeps/posix/readdir.c: ... here.
4343 * sysdeps/unix/readdir_r.c: Renamed to ...
4344 * sysdeps/posix/readdir_r.c: ... here.
4345 * sysdeps/unix/rewinddir.c: Renamed to ...
4346 * sysdeps/posix/rewinddir.c: ... here.
4347 * sysdeps/unix/seekdir.c: Renamed to ...
4348 * sysdeps/posix/seekdir.c: ... here.
4349 * sysdeps/unix/telldir.c: Renamed to ...
4350 * sysdeps/posix/telldir.c: ... here.
4351 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4352 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4353 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4354 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4355
22895b47
RM
4356 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4357 * bits/fcntl.h: ... here.
4358
707a53b6
RM
4359 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4360 not 0.
4361 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4362 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4363 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4364 (struct flock): Move l_start, l_len to the beginning.
4365 Use __pid_t for l_pid.
4366 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4367 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4368 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4369 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4370 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4371 [__USE_LARGEFILE64] (struct flock64): New type.
4372 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4373
f0bd3e25
RM
4374 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4375 * bits/dirent.h: ... here.
4376
d34689de
RM
4377 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4378 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4379
6dad2c06
JM
43802012-08-07 Joseph Myers <joseph@codesourcery.com>
4381
4382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4383 Change from 2.6.0 to 2.6.16.
4384 * sysdeps/unix/sysv/linux/configure: Regenerated.
4385 * sysdeps/unix/sysv/linux/kernel-features.h
4386 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4387 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4388 version.
4389 (__ASSUME_UTIMES): Likewise.
4390 (__ASSUME_CLONE_STOPPED): Remove.
4391 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4392 architectures, not kernel version.
4393 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4394 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4395 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4396 (__ASSUME_WAITID_SYSCALL): Likewise.
4397 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4398 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4399 * README: State 2.6.16 as minimum Linux kernel version. Do not
4400 refer to older versions.
4401
03af9520
RM
44022012-08-06 Roland McGrath <roland@hack.frob.com>
4403
8e49df1d
RM
4404 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4405 Define alphasort64 as an alias.
4406 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4407 Define versionsort64 as an alias.
4408 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4409 Define scandir64 as an alias.
4410 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4411 Define scandirat64 as an alias.
4412 * dirent/alphasort64.c (alphasort64):
4413 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4414 * dirent/versionsort64.c: Likewise.
4415 * dirent/scandir64.c: Likewise.
4416 * dirent/scandirat64.c: Likewise.
4417 * sysdeps/wordsize-64/alphasort.c: File removed.
4418 * sysdeps/wordsize-64/alphasort64.c: File removed.
4419 * sysdeps/wordsize-64/scandir.c: File removed.
4420 * sysdeps/wordsize-64/scandir64.c: File removed.
4421 * sysdeps/wordsize-64/scandirat.c: File removed.
4422 * sysdeps/wordsize-64/scandirat64.c: File removed.
4423 * sysdeps/wordsize-64/versionsort.c: File removed.
4424 * sysdeps/wordsize-64/versionsort64.c: File removed.
4425 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4426 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4427 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4429 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4431 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4432 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4433
4434 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4436 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4438 [defined __arch64__ || defined __sparcv9]
4439 (__INO_T_MATCHES_INO64_T): New macro.
4440 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4441 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4442 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4443 * sysdeps/unix/sysv/linux/bits/dirent.h
4444 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4445 (_DIRENT_MATCHES_DIRENT64): New macro.
4446
03af9520
RM
4447 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4448 Define lockf64 as an alias.
4449 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4450 Define fseeko64 as an alias.
4451 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4452 Define ftello64 as an alias.
4453 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4454 Define _IO_fgetpos64 and fgetpos64 as aliases.
4455 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4456 Define _IO_fsetpos64 and fsetpos64 as aliases.
4457 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4458 Conditionalize body on this.
4459 * libio/fseeko64.c: Likewise.
4460 * libio/ftello64.c: Likewise.
4461 * libio/iofgetpos64.c: Likewise.
4462 * libio/iofsetpos64.c: Likewise.
4463 * sysdeps/wordsize-64/lockf.c: File removed.
4464 * sysdeps/wordsize-64/lockf64.c: File removed.
4465 * sysdeps/wordsize-64/fseeko.c: File removed.
4466 * sysdeps/wordsize-64/fseeko64.c: File removed.
4467 * sysdeps/wordsize-64/ftello.c: File removed.
4468 * sysdeps/wordsize-64/ftello64.c: File removed.
4469 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4470 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4471 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4472 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4473 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4474 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4475 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4476 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4477 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4478 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4479 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4480 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4481 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4482 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4483
4484 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4486 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4488 [defined __arch64__ || defined __sparcv9]
4489 (__OFF_T_MATCHES_OFF64_T): New macro.
4490 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4491 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4493 (__OFF_T_MATCHES_OFF64_T): New macro.
4494
c5757acd
L
44952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4496
4497 * stdlib/secure-getenv.c (__secure_getenv): Replace
4498 GLIBC_2_16 with GLIBC_2_17.
4499
3a31811e
L
45002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4501
4502 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4503 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4504
faa2bccb
DM
45052012-08-03 David S. Miller <davem@davemloft.net>
4506
4507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4508
85fe1997
JM
45092012-08-03 Joseph Myers <joseph@codesourcery.com>
4510
4511 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4512 Remove.
4513 (__ASSUME_CORRECT_SI_PID): Likewise.
4514 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4515 (__ASSUME_TMPFS_NAME): Likewise.
4516 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4517 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4518 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4519 (HAVE_AUX_SECURE): Make definition unconditional.
4520 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4521 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4522
4f75b7a0
RM
45232012-08-03 Roland McGrath <roland@hack.frob.com>
4524
4525 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4526 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4527 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4528 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4529 __eloop_threshold instead of SYMLOOP_MAX.
4530
4531 * sysdeps/generic/eloop-threshold.h: New file.
4532 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4533 of MAXSYMLINKS.
4534 * elf/chroot_canon.c (chroot_canon): Likewise.
4535
7aab07e4
JM
45362012-08-03 Joseph Myers <joseph@codesourcery.com>
4537
4538 [BZ #13717]
4539 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4540 Change to 2.6.0 everywhere.
4541 * sysdeps/unix/sysv/linux/configure: Regenerated.
4542 * sysdeps/unix/sysv/linux/kernel-features.h
4543 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4544 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4545 kernel versions.
4546 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4547 (__ASSUME_FUTEX_REQUEUE): Remove.
4548 (__ASSUME_STATFS64): Define unconditionally.
4549 (__ASSUME_AT_SECURE): Likewise.
4550 (__ASSUME_CORRECT_SI_PID): Likewise.
4551 (__ASSUME_TGKILL): Define without depending on kernel version for
4552 i386.
4553 (__ASSUME_UTIMES): Likewise.
4554 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4555 kernel version.
4556 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4557 (__ASSUME_TMPFS_NAME): Likewise.
4558 * README: Update reference to Linux kernel versions.
4559
b67e9372
MP
45602012-08-02 Marek Polacek <polacek@redhat.com>
4561
1f529f7d 4562 [BZ# 14150]
b67e9372
MP
4563 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4564 libc_cv_asm_type_prefix with %.
4565 * configure: Regenerated.
d2441631
RM
4566 * include/libc-symbols.h: Remove comment about
4567 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4568 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4569 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4570 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4571 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4572 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4573 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4574 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4575 * elf/tst-unique2mod1.c: Likewise.
4576 * elf/tst-unique1mod2.c: Likewise.
4577 * elf/tst-unique1mod1.c: Likewise.
4578 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4579 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4580 Replace ASM_TYPE_DIRECTIVE with .type.
4581 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4582 * sysdeps/i386/sysdep.h: Likewise.
4583 * sysdeps/x86_64/sysdep.h: Likewise.
4584 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4586 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4587 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4588 * sysdeps/powerpc/powerpc32/sysdep.h:
4589 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4590 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4591 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4592 * sysdeps/i386/fpu/e_powf.S: Likewise.
4593 * sysdeps/i386/fpu/e_expl.S: Likewise.
4594 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4595 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4596 * sysdeps/i386/fpu/e_pow.S: Likewise.
4597 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4598 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4599 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4600 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4601 * sysdeps/i386/fpu/e_log2.S: Likewise.
4602 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4603 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4604 * sysdeps/i386/fpu/e_powl.S: Likewise.
4605 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4606 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4607 * sysdeps/i386/fpu/e_logl.S: Likewise.
4608 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4609 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4610 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4611 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4612 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4613 * sysdeps/i386/fpu/e_log.S: Likewise.
4614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4615 * sysdeps/i386/fpu/e_logf.S: Likewise.
4616 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4617 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4618 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4619 * sysdeps/i386/fpu/e_log10.S: Likewise.
4620 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4621 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4622 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4623 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4624 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4625 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4626 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4627 * sysdeps/i386/i686/strtok.S: Likewise.
4628 * sysdeps/i386/i386-mcount.S: Likewise.
4629 * sysdeps/i386/strtok.S: Likewise.
4630 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4631 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4632 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4633 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4634 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4635 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4636 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4637 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4638 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4639 * sysdeps/x86_64/_mcount.S: Likewise.
4640 * sysdeps/x86_64/strtok.S: Likewise.
4641 * sysdeps/sh/_mcount.S: Likewise.
4642
2747bf9a
RM
46432012-08-01 Roland McGrath <roland@hack.frob.com>
4644
4645 * libio/iofopen.c: Include <fcntl.h>.
4646 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4647 (_IO_fopen64, fopen64): Define as aliases.
4648 * libio/iofopen64.c: Include <fcntl.h>.
4649 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4650 Conditionalize body on this.
4651 * sysdeps/wordsize-64/iofopen.c: File removed.
4652 * sysdeps/wordsize-64/iofopen64.c: File removed.
4653
3fb791b8
MP
46542012-08-01 Marek Polacek <polacek@redhat.com>
4655
4656 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4657 Use dlfcn directly instead of a variable.
4658 (binfmt-subdir): Do not define.
4659 (dlfcn): Likewise.
4660
a9f1039f
JM
46612012-08-01 Joseph Myers <joseph@codesourcery.com>
4662
23bddc06
JM
4663 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4664 Remove all definitions.
4665 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4666 <kernel-features.h>.
4667 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4668 (miss_F_GETOWN_EX): Remove all definitions.
4669 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4670 macro definition.
4671 [!__ASSUME_FCNTL64]: Remove conditional code.
4672 [__ASSUME_FCNTL64]: Make code unconditional.
4673 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4674 <kernel-features.h>.
4675 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4676 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4677 (lockf64) [__NR_fcntl64]: Make code unconditional.
4678 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4679
a9f1039f
JM
4680 * sysdeps/unix/sysv/linux/kernel-features.h
4681 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4682 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4683 Make code unconditional.
4684 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4685 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4687 [__NR_vfork]: Make code unconditional.
4688 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4689 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4691 [__NR_vfork]: Make code unconditional.
4692 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4693 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4694
09c0ee5f
RM
46952012-08-01 Roland McGrath <roland@hack.frob.com>
4696
48aec5b9
RM
4697 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4698 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4699
cd97c966
RM
4700 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4701 Define mkstemp64 as an alias.
3f55550c
RM
4702 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4703 Define mkstemps64 as an alias.
cd97c966
RM
4704 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4705 Define mkostemp64 as an alias.
b8625cfc
RM
4706 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4707 Define mkostemps64 as an alias.
cd97c966
RM
4708 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4709 Conditionalize body on this.
4710 * misc/mkostemp64.c: Likewise.
b8625cfc 4711 * misc/mkostemps64.c: Likewise.
3f55550c 4712 * misc/mkstemps64.c: Likewise.
cd97c966
RM
4713 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4714 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4715 * sysdeps/wordsize-64/mkostemp.c: File removed.
4716 * sysdeps/wordsize-64/mkstemp.c: File removed.
4717 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4718 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4719 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4720 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4721
09c0ee5f
RM
4722 [BZ #14138]
4723 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4724 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4725 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4726 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4727
4728 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4729 compat_symbol macros from <shlib-compat.h> rather than the underlying
4730 default_symbol_version and symbol_version macros, so that DEFAULT
4731 lines in shlib-versions are respected.
4732 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4733
7e66ee51
FW
47342012-08-01 Florian Weimer <fweimer@redhat.com>
4735
4736 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4737 Declare with warn_unused_result.
4738 (setgid, setregid, setegid, setresgid): Likewise.
4739 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4740 Likewise.
4741 * WUR-REPORT: Remove set*id functions.
4742
d2a54255
PT
47432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4744
4745 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4746
7ecdb005
RM
47472012-07-31 Roland McGrath <roland@hack.frob.com>
4748
789bd351
RM
4749 * include/sys/socket.h (__libc_accept, __libc_accept4):
4750 Add attribute_hidden.
4751 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4752
40ce302d
RM
4753 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4754 use of PTR_MANGLE.
4755 * inet/getnetgrent_r.c (setup): Likewise.
4756
7ecdb005
RM
4757 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4758
e2eabb2c
DM
47592012-07-31 David S. Miller <davem@davemloft.net>
4760
4761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4762
d0419dbf
JM
47632012-07-31 Joseph Myers <joseph@codesourcery.com>
4764
4765 [BZ #13629]
4766 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4767 value between 1.0 and 2.0 and smaller part has absolute value less
4768 than 1.0.
4769 * math/s_clog10.c (__clog10): Likewise.
4770 * math/s_clog10f.c (__clog10f): Likewise.
4771 * math/s_clog10l.c (__clog10l): Likewise.
4772 * math/s_clogf.c (__clogf): Likewise.
4773 * math/s_clogl.c (__clogl): Likewise.
4774 * math/libm-test.inc (clog_test): Add more tests.
4775 (clog10_test): Likewise.
4776 * sysdeps/i386/fpu/libm-test-ulps: Update.
4777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4778
2bc13872
FW
47792012-07-31 Florian Weimer <fweimer@redhat.com>
4780
4781 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4782 Exit with zero in case no suitable GID is found, and write a
4783 message to standard error.
4784
bea9b193
RM
47852012-07-30 Roland McGrath <roland@hack.frob.com>
4786
4787 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4788 rather than to 1.
4789 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4790 (MAXPATHLEN): Removed.
4791 (NOGROUP, NODEV): New macros.
4792 (setbit, clrbit, isset, isclr): New macros.
4793 (howmany, roundup, powerof2): New macros.
4794 (DEV_BSIZE): New macro.
4795
4796 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4797 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4798
4799 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4800 definition on [!__NO_LONG_DOUBLE_MATH].
4801
4802 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4803 PTR_MANGLE and PTR_DEMANGLE.
4804
4805 * socket/accept4.c (accept4): Rename to __libc_accept4.
4806 Define accept4 as a weak alias.
4807
4808 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4809 on [_DIRENT_HAVE_D_TYPE].
4810 * io/ftw.c (ftw_dir): Likewise.
4811
4812 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4813
4814 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4815
4816 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4817 Use the BSD numbers rather than the arbitrary ones we had.
4818 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4819 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4820 (SIGXCPU, SIGXFSZ): New macros.
4821 (_NSIG): Now 32.
4822
4823 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4824 initializer on [_LIBC_REENTRANT].
4825
4826 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4827 definitions inside [_POSIX_MAPPED_FILES].
4828
4829 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4830
4831 * dirent/opendir.c: Include <fcntl.h>.
4832
4833 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4834 (__libc_getspecific): Likewise.
4835 (__libc_key_create): Likewise.
4836
4837 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4838 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4839 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4840 (tmpfile64): Define as alias.
4841 * sysdeps/wordsize-64/tmpfile.c: File removed.
4842 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4843 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4844 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4845
4846 * stdio-common/vfscanf.c: Include <stdbool.h>.
4847 * nss/makedb.c: Likewise.
4848 * stdio-common/_i18n_number.h: Likewise.
4849 * argp/argp-help.c: Likewise.
4850 * posix/wordexp.c: Likewise.
4851 * sysdeps/posix/spawni.c: Likewise.
4852 * nss/nss_files/files-initgroups.c: Likewise.
4853 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4854 * nss/nss_files/files-initgroups.c: Likewise.
4855 * nss/nss_db/db-netgrp.c: Likewise.
4856 * nss/nss_db/db-initgroups.c: Likewise.
4857 * io/fchmodat.c: Include <sys/stat.h>.
4858
4859 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4860 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4861
4862 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4863 [HAVE_MMAP].
4864
4865 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4866 Add multiple inclusion protection.
4867
e5abc686
DM
48682012-07-27 David S. Miller <davem@davemloft.net>
4869
4870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4871
815e6fa3
GB
48722012-07-27 Gary Benson <gbenson@redhat.com>
4873
4874 [BZ #14298]
4875 * elf/rtld.c: Include <stap-probe.h>.
4876 (dl_main): Added static probes "init_start" and "init_complete".
4877 * elf/dl-load.c: Include <stap-probe.h>.
4878 (lose): Take new parameter "nsid".
4879 Added static probe "map_failed".
4880 (_dl_map_object_from_fd): Pass namespace id to lose.
4881 Added static probe "map_start".
4882 (open_verify): Pass namespace id to lose.
4883 * elf/dl-open.c: Include <stap-probe.h>.
4884 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4885 and "reloc_complete".
4886 * elf/dl-close.c: Include <stap-probe.h>.
4887 (_dl_close_worker): Added static probes "unmap_start" and
4888 "unmap_complete".
4889 * elf/rtld-debugger-interface.txt: New file documenting the above.
4890
9f98c16c
RM
48912012-07-26 Roland McGrath <roland@hack.frob.com>
4892
4893 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4894 rather than a string variable.
4895 * sunrpc/rpc_main.c (h_output): Likewise.
4896 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4897
f3c22df3
PT
48982012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4899
4900 * inet/check_native.c: New file.
4901
3129cfc6
JM
49022012-07-26 Joseph Myers <joseph@codesourcery.com>
4903
da865e95
JM
4904 [BZ #13629]
4905 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4906 if larger part has absolute value 1.0.
4907 * math/s_clog10.c (__clog10): Likewise.
4908 * math/s_clog10f.c (__clog10f): Likewise.
4909 * math/s_clog10l.c (__clog10l): Likewise.
4910 * math/s_clogf.c (__clogf): Likewise.
4911 * math/s_clogl.c (__clogl): Likewise.
4912 * math/libm-test.inc (clog_test): Add more tests.
4913 (clog10_test): Likewise.
4914 * sysdeps/i386/fpu/libm-test-ulps: Update.
4915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4916
3129cfc6
JM
4917 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4918 (pltexit): Likewise.
4919 (La_regs): Likewise.
4920 (La_retval): Likewise.
4921 (int_retval): Likewise.
4922 Update #error for removed macros to refer only to definitions in
4923 tst-audit.h.
4924 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4925 macro.
4926 (pltexit): Likewise.
4927 (La_regs): Likewise.
4928 (La_retval): Likewise.
4929 (int_retval): Likewise.
4930 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4931 macro.
4932 (pltexit): Likewise.
4933 (La_regs): Likewise.
4934 (La_retval): Likewise.
4935 (int_retval): Likewise.
4936 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4937 macro.
4938 (pltexit): Likewise.
4939 (La_regs): Likewise.
4940 (La_retval): Likewise.
4941 (int_retval): Likewise.
4942 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4943 macro.
4944 (pltexit): Likewise.
4945 (La_regs): Likewise.
4946 (La_retval): Likewise.
4947 (int_retval): Likewise.
4948 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4949 macro.
4950 (pltexit): Likewise.
4951 (La_regs): Likewise.
4952 (La_retval): Likewise.
4953 (int_retval): Likewise.
4954 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4955 macro.
4956 (pltexit): Likewise.
4957 (La_regs): Likewise.
4958 (La_retval): Likewise.
4959 (int_retval): Likewise.
4960 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4961 macro definitions in tst-audit.h.
4962 * sysdeps/i386/tst-audit.h: New file.
4963 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4964 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4965 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4966 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4967 * sysdeps/sh/tst-audit.h: Likewise.
4968 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4969 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4970 * sysdeps/x86_64/tst-audit.h: Likewise.
4971
bfc07087
AJ
49722012-07-26 Andreas Jaeger <aj@suse.de>
4973
b1b2aaf8
AJ
4974 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4975 ptrace.
4976
4977 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4978 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4979 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4980 PTRACE_O_MASK.
4981 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4984
bfc07087
AJ
4985 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4986 value.
4987
4988 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4989 _sigsys.
4990 (si_call_addr, si_syscall, si_arch): Define new macro.
4991 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4992 _sigsys.
4993 (si_call_addr, si_syscall, si_arch): Define new marcro.
4994 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4995 _sigsys.
4996 (si_call_addr, si_syscall, si_arch): Define new macro.
4997 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4998 _sigsys.
4999 (si_call_addr, si_syscall, si_arch): Define new macro.
5000
89b4b02f
JM
50012012-07-25 Joseph Myers <joseph@codesourcery.com>
5002
5003 [BZ #13717]
5004 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5005 Change to 2.4.21 where previously 2.4.1.
5006 * sysdeps/unix/sysv/linux/configure: Regenerated.
5007 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5008 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5009 Linux kernel version.
5010 (__ASSUME_STD_AUXV): Remove.
5011 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5012 kernel version.
5013 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5014 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5015 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5016 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5017 (__ASSUME_NETLINK_SUPPORT): Likewise.
5018 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5019 (__no_netlink_support): Remove conditional definition.
5020 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5021 Remove.
5022 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5023 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5024 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5025 (if_nameindex_ioctl): Remove.
5026 (if_nameindex_netlink): Do not handle __no_netlink_support.
5027 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5028 code.
5029 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5030 Remove conditional code.
5031 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5032 code.
5033 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5034 unconditional.
5035 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5036 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5037 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5038 Remove.
5039 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5040 [!__ASSUME_STD_AUXV]: Remove conditional code.
5041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5042 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5043 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5045 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5046 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5047 code.
5048 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5050 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5051 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5052 conditional code.
5053 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5055 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5056 code.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5058 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5059 conditional code.
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5061 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5062 code unconditional.
5063 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5064 conditional code.
5065 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5066 unconditional.
5067 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5068 conditional code.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5070 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5071 unconditional.
5072 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5073 conditional code.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5075 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5076 code unconditional.
5077 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5078 conditional code.
5079 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5080 unconditional.
5081 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5082 conditional code.
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5084 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5085 code unconditional.
5086 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5087 conditional code.
5088 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5089 unconditional.
5090 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5091 conditional code.
5092
842a39cd
AS
50932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5094
5095 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5096 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5097 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5098 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5099 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5100 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5101 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5102 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5103 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5104 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5105 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5106 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5107 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5108 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5109 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5110 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5111 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5112 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5113 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5115 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5116 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5117 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5118
84b3fd84
FW
51192012-07-25 Florian Weimer <fweimer@redhat.com>
5120
5121 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5122 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5123 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5124 Introduce __libc_secure_getenv.
0c7936d5
FW
5125 * stdlib/Versions (2.17): Add secure_getenv
5126 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5127 * stdlib/secure-getenv.c: Rename __secure_getenv to
5128 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5129 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5130 * stdlib/tst-secure-getenv.c: New.
5131 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5132 * manual/startup.texi (Environment Access): Document
5133 secure_getenv.
84b3fd84
FW
5134 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5135 __libc_secure_getenv.
5136 * inet/ruserpass.c (ruserpass): Likewise.
5137 * malloc/mtrace.c (mtrace): Likewise.
5138 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5139 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5140 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5141 * sysdeps/posix/tempname.c: Likewise. Evaluate
5142 HAVE_SECURE_GETENV.
5143 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5144 __secure_getenv to __libc_secure_getenv.
84b3fd84 5145 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5147 Likewise.
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5149 Likewise.
5150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5157
56e49b71
JM
51582012-07-25 Joseph Myers <joseph@codesourcery.com>
5159
5160 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5161 (struct La_i86_retval): Likewise.
5162 (struct La_x86_64_regs): Likewise.
5163 (struct La_x86_64_retval): Likewise.
5164 (struct La_x32_regs): Likewise.
5165 (struct La_x32_retval): Likewise.
5166 (struct La_ppc32_regs): Likewise.
5167 (struct La_ppc32_retval): Likewise.
5168 (struct La_ppc64_regs): Likewise.
5169 (struct La_ppc64_retval): Likewise.
5170 (struct La_sh_regs): Likewise.
5171 (struct La_sh_retval): Likewise.
5172 (struct La_s390_32_regs): Likewise.
5173 (struct La_s390_32_retval): Likewise.
5174 (struct La_s390_64_regs): Likewise.
5175 (struct La_s390_64_retval): Likewise.
5176 (struct La_sparc32_regs): Likewise.
5177 (struct La_sparc32_retval): Likewise.
5178 (struct La_sparc64_regs): Likewise.
5179 (struct La_sparc64_retval): Likewise.
5180 (struct audit_ifaces): Remove architecture-specific pltenter and
5181 pltexit members.
5182 * sysdeps/i386/ldsodefs.h: New file.
5183 * sysdeps/powerpc/ldsodefs.h: Likewise.
5184 * sysdeps/s390/ldsodefs.h: Likewise.
5185 * sysdeps/sh/ldsodefs.h: Likewise.
5186 * sysdeps/sparc/ldsodefs.h: Likewise.
5187 * sysdeps/x86_64/ldsodefs.h: Likewise.
5188
354691b7
MP
51892012-07-25 Marek Polacek <polacek@redhat.com>
5190
5191 [BZ #6808]
5192 * math/libm-test.inc (yn_test): Add another test.
5193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5194 to ERANGE when the result is +-Inf.
5195 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5196 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5197 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5198 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5199
bf9e2071
JM
52002012-07-24 Joseph Myers <joseph@codesourcery.com>
5201
5202 * conform/data/time.h-data (NULL): Use macro-constant. Require
5203 equal to 0.
5204 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5205 clock_t.
5206 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5207
57633811
TS
52082012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5209
5210 * configure.in <sysdeps resolving>: Correct printing
5211 Implies_before.
5212 * configure: Regenerate.
5213
c23c33b0
TS
52142012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5215
5216 * math/w_ilogb.c: Include <limits.h>.
5217 * math/w_ilogbl.c: Likewise.
5218
b5982523
JM
52192012-07-20 Joseph Myers <joseph@codesourcery.com>
5220
5221 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5222 va_copy. Document allowing for unavailable va_copy only as
5223 pre-C99 compatibility.
5224 * manual/string.texi (Copying and Concatenation): Use va_copy
5225 instead of __va_copy in concat example.
5226
ac4ea442
PT
52272012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5228
5229 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5230 (__sendto): Use create_address_port. Initialize APORT and deallocate
5231 it if not null.
5232
f98eafbd
PT
5233 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5234 with O_NOLINK passed to __file_name_lookup.
5235
898c7aab
PT
5236 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5237 with O_NOLINK passed to __file_name_lookup.
5238
0ced335a
PT
5239 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5240 negative N or less than NGIDS.
5241
b3404dbd
PT
5242 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5243 type to string_t. Set ERANGE as errno and return it if NAME is not big
5244 enough. Use memcpy instead of strncpy.
5245
0f48659e
JM
52462012-07-20 Joseph Myers <joseph@codesourcery.com>
5247
5248 * elf/Makefile (check-data): Remove.
5249 (localplt.data): New vpath directive.
5250 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5251 instead of $(check-data).
5252 * scripts/data/localplt-generic.data: Move to ...
5253 * sysdeps/generic/localplt.data: ... here.
5254 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5255 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5256 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5258 ... here.
5259 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5261 ... here.
5262 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5264 ... here.
5265 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5267 ... here.
5268 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5270 ... here.
5271 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5273 ... here.
5274
d37cbdaa
AZ
52752012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5276
5277 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5278 PPC32 and PPC64 files.
5279 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5280 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5281
46f85fc2
AK
52822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5283
5284 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5285 __makecontext_ret to ...
5286 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5287 ... here and call exit if uc_link is NULL. New file.
5288 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5289 __makecontext_ret.S.
5290 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5291 __makecontext_ret to ...
5292 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5293 ... here and call exit if uc_link is NULL. New file.
5294 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5295 __makecontext_ret.S.
5296
08f43f9b
AK
52972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5298
5299 * elf/elf.h (R_390_IRELATIVE): New definition.
5300 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5301 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5302 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5303 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5304 (elf_machine_lazy_rel): Likewise.
5305 * sysdeps/s390/dl-irel.h: New file.
5306 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5307 * sysdeps/s390/s390-64/memset.S: New asm code.
5308 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5309 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5310 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5311 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5312 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5313 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5314 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5315 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5316 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5317 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5318 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5319 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5320 * sysdeps/s390/s390-32/memset.S: New asm code.
5321 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5322
3b05db33
MP
53232012-07-17 Marek Polacek <polacek@redhat.com>
5324
5325 [BZ #14349]
5326 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5327 * sysdeps/s390/s390-64/configure.in: Likewise.
5328 * sysdeps/sparc/configure.in: Likewise.
5329 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5330 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5331 * sysdeps/i386/configure.in: Likewise.
5332 * sysdeps/x86_64/configure.in: Likewise.
5333 * sysdeps/sh/configure.in: Likewise.
5334 * sysdeps/s390/s390-32/configure: Regenerated.
5335 * sysdeps/s390/s390-64/configure: Likewise.
5336 * sysdeps/x86_64/configure: Likewise.
5337 * sysdeps/sh/configure: Likewise.
5338 * sysdeps/powerpc/powerpc64/configure: Likewise.
5339 * sysdeps/powerpc/powerpc32/configure: Likewise.
5340 * sysdeps/sparc/configure: Likwise.
5341 * sysdeps/i386/configure: Likewise.
5342
a66877c6
MP
5343 * elf/dl-open.c: Comment fixes.
5344
cfc82fd8
JM
53452012-07-17 Joseph Myers <joseph@codesourcery.com>
5346
bd29910a
JM
5347 * Makefile [CXX] (check-data): Remove.
5348 [CXX] (c++-types.data): New vpath directive.
5349 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5350 vpath. Do not allow for C++ type data being missing.
5351 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5352 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5353 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5354 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5355 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5356 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5357 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5359 ... here.
5360 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5362 ... here.
5363 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5365 ... here.
5366 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5368 ... here.
5369 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5371 ... here.
5372 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5374 ... here.
5375 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5377 ... here.
5378 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5380
cfc82fd8
JM
5381 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5382 definitions to architecture-specific files.
5383 (TLS_IE): Likewise.
5384 (TLS_LD): Likewise.
5385 (TLS_GD): Likewise.
5386 * sysdeps/i386/tls-macros.h: New file.
5387 * sysdeps/powerpc/tls-macros.h: Likewise.
5388 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5389 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5390 * sysdeps/sh/tls-macros.h: Likewise.
5391 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5392 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5393 * sysdeps/x86_64/tls-macros.h: Likewise.
5394
f7db3170
TS
53952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5396
07cbfc23
TS
5397 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5398 zero value for regular exit case.
5399
f7db3170
TS
5400 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5401 (__start_context): Preserve zero value for regular exit case.
5402
dc97c227
TS
54032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5404 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5405
5406 * manual/setjmp.texi (setcontext): Clarify normal process
5407 termination when uc_link is the null pointer.
5408 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5409 exit call.
5410
d0cd7d02
AS
54112012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5412
5413 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5414 preprocessor. Test for each exception mask separately.
5415
dd318934
AJ
54162012-07-16 Andreas Jaeger <aj@suse.de>
5417
5418 * po/ru.po: Update from translation team.
5419
8048311a
JM
54202012-07-15 Joseph Myers <joseph@codesourcery.com>
5421
5422 * conform/data/string.h-data (NULL): Use macro-constant. Require
5423 equal to 0.
5424 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5425 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5426 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5427 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5429
b637d46e
AJ
54302012-07-13 Andreas Jaeger <aj@suse.de>
5431
5432 * po/fr.po: Update from translation team.
5433
541428fe
MP
54342012-07-12 Marek Polacek <polacek@redhat.com>
5435
5436 [BZ #14173]
5437 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5438 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5439 loop condition.
5440
ec332e94
JM
54412012-07-12 Joseph Myers <joseph@codesourcery.com>
5442
5443 [BZ #13717]
5444 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5445 Change to 2.4.1 where previously 2.4.0.
5446 * sysdeps/unix/sysv/linux/configure: Regenerated.
5447 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5448 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5449 version.
5450 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5451 (__ASSUME_AT_CLKTCK): Remove.
5452 (__ASSUME_AT_PAGESIZE): Likewise.
5453 (__ASSUME_AT_XID): Likewise.
5454 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5455 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5456 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5457 unconditionally.
5458 (HAVE_AUX_PAGESIZE): Likewise.
5459 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5460 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5461 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5462
7b6e99be
JB
54632012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5464
5465 [BZ #14307]
5466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5467 the temporary buffer used to invoke __gethostbyname2_r,
5468 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5469 host_data / struct gaih_addrtuple.
5470 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5471 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5472 header file nss/nsswitch.h.
5473 * nss/nsswitch.h (global scope): Add definition of implementation
5474 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5475 resolv/nss_dns/dns-host.c).
5476
608404eb
AJ
54772012-07-11 Andreas Jaeger <aj@suse.de>
5478
5479 * po/fr.po: Update from translation team.
5480
71220aca
AJ
5481 * po/sv.po: Update from translation team
5482 * po/fr.po: Another update from translation team.
5483
28cfe843
AZ
54842012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5485
5486 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5487 for subnormals or multiply small sinh result by itself.
5488 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5490
6b90f981
DM
54912012-07-11 David S. Miller <davem@davemloft.net>
5492
5493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5494
c6825772
AS
54952012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5496
5497 [BZ #14347]
5498 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5499 (INTERNAL_MARK): Shift it here.
5500
7b8e0d49
MP
55012012-07-10 Marek Polacek <polacek@redhat.com>
5502
5503 [BZ #14151]
5504 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5505 libc_cv_asm_global_directive with .globl.
5506 * configure: Regenerated.
5507 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5508 with .globl.
5509 * sysdeps/i386/configure: Regenerated.
5510 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5511 with .globl.
5512 * sysdeps/x86_64/configure: Regenerated.
5513 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5514 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5515 * elf/tst-unique2mod2.c: Likewise.
5516 * elf/tst-unique2mod1.c: Likewise.
5517 * elf/tst-unique1mod2.c: Likewise.
5518 * elf/tst-unique1mod1.c: Likewise.
5519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5520 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5521 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5522 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5523 * sysdeps/mach/sysdep.h: Likewise.
5524 * sysdeps/i386/sysdep.h: Likewise.
5525 * sysdeps/i386/i386-mcount.S: Likewise.
5526 * sysdeps/x86_64/_mcount.S: Likewise.
5527 * sysdeps/x86_64/sysdep.h: Likewise.
5528 * sysdeps/sh/_mcount.S: Likewise.
5529 * sysdeps/sh/sysdep.h: Likewise.
5530 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5531 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5532 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5533 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5534 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5535 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5536 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5537 * locale/localeinfo.h: Likewise.
5538 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5539 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5540
6c55cda3
RM
55412012-07-09 Roland McGrath <roland@hack.frob.com>
5542
5543 [BZ #14336]
5544 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5545 system".
5546 * manual/message.texi (The Uniforum approach): Likewise.
5547 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5548 (glibc iconv Implementation): Likewise.
5549
638a572e
JM
55502012-07-09 Joseph Myers <joseph@codesourcery.com>
5551
5552 [BZ #14337]
5553 * math/s_clog.c (__clog): Avoid scaling a value down where that
5554 could result in underflow.
5555 * math/s_clog10.c (__clog10): Likewise.
5556 * math/s_clog10f.c (__clog10f): Likewise.
5557 * math/s_clog10l.c (__clog10l): Likewise.
5558 * math/s_clogf.c (__clogf): Likewise.
5559 * math/s_clogl.c (__clogl): Likewise.
5560 * math/libm-test.inc (clog_test): Add more tests.
5561 (clog10_test): Likewise.
5562 * sysdeps/i386/fpu/libm-test-ulps: Update.
5563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5564
261f4859
AS
55652012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5566
0abaf3e4
AS
5567 [BZ #14283]
5568 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5569 by 7 not 8 to examine high bit of fractional part.
5570
261f4859
AS
5571 [BZ #14042]
5572 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5573 for call to __mcount_internal.
5574 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5575 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5576 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5577
f17ac40d
JM
55782012-07-06 Joseph Myers <joseph@codesourcery.com>
5579
9ad63c23
JM
5580 [BZ #14154]
5581 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5582 approximation for values within 0x1p-13f of an odd multiple of
5583 pi/4.
5584 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5585 exception. Add more tests.
5586 * sysdeps/i386/fpu/libm-test-ulps: Update.
5587
f17ac40d
JM
5588 [BZ #6778]
5589 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5590 inputs and return -1 for them. Do not check for +Inf in case not
5591 reachable for +Inf.
5592 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5593 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5594 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5595 and return -1 for them. Do not check for +Inf in case not
5596 reachable for +Inf.
5597 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5598 define.
5599 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5600 and return -1 for them. Do not check for +Inf in case not
5601 reachable for +Inf.
5602 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5603 spurious underflow.
5604 * sysdeps/i386/fpu/libm-test-ulps: Update.
5605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5606
fb21f89b
MF
56072012-07-06 Mike Frysinger <vapier@gentoo.org>
5608
5609 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5610
cdfe2c5e
JM
56112012-07-05 Joseph Myers <joseph@codesourcery.com>
5612
5613 [BZ #14157]
5614 [BZ #14331]
5615 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5616 could result in spurious underflow. Scale down values above
5617 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5618 * math/s_csqrtf.c (__csqrtf): Likewise.
5619 * math/s_csqrtl.c (__csqrtl): Likewise.
5620 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5621 spurious underflow.
5622 * sysdeps/i386/fpu/libm-test-ulps: Update.
5623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5624
70d35b67
AS
56252012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5626
704bc459
AS
5627 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5628 xopen-msg.sed.
5629 * catgets/xopen-msg.awk: New file.
5630 * catgets/xopen-msg.sed: Removed.
5631
70d35b67
AS
5632 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5633 po2text.sed.
5634 * intl/po2test.awk: New file.
5635 * intl/po2test.sed: Removed.
5636
ca61cf32
JM
56372012-07-04 Joseph Myers <joseph@codesourcery.com>
5638
5639 [BZ #14328]
5640 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5641 or multiply small sinh result by itself.
5642 * math/s_ctanf.c (__ctanf): Likewise.
5643 * math/s_ctanh.c (__ctanh): Likewise.
5644 * math/s_ctanhf.c (__ctanhf): Likewise.
5645 * math/s_ctanhl.c (__ctanhl): Likewise.
5646 * math/s_ctanl.c (__ctanl): Likewise.
5647 * math/libm-test.inc (ctan_test_tonearest): New function.
5648 (ctan_test_towardzero): Likewise.
5649 (ctan_test_downward): Likewise.
5650 (ctan_test_upward): Likewise.
5651 (ctanh_test_tonearest): Likewise.
5652 (ctanh_test_towardzero): Likewise.
5653 (ctanh_test_downward): Likewise.
5654 (ctanh_test_upward): Likewise.
5655 (main): Call these new functions.
5656 * sysdeps/i386/fpu/libm-test-ulps: Update.
5657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5658
ca48a46a
MF
56592012-07-03 Mike Frysinger <vapier@gentoo.org>
5660
5661 * .gitignore: Delete /ports entry.
5662
9d63d37d
AJ
56632012-07-03 Andreas Jaeger <aj@suse.de>
5664
5665 * po/bg.po: Update from translation team.
5666 * po/cs.po: Likewise.
5667 * po/de.po: Likewise.
5668 * po/hr.po: Likewise.
5669 * po/nl.pl: Likewise.
5670 * po/pl.po: Likewise.
5671 * po/vi.po: Likewise.
5672
370ca3d2
JM
56732012-07-03 Joseph Myers <joseph@codesourcery.com>
5674
95f5a9a8
JM
5675 * Makeconfig [!+link] (+link-before-libc): New variable.
5676 [!+link] (+link-after-libc): Likewise.
5677 [!+link] (+link-tests): Likewise.
5678 [!+link] (+link): Define in terms of $(+link-before-libc) and
5679 $(+link-after-libc).
5680 [!+link-static] (+link-static-before-libc): New variable.
5681 [!+link-static] (+link-static-after-libc): Likewise.
5682 [!+link-static] (+link-static-tests): Likewise.
5683 [!+link-static] (+link-static): Define in terms of
5684 $(+link-static-before-libc) and $(+link-static-after-libc).
5685 [build-shared] (link-libc-before-gnulib): New variable.
5686 [build-shared] (link-libc-tests): Likewise.
5687 [build-shared] (link-libc): Define in terms of
5688 $(link-libc-before-gnulib).
5689 [!build-shared] (link-libc-tests): New variable.
5690 (link-libc-static-tests): New variable.
5691 [!gnulib] (gnulib-arch): New variable.
5692 [!gnulib] (gnulib-tests): Likewise.
5693 [!gnulib] (static-gnulib-arch): Likewise.
5694 [!gnulib] (static-gnulib-tests): Likewise.
5695 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5696 Define with "=" instead of ":=".
5697 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5698 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5699 * Rules (binaries-all-notests): New variable.
5700 (binaries-all-tests): Likewise.
5701 (binaries-static-notests): Likewise.
5702 (binaries-static-tests): Likewise.
5703 (binaries-all): Define using $(binaries-all-notests) and
5704 $(binaries-all-tests).
5705 (binaries-static): Define using $(binaries-static-notests) and
5706 $(binaries-static-tests).
5707 (binaries-shared-tests): New variable.
5708 (binaries-shared-notests): Likewise.
5709 (binaries-shared): Remove variable.
5710 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5711 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5712 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5713 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5714 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5715 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5716 * elf/Makefile (sln-modules): New variable.
5717 (extra-objs): Add $(sln-modules:=.o).
5718 (ldconfig-modules): Add static-stubs.
5719 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5720 * elf/static-stubs.c: New file.
5721
7a845b2c
JM
5722 [BZ #14283]
5723 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5724 by 7 not 8 to examine high bit of fractional part. Use volatile
5725 variables when splitting into final array of floats if
5726 __FLT_EVAL_METHOD__ != 0.
5727 * math/libm-test.inc (cos_test): Add another test.
5728 (sin_test): Likewise.
5729 * sysdeps/i386/fpu/libm-test-ulps: Update.
5730
e2283f38
JM
5731 [BZ #14273]
5732 * math/libm-test.inc (cosh_test): Add more tests.
5733
370ca3d2
JM
5734 * version.h (RELEASE): Set to "development".
5735 (VERSION): Set to "2.16.90".
5736
ee9247c3
CD
57372012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5738
5739 * NEWS: Update copyright. Remove last-updated date.
5740 Mention math library bug fixes and timezone data changes.
5741 * README: Mention GNU/Hurd, x32, and HPPA support status.
5742
4648c381
TS
57432012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5744
5745 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5746
aac78a43
AJ
57472012-06-27 Andreas Jaeger <aj@suse.de>
5748
5749 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5750
ed3dbfad
AJ
57512012-06-25 Andreas Jaeger <aj@suse.de>
5752
5753 * sysdeps/s390/fpu/libm-test-ulps: Update.
5754
4d0ee855
AS
57552012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5756 Thomas Schwinge <thomas@codesourcery.com>
5757
5758 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5759 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5761 fanotify_mark.
5762
af1bce34
TS
57632012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5764
a9fa33ba
TS
5765 * sysdeps/mach/start.c: Remove file.
5766 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5767 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5768 * sysdeps/sh/init-first.c: Likewise.
5769
58f902b8
TS
5770 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5771 registers for frame unwinding purposes, add CFI directives.
5772 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5773 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5774 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5775 Likewise.
5776
1518f58b
TS
5777 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5778 __fortify_fail returning.
5779 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5780
db9b5059
TS
5781 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5782 sysdeps/sh/____longjmp_chk.S.
5783 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5784 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5785 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5786 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5787
967705fe
TS
5788 * sysdeps/sh/abort-instr.h: New file.
5789 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5790 process in case exit returns.
5791
a9def8c4
TS
5792 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5793 initialize the GOT register before use.
5794
2a649725
TS
5795 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5796 calculation of ARGC > 4.
5797
af1bce34
TS
5798 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5799 meaningful names to some local labels.
5800
d230f50a
KK
58012012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5802 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5803
5804 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5805 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5806 (__arch_compare_and_exchange_val_16_acq): Likewise.
5807 (__arch_compare_and_exchange_val_32_acq): Likewise.
5808 (atomic_exchange_and_add): Fix gUSA sequence.
5809 (atomic_add): Likewise.
5810 (atomic_add_negative): Likewise.
5811 (atomic_add_zero): Likewise.
5812 (atomic_bit_test_set): Likewise.
5813
0479b305
AS
58142012-06-22 Andreas Schwab <schwab@redhat.com>
5815
5816 [BZ #13579]
5817 * include/link.h (struct link_map): Add l_free_initfini.
5818 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5819 l_initfini.
5820 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5821 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5822 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5823 set.
5824
0e3933b9
CD
58252012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5826
5827 * configure.in: Use AC_LANG_SOURCE.
5828 * configure: Regenerate.
5829
4248b1b1
RM
58302012-06-22 Roland McGrath <roland@hack.frob.com>
5831
5832 * configure.in (libc_cv_localstatedir): New substituted variable.
5833 * configure: Regenerated.
5834 * config.make.in (localstatedir): New variable, substituted from
5835 libc_cv_localstatedir.
5836 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5837 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5838 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5839 * sysdeps/gnu/configure: Regenerated.
5840
006dd861
JL
58412012-06-21 Jeff Law <law@redhat.com>
5842
5843 [BZ #14277]
5844 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5845 free. Simplify list management for _LIBC case.
5846
79662d42
JM
58472012-06-21 Joseph Myers <joseph@codesourcery.com>
5848
b7abb4bf
JM
5849 [BZ #14273]
5850 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5851 Clear sign bit of 64-bit integer value before comparing against
5852 overflow value.
5853
79662d42
JM
5854 * sysdeps/mach/configure: Regenerated.
5855
1f150908
L
58562012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5857
5858 [BZ #14278]
5859 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5860
28363bbf
JL
58612012-06-21 Jeff Law <law@redhat.com>
5862
5863 [BZ #13882]
5864 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5865 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5866 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5867 * elf/dl-open.c (dl_open_worker): Likewise.
5868
09615db4
CD
58692012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5870
5871 * scripts/list-sources.sh: Scan PORTS for translations.
5872 * po/libc.pot: Regenerated.
5873
2174c6dd
AJ
58742012-06-21 Andreas Jaeger <aj@suse.de>
5875
5876 [BZ #12194]
5877 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5878 warning.
5879 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5880 * bits/byteswap-16.h (__bswap_16): Likewise.
5881 * bits/byteswap.h (__bswap_constant_16): Likewise.
5882
3ee947b1
L
58832012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5884
5885 [BZ #14117]
a2f34833
L
5886 * sysdeps/i386/fpu_control.h: Removed.
5887 * sysdeps/x86_64/fpu_control.h: Moved to ...
5888 * sysdeps/x86/fpu_control.h: Here.
5889
3ee947b1
L
5890 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5891 (_FPU_SETCW): Likewise.
5892
ed1825f8
L
58932012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5894
25f1282a
L
5895 [BZ #14117]
5896 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5897 * sysdeps/x86/fpu/bits/mathinline.h: This.
5898 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5899
ed1825f8
L
5900 [BZ #14050]
5901 [BZ #14117]
5902 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5903 functions if __x86_64__ is defined.
5904
36d54b74
CLT
59052012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5906
5907 * string/endian.h: Add !__ASSEMBLER__ condition for including
5908 conversion interfaces.
5909
10285c21
JM
59102012-06-15 Joseph Myers <joseph@codesourcery.com>
5911
5912 [BZ #14241]
5913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5914 of ABS(x) in calculating zero to negative powers other than odd
5915 integers.
5916 * math/libm-test.inc (pow_test): Add more tests.
5917
06c5abbd
AJ
59182012-06-15 Andreas Jaeger <aj@suse.de>
5919
5920 * manual/contrib.texi (Contributors): Update entry of Liubov
5921 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5922 Machado Filho.
5923
a3aeac40
CH
59242012-06-15 Cyril Hrubis <metan@ucw.cz>
5925
5926 * string/string.h: Add __wur to GNU version of strerror_r.
5927
49bdf4c1
L
59282012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5929
5930 [BZ #14229]
5931 * string/Makefile (tests): Add tst-strtok_r.
5932 * string/tst-strtok_r.c: New file.
5933 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5934 RAX_LP/RDX_LP on SAVE_PTR.
5935
834f9b8d
RM
59362012-06-14 Roland McGrath <roland@hack.frob.com>
5937
5938 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5939
75fa1921
JM
59402012-06-14 Joseph Myers <joseph@codesourcery.com>
5941
5942 * libm_test.inc (csqrt_test): Allow more spurious underflow
5943 exceptions.
5944 (j0_test): Likewise.
5945 (j1_test): Likewise.
5946 (y0_test): Likewise.
5947 (y1_test): Likewise.
5948
771766df
CD
59492012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5950
5951 * po/Makefile (libc.pot): Use UTF-8 charset.
5952
ceb9e56b
PP
59532012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5954
5955 [BZ #14210]
5956 Suppress sign-conversion warning from FD_SET.
5957 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5958 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5959 not unsigned long int.
5960 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5961
ddb28975
L
59622012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5963
5964 [BZ #14050]
5965 [BZ #14117]
5966 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5967 __extern_always_inline instead of __extern_inline.
5968 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5969 (__signbit): Likewise.
5970 (__signbitl): Support C++ namespace.
5971 (lrintf): New inline function.
5972 (lrint): Likewise.
5973 (llrintf): Likewise.
5974 (llrint): Likewise.
5975 (fmaxf): Likewise.
5976 (fmax): Likewise.
5977 (fminf): Likewise.
5978 (fmin): Likewise.
5979 (rint): Likewise.
5980 (rintf): Likewise.
5981 (ceil): Likewise.
5982 (ceilf): Likewise.
5983 (floor): Likewise.
5984 (floorf): Likewise.
5985 (nearbyint): Likewise.
5986 (nearbyintf): Likewise.
5987
d7b4fb26
TS
59882012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5989
5990 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5991 non-default versions.
5992
eb55f5c2
RM
59932012-06-11 Roland McGrath <roland@hack.frob.com>
5994
5995 [BZ #14218]
5996 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5997
366af02c
TS
59982012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5999
99ff6e5c
TS
6000 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6001 (FE_UPWARD, FE_DOWNWARD): Don't define.
6002 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6003 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6004
366af02c
TS
6005 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6006 reading it.
6007 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6008 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6009
793ea851
KK
60102012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6011
6012 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6014 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6015 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6016
a728a38f
L
60172012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6018
6019 [BZ #14117]
c08010c7
L
6020 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6021 * sysdeps/i386/fpu/Implies: New file.
6022 * sysdeps/x86_64/fpu/Implies: Likewise.
6023 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6024 * sysdeps/x86/fpu/bits/fenv.h: This.
6025
a728a38f
L
6026 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6027 __SSE_MATH__.
6028
6e230d11
SP
60292012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6030
6031 [BZ #14134]
6032 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6033 character 0xffff that matches the last element of the
6034 conversion table.
6035
1b671feb
AZ
60362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037
6038 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6039 fmodl commit.
6040
6043738b
AZ
60412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042
6043 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6044 values higher than 25.6283.
6045
34ae0b32
AZ
60462012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6047
6048 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6049 subnormal exponent extraction and add some __builtin_expect.
6050 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6051 Fix for subnormal mantissa calculation.
6052
1214ec8f
MF
60532012-06-04 Mike Frysinger <vapier@gentoo.org>
6054
6055 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6056 cpu2 is -1 and errno is not ENOSYS.
6057
f3d1f93c
L
60582012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6059
6060 [BZ #14117]
0e4a3cd7
L
6061 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6062 * sysdeps/x86/bits/string.h: This.
6063 * sysdeps/x86_64/bits/string.h: Removed.
6064
6704c645
L
6065 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6066 if not compiling for x86-64, but compiling for >= i486.
6067
48495318
L
6068 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6069 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6070
14adcbfc
L
6071 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6072 New macro from Linux kernel 3.4.0.
6073 (FP_XSTATE_MAGIC2): Likewise.
6074 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6075 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6076 (struct _fpx_sw_bytes): New struct.
6077 (struct _xsave_hdr): Likewise.
6078 (struct _ymmh_state): Likewise.
6079 (struct _xstate): Likewise.
6080
68e408ab
L
6081 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6082 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6083 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6084 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6085 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6086 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6087
f3d1f93c
L
6088 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6089 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6090 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6091 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6092 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6093 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6094
d9dc34cd
TMQMF
60952012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6096
6097 [BZ #13743]
6098 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6099 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6100 (sysdep_headers): Include sys/platform/ppc.h.
6101 * sysdeps/powerpc/test-gettimebase.c: Test for
6102 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6103 * manual/Makefile (appendices): Include platform.texi.
6104 * manual/contrib.texi (Contributors): Update @node pointers.
6105 * manual/maint.texi (Maintenance): Likewise.
6106 (Platform): New node.
6107 * manual/platform.texi: New file. Document the new features.
6108
4af3879c
SP
61092012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6110 Jakub Jelinek <jakub@redhat.com>
6111
6112 [BZ #14188]
6113 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6114 where __builtin_expect is unavailable.
6115
2fd6ff13
DM
61162012-06-03 David S. Miller <davem@davemloft.net>
6117
6118 * stdlib/longlong.h: Updated from GCC.
6119
173f7220
AS
61202012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6121
6122 [BZ #14042]
6123 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6124 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6125 __mcount_internal.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6127 (GLIBC_2.16): Likewise.
6128
f34a1c6f
L
61292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6130
6131 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6132
88a4576f
JM
61332012-06-01 Joseph Myers <joseph@codesourcery.com>
6134
ea32bcdd
JM
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6136 (default-abi): New variable.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6138 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6139 variable.
6140 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6141 Likewise.
6142 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6143 Likewise.
6144 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6145 Likewise.
6146
88a4576f
JM
6147 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6148 definition. Document in comment.
6149
402fe938
DM
61502012-06-01 David S. Miller <davem@davemloft.net>
6151
6152 * stdlib/longlong.h: Updated from GCC.
6153
3553723f
L
61542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6155
6156 [BZ #14117]
3bd872c4
L
6157 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6158 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6159 sys/debugreg.h sys/io.h here.
6160 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6161 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6162 sys/io.h.
6163 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6164 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6165 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6166 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6167 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6168 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6169
3553723f
L
6170 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6171 Define only if __x86_64__ is defined.
6172
4842e4fe
JM
61732012-06-01 Joseph Myers <joseph@codesourcery.com>
6174
c5bfe3d5
JM
6175 [BZ #14048]
6176 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6177 Use int64_t for variable i.
6178 * math/libm-test.inc (fmod_test): Add more tests.
6179
4842e4fe
JM
6180 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6181 z computation is not scheduled after fetestexcept.
6182 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6183 Use math_force_eval instead of asm to ensure calculation scheduled
6184 before exception test.
6185 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6186 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6187
efb73488
AJ
61882012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6189
6190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6191 computation is not scheduled after fetestexcept.
6192
29bcce7c
L
61932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6194
6195 [BZ #14117]
6196 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6197 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6198
73a68f94
AZ
61992012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6200
6201 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6202 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6203
67b6df78
L
62042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6205
edf2933a 6206 [BZ #14117]
ebc64a18
L
6207 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6208 <bits/wordsize.h>.
6209 (__WCHAR_MIN): Support __WORDSIZE == 64.
6210 (__WCHAR_MAX): Likewise.
6211
edf2933a
L
6212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6213 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6214
57c6cf40
L
6215 [BZ #14183]
6216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6217 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6218
67b6df78 6219 [BZ #14117]
8eb6281e
L
6220 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6221 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6222
aac639f4
L
6223 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6224 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6225
67b6df78
L
6226 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6227 Defined to 1 if __x86_64__ isn't defined.
6228 (_STAT_VER_LINUX_OLD): New.
6229 (st_atime): Remove duplicate.
6230 (st_mtime): Likewise.
6231 (st_ctime): Likewise.
6232
1c2cfe81
DM
62332012-05-31 David S. Miller <davem@davemloft.net>
6234
6235 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6236 entries.
6237
5be8418c
AS
62382012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6239
e7725326
AS
6240 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6241 gen-libm-test.pl.
6242
5be8418c
AS
6243 [BZ #14132]
6244 * elf/dl-reloc.c: Include <_itoa.h>.
6245 (_dl_reloc_bad_type): Remove use of INTUSE.
6246 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6247 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6248 * stdio-common/psiginfo.c (psiginfo): Likewise.
6249 * stdio-common/psignal.c (psignal): Likewise.
6250 * string/strsignal.c (strsignal): Likewise.
6251 * include/signal.h (_sys_siglist): Declare hidden proto.
6252 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6253 INTVARDEF with libc_hidden_data_def.
6254 * stdio-common/itoa-udigits.c: Likewise.
6255 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6256 (_itoa_lower_digits_internal): Remove declaration.
6257 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6258 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6259 (_sys_sigabbrev_internal): Remove aliases.
6260 (_sys_siglist): Define hidden alias.
6261
507352f1
MT
62622012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6263
6264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6265 bits/sysctl.h.
6266
42bbb1c3
L
62672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6268
6269 [BZ #14117]
6bd784b6
L
6270 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6271 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6272
8bca20f0
L
6273 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6274 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6275 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6276 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6277 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6278 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6279
f9e890a9
L
6280 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6281 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6282 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6283
471101a1
L
6284 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6285 with __addr.
6286 (insw): Likewise.
6287 (insl): Likewise.
6288 (outsb): Likewise.
6289 (outsw): Likewise.
6290 (outsl): Likewise.
6291
6451c862
L
6292 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6293 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6294 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6295
a254b8c9
L
6296 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6297 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6298 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6299 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6300 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6301 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6302
b8dfdd92
L
6303 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6304 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6305
578cd270
L
6306 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6307 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6308
de662f5f
L
6309 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6311 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6312
25653439
L
6313 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6314 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6315 to ...
6316 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6317
6bad24a0
L
6318 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6319 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6320 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6321
42bbb1c3
L
6322 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6323 for x86-64.
6324 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6325
2d10d547
JM
63262012-05-31 Joseph Myers <joseph@codesourcery.com>
6327
6328 * math/math.h (M_El): Use two more decimal places.
6329 (M_LOG2El): Likewise.
6330 (M_LOG10El): Likewise.
6331 (M_LN2l): Likewise.
6332 (M_LN10l): Likewise.
6333 (M_PIl): Likewise.
6334 (M_PI_2l): Likewise.
6335 (M_PI_4l): Likewise.
6336 (M_1_PIl): Likewise.
6337 (M_2_PIl): Likewise.
6338 (M_2_SQRTPIl): Likewise.
6339 (M_SQRT2l): Likewise.
6340 (M_SQRT1_2l): Likewise.
6341
f230c29b
DM
63422012-05-31 David S. Miller <davem@davemloft.net>
6343
6344 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6345 values between float registers.
6346 * sysdeps/sparc/sparc64/memset.S: Likewise.
6347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6348
fed806c3
MF
63492012-05-31 Mike Frysinger <vapier@gentoo.org>
6350
6351 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6352 -D_FORTIFY_SOURCE=1.
6353 (CPPFLAGS-tst-longjmp_chk.c): Define.
6354 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6355 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6356 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6357 CFLAGS-tst-wchar-h.c.
6358
30917259
MP
63592012-05-31 Marek Polacek <polacek@redhat.com>
6360
6361 [BZ #14132]
6362 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6363 __endmntent_internal): Remove declaration.
6364 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6365 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6366 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6367
1c58d5dc
DM
63682012-05-30 David S. Miller <davem@davemloft.net>
6369
6370 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6371 (___Q_simulate_exceptions): Use real FP ops rather than writing
6372 into the %fsr.
6373 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6374 Likewise.
6375
7dc00e0d
L
63762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6377
6378 [BZ #14117]
0bd53985
L
6379 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6380 * sysdeps/x86/bits/xtitypes.h: This.
6381
3a257e66
L
6382 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6383 * sysdeps/x86/bits/wordsize.h: This.
6384
62f62904
L
6385 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6386 * sysdeps/x86/bits/huge_vall.h: This.
6387
404fe9d9
L
6388 * sysdeps/i386/bits/select.h: Removed.
6389 * sysdeps/x86_64/bits/select.h: Renamed to ...
6390 * sysdeps/x86/bits/select.h: This.
6391
d48d0446
L
6392 * sysdeps/i386/bits/setjmp.h: Removed.
6393 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6394 * sysdeps/x86/bits/setjmp.h: This.
6395
7dc00e0d
L
6396 * sysdeps/i386/bits/mathdef.h: Removed.
6397 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6398 * sysdeps/x86/bits/mathdef.h: This.
6399
03277f8f
AS
64002012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6401
6402 [BZ #14132]
6403 * include/sys/socket.h (__connect_internal)
6404 (__libc_sa_len_internal): Remove declaration.
6405 (__connect, __libc_sa_len): Declare hidden_proto.
6406 (SA_LEN): Remove use of INTUSE.
6407 * socket/connect.c: Add libc_hidden_def.
6408 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6409 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6410 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6411 alias.
6412 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6413 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6414 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6415 of adding _internal alias.
6416
13764867
L
64172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6418
6419 [BZ #14117]
6bd97696
L
6420 * sysdeps/i386/bits/link.h: Removed.
6421 * sysdeps/i386/bits/linkmap.h: Likewise.
6422 * sysdeps/x86_64/bits/link.h: Renamed to ...
6423 * sysdeps/x86/bits/link.h: This.
6424 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6425 * sysdeps/x86/bits/linkmap.h: This.
6426
f726f0bb
L
6427 * sysdeps/i386/bits/endian.h: Removed.
6428 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6429 * sysdeps/x86/bits/endian.h: This.
6430
13764867
L
6431 * sysdeps/i386/bits/byteswap.h: Removed.
6432 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6433 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6434 * sysdeps/x86/bits/byteswap.h: This.
6435 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6436 * sysdeps/x86/bits/byteswap-16.h: This.
6437 * sysdeps/i386/Implies: Add x86.
6438 * sysdeps/x86_64/Implies: Likewise.
6439
ae251b0b
DM
64402012-05-30 David S. Miller <davem@davemloft.net>
6441
6442 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6443 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6444 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6445 (FP_TRAPPING_EXCEPTIONS): Define.
6446 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6447 (FP_TRAPPING_EXCEPTIONS): Define.
6448 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6449 subnormals only when inexact has been signalled or underflow
6450 exceptions are enabled.
6451 (_FP_PACK_CANONICAL): Likewise.
6452
d5c90867
L
64532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6454
6455 [BZ #14183]
6456 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6457 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6458
63f1549e
RH
64592012-05-30 Richard Henderson <rth@twiddle.net>
6460
8d8f2279
RH
6461 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6462 with #ifndef NOT_IN_libc.
6463
63f1549e
RH
6464 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6465 marked to avoid plt entry.
6466
0ab0291b
L
64672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6468
6469 [BZ #14112]
6470 * Makeconfig (default-abi): New macro.
6471 (abi-includes): Likewise.
6472 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6473 $(abi-$(default-abi)-lib-soname) for soname if defined.
6474 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6475 abi-variants.
6476 * Makefile (installed-stubs): Likewise.
6477 * include/stubs-biarch.h: Removed.
6478 * scripts/lib-names.awk: Only handle one library at a time.
6479 * scripts/soversions.awk: Remove WORDSIZE support.
6480 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6481 entries.
6482 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6483 Removed.
6484 (syscall-list-default-condition): Likewise.
6485 (syscall-list-default-condition): Likewise.
6486 (syscall-list-includes): Likewise.
6487 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6488 syscall-list-* with abi-*. Handle undefined abi-variants.
6489 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6490 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6491 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6492 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6493 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6494 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6495 Removed.
6496 (syscall-list-32-options): Likewise.
6497 (syscall-list-32-condition): Likewise.
6498 (syscall-list-64-options): Likewise.
6499 (syscall-list-64-condition): Likewise.
6500 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6501 macro.
6502 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6503 Renamed to ...
6504 (abi-*): This.
6505 (abi-64-ld-soname): New macro.
6506 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6507 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6508 Renamed to ...
6509 (abi-*): This.
6510 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6511 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6512
4da0431d
JM
65132012-05-30 Joseph Myers <joseph@codesourcery.com>
6514
3a85279c
JM
6515 * sysdeps/unix/sysv/linux/kernel-features.h
6516 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6517 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6518 include <kernel-features.h>.
6519 [!__NR_ftruncate64]: Remove conditional code.
6520 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6521 [__NR_ftruncate64]: Make code unconditional.
6522 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6523 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6524 include <kernel-features.h>.
6525 [!__NR_ftruncate64]: Remove conditional code.
6526 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6527 [__NR_ftruncate64]: Make code unconditional.
6528 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6530 include <kernel-features.h>.
6531 [!__NR_ftruncate64]: Remove conditional code.
6532 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6533 [__NR_ftruncate64]: Make code unconditional.
6534 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6536 include <kernel-features.h>.
6537 [!__NR_ftruncate64]: Remove conditional code.
6538 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6539 [__NR_ftruncate64]: Make code unconditional.
6540 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6541
4da0431d
JM
6542 * configure.in (libc_cv_fpie): Weaken to a compile test using
6543 LIBC_TRY_CC_OPTION.
6544 * configure: Regenerated.
6545
11ef492c
AK
65462012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6547
6548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6552 Refreshed.
6553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6559 Refreshed.
6560
d66ef399
DM
65612012-05-27 David S. Miller <davem@davemloft.net>
6562
6563 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6564 (___Q_zero): New.
6565 (__Q_simulate_exceptions): Return void. Change to simulate
6566 exceptions by writing into the %fsr.
6567 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6568 (__Qp_handle_exceptions): Likewise.
6569 (numbers): Delete.
6570 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6571 __Qp_handle_exceptions.
6572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6573 __Qp_handle_exceptions.
6574 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6575 as unused and give dummy FP_RND_NEAREST initializer.
6576 (FP_INHIBIT_RESULTS): Define.
6577 (___Q_simulate_exceptions): Update declaration.
6578 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6579 formatting.
6580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6581 as unused and give dummy FP_RND_NEAREST initializer.
6582 (__Qp_handle_exceptions): Update declaration.
6583 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6584 formatting.
6585
04fb54b5
TS
65862012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6587
6588 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6589 the temporary FPU control word.
6590 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6591 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6592 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6593 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6594 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6595 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6596 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6597 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6598 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6599 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6600 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6601
3f99608f
KK
66022012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6603
6604 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6605 fields.
6606
65a4de4e
CLT
66072012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6608
6609 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6610 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6611 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6612 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6613 Likewise.
6614 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6615 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6616 Likewise.
6617
15749d40
UD
66182012-05-27 Ulrich Drepper <drepper@gmail.com>
6619
6620 * po/h.po: Update from translation team.
6621
25dbcb27
AS
66222012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6623
3d3f8e55
AS
6624 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6625
25dbcb27
AS
6626 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6627 handling of denormals.
6628 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6629 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6630 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6632 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6635 Likewise.
6636
7ad47a80 66372012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6638
6639 [BZ #14152]
6640 * math/libm-test.inc (fma_test): Don't always expect underflow
6641 exception.
6642
9c6ea9fa
SP
66432012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6644
6645 [BZ #12416]
6646 * elf/tst-execstack.c: Include stackinfo.h.
6647 (do_test): Adjust test case to ensure that pthread_getattr_np
6648 behaviour remains the same after marking stack executable.
6649
a8239222
JM
66502012-05-25 Joseph Myers <joseph@codesourcery.com>
6651
6652 * sysdeps/unix/sysv/linux/kernel-features.h
6653 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6654 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6655 kernel-features.h.
6656 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6657 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6658 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6659 kernel-features.h.
6660 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6661 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6662
918b5606
L
66632012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6664
6665 * configure.in: Define the default includes to being none.
6666 * configure: Regenerated.
6667
3a097cc7
RM
66682012-05-25 Roland McGrath <roland@hack.frob.com>
6669
8422c9a5
RM
6670 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6671 * sysdeps/x86_64/setjmp.S: Likewise.
6672 * sysdeps/i386/bsd-setjmp.S: Likewise.
6673 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6674 * sysdeps/i386/setjmp.S: Likewise.
6675 * sysdeps/i386/__longjmp.S: Likewise.
6676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6677 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6678
3a097cc7
RM
6679 * include/stap-probe.h: New file.
6680 * configure.in: Handle --enable-systemtap.
6681 * configure: Regenerated.
6682 * config.h.in (USE_STAP_PROBE): New #undef.
6683 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6684 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6685 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6686
21708942
JM
66872012-05-25 Joseph Myers <joseph@codesourcery.com>
6688
6689 [BZ #13717]
6690 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6691 to 2.4.0 where earlier.
6692 * sysdeps/unix/sysv/linux/configure: Regenerated.
6693 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6694 <kernel-features.h>.
6695 [__ASSUME_32BITUIDS]: Make code unconditional.
6696 [!__ASSUME_32BITUIDS]: Remove conditional code.
6697 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6698 <kernel-features.h>.
6699 [__ASSUME_32BITUIDS]: Make code unconditional.
6700 [!__ASSUME_32BITUIDS]: Remove conditional code.
6701 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6702 [__ASSUME_32BITUIDS]: Make code unconditional.
6703 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6704 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6705 <kernel-features.h>.
6706 [__ASSUME_32BITUIDS]: Make code unconditional.
6707 [!__ASSUME_32BITUIDS]: Remove conditional code.
6708 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6709 <kernel-features.h>.
6710 [__ASSUME_32BITUIDS]: Make code unconditional.
6711 [!__ASSUME_32BITUIDS]: Remove conditional code.
6712 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6713 <kernel-features.h>.
6714 [__ASSUME_32BITUIDS]: Make code unconditional.
6715 [!__ASSUME_32BITUIDS]: Remove conditional code.
6716 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6717 <kernel-features.h>.
6718 [__ASSUME_32BITUIDS]: Make code unconditional.
6719 [!__ASSUME_32BITUIDS]: Remove conditional code.
6720 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6721 <kernel-features.h>.
6722 [__ASSUME_32BITUIDS]: Make code unconditional.
6723 [!__ASSUME_32BITUIDS]: Remove conditional code.
6724 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6725 <kernel-features.h>.
6726 [__ASSUME_32BITUIDS]: Make code unconditional.
6727 [!__ASSUME_32BITUIDS]: Remove conditional code.
6728 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6729 <kernel-features.h>.
6730 [__ASSUME_32BITUIDS]: Make code unconditional.
6731 [!__ASSUME_32BITUIDS]: Remove conditional code.
6732 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6733 <kernel-features.h>.
6734 [__ASSUME_32BITUIDS]: Make code unconditional.
6735 [!__ASSUME_32BITUIDS]: Remove conditional code.
6736 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6737 <kernel-features.h>.
6738 [__ASSUME_32BITUIDS]: Make code unconditional.
6739 [!__ASSUME_32BITUIDS]: Remove conditional code.
6740 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6741 <kernel-features.h>.
6742 [__ASSUME_32BITUIDS]: Make code unconditional.
6743 [!__ASSUME_32BITUIDS]: Remove conditional code.
6744 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6745 <kernel-features.h>.
6746 [__NR_setresgid] (__setresgid): Do not declare.
6747 [__ASSUME_32BITUIDS]: Make code unconditional.
6748 [!__ASSUME_32BITUIDS]: Remove conditional code.
6749 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6750 <kernel-features.h>.
6751 [__NR_setresuid] (__setresuid): Do not declare.
6752 [__ASSUME_32BITUIDS]: Make code unconditional.
6753 [!__ASSUME_32BITUIDS]: Remove conditional code.
6754 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6755 <kernel-features.h>.
6756 [__ASSUME_32BITUIDS]: Make code unconditional.
6757 [!__ASSUME_32BITUIDS]: Remove conditional code.
6758 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6759 <kernel-features.h>.
6760 [__ASSUME_32BITUIDS]: Make code unconditional.
6761 [!__ASSUME_32BITUIDS]: Remove conditional code.
6762 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6763 <kernel-features.h>.
6764 [__ASSUME_32BITUIDS]: Make code unconditional.
6765 [!__ASSUME_32BITUIDS]: Remove conditional code.
6766 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6767 <kernel-features.h>.
6768 [__ASSUME_32BITUIDS]: Make code unconditional.
6769 [!__ASSUME_32BITUIDS]: Remove conditional code.
6770 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6771 <kernel-features.h>.
6772 [__ASSUME_32BITUIDS]: Make code unconditional.
6773 [!__ASSUME_32BITUIDS]: Remove conditional code.
6774 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6775 <kernel-features.h>.
6776 [__ASSUME_32BITUIDS]: Make code unconditional.
6777 [!__ASSUME_32BITUIDS]: Remove conditional code.
6778 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6779 <kernel-features.h>.
6780 [__ASSUME_32BITUIDS]: Make code unconditional.
6781 [!__ASSUME_32BITUIDS]: Remove conditional code.
6782 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6783 <kernel-features.h>.
6784 [__ASSUME_32BITUIDS]: Make code unconditional.
6785 [!__ASSUME_32BITUIDS]: Remove conditional code.
6786 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6787 <kernel-features.h>.
6788 [__ASSUME_32BITUIDS]: Make code unconditional.
6789 [!__ASSUME_32BITUIDS]: Remove conditional code.
6790 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6791 <kernel-features.h>.
6792 [__ASSUME_32BITUIDS]: Make code unconditional.
6793 [!__ASSUME_32BITUIDS]: Remove conditional code.
6794 * sysdeps/unix/sysv/linux/kernel-features.h
6795 (__ASSUME_SETRESUID_SYSCALL): Remove.
6796 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6797 (__ASSUME_32BITUIDS): Likewise.
6798 (__ASSUME_LDT_WORKS): Likewise.
6799 (__ASSUME_O_DIRECTORY): Likewise.
6800 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6801 architecture but not kernel version.
6802 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6803 (__ASSUME_MMAP2_SYSCALL): Likewise.
6804 (__ASSUME_STAT64_SYSCALL): Likewise.
6805 (__ASSUME_IPC64): Likewise.
6806 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6807 <kernel-features.h>.
6808 [__ASSUME_32BITUIDS]: Make code unconditional.
6809 [!__ASSUME_32BITUIDS]: Remove conditional code.
6810 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6811 <kernel-features.h>.
6812 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6813 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6814 132096]: Remove conditional code.
6815 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6816 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6817 <kernel-features.h>.
6818 [__ASSUME_32BITUIDS]: Make code unconditional.
6819 [!__ASSUME_32BITUIDS]: Remove conditional code.
6820 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6821 <kernel-features.h>.
6822 [__ASSUME_32BITUIDS]: Make code unconditional.
6823 [!__ASSUME_32BITUIDS]: Remove conditional code.
6824 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6825 <kernel-features.h>.
6826 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6827 unconditional.
6828 (__setresgid): Do not declare.
6829 [__ASSUME_32BITUIDS]: Make code unconditional.
6830 [!__ASSUME_32BITUIDS]: Remove conditional code.
6831 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6832 <kernel-features.h>.
6833 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6834 unconditional.
6835 (__setresuid): Do not declare.
6836 [__ASSUME_32BITUIDS]: Make code unconditional.
6837 [!__ASSUME_32BITUIDS]: Remove conditional code.
6838 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6839 <kernel-features.h>.
6840 [__ASSUME_32BITUIDS]: Make code unconditional.
6841 [!__ASSUME_32BITUIDS]: Remove conditional code.
6842 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6843 <kernel-features.h>.
6844 [__ASSUME_32BITUIDS]: Make code unconditional.
6845 [!__ASSUME_32BITUIDS]: Remove conditional code.
6846
a386f1cc
RH
68472012-05-25 Richard Henderson <rth@twiddle.net>
6848
6849 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6850 dl_hwcap to ifunc resolver.
6851 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6852 elf_ifunc_invoke.
6853 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6854 dl_hwcap to ifunc resolver.
6855 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6856
b6550497
JM
68572012-05-24 Joseph Myers <joseph@codesourcery.com>
6858
6859 [BZ #14153]
6860 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6861 for |x| <= 2**-26, not 2**-57.
6862 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6863 exception.
6864
b0bc23a1
JL
68652012-05-24 Jeff Law <law@redhat.com>
6866
6867 * stdio-common/Makefile (tests): Add bug25.
6868 * stdio-common/bug25.c: New test.
6869
347c92e9
L
68702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6871
6872 [BZ #13576]
6873 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6874 multiple of MALLOC_ALIGNMENT in size.
6875 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6876
6bcc8b3f
JM
68772012-05-24 Joseph Myers <joseph@codesourcery.com>
6878
6879 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6880 Require >= 256.
6881 (FILENAME_MAX): Use macro-int-constant.
6882 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6883 (_IOFBF): Use macro-int-constant.
6884 (_IOLBF): Likewise.
6885 (_IONBF): Likewise.
6886 (SEEK_CUR): Likewise.
6887 (SEEK_END): Likewise.
6888 (SEEK_SET): Likewise.
6889 (TMP_MAX): Likewise.
6890 (EOF): Use macro-int-constant. Require < 0.
6891 (NULL): Use macro-constant. Require == 0.
6892 (stdin): Require type to be FILE *.
6893 (stdout): Likewise.
6894 (stderr): Likewise.
6895 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6896 macro-int-constant.
6897 (EXIT_SUCCESS): Likewise.
6898 (NULL): Use macro-constant. Require == 0.
6899 (RAND_MAX): Use macro-int-constant.
6900 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6901 [C99-based standards] (strtof): Require function.
6902 [C99-based standards] (strtold): Likewise.
6903 [C99-based standards] (strtoll): Likewise.
6904 [C99-based standards] (strtoull): Likewise.
6905 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6906 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6907 [ISO || ISO99 || ISO11] (math.h): Likewise.
6908 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6909 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6911
d18ea0c5
AS
69122012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6913
6914 [BZ #14132]
56d25bb8
AS
6915 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6916 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6917 * intl/dgettext.c (DCGETTEXT): Likewise.
6918 * intl/gettext.c (DCGETTEXT): Likewise.
6919 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6920 * posix/regex_internal.h (gettext): Likewise.
6921 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6922 Remove declaration.
6923 * include/argz.h (__argz_count_internal)
6924 (__argz_stringify_internal): Remove declaration.
6925 (__argz_count, __argz_stringify): Declare hidden proto.
6926 * intl/dcgettext.c: Remove use of INTDEF.
6927 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6928 * string/argz-stringify.c: Likewise.
6929 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6930 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6931 Declare hidden proto.
d18ea0c5
AS
6932 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6933 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6934 Declare hidden proto.
6935 * include/stdio.h (__asprintf_internal): Don't declare.
6936 (__asprintf): Don't define as macro. Declare hidden proto.
6937 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6938 (__fsetlocking): Declare hidden proto.
6939 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6940 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6941 hidden proto.
6942 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6943 (_IO_setlinebuf): Remove use of INTUSE.
6944 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6945 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6946 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6947 Remove declaration.
6948 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6949 (_IO_do_flush): Remove use of INTUSE.
6950 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6951 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6952 (_IO_adjust_column, _IO_least_wmarker)
6953 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6954 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6955 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6956 (_IO_default_doallocate, _IO_wdefault_doallocate)
6957 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6958 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6959 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6960 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6961 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6962 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6963 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6964 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6965 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6966 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6967 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6968 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6969 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6970 proto.
6971 (_IO_flush_all_internal, _IO_adjust_column_internal)
6972 (_IO_default_uflow_internal, _IO_default_finish_internal)
6973 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6974 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6975 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6976 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6977 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6978 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6979 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6980 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6981 (_IO_file_close_internal, _IO_file_close_it_internal)
6982 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6983 (_IO_file_init_internal, _IO_file_attach_internal)
6984 (_IO_file_fopen_internal, _IO_file_read_internal)
6985 (_IO_file_sync_internal, _IO_file_seek_internal)
6986 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6987 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6988 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6989 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6990 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6991 (_IO_list_all_internal, _IO_link_in_internal)
6992 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6993 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6994 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6995 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6996 (_IO_do_write_internal, _IO_padn_internal)
6997 (_IO_getline_info_internal, _IO_getline_internal)
6998 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6999 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7000 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7001 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7002 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7003 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7004 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7005 with libc_hidden_ver, remove use of INTUSE.
7006 * libio/genops.c: Likewise.
7007 * libio/freopen.c: Likewise.
7008 * libio/freopen64.c: Likewise.
7009 * libio/iofclose.c: Likewise.
7010 * libio/iofdopen.c: Likewise.
7011 * libio/iofflush.c: Likewise.
7012 * libio/iofflush_u.c: Likewise.
7013 * libio/iofgets.c: Likewise.
7014 * libio/iofgets_u.c: Likewise.
7015 * libio/iofopen.c: Likewise.
7016 * libio/iofopncook.c: Likewise.
7017 * libio/iofread.c: Likewise.
7018 * libio/iofread_u.c: Likewise.
7019 * libio/ioftell.c: Likewise.
7020 * libio/iofwrite.c: Likewise.
7021 * libio/iogetline.c: Likewise.
7022 * libio/iogets.c: Likewise.
7023 * libio/iogetwline.c: Likewise.
7024 * libio/iopadn.c: Likewise.
7025 * libio/iopopen.c: Likewise.
7026 * libio/ioseekoff.c: Likewise.
7027 * libio/ioseekpos.c: Likewise.
7028 * libio/iosetbuffer.c: Likewise.
7029 * libio/iosetvbuf.c: Likewise.
7030 * libio/ioungetc.c: Likewise.
7031 * libio/ioungetwc.c: Likewise.
7032 * libio/iovdprintf.c: Likewise.
7033 * libio/iovsprintf.c: Likewise.
7034 * libio/iovsscanf.c: Likewise.
7035 * libio/memstream.c: Likewise.
7036 * libio/obprintf.c: Likewise.
7037 * libio/oldfileops.c: Likewise.
7038 * libio/oldiofclose.c: Likewise.
7039 * libio/oldiofdopen.c: Likewise.
7040 * libio/oldiofopen.c: Likewise.
7041 * libio/oldiopopen.c: Likewise.
7042 * libio/oldstdfiles.c: Likewise.
7043 * libio/putc.c: Likewise.
7044 * libio/setbuf.c: Likewise.
7045 * libio/setlinebuf.c: Likewise.
7046 * libio/stdfiles.c: Likewise.
7047 * libio/strops.c: Likewise.
7048 * libio/vasprintf.c: Likewise.
7049 * libio/vscanf.c: Likewise.
7050 * libio/vsnprintf.c: Likewise.
7051 * libio/vswprintf.c: Likewise.
7052 * libio/wfiledoalloc.c: Likewise.
7053 * libio/wfileops.c: Likewise.
7054 * libio/wgenops.c: Likewise.
7055 * libio/wmemstream.c: Likewise.
7056 * libio/wstrops.c: Likewise.
7057 * libio/__fpurge.c: Likewise.
7058 * libio/__fsetlocking.c: Likewise.
7059 * assert/assert.c: Likewise.
7060 * debug/fgets_chk.c: Likewise.
7061 * debug/fgets_u_chk.c: Likewise.
7062 * debug/fread_chk.c: Likewise.
7063 * debug/fread_u_chk.c: Likewise.
7064 * debug/gets_chk.c: Likewise.
7065 * debug/obprintf_chk.c: Likewise.
7066 * debug/vasprintf_chk.c: Likewise.
7067 * debug/vdprintf_chk.c: Likewise.
7068 * debug/vsnprintf_chk.c: Likewise.
7069 * debug/vsprintf_chk.c: Likewise.
7070 * malloc/mtrace.c: Likewise.
7071 * misc/error.c: Likewise.
7072 * misc/syslog.c: Likewise.
7073 * stdio-common/asprintf.c: Likewise.
7074 * stdio-common/fxprintf.c: Likewise.
7075 * stdio-common/getw.c: Likewise.
7076 * stdio-common/isoc99_fscanf.c: Likewise.
7077 * stdio-common/isoc99_scanf.c: Likewise.
7078 * stdio-common/isoc99_vfscanf.c: Likewise.
7079 * stdio-common/isoc99_vscanf.c: Likewise.
7080 * stdio-common/isoc99_vsscanf.c: Likewise.
7081 * stdio-common/printf-prs.c: Likewise.
7082 * stdio-common/printf_fp.c: Likewise.
7083 * stdio-common/printf_fphex.c: Likewise.
7084 * stdio-common/printf_size.c: Likewise.
7085 * stdio-common/putw.c: Likewise.
7086 * stdio-common/scanf.c: Likewise.
7087 * stdio-common/sprintf.c: Likewise.
7088 * stdio-common/tmpfile.c: Likewise.
7089 * stdio-common/vfprintf.c: Likewise.
7090 * stdio-common/vfscanf.c: Likewise.
7091 * stdlib/strfmon_l.c: Likewise.
7092 * sunrpc/openchild.c: Likewise.
7093 * sunrpc/xdr_stdio.c: Likewise.
7094 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7095 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7096
d6c33fda
RM
70972012-05-24 Roland McGrath <roland@hack.frob.com>
7098
c1487492
RM
7099 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7100
7101 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7102 in the third column, to generate for the shared library an IFUNC
7103 that uses _dl_vdso_vsym.
7104 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7105 * Makeconfig (object-suffixes-noshared): New variable.
7106
7107 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7108 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7109 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7110 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7111
d6c33fda
RM
7112 [BZ #14132]
7113 * include/sys/time.h (__gettimeofday): Remove macro.
7114 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7115 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7116 Remove INTDEF.
7117 (__gettimeofday): Add libc_hidden_def.
7118 (gettimeofday): Add libc_hidden_weak.
7119 * sysdeps/mach/gettimeofday.c: Likewise.
7120 * sysdeps/posix/gettimeofday.c: Likewise.
7121 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7122 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7123 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7124 (__gettimeofday_internal): Remove strong_alias.
7125 (__gettimeofday): Add libc_hidden_def.
7126 (gettimeofday): Add libc_hidden_weak.
7127 * sysdeps/unix/syscalls.list (gettimeofday):
7128 Remove __gettimeofday_internal alias.
7129
b5a2bbe6
L
71302012-05-24 Daniel Jacobowitz <drow@false.org>
7131 H.J. Lu <hongjiu.lu@intel.com>
7132
7133 [BZ #12495]
7134 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7135 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7136 (largebin_index_32_big): New.
7137 (largebin_index): Use it for 16-byte alignment.
7138 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7139 correction with front_misalign.
7140
cfba4fda
L
71412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7142
7f907421
L
7143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7145 Likewise.
7146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7147 Likewise.
7148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7149 Likewise.
7150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7151 Likewise.
7152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7153 Likewise.
7154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7155 Likewise.
7156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7157 Likewise.
7158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7159 Likewise.
7160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7161 Likewise.
7162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7163 Likewise.
7164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7165 Likewise.
7166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7167 Likewise.
7168
cfba4fda
L
7169 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7170 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7171
80bad0cc
JM
71722012-05-24 Joseph Myers <joseph@codesourcery.com>
7173
7a25eb06
JM
7174 [BZ #10846]
7175 [BZ #14036]
7176 * math/libm-test.inc (exp_test): Add test from bug 14036.
7177 (pow_test): Add test from bug 10846.
7178
795405f9
JM
7179 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7180 and other flags.
7181 (special_function): Do not include flags in test name.
7182 (parse_args): Likewise.
7183 * sysdeps/i386/fpu/libm-test-ulps: Update.
7184 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7185 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7186 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7188
80bad0cc
JM
7189 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7190 exceptions.
7191 * math/libm-test.inc ("Philosophy"): Update comment about
7192 exception testing.
7193 (UNDERFLOW_EXCEPTION): New macro.
7194 (UNDERFLOW_EXCEPTION_OK): Likewise.
7195 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7196 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7197 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7198 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7199 (INVALID_EXCEPTION_OK): Update value.
7200 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7201 (OVERFLOW_EXCEPTION_OK): Likewise.
7202 (IGNORE_ZERO_INF_SIGN): Likewise.
7203 (test_exceptions): Handle underflow exceptions.
7204 (acos_test): Update for underflow exception expectations.
7205 (cexp_test): Likewise.
7206 (clog_test): Likewise.
7207 (clog10_test): Likewise.
7208 (csqrt_test): Likewise.
7209 (ctan_test): Likewise.
7210 (ctanh_test): Likewise.
7211 (exp_test): Likewise.
7212 (exp10_test): Likewise.
7213 (exp2_test): Likewise.
7214 (expm1_test): Likewise.
7215 (fma_test): Likewise.
7216 (j0_test): Likewise.
7217 (jn_test): Likewise.
7218 (nexttoward_test): Likewise.
7219 (pow_test): Likewise.
7220 (scalbn_test): Likewise.
7221 (scalbln_test): Likewise.
7222 (tan_test): Likewise.
7223 (y1_test): Likewise.
7224 * sysdeps/i386/fpu/libm-test-ulps: Update.
7225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7226
9e0e3d0b
DM
72272012-05-23 David S. Miller <davem@davemloft.net>
7228
7229 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7230 (__libc_sigaction): Remove unused local variables.
7231
ccd0a08f
L
72322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7233
7234 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7235
62bdf9a6
PE
72362012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7237
f8591f80
PE
7238 mktime: avoid signed integer overflow
7239 * time/mktime.c (__mktime_internal): Do not mishandle the case
7240 where diff == INT_MIN.
7241
94c7d826
PE
7242 mktime: simplify computation of average
7243 * time/mktime.c (ranged_convert): Use new time_t_avg function
7244 instead of rolling our own (probably-slower) code.
7245
ce73d683
PE
7246 mktime: do not assume signed right shift propagates sign bit
7247 * time/mktime.c (isdst_differ): New static function.
7248 (__mktime_internal): No need to normalize tm_isdst now.
7249 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7250 tm_isdst values.
7251
72a22e59
PE
7252 mktime: merge another wrapv change from gnulib
7253 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7254 from some compilers.
7255
68605433
PE
7256 mktime: remove incorrect attempt at unusual arithmetics
7257 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7258 The code didn't really work on such machines anyway.
7259 (TYPE_MINIMUM): Assume two's complement.
7260 (twos_complement_arithmetic): Verify that long_int and time_t
7261 are two's complement (or unsigned, in the latter case).
7262
03cf7fe3
PE
7263 mktime: check signed shifts on long_int and time_t, too
7264 * time/mktime.c (SHR): Check that shifts work as desired
7265 on the types long_int and time_t too, as SHR is used on
7266 such types.
7267
f04dfbc2
PE
7268 mktime: do not assume 'long' is wide enough
7269 * time/mktime.c (verify): Move decl up.
7270 (long_int): New type.
7271 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7272 to remove assumption in the code that 'long' is wide enough to
7273 store year values. This assumption is not true on x32 and on
7274 some non-glibc platforms.
7275
62bdf9a6
PE
7276 mktime: merge wrapv change from gnulib
7277 * time/mktime.c (WRAPV): New macro.
7278 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7279 (guess_time_tm, __mktime_internal): Do not assume that signed
7280 integer overflow wraps around; modern compilers generate code
7281 where this assumption is no longer valid.
7282
5e292e4f
L
72832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7284
7285 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7286 Replace "jmp L(pseudo_end)" with "ret".
7287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7288 Likewise.
7289
8caf8c87
AJ
72902012-05-23 Andreas Jaeger <aj@suse.de>
7291
7292 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7293 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7294
1a09dc56
AJ
72952012-05-23 Andreas Jaeger <aj@suse.de>
7296 Maximilian Attems <max@stro.at>
7297
7298 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7299 New macros.
7300
1c87aba0
L
73012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7302
7303 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7304 code so that pseudo_end is just ret and the stack pointer is
7305 correct also for static library in error case.
7306
40e45bd5
JM
73072012-05-23 Joseph Myers <joseph@codesourcery.com>
7308
c2670533
JM
7309 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7310 move to syscalls.list.
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7315
40e45bd5
JM
7316 * manual/install.texi (Running make install): Do not mention Linux
7317 kernel version for which pt_chown is not needed.
7318 (Linux): Do not mention problems with nscd with 2.0 kernels.
7319 * INSTALL: Regenerated.
7320
be08eda5
AJ
73212012-05-23 Andreas Jaeger <aj@suse.de>
7322
7323 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7324 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7325 macro.
7326 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7328 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7329 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7330 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7331 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7332 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7333 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7334 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7335 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7336 * sysdeps/unix/sysv/linux/bits/in.h
7337 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7338
a6a056bb
RM
73392012-05-22 Roland McGrath <roland@hack.frob.com>
7340
7341 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7342 (PREPARE_VERSION): Just use assert instead, it will be elided
7343 under [NDEBUG] anyway.
7344
c9009328
L
73452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7346
7347 * sysdeps/unix/sysv/linux/Makefile: Include
7348 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7349 (sysdep_routines): Remove sysctl.
c9009328
L
7350 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7351 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7352 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7353 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7354 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7355
73338355
AJ
73562012-05-22 Andreas Jaeger <aj@suse.de>
7357
7358 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7359 that pseudo_end is just ret and the stack pointer is correct also
7360 for static library in error case.
7361
d44638b0
PP
73622012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7363
7364 [BZ #14122]
7365 * nss/nsswitch.c (defconfig_entries): New variable.
7366 (__nss_database_lookup): Don't leak defconfig entries.
7367 (nss_parse_service_list): Don't leak on error paths.
7368 (free_database_entries): New function.
7369 (free_defconfig): New function.
7370 (free_mem): Move common code to free_database_entries.
7371
31a39bd8
L
73722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7373
da0331a8
L
7374 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7375 Add arch_prctl.
7376 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7377
31a39bd8
L
7378 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7379 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7381 New macro.
7382 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7383 (INTERNAL_SYSCALL_TYPES): Likewise.
7384 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7385 (LOAD_REGS_TYPES_[1-6]): Likewise.
7386 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7387 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7388
45470df3
AZ
73892012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7390
7391 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7392 copysignl for GLIBC_2_0.
7393 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7394 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7396 logbl for GLIBC_2_0.
7397 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7398 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7399
98a61bcb
L
74002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7401
a4f6e481
L
7402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7403 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7404
f63d5db6
L
7405 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7406 Use "neg %eax".
7407
98a61bcb
L
7408 * time/mktime.c: Update copyright years.
7409
95770f14
PE
74102012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7411
6226efbd
PE
7412 mktime: merge comment-quoting-style change from gnulib
7413 * time/mktime.c: Quote 'like this' in comments.
7414 The GNU coding standards suggest that we no longer quote `like this',
7415 as "`" and "'" are typically rendered asymmetrically nowadays.
7416 The typical gnulib style is to quote 'like this' when quoting
7417 code, and "like this" when quoting English.
7418
b99e4f78
PE
7419 * time/mktime.c (compile-command): Add "-I.".
7420
643e01e6
PE
7421 mktime: merge mktime-internal.h change from gnulib
7422 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7423
2554247d
PE
7424 mktime: merge time_r change from gnulib
7425 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7426
826dd0ab
PE
7427 mktime: merge DEBUG change from gnulib
7428 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7429 case system <time.h> has a #define.
7430
bd83aabe
PE
7431 mktime: merge <sys/types.h> change from gnulib
7432 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7433 since <time.t> is now guaranteed to define time_t.
7434
95770f14
PE
7435 mktime: merge HAVE_CONFIG_H change from gnulib
7436 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7437
5e1a27a9
L
74382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7439
0e44a77e
L
7440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7441 Use "neg %eax".
7442
5e1a27a9
L
7443 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7444 __rlim_t cast.
7445 (struct rusage): Use anonymous union to pad each field to
7446 __syscall_slong_t.
7447
46259bec
DM
74482012-05-21 David S. Miller <davem@davemloft.net>
7449
7450 * Makefules (o-iterator): Remove .s cases.
7451 (compile-command.s): Delete.
7452 (COMPILE.s): Delete.
7453 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7454
59f0c22e
JM
74552012-05-21 Joseph Myers <joseph@codesourcery.com>
7456
7457 * configure.in (libc_cv_predef_stack_protector): Only consider
7458 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7459 * configure: Regenerated.
7460
20c07380
L
74612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7462
bbb3154b
L
7463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7464 New macro. Use R*LP on int and pointer.
7465 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7466 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7467 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7468 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7469
20c07380
L
7470 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7471 [__WORDSIZE_TIME64_COMPAT32] instead of
7472 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7473 (struct utmp): Likewise.
7474 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7475 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7476 Renamed to ...
7477 (__WORDSIZE_TIME64_COMPAT32): This.
7478 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7479 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7480 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7481 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7482 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7483 (__WORDSIZE_TIME64_COMPAT32): New macro.
7484
d8d1017e
AJ
74852012-05-21 Andreas Jaeger <aj@suse.de>
7486
7487 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7488 only if [SHARED]. Add prototype for __wcschr_ia32.
7489
6c7fb145
RM
74902012-05-21 Roland McGrath <roland@hack.frob.com>
7491
7492 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7493 of %rbp unmolested in the jmp_buf while mangling the low bits.
7494 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7495 unmolested high bits of %rbp while demangling the low bits.
7496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7497
66274218
AJ
74982012-05-21 Andreas Jaeger <aj@suse.de>
7499
07c58f8f
AJ
7500 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7501 * sunrpc/svc_simple.c: Use it for registerrpc.
7502 * sunrpc/xcrypt.c: Use it for passwd2des.
7503
66274218
AJ
7504 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7505
61f65140
L
75062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7507
7508 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7509 Don't define if [__SYSCALL_WORDSIZE != 32].
7510 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7511 New macro.
7512
5fefb436
AJ
75132012-05-21 Bruno Haible <bruno@clisp.org>
7514 Andreas Jaeger <aj@suse.de>
7515
7516 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7517 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7518 inptr and inend for must_buffer_ch.
7519 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7520 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7521 * stdio-common/Makefile (tests): Remove bug15.
7522 (bug15-ENV): Remove macro.
7523 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7524 anymore.
7525
d8e272ab
AJ
75262012-05-19 Andreas Jaeger <aj@suse.de>
7527 Roland McGrath <roland@hack.frob.com>
7528
7529 * manual/contrib.texi: Completely rewritten. It contains now an
7530 alphabetical list of contributors and their contributions.
7531
4a56a162
RH
75322012-05-21 Richard Henderson <rth@twiddle.net>
7533
7534 * misc/getauxval.c (__getauxval): Use unsigned long int.
7535 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7536 (getauxval): Use unsigned long int.
7537
d024d23c
L
75382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7539
7540 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7541
cbc00a03
RM
75422012-05-21 Roland McGrath <roland@hack.frob.com>
7543
7544 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7545 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7546 __alignof__ (long double).
7547
478143fa
AZ
75482012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7549
7550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7551
c7683a6d
RH
75522012-05-20 Richard Henderson <rth@twiddle.net>
7553
7554 * misc/getauxval.c: New file.
7555 * misc/sys/auxv.h: New file.
7556 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7557 (routines): Add getauxval.
7558 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7559 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7560 * elf/dl-sysdep.c (_dl_auxv): Remove.
7561 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7562 * elf/dl-support.c (_dl_auxv): New variable.
7563 (_dl_aux_init): Initialize it.
7564 * manual/startup.texi (Auxiliary Vector): New node.
7565 * sysdeps/generic/bits/hwcap.h: New file.
7566 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7567 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7568 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7569 * sysdeps/sparc/sysdep.h: ... here. Include it.
7570 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7571 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7573 Update.
c7683a6d
RH
7574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7582
a6f1845d
AZ
75832012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7584
7585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7586
cbcbe830
DM
75872012-05-19 David S. Miller <davem@davemloft.net>
7588
7589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7590
e0b16cc2
JM
75912012-05-19 Joseph Myers <joseph@codesourcery.com>
7592
7593 [BZ #14123]
7594 * math/s_ccosh.c: Include <float.h>
7595 (__ccosh): Avoid internal overflow calculating sinh and cosh
7596 values before multiplying by sin and cos values.
7597 * math/s_ccoshf.c: Likewise.
7598 * math/s_ccoshl.c: Likewise.
7599 * math/s_csin.c: Likewise.
7600 * math/s_csinf.c: Likewise.
7601 * math/s_csinl.c: Likewise.
7602 * math/s_csinh.c: Likewise.
7603 * math/s_csinhf.c: Likewise.
7604 * math/s_csinhl.c: Likewise.
7605 * math/libm-test.inc (ccos_test): Add more tests.
7606 (ccosh_test): Likewise.
7607 (csin_test): Likewise.
7608 (csinh_test): Likewise.
7609 * sysdeps/i386/fpu/libm-test-ulps: Update.
7610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7611
6ad13e08
L
76122012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7613
f66f0ce8
L
7614 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7615 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7616
6ad13e08
L
7617 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7618
b1d072a7
JM
76192012-05-19 Joseph Myers <joseph@codesourcery.com>
7620
7621 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7622 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7623 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7624 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7625 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7626 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7627 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7628 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7629 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7630 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7631 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7632 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7633 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7634 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7635 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7636 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7637 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7638 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7639 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7640 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7641 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7642 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7643 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7644 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7645 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7646 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7647 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7648 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7649 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7650 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7651 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7652
9eae47cb
AJ
76532012-05-18 Andreas Jaeger <aj@suse.de>
7654
7655 * csu/.gitignore: Delete.
7656
bb07f69f
L
76572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7658
7659 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7660 (timex): Use __syscall_slong_t.
7661
e6bdb741
AJ
76622012-05-18 Andreas Jaeger <aj@suse.de>
7663 Carlos O'Donell <carlos_odonell@mentor.com>
7664
7665 * manual/install.texi (Configuring and compiling): Update
7666 description about files modified in the source directory.
d6c33fda 7667 * INSTALL: Regenerated.
e6bdb741 7668
1b74487e
L
76692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7670
7671 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7672 value. Use "or" to set return value to -1.
7673 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7674 negate return value.
7675
a88b64b9
TMQMF
76762012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7677
7678 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7679 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7680 failure if the compiler has Graphite support disabled.
7681 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7682 Likewise.
7683 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7684 CFLAGS-memmove.c): Likewise.
7685 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7686 Likewise.
7687
3707636e
L
76882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7689
610b8622
L
7690 * sysdeps/x86_64/x32/_itoa.h: New file.
7691
7cd195df
L
7692 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7693 getdents system call only if kernel and user dirents have the
7694 same d_ino and d_off.
7695
94b07d20
L
7696 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7697 LLONG_MAX != LONG_MAX.
7698 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7699 (_fitoa_word): Likewise.
7700
18298070
L
7701 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7702 years.
7703 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7704 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7705 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7706
553c7ea4
L
7707 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7708 include <bits/wordsize.h>. Check __x86_64__ instead of
7709 __WORDSIZE.
7710 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7711 if __x86_64__ is defined. Use anonymous union on fpstate.
7712
3707636e
L
7713 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7714 anonymous union.
7715
b53ef01a
AS
77162012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7717
37fb1dc0
AS
7718 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7719 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7720 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7721 Refer to _rtld_local_ro instead of _rtld_global_ro.
7722 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7723 Likewise.
7724 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7725 Likewise.
7726 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7727 Likewise.
7728 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7729 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7730 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7731
b53ef01a
AS
7732 * sysdeps/powerpc/powerpc32/dl-machine.c
7733 (__elf_machine_runtime_setup) [PROF]: Don't reference
7734 _dl_prof_resolve.
7735
7a185db2
AJ
77362012-05-18 Andreas Jaeger <aj@suse.de>
7737
7738 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7739 function only available for GCCs before 3.4 since GCC 3.4
7740 introduced a builtin.
7741 (lrint): Likewise.
7742 (llrintf): Likewise.
7743 (llrint): Likewise.
7744 (fmaxf): Likewise.
7745 (fmax): Likewise.
7746 (fminf): Likewise.
7747 (fmin): Likewise.
7748 (rint): Likewise.
7749 (rintf): Likewise.
7750 (nearbyint): Likewise.
7751 (nearbyintf): Likewise.
7752 (ceil): Likewise.
7753 (ceilf): Likewise.
7754 (floor): Likewise.
7755 (floorf): Likewise.
7756
3e5aef87
L
77572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7758
428bd707
L
7759 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7760 on both fields and cast pointer to __syscall_ulong_t.
7761
3e5aef87
L
7762 * bits/types.h (__fsword_t): New type.
7763 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7764 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7766 (__FSWORD_T_TYPE): Likewise.
7767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7768 (__FSWORD_T_TYPE): Likewise.
7769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7770 (__FSWORD_T_TYPE): Likewise.
7771 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7772 (__FSWORD_T_TYPE): Likewise.
7773 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7774 __SWORD_TYPE with __fsword_t.
7775 (statfs64): Likewise.
7776
1ba7c3dc
DM
77772012-05-17 David S. Miller <davem@davemloft.net>
7778
7779 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7780
59910343
AJ
77812012-05-17 Andreas Jaeger <aj@suse.de>
7782
7783 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7784 warning.
7785
2e4c1e9e
L
77862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7789
de7f5ce7
AJ
77902012-05-17 Andreas Jaeger <aj@suse.de>
7791
7792 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7793 when it is used.
7794
286abc3d
CM
77952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7796
7797 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7798
477cc68e
L
77992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7800
7801 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7802 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7803
1a0994f5
CD
78042012-05-17 Andreas Jaeger <aj@suse.de>
7805 Carlos O'Donell <carlos_odonell@mentor.com>
7806
7807 [BZ #14059]
7808 * sysdeps/x86_64/multiarch/init-arch.h
7809 (bit_YMM_Usable): Rename to...
7810 (bit_AVX_Usable): ... this.
7811 (bit_FMA4_Usable): New macro.
7812 (bit_XMM_state): New macro.
7813 (bit_YMM_state): New macro.
7814 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7815 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7816 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7817 (CPUID_OSXSAVE): New macro.
7818 (CPUID_AVX): New macro.
7819 (CPUID_FMA4): New macro.
7820 (index_YMM_Usable): Rename to...
7821 (index_AVX_Usable): ... this.
7822 (HAS_AVX): Use HAS_ARCH_FEATURE.
7823 (HAS_FMA4): Likewise.
7824 (HAS_YMM_USABLE): Remove.
7825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7826 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7827 are present.
7828 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7829 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7830 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7831 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7832 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7833
0af797de
CM
78342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7835
7836 * math/libm-test.c: Support platforms without multiple rounding modes.
7837 * math/bug-nextafter.c: Support platforms without FP exceptions.
7838 * math/bug-nexttoward.c: Likewise.
7839 * math/test-fenv.c: Likewise.
7840 * math/test-misc.c: Likewise.
7841 * stdlib/bug-getcontext.c: Likewise.
7842
e39745ff
AJ
78432012-05-17 Andreas Jaeger <aj@suse.de>
7844
7845 * manual/examples/search.c (critter_cmp): Change signature to
7846 avoid warnings.
7847 * manual/string.texi (Collation Functions): Likewise.
7848
48970aba
L
78492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7850
7851 * bits/types.h: Fold copyright years.
7852 * bits/typesizes.h: Likewise.
7853 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7857 * time/time.h: Likewise.
7858
bedee953
PP
78592012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7860
7861 [BZ #208]
7862 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7863 in instead of returning them. Return void.
7864 (__libc_mallinfo): Accumulate over all arenas.
7865 (__malloc_stats): Adjust for change in int_mallinfo interface.
7866
61653dfb
RM
78672012-05-16 Roland McGrath <roland@hack.frob.com>
7868
30b99d79
RM
7869 [BZ #10375]
7870 * configure.in (NM): Add AC_CHECK_TOOL for it.
7871 (libc_extra_cflags): New substituted variable.
7872 Check for -fstack-protector being used implicitly.
7873 * configure: Regenerated.
7874 * config.make.in (config-extra-cflags): New variable,
7875 gets @libc_extra_cflags@.
7876 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7877
61653dfb
RM
7878 [BZ #10375]
7879 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7880 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7881 * configure: Regenerated.
7882 * config.make.in (CPPUNDEFS): New substituted variable.
7883 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7884 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7885 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7886
661768bb
L
78872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7888
7889 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7890 (mq_attr): Use __syscall_slong_t.
7891
d4261567
L
78922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7893
7894 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7895 Check __x86_64__ instead of __WORDSIZE.
7896 (_STAT_VER_LINUX): Likewise.
7897 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7898 __syscall_ulong_t and __syscall_slong_t.
7899 (stat64): Likewise.
7900
cf3ff365
L
79012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7902
7903 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7904
76cf3e4d
L
79052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7906
7907 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7908
a637753a
L
79092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7910
7911 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7912 __syscall_ulong_t.
7913
d5e05119
L
7914 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7915 include <bits/wordsize.h>. Check __x86_64__ instead of
7916 __WORDSIZE.
7917 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7918 defined.
7919 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7920
f62ee380
L
7921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7922 include <bits/wordsize.h>. Check __x86_64__ instead of
7923 __WORDSIZE.
7924 (user_regs_struct): Use "__extension__ unsigned long long"
7925 instead of "unsigned long" if __x86_64__ is defined.
7926 (user): Likewise. Pad after pointer field if __ILP32__ is
7927 defined.
7928
4e124ced
JM
79292012-05-16 Joseph Myers <joseph@codesourcery.com>
7930
6a3951a0
JM
7931 * configure.in (makeinfo): Require version 4.5 or later. Allow
7932 versions 5 to 9.
7933 * configure: Regenerated.
7934 * manual/install.texi (texinfo): Increase version requirement to
7935 4.5 or later.
7936 * INSTALL: Regenerated.
7937
4e124ced
JM
7938 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7939
953ca31a
L
79402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7941
7942 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7943
617aca05
L
7944 * sysdeps/x86_64/x32/ffs.c: New file.
7945
5762f7ae
L
7946 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7947 __syscall_ulong_t.
7948 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7949 defined. Use __syscall_ulong_t.
7950 (shminfo): Use __syscall_ulong_t.
7951 (shm_info): Likewise.
7952
a26b6856
L
7953 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7954 __syscall_ulong_t.
7955
cb2b9ef7
L
7956 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7957 <bits/wordsize.h>.
7958 (msgqnum_t): Use __syscall_ulong_t.
7959 (msglen_t): Likewise.
7960 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7961 __syscall_ulong_t.
7962
34683bb0
L
7963 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7964 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7965
84a68786
L
7966 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7967
48baa5f1
L
7968 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7969 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7970
180be88b
L
7971 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7972 __syscall_slong_t.
7973
5e90c8ad
L
7974 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7975 include <bits/wordsize.h>. Check __x86_64__ instead of
7976 __WORDSIZE.
7977
23dfb58b
L
7978 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7979 "unsigned long long int" if __x86_64__ is defined.
7980 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7981
ce5d54b0
L
7982 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7983 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7984 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7985
13dc9eac
L
7986 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7987 <stdint.h>.
7988 (GET_PC): Cast to uintptr_t first.
7989 (GET_FRAME): Likewise.
7990 (GET_STACK): Likewise.
7991
a7895d15
L
7992 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7993 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7994 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7995 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7996 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7997 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7998 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7999 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8000 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8001 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8002 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8003 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8004 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8005 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8006 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8008 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8009 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8010 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8012 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8013 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8014 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8015 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8016 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8017 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8018 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8019 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8020 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8021
656416c9
AS
80222012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8023
5bd66283
AS
8024 * Makerules (+depfiles): Also collect depfiles from .oS in
8025 $(extra-objs).
8026 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8027 .oS, $(libnldbl-routines)).
8028
656416c9
AS
8029 * Makerules (native-compile-mkdep-flags): Define.
8030 * sunrpc/Makefile (extra-objs): Add $(addprefix
8031 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8032 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8033 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8034 calling $(make-target-directory).
8035
a46f2169
L
80362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8037
8038 * bits/types.h (__snseconds_t): Removed.
8039 * time/time.h (struct timespec): Replace __snseconds_t with
8040 __syscall_slong_t.
8041 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8042 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8043 Likewise.
8044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8045 (__SNSECONDS_T_TYPE): Likewise.
8046 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8047 (__SNSECONDS_T_TYPE): Likewise.
8048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8049 (__SNSECONDS_T_TYPE): Likewise.
8050
6af6528b
L
80512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8052
8053 * sysdeps/mach/hurd/bits/typesizes.h
8054 (__SYSCALL_SLONG_TYPE): New macro.
8055 (__SYSCALL_ULONG_TYPE): Likewise.
8056
de986b56
L
80572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8058
8059 * bits/types.h (__syscall_slong_t): New type.
8060 (__syscall_ulong_t): Likewise.
8061
8062 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8063 (__SYSCALL_ULONG_TYPE): Likewise.
8064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8065 (__SYSCALL_SLONG_TYPE): Likewise.
8066 (__SYSCALL_ULONG_TYPE): Likewise.
8067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8068 (__SYSCALL_SLONG_TYPE): Likewise.
8069 (__SYSCALL_ULONG_TYPE): Likewise.
8070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8071 (__SYSCALL_SLONG_TYPE): Likewise.
8072 (__SYSCALL_ULONG_TYPE): Likewise.
8073
85736dc7
L
80742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8075
8076 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8077 Add sigaltstack-offsets.sym.
8078 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8079 <sigaltstack-offsets.h>.
8080 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8081 longjmp_msg pointer.
8082 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8083 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8084 signal stack.
8085 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8086
cc03b296
JM
80872012-05-15 Joseph Myers <joseph@codesourcery.com>
8088
a9538892
JM
8089 * elf/stackguard-macros.h: Remove file.
8090 * sysdeps/generic/stackguard-macros.h: New file.
8091 * sysdeps/i386/stackguard-macros.h: Likewise.
8092 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8093 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8094 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8095 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8096 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8097 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8098 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8099 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8100 <elf/stackguard-macros.h>.
8101
cc03b296
JM
8102 [BZ #14109]
8103 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8104 __aligned__ in attribute.
8105 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8106 (gregset_t): Likewise.
8107
93171016
L
81082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8109
8110 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8111 * sysdeps/x86_64/64/Implies-after: Here. New file.
8112 * sysdeps/x86_64/x32/Implies-after: New file.
8113
d86813a0
L
81142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8115
8116 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8117 and access return value for _dl_profile_fixup. Use R10_LP to
8118 load frame size.
8119
2953ec75
L
81202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8121
8122 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8123
3b550e9e
L
81242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8125
8126 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8127 * sysdeps/x86_64/x32/sysdep.h: New file.
8128
eda41706
L
81292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8130
8131 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8132 * sysdeps/x86_64/setjmp.S: Likewise.
8133
9ea01d93
AZ
81342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8135
8136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8137 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8138 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8139 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8140 remove unused global constant.
8141
02a91938
CM
81422012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8143
8144 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8145 include of <not-cancel.h>.
8146
6540185f
RM
81472012-05-15 Roland McGrath <roland@hack.frob.com>
8148
8149 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8150
509072a0
AJ
81512012-05-15 Jeff Law <law@redhat.com>
8152 Andreas Jaeger <aj@suse.de>
8153
8154 [BZ #13594]
8155 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8156 out from...
8157 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8158 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8159 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8160 code changing __hst_map_handle.map.
8161
ba75122d
RM
81622012-05-15 Roland McGrath <roland@hack.frob.com>
8163
8164 * configure.in (sysnames): Look for Implies-before and Implies-after
8165 files.
8166 * configure: Regenerated.
8167
890d8bd8
L
81682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8169
8170 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8171 8-byte data alignment with LP_SIZE alignment.
8172
f6ee6623
L
81732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8174
8175 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8176 into R10_LP.
8177
ea2626f6
L
81782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8179
8180 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8181
085f715e
L
81822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8183
8184 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8185 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8186 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8187 Likewise.
8188 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8189
be8498fc
L
81902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8191
8192 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8193 (stackinfo_sub_sp): Likewise.
8194
70bc83b9
L
81952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8196
8197 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8198 RAX_LP.
8199
9bc0b730
L
82002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8201
8202 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8203 into R*_LP.
8204
6d2850e7
L
82052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8206
8207 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8208 sizes into R*_LP.
8209
3cb84561
L
82102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8211
8212 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8213
54e2ed81
L
82142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8215
8216 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8217 into R11_LP and load __x86_64_shared_cache_size_half into
8218 R8_LP.
8219
8a17f349
L
82202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8221
8222 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8223 R8_LP.
8224
777b1eea
AZ
82252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8226
8227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8228 logb for POWER7.
8229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8230 logbf for POWER7.
8231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8232 logbl for POWER7.
8233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8234 powerpc32/power7/fpu/s_logb.c via #include.
8235 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8236 powerpc32/power7/fpu/s_logbf.c via #include.
8237 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8238 powerpc32/power7/fpu/s_logbl.c via #include.
8239
d20d4ac2
JM
82402012-05-15 Joseph Myers <joseph@codesourcery.com>
8241
8242 * README.libm: Remove file.
8243
6cdef1ab
L
82442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8245
8246 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8247 count for x32. Use R*_LP and omit operand-size suffix.
8248
0b254d8f
L
82492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8250
8251 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8252 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8253 * sysdeps/x86_64/x32/shlib-versions: New file.
8254
ceb809dc
RM
82552012-05-14 Roland McGrath <roland@hack.frob.com>
8256
8257 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8258 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8259 Use _dl_fatal_printf instead.
8260
37f1abd4
JM
82612012-05-14 Joseph Myers <joseph@codesourcery.com>
8262
8263 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8264 set if not set by the user. Do not allow for being unset.
8265 * sysdeps/unix/sysv/linux/configure: Regenerated.
8266
11de3a33
L
82672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8268
8269 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8270 the `q' suffix from lea and replace .quad with ASM_ADDR.
8271
e02f153a
L
82722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8273
8274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8275 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8276 instead of $17.
8277 (PTR_DEMANGLE): Likewise.
8278
520ae0fd
L
82792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8282 (LP_OP): Likewise.
8283 (ASM_ADDR): Likewise.
8284 (RAX_LP): Likewise.
8285 (RBP_LP): Likewise.
8286 (RBX_LP): Likewise.
8287 (RCX_LP): Likewise.
8288 (RDI_LP): Likewise.
8289 (RSI_LP): Likewise.
8290 (RSP_LP): Likewise.
8291 (R8_LP): Likewise.
8292 (R9_LP): Likewise.
8293 (R10_LP): Likewise.
8294 (R10_LP): Likewise.
8295 (R11_LP): Likewise.
8296 (R12_LP): Likewise.
8297 (R13_LP): Likewise.
8298 (R14_LP): Likewise.
8299 (R15_LP): Likewise.
8300
b985be81
L
83012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8302
8303 * sysdeps/x86_64/x32/dl-machine.h: New file.
8304
6a4888ff
AJ
83052012-05-14 Andreas Jaeger <aj@suse.de>
8306
8307 * manual/Makefile (subdir): Remove export of subdir.
8308 (all): Remove target.
8309 (.PHONY): Remove all from list.
8310 (mkinstalldirs): Remove.
8311 (.PHONY): Remove installdirs from list.
8312 ($(inst_infodir)/libc.info): Use make-target-directory.
8313 (installdirs): Remove.
8314 (subdir_%): Remove.
8315 (glibc-targets): Remove.
8316 (lib): Remove.
8317 (stubs): Remove.
8318 ($(objpfx)stubs ../po/manual.pot): Remove.
8319 ($(objpfx)stamp%): Remove.
8320 (make-target-directory): Remove.
8321 (subdir_install): Remove.
8322 (routines): Remove.
8323 (aux): Remove.
8324 (sources): Remove.
8325 (objects): Remove.
8326 (headers): Remove.
8327
8328 [BZ #13750]
8329 * manual/.gitignore: Remove, it's not needed anymore.
8330 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8331 all files in it.
8332 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8333 directory.
8334 (texis): Renamed to $(objpfx)texis.
8335 (texis-path): New, contains path to generated files.
8336 (chapters.%): Use texis-path for complete path, add extra argument
8337 libc-texinfo.sh.
8338 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8339 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8340 (summary,texi, stamp-summary): Use complete path of
8341 files. Generate files in build dir.
8342 (dir-add.texi): Build in build dir.
8343 (libm-err.texi,stamp-libm-err): Likewise.
8344 (version.texi, stamp-version): Likewise.
8345 (.%c.texi): Likewise.
8346 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8347 (mostlyclean): Remove target.
8348 (realclean): Remove target.
8349 (generated): Add new variable with contents from mostlyclean and
8350 realclean, remove entries duplicated in common-mostlyclean, add
8351 stamp-libm-err and stamp-version.
8352 (generated-dirs): Add libc directory.
8353 ($(inst_infodir)/libc.info): Install files from build dir.
8354
8355 * manual/install.texi (Configuring and compiling): Adjust since
8356 the info files are not part of the tar ball anymore.
8357
7ac77294
AJ
83582012-05-14 Andreas Jaeger <aj@suse.de>
8359
8360 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8361 variable.
8362
ffb7875d
JM
83632012-05-14 Joseph Myers <joseph@codesourcery.com>
8364
8365 [BZ #13717]
8366 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8367 to 2.2.0 where earlier.
8368 * sysdeps/unix/sysv/linux/configure: Regenerated.
8369 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8370 Remove conditional code.
8371 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8372 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8373 Remove conditional code.
8374 [!__NR_lchown]: Likewise.
8375 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8376 [__NR_lchown]: Likewise.
8377 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8378 comment referencing __ASSUME_LCHOWN_SYSCALL.
8379 * sysdeps/unix/sysv/linux/i386/sigaction.c
8380 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8381 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8382 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8383 Remove conditional code.
8384 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8385 (__protocol_available): Remove #if 0 code.
8386 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8387 conditional code.
8388 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8389 * sysdeps/unix/sysv/linux/kernel-features.h
8390 (__ASSUME_GETCWD_SYSCALL): Don't define.
8391 (__ASSUME_REALTIME_SIGNALS): Likewise.
8392 (__ASSUME_PREAD_SYSCALL): Likewise.
8393 (__ASSUME_PWRITE_SYSCALL): Likewise.
8394 (__ASSUME_POLL_SYSCALL): Likewise.
8395 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8396 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8397 non-SPARC.
8398 (__ASSUME_SIOCGIFNAME): Don't define.
8399 (__ASSUME_MSG_NOSIGNAL): Likewise.
8400 (__ASSUME_SENDFILE): Define unconditionally.
8401 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8402 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8403 conditional code.
8404 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8405 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8406 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8407 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8408 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8409 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8410 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8412 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8413 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8415 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8418 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8421 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8424 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8427 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8430 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8433 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8435 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8436 Remove conditional code.
8437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8438 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8439 Remove conditional code.
8440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8441 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8442 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8443 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8444 Remove conditional code.
8445 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8446 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8447 Remove conditional code.
8448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8449 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8450 Remove conditional code.
8451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8452 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8453 Remove conditional code.
8454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8455 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8456 Remove conditional code.
8457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8458 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8459 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8461 * sysdeps/unix/sysv/linux/sigaction.c
8462 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8463 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8464 * sysdeps/unix/sysv/linux/sigpending.c
8465 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8466 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8467 * sysdeps/unix/sysv/linux/sigprocmask.c
8468 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8469 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8470 * sysdeps/unix/sysv/linux/sigsuspend.c
8471 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8472 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8473 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8474 (__libc_missing_rt_sigs): Remove.
8475 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8476 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8477 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8478 Remove conditional code.
8479 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8480 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8481 return 1.
8482 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8483 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8484 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8485 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8486
1bfb7291
AJ
84872012-05-14 Andreas Jaeger <aj@suse.de>
8488
caae5a81
AJ
8489 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8490 it's not used in glibc.
8491 (__coshm1): Likewise.
8492 (__acosh1p): Likewise.
8493 (__sgn): Likewise.
8494
1bfb7291
AJ
8495 * manual/string.texi (Copying and Concatenation): Add missing
8496 variable in concat example.
8497 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8498
c044d724
L
84992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8500
144c5467 8501 [BZ #14103]
c044d724
L
8502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8503 __builtin_clzl with __builtin_clzll.
8504
2523c62b
L
85052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8506
8507 [BZ #14104]
8508 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8509 libc_freeres_ptr.
8510
d7bb4c42
LD
85112012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8512
8513 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8514 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8515 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8516 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8517
9dc4e1fb
MF
85182012-05-14 Mike Frysinger <vapier@gentoo.org>
8519
8520 * NEWS: Update ia64 info.
8521
c7df0112
AS
85222012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8523
8524 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8525 used as bcopy.
8526
dc70356c
TS
85272012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8528
8529 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8530 * sysdeps/unix/syscalls.list (dup3): Likewise.
8531 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8532 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8533
9fb1a21f
L
85342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8535
8536 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8537 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8538
4822a2a5
L
85392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8540
8541 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8542 thread pointer.
8543 (TLS_IE): Use mov/add instead of movq/addq to load thread
8544 pointer.
8545 (TLS_GD_PREFIX): New.
8546 (TLS_GD): Use it.
8547
842b81d6
DM
85482012-05-11 David S. Miller <davem@davemloft.net>
8549
8550 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8551 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8552 (_FPU_SETCW): Likewise.
8553
1cf463cd
L
85542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8555
8556 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8557 is 32-byte aligned.
8558
60cc4a18
AS
85592012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8560
8561 [BZ #11837]
8562 * iconvdata/gb18030.c: Update tables.
8563 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8564 characters specially.
8565 (BODY for TO_LOOP): Add encoding of missing ranges.
8566
febb44a4
TS
85672012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8568
8569 [BZ #13673]
8570 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8571 * sysdeps/mach/hurd/dup3.c: Likewise.
8572 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8573 * sysdeps/powerpc/memmove.c:: Likewise.
8574
0a10fb9e
L
85752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8576
8577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8578 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8579
df8a552f
L
85802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8581
8582 * elf/elf.h (R_X86_64_RELATIVE64): New.
8583 (R_X86_64_NUM): Updated.
8584 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8585 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8586 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8587 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8588 tst-quad1pie tst-quad2pie
8589 (modules-names): Add tst-quadmod1 tst-quadmod2.
8590 ($(objpfx)tst-quad1): New dependency.
8591 ($(objpfx)tst-quad2): Likewise.
8592 ($(objpfx)tst-quad1pie): Likewise.
8593 ($(objpfx)tst-quad2pie): Likewise.
8594 * sysdeps/x86_64/tst-quad1.c: New file.
8595 * sysdeps/x86_64/tst-quad1pie.c: New file.
8596 * sysdeps/x86_64/tst-quad2.c: Likewise.
8597 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8598 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8599 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8600 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8601 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8602
f34d6f84
ST
86032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8604
f42d41d1
ST
8605 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8606 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8607 * streams/stropts.h (t_scalar_t): Define type.
8608
3c3571fc
ST
8609 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8610 (_PATH_PRESERVE): Set to "/var/lib".
8611 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8612
61f06bd3
ST
8613 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8614 instead of int.
8615
918d4d71
ST
8616 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8617 if __dir_mkfile succeeded.
8618
f34d6f84
ST
8619 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8620 checking for _hurd_dtablesize. Unlock it right after having
8621 finished _hurd_dtable allocation.
8622
10589b4a
TS
86232012-05-10 Thomas Schwinge <thomas@schwinge.name>
8624
674cdbc7
TS
8625 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8626 * sysdeps/mach/hurd/configure: Regenerated.
8627 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8628 special-casing to...
8629 * sysdeps/gnu/configure.in: ... this new file.
8630 * sysdeps/unix/sysv/linux/configure: Regenerated.
8631 * sysdeps/gnu/configure: New generated file.
8632
8e41b99f
TS
8633 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8634 for Linux: use nsec instead of usec, as well as:
8635 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8636 members of type struct timespec.
8637 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8638 New macros.
8639 (struct stat64): Likewise.
8640 (_STATBUF_ST_NSEC): New macro.
8641 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8642
10589b4a
TS
8643 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8644 __strtoul_internal rather than strtoul.
8645
63643c85
PT
86462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8647
8648 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8649 and reject them.
8650
3faebe6a
ST
86512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8652
8653 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8654 which preserves existing values.
8655 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8656
c6474b07
PT
86572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8658
8659 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8660 TIMEOUT values. Return EINVAL for NFDS values either negative or
8661 greater than FD_SETSIZE.
8662
1043890b
ST
86632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8664
8665 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8666 allocated, call __vm_protect to finish enabling the existing space, and
8667 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8668 allocate the remainder.
8669
37ed8b9b
PT
86702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8671
8672 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8673 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8674
db653660
ST
86752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8676
37ed8b9b
PT
8677 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8678 sysdeps/mach/hurd/readlink.c.
b29d4053 8679
db653660
ST
8680 * posix/tst-sysconf.c (posix_options): Only use
8681 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8682 _POSIX_SYNCHRONIZED_IO when they are defined
8683 * sysdeps/mach/hurd/bits/posix_opt.h:
8684 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8685 (_XOPEN_REALTIME): Undefine macro.
8686 (_XOPEN_REALTIME_THREADS): Undefine macro.
8687 (_XOPEN_SHM): Undefine macro.
8688 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8689 macro to -1.
8690 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8691 macro to -1.
8692 (_POSIX_ASYNC_IO): Undefine macro.
8693 (_POSIX_PRIORITIZED_IO): Undefine macro.
8694 (_POSIX_SPIN_LOCKS): Define macro to -1.
8695
ee16e894
ST
8696 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8697 SA_NODEFER, SA_RESETHAND.
8698 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8699 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8700 F_DUPFD_CLOEXEC.
8701
6103ae3b
TS
87022012-05-10 Thomas Schwinge <thomas@schwinge.name>
8703
8704 * elf/Makefile (pldd-modules): Define unconditionally.
8705
80b4e5f3
TS
87062012-05-10 Thomas Schwinge <thomas@schwinge.name>
8707
8708 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8709
edadcbd6
ST
87102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8711
8712 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8713 Return ENOENT when name is empty.
8714 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8715
80694780
TS
87162012-05-10 Thomas Schwinge <thomas@schwinge.name>
8717
1792c087
TS
8718 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8719
80694780
TS
8720 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8721
6b645f0d
ST
87222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8723
80694780
TS
8724 Fix mlock in all cases except non-readable pages.
8725 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8726 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8727
6b645f0d
ST
8728 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8729 (__mkdir): When path is `/', just fail with EEXIST.
8730 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8731
e468f8a3
TS
87322012-05-10 Thomas Schwinge <thomas@schwinge.name>
8733
8734 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8735 <sys/uio.h> (for writev).
8736 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8737 and <sys/param.h> (for MIN).
8738
a4186cff
PT
87392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8740
8741 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8742 REQUESTED_TIME. Properly set the remaining time and return EINTR
8743 if interrupted.
8744
510bbf14
TS
87452012-05-10 Thomas Schwinge <thomas@schwinge.name>
8746
8747 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8748 Depend on against $(link-rpcuserlibs).
8749
5d5722e8
ST
87502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8751
a4186cff
PT
8752 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8753 (__libc_stack_end): Do not use attribute_relro.
8754 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8755 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8756 to libthread-provided value.
a4186cff
PT
8757 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8758 attribute_relro.
5d5722e8 8759
37233df9
TS
87602012-05-10 Thomas Schwinge <thomas@schwinge.name>
8761
be971a2b
TS
8762 [BZ #3748]
8763 * bits/libc-lock.h (__libc_once_get): New macro.
8764 * sysdeps/mach/bits/libc-lock.h: Likewise.
8765 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8766 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8767 instead of using implementation details.
8768
37233df9
TS
8769 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8770 * libio/freopen.c: Likewise.
8771 * libio/freopen64.c: Likewise.
8772 * misc/syslog.c: Likewise.
8773 * nscd/connections.c: Likewise.
8774 * nscd/netgroupcache.c: Likewise.
8775 * sysdeps/posix/getcwd.c: Likewise.
8776
38de94a5
RM
87772012-05-10 Roland McGrath <roland@hack.frob.com>
8778
8779 * math/w_ilogbf.c: Add #include <limits.h>.
8780
67530489
ST
87812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8782
a4186cff 8783 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8784 path instead of returning without unlocking.
8785
67530489
ST
8786 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8787 immediate-write ioctls.
8788 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8789
5aa3a74a
TS
87902012-05-10 Thomas Schwinge <thomas@schwinge.name>
8791
18bad2ae
TS
8792 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8793 __builtin_frame_address instead of making assumptions about the
8794 location of the return address relative to DATA. Force early load of
8795 the return address.
8796 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8797 __builtin_frame_address.
8798
5aa3a74a
TS
8799 dup3 for GNU Hurd.
8800 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8801 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8802 implement dup3 and do some further code clean-ups.
8803 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8804 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8805
ecd0de9a
ST
88062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8807
cd9fa985
ST
8808 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8809
a4186cff
PT
8810 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8811 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8812 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8813 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8814 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8815 d->port.lock.
802ca5a5 8816
a4186cff
PT
8817 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8818 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8819 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8820
bcf55240
TS
88212012-05-10 Thomas Schwinge <thomas@schwinge.name>
8822
6960eb42
TS
8823 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8824 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8825 definitions.
8826
eb43375f
TS
8827 accept4 for GNU Hurd.
8828 * include/sys/socket.h (__libc_accept4): New prototype.
8829 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8830 to implement __libc_accept4.
8831 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8832 __libc_accept4.
8833 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8834
bcf55240
TS
8835 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8836 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8837 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8838 signal-defines.sym.
8839
6178c55b
ST
88402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8841
a4186cff 8842 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8843
6f080c2f
TS
88442012-05-10 Thomas Schwinge <thomas@schwinge.name>
8845
8846 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8847 assertion on O_CLOEXEC flag.
8848 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8849 * hurd/intern-fd.c: Likewise.
8850 * hurd/port2fd.c: Likewise.
8851
bcfe3a54
ST
88522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8853
8854 [BZ #3906]
8855 * bits/in.h (IPV6_PKTINFO): Define new macro.
8856 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8857
89c9aa49
AZ
88582012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8859
8860 [BZ #13954]
8861 [BZ #13955]
8862 [BZ #13956]
8863 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8865 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8866 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8868 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8869 * math/libm-test.inc (logb_test) : Additional logb tests.
8870
021db4be
AJ
88712012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8872 Andreas Jaeger <aj@suse.de>
8873
8874 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8875 * configure: Regenerated.
8876 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8877 * config.make.in (link-obsolete-rpc): New substituted variable.
8878 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8879 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8880 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8881 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8882 so that libc.a contains the symbols.
8883 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8884 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8885 * sunrpc/auth_none.c: Likewise.
8886 * sunrpc/auth_unix.c: Likewise.
8887 * sunrpc/authdes_prot.c: Likewise.
8888 * sunrpc/authuxprot.c: Likewise.
8889 * sunrpc/clnt_gen.c: Likewise.
8890 * sunrpc/clnt_perr.c: Likewise.
8891 * sunrpc/clnt_raw.c: Likewise.
8892 * sunrpc/clnt_simp.c: Likewise.
8893 * sunrpc/clnt_tcp.c: Likewise.
8894 * sunrpc/clnt_udp.c: Likewise.
8895 * sunrpc/clnt_unix.c: Likewise.
8896 * sunrpc/des_crypt.c: Likewise.
8897 * sunrpc/des_soft.c: Likewise.
8898 * sunrpc/get_myaddr.c: Likewise.
8899 * sunrpc/key_call.c: Likewise.
8900 * sunrpc/key_prot.c: Likewise.
8901 * sunrpc/netname.c: Likewise.
8902 * sunrpc/pm_getmaps.c: Likewise.
8903 * sunrpc/pm_getport.c: Likewise.
8904 * sunrpc/pmap_clnt.c: Likewise.
8905 * sunrpc/pmap_prot.c: Likewise.
8906 * sunrpc/pmap_prot2.c: Likewise.
8907 * sunrpc/pmap_rmt.c: Likewise.
8908 * sunrpc/publickey.c: Likewise.
8909 * sunrpc/rpc_cmsg.c: Likewise.
8910 * sunrpc/rpc_common.c: Likewise.
8911 * sunrpc/rpc_dtable.c: Likewise.
8912 * sunrpc/rpc_prot.c: Likewise.
8913 * sunrpc/rpc_thread.c: Likewise.
8914 * sunrpc/rtime.c: Likewise.
8915 * sunrpc/svc.c: Likewise.
8916 * sunrpc/svc_auth.c: Likewise.
8917 * sunrpc/svc_raw.c: Likewise.
8918 * sunrpc/svc_run.c: Likewise.
8919 * sunrpc/svc_tcp.c: Likewise.
8920 * sunrpc/svc_udp.c: Likewise.
8921 * sunrpc/svc_unix.c: Likewise.
8922 * sunrpc/svcauth_des.c: Likewise.
8923 * sunrpc/xcrypt.c: Likewise.
8924 * sunrpc/xdr.c: Likewise.
8925 * sunrpc/xdr_array.c: Likewise.
8926 * sunrpc/xdr_float.c: Likewise.
8927 * sunrpc/xdr_intXX_t.c: Likewise.
8928 * sunrpc/xdr_mem.c: Likewise.
8929 * sunrpc/xdr_rec.c: Likewise.
8930 * sunrpc/xdr_ref.c: Likewise.
8931 * sunrpc/xdr_sizeof.c: Likewise.
8932 * sunrpc/xdr_stdio.c: Likewise.
8933
b5c086a2
RM
89342012-05-10 Roland McGrath <roland@hack.frob.com>
8935
8936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8937 change. Update copyright years.
8938
6d74dd09
JM
89392012-05-10 Joseph Myers <joseph@codesourcery.com>
8940
8941 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8942
28e72501
MK
89432012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8944 Joseph Myers <joseph@codesourcery.com>
8945 Paul Pluzhnikov <ppluzhnikov@google.com>
8946
8947 [BZ #14012]
8948 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8949 requiring rpcgen.
8950 [cross-compiling] (extra-libs): Likewise.
8951 [cross-compiling] (extra-libs-others): Likewise.
8952 [cross-compiling] (librpcsvc-routines): Likewise.
8953 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8954 [cross-compiling] (omit-deps): Likewise.
8955 (sunrpc-CPPFLAGS): New variable.
8956 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8957 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8958 (cross-rpcgen-objs): New variable.
8959 (extra-objs): Append $(cross-rpcgen-objs).
8960 ($(cross-rpcgen-objs)): New rule.
8961 ($(objpfx)cross-rpcgen): Likewise.
8962 (rpcgen-cmd): Define to use $(built-program-file). Expand
8963 comment.
8964 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8965 ($(objpfx)x%.stmp): Likewise.
8966 * sunrpc/proto.h [IS_IN_build] (_): Define.
8967 [IS_IN_build] (_libc_intl_domainname): Likewise.
8968
c8c59454
L
89692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8970
8971 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8972 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8973 and R_X86_64_TPOFF64.
8974
6f27cd16
JM
89752012-05-10 Joseph Myers <joseph@codesourcery.com>
8976
8977 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8978 sysdeps/unix/sysv/syscalls.list.
8979 (stime): Likewise.
8980 (utime): Likewise.
8981 * sysdeps/unix/sysv/syscalls.list: Remove file.
8982
02467e1c
PE
89832012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8984
8985 [BZ #3440]
8986 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8987 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8988 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8989 (__LC_IDENTIFICATION): Make these macros useful in #if
8990 expressions, as required by C99.
8991
da392631
AS
89922012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8993
8994 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8995 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8996 after this.
8997
8115f29b
L
89982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8999
9000 * stdlib/longlong.h: Updated from GCC.
9001
bdd74070
AJ
90022012-05-09 Andreas Jaeger <aj@suse.de>
9003
edfe0dbe
AJ
9004 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9005 default is first entry.
9006 (run_mode): Set type.
9007 (main): Remove informal message about syslog.
9008 (options): Fix typo.
9009
bcfe3a54
ST
9010 [BZ #14053]
9011 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9012 to asm.
bcfe3a54
ST
9013 (lrint): Likewise.
9014 (llrintf): Likewise.
9015 (llrint): Likewise.
9016 (rint): Likewise.
9017 (rintf): Likewise.
9018 (nearbyint): Likewise.
9019 (nearbyintf): Likewise.
bdd74070 9020
91d8d69e
AJ
90212012-05-09 Andreas Jaeger <aj@suse.de>
9022 Pedro Alves <palves@redhat.com>
9023
9024 * nscd/nscd.c (run_mode): Use enum.
9025 (main): Cleanup coding style issue.
9026
bb90b80b
AJ
90272012-05-09 Alexandre Oliva <aoliva@redhat.com>
9028 Andreas Jaeger <aj@suse.de>
9029
bcfe3a54
ST
9030 * nscd/nscd.c (go_background): Replaced with...
9031 (run_mode): ... this.
bb90b80b 9032 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9033 (options): Add -F --foreground.
9034 (main): Implement it.
9035 (parse_opt): Parse it.
bb90b80b 9036
1a4b75a1
AJ
90372012-05-09 Andreas Jaeger <aj@suse.de>
9038
9039 [BZ #14083]
9040 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9041 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9042 -Wconversion warning.
9043 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9044 Likewise.
9045
b1cc2472
JM
90462012-05-09 Joseph Myers <joseph@codesourcery.com>
9047
9048 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9049 == 0.
9050 (LC_ALL): Use macro-int-constant.
9051 (LC_COLLATE): Likewise.
9052 (LC_CTYPE): Likewise.
9053 (LC_MESSAGES): Likewise.
9054 (LC_MONETARY): Likewise.
9055 (LC_NUMERIC): Likewise.
9056 (LC_TIME): Likewise.
9057 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9058 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9060 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9061 Specify type.
9062 [C99-based standards] (float_t): Expect type.
9063 [C99-based standards] (double_t): Expect type.
9064 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9065 type.
9066 [C99-based standards] (HUGE_VALL): Likewise.
9067 [C99-based standards] (INFINITY): Likewise.
9068 [C99-based standards] (NAN): Likewise.
9069 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9070 [C99-based standards] (FP_NAN): Likewise.
9071 [C99-based standards] (FP_NORMAL): Likewise.
9072 [C99-based standards] (FP_SUBNORMAL): Likewise.
9073 [C99-based standards] (FP_ZERO): Likewise.
9074 [C99-based standards] (FP_FAST_FMA): Use
9075 optional-macro-int-constant. Specify type. Require == 1.
9076 [C99-based standards] (FP_FAST_FMAF): Likewise.
9077 [C99-based standards] (FP_FAST_FMAL): Likewise.
9078 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9079 [C99-based standards] (FP_ILOGBNAN): Likewise.
9080 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9081 Specify type.
9082 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9083 [C99-based standards] (math_errhandling): Specify type.
9084 [ISO99 || ISO11] (signgam): Do not allow.
9085 [non-C99-based standards] (copysignf): Do not allow.
9086 [non-C99-based standards] (exp2f): Likewise.
9087 [non-C99-based standards] (log2f): Likewise.
9088 [non-C99-based standards] (modff): Allow.
9089 [non-C99-based standards] (erff): Do not allow.
9090 [non-C99-based standards] (erfcf): Likewise.
9091 [non-C99-based standards] (gammaf): Likewise.
9092 [non-C99-based standards] (hypotf): Likewise.
9093 [non-C99-based standards] (j0f): Likewise.
9094 [non-C99-based standards] (j1f): Likewise.
9095 [non-C99-based standards] (jnf): Likewise.
9096 [non-C99-based standards] (lgammaf): Likewise.
9097 [non-C99-based standards] (tgammaf): Likewise.
9098 [non-C99-based standards] (y0f): Likewise.
9099 [non-C99-based standards] (y1f): Likewise.
9100 [non-C99-based standards] (ynf): Likewise.
9101 [non-C99-based standards] (isnanf): Likewise.
9102 [non-C99-based standards] (acoshf): Likewise.
9103 [non-C99-based standards] (asinhf): Likewise.
9104 [non-C99-based standards] (atanhf): Likewise.
9105 [non-C99-based standards] (cbrtf): Likewise.
9106 [non-C99-based standards] (expm1f): Likewise.
9107 [non-C99-based standards] (ilogbf): Likewise.
9108 [non-C99-based standards] (log1pf): Likewise.
9109 [non-C99-based standards] (logbf): Likewise.
9110 [non-C99-based standards] (nextafterf): Likewise.
9111 [non-C99-based standards] (remainderf): Likewise.
9112 [non-C99-based standards] (rintf): Likewise.
9113 [non-C99-based standards] (scalbf): Likewise.
9114 [non-C99-based standards] (copysignl): Likewise.
9115 [non-C99-based standards] (exp2l): Likewise.
9116 [non-C99-based standards] (log2l): Likewise.
9117 [non-C99-based standards] (modfl): Allow.
9118 [non-C99-based standards] (erfl): Do not allow.
9119 [non-C99-based standards] (erfcl): Likewise.
9120 [non-C99-based standards] (gammal): Likewise.
9121 [non-C99-based standards] (hypotl): Likewise.
9122 [non-C99-based standards] (j0l): Likewise.
9123 [non-C99-based standards] (j1l): Likewise.
9124 [non-C99-based standards] (jnl): Likewise.
9125 [non-C99-based standards] (lgammal): Likewise.
9126 [non-C99-based standards] (tgammal): Likewise.
9127 [non-C99-based standards] (y0l): Likewise.
9128 [non-C99-based standards] (y1l): Likewise.
9129 [non-C99-based standards] (ynl): Likewise.
9130 [non-C99-based standards] (isnanl): Likewise.
9131 [non-C99-based standards] (acoshl): Likewise.
9132 [non-C99-based standards] (asinhl): Likewise.
9133 [non-C99-based standards] (atanhl): Likewise.
9134 [non-C99-based standards] (cbrtl): Likewise.
9135 [non-C99-based standards] (expm1l): Likewise.
9136 [non-C99-based standards] (ilogbl): Likewise.
9137 [non-C99-based standards] (log1pl): Likewise.
9138 [non-C99-based standards] (logbl): Likewise.
9139 [non-C99-based standards] (nextafterl): Likewise.
9140 [non-C99-based standards] (remainderl): Likewise.
9141 [non-C99-based standards] (rintl): Likewise.
9142 [non-C99-based standards] (scalbl): Likewise.
9143 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9144 [non-C99-based standards] (FP_*): Do not allow.
9145 [C99-based standards] (FP_*): Change to
9146 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9147 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9148 allow.
9149 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9150 (SIG_ERR): Likewise.
9151 [X/Open-based standards] (SIG_HOLD): Likewise.
9152 (SIG_IGN): Likewise.
9153 (SIGABRT): Use macro-int-constant. Specify type. Require
9154 positive value.
9155 (SIGFPE): Likewise.
9156 (SIGILL): Likewise.
9157 (SIGINT): Likewise.
9158 (SIGSEGV): Likewise.
9159 (SIGTER): Likewise.
9160 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9161 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9162 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9163 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9164 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9165 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9166 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9167 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9168 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9169 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9170 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9171 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9172 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9173 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9174 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9175 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9176 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9177 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9178 [X/Open-based standards] (SIGTRAP): Likewise.
9179 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9180 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9181 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9182 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9183 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9184 allow.
9185
b9f1922d
IW
91862012-05-08 Ian Wienand <ianw@vmware.com>
9187
9188 [BZ #14080]
9189 * time/tzset.c (__tzset_parse_tz): Update default rules for
9190 daylight time changes in the Energy Policy Act of 2005.
9191
1db86e88
AJ
91922012-05-09 Andreas Jaeger <aj@suse.de>
9193
9194 [BZ #13983]
9195 * elf/ldconfig.c (parse_conf): Change string to make clear that
9196 ldconfig only issued a warning if ld.so.conf does not exist.
9197
dee4a4e3
DM
91982012-05-08 David S. Miller <davem@davemloft.net>
9199
ee0db190
DM
9200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9201 movxtod instead of popping the value on the stack.
9202
dee4a4e3
DM
9203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9204
6a43ec98
CD
92052012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9206
9207 * config.h.in: Add HAVE_ARM_PCS_VFP.
9208
05c2c961
RMG
92092012-05-08 Roland Mc Grath <roland@hack.frob.com>
9210
bcfe3a54
ST
9211 [BZ #13979]
9212 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9213 checking but the checks are disabled for any reason.
05c2c961 9214
4b30f61a
L
92152012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9216
9217 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9218 and ELF64_R_TYPE with ELFW(R_TYPE).
9219
eee2bc67
JM
92202012-05-08 Joseph Myers <joseph@codesourcery.com>
9221
7ea5391a
JM
9222 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9223 (ulimit): Likewise.
9224
eee2bc67
JM
9225 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9226 (settimeofday): Likewise.
9227
abb66a67
MF
92282012-05-08 Mike Frysinger <vapier@gentoo.org>
9229
9230 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9231 a struct th_u2 inside the union, and move tu_block/tu_code into
9232 a new th_u3 union of tu_block/tu_code inside of that. Move
9233 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9234 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9235 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9236 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9237 (th_stuff): Change to th_u1.tu_stuff.
9238 (th_data): Define.
9239 (th_msg): Change to th_u1.th_u2.tu_data.
9240
7f18b530
DM
92412012-05-07 David S. Miller <davem@davemloft.net>
9242
05760585
DM
9243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9244
7f18b530
DM
9245 [BZ #14074]
9246 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9247 (SETUP_PIC_REG): Use it.
9248 (SETUP_PIC_REG_LEAF): Use it.
9249
495fd99f
JM
92502012-05-07 Joseph Myers <joseph@codesourcery.com>
9251
9252 [BZ #13885]
9253 [BZ #13923]
9254 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9255 USE_AS_EXPM1L.
9256 (EXPL_FINITE): Likewise.
9257 (FLDLOG): Likewise.
9258 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9259 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9260 e_expl.S.
9261 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9262 USE_AS_EXPM1L.
9263 (EXPL_FINITE): Likewise.
9264 (FLDLOG): Likewise.
9265 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9266 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9267 e_expl.S.
9268 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9269 test of -max_value argument for long double.
9270 * sysdeps/i386/fpu/libm-test-ulps: Update.
9271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9272
6693d694
DM
92732012-05-06 David S. Miller <davem@davemloft.net>
9274
9275 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9276 quad soft-float symbols whose references which are compiler
9277 generated.
9278 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9279
6c23e11c
JM
92802012-05-06 Joseph Myers <joseph@codesourcery.com>
9281
d8b82cad
JM
9282 [BZ #13884]
9283 [BZ #13914]
9284 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9285 USE_AS_EXP10L.
9286 (EXPL_FINITE): Likewise.
9287 (FLDLOG): Likewise.
9288 (c0): Likewise.
9289 (c1): Likewise.
9290 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9291 Adjust comments for base varying.
9292 (__expl_finite): Change alias to EXPL_FINITE.
9293 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9294 e_expl.S.
9295 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9296 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9298 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9299 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9300 USE_AS_EXP10L.
9301 (EXPL_FINITE): Likewise.
9302 (FLDLOG): Likewise.
9303 (c0): Likewise.
9304 (c1): Likewise.
9305 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9306 Adjust comments for base varying.
9307 (__expl_finite): Change alias to EXPL_FINITE.
9308 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9309 tests for bugs.
9310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9311
6c23e11c
JM
9312 [BZ #14064]
9313 * math/libm-test.inc (check_float_internal): Correct ulp
9314 calculation for subnormal expected results.
9315
29ba805c
AJ
93162012-05-06 Andreas Jaeger <aj@suse.de>
9317
9318 * Makeconfig (+math-flags): New, set to -frounding-math.
9319 (+cflags): Add +math-flags so that all of glibc gets compiled with
9320 it.
9321
9322 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9323
7b17aeda
JM
93242012-05-05 Joseph Myers <joseph@codesourcery.com>
9325
5779f134
JM
9326 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9327 Disable one test.
9328
41498f4d
JM
9329 [BZ #13787]
9330 [BZ #13922]
9331 [BZ #14036]
9332 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9333 (__ieee754_expl): Allow for and saturate large arguments.
9334 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9335 (u_threshold): Likewise.
9336 (__exp): Call __ieee754_exp before checking for overflow and
9337 underflow.
9338 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9339 (u_threshold): Likewise.
9340 (__expf): Call __ieee754_expf before checking for overflow and
9341 underflow.
9342 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9343 (u_threshold): Likewise.
9344 (__expl): Call __ieee754_expl before checking for overflow and
9345 underflow.
9346 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9347 (__ieee754_expl): Allow for and saturate large arguments.
9348 * math/libm-test.inc (exp_test): Add another test. Do not allow
9349 missing overflow exception on overflow.
9350 (expm1_test): Do not allow missing overflow exception on overflow.
9351
6698b8bf
JM
9352 * sysdeps/i386/fpu/e_expl.c: Move to ...
9353 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9354 rather than using inline asm.
9355 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9356 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9357 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9358
7b17aeda
JM
9359 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9360 (nice): Likewise.
9361 (poll): Likewise.
9362 (signal): Likewise.
9363 (time): Likewise.
9364 (times): Likewise.
9365
f7c85819
JM
93662012-05-04 Joseph Myers <joseph@codesourcery.com>
9367
9368 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9369 sysdeps/unix/common/syscalls.list.
9370 (fchmod): Likewise.
9371 (fchown): Likewise.
9372 (ftruncate): Likewise.
9373 (getrusage): Likewise.
9374 (gettimeofday): Likewise.
9375 (setpgid): Likewise.
9376 (setregid): Likewise.
9377 (setreuid): Likewise.
9378 (sigaction): Likewise.
9379 (truncate): Likewise.
9380 (vhangup): Likewise.
9381 * sysdeps/unix/common/syscalls.list: Remove file.
9382 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9383 * sysdeps/unix/sysv/linux/Implies: Likewise.
9384
336270d0
L
93852012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9386
9387 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9389 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9390 Moved to ...
9391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9392 Here.
9393 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9394 to ...
9395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9396 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9397 to ...
9398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9399 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9400 to ...
9401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9402 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9403 to ...
9404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9405 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9406 to ...
9407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9408 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9409 to ...
9410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9411 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9412 to ...
9413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9414 Here.
9415 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9416 to ...
9417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9418 Here.
9419 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9420 to ...
9421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9422 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9423 Moved to ...
9424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9425 Here.
9426 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9427 to ...
9428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9429
d128e450
JM
94302012-05-04 Joseph Myers <joseph@codesourcery.com>
9431
fa8ee516
JM
9432 * sysdeps/unix/common/bits/dirent.h: Remove file.
9433 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9434
d128e450
JM
9435 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9436 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9437 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9438 * sysdeps/unix/bsd/isatty.c: Likewise.
9439 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9440 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9441 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9442
ff8faaf0 94432012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9444
62881be4 9445 [BZ #13563]
31dc8730
AZ
9446 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9447 long double comparison inaccuracies.
9448 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9450
6fef930c
AS
94512012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9452
9453 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9454 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9455
8f203e6c
JM
94562012-05-04 Joseph Myers <joseph@codesourcery.com>
9457
9458 [BZ #14049]
9459 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9460 nonzero digits before rounding a hex value.
9461 * stdlib/tst-strtod.c (tests): Add another test.
9462
5197d9c2
AK
94632012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9464
9465 * sysdeps/s390/fpu/libm-test-ulps: Update.
9466
f0c1dedf
AJ
94672012-05-03 Andreas Jaeger <aj@suse.de>
9468
9469 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9470 does not get optimized out.
9471 (malloc_opt_barrier): New.
9472
a65ef2ae 94732012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9474 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9475
2b942cb7 9476 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9477 intermediate file deletion.
2b942cb7 9478 (generated): Add .symlist files.
a65ef2ae 9479
54b71e02
JM
94802012-05-03 Joseph Myers <joseph@codesourcery.com>
9481
9482 [BZ #13775]
9483 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9484 Redirect under this condition.
9485 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9486 [__USE_GNU] (__dprintf_chk): Not under this condition.
9487 [__USE_GNU] (__vdprintf_chk): Likewise.
9488 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9489 under this condition.
9490 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9491 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9492 [__USE_XOPEN2K8] (vdprintf): Likewise.
9493 [__USE_GNU] (__dprintf_chk): Not under this condition.
9494 [__USE_GNU] (__vdprintf_chk): Likewise.
9495 [__USE_GNU] (dprintf): Likewise.
9496 [__USE_GNU] (vdprintf): Likewise.
9497
d3dfcc41
RM
94982012-05-03 Roland McGrath <roland@hack.frob.com>
9499
9500 * elf/Makefile (common-generated): Set this instead of generated for
9501 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9502 $(all-built-dso)-derived lists.
9503
7ac30cc5
AJ
95042012-05-03 Andreas Jaeger <aj@suse.de>
9505
0c51e550
AJ
9506 * sysdeps/i386/fpu/libm-test-ulps: Update.
9507
7ac30cc5
AJ
9508 * FAQ: Removed.
9509 * FAQ.in: Likewise.
9510 * scripts/gen-FAQ.pl: Likewise.
9511 * manual/install.texi (Installation): Point to online location of
9512 FAQ.
9513 * Makefile (files-for-dist): Remove FAQ.
9514 (FAQ): Remove.
9515
d4c2917f
AM
95162012-05-02 Allan McRae <allan@archlinux.org>
9517
9518 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9519 (LDFLAGS-reldepmod5.so): Likewise.
9520 (LDFLAGS-reldep6mod1.so): Likewise.
9521 (LDFLAGS-reldep6mod4.so): Likewise.
9522 (LDFLAGS-reldep8mod3.so): Likewise.
9523 (LDFLAGS-unload4mod1.so): Likewise.
9524 (LDFLAGS-unload4mod2.so): Likewise.
9525 (LDFLAGS-tst-initorder): Likewise.
9526 (LDFLAGS-tst-initordera2.so): Likewise.
9527 (LDFLAGS-tst-initordera3.so): Likewise.
9528 (LDFLAGS-tst-initordera4.so): Likewise.
9529 (LDFLAGS-tst-initorderb2.so): Likewise.
9530 (LDFLAGS-noload): Likewise.
9531 (LDFLAGS-next): Likewise.
9532 (LDFLAGS-order2mod1.so): Likewise.
9533 (LDFLAGS-order2mod2.so): Likewise.
9534 (LDFLAGS-tst-initorder2): Likewise.
9535 (LDFLAGS-tst-initorder2a.so): Likewise.
9536 (LDFLAGS-tst-initorder2b.so): Likewise.
9537 (LDFLAGS-tst-initorder2c.so): Likewise.
9538 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9539
d77f993f
DM
95402012-05-02 David S. Miller <davem@davemloft.net>
9541
9542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9543
171a70b4
PP
95442012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9545
9546 [BZ #14055]
9547 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9548
0be196ad
AJ
95492012-05-02 Andreas Jaeger <aj@suse.de>
9550
9551 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9552 since we manipulate rounding mode.
9553 (CPPFLAGS-test-idouble.c): Likewise.
9554 (CPPFLAGS-test-ifloat.c): Likewise.
9555 (CFLAGS-test-ldouble.c): Likewise.
9556 (CFLAGS-test-double.c): Likewise.
9557 (CFLAGS-test-float.c): Likewise.
9558 (CFLAGS-test-misc.c): Likewise.
9559 (CFLAGS-test-test-fenv.c): Likewise.
9560
4f9d04aa
AZ
95612012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9562
2b942cb7
RM
9563 [BZ #2550]
9564 [BZ #2570]
9565 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9566 comparisons to determine direction to adjust input.
4f9d04aa 9567
82a79e7d
RM
95682012-05-01 Roland McGrath <roland@hack.frob.com>
9569
f5a01ca9
RM
9570 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9571 output to the target.
9572
90fe4186
RM
9573 * scripts/localplt.awk: New file.
9574 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9575 (check-localplt-CFLAGS): Variable removed.
9576 ($(all-built-dso:=.jmprel)): New static pattern rule.
9577 (generated): Add those targets.
9578 (localplt-built-dso): New variable.
9579 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9580
9581 * elf/check-localplt.c: File removed.
9582
82397ed6
RM
9583 * scripts/check-execstack.awk: New file.
9584 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9585 (check-execstack-CFLAGS): Variable removed.
9586 ($(objpfx)check-execstack.h): Target removed.
9587 ($(objpfx)execstack-default): New target.
9588 (generated): Add that instead of check-execstack.h.
9589 ($(all-built-dso:=.phdr)): New static pattern rule.
9590 (generated): Add those targets.
9591 * elf/check-execstack.c: File removed.
9592
82a79e7d
RM
9593 * scripts/check-textrel.awk: New file.
9594 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9595 (check-textrel-CFLAGS): Variable removed.
9596 (all-built-dso): Use := to define.o
9597 ($(all-built-dso:=.dyn)): New static pattern rule.
9598 (generated): Add those targets.
9599 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9600 * config.make.in (READELF): New substituted variable.
9601 * elf/check-textrel.c: File removed.
9602
62fde54f 96032012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9604
615605c9
JM
9605 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9606 allow.
9607 * conform/data/ctype.h-data [C99-based standards] (isblank):
9608 Expect function.
9609 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9610 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9612 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9613 Specify type. Require positive value.
9614 (EILSEQ): Likewise.
9615 (ERANGE): Likewise.
9616 [ISO || POSIX] (EILSEQ): Do not expect.
9617 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9618 Specify type. Require positive value.
9619 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9620 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9621 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9622 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9623 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9624 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9625 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9626 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9627 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9628 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9629 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9630 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9631 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9632 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9633 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9634 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9635 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9636 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9637 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9638 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9639 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9640 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9641 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9642 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9643 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9644 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9645 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9646 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9647 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9648 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9649 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9650 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9651 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9652 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9653 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9654 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9655 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9656 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9657 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9662 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9664 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9665 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9666 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9667 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9668 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9670 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9671 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9672 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9673 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9674 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9675 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9676 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9677 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9678 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9679 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9680 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9681 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9682 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9683 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9684 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9685 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9686 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9687 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9688 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9689 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9690 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9691 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9692 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9693 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9694 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9695 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9696 Require >= 2.
9697 (FLT_ROUNDS): Expect as macro, not constant.
9698 (FLT_MANT_DIG): Use macro-int-constant.
9699 (DBL_MANT_DIG): Likewise.
9700 (LDBL_MANT_DIG): Likewise.
9701 (FLT_DIG): Likewise.
9702 (DBL_DIG): Likewise.
9703 (LDBL_DIG): Likewise.
9704 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9705 (DBL_MIN_EXP): Likewise.
9706 (LDBL_MIN_EXP): Likewise.
9707 (FLT_MAX_EXP): Use macro-int-constant.
9708 (DBL_MAX_EXP): Likewise.
9709 (LDBL_MAX_EXP): Likewise.
9710 (FLT_MAX_10_EXP): Likewise.
9711 (DBL_MAX_10_EXP): Likewise.
9712 (LDBL_MAX_10_EXP): Likewise.
9713 (FLT_MAX): Use macro-constant.
9714 (DBL_MAX): Likewise.
9715 (LDBL_MAX): Likewise.
9716 (FLT_EPSILON): Use macro-constant. Give upper bound.
9717 (DBL_EPSILON): Likewise.
9718 (LDBL_EPSILON): Likewise.
9719 (FLT_MIN): Likewise.
9720 (DBL_MIN): Likewise.
9721 (LDBL_MIN): Likewise.
9722 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9723 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9724 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9725 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9726 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9727 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9728 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9729 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9730 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9731 [ISO11] (FLT_TRUE_MIN): Likewise.
9732 [ISO11] (LDBL_TRUE_MIN): Likewise.
9733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9734 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9735 (SCHAR_MIN): Use macro-int-constant. Specify type.
9736 (SCHAR_MAX): Likewise.
9737 (UCHAR_MAX): Likewise.
9738 (CHAR_MIN): Likewise.
9739 (CHAR_MAX): Likewise.
9740 (MB_LEN_MAX): Use macro-int-constant.
9741 (SHRT_MIN): Use macro-int-constant. Specify type.
9742 (SHRT_MAX): Likewise.
9743 (USHRT_MAX): Likewise.
9744 (INT_MAX): Likewise.
9745 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9746 bound negative.
9747 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9748 bound with "U".
9749 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9750 bound with "L".
9751 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9752 bound negative. Suffix upper bound with "L".
9753 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9754 bound with "UL".
9755 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9756 Specify type.
9757 [C99-based standards] (LLONG_MAX): Likewise.
9758 [C99-based standards] (ULLONG_MAX): Likewise.
9759 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9760 == 0.
9761 [ISO11] (max_align_t): Require type.
9762 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9763
c9140a62
JM
9764 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9765 from $CFLAGS, without defining away __attribute__ calls.
9766 (checknamespace): Use $CFLAGS_namespace.
9767
9af0bf29
JM
9768 * conform/conformtest.pl (@keywords): Only include C99 keywords
9769 for standards based on C99 or C11.
9770
343222a2
JM
9771 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9772 Disable tests.
9773 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9774 UNIX98]: Likewise.
9775
661f8cf0
JM
9776 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9777 usability of symbols in #if.
9778
ee74b9cb
JM
9779 * conform/conformtest.pl: If macro or constant types start
9780 "promoted:", expect the symbol to be of the following type
9781 promoted by the integer promotions.
62fde54f 9782
aafc49b3
JM
9783 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9784 in one place. Also handle "macro-constant".
9785
fefdf574
JM
9786 * conform/conformtest.pl: Only accept expected macro values with
9787 "==". Parse all "macro" lines in one place.
9788 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9789
f2d922fe
JM
9790 * conform/conformtest.pl: Handle braced types on "constant" lines
9791 instead of handling "typed-constant".
9792 * conform/data/signal.h-data: Use "constant" instead of
9793 "typed-constant".
9794
d22956c9
JM
9795 * conform/conformtest.pl: Handle "optional-" at start of lines in
9796 one place rather than duplicating several cases. Handle each
9797 format of "macro" line with initial "optional-".
9798
028e2e38
JM
9799 * conform/conformtest.pl: Only accept expected constant or
9800 optional-constant values with "==". Parse all "constant" lines in
9801 one place. Parse all "optional-constant" lines in one place.
9802 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9803 * conform/data/fmtmsg.h-data: Likewise.
9804 * conform/data/netinet/in.h-data: Likewise.
9805 * conform/data/tar.h-data: Likewise.
9806 * conform/data/limits.h-data: Use "==" form on "constant" and
9807 "optional-constant" lines.
9808
1b8f2850
JM
9809 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9810 Use -std=c99 for XOPEN2K.
9811 (@knownproblems): Remove.
9812 (newtoken): Don't check %isknown.
9813
a05a144b
JM
9814 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9815 Do not expect macro.
9816 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9821 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9822 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9823 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9826 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9827 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9828 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9829 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9830 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9831 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9832 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9833 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9834 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9835 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9836 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9837 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9838 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9839 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9840 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9841 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9842 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9843 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9844 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9845 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9846 [XPG3] (acosh): Likewise.
9847 [XPG3] (asinh): Likewise.
9848 [XPG3] (atanh): Likewise.
9849 [XPG3] (cbrt): Likewise.
9850 [XPG3] (expm1): Likewise.
9851 [XPG3] (ilogb): Likewise.
9852 [XPG3] (log1p): Likewise.
9853 [XPG3] (logb): Likewise.
9854 [XPG3] (nextafter): Likewise.
9855 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9856 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9857 [XPG3] (remainder): Likewise.
9858 [XPG3] (rint): Likewise.
9859 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9860 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9861 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9862 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9863 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9864 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9865 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9866 [UNIX98 || XOPEN2K] (scalb): Expect.
9867 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9868 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9869 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9870 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9871 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9872 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9873 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9874 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9875 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9876 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9877 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9878 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9879 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9880 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9881 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9882 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9883 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9884 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9885 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9886 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9887 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9888 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9889 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9890 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9891 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9892 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9893 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9894 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9895 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9896 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9897 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9898 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9899 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9900 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9901 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9902 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9903 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9904 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9905 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9906 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9907 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9908 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9909 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9910 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9911 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9912 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9913 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9914 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9915 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9916 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9917 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9918 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9919 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9920 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9921 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9922 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9923 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9924 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9925 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9926 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9927 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9928 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9929 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9930 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9931 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9932 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9933 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9934 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9935 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9936 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9937 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9938 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9939 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9940 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9941 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9942 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9943 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9944 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9945 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9946 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9947 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9948 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9949 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9950 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9951 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9952 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9953 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9954 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9955 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9956 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9957 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9958 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9959 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9960 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9961 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9962 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9963 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9964 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9965 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9966 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9967 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9968 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9969 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9970 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9971 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9972 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9973 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9974 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9975 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9976 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9977 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9978 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9979 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9980 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9981 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9982 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9983 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9984 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9985 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9986 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9987 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9988 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9989 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9990 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9991 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9992 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9993 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9994 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9995 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9996 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9997 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9998 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9999 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10000 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10001 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10002 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10003 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10004
73c5ebe3
JM
10005 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10006 _XOPEN_SOURCE_EXTENDED for XPG4.
10007
39c33b6c
JM
10008 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10009
62fde54f
JM
10010 * Makeconfig (localtime): Remove variable.
10011 (inst_localtime-file): Likewise.
10012
0741d64c
AS
100132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10014
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10016 Update.
10017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10018 Update.
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10020 Update.
10021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10022 Update.
10023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10024 Update.
10025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10026 Update.
10027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10028 Update.
10029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10030 Update.
10031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10032 Update.
10033
7cb029ee
JM
100342012-05-01 Joseph Myers <joseph@codesourcery.com>
10035
10036 [BZ #2550]
10037 [BZ #2570]
10038 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10039 comparisons to determine direction to adjust input.
10040 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10041 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10042 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10043 Likewise.
10044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10045 Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10047 Likewise.
10048 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10049 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10050 Likewise.
10051 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10052 Likewise.
10053 * math/libm-test.inc (nexttoward_test): Add more tests.
10054
412bd966
AS
100552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10056
10057 [BZ #14040]
10058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10059 in version GLIBC_2.1, not GLIBC_2.0.
10060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10061 Likewise.
10062
9568c0c2
JM
100632012-04-30 Joseph Myers <joseph@codesourcery.com>
10064
adfbc8ac
JM
10065 [BZ #13942]
10066 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10067 (1 - x) * (1 + x).
10068 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10069 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10070 * math/libm-test.inc (acos_test): Add more tests.
10071 (asin_test): Likewise.
10072 * sysdeps/i386/fpu/libm-test-ulps: Update.
10073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10074
5ba3cc69
JM
10075 [BZ #14034]
10076 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10077 of square root.
10078 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10079 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10080 * math/libm-test.inc (acos_test_tonearest): New function.
10081 (acos_test_towardzero): Likewise.
10082 (acos_test_downward): Likewise.
10083 (acos_test_upward): Likewise.
10084 (asin_test_tonearest): Likewise.
10085 (asin_test_towardzero): Likewise.
10086 (asin_test_downward): Likewise.
10087 (asin_test_upward): Likewise.
10088 (main): Call the new functions.
10089 * sysdeps/i386/fpu/libm-test-ulps: Update.
10090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10091
9568c0c2
JM
10092 [BZ #13884]
10093 [BZ #13924]
10094 * math/e_exp10.c: Include <float.h>.
10095 (__ieee754_exp10): Handle underflow here rather than multiplying
10096 large negative argument by M_LN10.
10097 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10098 of __ieee754_expf.
10099 * math/e_exp10l.c: Include <float.h>.
10100 (__ieee754_exp10l): Handle underflow here rather than multiplying
10101 large negative argument by M_LN10l.
10102 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10103 spurious overflow exception on underflow.
10104
5ac3ea17
MP
101052012-04-29 Marek Polacek <polacek@redhat.com>
10106
10107 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10108 (__fortify_function): New macro.
10109 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10110 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10111 __extern_always_inline.
10112 * libio/bits/stdio2.h: Likewise.
10113 * libio/bits/stdio.h: Likewise.
10114 * string/string.h: Likewise.
10115 * string/bits/string3.h: Likewise.
10116 * include/stdio.h: Likewise.
10117 * stdlib/bits/stdlib.h: Likewise.
10118 * stdlib/stdlib.h: Likewise.
10119 * rt/bits/mqueue2.h: Likewise.
10120 * rt/mqueue.h: Likewise.
10121 * posix/bits/unistd.h: Likewise.
10122 * posix/unistd.h: Likewise.
10123 * io/bits/poll2.h: Likewise.
10124 * io/bits/fcntl2.h: Likewise.
10125 * io/fcntl.h: Likewise.
10126 * io/sys/poll.h: Likewise.
10127 * misc/bits/syslog.h: Likewise.
10128 * misc/bits/syslog-ldbl.h: Likewise.
10129 * misc/sys/syslog.h: Likewise.
10130 * socket/bits/socket2.h: Likewise.
10131 * socket/sys/socket.h: Likewise.
10132 * debug/tst-chk1.c: Likewise.
10133 * wcsmbs/bits/wchar2.h: Likewise.
10134 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10135 * wcsmbs/wchar.h: Likewise.
10136
ecf0ebfb
AJ
101372012-04-29 Andreas Jaeger <aj@suse.de>
10138
10139 * Makerules (tests): Remove enable-check-abi protection.
10140 (check-abi-warn): Remove.
10141 (check-abi-%): Remove check-abi-warn usage.
10142
10143 * configure.in: Remove check-abi configure option.
10144 * configure: Regenerated.
10145 * config.make.in (enable-check-abi): Remove.
10146
6d5c57fa
AS
101472012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10148
24c5d07e 10149 [BZ #14033]
ded5180a
AS
10150 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10151 double functions to double *_finite functions.
10152
7e0d315d
AS
10153 [BZ #13941]
10154 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10155 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10156 LDBL_MIN_EXP.
10157 * stdio-common/Makefile (tests): Add tst-sprintf3.
10158 * stdio-common/tst-sprintf3.c: New file.
10159
6d5c57fa
AS
10160 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10161 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10162
0749ff8b
JM
101632012-04-28 Joseph Myers <joseph@codesourcery.com>
10164
10165 * conform/conformtest.pl: Remove duplicate typed-constant
10166 handling.
10167
8dbd5d7b
DM
101682012-04-28 David S. Miller <davem@davemloft.net>
10169
10170 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10171 (check-abi-%): Remove AWK script prerequisite and explicit
10172 abilist directory.
10173 (check-abi): Rewrite to just diff the symlist with the abilist.
10174 (config-tls, config-abi-config): Delete, no longer used.
10175 (update-abi-%): Remove AWK script and explicit abilist directory.
10176 (update-abi): Rewrite to simply compare and conditionally copy the
10177 symlist and the sysdep abilist file. Remove update-abi-config
10178 checks.
10179 * abilist/ld.abilist: Remove.
10180 * abilist/libBrokenLocale.abilist: Remove.
10181 * abilist/libanl.abilist: Remove.
10182 * abilist/libcrypt.abilist: Remove.
10183 * abilist/libdl.abilist: Remove.
10184 * abilist/librt.abilist: Remove.
10185 * abilist/libthread_db.abilist: Remove.
10186 * abilist/libutil.abilist: Remove.
10187 * scripts/extract-abilist.awk: Remove.
10188 * scripts/merge-abilist.awk: Remove.
10189 * sysdeps/generic/libcidn.abilist: New file.
10190 * sysdeps/generic/libnss_compat.abilist: New file.
10191 * sysdeps/generic/libnss_db.abilist: New file.
10192 * sysdeps/generic/libnss_dns.abilist: New file.
10193 * sysdeps/generic/libnss_files.abilist: New file.
10194 * sysdeps/generic/libnss_hesiod.abilist: New file.
10195 * sysdeps/generic/libnss_nis.abilist: New file.
10196 * sysdeps/generic/libnss_nisplus.abilist: New file.
10197 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10198 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10199 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10200 file.
10201 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10202 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10203 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10204 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10205 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10206 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10207 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10208 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10209 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10210 file.
10211 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10212 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10213 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10214 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10215 file.
10216 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10217 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10218 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10219 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10220 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10221 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10222 file.
10223 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10224 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10225 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10226 file.
10227 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10229 New file.
10230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10231 New file.
10232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10233 New file.
10234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10235 New file.
10236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10237 New file.
10238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10239 New file.
10240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10241 New file.
10242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10243 New file.
10244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10245 New file.
10246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10247 New file.
10248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10249 New file.
10250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10251 New file.
10252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10253 New file.
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10255 file.
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10257 New file.
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10259 New file.
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10261 file.
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10263 New file.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10265 New file.
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10267 file.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10269 New file.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10271 New file.
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10273 New file.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10275 New file.
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10277 New file.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10279 New file.
10280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10282 file.
10283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10284 New file.
10285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10286 file.
10287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10288 file.
10289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10290 file.
10291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10292 file.
10293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10294 file.
10295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10296 New file.
10297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10298 file.
10299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10300 file.
10301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10302 New file.
10303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10304 file.
10305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10307 file.
10308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10309 New file.
10310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10311 file.
10312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10313 file.
10314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10315 file.
10316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10317 file.
10318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10319 file.
10320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10321 New file.
10322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10323 file.
10324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10325 file.
10326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10327 New file.
10328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10329 file.
10330 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10331 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10332 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10333 file.
10334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10335 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10336 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10337 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10338 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10339 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10340 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10341 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10342 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10343 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10346 file.
10347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10348 New file.
10349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10350 file.
10351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10352 file.
10353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10354 file.
10355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10356 file.
10357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10358 file.
10359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10360 New file.
10361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10362 New file.
10363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10364 file.
10365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10366 New file.
10367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10368 file.
10369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10371 file.
10372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10373 New file.
10374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10375 file.
10376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10377 file.
10378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10379 file.
10380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10381 file.
10382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10383 file.
10384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10385 New file.
10386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10387 New file.
10388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10389 file.
10390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10391 New file.
10392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10393 file.
10394
41d73a1b
JM
103952012-04-28 Joseph Myers <joseph@codesourcery.com>
10396
10397 * conform/conformtest.pl: Fix typo in handling typed-constant from
10398 allow-header.
10399
28aeeda4
JM
104002012-04-27 Joseph Myers <joseph@codesourcery.com>
10401
adae8f5e
JM
10402 * README: Cut down references to pre-2.6 Linux kernels and
10403 Linuxthreads. Update lists of configurations in libc and ports
10404 and sort alphabetically. Say "or newer" with Linux kernel version
10405 requirements.
10406
28aeeda4
JM
10407 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10408
a462cb63
RA
104092012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10410
10411 [BZ #887]
10412 * math/libm-test.inc (logb_test_downward): New test to expose
10413 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10414 rounding mode.
10415
6ad3493e
JM
104162012-04-27 Joseph Myers <joseph@codesourcery.com>
10417
10418 [BZ #14027]
10419 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10420 to be done.
10421 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10422 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10423
2ce4f015
JM
104242012-04-26 Joseph Myers <joseph@codesourcery.com>
10425
5aeb141a
JM
10426 * sysdeps/unix/i386/brk.S: Remove file.
10427 * sysdeps/unix/i386/dl-brk.S: Likewise.
10428 * sysdeps/unix/i386/pipe.S: Likewise.
10429 * sysdeps/unix/i386/sigreturn.S: Likewise.
10430 * sysdeps/unix/i386/syscall.S: Likewise.
10431 * sysdeps/unix/i386/vfork.S: Likewise.
10432 * sysdeps/unix/i386/wait.S: Likewise.
10433
7143acae
JM
10434 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10435 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10436
2ce4f015
JM
10437 * configure.in (arm*-none*): Do not allow without
10438 --enable-hacker-mode.
10439 (netbsd*): Remove case setting base_os.
10440 (386bsd*): Likewise.
10441 (freebsd*): Likewise.
10442 (bsdi*): Likewise.
10443 (osf*): Likewise.
10444 (sunos*): Likewise.
10445 (ultrix*): Likewise.
10446 (newsos*): Likewise.
10447 (dynix*): Likewise.
10448 (*bsd*): Likewise.
10449 (sysv*): Likewise.
10450 (isc*): Likewise.
10451 (esix*): Likewise.
10452 (sco*): Likewise.
10453 (minix*): Likewise.
10454 (irix4*): Likewise.
10455 (irix6*): Likewise.
10456 (solaris[2-9]*): Likewise.
10457 (none): Likewise.
10458 * configure: Regenerated.
10459
0ac229c8
AZ
104602012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10461
10462 [BZ #11521]
10463 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10464 overflow or cancellation in calculating denominator.
10465 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10467 down expression to avoid unexpected rounding in newer GCCs.
10468 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10469
33f244f4
DM
104702012-04-26 David S. Miller <davem@davemloft.net>
10471
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10473 long-double compat symbols.
10474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10487
cfa1f3e8
DM
104882012-04-25 David S. Miller <davem@davemloft.net>
10489
10490 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10491 HWCAP_* values only after the memory barriers have been defined.
10492 (atomic_full_barrier): Define.
10493 (atomic_read_barrier): Define.
10494 (atomic_write_barrier): Define.
10495
6e236b92
SP
104962012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10497
10498 * shlib-versions: Add libgcc_s version information.
10499 * sysdeps/generic/libgcc_s.h: Remove.
10500 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10501 libgcc_s.h.
10502 * sysdeps/gnu/unwind-resume.c: Likewise.
10503 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10504
aab39a09
DM
105052012-04-25 David S. Miller <davem@davemloft.net>
10506
10507 * sysdeps/unix/sparc/brk.S: Delete.
10508 * sysdeps/unix/sparc/dl-brk.S: Delete.
10509 * sysdeps/unix/sparc/pipe.S: Delete.
10510 * sysdeps/unix/sparc/sysdep.S: Delete.
10511 * sysdeps/unix/sparc/sysdep.h: Delete.
10512 * sysdeps/unix/sparc/vfork.S: Delete.
10513 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10514 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10515 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10516 ret_ERRVAL, r0, r1, MOVE): Define.
10517 (JUMPTARGET): Remove.
10518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10519 sysdeps/unix/sparc/sysdep.h
10520 (ENTRY, END): Remove.
10521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10522
a3cc4f48
JM
105232012-04-25 Joseph Myers <joseph@codesourcery.com>
10524
2ed8cda2
JM
10525 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10526 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10527 -DIS_IN_build.
10528
35d76d59
JM
10529 * timezone/README: Update upstream location and email address for
10530 tzcode and tzdata.
10531 * timezone/zdump.c: Update from tzcode 2012b.
10532 * timezone/zic.c: Likewise.
10533
a3cc4f48
JM
10534 * configure.in (libc_cv_as_needed): Remove test.
10535 * configure: Regenerated.
10536 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10537 conditional definition.
10538 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10539 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10540 * config.make.in (have-as-needed): Remove variable.
10541
ceab42c3
SP
105422012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10543 Paul Pluzhnikov <ppluzhnikov@google.com>
10544
10545 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10546 strings correctly.
10547
3ce2865f
CLT
105482012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10549
10550 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10551 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10552 * sysdeps/sh/strlen.S: Likewise.
10553
f37e0d68
JM
105542012-04-24 Joseph Myers <joseph@codesourcery.com>
10555
ae186e9a
JM
10556 * sysdeps/unix/fork.S: Remove file.
10557 * sysdeps/unix/i386/fork.S: Likewise.
10558 * sysdeps/unix/sparc/fork.S: Likewise.
10559
b96914af
JM
10560 * sysdeps/unix/system.c: Remove file.
10561 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10562
f37e0d68
JM
10563 * sysdeps/unix/getegid.S: Remove file.
10564 * sysdeps/unix/geteuid.S: Likewise.
10565
87ef29ca
RM
105662012-04-24 Roland McGrath <roland@hack.frob.com>
10567
83bcd236
RM
10568 * scripts/check-localplt.awk: New file.
10569 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10570 of diff.
10571 * scripts/data/localplt-generic.data: Add a comment.
10572
87ef29ca
RM
10573 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10574 NODE when __dir_mkfile failed.
10575 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10576 Reported by Ludovic Courtès <ludo@gnu.org>.
10577
e5a6e567
AJ
105782012-04-24 Andreas Jaeger <aj@suse.de>
10579
10580 * Makerules (common-clean): Also remove gen-as-const-headers
10581 files.
10582
c1820385
JM
105832012-04-24 Joseph Myers <joseph@codesourcery.com>
10584
10585 * Makerules (native-compile): Do not change working directory for
10586 build. Use $(OUTPUT_OPTION) in command.
10587 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10588
94e02fc4
AZ
105892012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10590
10591 [BZ #13886]
10592 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10593 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10594 * math/libm-test.inc (floor_test): Add more tests.
10595 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10596
3a533ca3
JM
105972012-04-24 Joseph Myers <joseph@codesourcery.com>
10598
940ab4b3
JM
10599 * sysdeps/unix/getdents.c: Remove file.
10600 * sysdeps/unix/sysv/getdents.c: Likewise.
10601 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10602
90e037bd
JM
10603 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10604 sysdeps/unix/mman/syscalls.list.
10605 (mmap): Likewise.
10606 (mprotect): Likewise.
10607 (msync): Likewise.
10608 (munmap): Likewise.
10609 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10610 * sysdeps/unix/mman/syscalls.list: Remove.
10611 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10612
3a533ca3
JM
10613 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10614 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10615 * configure: Regenerated.
10616 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10617 $(libgcc_s_suffix).
10618 * config.make.in (libgcc_s_suffix): Remove variable.
10619
1ad743de
JM
106202012-04-23 Joseph Myers <joseph@codesourcery.com>
10621
4ad451e2
JM
10622 * sysdeps/unix/sysv/gethostname.c: Move to ...
10623 * sysdeps/posix/gethostname.c: ... here.
10624
5e37ce39
JM
10625 * sysdeps/unix/execve.S: Remove file.
10626
1ad743de
JM
10627 * sysdeps/unix/_exit.S: Remove file.
10628
4e681b5b
AJ
106292012-04-23 Andreas Jaeger <aj@suse.de>
10630
10631 [BZ #13739]
10632 * manual/Makefile: Remove make dist support, there's no
10633 need for a stand-alone documentation tar ball.
10634 (TEXI2DVI): Define always, it's not in Makeconfig.
10635 (dist): Removed.
10636 (tar-it): Removed.
10637 (edition): Removed.
10638 (glibc-doc-$(edition).tar): Removed
10639 (%.Z): Removed.
10640 (%.gz): Removed.
10641 (%.uu): Removed.
10642 (ETAGS): Remove, it's in Makeconfig.
10643 (move-if-change): Remove, it's in Makeconfig.
10644
c0baea34
PE
106452013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10646
10647 [BZ #13970]
10648 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10649 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10650 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10651 (strtod_l, strtof_l, strtold_l): Remove __wur.
10652 It is not necessarily an error to ignore strtol's return value.
10653 One can reliably look at the stored endptr to decide whether
10654 the number had valid syntax.
10655
7c0616fa
AJ
106562012-04-21 Andreas Jaeger <aj@suse.de>
10657
803cb6b7 10658 [BZ #13739]
7c0616fa
AJ
10659 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10660
b0fe253f
JM
106612012-04-21 Joseph Myers <joseph@codesourcery.com>
10662
10663 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10664 * sysdeps/unix/sysv/Versions: Remove file.
10665
8280f22d
MT
106662012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10667
10668 [BZ #13927]
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10670
75ce411f 106712012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10672
10673 [BZ #7064]
10674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10675 version from __vm86.
10676
097d59fa
JM
106772012-04-20 Joseph Myers <joseph@codesourcery.com>
10678
a90f3bcb
JM
10679 * sysdeps/unix/common/lxstat.c: Remove file.
10680 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10681
edc7ea78
JM
10682 * sysdeps/unix/sysv/Makefile: Remove file.
10683
cb78c221
JM
10684 * sysdeps/unix/sysv/direct.h: Remove file.
10685
efa6a45f
JM
10686 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10687 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10688 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10689 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10690 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10691 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10692 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10693
9c9f2d0c
JM
10694 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10695
4541c83b
JM
10696 * sysdeps/unix/xmknod.c: Remove file.
10697 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10698
f5d153a0
JM
10699 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10700
aa746595
JM
10701 * sysdeps/unix/sysv/i386/time.S: Remove file.
10702
cce5905e
JM
10703 * sysdeps/unix/fxstat.c: Remove file.
10704 * sysdeps/unix/xstat.c: Likewise.
10705 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10706
37fa3841
JM
10707 * sysdeps/unix/sysv/sigaction.c: Remove file.
10708
ff1962a3
JM
10709 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10710 (sysdep_headers): Remove variable.
10711 [termio.h not in sysdep_headers] (generated): Likewise.
10712 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10713 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10714 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10715 * sysdeps/unix/sysv/tcflow.c: Likewise.
10716 * sysdeps/unix/sysv/tcflush.c: Likewise.
10717 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10718 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10719 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10720 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10721 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10722
e7740d31
JM
10723 * sysdeps/unix/siglist.c: Remove file.
10724
ee06f18b
JM
10725 * sysdeps/unix/getppid.S: Remove file.
10726
097d59fa
JM
10727 * sysdeps/unix/mkdir.c: Remove file.
10728 * sysdeps/unix/rmdir.c: Likewise.
10729
ff3d51ec
AS
107302012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10731
10732 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10733 ERR_MAX value.
10734 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10735 errlist-compat value.
10736
50f81fd7
DM
107372012-04-18 David S. Miller <davem@davemloft.net>
10738
10739 * sysdeps/generic/memcopy.h (reg_char): Delete.
10740 * debug/strcat_chk.c: Use char, not reg_char.
10741 * debug/strcpy_chk.c: Likewise.
10742 * debug/strncat_chk.c: Likewise.
10743 * debug/strncpy_chk.c: Likewise.
10744 * string/memchr.c: Likewise.
10745 * string/memrchr.c: Likewise.
10746 * string/rawmemchr.c: Likewise.
10747 * string/strcat.c: Likewise.
10748 * string/strchr.c: Likewise.
10749 * string/strchrnul.c: Likewise.
10750 * string/strcmp.c: Likewise.
10751 * string/strcpy.c: Likewise.
10752 * string/strncat.c: Likewise.
10753 * string/strncmp.c: Likewise.
10754 * string/strncpy.c: Likewise.
10755
8ff41c46
WS
107562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10757
10758 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10759 __builtin_memcopy is called when src and dest ranges are known to not
10760 overlap.
10761
6b652f46
WS
107622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10763
10764 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10765 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10766 fwd_align_merge macro call.
10767 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10768 bwd_align_merge macro call.
10769 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10770
b282631e
WS
107712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10772
10773 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10774 bwd_align_merge macros.
10775 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10776 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10777 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10778
95aa737c
DM
107792012-04-18 David S. Miller <davem@davemloft.net>
10780
10781 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10782
7a99a614
AJ
107832012-04-18 Andreas Jaeger <aj@suse.de>
10784
10785 [BZ# 6794]
10786 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10787 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10788 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10789
10790 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10791 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10792 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10793
10794 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10795 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10796 Adjust for changed ldbl-128 files.
10797
10798 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10799 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10800 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10801
e5270c23
DM
108022012-04-17 David S. Miller <davem@davemloft.net>
10803
10804 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10805
fb5e92c9
AS
108062012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10807
10808 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10809 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10810 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10811 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10812 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10813 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10814
76da7265
AZ
108152012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10816
10817 [BZ #6794]
10818 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10819 * math/libm-test.inc: Add ilogb errno and exception tests.
10820 * math/w_ilogb.c: New file: ilogb wrapper.
10821 * math/w_ilogbf.c: New file: ilogbf wrapper.
10822 * math/w_ilogbl.c: New file: ilogbl wrapper.
10823 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10824 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10825 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10826 exception being thrown with 0.0 as argument.
10827 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10828 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10829 exception being thrown with 0.0 as argument.
10830 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10831 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10832 exception being thrown with 0.0 as argument.
10833 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10834 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10835 exception being thrown with 0.0 as argument.
10836 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10837 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10838 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10839 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10840 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10841 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10842 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10843 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10844 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10845
0396e69d
PB
108462012-04-17 Petr Baudis <pasky@ucw.cz>
10847
10848 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10849 with altivec.
10850
750b5926
MP
108512012-04-16 Marek Polacek <polacek@redhat.com>
10852
10853 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10854
751728a1
MP
108552012-04-16 Marek Polacek <polacek@redhat.com>
10856
10857 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10858 operands of fdivp instruction.
10859
34a27407
L
108602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10861
10862 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10863 * elf/tst-auditmod3b.c: Likewise.
10864 * elf/tst-auditmod4b.c: Likewise.
10865 * elf/tst-auditmod5b.c: Likewise.
10866 * elf/tst-auditmod6b.c: Likewise.
10867 * elf/tst-auditmod6c.c: Likewise.
10868 * elf/tst-auditmod7b.c: Likewise.
10869 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10870 * sysdeps/x86_64/preconfigure.in: Likewise.
10871 * sysdeps/x86_64/preconfigure: Regenerated.
10872
7e73e17d
L
108732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10874
10875 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10876 __ILP32__.
10877
c7a6ab72
AB
108782012-04-13 Antoine Balestrat <merkil33@gmail.com>
10879
10880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10881 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10882
a9e8e0e0
CL
108832012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10884
10885 [BZ #13973]
10886 * locale/iso-639.def: Fix gl language name. Spotted by
10887 Yaron Shahrabani.
10888
ec98af7d
RM
108892012-04-12 Roland McGrath <roland@hack.frob.com>
10890
10891 [BZ #2074]
10892 * libio/libio.h (__io_write_fn): Update comment.
10893
247c3ede
PB
108942012-04-12 Petr Baudis <pasky@ucw.cz>
10895
10896 [BZ #2074]
10897 * stdio.texi (Hook Functions): The user provided writer function
10898 is not allowed to return -1.
10899
55939d6d
DM
109002012-04-11 David S. Miller <davem@davemloft.net>
10901
10902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10903
90020f5a
MF
109042012-04-11 Mike Frysinger <vapier@gentoo.org>
10905
10906 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10907 Add a leading slash to rtkaio.
10908
288f9098
JM
109092012-04-11 Jim Meyering <meyering@redhat.com>
10910
90020f5a
MF
10911 [BZ #11959]
10912 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10913 It is not necessarily an error to ignore fwrite's return
10914 value. One can reliably use ferror to test for errors after
10915 the fact.
288f9098 10916
4be2b570
L
109172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10918
10919 * bits/types.h (__snseconds_t): New type.
10920 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10921
10922 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10924 (__SNSECONDS_T_TYPE): Likewise.
10925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10926 (__SNSECONDS_T_TYPE): Likewise.
10927 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10928 (__SNSECONDS_T_TYPE): Likewise.
10929
288f9098 109302012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10931
10932 [BZ #2636]
10933 * manual/time.texi (Processor Time): Return type of times is
10934 elapsed real time since an arbitrary point in the past.
10935 (CPU Time): Move CLK_TCK from here...
10936 (Processor Time): ...to here. Correct description.
10937 * manual/conf.texi (Constants for Sysconf): Correct description of
10938 _SC_CLK_TCK.
10939
d7dd4413
DM
109402012-04-10 David S. Miller <davem@davemloft.net>
10941
10942 [BZ #13967]
10943 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10944 where the is a gap between DT_REL(A) and DT_JMPREL.
10945
b46068fc
L
109462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10947
10948 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10949 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10950 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10951
73d65cc3
SP
109522012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10953
10954 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10955 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10956 (dl_main): Handle --inhibit-cache.
10957 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10958 _dl_inhibit_cache.
10959 * elf/dl-load.c (_dl_map_object): Use it.
10960 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10961
bcc8d661
JM
109622012-04-09 Joseph Myers <joseph@codesourcery.com>
10963
8f9a2fae
JM
10964 [BZ #13872]
10965 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10966 (__ieee754_powl): Saturate large exponents rather than testing for
10967 overflow of y*log2(x).
10968 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10969 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10970 exceptions.
10971
bcc8d661
JM
10972 [BZ #11521]
10973 * math/s_ctan.c: Include <float.h>.
10974 (__ctan): Avoid internal overflow or cancellation in calculating
10975 denominator.
10976 * math/s_ctanf.c: Likewise.
10977 * math/s_ctanl.c: Likewise.
10978 * math/s_ctanh.c: Likewise.
10979 * math/s_ctanhf.c: Likewise.
10980 * math/s_ctanhl.c: Likewise.
10981 * math/libm-test.inc (ctan_test): Add more tests.
10982 (ctanh_test): Likewise.
10983 * sysdeps/i386/fpu/libm-test-ulps: Update.
10984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985
823fbbb4
AJ
109862012-04-09 Andreas Jaeger <aj@suse.de>
10987
03879793
AJ
10988 [BZ #6894]
10989 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10990 is an optional BSD extension.
10991
823fbbb4
AJ
10992 [BZ #10254]
10993 * manual/stdio.texi (Opening Streams): Document additional fopen
10994 parameters.
10995
8de131cb
RM
109962012-04-09 Roland McGrath <roland@hack.frob.com>
10997
10998 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10999 %eax without telling the compiler.
11000
c0ed9d7d
CD
110012012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11002
11003 [BZ # 13963]
11004 * manual/install.texi: Use sourceware.org.
11005
c483f6b4
JM
110062012-04-09 Joseph Myers <joseph@codesourcery.com>
11007
d7dd9453
JM
11008 [BZ #13873]
11009 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11010 (__ieee754_pow): Generate overflow and underflow using huge*huge
11011 and tiny*tiny rather than just returning constant infinity or zero
11012 for large exponents.
11013 * math/libm-test.inc (pow_test): Require overflow exceptions for
11014 applicable cases of large exponents.
11015
c483f6b4
JM
11016 [BZ #706]
11017 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11018 (__ieee754_pow): Use iterative multiplication algorithm only for
11019 integer exponents with absolute value below 1024. Check for odd
11020 integer exponents when using algorithm for real exponents.
11021 * math/libm-test.inc (pow_test): Add more tests.
11022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11023
d2de7579
JM
110242012-04-08 Joseph Myers <joseph@codesourcery.com>
11025
11026 [BZ #13705]
11027 * math/libm-test.inc (exp_test): Do not allow overflow exception
11028 on underflow test.
11029
f77f1232
AJ
110302012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11031
11032 [BZ #13705]
11033 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11034 instead of __kernel_standard_f.
11035
3884932b
MF
110362012-04-08 Mike Frysinger <vapier@gentoo.org>
11037
11038 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11039 * sysdeps/x86_64/memset_chk.S: Likewise.
11040
54472e9c
AJ
110412012-04-08 Andreas Jaeger <aj@suse.de>
11042
6ab0fbfc
AJ
11043 [BZ #10153]
11044 * manual/startup.texi (Environment Access): Describe return value
11045 for putenv and setenv.
11046
61efba8c
AJ
11047 [BZ #6895]
11048 * manual/filesys.texi (Directory Entries): Add description for
11049 DT_LNK.
11050
95c3f29a
AJ
11051 [BZ #6890]
11052 * manual/filesys.texi (Directory Entries): Clarify that it's file
11053 system not operating system in the description of DT_UNKNOWN.
11054
54472e9c
AJ
11055 [BZ #6578]
11056 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11057
624254b1
SC
110582012-04-08 Stephen Compall <s11@member.fsf.org>
11059
11060 [BZ #6649]
11061 * manual/llio.texi (Opening and Closing Files): Add cross
11062 reference to explain mode argument.
11063
1e4920e0
MF
110642012-04-07 Mike Frysinger <vapier@gentoo.org>
11065
11066 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11067 * sysdeps/x86_64/memset_chk.S: Likewise.
11068
5ed848f3
DM
110692012-04-07 David S. Miller <davem@davemloft.net>
11070
11071 * elf/elf.h (R_SPARC_WDISP10): Define.
11072 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11073 R_SPARC_SIZE32.
11074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11075 R_SPARC_SIZE64 and R_SPARC_H34.
11076
96154cd8
CD
110772012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11078
11079 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11080 conditions and remove no longer applicable assertion.
11081
9904dc47
L
110822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11083
11084 * bits/byteswap.h: Include <features.h>.
11085 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11086 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11087
f8887d0a
L
110882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11089
11090 * bits/byteswap.h (__bswap_16): Removed.
11091 Include <bits/byteswap-16.h> to get __bswap_16.
11092 * sysdeps/i386/bits/byteswap.h: Likewise.
11093 * sysdeps/s390/bits/byteswap.h: Likewise.
11094 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11095 * bits/byteswap-16.h: New file.
11096 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11097 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11098 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11099 * string/Makefile (headers): Add bits/byteswap-16.h.
11100
62470f60
PP
111012012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11102
11103 [BZ #13895]
11104 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11105 extra indirection.
11106 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11107 * nss/tst-nss-static.c: New.
11108
4dad7bab
RM
111092012-04-06 Robert Millan <rmh@gnu.org>
11110
11111 [BZ #6486]
11112 * manual/llio.texi (File Position Primitive): lseek
11113 refers to WHENCE when it really means OFFSET.
11114
e9142a17
AJ
111152012-04-06 Andreas Jaeger <aj@suse.de>
11116
2c040eff
AJ
11117 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11118 strncmp declarations.
11119
e9142a17
AJ
11120 * abilist/libc.abilist: Add __poll and __ppoll.
11121
ff9f1c5f
DM
111222012-04-05 David S. Miller <davem@davemloft.net>
11123
dcd2ae90
DM
11124 * scripts/check-local-headers.sh: Accept a host triplet in the
11125 path matched by the exclude regexp.
11126
993eb054
DM
11127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11128 definition.
11129 * sysdeps/powerpc/powerpc32/dl-machine.h
11130 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11131 * sysdeps/s390/s390-32/dl-machine.h
11132 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11133 * sysdeps/sparc/sparc32/dl-machine.h
11134 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11135 * sysdeps/sparc/sparc64/dl-machine.h
11136 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11137
ff9f1c5f
DM
11138 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11139 lazy binding.
48e2e132 11140 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11141 undefined symbol errors.
11142
48e2e132 11143 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11144 DT_NEEDED entries.
11145
e80d6f94
MM
111462012-04-05 Michael Matz <matz@suse.de>
11147
11148 [BZ #13592]
11149 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11150
349fa79f
AJ
111512012-04-05 Andreas Jaeger <aj@suse.de>
11152
11153 [BZ #13908]
11154 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11155 comment.
11156
f402708f
KK
111572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11158
11159 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11160 which ROUND is no valid rounding mode.
11161
2ecccfc9
KK
111622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11163
11164 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11165 read again.
11166 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11167
8a53f50f
KK
111682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11169
11170 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11171 an exception using FPU order intentionally.
11172
111732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11174
11175 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11176 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11177 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11178 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11179
d653abb7
SJ
111802012-04-05 Simon Josefsson <simon@josefsson.org>
11181
11182 [BZ #12340]
11183 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11184 EINVAL when BUFLEN is too smal.
11185
c3b1bf7d
TS
111862012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11187
11188 [BZ #13553]
11189 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11190 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11191
b1aa60f3
AJ
111922012-04-03 Andreas Jaeger <aj@suse.de>
11193
c3b1bf7d 11194 [BZ #13938]
67f60a26
AJ
11195 * manual/setjmp.texi (System V contexts): Fix sentence.
11196
b1aa60f3
AJ
11197 [BZ #13926]
11198 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11199 New macro for this case.
11200 [!__GNUC__] (__bswap_64): New inline function for this case.
11201 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11202 * bits/byteswap.h: Likewise.
11203 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11204 ull, guard with __GLIBC_HAVE_LONG_LONG.
11205
11206 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11207 __GLIBC_HAVE_LONG_LONG.
11208
11209 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11210 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11211
39c59c35
TMQMF
112122012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11213
11214 [BZ #13691]
11215 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11216 inptr and inend, rather than using last_ch.
11217
135ffda8
DM
112182012-04-02 David S. Miller <davem@davemloft.net>
11219
11220 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11221 * stdio-common/printf-parse.h (read_int): Change return type to
11222 'int', return -1 on INT_MAX overflow.
11223 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11224 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11225 overflows INT_MAX. Check for overflow of in-format-string precision
11226 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11227 SIZE_MAX not INT_MAX for integer overflow test.
11228 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11229 skip the construct in the format string but do not record anything.
11230 * stdio-common/bug22.c: Adjust to test both width/prevision
11231 INT_MAX overflow as well as total length INT_MAX overflow. Check
11232 explicitly for proper errno values.
11233
228c019e
TS
112342012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11235
302cadd3
TS
11236 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11237 CHAR_MAX.
11238 * string/test-strcmp.c [! WIDE]: Likewise.
11239 * time/tst-mktime2.c: Likewise for INT_MAX.
11240 * string/test-string.h: #include <sys/param.h> for MIN.
11241
228c019e
TS
11242 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11243 * sysdeps/i386/init-first.c (init): Likewise.
11244 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11245 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11246 * sysdeps/sh/init-first.c (init): Likewise.
11247
cfa633f5
UD
112482012-04-01 Ulrich Drepper <drepper@gmail.com>
11249
11250 * po/ru.po: Update from translation team.
d1635ef8 11251 * po/vi.po: Likewise.
cfa633f5 11252
6cd0a5ea
SP
112532012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11254
11255 * resolv/nss_dns/dns-host.c: Merge copyright years.
11256
4b43400f
LD
112572012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11258
11259 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11260 Optimize memcpy with prefetch if
11261 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11262 src, dst pointers have unequal 16 byte alignments.
11263
48c41d04
SP
112642012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11265
11266 [BZ #13928]
11267 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11268 from a CNAME entry and return the minimum ttl for the query.
11269 (gaih_getanswer_slice): Likewise.
11270
b8dc394d
JL
112712012-03-30 Jeff Law <law@redhat.com>
11272
11273 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11274 due to long keys.
11275 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11276 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11277
2f5a5ed0
JL
11278 * resolv/nss_dns/dns-host.c: Update copyright year.
11279
1d39e359
UD
112802012-03-30 Ulrich Drepper <drepper@gmail.com>
11281
c030f70c 11282 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11283 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11284
1d39e359
UD
11285 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11286 comments for sendmmsg.
11287
112882012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11289
11290 [BZ #13691]
11291 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11292 with only 1 character between 0x0041 and 0x01b0.
11293 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11294 * wcsmbs/tst-mbsnrtowcs.c: New file.
11295
20fde227
DM
112962012-03-29 David S. Miller <davem@davemloft.net>
11297
11298 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11299 small copies by hand.
11300
984a4237
JL
113012012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11302
11303 [BZ #13761]
11304 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11305 _nss_compat_initgroups_dyn): Fall back to malloc/free
11306 for large group memberships.
11307
18c9d62b
DM
113082012-03-28 David S. Miller <davem@davemloft.net>
11309
88d85d4f
DM
11310 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11311 that branches into memcpy.
11312 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11314 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11315 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11317 bits.
11318 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11319 implementation too.
11320 * sysdeps/sparc/mempcpy.S: New file.
11321
e5aa83e1
DM
11322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11323 the IFUNC routine in the libc case.
11324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11325
88570753
DM
11326 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11327 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11328 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11329 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11330 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11331 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11332 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11333 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11334
249d7567
DM
11335 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11336 loop to 256 bytes instead of 64 bytes and fix test signedness.
11337
18c9d62b
DM
11338 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11339 * sysdeps/sparc/sparc32/Makefile: rather than here...
11340 * sysdeps/sparc/sparc64/Makefile: and here.
11341
05f3d1f6
UD
113422012-03-28 Ulrich Drepper <drepper@gmail.com>
11343
11344 * malloc/mallocbug.c: Avoid warnings about unused variables.
11345
86ae07a8
JL
113462012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11347
11348 [BZ #13760]
11349 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11350 in the right place. Discard and retry query if response is
11351 larger than input buffer size.
11352
41bf21a1
JM
113532012-03-28 Joseph Myers <joseph@codesourcery.com>
11354
d6270972
JM
11355 [BZ #369]
11356 [BZ #2678]
11357 [BZ #3866]
11358 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11359 x for large integer exponent.
11360 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11361 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11362 sign of result as needed afterwards.
11363 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11364 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11365 result for underflowing pow the same as for overflow.
11366 (__kernel_standard_l): Handle powl overflow and underflow here
11367 rather than calling __kernel_standard.
11368 * math/libm-test.inc (pow_test): Add more tests.
11369
414fca03 11370 [BZ #3868]
41bf21a1
JM
11371 [BZ #13879]
11372 [BZ #13910]
11373 [BZ #13911]
11374 [BZ #13912]
11375 [BZ #13913]
11376 [BZ #13915]
11377 [BZ #13916]
11378 [BZ #13917]
11379 [BZ #13918]
11380 [BZ #13919]
11381 [BZ #13920]
11382 [BZ #13921]
11383 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11384 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11385 (__kernel_standard_l): New function.
11386 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11387 __kernel_standard.
11388 * math/w_acosl.c (__acosl): Likewise.
11389 * math/w_asinl.c (__asinl): Likewise.
11390 * math/w_atan2l.c (__atan2l): Likewise.
11391 * math/w_atanhl.c (__atanhl): Likewise.
11392 * math/w_coshl.c (__coshl): Likewise.
11393 * math/w_exp10l.c (__exp10l): Likewise.
11394 * math/w_exp2l.c (__exp2l): Likewise.
11395 * math/w_fmodl.c (__fmodl): Likewise.
11396 * math/w_hypotl.c (__hypotl): Likewise.
11397 * math/w_j0l.c (__j0l, __y0l): Likewise.
11398 * math/w_j1l.c (__j1l, __y1l): Likewise.
11399 * math/w_jnl.c (__jnl, __ynl): Likewise.
11400 * math/w_lgammal.c (__lgammal): Likewise.
11401 * math/w_log10l.c (__log10l): Likewise.
11402 * math/w_log2l.c (__log2l): Likewise.
11403 * math/w_logl.c (__logl): Likewise.
11404 * math/w_powl.c (__powl): Likewise.
11405 * math/w_remainderl.c (__remainderl): Likewise.
11406 * math/w_scalbl.c (sysv_scalbl): Likewise.
11407 * math/w_sinhl.c (__sinhl): Likewise.
11408 * math/w_sqrtl.c (__sqrtl): Likewise.
11409 * math/w_tgammal.c (__tgammal): Likewise.
11410 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11411 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11412 * math/libm-test.inc (acos_test): Add more tests.
11413 (acosh_test): Likewise.
11414 (asin_test): Likewise.
11415 (atanh_test): Likewise.
11416 (exp_test): Likewise.
11417 (exp10_test): Likewise.
11418 (exp2_test): Likewise.
11419 (expm1_test): Likewise.
11420 (lgamma_test): Likewise.
11421 (log_test): Likewise.
11422 (log10_test): Likewise.
11423 (log1p_test): Likewise.
11424 (log2_test): Likewise.
11425 (pow_test): Do not allow some spurious overflow exceptions.
11426 (sqrt_test): Add more tests.
11427 (tgamma_test): Likewise.
11428 (y0_test): Likewise.
11429 (y1_test): Likewise.
11430 (yn_test): Likewise.
11431
dd62fda6
AB
114322012-03-27 Anton Blanchard <anton@samba.org>
11433
11434 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11435 MAP_HUGETLB.
11436 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11437 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11438 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11439
1e3cdfda
AJ
114402012-03-27 David S. Miller <davem@davemloft.net>
11441
b855ab85
DM
11442 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11443
1e3cdfda
AJ
11444 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11445 have-as-vis3 check.
11446
114472012-03-27 Andreas Jaeger <aj@suse.de>
11448
11449 * sysdeps/x86_64/elf/configure.in: Moved to ...
11450 * sysdeps/x86_64/configure.in: ... here.
11451 * sysdeps/x86_64/elf/start.S: Moved to ...
11452 * sysdeps/x86_64/start.S: ... here.
11453 * sysdeps/x86_64/elf/configure: Delete.
11454
11455 * sysdeps/x86_64/configure.in: Merge contents from
11456 sysdeps/i386/configure.in (without i686 check).
11457
11458 * sysdeps/i386/elf/Versions: Merge into ...
11459 * sysdeps/i386/Versions: ... this.
11460 * sysdeps/i386/elf/Versions: Delete file.
11461 * sysdeps/i386/elf/start.S: Moved to ...
11462 * sysdeps/i386/start.S: ...here.
11463 * sysdeps/i386/elf/configure.in: Merge into...
11464 * sysdeps/i386/configure.in: ...here.
11465 * sysdeps/i386/elf/configure.in: Delete file.
11466 * sysdeps/i386/elf/configure: Delete file.
11467
11468 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11469 * debug/backtracesyms.c: ... here.
11470 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11471 * debug/backtracesymsfd.c: ... here.
11472 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11473 * sysdeps/generic/ifunc-sel.h: ... here.
11474
11475 * sysdeps/unix/i386/start.c: Delete file.
11476 * sysdeps/unix/sparc/start.c: Delete file.
11477 * sysdeps/unix/start.c: Delete file.
11478
11479 * sysdeps/sh/elf/configure.in: Moved to ...
11480 * sysdeps/sh/configure.in: ... here.
11481 * sysdeps/sh/elf/start.S: Moved to ...
11482 * sysdeps/sh/start.S: ... here.
11483 * sysdeps/sh/elf/configure: Delete file.
11484
11485 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11486 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11487 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11488 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11489 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11490 * sysdeps/powerpc/powerpc64/start.S: here.
11491 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11492 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11493 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11494 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11495 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11496
11497 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11498 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11499 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11500 * sysdeps/powerpc/powerpc32/start.S: ... here.
11501 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11502 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11503 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11504
11505 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11506 * sysdeps/powerpc/ifunc-sel.h: ... here.
11507 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11508 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11509
11510 * sysdeps/sparc/elf/configure.in: Moved to ...
11511 * sysdeps/sparc/configure.in: ... here.
11512 * sysdeps/sparc/elf/configure: Delete file.
11513 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11514 * sysdeps/sparc/sparc32/start.S: ... here.
11515 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11516 * sysdeps/sparc/sparc64/start.S: ... here.
11517 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11518 * sysdeps/sparc/sparc32/Makefile: ... this.
11519 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11520 * sysdeps/sparc/sparc64/Makefile: ... this.
11521
11522 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11523 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11524 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11525 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11526 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11527 * sysdeps/s390/s390-32/setjmp.S: ... here.
11528 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11529 * sysdeps/s390/s390-32/configure.in: ... here.
11530 * sysdeps/s390/s390-32/elf/configure: Delete file.
11531 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11532 * sysdeps/s390/s390-32/start.S: ... here.
11533
11534 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11535 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11536 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11537 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11538 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11539 * sysdeps/s390/s390-64/setjmp.S: ... here.
11540 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11541 * sysdeps/s390/s390-64/configure.in: ... here
11542 * sysdeps/s390/s390-64/elf/configure: Delete file.
11543 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11544 * sysdeps/s390/s390-64/start.S: ... here.
11545 * sysdeps/s390/s390-64/elf/configure: Delete.
11546
11547 * configure.in: Remove support for elf directories in sysdeps.
11548
11549 * configure: Regenerated.
11550 * sysdeps/i386/configure: Regenerated.
11551 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11552 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11553 * sysdeps/s390/s390-32/configure: Regenerated.
11554 * sysdeps/s390/s390-64/configure: Regenerated.
11555 * sysdeps/sh/configure: Regenerated.
11556 * sysdeps/sparc/configure: Regenerated.
11557 * sysdeps/x86_64/configure: Regenerated.
11558
a3f61311
AS
115592012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11560
c876e002
AS
11561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11562
a3f61311
AS
11563 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11564 denormal result into account.
11565
ac4c54f0
RM
115662012-03-25 Roland McGrath <roland@hack.frob.com>
11567
11568 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11569 Reported by Allan McRae <allan@archlinux.org>.
11570
6a9b9c02
JL
115712012-03-23 Jeff Law <law@redhat.com>
11572
11573 * nss/getnssent.c (__nss_getent): Fix typo.
11574
4c42a0c1
DM
115752012-03-23 David S. Miller <davem@davemloft.net>
11576
11577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11578
1532c7ac
L
115792012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11580
11581 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11582 to pad to uint64_t for each field.
11583 (dl_tls_index): Replace unsigned long with uint64_t.
11584
3ff42526
PP
115852012-03-23 Daniel Jacobowitz <dmj@google.com>
11586 Paul Pluzhnikov <ppluzhnikov@google.com>
11587
11588 [BZ #6528]
11589 * grp/Makefile (otherlibs): Don't set it.
11590 * inet/Makefile (otherlibs): Likewise.
11591 * login/Makefile (otherlibs): Likewise.
11592 * nscd/Makefile (otherlibs): Likewise.
11593 * posix/Makefile (otherlibs): Likewise.
11594 * pwd/Makefile (otherlibs): Likewise.
11595 * rt/Makefile (otherlibs): Likewise.
11596 * sunrpc/Makefile (otherlibs): Likewise.
11597 * nss/Makefile (otherlibs): Likewise.
11598 Add libnss_files to routines and static-only-routines.
11599 ($(objpfx)getent): Remove rule.
11600 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11601 static-only-routines.
11602
7c69cd14
JM
116032012-03-22 Joseph Myers <joseph@codesourcery.com>
11604
11605 [BZ #13892]
11606 * math/s_cexp.c: Include <float.h>.
11607 (__cexp): Handle exp result overflowing not necessarily
11608 overflowing both real and imaginary parts of result.
11609 * math/s_cexpf.c: Likewise.
11610 * math/s_cexpl.c: Likewise.
11611 * math/libm-test.inc (cexp_test): Add more tests.
11612 * sysdeps/i386/fpu/libm-test-ulps: Update.
11613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11614
81b035fe
L
116152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11616
11617 * include/link.h (ELFW): New macro.
11618 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11619 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11620
1da7940c
L
116212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11622
11623 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11624 with uint64_t.
11625
b749dbb9
L
116262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11627
11628 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11629 declaration.
11630 (struct La_x32_retval): Likewise.
11631
2ff87f3f
L
116322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11633
11634 * sysdeps/x86_64/preconfigure.in: New file.
11635 * sysdeps/x86_64/preconfigure: New generated file.
11636
c0df8e69
JM
116372012-03-22 Joseph Myers <joseph@codesourcery.com>
11638
48e44791
JM
11639 [BZ #13824]
11640 * math/e_exp2l.c: Include <float.h>.
11641 (__ieee754_exp2l): Handle overflow and underflow cases
11642 separately. Only pass fractional part of argument to
11643 __ieee754_expl.
11644 * math/libm-test.inc (exp2_test): Add more tests.
11645
c0df8e69
JM
11646 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11647 negating x to take absolute value.
11648 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11649 Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11652 Likewise.
11653 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11654 computing low part if x was negated.
11655 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11656
c8e43ba7
L
116572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11658
11659 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11660 la_x32_gnu_pltexit.
11661 (pltexit): Cast int_retval to ptrdiff_t.
11662 * elf/tst-auditmod3b.c: Likewise.
11663 * elf/tst-auditmod4b.c: Likewise.
11664 * elf/tst-auditmod5b.c: Likewise.
11665 * elf/tst-auditmod6b.c: Likewise.
11666 * elf/tst-auditmod6c.c: Likewise.
11667 * elf/tst-auditmod7b.c: Likewise.
11668
11669 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11670 and x32_gnu_pltexit.
11671
11672 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11673 __ELF_NATIVE_CLASS.
11674 (La_x32_regs): New macro.
11675 (La_x32_retval): Likewise.
11676 (la_x32_gnu_pltenter): New function prototype.
11677 (la_x32_gnu_pltexit): Likewise.
11678
7998fa78
AS
116792012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11680
dcb33988
AS
11681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11682 exponent.
11683
233fc563
AS
11684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11685
7998fa78
AS
11686 * configure.in (libc_cv_cc_nofma): Check for option to disable
11687 generation of FMA instructions.
11688 * configure: Regenerate.
11689 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11690 * sysdeps/ieee754/dbl-64/Makefile: New file.
11691 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11692 Remove brandred-fma4.
11693 (CFLAGS-brandred-fma4.c): Remove.
11694 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11695 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11696 define.
11697 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11698 define.
11699
8e95c99a
L
117002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11701
11702 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11703 LLONG_MAX != LONG_MAX.
11704 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11705 (_fitoa_word): Likewise.
11706 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11707 LLONG_MAX != LONG_MAX.
11708 * stdio-common/_itowa.h: Include <_itoa.h>.
11709 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11710 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11711 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11712 only if not defined.
11713 (_ITOA_WORD_TYPE): Likewise.
11714 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11715 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11716
6f4db457
DM
117172012-03-21 David S. Miller <davem@davemloft.net>
11718
11719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11720
7785fe5a
L
117212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11722
11723 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11724 of x86_64 when setting libc_cv_slibdir, libdir and
11725 libc_cv_localedir.
11726 * sysdeps/unix/sysv/linux/configure: Regenerated.
11727
4535cd55
JM
117282012-03-21 Joseph Myers <joseph@codesourcery.com>
11729
11730 * manual/lang.texi (Old Varargs): Remove section.
11731 (How Variadic): Update menu.
11732 (va_start): Do not mention varargs.h.
11733
17228132
TS
117342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11735 Joseph Myers <joseph@codesourcery.com>
11736
11737 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11738 link test.
11739 * configure: Regenerated.
11740
8149f976
TS
117412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11742
05f3d1f6
UD
11743 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11744 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11745 conformtest.pl
8149f976 11746
1a4ac776
JM
117472012-03-21 Joseph Myers <joseph@codesourcery.com>
11748
be22ce65
JM
11749 * NOTES: Remove.
11750 * Makefile (files-for-dist): Remove NOTES.
11751 (NOTES): Remove rule.
11752 * README: Don't refer to NOTES.
11753 * manual/creature.texi: Don't include macros.texi.
11754 * manual/intro.texi (creature.texi): Remove comment referring to
11755 NOTES.
11756
40b601fb
JM
11757 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11758 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11759 * configure: Regenerated.
11760 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11761 LIBC_TRY_CC_OPTION.
11762 (libc_cv_as_i686): Likewise.
11763 (libc_cv_cc_avx): Likewise.
11764 (libc_cv_cc_sse2avx): Likewise.
11765 (libc_cv_cc_fma4): Likewise.
11766 (libc_cv_cc_novzeroupper): Likewise.
11767 * sysdeps/i386/configure: Regenerated.
11768
1a4ac776
JM
11769 [BZ #13883]
11770 * sysdeps/i386/fpu/s_cexp.S: Remove.
11771 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11772 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11773 * math/libm-test.inc (cexp_test): Add more tests.
11774 * sysdeps/i386/fpu/libm-test-ulps: Update.
11775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11776
a458e7fe
AM
117772012-03-21 Allan McRae <allan@archlinux.org>
11778
11779 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11780
0cb7efc5
JM
117812012-03-21 Joseph Myers <joseph@codesourcery.com>
11782
11783 [BZ #13871]
11784 * math/w_exp2.c: Do not include <float.h>.
11785 (o_threshold, u_threshold): Remove.
11786 (__exp2): Calculate result before checking finiteness and calling
11787 __kernel_standard.
11788 * math/w_exp2f.c: Likewise.
11789 * math/w_exp2l.c: Likewise.
11790 * math/libm-test.inc (exp2_test): Require overflow exception for
11791 1e6 input.
2460d3aa
JM
11792
11793 [BZ #3866]
11794 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11795 range of signed 64-bit integers before using fistpll. Remove
11796 checks for whether integers fit in mantissa bits.
11797 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11798 the range of signed 32-bit integers before using fistpl. Remove
11799 checks for whether integers fit in mantissa bits.
11800 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11801 (__ieee754_powl): Test for y outside the range of signed 64-bit
11802 integers before using fistpll. Reduce 64-bit values to 63-bit
11803 ones as needed.
11804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11805 divide-by-zero is raised for zero to large negative powers.
11806 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11807 (__ieee754_powl): Test for y outside the range of signed 64-bit
11808 integers before using fistpll. Reduce 64-bit values to 63-bit
11809 ones as needed.
11810 * math/libm-test.inc (pow_test): Add more tests.
11811
eb96ffb0
L
118122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11813
11814 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11815 <stdio-common/_itoa.h>.
11816 * debug/segfault.c: Likewise.
11817 * elf/dl-cache.c: Likewise.
11818 * elf/dl-minimal.c: Likewise.
11819 * elf/dl-misc.c: Likewise.
11820 * elf/dl-sysdep.c: Likewise.
11821 * elf/dl-version.c: Likewise.
11822 * elf/rtld.c: Likewise.
11823 * hurd/hurdsock.c: Likewise.
11824 * hurd/lookup-retry.c: Likewise.
11825 * malloc/malloc.c: Likewise.
11826 * malloc/mtrace.c: Likewise.
11827 * nscd/nscd_getgr_r.c: Likewise.
11828 * nscd/nscd_getpw_r.c: Likewise.
11829 * nscd/nscd_getserv_r.c: Likewise.
11830 * posix/getopt_init.c: Likewise.
11831 * posix/wordexp.c: Likewise.
11832 * stdio-common/_itoa.c: Likewise.
11833 * stdio-common/printf_fphex.c: Likewise.
11834 * stdio-common/vfprintf.c: Likewise.
11835 * string/_strerror.c: Likewise.
11836 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11837 * sysdeps/i386/i686/hp-timing.h: Likewise.
11838 * sysdeps/mach/_strerror.c: Likewise.
11839 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11840 * sysdeps/mach/hurd/sethostid.c: Likewise.
11841 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11842 * sysdeps/mach/xpg-strerror.c: Likewise.
11843 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11844 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11845 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11846 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11847 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11848 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11849 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11850 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11851 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11852 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11853 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11854 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11855 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11856 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11857 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11859 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11860 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11861 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11862 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11863 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11864
11865 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11866
11867 * stdio-common/_itoa.h: Moved to ...
11868 * sysdeps/generic/_itoa.h: Here.
11869
11870 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11871
11872 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11873 instead of "_itoa.h" and "_itowa.h".
11874 * stdio-common/vfprintf.: Likewise.
11875
d1af992d
L
118762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11877
11878 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11879 <bits/wordsize.h>.
11880 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11881 (__signbit): Likwise.
11882 (llrintf): Likwise.
11883 (llrint): Likwise.
11884
114883e0
L
118852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11886
11887 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11888 __WORDSIZE != 64.
11889
c135cc1b
JM
118902012-03-20 Joseph Myers <joseph@codesourcery.com>
11891
11892 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11893 OVERFLOW_EXCEPTION_OK.
11894 * math/libm-test.inc ("Philosophy"): Update comment about
11895 exception testing.
11896 (OVERFLOW_EXCEPTION): Define.
11897 (OVERFLOW_EXCEPTION_OK): Likewise.
11898 (INVALID_EXCEPTION_OK): Renumber.
11899 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11900 (IGNORE_ZERO_INF_SIGN): Likewise.
11901 (test_exceptions): Handle FE_OVERFLOW.
11902 (exp10_test): Expect overflow exceptions.
11903 (exp2_test): Likewise.
11904 (expm1_test): Likewise.
11905 (nextafter_test): Likewise.
11906 (pow_test): Likewise.
11907 (scalbn_test): Likewise.
11908 (scalbln_test): Likewise.
11909
95443d88
L
119102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11911
11912 * sysdeps/x86_64/bits/atomic.h
11913 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11914 64bit integer.
11915 (atomic_exchange_acq): Likewise.
11916 (__arch_exchange_and_add_body): Likewise.
11917 (__arch_add_body): Likewise.
11918 (atomic_add_negative): Likewise.
11919 (atomic_add_zero): Likewise.
11920
490df6c4
L
119212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11922
c2722551 11923 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11924 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11925
5e52b189
L
119262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11927
11928 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11929 Check __x86_64__ instead of __WORDSIZE.
11930
a9879d4c
L
119312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11932
11933 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11934
5df98260
DM
119352012-03-19 David S. Miller <davem@davemloft.net>
11936
e1497744
DM
11937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11938
5df98260
DM
11939 * sysdeps/sparc/fpu/fenv_private.h: New file.
11940 * sysdeps/sparc/fpu/math_private.h: Use it.
11941 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11942 Remove.
11943 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11944 (libc_feholdexcept_setroundl): Remove.
11945 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11946 Remove.
11947 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11948 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11949
b4c35121
L
119502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11953 int64_t instead of long int.
11954 (INSERT_WORDS64): Likwise.
11955
56965fd7
L
119562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11957
11958 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11959 _Unwind_GetCFA return to _Unwind_Ptr first.
11960
83d1aec8
JM
119612012-03-19 Joseph Myers <joseph@codesourcery.com>
11962
1897ad44
JM
11963 [BZ #13629]
11964 * math/s_clog.c: Include <float.h>.
11965 (__clog): Scale large or subnormal inputs.
11966 * math/s_clogf.c: Likewise.
11967 * math/s_clogl.c: Likewise.
11968 * math/s_clog10.c: Include <float.h>.
11969 (M_LOG10_2): Define.
11970 (__clog10): Scale large or subnormal inputs.
11971 * math/s_clog10f.c: Likewise.
11972 * math/s_clog10l.c: Likewise.
11973 * math/libm-test.inc (clog_test): Add more tests.
11974 (clog10_test): Likewise.
11975 * sysdeps/i386/fpu/libm-test-ulps: Update.
11976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11977
7726d6a9
JM
11978 [BZ #11451]
11979 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11980 x and y.
11981 * math/libm-test.inc (atan2_test): Add another test.
11982
83d1aec8
JM
11983 * Makerules (common-objdir-compile): Remove.
11984 * sysdeps/unix/Makefile (config-generated): Do not add
11985 $(unix-generated) to variable.
11986 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11987 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11988 Remove rule.
11989 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11990 Likewise.
11991 [generic bits/local_lim.h] (before-compile): Do not append to
11992 variable.
11993 [generic bits/local_lim.h] (common-generated): Likewise.
11994 [generic sys/param.h] (before-compile): Do not append to variable.
11995 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11996 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11997 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11998 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11999 include.
12000 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12001 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12002 [generic sys/param.h] ($(addprefix
12003 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12004 [generic sys/param.h] (common-generated): Do not append to
12005 variable.
12006 [generic sys/param.h] (sysdep_headers): Likewise.
12007 [generic bits/errno.h] (before-compile): Do not append to
12008 variable.
12009 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12010 rule.
12011 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12012 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12013 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12014 [generic bits/errno.h] (common-generated): Do not append to
12015 variable.
12016 [generic bits/ioctls.h] (before-compile): Do not append to
12017 variable.
12018 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12019 rule.
12020 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12021 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12022 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12023 rule.
12024 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12025 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12026 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12027 [generic bits/ioctls.h] (common-generated): Do not append to
12028 variable.
12029 [generic sys/syscall.h] (syscall.h): Remove variable.
12030 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12031 rule.
12032 [generic sys/syscall.h] (before-compile): Do not append to
12033 variable.
12034 [generic sys/syscall.h] (common-generated): Likewise.
12035 * sysdeps/unix/errnos-tmpl.c: Remove file.
12036 * sysdeps/unix/errnos.awk: Likewise.
12037 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12038 * sysdeps/unix/ioctls.awk: Likewise.
12039 * sysdeps/unix/mk-local_lim.c: Likewise.
12040 * sysdeps/unix/snarf-ioctls: Likewise.
12041
4851a949
RH
120422012-03-19 Richard Henderson <rth@twiddle.net>
12043
bd37f2ee
RH
12044 * sysdeps/i386/fpu/fenv_private.h: New file.
12045 * sysdeps/i386/fpu/math_private.h: Use it.
12046 (math_opt_barrier, math_force_eval): Remove.
12047 (libc_feholdexcept_setround_53bit): Remove.
12048 (libc_feupdateenv_53bit): Remove.
12049 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12050 (math_opt_barrier, math_force_eval): Remove.
12051 (libc_feholdexcept): Remove.
12052 (libc_feholdexcept_setround): Remove.
12053 (libc_fetestexcept, libc_fesetenv): Remove.
12054 (libc_feupdateenv_test): Remove.
12055 (libc_feupdateenv, libc_feholdsetround): Remove.
12056 (libc_feresetround): Remove.
12057
d0adc922
RH
12058 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12059 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12060
0fe0f1f8
RH
12061 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12062 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12063 (libc_feupdateenv_testl): New.
12064 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12065 (libc_feupdateenv_testf): New.
12066 (libc_feupdateenv): Use libc_feupdateenv_test.
12067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12068 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12069
eb92c487
RH
12070 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12071 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12072 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12073 (libc_feresetround_noex): New.
12074 (libc_feresetround_noexf): New.
12075 (libc_feresetround_noexl): New.
12076 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12077 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12078 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12079 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12080 SET_RESTORE_ROUND.
12081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12082 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12083 (__cos): Likewise.
12084 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12085 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12086 SET_RESTORE_ROUND_NOEX.
12087 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12088 SET_RESTORE_ROUND_NOEXF.
12089 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12090 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12091 (libc_feholdsetroundf): New.
12092 (libc_feresetround, libc_feresetroundf): New.
12093
7d2e8012
RH
12094 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12095 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12096 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12097
b4dabbb4
RH
12098 * sysdeps/generic/math_private.h: Include <fenv.h>.
12099 (default_libc_feholdexcept): New.
12100 (default_libc_feholdexcept_setround): New.
12101 (default_libc_fesetenv, default_libc_feupdateenv): New.
12102 (libc_feholdexcept): Only define if undefined.
12103 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12104 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12105 (libc_feholdexcept_setroundl): Likewise.
12106 (libc_feholdexcept_setround_53bit): Likewise.
12107 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12108 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12109 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12110 (libc_feupdateenv_53bit): Likewise.
12111 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12112 (libc_feholdexcept): Convert from macro to inline function.
12113 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12114 (libc_fesetenv, libc_feupdateenv): Likewise.
12115
4851a949
RH
12116 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12117 not previously defined.
12118 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12119 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12120 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12121 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12122 * sysdeps/ieee754/flt-32/math_private.h: New file.
12123 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12124 math_private.h below SET_FLOAT_WORD.
12125 (__isnan, __isinf_ns, __finite): Remove.
12126 (__isnanf, __isinf_nsf, __finitef): Remove.
12127
e79d442e
AS
121282012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12129
12130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12131
90b80344
DM
121322012-03-17 David S. Miller <davem@davemloft.net>
12133
12134 [BZ #6471]
12135 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12136 for 2.16.
12137
edc21804
DM
121382012-03-16 David S. Miller <davem@davemloft.net>
12139
77e927af
DM
12140 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12141 warnings.
12142
374976dd
DM
12143 [BZ #6471]
12144 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12145 properly.
12146 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12147 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12148 sysdep_routines when subdir is sysvipc.
12149 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12150 __getshmlba helper.
12151
edc21804
DM
12152 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12153
473c3ef3
L
121542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12155
12156 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12157 [__LP64__].
12158
eb0f39b6
L
121592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12160
12161 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12162 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12163 (__lround): Renamed to ...
12164 (__llround): This. Replace long int with long long int.
12165 Define lround functions as aliases of llround functions.
12166 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12167
6b6cd74b
L
121682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12169
12170 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12171 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12172 adresses to uintptr_t. Replace "long int" and "unsigned long
12173 int" with "greg_t" on va_arg.
12174
f1a77b01
L
121752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12176
12177 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12178 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12179
12180 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12181 Move e_machine check before EI_CLASS check. Handle x32
12182 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12183 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12184 SKIP_EM_IA_64 and include
12185 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12186
12187 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12188 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12189 (add_system_dir): New macro.
12190
12191 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12192 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12193
11b90b9f
JM
121942012-03-16 Joseph Myers <joseph@codesourcery.com>
12195
c36e1d23
JM
12196 [BZ #2551]
12197 [BZ #2552]
12198 [BZ #2553]
12199 [BZ #2554]
12200 [BZ #2562]
12201 [BZ #2563]
12202 [BZ #2565]
12203 [BZ #2566]
12204 [BZ #2576]
12205 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12206 (y0): Likewise.
12207 * math/w_j0f.c (j0f): Likewise.
12208 (y0f): Likewise.
12209 * math/w_j0l.c (__j0l): Likewise.
12210 (__y0l): Likewise.
12211 * math/w_j1.c (j1): Likewise.
12212 (y1): Likewise.
12213 * math/w_j1f.c (j1f): Likewise.
12214 (y1f): Likewise.
12215 * math/w_j1l.c (__j1l): Likewise.
12216 (__y1l): Likewise.
12217 * math/w_jn.c (jn): Likewise.
12218 (yn): Likewise.
12219 * math/w_jnf.c (jnf): Likewise.
12220 (ynf): Likewise.
12221 * math/w_jnl.c (__jnl): Likewise.
12222 (__ynl): Likewise.
12223 * math/libm-test.inc (j0_test): Add more tests.
12224 (j1_test): Likewise.
12225 (jn_test): Likewise. Add trailing semicolon to existing test.
12226 (y0_test): Likewise.
12227 (y1_test): Likewise.
12228 * sysdeps/i386/fpu/libm-test-ulps: Update.
12229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12230
11b90b9f
JM
12231 [BZ #13851]
12232 [BZ #13854]
12233 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12234 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12235 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12236 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12237 (__tanl): Set errno for infinite argument.
12238 * sysdeps/i386/fpu/mptan.c: Remove.
12239 * sysdeps/i386/fpu/s_tan.S: Likewise.
12240 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12241 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12242 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12243 * math/libm-test.inc (tan_test): Add more tests and enable more
12244 tests for double and long double.
12245 * sysdeps/i386/fpu/libm-test-ulps: Update.
12246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12247
6a1bd2a1
JK
122482012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12249
12250 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12251 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12252
10a803e0
RM
122532012-03-16 Roland McGrath <roland@hack.frob.com>
12254
12255 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12256 * configure.in: Use it for both main tree and add-ons.
12257 * configure: Regenerated.
12258
f196c7f7
L
122592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12260
12261 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12262
8848d99d
JM
122632012-03-16 Joseph Myers <joseph@codesourcery.com>
12264
96cbe7f4
JM
12265 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12266 in comment.
12267
8848d99d
JM
12268 [BZ #13851]
12269 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12270 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12274 infinite argument.
12275 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12276 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12277 != 0 for prec == 2.
12278 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12279 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12280 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12281 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12282 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12283 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12284 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12285 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12286 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12287 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12288 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12289 * math/libm-test.inc (cos_test): Add more tests and enable more
12290 tests for long double.
12291 (sin_test): Likewise.
12292 (sincos_test): Likewise.
12293 * sysdeps/i386/fpu/libm-test-ulps: Update.
12294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12295
dd7f4703
DM
122962012-03-16 David S. Miller <davem@davemloft.net>
12297
12298 * sysdeps/sparc/fpu/math_private.h: New file.
12299
006f1daa
DM
123002012-03-15 David S. Miller <davem@davemloft.net>
12301
c0c83bc8
DM
12302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12303 file.
e6a62e18 12304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12306 file.
e6a62e18
DM
12307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12313 sysdep routines.
12314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12315
88cb87d9
DM
12316 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12317 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12318
006f1daa 12319 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12321 sparc-ifunc.h
006f1daa 12322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12324 Likewise.
12325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12326 Likewise.
006f1daa
DM
12327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12331 Likewise.
006f1daa
DM
12332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12337 Likewise.
12338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12339 Likewise.
006f1daa
DM
12340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12346 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12347 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12361 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12363 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12364
11e0098e
AS
123652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12366
12367 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12368 scaling.
12369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12370
e85b09d0
AJ
123712012-03-15 Andreas Jaeger <aj@suse.de>
12372
12373 [BZ #13852]
12374 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12375 ieee754/flt-32 implementation for sin, cos and sincos.
12376 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12377 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12378 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12379 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12380 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12381 ieee754/flt-32 implementation for tan.
12382
12383 * math/libm-test.inc (cos_test): Enable some large input tests for
12384 float as well
12385 (sin_test): Likewise.
12386 (sincos_test): Likewise.
12387 (tan_test): Add tests for large input.
12388
12389 * sysdeps/i386/fpu/libm-test-ulps: Update.
12390
81c64153
AJ
123912012-03-15 Andreas Jaeger <aj@suse.de>
12392
12393 [BZ #13658]
12394 * math/libm-test.inc (cos_test): Add more test cases.
12395 (sin_test): Likewise.
12396 (sincos_test): Likewise.
12397
7bbfa5c6
AJ
123982012-03-15 Andreas Jaeger <aj@suse.de>
12399
12400 [BZ #13837]
12401 * math/libm-test.inc (cos_test): Add a test case for large input
12402 value.
12403 (sin_test): Likewise.
12404 (sincos_test): Likewise.
12405
124062012-03-15 Andreas Jaeger <aj@suse.de>,
12407 Joseph Myers <joseph@codesourcery.com>
12408
12409 [BZ #13658]
0671f479 12410 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12411 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12412 * sysdeps/i386/fpu/branred.c: Likewise.
12413 * sysdeps/i386/fpu/dosincos.c: Likewise.
12414 * sysdeps/i386/fpu/mpa.c: Likewise.
12415 * sysdeps/i386/fpu/s_cos.S: Likewise.
12416 * sysdeps/i386/fpu/s_sin.S: Likewise.
12417 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12418 * sysdeps/i386/fpu/sincos32.c: Likewise.
12419
12420 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12421 Define.
12422 (libc_feupdateenv_53bit): Define.
12423 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12424 Define.
12425 (libc_feupdateenv_53bit): Define.
12426
12427 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12428 53 bit (without extend i386 double precision).
12429
12430 * math/libm-test.inc (sincos_test): Add tests for large input.
12431 (sin): Likewise.
12432 (cos): Likewise.
12433
12434 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12435
9cad04ea
AS
124362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12437
12438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12439
f7062b9a
DM
124402012-03-15 David S. Miller <davem@davemloft.net>
12441
12442 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12443 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12444 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12445 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12458 file.
f7062b9a 12459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12461 file.
f7062b9a 12462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12464 file.
f7062b9a 12465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12467 file.
f7062b9a
DM
12468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12470 fmin/fmax sysdep routines.
12471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12472
7bd951ff
DM
124732012-03-14 David S. Miller <davem@davemloft.net>
12474
559398ab
DM
12475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12482 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12502 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12504 routines.
12505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12506 file.
559398ab 12507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12509 file.
559398ab 12510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12512 file.
559398ab 12513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12515 file.
559398ab 12516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12518 file.
559398ab 12519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12521 file.
12522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12523 file.
12524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12525 file.
12526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12527 file.
12528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12529 New file.
12530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12531 file.
12532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12533 file.
559398ab 12534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12536 file.
559398ab 12537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12539 file.
559398ab 12540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12542 file.
559398ab 12543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12545 VIS3 routines.
559398ab
DM
12546
12547 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12548 New file.
12549
5a1c1e32
DM
12550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12551
eae47a36
DM
12552 * sysdeps/sparc/configure.in: New file.
12553 * sysdeps/sparc/configure: Generate.
12554 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12555 * configure: Regenerate.
12556 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12557 * config.make.in (have-as-vis3): New.
12558 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12559 available use -Av9d instead of -Av9a.
12560 * sysdeps/sparc/sparc64/Makefile: Likewise.
12561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12563 New file.
12564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12565 file.
12566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12567 New file.
12568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12569 file.
eae47a36
DM
12570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12575
c0c83bc8
DM
12576 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12577 fzeros/fnegs to load 0x80000000 into a float register instead of
12578 using the stack.
7bd951ff
DM
12579 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12580
bd951ccb
JM
125812012-03-14 Joseph Myers <joseph@codesourcery.com>
12582
12583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12584 bits/syscall.h.
12585 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12586 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12587 ($(inst_includedir)/bits/syscall.h): Remove rule.
12588 ($(objpfx)bits/syscall.d): Include instead of
12589 $(objpfx)syscall-list.d.
12590 (generated): Change syscall-list.h and syscall-list.d to
12591 bits/syscall.h and bits/syscall.d.
12592
bb4e6db2
RM
125932012-03-14 Roland McGrath <roland@hack.frob.com>
12594
12595 [BZ #13846]
12596 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12597
aa4a2ae1
JM
125982012-03-14 Joseph Myers <joseph@codesourcery.com>
12599
e456826d
JM
12600 [BZ #13841]
12601 * math/s_csqrt.c: Include <float.h>.
12602 (__csqrt): Scale large or subnormal inputs.
12603 * math/s_csqrtf.c: Likewise.
12604 * math/s_csqrtl.c: Likewise.
12605 * math/libm-test.inc (csqrt_test): Add more tests.
12606 * sysdeps/i386/fpu/libm-test-ulps: Update.
12607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12608
aa4a2ae1
JM
12609 [BZ #13840]
12610 * math/libm-test.inc (hypot_test): Add more tests.
12611
7c10fd35
DM
126122012-03-13 David S. Miller <davem@davemloft.net>
12613
12614 [BZ #13840]
12615 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12616 double-precision for the calculation instead of scaling.
12617
f453b98b
JM
126182012-03-13 Joseph Myers <joseph@codesourcery.com>
12619
12620 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12621 manipulate bits before adding and subtracting TWO52[sx].
12622 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12623 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12624 Likewise.
12625 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12626
09a3453f
DM
126272012-03-13 David S. Miller <davem@davemloft.net>
12628
8e59da90
DM
12629 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12630 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12632 rtld-global-offsets.h
12633 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12634
2a8ab7f2
DM
12635 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12636 large parameters.
12637
10f62770
DM
12638 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12639
5f0bdb18
DM
12640 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12641 'err' in the ifdef scope in which it is actually used.
12642
09a3453f
DM
12643 * nss/nss_db/db-init.c: Include string.h
12644
b4b2eb5e
DM
126452012-03-12 David S. Miller <davem@davemloft.net>
12646
98bb2f1c
DM
12647 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12648 masking out of the most significant byte of random value used.
12649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12650 Fix coding style in previous change.
12651
b4b2eb5e
DM
12652 * sysdeps/unix/sysv/linux/kernel-features.h
12653 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12654 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12655 expression.
12656 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12657 later.
12658
6e226b09
DM
126592012-03-11 David S. Miller <davem@davemloft.net>
12660
a1bcbd40
DM
12661 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12662 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12663 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12664 for 'resultvar' otherwise things get truncated on 64-bit.
12665
cb9d6174
DM
12666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12667 Fix masking out of the most significant byte of random value used.
12668
6e226b09
DM
12669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12670
058c132d
AS
126712012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12672
12673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12674
2d2cd515
DM
126752012-03-09 David S. Miller <davem@davemloft.net>
12676
12677 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12678 variables with appropriate CPP guards.
12679 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12680 frame pointer, not the stack pointer. Correct layout comments. Fix test
12681 on resulting framesize and the management of the outregs buffer for pltexit.
12682 Preserve floating point return values across _dl_call_pltexit call.
12683 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12684 framesize and the management of the outregs buffer for pltexit.
12685 Preserve floating point return values across _dl_call_pltexit
12686 call.
12687 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12688 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12689 (print_exit): Fix format string for return register value.
12690
9a07f9d0
JM
126912012-03-10 Joseph Myers <joseph@codesourcery.com>
12692
12693 * sunrpc/Makefile (others): Add rpcgen.
12694 ($(objpfx)rpcgen): Remove special build rule and dependency on
12695 libc.
12696 * sunrpc/rpcgen.c: New file.
12697
547b5e30
PE
126982012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12699
c524201a
PE
12700 [BZ #13673]
12701 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12702 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12703 * sysdeps/i386/crti.S: Likewise.
12704 * sysdeps/i386/crtn.S: Likewise.
12705 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12706 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12707 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12708 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12709 * sysdeps/sh/crti.S: Likewise.
12710 * sysdeps/sh/crtn.S: Likewise.
12711 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12712
7b6235f2
PE
12713 [BZ #13673]
12714 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12715 with URL.
12716 * locale/programs/locfile-kw.gperf: Likewise.
12717 * locale/programs/charmap-kw.h: Regenerated.
12718 * locale/programs/locfile-kw.h: Likewise.
12719
547b5e30
PE
12720 [BZ #13673]
12721 * intl/plural.y: Replace FSF snail mail address with URL.
12722 * intl/plural.c: Regenerated.
12723
5f0a5dae
RH
127242012-03-09 Richard Henderson <rth@twiddle.net>
12725
12726 * include/math_private.h: Remove file.
12727 * math/math_private.h: Move file ...
12728 * sysdeps/generic/math_private.h: ... here.
12729
b8c03620
RH
12730 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12731 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12732 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12733
4e234f5d 12734 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12735 and <math_private.h>.
12736 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12737 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12738 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12739 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12740 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12814 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12818 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12824 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12825 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12826 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12827 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12828 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12829 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12830 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12831 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12832 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12833 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12834 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12835 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12836 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12837 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12838 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12839 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12840 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12841 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12842 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12843 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12844 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12846 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12847 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12848 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12849 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12850 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12851 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12852 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12853 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12854 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12855 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12856 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12857 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12858 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12859 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12860 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12861 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12862 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12863 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12864 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12865 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12866 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12867 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12868 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12869 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12870 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12871 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12872 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12873 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12874 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12875 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12876 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12877 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12878 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12879 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12880 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12881 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12882 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12883 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12884 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12885 * sysdeps/ieee754/k_standard.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12890 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12957 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12958 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12959 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12960 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12963 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12977 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12979 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12982 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12983 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12984 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12985 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12986 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12987 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12993 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12994 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12995 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12996 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12997 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12998 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12999 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13001 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13004 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13005 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13006 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13007 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13008 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13009 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13010 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13011 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13012 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13013 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13014 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13015 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13016 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13017 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13018 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13020 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13021 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13022 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13024 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13026 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13032 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13034 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13035 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13036 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13040 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13042 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13046 * sysdeps/ieee754/s_lib_version.c: Likewise.
13047 * sysdeps/ieee754/s_matherr.c: Likewise.
13048 * sysdeps/ieee754/s_signgam.c: Likewise.
13049 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13050 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13051 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13052 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13053 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13054 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13055 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13056 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13057 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13058 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13059 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13060 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13061 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13062 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13063 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13064 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13065 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13066 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13067 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13069 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13070
1991fa03
JM
130712012-03-09 Joseph Myers <joseph@codesourcery.com>
13072
13073 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13074 * sunrpc/rpc_main.c: Likewise.
13075 * sunrpc/rpc_svcout.c: Likewise.
13076
60d6f5a6
DM
130772012-03-09 David S. Miller <davem@davemloft.net>
13078
13079 * include/math_private.h: New file.
13080
4962050e
JM
130812012-03-09 Joseph Myers <joseph@codesourcery.com>
13082
02a6f887
JM
13083 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13084 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13085 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13086 from <bits/socket_type.h>.
13087 (enum __socket_type): Don't define here.
13088 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13090 bits/socket_type.h.
13091
c6e013c1
JM
13092 [BZ #13566]
13093 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13094 checking __USE_GNU.
13095
4962050e
JM
13096 * Makerules ($(inst_includedir)/%.h): New rule.
13097 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13098 (install-others): Remove variable setting.
13099 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13100
38842f45
RH
131012012-03-08 Richard Henderson <rth@twiddle.net>
13102
67bb6da6
RH
13103 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13104 from macro to inline function; merge with the
13105 !__LIBC_INTERNAL_MATH_INLINES version.
13106 (__ieee754_sqrtf): Likewise.
13107
15194b4b
RH
13108 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13109 to inline function.
13110 (__rintf, __floor, __floorf): Likewise.
13111
64e21ede
RH
13112 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13113 macro to inline function.
13114 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13115
38842f45
RH
13116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13117 not <math/math_private.h>.
13118
c64bf5fe
DM
131192012-03-08 David S. Miller <davem@davemloft.net>
13120
13121 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13122 copyright year.
13123 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13124
82d86f28
TS
131252012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13126
13127 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13128 normalization.
13129 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13130 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13131
aea5d727
UD
131322012-03-08 Ulrich Drepper <drepper@gmail.com>
13133
13134 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13135 be defined individually, they must be defined as a block. Define
13136 S for printing a string instead of hidint the different by using a
13137 macro for adding the 'l'.
13138 * stdio-common/tst-fphex-wide.c: Adjust.
13139
70bca0a3
MP
131402012-03-07 Marek Polacek <polacek@redhat.com>
13141
13142 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13143
65b81130
MP
131442012-03-08 Marek Polacek <polacek@redhat.com>
13145
13146 [BZ #13806]
13147 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13148 * stdio-common/tst-fphex.c: Define a few macros to make the
13149 test reusable. Use them.
13150 * stdio-common/tst-fphex-wide.c: New file.
13151
07037eeb
JM
131522012-03-08 Joseph Myers <joseph@codesourcery.com>
13153
a7a93d50
JM
13154 [BZ #6911]
13155 * manual/macros.texi (gnusystems): New macro.
13156 (nongnusystems): Likewise.
13157 (gnulinuxhurdsystems): Likewise.
13158 (gnuhurdsystems): Likewise..
13159 (gnulinuxsystems): Likewise.
13160 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13161 variants of the GNU system, not "GNU system".
13162 * manual/conf.texi: Likewise.
13163 * manual/errno.texi: Likewise. Update example of errno macro
13164 expansion.
13165 * manual/filesys.texi: Likewise.
13166 (getumask): Document as specific to GNU/Hurd.
13167 * manual/install.texi: Likewise. Reword some references to
13168 GNU/Linux.
13169 * manual/intro.texi: Likewise.
13170 * manual/io.texi: Likewise.
13171 (File Name Portability): Detail which constraints are inapplicable
13172 to all GNU systems and which are only inapplicable to GNU/Hurd.
13173 * manual/job.texi: Likewise.
13174 * manual/llio.texi: Likewise.
13175 (O_NOCTTY): Document as present on GNU/Linux.
13176 * manual/maint.texi: Likewise.
13177 * manual/memory.texi: Likewise.
13178 * manual/pattern.texi: Likewise.
13179 * manual/pipe.texi: Likewise.
13180 * manual/process.texi: Likewise.
13181 * manual/resource.texi: Likewise.
13182 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13183 child on GNU/Hurd.
13184 * manual/setjmp.texi: Likewise.
13185 * manual/signal.texi: Likewise.
13186 * manual/startup.texi: Likewise.
13187 * manual/stdio.texi: Likewise.
13188 * manual/terminal.texi: Likewise.
13189 (ONLCR): Document as POSIX.
13190 (OXTABS): Document availability on GNU/Linux as XTABS.
13191 (ONOEOT): Document availability separately from other bits.
13192 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13193 * manual/time.texi: Likewise.
13194 * manual/users.texi: Likewise.
13195 * INSTALL: Regenerated.
13196 * sysdeps/gnu/errlist.c: Regenerated.
13197
07037eeb
JM
13198 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13199 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13200 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13201 puts.
13202 * configure: Regenerated.
13203
d1d3431a
JM
132042012-03-07 Joseph Myers <joseph@codesourcery.com>
13205
af6a1e37
JM
13206 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13207 default includes instead of AC_HEADER_CHECK.
13208 * sysdeps/i386/configure: Regenerated.
13209
d1d3431a
JM
13210 [BZ #10716]
13211 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13212 * math/s_cacoshf.c (__cacoshf): Likewise.
13213 * math/s_cacoshl.c (__cacoshl): Likewise.
13214 * math/s_casinh.c (__casinh): Set signs of result from argument.
13215 * math/s_casinhf.c (__casinhf): Likewise.
13216 * math/s_casinhl.c (__casinhl): Likewise.
13217 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13218 (casinh_test): Add more tests.
13219 * sysdeps/i386/fpu/libm-test-ulps: Update.
13220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13221
482ff4da
UD
132222012-03-07 Ulrich Drepper <drepper@gmail.com>
13223
872fda05
UD
13224 * po/zh_TW.po: Update from translation team.
13225
a4300c7a
UD
13226 * login/Makefile (distribute): Remove variable.
13227 * catgets/Makefile: Likewise.
13228 * mach/Makefile: Likewise.
13229 * malloc/Makefile: Likewise.
13230 * misc/Makefile: Likewise.
13231 * iconv/Makefile: Likewise.
13232 * nscd/Makefile: Likewise.
13233 * hurd/Makefile: Likewise.
13234 * manual/Makefile: Likewise.
13235 * locale/Makefile: Likewise.
13236 * intl/Makefile: Likewise.
13237 * conform/Makefile: Likewise.
13238 * nss/Makefile: Likewise.
13239 * time/Makefile: Likewise.
13240 * soft-fp/Makefile: Likewise.
13241 * dirent/Makefile: Likewise.
13242 * gmon/Makefile: Likewise.
13243 * po/Makefile: Likewise.
13244 * rt/Makefile: Likewise.
13245 * socket/Makefile: Likewise.
13246 * math/Makefile: Likewise.
13247 * signal/Makefile: Likewise.
13248 * debug/Makefile: Likewise.
13249 * elf/Makefile: Likewise.
13250 * timezone/Makefile: Likewise.
13251 * stdlib/Makefile: Likewise.
13252 * iconvdata/Makefile: Likewise.
13253 * sunrpc/Makefile: Likewise.
13254 * io/Makefile: Likewise.
13255 * argp/Makefile: Likewise.
13256 * inet/Makefile: Likewise.
13257 * hesiod/Makefile: Likewise.
13258 * grp/Makefile: Likewise.
13259 * csu/Makefile: Likewise.
13260 * wctype/Makefile: Likewise.
13261 * crypt/Makefile: Likewise.
13262 * libio/Makefile: Likewise.
13263 * string/Makefile: Likewise.
13264 * nis/Makefile: Likewise.
13265 * resolv/Makefile: Likewise.
13266 * stdio-common/Makefile: Likewise.
13267 * wcsmbs/Makefile: Likewise.
13268 * dlfcn/Makefile: Likewise.
13269 * posix/Makefile: Likewise.
13270
3b7c4e74 13271 [BZ #6959]
482ff4da
UD
13272 * timezone/Makefile: Don't install timezone files, just the programs
13273 and scripts.
13274
f72ed77d
UD
132752012-03-06 Ulrich Drepper <drepper@gmail.com>
13276
a000466f
UD
13277 * nss/databases.def: Add missing gshadow entry.
13278
f72ed77d
UD
13279 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13280
a53b7a4e
MP
132812012-03-06 Marek Polacek <polacek@redhat.com>
13282
13283 [BZ #13726]
13284 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13285 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13286 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13287 * stdio-common/tst-long-dbl-fphex.c: New file.
13288
e9258400
DM
132892012-03-06 David S. Miller <davem@davemloft.net>
13290
13291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13292 (set_obp_int): New function.
13293 (get_obp_int): New function.
13294 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13295 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13296 Avoid unused variable warnings on 'val' and use builtin_expect.
13297 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13298 __builtin_expect.
e9258400
DM
13299 (INLINE_CLONE_SYSCALL): Likewise.
13300
3bd2c723
DM
133012012-03-05 David S. Miller <davem@davemloft.net>
13302
13303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13304
bbb78d03
AS
133052012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13306
884c5db4
AS
13307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13308
bbb78d03
AS
13309 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13310 only for |x| >= 40.
13311 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13312
1c9f702a 133132012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13314
13315 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13316 Replace gettimeofday with __vdso_gettimeofday.
13317
7be16f82
RM
13318 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13319 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13320 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13321
13322 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13323 time with __vdso_time.
13324
ed58a00f
JM
133252012-03-05 Joseph Myers <joseph@codesourcery.com>
13326
13327 * manual/lang.texi (size_t): Note types to which size_t may be
13328 equivalent with the GNU C Library, but do not describe when
13329 differences between them are significant.
13330
30ee4ced
AJ
133312012-03-05 Andreas Jaeger <aj@suse.de>
13332
13333 * sysdeps/i386/fpu/libm-test-ulps: Update.
13334
b7cd39e8
JM
133352012-03-05 Joseph Myers <joseph@codesourcery.com>
13336
13337 [BZ #3976]
13338 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13339 (__ieee754_pow): Save and restore rounding mode and use
13340 round-to-nearest for main computations.
13341 * math/libm-test.inc (pow_test_tonearest): New function.
13342 (pow_test_towardzero): Likewise.
13343 (pow_test_downward): Likewise.
13344 (pow_test_upward): Likewise.
13345 (main): Call the new functions.
13346 * sysdeps/i386/fpu/libm-test-ulps: Update.
13347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13348
13349 [BZ #3976]
13350 * math/libm-test.inc (cosh_test_tonearest): New function.
13351 (cosh_test_towardzero): Likewise.
13352 (cosh_test_downward): Likewise.
13353 (cosh_test_upward): Likewise.
13354 (sinh_test_tonearest): Likewise.
13355 (sinh_test_towardzero): Likewise.
13356 (sinh_test_downward): Likewise.
13357 (sinh_test_upward): Likewise.
13358 (main): Call the new functions.
13359 * sysdeps/i386/fpu/libm-test-ulps: Update.
13360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13361
6c6a98c9
TV
133622012-03-05 Tom de Vries <tom@codesourcery.com>
13363
13364 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13365 default stack guard is set in last bytes.
13366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13367
21bb2d2e 133682012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13369
21bb2d2e 13370 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13371
21bb2d2e
AJ
13372 [BZ #13656]
13373 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13374 possibly allocate from heap instead of stack.
13375 * stdio-common/bug-vfprintf-nargs.c: New file.
13376 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13377
c6922934
AS
133782012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13379
13380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13381
bc957d53
MP
133822012-03-03 Marek Polacek <polacek@redhat.com>
13383
13384 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13385 * math/math_private.h: Likewise.
13386 * stdlib/tst-strtod.c: Likewise.
13387 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13388 * sysdeps/x86_64/bits/atomic.h: Likewise.
13389
6358490d
DM
133902012-03-02 David S. Miller <davem@davemloft.net>
13391
13392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13396 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13397 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13398 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13399 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13400
01ae168d
RM
134012012-03-02 Roland McGrath <roland@hack.frob.com>
13402
d9a17c07
RM
13403 [BZ #13792]
13404 * manual/examples/README: New file, says the example source files
13405 can be used under GPL>=2.
13406 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13407 line containing just "*/".
13408 * manual/examples/add.c: Add copyright header (GPL>=2).
13409 * manual/examples/argp-ex1.c: Likewise.
13410 * manual/examples/argp-ex2.c: Likewise.
13411 * manual/examples/argp-ex3.c: Likewise.
13412 * manual/examples/argp-ex4.c: Likewise.
13413 * manual/examples/atexit.c: Likewise.
13414 * manual/examples/db.c: Likewise.
13415 * manual/examples/dir.c: Likewise.
13416 * manual/examples/dir2.c: Likewise.
13417 * manual/examples/execinfo.c: Likewise.
13418 * manual/examples/filecli.c: Likewise.
13419 * manual/examples/filesrv.c: Likewise.
13420 * manual/examples/fmtmsgexpl.c: Likewise.
13421 * manual/examples/genpass.c: Likewise.
13422 * manual/examples/inetcli.c: Likewise.
13423 * manual/examples/inetsrv.c: Likewise.
13424 * manual/examples/isockad.c: Likewise.
13425 * manual/examples/longopt.c: Likewise.
13426 * manual/examples/memopen.c: Likewise.
13427 * manual/examples/memstrm.c: Likewise.
13428 * manual/examples/mkfsock.c: Likewise.
13429 * manual/examples/mkisock.c: Likewise.
13430 * manual/examples/mygetpass.c: Likewise.
13431 * manual/examples/pipe.c: Likewise.
13432 * manual/examples/popen.c: Likewise.
13433 * manual/examples/rprintf.c: Likewise.
13434 * manual/examples/search.c: Likewise.
13435 * manual/examples/select.c: Likewise.
13436 * manual/examples/setjmp.c: Likewise.
13437 * manual/examples/sigh1.c: Likewise.
13438 * manual/examples/sigusr.c: Likewise.
13439 * manual/examples/stpcpy.c: Likewise.
13440 * manual/examples/strdupa.c: Likewise.
13441 * manual/examples/strftim.c: Likewise.
13442 * manual/examples/strncat.c: Likewise.
13443 * manual/examples/subopt.c: Likewise.
13444 * manual/examples/swapcontext.c: Likewise.
13445 * manual/examples/termios.c: Likewise.
13446 * manual/examples/testopt.c: Likewise.
13447 * manual/examples/testpass.c: Likewise.
13448 * manual/examples/timeval_subtract.c: Likewise.
13449
01ae168d
RM
13450 [BZ #13792]
13451 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13452 function to ...
13453 * manual/timeval_subtract.c.texi: ... here, new file.
13454
49efa33d
DM
134552012-03-02 David S. Miller <davem@davemloft.net>
13456
13457 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13458
28afd92d
JM
134592012-03-02 Joseph Myers <joseph@codesourcery.com>
13460
804360ed
JM
13461 [BZ #3976]
13462 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13463 (__sin): Save and restore rounding mode and use round-to-nearest
13464 for all computations.
13465 (__cos): Save and restore rounding mode and use round-to-nearest
13466 for all computations.
13467 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13468 <fenv.h>.
13469 (tan): Save and restore rounding mode and use round-to-nearest for
13470 all computations.
13471 * math/libm-test.inc (cos_test_tonearest): New function.
13472 (cos_test_towardzero): Likewise.
13473 (cos_test_downward): Likewise.
13474 (cos_test_upward): Likewise.
13475 (sin_test_tonearest): Likewise.
13476 (sin_test_towardzero): Likewise.
13477 (sin_test_downward): Likewise.
13478 (sin_test_upward): Likewise.
13479 (tan_test_tonearest): Likewise.
13480 (tan_test_towardzero): Likewise.
13481 (tan_test_downward): Likewise.
13482 (tan_test_upward): Likewise.
13483 (main): Call the new functions.
13484 * sysdeps/i386/fpu/libm-test-ulps: Update.
13485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13486
a6d06d7b
JM
13487 [BZ #10135]
13488 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13489 small n, then large n, before computing and testing k+n.
13490 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13492 Likewise.
13493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13494 Likewise.
13495 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13496 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13497 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13498 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13499 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13500 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13501 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13502 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13503 * math/libm-test.inc (scalbn_test): Add more tests.
13504 (scalbln_test): Likewise.
13505
07e12bb3
JM
13506 * manual/filesys.texi (mode_t): Describe constraints on size and
13507 signedness, not exact equivalence to a particular type.
13508 (ino_t): Likewise.
13509 (ino64_t): Likewise.
13510 (dev_t): Likewise.
13511 (nlink_t): Likewise.
13512 (blkcnt_t): Likewise.
13513 (blkcnt64_t): Likewise.
13514 * manual/llio.texi (off_t): Likewise.
13515
28afd92d
JM
13516 [BZ #3976]
13517 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13518 (__ieee754_exp): Save and restore rounding mode and use
13519 round-to-nearest for all computations.
13520 * math/libm-test.inc (exp_test_tonearest): New function.
13521 (exp_test_towardzero): Likewise.
13522 (exp_test_downward): Likewise.
13523 (exp_test_upward): Likewise.
13524 (main): Call the new functions.
13525 * sysdeps/i386/fpu/libm-test-ulps: Update.
13526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13527
b1eeb65d
CD
135282012-03-01 Chris Demetriou <cgd@google.com>
13529
13530 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13531 have predictable order.
13532
53362a4b
DM
135332012-03-01 David S. Miller <davem@davemloft.net>
13534
3c969083
DM
13535 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13536
759707de
DM
13537 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13538 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13539 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13540 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13541
dfdb8ff2
DM
13542 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13543 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13544 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13546 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13547 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13548 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13549 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13550 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13551
ead89f96
DM
13552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13553
7f66bd07
DM
13554 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13555 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13556 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13557
53362a4b
DM
13558 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13559 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13560 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13561 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13562 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13564 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13565 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13566 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13567 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13568 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13569 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13571 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13572 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13574 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13575 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13576 * sysdeps/sparc/elf/configure: Regenerated.
13577
7b1902cb
JM
135782012-03-01 Joseph Myers <joseph@codesourcery.com>
13579
bec039bc
JM
13580 * configure.in (AS, LD): Require binutils 2.20 or later.
13581 * configure: Regenerated.
13582 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13583 as required minimum version.
13584 * INSTALL: Regenerated.
13585
7b1902cb
JM
13586 [BZ #2541]
13587 [BZ #4108]
13588 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13589 before squaring exponent.
13590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13591 bottom long double and 27 bits of top long double before squaring
13592 exponent.
13593 * math/libm-test.inc (erfc_test): Add more tests.
13594 * sysdeps/i386/fpu/libm-test-ulps: Update.
13595 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13597
f775c276
KT
135982012-03-01 Kai Tietz <ktietz@redhat.com>
13599
13600 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13601 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13602 containing bit-fields.
13603 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13604 * soft-fp/single.h (_FP_UNION_S): Likewise.
13605 * soft-fp/double.h (_FP_UNION_D): Likewise.
13606
5b8a4d4a
JM
136072012-02-29 Joseph Myers <joseph@codesourcery.com>
13608
0bab47b6
JM
13609 [BZ #13786]
13610 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13611 not include ../strcmp.S.
13612 [USE_AS_STRNCASECMP_L]: Likewise.
13613 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13614 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13615 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13616 (__strncasecmp_l_ia32): Define as alias to
13617 __strncasecmp_l_nonascii.
13618
0fcad3e2
JM
13619 [BZ #5794]
13620 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13621 * sysdeps/i386/fpu/libm-test-ulps: Update.
13622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13623
5b8a4d4a
JM
13624 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13626
8fdceb2e
JL
136272012-02-29 Jeff Law <law@redhat.com>
13628
13629 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13630 out of bounds read.
13631
1f393a11
MP
136322012-02-29 Marek Polacek <polacek@redhat.com>
13633
13634 [BZ #13706]
13635 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13636 * elf/Makefile: Add rules to run tst-unused-dep.out.
13637
8847f037
DM
136382012-02-28 David S. Miller <davem@davemloft.net>
13639
13640 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13641 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13642 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13643 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13644 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13645 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13646
169d7f11
JM
136472012-02-29 Joseph Myers <joseph@codesourcery.com>
13648
13649 * math/libm-test.inc (llround_test): Move one test from
13650 lround_test. Use TEST_f_L in moved test.
13651 (lround_test): Move misplaced test to llround_test. Add testcase
13652 from bug 2561.
13653
39adf059
UD
136542012-02-28 Ulrich Drepper <drepper@gmail.com>
13655
13656 * sysdeps/x86_64/fpu/e_expf.S: New file.
13657 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13658
71b5d1c5
SB
136592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13660
13661 [BZ #13637]
13662 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13663 of remain_len that may cause incomplete multi-byte character and
13664 false match.
13665 * posix/bug-regex33.c: New file.
13666 * posix/Makefile (tests): Add bug-regex33.
13667
1f77f049
JM
136682012-02-28 Joseph Myers <joseph@codesourcery.com>
13669
13670 * manual/macros.texi: New file.
13671 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13672 * manual/libc.texinfo: Include macros.texi.
13673 * manual/creatute.texi: Likewise.
13674 * manual/install.texi: Likewise.
13675 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13676 @glibcadj{} in references to the GNU C Library.
13677 * manual/charset.texi: Likewise.
13678 * manual/conf.texi: Likewise.
13679 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13680 when not using those macros.
13681 * manual/creature.texi: Likewise.
13682 * manual/crypt.texi: Likewise.
13683 * manual/errno.texi: Likewise.
13684 * manual/filesys.texi: Likewise.
13685 * manual/header.texi: Likewise.
13686 * manual/install.texi: Likewise.
13687 * manual/intro.texi: Likewise.
13688 * manual/io.texi: Likewise.
13689 * manual/job.texi: Likewise.
13690 * manual/lang.texi: Likewise.
13691 * manual/libc.texiinfo: Likewise.
13692 * manual/llio.texi: Likewise.
13693 * manual/locale.texi: Likewise.
13694 * manual/maint.texi: Likewise.
13695 * manual/math.texi: Likewise.
13696 * manual/memory.texi: Likewise.
13697 * manual/message.texi: Likewise.
13698 * manual/nss.texi: Likewise.
13699 * manual/pattern.texi: Likewise.
13700 * manual/process.texi: Likewise.
13701 * manual/resource.texi: Likewise.
13702 * manual/search.texi: Likewise.
13703 * manual/setjmp.texi: Likewise.
13704 * manual/signal.texi: Likewise.
13705 * manual/socket.texi: Likewise.
13706 * manual/startup.texi: Likewise.
13707 * manual/stdio.texi: Likewise.
13708 * manual/string.texi: Likewise.
13709 * manual/sysinfo.texi: Likewise.
13710 * manual/syslog.texi: Likewise.
13711 * manual/terminal.texi: Likewise.
13712 * manual/time.texi: Likewise.
13713 * manual/users.texi: Likewise.
13714 * INSTALL: Regenerated.
13715 * NOTES: Regenerated.
d40c5d54 13716 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 13717
450bf206
AS
137182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13719
13720 * include/dirent.h: Include <dirstream.h> before
13721 <dirent/dirent.h>.
13722
741a235b
DM
137232012-02-28 David S. Miller <davem@davemloft.net>
13724
13725 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13726 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13727 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13728 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13729
d6b5aa58
DM
137302012-02-27 David S. Miller <davem@davemloft.net>
13731
1aff59a3
DM
13732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13734 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13735 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13736
d6b5aa58
DM
13737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13738 frame pointer instead of stack pointer relative arg slot.
13739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13740 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13741 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13742
433f48bf
CD
137432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13744
13745 [BZ #3992]
13746 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13747
d674b76d
DM
137482012-02-27 David S. Miller <davem@davemloft.net>
13749
13750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13754 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13755 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13756 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13757 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13758
0e7727f7
JM
137592012-02-27 Joseph Myers <joseph@codesourcery.com>
13760
13761 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13762 later. Allow versions 5-9.
43be4ca2 13763 * configure: Regenerated.
0e7727f7
JM
13764 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13765 required minimum version and 4.6 as recommended version. Do not
13766 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13767 * INSTALL: Regenerated.
0e7727f7 13768
a78bc654
DM
137692012-02-27 David S. Miller <davem@davemloft.net>
13770
428d5830
DM
13771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13775 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13776 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13777 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13778 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13779
a78bc654
DM
13780 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13781 manipulate bits before adding and subtracting TWO112[sx].
13782 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13783
4579f81c
RM
137842012-02-27 Roland McGrath <roland@hack.frob.com>
13785
36c8acb4
RM
13786 [BZ #13775]
13787 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13788 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13789 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13790 being in POSIX, because they are in 1003.1-2008.
13791
84ad622b
RM
13792 * rt/tst-aio.c: Include <fcntl.h>.
13793 * rt/tst-aio7.c: Likewise.
13794 * rt/tst-aio64.c: Likewise.
13795
4579f81c
RM
13796 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13797
abd923db
JM
137982012-02-27 Joseph Myers <joseph@codesourcery.com>
13799
13800 * manual/install.texi (--with-headers): Describe headers as
13801 interface headers, not private headers.
13802 (Specific advice for GNU/Linux systems): Describe use of headers
13803 from "make headers_install", not private headers from older
13804 kernels.
43be4ca2 13805 * INSTALL: Regenerated.
abd923db
JM
13806 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13807 Change to 2.6.19.
13808 * sysdeps/unix/sysv/linux/configure: Regenerated.
13809
6664049b
JM
13810 * manual/llio.texi (fclean): Remove documentation.
13811
bb8b6697
JM
13812 * manual/Makefile (libc-texi-generated): New variable. Include
13813 version.texi.
13814 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13815 $(libc-texi-generated), not duplicated list of files.
13816 (version.texi, stamp-version): New rules.
13817 (realclean): Remove $(libc-texi-generated), not individual files
13818 from that list. Do not remove dir-add.texinfo.
13819 * manual/libc.texinfo: Comment out uses of edition numbers and
13820 references to printed manual. Remove last-updated dates.
13821 (EDITION): Comment out.
13822 (ISBN): Likewise.
13823 (VERSION, UPDATED): Remove.
13824 (version.texi): Include.
13825
12e5c3b9
AS
138262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13827
13828 * sysdeps/posix/spawni.c: Include <signal.h>.
13829 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13830 * sysdeps/pthread/aio_fsync.c: Likewise.
13831
4efeffc1 138322012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13833
ba63ba08
UD
13834 * conform/Makefile (tests): Run only when not cross-compiling and
13835 when fast-check is not defined.
13836
d94a4670
UD
13837 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13838 * conform/data/limits.h-data: Fixes for POSIX2008.
13839 * conform/run-conformtest.sh: Run all tests.
13840 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13841 headers.
13842 * include/bits/dlfcn.h: Likewise.
13843 * include/langinfo.h: Likewise.
13844 * include/monetary.h: Likewise.
13845 * include/sys/poll.h: Likewise.
13846
13847 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13848 for __USE_GNU.
13849 * posix/spawn.h: Define __need_sigset_t.
13850 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13851 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13852 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13853 to get sigevent_t only.
13854 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13855 only for __USE_GNU.
13856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13857 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13858 process_vm_writev only for __USE_GNU.
13859 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13860
13861 * conform/Makefile: For now ignore errors from run-conformtest.
13862 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13863 POSIX to avoid namespace pollution. Don't prepend headers.
13864 * conform/data/aio.h-data: Fixes for POSIX testing.
13865 * conform/data/fcntl.h-data: Likewise.
13866 * conform/data/glob.h-data: Likewise.
13867 * conform/data/grp.h-data: Likewise.
13868 * conform/data/pthread.h-data: Likewise.
13869 * conform/data/pwd.h-data: Likewise.
13870 * conform/data/signal.h-data: Likewise.
13871 * conform/data/spawn.h-data: Likewise.
13872 * conform/data/stdio.h-data: Likewise.
13873 * conform/data/stdlib.h-data: Likewise.
13874 * conform/data/stropts.h-data: Likewise.
13875 * conform/data/sys/mman.h-data: Likewise.
13876 * conform/data/sys/stat.h-data: Likewise.
13877 * conform/data/sys/types.h-data: Likewise.
13878 * conform/data/sys/wait.h-data: Likewise.
13879 * conform/data/time.h-data: Likewise.
13880 * conform/data/unistd.h-data: Likewise.
13881 * conform/data/utime.h-data: Likewise.
13882
13883 * io/sys/stat.h: fchmod was always in POSIX.
13884 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13885 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13886 * rt/aio.h: Define __need_timespec before including <time.h>.
13887 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13888 struct. Add forward declaration of pthread_attr_t and use it in
13889 sigevent.
13890 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13891 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13892 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13893 always remove CLK_TCK definition.
13894
c20105c3
AS
138952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13896
13897 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13898
7a270350
UD
138992012-02-25 Ulrich Drepper <drepper@gmail.com>
13900
31341567
UD
13901 * conform/run-conformtest.sh: New file.
13902 * conform/Makefile: Run run-conformtest for tests.
13903 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13904 support.
13905
13906 * conform/data/uchar.h-data: New file.
13907 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13908 * conform/data/arpa/inet.h-data: Likewise.
13909 * conform/data/assert.h-data: Likewise.
13910 * conform/data/complex.h-data: Likewise.
13911 * conform/data/cpio.h-data: Likewise.
13912 * conform/data/ctype.h-data: Likewise.
13913 * conform/data/dirent.h-data: Likewise.
13914 * conform/data/dlfcn.h-data: Likewise.
13915 * conform/data/errno.h-data: Likewise.
13916 * conform/data/fcntl.h-data: Likewise.
13917 * conform/data/float.h-data: Likewise.
13918 * conform/data/fmtmsg.h-data: Likewise.
13919 * conform/data/fnmatch.h-data: Likewise.
13920 * conform/data/ftw.h-data: Likewise.
13921 * conform/data/glob.h-data: Likewise.
13922 * conform/data/grp.h-data: Likewise.
13923 * conform/data/iconv.h-data: Likewise.
13924 * conform/data/inttypes.h-data: Likewise.
13925 * conform/data/langinfo.h-data: Likewise.
13926 * conform/data/libgen.h-data: Likewise.
13927 * conform/data/limits.h-data: Likewise.
13928 * conform/data/locale.h-data: Likewise.
13929 * conform/data/math.h-data: Likewise.
13930 * conform/data/monetary.h-data: Likewise.
13931 * conform/data/mqueue.h-data: Likewise.
13932 * conform/data/ndbm.h-data: Likewise.
13933 * conform/data/net/if.h-data: Likewise.
13934 * conform/data/netdb.h-data: Likewise.
13935 * conform/data/netinet/in.h-data: Likewise.
13936 * conform/data/nl_types.h-data: Likewise.
13937 * conform/data/poll.h-data: Likewise.
13938 * conform/data/pthread.h-data: Likewise.
13939 * conform/data/pwd.h-data: Likewise.
13940 * conform/data/regex.h-data: Likewise.
13941 * conform/data/sched.h-data: Likewise.
13942 * conform/data/search.h-data: Likewise.
13943 * conform/data/semaphore.h-data: Likewise.
13944 * conform/data/setjmp.h-data: Likewise.
13945 * conform/data/signal.h-data: Likewise.
13946 * conform/data/spawn.h-data: Likewise.
13947 * conform/data/stdarg.h-data: Likewise.
13948 * conform/data/stdio.h-data: Likewise.
13949 * conform/data/stdlib.h-data: Likewise.
13950 * conform/data/string.h-data: Likewise.
13951 * conform/data/strings.h-data: Likewise.
13952 * conform/data/stropts.h-data: Likewise.
13953 * conform/data/sys/ipc.h-data: Likewise.
13954 * conform/data/sys/mman.h-data: Likewise.
13955 * conform/data/sys/msg.h-data: Likewise.
13956 * conform/data/sys/resource.h-data: Likewise.
13957 * conform/data/sys/select.h-data: Likewise.
13958 * conform/data/sys/sem.h-data: Likewise.
13959 * conform/data/sys/shm.h-data: Likewise.
13960 * conform/data/sys/socket.h-data: Likewise.
13961 * conform/data/sys/stat.h-data: Likewise.
13962 * conform/data/sys/statvfs.h-data: Likewise.
13963 * conform/data/sys/time.h-data: Likewise.
13964 * conform/data/sys/timeb.h-data: Likewise.
13965 * conform/data/sys/times.h-data: Likewise.
13966 * conform/data/sys/types.h-data: Likewise.
13967 * conform/data/sys/uio.h-data: Likewise.
13968 * conform/data/sys/un.h-data: Likewise.
13969 * conform/data/sys/utsname.h-data: Likewise.
13970 * conform/data/sys/wait.h-data: Likewise.
13971 * conform/data/syslog.h-data: Likewise.
13972 * conform/data/tar.h-data: Likewise.
13973 * conform/data/termios.h-data: Likewise.
13974 * conform/data/utime.h-data: Likewise.
13975 * conform/data/utmpx.h-data: Likewise.
13976 * conform/data/varargs.h-data: Likewise.
13977 * conform/data/wchar.h-data: Likewise.
13978 * conform/data/wctype.h-data: Likewise.
13979 * conform/data/wordexp.h-data: Likewise.
13980
13981 * include/stropts.h: New file.
13982 * include/uchar.h: New file.
13983 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13984 * include/assert.h: Likewise.
13985 * include/ctype.h: Likewise.
13986 * include/dirent.h: Likewise.
13987 * include/dlfcn.h: Likewise.
13988 * include/fcntl.h: Likewise.
13989 * include/fnmatch.h: Likewise.
13990 * include/glob.h: Likewise.
13991 * include/grp.h: Likewise.
13992 * include/libio.h: Likewise.
13993 * include/locale.h: Likewise.
13994 * include/math.h: Likewise.
13995 * include/net/if.h: Likewise.
13996 * include/netdb.h: Likewise.
13997 * include/netinet/in.h: Likewise.
13998 * include/pthread.h: Likewise.
13999 * include/pwd.h: Likewise.
14000 * include/regex.h: Likewise.
14001 * include/sched.h: Likewise.
14002 * include/search.h: Likewise.
14003 * include/setjmp.h: Likewise.
14004 * include/signal.h: Likewise.
14005 * include/stdio.h: Likewise.
14006 * include/stdlib.h: Likewise.
14007 * include/string.h: Likewise.
14008 * include/sys/cdefs.h: Likewise.
14009 * include/sys/mman.h: Likewise.
14010 * include/sys/msg.h: Likewise.
14011 * include/sys/resource.h: Likewise.
14012 * include/sys/select.h: Likewise.
14013 * include/sys/socket.h: Likewise.
14014 * include/sys/stat.h: Likewise.
14015 * include/sys/statvfs.h: Likewise.
14016 * include/sys/time.h: Likewise.
14017 * include/sys/times.h: Likewise.
14018 * include/sys/uio.h: Likewise.
14019 * include/sys/utsname.h: Likewise.
14020 * include/sys/wait.h: Likewise.
14021 * include/termios.h: Likewise.
14022 * include/time.h: Likewise.
14023 * include/ulimit.h: Likewise.
14024 * include/unistd.h: Likewise.
14025 * include/utime.h: Likewise.
14026 * include/wchar.h: Likewise.
14027 * include/wctype.h: Likewise.
14028 * include/wordexp.h: Likewise.
14029
14030 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14031
7a270350
UD
14032 * time/time.h: TIME_UTC must be a macro.
14033 Make timespec_get available for ISO C11 only as well.
14034
7724defc
UD
140352012-02-24 Ulrich Drepper <drepper@gmail.com>
14036
14037 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14038 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14039
6b1d1d46
JM
140402012-02-24 Joseph Myers <joseph@codesourcery.com>
14041
14042 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14043
0f8bbd69
JM
140442012-02-24 Joseph Myers <joseph@codesourcery.com>
14045
14046 * manual/texinfo.tex: Update to version 2012-01-19.16.
14047
66ab80bc
JM
140482012-02-24 Joseph Myers <joseph@codesourcery.com>
14049
14050 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14051
74981cc5
RM
140522012-02-24 Roland McGrath <roland@hack.frob.com>
14053
ee968201
RM
14054 [BZ #13738]
14055 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14056 * manual/fdl-1.3.texi: New file.
14057 * manual/fdl-1.1.texi: File removed.
14058
74981cc5
RM
14059 [BZ #13738]
14060 * manual/libc.texinfo (FDL_VERSION): New @set.
14061 Use it for mention of FDL in cover text.
14062 (Documentation License): Use it in @include file name.
14063
7bb764bc
JM
140642012-02-22 Joseph Myers <joseph@codesourcery.com>
14065 Roland McGrath <roland@hack.frob.com>
14066
14067 [BZ #5461]
14068 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14069 not LONG_LONG_MAX and LONG_LONG_MIN.
14070 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14071 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14072 name.
14073 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14074
6cbeae47
JM
140752012-02-22 Joseph Myers <joseph@codesourcery.com>
14076
14077 [BZ #2547]
14078 [BZ #11365]
14079 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14080 manipulate bits before adding and subtracting TWO23[sx].
14081 * math/libm-test.inc (nearbyint_test): Add more tests.
14082
fe45ce09
JM
140832012-02-22 Joseph Myers <joseph@codesourcery.com>
14084
14085 [BZ #2548]
14086 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14087 bits before adding and subtracting TWO23[sx].
14088 * math/libm-test.inc (rint_test): Add more tests.
14089 (rint_test_tonearest): Likewise.
14090 (rint_test_towardzero): Likewise.
14091 (rint_test_downward): Likewise.
14092 (rint_test_upward: Likewise.
14093
ff3b3d82
JM
140942012-02-22 Joseph Myers <joseph@codesourcery.com>
14095
14096 [BZ #10110]
14097 * include/stdc-predef.h: New file. Extracted from features.h.
14098 * include/features.h: Include stdc-predef.h.
14099 * Makefile (headers): Add stdc-predef.h.
14100 * CONFORMANCE (Compiler limitations): Update.
14101
ef0aab35
JM
141022012-02-22 Joseph Myers <joseph@codesourcery.com>
14103
14104 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14105
58639409
DM
141062012-02-21 David S. Miller <davem@davemloft.net>
14107
14108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14109 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14110
c0e70b25
DM
141112012-02-20 David S. Miller <davem@davemloft.net>
14112
14113 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14114 using a normal save/restore sequence, rather than allocating a
14115 dummy stack frame just to store a frame pointer and restore.
14116 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14117
fb06851d
JM
141182012-02-21 Joseph Myers <joseph@codesourcery.com>
14119
14120 * manual/install.texi: Fix stray word in line-wrapped comment.
14121
7a8b71c3
DM
141222012-02-20 David S. Miller <davem@davemloft.net>
14123
d510c123
DM
14124 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14125 both binutils and gcc support GOTDATA.
14126
0722d7c2
DM
14127 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14128 "rd %pc" in the PIC register setup sequences.
14129
3d2b3019
DM
14130 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14131 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14132 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14133 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14134 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14136 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14137 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14139 (SYSCALL_ERROR_HANDLER): Likewise.
14140 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14141 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14143 (SYSCALL_ERROR_HANDLER): Likewise.
14144
c80098a9
DM
14145 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14146 (HAVE_GCC_GOTDATA): New.
14147 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14148 relocation support in both binutils and gcc.
14149 * sysdeps/sparc/elf/configure: Regenerate.
14150
3a2545a0
DM
14151 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14152 * sysdeps/sparc/sparc32/elf/configure: Delete.
14153 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14154 * sysdeps/sparc/sparc64/elf/configure: Delete.
14155 * sysdeps/sparc/elf/configure.in: New file.
14156 * sysdeps/sparc/elf/configure: Generate.
14157
7a8b71c3
DM
14158 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14159 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14160 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14161 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14162 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14163
f1e86fca
JM
141642012-02-21 Joseph Myers <joseph@codesourcery.com>
14165
14166 * manual/install.texi: Do not mention specific glibc version
14167 numbers.
14168 * manual/libc.texinfo (VERSION, UPDATED): Update.
14169 (@copying): Use @copyright{} and range of years.
14170
0e7dfaef
JM
141712012-02-21 Joseph Myers <joseph@codesourcery.com>
14172
14173 [BZ #13695]
14174 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14175 [crti.S not in sysdirs] (generated): Do not append.
14176 [crti.S not in sysdirs] (omit-deps): Likewise.
14177 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14178 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14179 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14180 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14181 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14182 Likewise.
14183 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14184 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14185 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14186 * csu/defs.awk: Remove file.
14187 * sysdeps/generic/initfini.c: Likewise.
14188 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14189 variable.
14190 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14191 Likewise.
14192
599af3ca
JM
141932012-02-20 Joseph Myers <joseph@codesourcery.com>
14194
14195 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14196 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14197 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14198 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14199 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14200 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14201 <bits/epoll.h>.
14202 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14203 (__EPOLL_PACKED): Define to empty if not defined by
14204 <bits/epoll.h>.
14205 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14207 bits/epoll.h.
14208
0e499750
JM
142092012-02-20 Joseph Myers <joseph@codesourcery.com>
14210
14211 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14212 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14213 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14214 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14215 <bits/timerfd.h>.
14216 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14218 bits/timerfd.h.
14219
5ad91f6e
JM
142202012-02-20 Joseph Myers <joseph@codesourcery.com>
14221
14222 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14223 in C locale.
14224 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14225 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14226 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14228
06b99b02
AJ
142292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14230
14231 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14232 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14233
7638c0fd
AS
142342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14235
14236 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14237 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14238 defined.
14239 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14240 Likewise.
14241 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14242 entry for 2.16.
14243
92221550
AJ
142442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14245
14246 * math/w_acos.c: Use non-signaling floating-point comparisons.
14247 * math/w_acosf.c: Likewise.
14248 * math/w_acosh.c: Likewise.
14249 * math/w_acoshf.c: Likewise.
14250 * math/w_acoshl.c: Likewise.
14251 * math/w_acosl.c: Likewise.
14252 * math/w_asin.c: Likewise.
14253 * math/w_asinf.c: Likewise.
14254 * math/w_asinl.c: Likewise.
14255 * math/w_atanh.c: Likewise.
14256 * math/w_atanhf.c: Likewise.
14257 * math/w_atanhl.c: Likewise.
14258 * math/w_exp2.c: Likewise.
14259 * math/w_exp2f.c: Likewise.
14260 * math/w_exp2l.c: Likewise.
14261 * math/w_j0.c: Likewise.
14262 * math/w_j0f.c: Likewise.
14263 * math/w_j0l.c: Likewise.
14264 * math/w_j1.c: Likewise.
14265 * math/w_j1f.c: Likewise.
14266 * math/w_j1l.c: Likewise.
14267 * math/w_jn.c: Likewise.
14268 * math/w_jnf.c: Likewise.
14269 * math/w_log.c: Likewise.
14270 * math/w_log10.c: Likewise.
14271 * math/w_log10f.c: Likewise.
14272 * math/w_log10l.c: Likewise.
14273 * math/w_log2.c: Likewise.
14274 * math/w_log2f.c: Likewise.
14275 * math/w_log2l.c: Likewise.
14276 * math/w_logf.c: Likewise.
14277 * math/w_logl.c: Likewise.
14278 * math/w_sqrt.c: Likewise.
14279 * math/w_sqrtf.c: Likewise.
14280 * math/w_sqrtl.c: Likewise.
14281 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14282 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14283 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14284 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14285 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14286
ebaf36eb
JM
142872012-02-19 Joseph Myers <joseph@codesourcery.com>
14288
14289 [BZ #9739]
14290 * manual/string.texi (strnlen): Use correct parameter name in
14291 equivalent expression.
14292
71c254a6
JM
142932012-02-19 Joseph Myers <joseph@codesourcery.com>
14294
14295 [BZ #11174]
14296 * manual/users.texi (seteuid): Consistently use neweuid for
14297 argument name.
14298
16d2c631
JM
142992012-02-19 Joseph Myers <joseph@codesourcery.com>
14300
14301 [BZ #13704]
14302 * manual/nss.texi (Services in the NSS configuration): Correct
14303 list of services in example configuration file.
14304
cd837b09
NB
143052012-02-19 Nick Bowler <nbowler@draconx.ca>
14306
14307 [BZ #11322]
14308 * manual/arith.texi: Remove statements about negative zero
14309 behaving identically to zero.
14310
02c4bbad
JM
143112012-02-18 Joseph Myers <joseph@codesourcery.com>
14312
14313 [BZ #5993]
14314 * manual/install.texi: Do not document upgrading from libc5.
14315
366842e7
JM
143162012-02-18 Joseph Myers <joseph@codesourcery.com>
14317
14318 [BZ #4596]
14319 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14320
dd54084d
DM
143212012-02-18 David S. Miller <davem@davemloft.net>
14322
14323 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14324 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14325 %o7 across the call.
14326 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14327 instead.
14328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14329 SETUP_PIC_REG_LEAF.
14330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14331 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14332 * sysdeps/sparc/crtn.S: Likewise.
14333
2bcc53a3
UD
143342012-02-17 Ulrich Drepper <drepper@gmail.com>
14335
14336 * aout/Makefile: Remove.
14337
09c093b5
RK
143382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14339
14340 [BZ #13058]
14341 * manual/examples/argp-ex1.c (main): Format definition in GNU
14342 style.
14343 * manual/examples/argp-ex2.c (main): Likewise.
14344 * manual/examples/argp-ex3.c (main): Likewise.
14345 * manual/examples/argp-ex4.c (main): Likewise.
14346 * manual/examples/longopt.c (main): Use new-style prototype
14347 definition.
14348 * manual/examples/strncat.c (main): Specify return type and use
14349 (void) for arguments.
14350 * manual/examples/subopt.c (main): Use char **argv argument.
14351
2ee633a2
JM
143522012-02-17 Joseph Myers <joseph@codesourcery.com>
14353
14354 [BZ #5077]
14355 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14356 rounding modes.
14357
0520adde
FB
143582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14359
14360 [BZ #6907]
14361 * manual/string.texi (strchr): Change when strchrnul is
14362 recommended.
14363
3f4081cd
DGM
143642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14365
14366 [BZ #174]
14367 * manual/locale.texi (setlocale): Document LOCPATH.
14368
d1b10e78
JM
143692012-02-17 Joseph Myers <joseph@codesourcery.com>
14370
14371 [BZ #10210]
14372 * manual/process.texi (execle): Move @dots{} before last argument.
14373
79c6869c
PB
143742012-02-17 Paul Bolle <pebolle@tiscali.nl>
14375
14376 [BZ #12047]
14377 * manual/charset.texi (Generic Charset Conversion): Fix typo
14378 (LC_TYPE -> LC_CTYPE).
14379
cc6e48bc
NB
143802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14381
14382 [BZ #5805]
14383 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14384 (scalbnf): Likewise.
14385 (scalbnl): Likewise.
14386 (scalbln): Likewise.
14387 (scalblnf): Likewise.
14388 (scalblnl): Likewise.
14389 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14390 (vwarnx): Likewise.
14391 (verr): Likewise.
14392 (verrx): Likewise.
14393 * manual/filesys.texi (telldir): Use braces around return type.
14394 * manual/llio.texi (mmap): Add space after comma.
14395 (mmap64): Likewise.
14396 * manual/math.texi (jn): Use @var{} on parameter names.
14397 (jnf): Likewise.
14398 (jnl): Likewise.
14399 (yn): Likewise.
14400 (ynf): Likewise.
14401 (ynl): Likewise.
14402 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14403 line.
14404 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14405 "...".
14406 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14407 (sched_get_priority_max): Likewise.
14408 * manual/signal.texi (sigvec): Add space after comma.
14409 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14410 names.
14411 (if_indextoname): Likewise.
14412 (if_freenameindex): Likewise.
14413 (sendto): Use ',' instead of '.' in prototype.
14414 * manual/startup.texi (syscall): Use @dots{} instead of literal
14415 "...".
14416 * manual/stdio.texi (__fpending): Separate initial words of
14417 paragraph from @deftypefun line.
14418 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14419 "...".
14420 (vsyslog): Use @var{} on parameter names.
14421 * manual/terminal.texi (stty): Use @var{} on parameter names.
14422 * manual/users.texi (getutmp): Use @var{} on parameter names.
14423 (getutmpx): Likewise.
14424
5b23062f
JM
144252012-02-17 Joseph Myers <joseph@codesourcery.com>
14426
14427 [BZ #6884]
14428 * manual/stdio.texi (fopen): Fix typos in description of
14429 ",ccs=STRING".
14430
8dee4833
AJ
144312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14432
14433 [BZ #4026]
14434 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14435 get clock_id definition.
14436
9078ce93
TS
144372012-02-17 Thomas Schwinge <thomas@schwinge.name>
14438
14439 [BZ #4822]
14440 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14441 (madvise): Cast every argument to void on its own.
14442
3835c55f
JM
144432012-02-17 Joseph Myers <joseph@codesourcery.com>
14444
14445 [BZ #9902]
14446 * manual/startup.texi (Exit Status): Fix typo.
14447
35c47e37
JM
144482012-02-17 Joseph Myers <joseph@codesourcery.com>
14449
14450 [BZ #10140]
14451 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14452 * manual/examples/argp-ex2.c: Likewise.
14453 * manual/examples/argp-ex3.c: Likewise.
14454
e3b69ca7
RH
144552012-02-16 Richard Henderson <rth@redhat.com>
14456
14457 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14458 * sysdeps/s390/s390-32/initfini.c: Remove.
14459 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14460 * sysdeps/s390/s390-64/initfini.c: Remove.
14461
df83af67
KK
144622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14463
14464 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14465 compiler output for sysdeps/generic/initfini.c.
14466 * sysdeps/sh/elf/initfini.c: Remove file.
14467
f63f3380
DM
144682012-02-16 David S. Miller <davem@davemloft.net>
14469
fb59b3a4
DM
14470 [BZ #11494]
14471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14472
f63f3380
DM
14473 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14474 * sysdeps/sparc/crti.S: New file.
14475 * sysdeps/sparc/crtn.S: New file.
14476 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14477 * sysdeps/sparc/sparc64/Makefile: Likewise.
14478
df6a4a4a
MF
144792012-02-15 Mike Frysinger <vapier@gentoo.org>
14480
6dd8f3dc 14481 [BZ #3335]
df6a4a4a
MF
14482 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14483
1cac7236
RM
144842012-02-15 Roland McGrath <roland@hack.frob.com>
14485
d2c736f8
RM
14486 [BZ #4822]
14487 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14488
1cac7236
RM
14489 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14490 (write, read, close): Likewise.
14491 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14492
8e475601
JM
144932012-02-15 Joseph Myers <joseph@codesourcery.com>
14494
14495 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14496 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14497 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14498 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14499 <bits/signalfd.h>.
14500 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14502 bits/signalfd.h.
14503
ed656b40
MP
145042012-02-14 Marek Polacek <polacek@redhat.com>
14505
14506 * sysdeps/x86_64/crti.S: New file.
14507 * sysdeps/x86_64/crtn.S: New file.
14508 * sysdeps/x86_64/elf/initfini.c: Remove file.
14509
2a979d3a
JM
145102012-02-13 Joseph Myers <joseph@codesourcery.com>
14511
14512 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14513 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14514 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14515 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14516 <bits/inotify.h>.
14517 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14519 bits/inotify.h.
14520
2a418ac3
JM
145212012-02-13 Joseph Myers <joseph@codesourcery.com>
14522
14523 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14524 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14525 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14526 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14527 <bits/eventfd.h>.
14528 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14530 bits/eventfd.h.
14531
fb779be7
TS
145322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14533
e19e83c5
RM
14534 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14535 __feraiseexcept instead of feraiseexcept.
7c35ffed 14536
fb779be7
TS
14537 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14538 nanosleep invocations.
14539 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14540 strings, and add error checking for a nanosleep invocations.
14541
59ba27a6
PE
145422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14543
14544 Replace FSF snail mail address with URLs, as per GNU coding standards.
14545 Most of the snail mail addresses were wrong anyway, and omitting
14546 them makes the source code easier to maintain. Almost all of the
14547 changes are to license notices and to locale LC_IDENTIFICATION
14548 addresses, except for this one:
14549 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14550 not its snail mail address.
14551
57b957eb
RH
145522012-02-09 Richard Henderson <rth@twiddle.net>
14553
af850b1c
RH
14554 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14555 of kernel-features.h.
14556
57b957eb
RH
14557 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14558
6b73181a
MP
145592012-02-08 Marek Polacek <polacek@redhat.com>
14560
14561 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14562 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14563 * sysdeps/gnu/_G_config.h: Likewise.
14564 * sysdeps/generic/_G_config.h: Likewise.
14565
26ecc33a
AS
145662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14567
6c6dbc63
AS
14568 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14569 tests.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571
e216c012
AS
14572 * sysdeps/powerpc/powerpc32/crti.S: New file.
14573 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14574 * sysdeps/powerpc/powerpc64/crti.S: New file.
14575 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14576
26ecc33a
AS
14577 * Makeconfig (have-initfini): Don't set.
14578 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14579 * configure.in (nopic_initfini): Don't substitute.
14580 * config.h.in (HAVE_INITFINI): Don't #undef.
14581 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14582 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14583
3add8e13
JM
145842012-02-08 Joseph Myers <joseph@codesourcery.com>
14585
14586 Support crti.S and crtn.S provided directly by architectures.
14587 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14588 [crti.S in sysdirs] (omit-deps): Likewise.
14589 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14590 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14591 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14592 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14593 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14594 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14595 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14596 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14597 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14598 compiler output for sysdeps/generic/initfini.c.
14599 * sysdeps/i386/elf/Makefile: Remove file.
14600 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14601
a22f12b4
MP
146022012-02-07 Marek Polacek <polacek@redhat.com>
14603
14604 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14605 * sysdeps/gnu/_G_config.h: Likewise.
14606 * sysdeps/mach/hurd/_G_config.h: Likewise.
14607
148cf100
MP
146082012-02-07 Marek Polacek <polacek@redhat.com>
14609
14610 * math/Makefile (tests): Add tst-CMPLX2.
14611 * math/tst-CMPLX2.c: New file.
14612
cfdc0dd7
AS
146132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14614
84ba42c4
AS
14615 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14616
cfdc0dd7
AS
14617 * math/libm-test.inc (jn_test): Add missing L suffix.
14618
622c86f4
MP
146192012-02-06 Marek Polacek <polacek@redhat.com>
14620
14621 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14622 * sysdeps/i386/fpu/e_powf.S: Likewise.
14623 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14624 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14625 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14626 * sysdeps/i386/fpu/e_pow.S: Likewise.
14627 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14628 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14629 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14630 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14631 * sysdeps/i386/fpu/e_log2.S: Likewise.
14632 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14633 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14634 * sysdeps/i386/fpu/e_powl.S: Likewise.
14635 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14636 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14637 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14638 * sysdeps/i386/fpu/e_logl.S: Likewise.
14639 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14640 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14641 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14642 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14643 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14644 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14645 * sysdeps/i386/fpu/e_log.S: Likewise.
14646 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14647 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14648 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14649 * sysdeps/i386/fpu/e_logf.S: Likewise.
14650 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14652 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14653 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14654 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14655 * sysdeps/i386/fpu/e_log10.S: Likewise.
14656 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14657 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14658 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14659 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14660 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14661 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14662 * sysdeps/i386/asm-syntax.h: Likewise.
14663 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14664 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14665 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14666 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14667 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14668 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14669 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14670 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14671 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14672 * sysdeps/powerpc/sysdep.h: Likewise.
14673 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14674 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14675
d4a54ac6
JM
146762012-02-06 Joseph Myers <joseph@codesourcery.com>
14677
14678 [BZ #411]
14679 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14680
314054ea
JM
146812012-02-06 Joseph Myers <joseph@codesourcery.com>
14682
14683 * sysdeps/i386/sysdep.h: Include <features.h>.
14684 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14685 version.
14686
d8e0ca50
JM
146872012-02-05 Joseph Myers <joseph@codesourcery.com>
14688
14689 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14690 Define.
14691 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14692 LOAD_PIC_REG_STR.
14693
b1da7dd9
JM
146942012-02-03 Joseph Myers <joseph@codesourcery.com>
14695
14696 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14697 (SETUP_PIC_REG): Use GET_PC_THUNK.
14698 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14699 macro.
14700
9a1d9254
JM
147012012-02-03 Joseph Myers <joseph@codesourcery.com>
14702
14703 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14704 for non-PIC compilation.
14705 (SETUP_PIC_REG): Add .p2align directive.
14706 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14707 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14708 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14709 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14710 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14711 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14712 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14714 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14715 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14716 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14717 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14718 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14719 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14720 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14721 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14722 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14723 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14724 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14725 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14726 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14727 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14728 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14729 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14730 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14732 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14733 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14734 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14735 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14736 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14737 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14738 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14739 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14740 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14741 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14742 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14743 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14744 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14745 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14746 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14747
65dc3b75
JM
147482012-02-03 Joseph Myers <joseph@codesourcery.com>
14749
14750 * math/tst-CMPLX.c: Include <stdio.h>.
14751
d55bf177
JM
147522012-01-31 Joseph Myers <joseph@codesourcery.com>
14753
14754 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14755 float.
14756 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14757 * sysdeps/sparc/bits/mathdef.h: Likewise.
14758
69db4f8f
MP
147592012-01-31 Marek Polacek <polacek@redhat.com>
14760
14761 * libio/libio.h: Don't define _PARAMS.
14762 * locale/programs/config.h: Don't define PARAMS.
14763 * stdlib/strtol_l.c: Likewise.
14764 (__strtol_l): Remove PARAMS from the prototype.
14765
41b81892
UD
147662012-01-31 Ulrich Drepper <drepper@gmail.com>
14767
3b49edc0
UD
14768 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14769 names. Just use the correct names. Remove unnecessary wrapper
14770 functions.
14771 * malloc/arena.c: Likewise.
14772 * malloc/hooks.c: Likewise.
14773
41b81892
UD
14774 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14775 ARENA_TEST says not to. Simplify test for creation of a new arena.
14776 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14777
27a25b6e
UD
147782012-01-30 Ulrich Drepper <drepper@gmail.com>
14779
14780 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14781 into tail calls.
14782 (update_get_addr): New function.
14783 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14784 GET_ADDR_MODULE parameter.
14785
c8a89e7d
JM
147862012-01-30 Joseph Myers <joseph@codesourcery.com>
14787
14788 * crypt/cert.c: Remove __STDC__ conditionals.
14789 * crypt/crypt-entry.c: Likewise.
14790 * crypt/crypt_util.c: Likewise.
14791 * libio/filedoalloc.c: Likewise.
14792 * libio/fileops.c: Likewise.
14793 * libio/genops.c: Likewise.
14794 * libio/iofclose.c: Likewise.
14795 * libio/iofdopen.c: Likewise.
14796 * libio/iofopen.c: Likewise.
14797 * libio/iofopen64.c: Likewise.
14798 * libio/iogetdelim.c: Likewise.
14799 * libio/iopopen.c: Likewise.
14800 * libio/obprintf.c: Likewise.
14801 * libio/oldfileops.c: Likewise.
14802 * libio/oldiofclose.c: Likewise.
14803 * libio/oldiofdopen.c: Likewise.
14804 * libio/oldiofopen.c: Likewise.
14805 * libio/oldiopopen.c: Likewise.
14806 * libio/wfiledoalloc.c: Likewise.
14807 * libio/wgenops.c: Likewise.
14808 * locale/programs/xmalloc.c: Likewise.
14809 * misc/syslog.c: Likewise.
14810 * stdio-common/xbug.c: Likewise.
14811 * string/memchr.c: Likewise.
14812 * string/memcmp.c: Likewise.
14813 * string/memrchr.c: Likewise.
14814 * string/rawmemchr.c: Likewise.
14815 * sysdeps/posix/getcwd.c: Likewise.
14816 * time/strftime_l.c: Likewise.
14817
3b100462
JM
148182012-01-30 Joseph Myers <joseph@codesourcery.com>
14819
14820 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14821 * config.make.in (config-cflags-sse2avx): Define.
14822 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14823 Fix typo.
14824
607998af
CM
148252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14826
14827 * scripts/config.guess: Update from upstream config git repository.
14828 * scripts/config.sub: Likewise.
14829
3601428f
CM
148302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14831
3ac8b282
CM
14832 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14833 (EM_NUM): Update.
14834 (R_TILEPRO_*, R_TILEGX_*): New macros.
14835
e034841e
CM
14836 * scripts/firstversions.awk: Fix bug in version range handling.
14837
540d7568
CM
14838 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14839
3601428f
CM
14840 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14841
463de862
CM
14842 * include/sys/epoll.h: New file.
14843 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14844 libc_hidden_def.
14845
73139a76
UD
148462012-01-28 Ulrich Drepper <drepper@gmail.com>
14847
96bc5b45
UD
14848 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14849 Avoid unnecessary __WORDSIZE == 64 test.
14850 (fmaxf): Use VEX format if possible.
14851 (fmax): Likewise.
14852 (fminf): Likewise.
14853 (fmin): Likewise.
14854
56f6f6a2
UD
14855 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14856 * math/math_private.h: Remove libc_fegetround* and
14857 libc_fesetround*.
14858 * sysdeps/i386/configure.in: Check for -msse2avx.
14859 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14860 also if SSE2AVX is defined.
14861 Remove libc_fegetround* and libc_fesetround*.
14862 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14863 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14864 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14865 of HAS_YMM_USABLE.
14866 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14867 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14868 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14869 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14870 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14871
73139a76
UD
14872 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14873
d73f93a4
AZ
148742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14875
14876 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14877 size is not set.
14878 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14879
6ee65ed6
UD
148802012-01-27 Ulrich Drepper <drepper@gmail.com>
14881
14882 [BZ #13618]
14883 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14884 relocation.
14885 * Makeconfig (libm): Define.
14886 * elf/Makefile: Add rules to build and run tst-relsort1.
14887 * elf/tst-relsort1.c: New file.
14888 * elf/tst-relsort1mod1.c: New file.
14889 * elf/tst-relsort1mod2.c: New file.
14890
8db21882
JM
148912012-01-27 Joseph Myers <joseph@codesourcery.com>
14892
14893 * math/s_ldexp.c: Remove __STDC__ conditionals.
14894 * math/s_ldexpf.c: Likewise.
14895 * math/s_ldexpl.c: Likewise.
14896 * math/s_nextafter.c: Likewise.
14897 * math/s_nexttowardf.c: Likewise.
14898 * math/s_significand.c: Likewise.
14899 * math/s_significandf.c: Likewise.
14900 * math/s_significandl.c: Likewise.
14901 * math/w_jnl.c: Likewise.
14902 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14903 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14904 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14905 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14906 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14910 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14911 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14912 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14913 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14914 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14917 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14918 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14919 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14920 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14921 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14922 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14923 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14924 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14925 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14926 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14927 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14928 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14929 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14930 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14931 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14932 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14933 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14934 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14935 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14936 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14937 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14938 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14939 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14940 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14941 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14942 * sysdeps/ieee754/k_standard.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15004 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15009 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15017 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15018 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15022 * sysdeps/ieee754/s_matherr.c: Likewise.
15023 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15024 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15026 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15027
965a54a4
JM
150282012-01-26 Joseph Myers <joseph@codesourcery.com>
15029
15030 * crypt/md5.h: Remove __STDC__ conditionals.
15031 * libio/libioP.h: Likewise.
15032 * locale/programs/config.h: Likewise.
15033 * sysdeps/generic/sysdep.h: Likewise.
15034 * sysdeps/i386/asm-syntax.h: Likewise.
15035 * sysdeps/s390/asm-syntax.h: Likewise.
15036 * sysdeps/unix/sysdep.h: Likewise.
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15039
7071ad79
JM
150402012-01-26 Joseph Myers <joseph@codesourcery.com>
15041
15042 * libio/libio.h: Remove __STDC__ conditionals.
15043 * malloc/obstack.h: Likewise.
15044 * math/complex.h: Likewise.
15045 * math/math.h: Likewise.
15046 * sysdeps/generic/_G_config.h: Likewise.
15047 * sysdeps/gnu/_G_config.h: Likewise.
15048 * sysdeps/mach/hurd/_G_config.h: Likewise.
15049 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15050 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15051 * sysdeps/sparc/bits/mathdef.h: Likewise.
15052
afc5ed09
UD
150532012-01-26 Ulrich Drepper <drepper@gmail.com>
15054
15055 [BZ #13583]
15056 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15057 Clean up HAS_* macros.
afc5ed09 15058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15059 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15060 possible.
15061 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15062 HAS_AVX.
15063 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15064 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15065 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15066 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15068
bdb6de1d
JM
150692012-01-25 Joseph Myers <joseph@codesourcery.com>
15070
15071 * elf/tst-unique3.cc (gets): Remove declaration.
15072 * elf/tst-unique3lib.cc (gets): Likewise.
15073 * elf/tst-unique3lib2.cc (gets): Likewise.
15074 * elf/tst-unique4.cc (gets): Likewise.
15075
b15549e6
UD
150762012-01-24 Ulrich Drepper <drepper@gmail.com>
15077
15078 * include/stdio.h: Add C++ protection. Add gets declarations and
15079 definitions.
15080 * debug/tst-chk1.c: Don't declare gets here.
15081 * stdio-common/tst-gets.c: Likewise.
15082
a037381f
JM
150832012-01-24 Joseph Myers <joseph@codesourcery.com>
15084
15085 * posix/glob: Remove directory.
15086
f1d4aa75
JM
150872012-01-24 Joseph Myers <joseph@codesourcery.com>
15088
15089 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15090
81c0c964
PT
150912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15092
15093 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15094 of the non-standard EPFNOSUPPORT.
15095
0ea698ae
ST
150962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15097
15098 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15099 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15100 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15101
d220b117
UD
151022012-01-21 Ulrich Drepper <drepper@gmail.com>
15103
15104 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15105
3e1aa84e
UD
151062012-01-20 Ulrich Drepper <drepper@gmail.com>
15107
15108 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15109 transient errors.
15110 * nscd/grpcache.c (cache_addgr): Likewise.
15111 * nscd/hstcache.c (cache_addhst): Likewise.
15112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15113 * nscd/pwdcache.c (cache_addpw): Likewise.
15114 * nscd/servicescache.c (cache_addserv): Likewise.
15115
400aa020
UD
151162012-01-16 Ulrich Drepper <drepper@gmail.com>
15117
d77e7869
UD
15118 * malloc/malloc.c: Various cleanups.
15119 * malloc/hooks.c: Likewise.
15120
400aa020
UD
15121 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15122 * stdlib/bug-fmtmsg1.c: New file.
15123
15124 * stdlib/fmtmsg.c (init): Add missing unlock.
15125 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15126
e0a309cf
MP
151272012-01-12 Marek Polacek <polacek@redhat.com>
15128
15129 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15130 and _GNU_SOURCE.
15131
929d11c7
WS
151322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15133
15134 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15135 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15136 macro to ensure uniqueness of label name.
15137 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15138 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15139
41d0e869
UD
151402012-01-11 Ulrich Drepper <drepper@gmail.com>
15141
0cc5ed3b
UD
15142 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15143
41d0e869
UD
15144 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15145 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15146 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15148
a47a831a
UD
151492012-01-10 Ulrich Drepper <drepper@gmail.com>
15150
daa891c0
UD
15151 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15152
15153 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15154 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15155 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15156
e58ef0f2
UD
15157 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15158
a47a831a 15159 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15160 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15161 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15163
15164 * math/bits/math-finite.h: Add ldexp support.
15165
a0bfc9c7
MP
151662012-01-10 Marek Polacek <polacek@redhat.com>
15167
15168 * locale/programs/localedef.h (show_archive_content): Add noreturn
15169 attribute.
15170
d6e97a1d
UD
151712012-01-09 Ulrich Drepper <drepper@gmail.com>
15172
15173 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15174
d5835c26
UD
151752012-01-08 Ulrich Drepper <drepper@gmail.com>
15176
e5f484c6
UD
15177 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15178
d5835c26
UD
15179 * io/Makefile (headers): Add bits/poll2.h.
15180
d1f741e9
WS
151812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15182
15183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15184 typo #include statement.
15185
ec09c1c4
UD
151862012-01-08 Ulrich Drepper <drepper@gmail.com>
15187
15188 * include/sys/cdefs.h: Define __attribute_alloc_size.
15189 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15190 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15191 * elf/pldd.c: Likewise.
15192 * iconv/iconv_charmap.c: Likewise.
15193 * iconv/iconvconfig.c: Likewise.
15194 * iconv/strtab.c: Likewise.
15195 * locale/programs/locale.c: Likewise.
15196 * locale/programs/localedef.h: Likewise.
15197 * locale/programs/simple-hash.c: Likewise.
15198 * nscd/nscd.h: Likewise.
15199 * nss/makedb.c: Likewise.
15200 * sysdeps/generic/ldconfig.h: Likewise.
15201 * locale/programs/localedef.c: Remove xmalloc prototype.
15202 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15203
20b38e03
PP
152042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15205
15206 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15207 appropriate.
15208
a0da5fe1
UD
152092012-01-08 Ulrich Drepper <drepper@gmail.com>
15210
1d5a644a 15211 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15212 * math/tst-CMPLX.c: New file.
1d5a644a 15213
8784a6db
UD
15214 * math/complex.h (CMPLXL): Fix typo.
15215
d9a216c0
UD
15216 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15217 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15218 GLIBC_2.16.
15219 * debug/tst-chk1.c: Add poll and ppoll tests.
15220 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15221 * include/sys/poll.h: Add hidden proto for ppoll.
15222 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15223 * sysdeps/mach/hurd/ppoll.c: Likewise.
15224 * io/ppoll.c: Likewise.
15225 * debug/poll_chk.c: New file.
15226 * debug/ppoll_chk.c: New file.
15227 * include/bits/poll2.h: New file.
15228 * io/bits/poll2.h: New file.
15229
ac097f5c
UD
15230 [BZ #1350]
15231 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15232
2119dcfa
UD
15233 * configure.in: static is always set to yes. Remove.
15234 * config.make.in: Don't set build-static.
15235 * Makeconfig: Remove use of build-static.
15236 * dlfcn/Makefile: Likewise.
15237 * elf/Makefile: Likewise.
15238 * math/Makefile: Likewise.
15239 * misc/Makefile: Likewise.
15240 * nptl/Makefile: Likewise.
15241 * sysdeps/mach/hurd/Makefile: Likewise.
15242
121766a9
UD
15243 * configure.in: PWD_P is not used anymore.
15244 * config.make.in: Remove PWD_P entry.
15245
51a1d39c 15246 * configure.in: Remove last remnants of RANLIB.
8720d066 15247 No need to check for signed size_t anymore.
215f4bdc
UD
15248 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15249 and IA-64.
3857022a 15250 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15251 * aclocal.m4: Likewise.
15252
d3ed7225
UD
15253 * wcsmbs/mbrtoc16.c: Implement using towc function.
15254 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15255 * wcsmbs/wcsmbsload.c: Likewise.
15256 * iconv/gconv_simple.c: Likewise.
15257 * iconv/gconv_int.h: Likewise.
15258 * iconv/gconv_builtin.h: Likewise.
15259 * iconv/iconv_prog.c: Remove CHAR16 handling.
15260
15261 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15262
15263 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15264
a0da5fe1
UD
15265 * configure.in: Remove --with-elf and --enable-bounded options.
15266 Dont set base_machine for ia64. More non-ELF conditions removed.
15267 Remove testing and setting of leading underscore information.
15268 * config.make.in (build-bounded): Set to no.
15269 * config.h.in: Remove NO_UNDERSCORES entry.
15270 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15271 them.
15272 * csu/start.c: Remove !NO_UNDERSCORE code.
15273 * locale/localeinfo.h: Likewise.
15274 * sysdeps/generic/machine-gmon.h: Likewise.
15275 * sysdeps/generic/sysdep.h: Likewise.
15276 * sysdeps/i386/sysdep.h: Likewise.
15277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15278 * sysdeps/mach/sysdep.h: Likewise.
15279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15281 * sysdeps/sh/sysdep.h: Likewise.
15282 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15283 * sysdeps/unix/i386/sysdep.S: Likewise.
15284 * sysdeps/unix/sparc/start.c: Likewise.
15285 * sysdeps/unix/sparc/sysdep.S: Likewise.
15286 * sysdeps/unix/sparc/sysdep.h: Likewise.
15287 * sysdeps/unix/start.c: Likewise.
15288 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15289 * sysdeps/x86_64/sysdep.h: Likewise.
15290
df78418a
UD
152912012-01-07 Ulrich Drepper <drepper@gmail.com>
15292
a784e502
UD
15293 [BZ #13553]
15294 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15295 for non-gcc.
15296 * argp/argp-fmtstream.h: Use const instead __const.
15297 * argp/argp.h: Likewise.
15298 * assert/assert.h: Likewise.
15299 * bits/fenv.h: Likewise.
15300 * bits/sched.h: Likewise.
15301 * bits/sigset.h: Likewise.
15302 * bits/sigthread.h: Likewise.
15303 * catgets/nl_types.h: Likewise.
15304 * conform/data/pthread.h-data: Likewise.
15305 * crypt/crypt-private.h: Likewise.
15306 * crypt/crypt.h: Likewise.
15307 * crypt/crypt_util.c: Likewise.
15308 * ctype/ctype.h: Likewise.
15309 * debug/execinfo.h: Likewise.
15310 * debug/mbsnrtowcs_chk.c: Likewise.
15311 * debug/mbsrtowcs_chk.c: Likewise.
15312 * debug/wcsnrtombs_chk.c: Likewise.
15313 * debug/wcsrtombs_chk.c: Likewise.
15314 * debug/wcstombs_chk.c: Likewise.
15315 * dirent/dirent.h: Likewise.
15316 * dlfcn/dlfcn.h: Likewise.
15317 * elf/neededtest4.c: Likewise.
15318 * grp/grp.h: Likewise.
15319 * gshadow/gshadow.h: Likewise.
15320 * iconv/gconv.h: Likewise.
15321 * iconv/gconv_int.h: Likewise.
15322 * iconv/gconv_simple.c: Likewise.
15323 * iconv/iconv.h: Likewise.
15324 * iconv/loop.c: Likewise.
15325 * iconv/skeleton.c: Likewise.
15326 * include/aio.h: Likewise.
15327 * include/aliases.h: Likewise.
15328 * include/argz.h: Likewise.
15329 * include/arpa/inet.h: Likewise.
15330 * include/assert.h: Likewise.
15331 * include/dirent.h: Likewise.
15332 * include/dlfcn.h: Likewise.
15333 * include/execinfo.h: Likewise.
15334 * include/fcntl.h: Likewise.
15335 * include/fenv.h: Likewise.
15336 * include/glob.h: Likewise.
15337 * include/grp.h: Likewise.
15338 * include/libintl.h: Likewise.
15339 * include/mntent.h: Likewise.
15340 * include/netdb.h: Likewise.
15341 * include/pwd.h: Likewise.
15342 * include/rpc/netdb.h: Likewise.
15343 * include/sched.h: Likewise.
15344 * include/search.h: Likewise.
15345 * include/shadow.h: Likewise.
15346 * include/signal.h: Likewise.
15347 * include/stdio.h: Likewise.
15348 * include/stdlib.h: Likewise.
15349 * include/string.h: Likewise.
15350 * include/sys/socket.h: Likewise.
15351 * include/sys/stat.h: Likewise.
15352 * include/sys/statfs.h: Likewise.
15353 * include/sys/statvfs.h: Likewise.
15354 * include/sys/syslog.h: Likewise.
15355 * include/sys/time.h: Likewise.
15356 * include/sys/uio.h: Likewise.
15357 * include/time.h: Likewise.
15358 * include/unistd.h: Likewise.
15359 * include/utmp.h: Likewise.
15360 * include/wchar.h: Likewise.
15361 * include/wctype.h: Likewise.
15362 * inet/aliases.h: Likewise.
15363 * inet/arpa/inet.h: Likewise.
15364 * inet/netinet/ether.h: Likewise.
15365 * inet/netinet/in.h: Likewise.
15366 * intl/libintl.h: Likewise.
15367 * io/bits/fcntl2.h: Likewise.
15368 * io/fcntl.h: Likewise.
15369 * io/ftw.h: Likewise.
15370 * io/sys/poll.h: Likewise.
15371 * io/sys/stat.h: Likewise.
15372 * io/sys/statfs.h: Likewise.
15373 * io/sys/statvfs.h: Likewise.
15374 * io/utime.h: Likewise.
15375 * libio/bits/stdio.h: Likewise.
15376 * libio/bits/stdio2.h: Likewise.
15377 * libio/libio.h: Likewise.
15378 * libio/libioP.h: Likewise.
15379 * libio/stdio.h: Likewise.
15380 * locale/lc-ctype.c: Likewise.
15381 * locale/locale.h: Likewise.
15382 * login/utmp.h: Likewise.
15383 * malloc/arena.c: Likewise.
15384 * malloc/malloc.c: Likewise.
15385 * malloc/malloc.h: Likewise.
15386 * malloc/mcheck.c: Likewise.
15387 * malloc/mtrace.c: Likewise.
15388 * math/bits/mathcalls.h: Likewise.
15389 * math/fenv.h: Likewise.
15390 * math/math_private.h: Likewise.
15391 * misc/bits/error.h: Likewise.
15392 * misc/bits/syslog.h: Likewise.
15393 * misc/err.h: Likewise.
15394 * misc/error.h: Likewise.
15395 * misc/fstab.h: Likewise.
15396 * misc/mntent.h: Likewise.
15397 * misc/regexp.h: Likewise.
15398 * misc/search.h: Likewise.
15399 * misc/sgtty.h: Likewise.
15400 * misc/sys/mman.h: Likewise.
15401 * misc/sys/syslog.h: Likewise.
15402 * misc/sys/uio.h: Likewise.
15403 * misc/sys/xattr.h: Likewise.
15404 * misc/ttyent.h: Likewise.
15405 * nis/rpcsvc/ypclnt.h: Likewise.
15406 * nss/nss.h: Likewise.
15407 * posix/bits/unistd.h: Likewise.
15408 * posix/fnmatch.h: Likewise.
15409 * posix/glob.h: Likewise.
15410 * posix/sched.h: Likewise.
15411 * posix/spawn.h: Likewise.
15412 * posix/sys/wait.h: Likewise.
15413 * posix/unistd.h: Likewise.
15414 * posix/wordexp.h: Likewise.
15415 * pwd/pwd.h: Likewise.
15416 * resolv/netdb.h: Likewise.
15417 * resource/sys/resource.h: Likewise.
15418 * rt/aio.h: Likewise.
15419 * rt/bits/mqueue2.h: Likewise.
15420 * rt/mqueue.h: Likewise.
15421 * shadow/shadow.h: Likewise.
15422 * signal/signal.h: Likewise.
15423 * socket/send.c: Likewise.
15424 * socket/sendto.c: Likewise.
15425 * socket/sys/socket.h: Likewise.
15426 * stdio-common/printf.h: Likewise.
15427 * stdlib/bits/stdlib.h: Likewise.
15428 * stdlib/fmtmsg.h: Likewise.
15429 * stdlib/monetary.h: Likewise.
15430 * stdlib/stdlib.h: Likewise.
15431 * stdlib/ucontext.h: Likewise.
15432 * streams/stropts.h: Likewise.
15433 * string/argz.h: Likewise.
15434 * string/bits/string2.h: Likewise.
15435 * string/string.h: Likewise.
15436 * string/strings.h: Likewise.
15437 * sunrpc/rpc/auth.h: Likewise.
15438 * sunrpc/rpc/auth_des.h: Likewise.
15439 * sunrpc/rpc/clnt.h: Likewise.
15440 * sunrpc/rpc/netdb.h: Likewise.
15441 * sunrpc/rpc/pmap_clnt.h: Likewise.
15442 * sunrpc/rpc/xdr.h: Likewise.
15443 * sysdeps/generic/inttypes.h: Likewise.
15444 * sysdeps/generic/net/if.h: Likewise.
15445 * sysdeps/generic/sys/swap.h: Likewise.
15446 * sysdeps/gnu/net/if.h: Likewise.
15447 * sysdeps/gnu/utmpx.h: Likewise.
15448 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15449 * sysdeps/i386/i486/bits/string.h: Likewise.
15450 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15451 * sysdeps/s390/bits/string.h: Likewise.
15452 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15453 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15454 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15455 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15456 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15457 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15458 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15459 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15460 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15461 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15462 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15463 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15464 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15465 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15466 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15467 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15468 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15470 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15472 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15473 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15474 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15475 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15476 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15477 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15478 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15479 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15480 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15481 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15482 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15483 * sysvipc/sys/ipc.h: Likewise.
15484 * sysvipc/sys/msg.h: Likewise.
15485 * sysvipc/sys/sem.h: Likewise.
15486 * sysvipc/sys/shm.h: Likewise.
15487 * termios/termios.h: Likewise.
15488 * time/sys/time.h: Likewise.
15489 * time/time.h: Likewise.
15490 * wcsmbs/bits/wchar2.h: Likewise.
15491 * wcsmbs/uchar.h: Likewise.
15492 * wcsmbs/wchar.h: Likewise.
15493 * wctype/wctype.h: Likewise.
15494
0269750c
UD
15495 [BZ #13551]
15496 * Makeconfig: Remove all but ELF support including AIX support.
15497 * Makerules: Likewise.
15498 * config.h.in: Likewise.
15499 * config.make.in: Likewise.
15500 * configure: Likewise.
15501 * configure.in: Likewise.
15502 * csu/Makefile: Likewise.
15503 * csu/version.c: Likewise.
15504 * debug/Makefile: Likewise.
15505 * dlfcn/Makefile: Likewise.
15506 * elf/Makefile: Likewise.
15507 * extra-lib.mk: Likewise.
15508 * iconv/Makefile: Likewise.
15509 * include/libc-symbols.h: Likewise.
15510 * include/shlib-compat.h: Likewise.
15511 * resolv/Makefile: Likewise.
15512 * resolv/res_libc.c: Likewise.
15513 * rt/Makefile: Likewise.
15514 * sysdeps/i386/asm-syntax.h: Likewise.
15515 * sysdeps/i386/sysdep.h: Likewise.
15516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15517 * sysdeps/mach/sysdep.h: Likewise.
15518 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15519 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15520 * sysdeps/s390/asm-syntax.h: Likewise.
15521 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15522 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15523 * sysdeps/sh/sysdep.h: Likewise.
15524 * sysdeps/unix/sparc/sysdep.h: Likewise.
15525 * sysdeps/wordsize-32/divdi3.c: Likewise.
15526 * sysdeps/x86_64/sysdep.h: Likewise.
15527
00bbd29b
UD
15528 * argp/Versions: Remove _argp_unlock_xxx.
15529
15530 [BZ #13559]
15531 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15532 * abilist/libBrokenLocale.abilist: Likewise.
15533 * abilist/libanl.abilist: Likewise.
15534 * abilist/libc.abilist: Likewise.
15535 * abilist/libcrypt.abilist: Likewise.
15536 * abilist/libdl.abilist: Likewise.
15537 * abilist/libm.abilist: Likewise.
15538 * abilist/libnsl.abilist: Likewise.
15539 * abilist/libpthread.abilist: Likewise.
15540 * abilist/libresolv.abilist: Likewise.
15541 * abilist/librt.abilist: Likewise.
15542 * abilist/libthread_db.abilist: Likewise.
15543 * abilist/libutil.abilist: Likewise.
15544 * abilist/libnss_db.abilist: New file.
15545
15546 * scripts/abilist.awk: Add support for indirect functions.
15547
a2693a0e
UD
15548 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15549
3f05895f
UD
15550 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15551
ecb6fb48
UD
15552 * shlib-versions: Remove entries for ports architectures.
15553
664f8cb9
UD
15554 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15555 files in ports.
15556 * elf/stackguard-macros.h: Remove support for IA-64.
15557 * elf/tst-auditmod1.c: Likewise.
15558 * sysdeps/generic/ldsodefs.h: Likewise.
15559
7ae81d88
UD
15560 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15561 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15562 configure files.
15563
bdeba135
UD
15564 [BZ #13552]
15565 * configure.in: Remove --enable-omitfp support.
15566 * FAQ.in: Adjust.
15567 * config.make.in: Likewise.
15568 * Makeconfig: Likewise.
15569 * manual/install.texi: Likewise.
15570
d75a0a62
UD
15571 In case anyone cares, the IA-64 architecture could move to ports.
15572 * sysdeps/ia64/*: Removed.
15573 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15574 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15575
dcc9756b
UD
15576 [BZ #13555]
15577 * configure.in: Remove entries for unsupported architectures.
15578
d3761ebc 15579 [BZ #13533]
9954432e
UD
15580 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15581 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15582 routines.
15583 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15584 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15585 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15586 fall back to using wcrtomb.
15587 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15588 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15589 renaming.
15590 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15591 * wcsmbs/tst-c16c32-1.c: New file.
15592
15593 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15594 local variable.
15595
c3a87236
UD
15596 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15597
28926a1b
UD
15598 * elf/tst-unique3.cc: Add explicit declaration of gets.
15599 * elf/tst-unique3lib.cc: Likewise.
15600 * elf/tst-unique3lib2.cc: Likewise.
15601 * elf/tst-unique4.cc: Likewise.
15602
df78418a
UD
15603 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15604
8ecd6b2a
JM
156052012-01-06 Joseph Myers <joseph@codesourcery.com>
15606
15607 [BZ #13566]
15608 * assert/assert.h (static_assert): Don't define for C++.
15609 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15610 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15611
9f115170
UD
156122012-01-03 Ulrich Drepper <drepper@gmail.com>
15613
5e0d0300
UD
15614 * iconv/loop.c (single loop): Fix assertion in storing of
15615 remaining bytes.
15616
9f115170
UD
15617 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15618
81fb02b0
UD
156192012-01-01 Ulrich Drepper <drepper@gmail.com>
15620
15621 * posix/getconf.c: Update copyright year.
15622 * nss/getent.c: Likewise.
a316c1f6 15623 * nss/makedb.c: Likewise.
81fb02b0
UD
15624 * iconv/iconvconfig.c: Likewise.
15625 * iconv/iconv_prog.c: Likewise.
15626 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15627 * elf/pldd.c: Likewise.
15628 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15629 * catgets/gencat.c: Likewise.
15630 * csu/version.c: Likewise.
15631 * elf/ldd.bash.in: Likewise.
15632 * elf/sprof.c (print_version): Likewise.
15633 * locale/programs/locale.c: Likewise.
15634 * locale/programs/localedef.c: Likewise.
a316c1f6 15635 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15636 * nscd/nscd.c (print_version): Likewise.
15637 * debug/xtrace.sh: Likewise.
15638 * malloc/memusage.sh: Likewise.
15639 * malloc/mtrace.pl: Likewise.
15640 * debug/catchsegv.sh: Likewise.
15641
2ba92745
JJ
156422011-12-30 Jakub Jelinek <jakub@redhat.com>
15643
15644 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15645 pure attribute.
15646
dadebdae
UD
156472011-12-24 Ulrich Drepper <drepper@gmail.com>
15648
d3761ebc 15649 [BZ #13533]
db6af3eb
UD
15650 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15651 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15652 transformations.
15653 * iconv/gconv_int.h: Likewise.
15654 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15655 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15656 from libc for GLIBC_2.16.
15657 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15658 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15659 * wcsmbs/uchar.h: Really define mbstate_t.
15660 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15661 * wcsmbs/c16rtomb.c: New file.
15662 * wcsmbs/mbrtoc16.c: New file.
15663 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15664 for C/POSIX locale.
15665 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15666 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15667
dadebdae
UD
15668 * wcsmbs/wchar.h: Add missing __restrict.
15669
67371b56
UD
156702011-12-23 Ulrich Drepper <drepper@gmail.com>
15671
74033a25
UD
15672 [BZ #13532]
15673 * time/Makefile (routines): Add timespec_get.
15674 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15675 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15676 timespec for ISO C11.
15677 * time/timespec_get.c: New file.
15678 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15679 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15680
380d7e87
UD
15681 [BZ #13531]
15682 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15683 * stdlib/stdlib.h: Declare aligned_alloc.
15684 * Versions.def: Add GLIBC_2.16 for libc.
15685 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15686
4e9e7a35
UD
15687 [BZ 13527]
15688 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15689 ISO C11.
15690
380d7e87 15691 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15692 code.
15693
03a71829
UD
15694 [BZ #13528]
15695 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15696
839e283e
UD
15697 [BZ #13529]
15698 * assert/assert.h (static_assert): Define.
15699
ce5294e2 15700 * version.h: Update for 2.16 development version.
90fa7312 15701
8d44e150 15702 [BZ #13526]
d7809905
UD
15703 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15704 _ISOC11_SOURCE.
15705
c0da14cd
UD
15706 * version.h (RELEASE): Bump for 2.15 release.
15707 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15708
530a3249
MP
15709 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15710 Patch by Marek Polacek <mpolacek@redhat.com>.
15711
67371b56
UD
15712 * bits/byteswap.h: Protect long long constants with __extension__.
15713 * sysdeps/i386/bits/byteswap.h: Likewise.
15714 * sysdeps/ia64/bits/byteswap.h: Likewise.
15715 * sysdeps/s390/bits/byteswap.h: Likewise.
15716 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15717
15db4de1
LD
157182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15719
15720 [BZ #13540]
bbe315ea
LD
15721 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15722 destination buffer.
15db4de1
LD
15723 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15724
2b2596b1
MP
157252011-12-23 Marek Polacek <polacek@redhat.com>
15726
15727 * elf/dl-addr.c (determine_info): Add inline keyword.
15728 * elf/tst-auditmod4b.c (check_avx): Likewise.
15729 * elf/tst-auditmod6b.c (check_avx): Likewise.
15730 * elf/tst-auditmod6c.c (check_avx): Likewise.
15731 * elf/tst-auditmod7b.c (check_avx): Likewise.
15732
70c6c246
UD
157332011-12-23 Ulrich Drepper <drepper@gmail.com>
15734
15735 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15736 !__SSE_MATH__.
15737
c044cf14
LD
157382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15739
15db4de1 15740 [BZ #13540]
c044cf14
LD
15741 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15742 processing for last bytes.
15743
6b13d9d9
BH
157442011-08-06 Bruno Haible <bruno@clisp.org>
15745
d455f537
BH
15746 [BZ #13061]
15747 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15748 U+0385, not to U+1FEE.
15749
6b13d9d9
BH
15750 [BZ #13062]
15751 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15752 entry for U+00A5 U+0301.
15753
db910efd
UD
157542011-12-22 Ulrich Drepper <drepper@gmail.com>
15755
27deeafc
UD
15756 [BZ #13166]
15757 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15758 buffer for the output is too small.
15759
aed9d171
UD
15760 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15761 optimization.
15762
db910efd
UD
15763 [BZ #13185]
15764 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15765 SSE flags if possible.
15766
2bd779ae
LD
157672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15768
e7f9dac3 15769 [BZ #13540]
2bd779ae
LD
15770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15771 processing for last bytes.
15772
154bfc16
JM
157732011-12-22 Joseph Myers <joseph@codesourcery.com>
15774
15775 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15776 (syscall-list-default-options, syscall-list-default-condition)
15777 (syscall-list-includes): Define.
15778 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15779 list of ABIs and options and #if conditions for each ABI. Do not
15780 handle common syscalls between ABIs specially.
15781 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15782 Remove.
15783 (syscall-list-variants, syscall-list-32bit-options)
15784 (syscall-list-32bit-condition, syscall-list-64bit-options)
15785 (syscall-list-64bit-condition): Define.
15786 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15787 (syscall-list-variants, syscall-list-32bit-options)
15788 (syscall-list-32bit-condition, syscall-list-64bit-options)
15789 (syscall-list-64bit-condition): Define.
15790 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15791 Remove.
15792 (syscall-list-variants, syscall-list-32bit-options)
15793 (syscall-list-32bit-condition, syscall-list-64bit-options)
15794 (syscall-list-64bit-condition): Define.
15795 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15796 Remove.
15797 (syscall-list-variants, syscall-list-32bit-options)
15798 (syscall-list-32bit-condition, syscall-list-64bit-options)
15799 (syscall-list-64bit-condition): Define.
15800
21eaf3a5
UD
158012011-12-22 Ulrich Drepper <drepper@gmail.com>
15802
16c6f992
UD
15803 * locale/iso-639.def: Add brx entry.
15804
41043168
UD
15805 [BZ #13328]
15806 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15807 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15808
21eaf3a5
UD
15809 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15810 __feraiseexcept_renamed.
15811
e3a851a2
UD
158122011-12-21 Ulrich Drepper <drepper@gmail.com>
15813
4920765e
UD
15814 [BZ #13538]
15815 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15816 EPOLLET with unsigned values.
15817 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15819
e3a851a2
UD
15820 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15821 to large cancellation.
15822 * math/s_cacoshf.c: Likewise.
15823 * math/s_cacoshl.c: Likewise.
15824
b27e24b8
RK
158252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15826
15827 [BZ #13305]
aebefeee 15828 [BZ #12786]
b27e24b8
RK
15829 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15830 * math/s_cacoshf.c: Likewise.
15831 * math/s_cacoshl.c: Likewise.
15832
ee190f67
UD
158332011-12-21 Ulrich Drepper <drepper@gmail.com>
15834
15835 [BZ #13439]
15836 * iconv/gconv.h: Define __GCONV_SWAP.
15837 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15838 * iconvdata/utf-16.c: Likewise.
15839 * iconvdata/utf-32.c: Likewise.
15840
707f25df
AS
158412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15842
15843 [BZ #13524]
15844 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15845 numerator after shifting it by one limb.
15846
d2daaa1e
RÁE
158472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15848
15849 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15850 under [__USE_EXTERN_INLINES].
15851
a4647e72
UD
158522011-12-17 Ulrich Drepper <drepper@gmail.com>
15853
15854 [BZ #13446]
15855 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15856
f0b264f1
AZ
158572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15858
15859 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15860 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15861 optimized code.
15862 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15863 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15864 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15865 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15866 for strncasecmp/strncasecmp_l compilation.
15867 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15868 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15869
8ef4f244
MP
158702011-12-08 Marek Polacek <mpolacek@redhat.com>
15871
15872 [BZ #13484]
15873 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15874 of __asm__.
15875
97ac2654
UD
158762011-12-17 Ulrich Drepper <drepper@gmail.com>
15877
15878 [BZ #13506]
15879 * time/tzfile.c (__tzfile_read): Check values from file header.
15880
91d2a845
WS
158812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15882
15883 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15884 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15885 * powerpc/powerpc32/dl-start.S: Likewise.
15886 * powerpc/powerpc32/elf/start.S: Likewise.
15887 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15888 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15889 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15890 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15891 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15892 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15893 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15894 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15895 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15896 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15897 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15898 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15899 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15900 * powerpc/powerpc32/memset.S: Likewise.
15901 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15902 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15903 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15904 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15905 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15906 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15907 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15908 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15909 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15910 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15912 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15913 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15914
a1267ba1
AZ
159152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15916
15917 * math/libm-test.inc: Added more nearbyint tests.
15918 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15919 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15922
ad8ac1bd
RL
159232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15924
15925 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15926 FD_CLOEXEC.
15927
1d3e4b61
UD
159282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15929
15930 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15931 Add wcscpy-ssse3 wcscpy-c.
15932 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15933 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15934 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15935 * sysdeps/x86_64/wcschr.S: New file.
15936 * sysdeps/x86_64/wcsrchr.S: New file.
15937 * string/test-strcmp.c: Remove checking of wcscmp function for
15938 wrong alignments.
15939 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15940 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15941 wcsrchr-sse2 wcsrchr-c.
15942 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15943 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15944 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15945 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15946 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15947 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15948 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15949 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15950 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15951 * wcsmbc/wcschr.c (WCSCHR): New macro.
15952
5b330a2d
UD
159532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15954
15955 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15956 * wcsmbs/test-wcsrchr.c: New file.
15957 * string/test-strrchr.c: Add wcsrchr support.
15958 (WIDE): New macro.
15959 * wcsmbs/test-wcscpy.c: New file.
15960 * string/test-strcpy.c: Add wcscpy support.
15961 (WIDE): New macro.
26428b7c 15962
f039c043
UD
159632011-12-10 Ulrich Drepper <drepper@gmail.com>
15964
15965 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15966 the inner loop.
15967
850fb039
AS
159682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15969
15970 [BZ #13472]
15971 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15972
4efbd5cb
UD
159732011-12-04 Ulrich Drepper <drepper@gmail.com>
15974
52ff5dd0 15975 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 15976 Minor optimizations.
52ff5dd0 15977
4efbd5cb
UD
15978 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15979 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15980 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15981
8a426e12
UD
159822011-12-03 Ulrich Drepper <drepper@gmail.com>
15983
aff2453d
UD
15984 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15985 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15986 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15987 for gcc to avoid warnings.
15988 * inet/Makefile (tests): Add tst-checks.
15989 * inet/tst-checks.c: New file.
15990
15991 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15992 warning.
15993
15994 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15995 __wmemcmp_sse2.
15996
15997 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15998 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15999
8a426e12
UD
16000 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16001
9bea3473
UD
160022011-12-02 Ulrich Drepper <drepper@gmail.com>
16003
3a965496
UD
16004 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16005 problem.
16006
9bea3473
UD
16007 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16008
f101631b
UD
160092011-11-29 Joseph Myers <joseph@codesourcery.com>
16010
16011 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16012 conditional on GCC version.
16013 (__arch_compare_and_exchange_val_8_acq)
16014 (__arch_compare_and_exchange_val_16_acq)
16015 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16016 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16017 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16018
a98275aa
UD
160192011-12-02 Joseph Myers <joseph@codesourcery.com>
16020
16021 * sysdeps/sh/backtrace.c: New file.
16022
d4cc29a2
AS
160232011-12-02 Andreas Schwab <schwab@redhat.com>
16024
16025 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16026 parenthesis.
16027
6257af2d
AS
160282011-12-01 Andreas Schwab <schwab@redhat.com>
16029
16030 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16031 falling back to utime.
16032
b5f44c1a
AS
160332011-11-30 Andreas Schwab <schwab@redhat.com>
16034
16035 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16036 expectations for float.
16037
f3a6cc0a
AS
160382011-11-29 Andreas Schwab <schwab@redhat.com>
16039
16040 * locale/weight.h (findidx): Add parameter len.
16041 * locale/weightwc.h (findidx): Likewise.
16042 * posix/fnmatch_loop.c (FCT): Adjust caller.
16043 * posix/regcomp.c (build_equiv_class): Likewise.
16044 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16045 * posix/regexec.c (check_node_accept_bytes): Likewise.
16046 * string/strcoll_l.c (STRCOLL): Likewise.
16047 * string/strxfrm_l.c (STRXFRM): Likewise.
16048
9d65ea3a
UD
160492011-11-17 Ulrich Drepper <drepper@gmail.com>
16050
16051 * Makefile.in: Remove CVSOPT handling.
16052 * configure.in: Remove use of AC_REVISION.
16053 * iconvdata/Makefile (distribute): No need to filter out CVS.
16054 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16055 handling.
16056
5583a086
AS
160572011-11-16 Andreas Schwab <schwab@redhat.com>
16058
16059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16060 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16061 [USE_AS_STRNCASECMP_L]: Likewise.
16062 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16063 NO_TLS_DIRECT_SEG_REFS.
16064 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16065 Fix argument offsets for non-PIC.
16066 [USE_AS_STRNCASECMP_L]: Likewise.
16067 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16068 NO_TLS_DIRECT_SEG_REFS.
16069
d62a8200
UD
160702011-11-15 Ulrich Drepper <drepper@gmail.com>
16071
9d65ea3a 16072 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16073 O_CLOEXEC.
16074 * locale/loadlocale.c (_nl_load_locale): Likewise.
16075
09f93bd3
AS
160762011-11-15 Andreas Schwab <schwab@redhat.com>
16077
446514f9
AS
16078 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16079 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16080 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16081 (SYSCALL_GETTIME): Set errno on error.
16082
09f93bd3
AS
16083 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16084 count references to noai6ai_cached.
16085
312be3f9
UD
160862011-11-15 Ulrich Drepper <drepper@gmail.com>
16087
16088 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16089
16090 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16091 FD_CLOEXEC for /proc/self/maps.
16092
16093 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16094 FD_CLOEXEC for /proc/meminfo.
16095
16096 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16097 gai.conf.
16098
16099 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16100 FD_CLOEXEC for given file.
16101
16102 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16103
16104 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16105 FD_CLOEXEC for /etc/hosts.
16106 (_gethtent): Likewise.
16107
16108 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16109
16110 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16111 cancellation and set FD_CLOEXEC for /etc/netgroup.
16112
16113 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16114 reading /etc/publickey.
16115
16116 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16117 allow cancellation when reading /etc/group.
16118
16119 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16120 cancellation.
16121 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16122
16123 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16124 when using data file.
16125
16126 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16127
16128 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16129 (write_nis_obj): Use "c" and "e" in fopen.
16130
16131 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16132
16133 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16134
16135 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16136
16137 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16138
16139 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16140 locale.alias.
16141
16142 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16143
16144 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16145
16146 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16147
16148 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16149 file parsing and set FD_CLOEXEC.
16150
82af0fa8
UD
161512011-11-14 Ulrich Drepper <drepper@gmail.com>
16152
16153 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16154
a5fb313c
AS
161552011-11-14 Andreas Schwab <schwab@redhat.com>
16156
16157 * malloc/arena.c (arena_get2): Don't call reused_arena when
16158 _int_new_arena failed.
16159
6abf3465
UD
161602011-11-14 Ulrich Drepper <drepper@gmail.com>
16161
16162 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16163 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16164 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16165 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16166 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16168 to compile strcasecmp and strncasecmp.
16169 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16170 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16171
16172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16173
76e3966e
UD
161742011-11-13 Ulrich Drepper <drepper@gmail.com>
16175
16176 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16177 locale-defines.sym to gen-as-const-headers.
16178 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16179 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16180 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16181 to compile strcasecmp and strncasecmp.
16182 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16183 strcasecmp_l and strncasecmp_l.
16184 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16185 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16186 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16187 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16188 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16189 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16190 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16191 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16192 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16193 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16194 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16195
ab26144e
UD
161962011-11-12 Ulrich Drepper <drepper@gmail.com>
16197
7edb22ef
UD
16198 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16199 result of SYSDEP_GETTIME_CPU to retval.
16200 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16201 parameter list to macro. Remove trailing semicolon. Adjust users.
16202
9694fc44
UD
16203 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16204 variable.
16205
8ad89ef8
UD
16206 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16207 mantissa words.
16208 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16209
0c822ef9
UD
16210 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16211 from unused variable.
16212
874e0564
UD
16213 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16214 DWARF definitions.
16215 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16216 for assembling.
16217
3a2edc79
UD
16218 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16219 over namespaces.
16220
f3c2577f
UD
16221 * sunrpc/rpc_prot.c (rejected): Fix case value.
16222
294ce126
UD
16223 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16224 unsigned long long int to avoid warnings in shift.
16225
5e2b63c6
UD
16226 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16227 of use of trans.
16228 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16229 variable tmp.
16230
e7f4b08e
UD
16231 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16232 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16233 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16234
ab26144e
UD
16235 * nis/nis_table.c (nis_list): Use variable of correct type for
16236 result of __follow_path call.
16237
8a6d5255
AZ
162382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16239
16240 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16241 of math functions ceil, trunc, floor, round, and sqrt, when
16242 avaliable on the platform.
16243 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16244 name clash.
16245 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16246 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16247 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16248
aaddc98c
MP
162492011-10-30 Marek Polacek <mpolacek@redhat.com>
16250
16251 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16252 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16253
95b7042b
RM
162542011-11-11 Roland McGrath <roland@hack.frob.com>
16255
16256 * include/unistd.h: Fix __readlink return type.
16257 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16258
57769839
UD
162592011-11-11 Ulrich Drepper <drepper@gmail.com>
16260
16261 * stdlib/ucontext.h: Undo last change for makecontext.
16262
edc5984d
AS
162632011-11-11 Andreas Schwab <schwab@redhat.com>
16264
98591e58
AS
16265 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16266
edc5984d
AS
16267 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16268 * setjmp/setjmp.h: Mark functions as non-leaf.
16269 * setjmp/bits/setjmp2.h: Likewise.
16270 * stdlib/ucontext.h: Likewise.
16271
77cdc054
AS
162722011-11-10 Andreas Schwab <schwab@redhat.com>
16273
16274 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16275 (reused_arena): Don't check arena limit.
16276 (arena_get2): Atomically check arena limit.
16277
fe72eebd
UD
162782011-11-08 Ulrich Drepper <drepper@gmail.com>
16279
5f078c32
UD
16280 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16281 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16282
fe72eebd
UD
16283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16284 instructions.
16285
ae1bc2fa
AS
162862011-11-07 Andreas Schwab <schwab@redhat.com>
16287
7583a88d
AS
16288 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16289 handler when locking.
16290
ae1bc2fa
AS
16291 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16292 Fix size of allocated buffer.
16293
10fb0bfa
AS
162942011-11-04 Andreas Schwab <schwab@redhat.com>
16295
998832a4
AS
16296 [BZ #10103]
16297 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16298 declarations for long double functions.
16299 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16300
10fb0bfa
AS
16301 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16302
3d7ba52b
AS
163032011-11-03 Andreas Schwab <schwab@redhat.com>
16304
a9ae54a1
AS
16305 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16306 installed.
16307
3d7ba52b
AS
16308 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16309 is disabled.
16310
bc8db248
ST
163112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16312
16313 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16314
45b96dd6
AS
163152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16316
647776f6
AS
16317 * include/alloca.h (stackinfo_alloca_round): Define.
16318 (extend_alloca): Use it.
16319 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16320 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16321 here.
16322
d91a8b93
AS
16323 * scripts/check-local-headers.sh: Ignore libaudit.h.
16324
45b96dd6
AS
16325 * nscd/Makefile (extra-objs): Make recursively expanded.
16326
432d41ce
UD
163272011-11-01 Ulrich Drepper <drepper@gmail.com>
16328
34372fc6
UD
16329 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16331
fadb59f8
UD
16332 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16333 * posix/tst-rfc3484-2.c: Likewise.
16334 * posix/tst-rfc3484-3.c: Likewise.
16335
78239589
UD
16336 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16337 process_vm_writev.
16338 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16339 process_vm_writev.
16340 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16341 process_vm_writev from libc using GLIBC_2.15 version.
16342
432d41ce
UD
16343 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16344
02f9c6cf
PP
163452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16346
16347 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16348 stack usage.
16349
3a2c0242
UD
163502011-10-31 Ulrich Drepper <drepper@gmail.com>
16351
f4ec4833
UD
16352 [BZ #13367]
16353 * nss/getent.c (initgroups_keys): Show error message in case no group
16354 names are given.
16355
3a2c0242
UD
16356 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16357 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16358 __bump_nl_timestamp.
16359 * nscd/connections (nscd_init): When host database is served open
16360 netlink socket and request notification about configuration changes.
16361 (main_loop_poll): Track netlink file descriptor and bump timestamp
16362 in case data becomes available.
16363 (main_loop_epoll): Likewise.
16364 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16365 (database_pers_head): Add extra_data fileds.
16366 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16367 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16368 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16369 Adjust caller.
16370 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16371 in6ai data, call __free_in6ai.
16372 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16373 Add -DHAVE_NETLINK.
16374 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16375 interface information. Reuse previous data if netlink timestamp
16376 is not changed.
16377 (__bump_nl_timestamp): New function.
16378 (__free_in6ai): New function.
16379
636064eb
UD
163802011-10-30 Ulrich Drepper <drepper@gmail.com>
16381
16382 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16383 close_not_cancel_no_status here.
16384 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16385
9beb2334
UD
163862011-10-29 Ulrich Drepper <drepper@gmail.com>
16387
6ef76f3b
UD
16388 [BZ #13276]
16389 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16390 return value.
16391
0ffc4f3e 16392 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16393 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16394 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16395
cb95113e
UD
163962011-07-03 Andreas Jaeger <aj@suse.de>
16397
16398 [BZ #10709]
16399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16400 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16401 * math/libm-test.inc (sin_test): Add test case.
16402
a1b560ff
UD
164032011-10-29 Ulrich Drepper <drepper@gmail.com>
16404
c9aaface
UD
16405 [BZ #13337]
16406 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16407 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16408
d272e7f1
UD
16409 * elf/chroot_canon.c (chroot_canon): Cleanups.
16410
1bc33071
UD
16411 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16412
1760874d
TJ
16413 [BZ #13335]
16414 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16415 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16416
51d91b18
UD
16417 * string/test-strchr.c: Make usable for strchrnul testing.
16418 * string/test-strchrnul.c: New file.
16419 * string/Makefile (strop-tests): Add strchrnul.
16420
a1b560ff 16421 * po/it.po: Update from translation team.
b611fb81 16422 * po/es.po: Likewise.
a1b560ff 16423
a5b81e1f
UD
164242011-10-28 Ulrich Drepper <drepper@gmail.com>
16425
fd52bc6d
UD
16426 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16427 the three constants needed as parameters. Drop the others.
16428 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16429 __m128i_strloadu_tolower.
52e4b9eb
UD
16430 Create and initialize variable zero and use it in all the places
16431 where _mm_setzero_si128 was used.
fd52bc6d 16432
a5b81e1f
UD
16433 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16434 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16435 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16436 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16437 anymore.
16438 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16439 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16440 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16441 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16442 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16443 __mpranred, __mptan.
16444 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16445 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16446 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16447 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16448 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16449 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16451 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16452 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16453
b4343346
AS
164542011-10-28 Andreas Schwab <schwab@redhat.com>
16455
0c92d8a8
AS
16456 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16457 redefine if SHARED.
16458 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16459
b4343346
AS
16460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16461 wide char related routines to wcsmbs subdir.
16462
3871f58f
AS
164632011-10-27 Andreas Schwab <schwab@redhat.com>
16464
16465 [BZ #13344]
16466 * misc/sys/cdefs.h (__THROWNL): Define.
16467 * posix/unistd.h: Use __THREADNL instead of __THREAD
16468 for memory synchronization functions.
16469
94d44d9f
RM
164702011-10-26 Roland McGrath <roland@hack.frob.com>
16471
21b64b15 16472 [BZ #13349]
94d44d9f
RM
16473 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16474 doesn't exist.
16475 * manual/stdio.texi (Obstack Streams): Node removed.
16476
f6ce9294
AS
164772011-10-26 Andreas Schwab <schwab@redhat.com>
16478
80479147
AS
16479 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16480 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16481 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16482
f6ce9294
AS
16483 * math/math_private.h (math_force_eval): Allow non-addressable
16484 arguments.
16485 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16486
618280a1
UD
164872011-10-25 Ulrich Drepper <drepper@gmail.com>
16488
e0016b11
UD
16489 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16490 file is not needed.
16491
16492 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16493 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16494 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16495 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16496 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16497 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16498 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16499 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16500 Add AVX variants.
16501 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16502 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16503 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16504 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16505 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16506 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16507 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16508 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16509 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16510 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16511 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16512 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16514 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16515 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16516 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16517 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16518 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16519 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16520
16521 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16522 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16523
618280a1
UD
16524 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16525 place. Use VEX encoding when compiling for AVX.
16526
37822576
AS
165272011-10-25 Andreas Schwab <schwab@redhat.com>
16528
1f1e1947
AS
16529 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16530 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16531
37822576
AS
16532 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16533
31ea014d
UD
165342011-10-25 Ulrich Drepper <drepper@gmail.com>
16535
d7826aa1 16536 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16537 useless if() expression.
d7826aa1
UD
16538 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16548 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16549 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16550 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16551 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16552 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16553 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16554 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16555 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16556 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16557
31ea014d
UD
16558 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16559
16437fec
AS
165602011-10-25 Andreas Schwab <schwab@redhat.com>
16561
16562 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16563 condition.
16564 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16565
31d3cc00
UD
165662011-10-25 Ulrich Drepper <drepper@gmail.com>
16567
16568 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16569 .text section. Avoid duplicate constants.
16570 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16580 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16582 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16585 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16587 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16593 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16594 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16595 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16596 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16597 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16598 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16599 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16600 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16601 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16602 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16603 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16604 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16605 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16606 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16607 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16608 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16609 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16610 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16611 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16612 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16613 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16614 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16615
58985aa9
UD
166162011-10-24 Ulrich Drepper <drepper@gmail.com>
16617
202c9deb
UD
16618 * sysdeps/x86_64/dla.h: Move to ...
16619 * sysdeps/x86_64/fpu/dla.h: ...here.
16620 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16621 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16622
af968f62
UD
16623 * config.make.in: Add have-mfma4 entry.
16624 * configure.in: Substitute libc_cv_cc_fma4.
16625 * math/Makefile (dbl-only-routines): Add sincostab.
16626 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16627 Use __sincostab not sincos.
16628 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16629 name is a macro.
16630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16634 using __copysign.
16635 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16636 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16637 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16638 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16639 and __inv.
16640 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16641 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16642 __copysign.
16643 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16644 define aliases when function name is a macro.
16645 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16646 sysdeps/ieee754/dbl-64/sincos.tbl.
16647 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16648 fma4-enabled routines.
16649 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16650 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16651 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16652 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16653 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16654 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16655 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16656 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16657 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16658 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16659 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16660 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16661 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16662 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16663 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16664 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16665 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16666 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16667 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16668 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16669 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16670 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16671 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16672 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16673 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16674 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16676 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16677 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16678 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16679
58985aa9
UD
16680 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16681 rename.
16682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16687 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16688 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16689 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16690
a201fbcf
AS
166912011-10-24 Andreas Schwab <schwab@redhat.com>
16692
16693 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16694
fc2ee42a
LD
166952011-10-23 Ulrich Drepper <drepper@gmail.com>
16696
bb3129bd
UD
16697 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16698
0275fff8
UD
16699 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16700 prediction.
16701 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16702
2fa2ae85
UD
16703 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16704 Remove unused variable magic_bits.
16705 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16706
fc2ee42a
LD
16707 * string/strnlen.c: Define and use STRNLEN macro.
16708 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16709 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16710 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16711 * wcsmbs/wcslen.c: Define and use WCSLEN.
16712 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16713 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16714 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16715 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16716 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16717 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16718 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16719
ce7dd29f
LD
167202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16721
16722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16723 strnlen-sse2-no-bsf.
16724 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16725 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16726 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16727 Add strnlen support.
16728 (USE_AS_STRNLEN): New macro.
16729 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16730 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16731 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16732 * sysdeps/x86_64/wcslen.S: New file.
16733
979c70a3
MZ
167342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16735
16736 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16737 XMM-moves are used for copying on small sizes.
16738
2d09f82f
LD
167392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16740
16741 * wcsmbs/Makefile (strop-tests): Add wcschr.
16742 * wcsmbs/test-wcschr.c: New file.
16743 * string/test-strchr.c: Update.
16744 Add wcschr support.
16745 (WIDE): New macro.
16746
619fccca
LD
167472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16748
2d09f82f 16749 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16750 * wcsmbs/test-wcslen.c: New file.
16751 * string/test-strlen.c: Update.
16752 Add wcslen support.
16753 (WIDE): New macro.
16754
09f699ea
UD
167552011-10-23 Ulrich Drepper <drepper@gmail.com>
16756
16757 * po/it.po: Update from translation team.
16758
95584d3b
LD
167592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16760
16761 * sysdeps/x86_64/wcscmp.S: Update.
16762 Fix wrong comparison semantics.
16763 wcscmp shall use signed comparison not unsigned.
16764 Don't use substraction to avoid overflow bug.
16765 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16766 * wcsmbc/wcscmp.c: Likewise.
16767 * string/test-strcmp.c: Likewise.
16768 Add new tests to check cases with negative values.
16769
c8b3296b
UD
167702011-10-23 Ulrich Drepper <drepper@gmail.com>
16771
16772 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16773 * sysdeps/x86_64/dla.h: ...here. New file.
16774 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16779 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16780 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16781 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16782 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16783
246ad57a
AS
167842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16785
16786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16787 __ynl_finite aliases.
16788
a1a87169
UD
167892011-10-22 Ulrich Drepper <drepper@gmail.com>
16790
0d355eb7
UD
16791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16792
a1a87169
UD
16793 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16794 define DLA_FMA.
16795 [DLA_FMA] (EMULV): Use DLA_FMA.
16796 [DLA_FMA] (MUL12): Use EMULV.
16797 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16798 that are not needed.
16799 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16804 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16806
ee2aafe0
AS
168072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16808
16809 * math/s_nan.c: Undef __nan.
16810 * math/s_nanf.c: Undef __nanf.
16811 * math/s_nanl.c: Undef __nanl.
16812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16813 "math_private.h".
16814
bc62c2fb
UD
168152011-10-22 Ulrich Drepper <drepper@gmail.com>
16816
77425c63
UD
16817 * math/s_catan.c: Add branch predictions.
16818 * math/s_catanf.c: Likewise.
16819 * math/s_catanh.c: Likewise.
16820 * math/s_catanhf.c: Likewise.
16821 * math/s_catanhl.c: Likewise.
16822 * math/s_catanl.c: Likewise.
16823 * math/s_cexp.c: Likewise.
16824 * math/s_cexpf.c: Likewise.
16825 * math/s_cexpl.c: Likewise.
16826 * math/s_clog.c: Likewise.
16827 * math/s_clog10.c: Likewise.
16828 * math/s_clog10f.c: Likewise.
16829 * math/s_clog10l.c: Likewise.
16830 * math/s_clogf.c: Likewise.
16831 * math/s_clogl.c: Likewise.
16832 * math/s_csqrt.c: Likewise.
16833 * math/s_csqrtf.c: Likewise.
16834 * math/s_csqrtl.c: Likewise.
16835 * math/s_ctanf.c: Likewise.
16836 * math/s_ctanh.c: Likewise.
16837 * math/s_ctanhf.c: Likewise.
16838 * math/s_ctanhl.c: Likewise.
16839 * math/s_ctanl.c: Likewise.
16840
bc62c2fb
UD
16841 * math/math_private.h: Define __nan, __nanf, __nanl.
16842 * math/s_cacosh.c: Include <math_private.h>.
16843 * math/s_cacoshl.c: Likewise.
16844 * math/s_casinh.c: Likewise.
16845 * math/s_casinhf.c: Likewise.
16846 * math/s_casinhl.c: Likewise.
16847 * math/s_ccos.c: Rely entire on ccosh.
16848 * math/s_ccosf.c: Rely entire on ccoshf.
16849 * math/s_ccosl.c: Rely entirely on ccoshl.
16850 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16851 Remove tests for FE_INVALID.
16852 * math/s_ccoshf.c: Likewise.
16853 * math/s_ccoshl.c: Likewise.
16854 * math/s_csin.c: Likewise.
16855 * math/s_csinf.c: Likewise.
16856 * math/s_csinh.c Likewise.
16857 * math/s_csinhf.c: Likewise.
16858 * math/s_csinhl.c: Likewise.
16859 * math/s_csinl.c: Likewise.
16860 * math/s_ctan.c: Likewise.
16861 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16862 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16863 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16864
8ec250a4
UD
168652011-10-21 Ulrich Drepper <drepper@gmail.com>
16866
c196fed8
UD
16867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16868 compilation problems.
16869
8ec250a4
UD
16870 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16871 __builtin_expect.
16872
8d4f46c6
UD
168732011-10-20 Ulrich Drepper <drepper@gmail.com>
16874
ed72b654
UD
16875 * sysdeps/i386/configure.in: Test for -mfma4 option.
16876 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16877 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16878 COMMON_CPUID_INDEX_80000001.
16879 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16880 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16881 use it if FMA3 is not supported.
16882 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16883
8d4f46c6
UD
16884 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16885 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16886
d45c60c2
AS
168872011-10-20 Andreas Schwab <schwab@redhat.com>
16888
16889 [BZ #12892]
16890 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16891 it would create a cycle with a link time dependency.
16892
d9a4d2ab
UD
168932011-10-19 Ulrich Drepper <drepper@gmail.com>
16894
855d1560
UD
16895 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16896 instruction.
16897 * string/Makefile (strop-tests): Add rawmemchr.
16898 * string/test-rawmemchr.c: New file.
16899
d9a4d2ab
UD
16900 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16901 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16902 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16903 when compiling str{,n}casecmp and when AVX is available. Hook up
16904 new optimized code in initializers.
16905
8f3b1ffe
AS
169062011-10-19 Andreas Schwab <schwab@redhat.com>
16907
16908 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16909 __feraiseexcept instead of feraiseexcept.
16910
d38f1dba
UD
169112011-10-18 Ulrich Drepper <drepper@gmail.com>
16912
d9a8d0ab
UD
16913 * math/math_private.h: Define defaults for libc_fetestexcept and
16914 libc_feupdateenv.
16915 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16916 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16917 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16918 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16919 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16920 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16921 libc_fetestexcept and libc_feupdateenv.
16922
4855e3dd
UD
16923 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16924 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16925 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16926 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16927 libc_feholdexcept_setround.
16928
581d30e3
UD
16929 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16930 Add s_nearbyint-c and s_nearbyintf-c.
16931 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16932 nearbyintf inlines.
16933 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16934 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16935 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16936 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16937
d38f1dba
UD
16938 * math/math_private.h: Define defaults for libc_fegetround,
16939 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16940 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16941 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16942 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16943 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16944 standard functions.
16945 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16946 Remove comments and hacks for old compiler versions.
16947 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16948 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16949 libc_feholdexceptl.
16950
caa6c9d8
AS
169512011-10-18 Andreas Schwab <schwab@redhat.com>
16952
16953 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
16954 (__feraiseexcept_renamed): Add __NTH.
16955 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
16956 namespace violations.
16957
97c066e6
UD
169582011-10-17 Ulrich Drepper <drepper@gmail.com>
16959
99ce7b04
UD
16960 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16961
1004d182
UD
16962 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16963
228a984d
UD
16964 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16965 recently added interfaces.
16966 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16967
c8553a6a
UD
16968 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16969 about macro parameter expansion.
16970
ed22dcf6
UD
16971 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16972 __NO_MATH_INLINES is defined. Cleanups.
16973
16974 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16975 and __floorf is target has SSE4.1.
16976 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16977 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16978 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16979 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16980
b171c137
UD
16981 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16982 name.
16983 (floorf): Likewise.
16984
97c066e6
UD
16985 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16986
629f62ef
AS
169872011-10-17 Andreas Schwab <schwab@redhat.com>
16988
49a43d80
AS
16989 * misc/sys/cdefs.h: Fix last change.
16990
629f62ef
AS
16991 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16992 database lookup.
16993
e453f6cd
UD
169942011-10-16 Ulrich Drepper <drepper@gmail.com>
16995
aa78043a
UD
16996 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16997
ad0f5cad
UD
16998 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17000 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17001 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17003 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17004 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17005 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17006 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17007 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17008 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17009 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17010 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17011 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17012 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17013 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17014 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17015 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17016 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17017 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17018 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17019 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17020
17021 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17022 ceil, ceilf, floor, floorf.
17023
17024 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17025 Perform IRELATIVE relocations last.
17026
e453f6cd
UD
17027 * elf/do-rel.h: Add another parameter nrelative, replacing the
17028 local variable with the same name. Change name of the function
17029 to end in Rel or Rela (uppercase).
17030 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17031 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17032 elf_dynamic_do_##reloc function.
17033
fd5bdc09
UD
170342011-10-15 Ulrich Drepper <drepper@gmail.com>
17035
79b195b5
UD
17036 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17037 is sufficient, at least on modern CPUs.
17038
d4a28569
UD
17039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17040
b61099b5
UD
17041 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17042 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17043
bcf01e6d
UD
17044 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17045 __expl_finite.
17046 * math/bits/math-finite.h: Add entries for exp.
17047 * math/e_expl.c: Add __*_finite alias.
17048 * sysdeps/i386/fpu/e_exp.S: Likewise.
17049 * sysdeps/i386/fpu/e_expf.S: Likewise.
17050 * sysdeps/i386/fpu/e_expl.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17052 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17056 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17057 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17058
ba1a0d59
UD
17059 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17060 is sufficient, at least on modern CPUs.
17061
fd5bdc09
UD
17062 * ctype/ctype-info.c (__ctype_init): Define.
17063 * include/ctype.h (__ctype_init): Declare.
17064 (__ctype_b_loc): The variable is always initialized.
17065 (__ctype_toupper_loc): Likewise.
17066 (__ctype_tolower_loc): Likewise.
17067 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17068 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17069
7872cfb0
AS
170702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17071
b468825a
AS
17072 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17073
7872cfb0
AS
17074 * configure.in: Also look in $cxxmachine/include for C++ system
17075 headers.
17076
be13f7bf
LD
170772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17078
17079 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17080 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17081 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17082 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17083 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17084 (USE_AS_WMEMCMP): New macro.
17085 Fixing indents.
17086 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17087 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17088 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17089 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17091 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17092 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17093 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17094 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17095 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17096 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17097 (USE_AS_WMEMCMP): New macro.
17098 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17099 * sysdeps/string/test-memcmp.c: Update.
17100 Fix simple_wmemcmp.
17101 Add new tests.
17102 * wcsmbs/wmemcmp.c: Update.
17103 (WMEMCMP): New macro.
17104 Fix overflow bug.
17105
556a2007
AJ
171062011-10-12 Andreas Jaeger <aj@suse.de>
17107
17108 [BZ #13268]
17109 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17110
538faaa7
UD
171112011-10-15 Ulrich Drepper <drepper@gmail.com>
17112
ab6737ff
UD
17113 * libio/iofwide.c (do_length): Avoid warning.
17114
538faaa7
UD
17115 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17116
396a21b1
UD
171172011-10-14 Ulrich Drepper <drepper@gmail.com>
17118
cdf2901f
UD
17119 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17120
38ad40ce
UD
17121 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17122 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17123 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17124 * sysdeps/i386/i686/fpu/e_log.S: New file.
17125 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17126 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17127
396a21b1
UD
17128 * ctype/ctype.h: Add support for inlined isXXX functions when
17129 compiling C++ code.
17130
6b1f68c9
AS
171312011-10-14 Andreas Schwab <schwab@redhat.com>
17132
349290c0
AS
17133 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17134
6b1f68c9
AS
17135 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17136
f2282d42
RM
171372011-10-13 Roland McGrath <roland@hack.frob.com>
17138
17139 [BZ #13291]
17140 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17141
5298ffa8
AS
171422011-10-13 Andreas Schwab <schwab@redhat.com>
17143
714fad23
AS
17144 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17145 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17146 feraiseexcept.
17147
81dcc7fb
AS
17148 * sysdeps/x86_64/memrchr.S: Check for zero size.
17149
5298ffa8
AS
17150 * string/stratcliff.c: Add memrchr tests.
17151
951fbcec
LD
171522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17153
17154 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17155 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17156 rawmemchr-sse2 rawmemchr-sse2-bsf.
17157 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17158 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17159 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17160 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17161 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17162 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17163 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17164 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17165 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17166 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17167 * string/memrchr.c (MEMRCHR): New macro.
17168
0ac5ae23
UD
171692011-10-12 Ulrich Drepper <drepper@gmail.com>
17170
17171 Add integration with gcc's -ffinite-math-only and optimize wrapper
17172 functions in libm.
17173 * Versions.def: Define GLIBC_2.15 version for libm.
17174 * math/Makefile (headers): Add bits/math-finite.h.
17175 * math/bits/math-finite.h: New file.
17176 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17177 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17178 * math/e_acoshl.c: Add __*_finite alias.
17179 * math/e_acosl.c: Likewise.
17180 * math/e_asinl.c: Likewise.
17181 * math/e_atan2l.c: Likewise.
17182 * math/e_atanhl.c: Likewise.
17183 * math/e_coshl.c: Likewise.
17184 * math/e_exp10.c: Likewise.
17185 * math/e_exp10f.c: Likewise.
17186 * math/e_exp10l.c: Likewise.
17187 * math/e_exp2l.c: Likewise.
17188 * math/e_fmodl.c: Likewise.
17189 * math/e_gammal_r.c: Likewise.
17190 * math/e_hypotl.c: Likewise.
17191 * math/e_j0l.c: Likewise.
17192 * math/e_j1l.c: Likewise.
17193 * math/e_jnl.c: Likewise.
17194 * math/e_lgammal_r.c: Likewise.
17195 * math/e_log10l.c: Likewise.
17196 * math/e_log2l.c: Likewise.
17197 * math/e_logl.c: Likewise.
17198 * math/e_powl.c: Likewise.
17199 * math/e_sinhl.c: Likewise.
17200 * math/e_sqrtl.c: Likewise.
17201 * math/e_scalb.c: Completely rewritten and optimized.
17202 * math/e_scalbf.c: Likewise.
17203 * math/e_scalbl.c: Likewise.
17204 * math/w_acos.c: Likewise.
17205 * math/w_acosf.c: Likewise.
17206 * math/w_acosl.c: Likewise.
17207 * math/w_acosh.c: Likewise.
17208 * math/w_acoshf.c: Likewise.
17209 * math/w_acoshl.c: Likewise.
17210 * math/w_asin.c: Likewise.
17211 * math/w_asinf.c: Likewise.
17212 * math/w_asinl.c: Likewise.
17213 * math/w_atan2.c: Likewise.
17214 * math/w_atan2f.c: Likewise.
17215 * math/w_atan2l.c: Likewise.
17216 * math/w_atanh.c: Likewise.
17217 * math/w_atanhf.c: Likewise.
17218 * math/w_atanhl.c: Likewise.
17219 * math/w_exp10.c: Likewise.
17220 * math/w_exp10f.c: Likewise.
17221 * math/w_exp10l.c: Likewise.
17222 * math/w_fmod.c: Likewise.
17223 * math/w_fmodf.c: Likewise.
17224 * math/w_fmodl.c: Likewise.
17225 * math/w_j0.c: Likewise.
17226 * math/w_j0f.c: Likewise.
17227 * math/w_j0l.c: Likewise.
17228 * math/w_j1.c: Likewise.
17229 * math/w_j1f.c: Likewise.
17230 * math/w_j1l.c: Likewise.
17231 * math/w_jn.c: Likewise.
17232 * math/w_jnf.c: Likewise.
17233 * math/w_log.c: Likewise.
17234 * math/w_logf.c: Likewise.
17235 * math/w_logl.c: Likewise.
17236 * math/w_log10.c: Likewise.
17237 * math/w_log10f.c: Likewise.
17238 * math/w_log10l.c: Likewise.
17239 * math/w_log2.c: Likewise.
17240 * math/w_log2f.c: Likewise.
17241 * math/w_log2l.c: Likewise.
17242 * math/w_pow.c: Likewise.
17243 * math/w_powf.c: Likewise.
17244 * math/w_powl.c: Likewise.
17245 * math/w_remainder.c: Likewise.
17246 * math/w_remainderf.c: Likewise.
17247 * math/w_remainderl.c: Likewise.
17248 * math/w_scalb.c: Likewise.
17249 * math/w_scalbf.c: Likewise.
17250 * math/w_scalbl.c: Likewise.
17251 * math/w_sqrt.c: Likewise.
17252 * math/w_sqrtf.c: Likewise.
17253 * math/w_sqrtl.c: Likewise.
17254 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17255 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17256 used.
17257 * math/math_private.h: Declare __kernel_standard_f.
17258 * math/w_cosh.c: Remove cruft and optimize a bit.
17259 * math/w_coshf.c: Likewise.
17260 * math/w_coshl.c: Likewise.
17261 * math/w_exp2.c: Likewise.
17262 * math/w_exp2f.c: Likewise.
17263 * math/w_exp2l.c: Likewise.
17264 * math/w_hypot.c: Likewise.
17265 * math/w_hypotf.c: Likewise.
17266 * math/w_hypotl.c: Likewise.
17267 * math/w_lgamma.c: Likewise.
17268 * math/w_lgamma_r.c: Likewise.
17269 * math/w_lgammaf.c: Likewise.
17270 * math/w_lgammaf_r.c: Likewise.
17271 * math/w_lgammal.c: Likewise.
17272 * math/w_lgammal_r.c: Likewise.
17273 * math/w_sinh.c: Likewise.
17274 * math/w_sinhf.c: Likewise.
17275 * math/w_sinhl.c: Likewise.
17276 * math/w_tgamma.c: Likewise.
17277 * math/w_tgammaf.c: Likewise.
17278 * math/w_tgammal.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17280 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17281 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17282 Minor optimizations. Pretty printing. Remove cruft.
17283 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17284 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17285 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17287 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17288 * sysdeps/i386/fpu/e_asin.S: Likewise.
17289 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17290 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17291 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17292 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17293 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17294 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17295 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17296 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17297 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17298 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17299 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17300 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17301 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17302 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17303 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17304 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17305 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17306 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17307 * sysdeps/i386/fpu/e_log.S: Likewise.
17308 * sysdeps/i386/fpu/e_log10.S: Likewise.
17309 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17310 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17311 * sysdeps/i386/fpu/e_log2.S: Likewise.
17312 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17313 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17314 * sysdeps/i386/fpu/e_logf.S: Likewise.
17315 * sysdeps/i386/fpu/e_logl.S: Likewise.
17316 * sysdeps/i386/fpu/e_pow.S: Likewise.
17317 * sysdeps/i386/fpu/e_powf.S: Likewise.
17318 * sysdeps/i386/fpu/e_powl.S: Likewise.
17319 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17320 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17321 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17322 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17323 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17324 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17325 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17326 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17327 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17335 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17337 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17349 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17350 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17351 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17352 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17353 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17354 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17355 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17356 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17357 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17358 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17359 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17360 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17361 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17362 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17363 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17364 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17365 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17366 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17367 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17368 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17369 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17385 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17393 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17397 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17399 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17400 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17402 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17403 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17404 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17406 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17408 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17409 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17411 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17413 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17414 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17416 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17419 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17420 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17421 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17422 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17423 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17424 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17425 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17426 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17427 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17428 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17429 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17430 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17431 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17432 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17433 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17434 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17435 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17436 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17437 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17438 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17439 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17440 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17441 (__isnanf): Likewise.
17442 (__isinf_ns): Likewise.
17443 (__isinf_nsf): Likewise.
17444 (__finite): Likewise.
17445 (__finitef): Likewise.
17446 (__ieee754_sqrt): Define as macro.
17447 (__ieee754_sqrtf): Define as macro.
17448 (__ieee754_sqrtl): Define as macro.
17449 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17450 inlined copy.
17451 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17452 __FINITE_MATH_ONLY__ consistent.
17453 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17454
12cc2fcd
AS
174552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17456
a843a204
AS
17457 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17458 of rawmemchr.
17459
12cc2fcd
AS
17460 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17461
c853acd5
UD
174622011-10-09 Ulrich Drepper <drepper@gmail.com>
17463
17464 * po/ja.po: Update from translation team.
17465
c658d255
RM
174662011-10-08 Roland McGrath <roland@hack.frob.com>
17467
110946e4
RM
17468 * locale/programs/locarchive.c (prepare_address_space): New function.
17469 (create_archive, enlarge_archive, open_archive): Use it.
17470
50604220
RM
17471 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17472 inside [SHARED], where it is used.
17473
c658d255
RM
17474 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17475
17476 * nss/getent.c (netgroup_keys): Remove unused variable.
17477 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17478
6a621eb7
UD
174792011-10-08 Ulrich Drepper <drepper@gmail.com>
17480
7edb55ce
UD
17481 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17482 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17484 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17485 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17486 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17487 * math/Makefile (libm-calls): Add s_isinf_ns.
17488 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17489 * math/multc3.c: Likewise.
17490 * math/s_casin.c: Likewise.
17491 * math/s_casinf.c: Likewise.
17492 * math/s_casinl.c: Likewise.
17493 * math/s_ccos.c: Likewise.
17494 * math/s_ccosf.c: Likewise.
17495 * math/s_ccosl.c: Likewise.
17496 * math/s_ctan.c: Likewise.
17497 * math/s_ctanf.c: Likewise.
17498 * math/s_ctanh.c: Likewise.
17499 * math/s_ctanhf.c: Likewise.
17500 * math/s_ctanhl.c: Likewise.
17501 * math/s_ctanl.c: Likewise.
17502 * math/w_fmod.c: Likewise.
17503 * math/w_fmodf.c: Likewise.
17504 * math/w_fmodl.c: Likewise.
17505 * math/w_remainder.c: Likewise.
17506 * math/w_remainderf.c: Likewise.
17507 * math/w_remainderl.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17509 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17510 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17512 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17513 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17514 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17515 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17516
187da0ae
UD
17517 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17518 of the number.
17519 * stdio-common/printf_fphex.c: Likewise.
17520 * stdio-common/printf_size.c: Likewise.
17521
9277c064
UD
17522 * math/e_exp10.c: Include math_private.h using <...> not "...".
17523 * math/e_exp10f.c: Likewise.
17524 * math/e_exp10l.c: Likewise.
17525 * math/e_exp2l.c: Likewise.
17526 * math/e_j0l.c: Likewise.
17527 * math/e_j1l.c: Likewise.
17528 * math/e_jnl.c: Likewise.
17529 * math/e_lgammal_r.c: Likewise.
17530 * math/e_rem_pio2l.c: Likewise.
17531 * math/e_scalb.c: Likewise.
17532 * math/e_scalbf.c: Likewise.
17533 * math/e_scalbl.c: Likewise.
17534 * math/k_cosl.c: Likewise.
17535 * math/k_sinl.c: Likewise.
17536 * math/k_tanl.c: Likewise.
17537 * math/s_cacoshf.c: Likewise.
17538 * math/s_catan.c: Likewise.
17539 * math/s_catanf.c: Likewise.
17540 * math/s_catanh.c: Likewise.
17541 * math/s_catanhf.c: Likewise.
17542 * math/s_catanhl.c: Likewise.
17543 * math/s_catanl.c: Likewise.
17544 * math/s_ccosh.c: Likewise.
17545 * math/s_ccoshf.c: Likewise.
17546 * math/s_ccoshl.c: Likewise.
17547 * math/s_cexp.c: Likewise.
17548 * math/s_cexpf.c: Likewise.
17549 * math/s_cexpl.c: Likewise.
17550 * math/s_clog.c: Likewise.
17551 * math/s_clog10.c: Likewise.
17552 * math/s_clog10f.c: Likewise.
17553 * math/s_clog10l.c: Likewise.
17554 * math/s_clogf.c: Likewise.
17555 * math/s_clogl.c: Likewise.
17556 * math/s_csin.c: Likewise.
17557 * math/s_csinf.c: Likewise.
17558 * math/s_csinh.c: Likewise.
17559 * math/s_csinhf.c: Likewise.
17560 * math/s_csinhl.c: Likewise.
17561 * math/s_csinl.c: Likewise.
17562 * math/s_csqrt.c: Likewise.
17563 * math/s_csqrtf.c: Likewise.
17564 * math/s_csqrtl.c: Likewise.
17565 * math/s_ctan.c: Likewise.
17566 * math/s_ctanf.c: Likewise.
17567 * math/s_ctanh.c: Likewise.
17568 * math/s_ctanhf.c: Likewise.
17569 * math/s_ctanhl.c: Likewise.
17570 * math/s_ctanl.c: Likewise.
17571 * math/s_ldexp.c: Likewise.
17572 * math/s_ldexpf.c: Likewise.
17573 * math/s_ldexpl.c: Likewise.
17574 * math/s_significand.c: Likewise.
17575 * math/s_significandf.c: Likewise.
17576 * math/s_significandl.c: Likewise.
17577 * math/w_acos.c: Likewise.
17578 * math/w_acosf.c: Likewise.
17579 * math/w_acosh.c: Likewise.
17580 * math/w_acoshf.c: Likewise.
17581 * math/w_acoshl.c: Likewise.
17582 * math/w_acosl.c: Likewise.
17583 * math/w_asin.c: Likewise.
17584 * math/w_asinf.c: Likewise.
17585 * math/w_asinl.c: Likewise.
17586 * math/w_atan2.c: Likewise.
17587 * math/w_atan2f.c: Likewise.
17588 * math/w_atan2l.c: Likewise.
17589 * math/w_atanh.c: Likewise.
17590 * math/w_atanhf.c: Likewise.
17591 * math/w_atanhl.c: Likewise.
17592 * math/w_cosh.c: Likewise.
17593 * math/w_coshf.c: Likewise.
17594 * math/w_coshl.c: Likewise.
17595 * math/w_dremf.c: Likewise.
17596 * math/w_exp10.c: Likewise.
17597 * math/w_exp10f.c: Likewise.
17598 * math/w_exp10l.c: Likewise.
17599 * math/w_exp2.c: Likewise.
17600 * math/w_exp2f.c: Likewise.
17601 * math/w_fmod.c: Likewise.
17602 * math/w_fmodf.c: Likewise.
17603 * math/w_fmodl.c: Likewise.
17604 * math/w_hypot.c: Likewise.
17605 * math/w_hypotf.c: Likewise.
17606 * math/w_hypotl.c: Likewise.
17607 * math/w_j0.c: Likewise.
17608 * math/w_j0f.c: Likewise.
17609 * math/w_j0l.c: Likewise.
17610 * math/w_j1.c: Likewise.
17611 * math/w_j1f.c: Likewise.
17612 * math/w_j1l.c: Likewise.
17613 * math/w_jn.c: Likewise.
17614 * math/w_jnf.c: Likewise.
17615 * math/w_jnl.c: Likewise.
17616 * math/w_lgamma.c: Likewise.
17617 * math/w_lgamma_r.c: Likewise.
17618 * math/w_lgammaf.c: Likewise.
17619 * math/w_lgammaf_r.c: Likewise.
17620 * math/w_lgammal.c: Likewise.
17621 * math/w_lgammal_r.c: Likewise.
17622 * math/w_log.c: Likewise.
17623 * math/w_log10.c: Likewise.
17624 * math/w_log10f.c: Likewise.
17625 * math/w_log10l.c: Likewise.
17626 * math/w_log2.c: Likewise.
17627 * math/w_log2f.c: Likewise.
17628 * math/w_log2l.c: Likewise.
17629 * math/w_logf.c: Likewise.
17630 * math/w_logl.c: Likewise.
17631 * math/w_pow.c: Likewise.
17632 * math/w_powf.c: Likewise.
17633 * math/w_powl.c: Likewise.
17634 * math/w_remainder.c: Likewise.
17635 * math/w_remainderf.c: Likewise.
17636 * math/w_remainderl.c: Likewise.
17637 * math/w_scalb.c: Likewise.
17638 * math/w_scalbf.c: Likewise.
17639 * math/w_scalbl.c: Likewise.
17640 * math/w_sinh.c: Likewise.
17641 * math/w_sinhf.c: Likewise.
17642 * math/w_sinhl.c: Likewise.
17643 * math/w_sqrt.c: Likewise.
17644 * math/w_sqrtf.c: Likewise.
17645 * math/w_sqrtl.c: Likewise.
17646 * math/w_tgamma.c: Likewise.
17647 * math/w_tgammaf.c: Likewise.
17648 * math/w_tgammal.c: Likewise.
17649
6a621eb7
UD
17650 * po/ja.po: Update from translation team.
17651
bf582445
AJ
176522011-09-29 Andreas Jaeger <aj@suse.de>
17653
f9efbf3a
AJ
17654 [BZ #13179]
17655 * sunrpc/netname.c (netname2host): Fix logic.
17656
bf582445
AJ
17657 [BZ #6779]
17658 [BZ #6783]
17659 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17660 correctly.
17661 * math/w_remainder.c (__remainder): Likewise.
17662 * math/w_remainderf.c (__remainderf): Likewise.
17663 * math/libm-test.inc (remainder_test): Add test cases.
17664
48693bea
AK
176652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17666
17667 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17668 sdiv_qrnnd.
17669
42622229
LD
176702011-10-07 Ulrich Drepper <drepper@gmail.com>
17671
17672 * string/test-memcmp.c: Avoid unncessary #defines.
17673 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17674
093ecf92
LD
176752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17676
17677 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17678 Use new sse2 version for core i3 - i7 as it's faster
17679 than sse42 version.
17680 (bit_Prefer_PMINUB_for_stringop): New.
17681 * sysdeps/x86_64/rawmemchr.S: Update.
17682 Replace with faster SSE2 version.
17683 * sysdeps/x86_64/memrchr.S: New file.
17684 * sysdeps/x86_64/memchr.S: Update.
17685 Replace with faster SSE2 version.
17686
fde56e5c
MP
176872011-09-12 Marek Polacek <mpolacek@redhat.com>
17688
17689 * elf/dl-load.c (lose): Add cast to avoid warning.
17690
21fd49a9
UD
176912011-10-07 Ulrich Drepper <drepper@gmail.com>
17692
5a06e643
UD
17693 * po/ca.po: Update from translation team.
17694
684ae515
UD
17695 * inet/getnetgrent_r.c: Hook up nscd.
17696 * nscd/Makefile (routines): Add nscd_netgroup.
17697 (nscd-modules): Add netgroupcache.
17698 (CFLAGS-netgroupcache.c): Define.
17699 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17700 (cache_search): Add const to second parameter.
17701 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17702 INNETGR.
17703 (dbs): Add netgrdb entry.
17704 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17705 (verify_persistent_db): Handle netgrdb.
17706 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17707 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17708 GETFDNETGR.
17709 (netgroup_response_header): Define.
17710 (innetgroup_response_header): Define.
17711 (datahead): Add netgroup_response_header and innetgroup_response_header
17712 elements.
17713 * nscd/nscd.conf: Add entries for netgroup cache.
17714 * nscd/nscd.h (dbtype): Add netgrdb.
17715 (_PATH_NSCD_NETGROUP_DB): Define.
17716 (netgroup_iov_disabled): Declare.
17717 (xmalloc, xcalloc, xrealloc): Move declarations here.
17718 (cache_search): Adjust prototype.
17719 Add netgroup-related prototypes.
17720 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17721 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17722 (__nscd_innetgr): Declare.
17723 * nscd/selinux.c (perms): Use access_vector_t as element type and
17724 add netgroup-related initializers.
17725 * nscd/netgroupcache.c: New file.
17726 * nscd/nscd_netgroup.c: New file.
17727 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17728 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17729 For four parameters use innetgr.
17730 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17731 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17732 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17733 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17734
21fd49a9
UD
17735 * nscd/connections.c (register_traced_file): Don't register file
17736 for disabled databases.
17737
054c0457
UD
177382011-10-06 Ulrich Drepper <drepper@gmail.com>
17739
32b63198
UD
17740 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17741
054c0457
UD
17742 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17743 from tree and freeing node.
17744
64031225
JO
177452011-09-25 Jiri Olsa <jolsa@redhat.com>
17746
17747 * nss/nsswitch.c (__nss_database_lookup): Handle
17748 nss_parse_service_list out of memory case.
17749
0490345c
JO
177502011-09-15 Jiri Olsa <jolsa@redhat.com>
17751
17752 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17753 out of memory case.
17754
3a62d00d
AS
177552011-10-04 Andreas Schwab <schwab@redhat.com>
17756
17757 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17758 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17759 pass it down.
17760 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17761 elf_machine_rela, elf_machine_lazy_rel.
17762 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17763 (ELF_DYNAMIC_DO_REL): Likewise.
17764 (ELF_DYNAMIC_DO_RELA): Likewise.
17765 (ELF_DYNAMIC_RELOCATE): Likewise.
17766 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17767 to ELF_DYNAMIC_DO_REL.
17768 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17769 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17770 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17771 elf_machine_rela.
17772 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17773 skip_ifunc, don't call ifunc function if non-zero.
17774 (elf_machine_rela): Likewise.
17775 (elf_machine_lazy_rel): Likewise.
17776 (elf_machine_lazy_rela): Likewise.
17777 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17778 (elf_machine_lazy_rel): Likewise.
17779 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17780 Likewise.
17781 (elf_machine_lazy_rel): Likewise.
17782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17783 Likewise.
17784 (elf_machine_lazy_rel): Likewise.
17785 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17786 (elf_machine_lazy_rel): Likewise.
17787 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17788 (elf_machine_lazy_rel): Likewise.
17789 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17790 (elf_machine_lazy_rel): Likewise.
17791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17792 (elf_machine_lazy_rel): Likewise.
17793 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17794 (elf_machine_lazy_rel): Likewise.
17795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17796 (elf_machine_lazy_rel): Likewise.
17797
68577918
UD
177982011-09-28 Ulrich Drepper <drepper@gmail.com>
17799
17800 * nss/nss_files/files-init.c (_nss_files_init): Use static
17801 initialization for all the *_traced_file variables.
17802
68822d74
AS
178032011-09-28 Andreas Schwab <schwab@redhat.com>
17804
17805 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17806
2056100b
RM
178072011-09-27 Roland McGrath <roland@hack.frob.com>
17808
17809 [BZ #13226]
17810 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17811
32c76b63
AS
178122011-09-27 Andreas Schwab <schwab@redhat.com>
17813
17814 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17815 Reread the line before reparsing it.
17816
bf972c9d
AS
178172011-09-26 Andreas Schwab <schwab@redhat.com>
17818
17819 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17820
e057a1b5
JM
178212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17822 Maxim Kuvyrkov <maxim@codesourcery.com>
17823 Joseph Myers <joseph@codesourcery.com>
17824
17825 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17826 if needed for __stack_chk_guard.
17827
bc7e1c36
RM
178282011-09-19 Roland McGrath <roland@hack.frob.com>
17829
ecb1482f
RM
17830 * sysdeps/posix/spawni.c (script_execute): Always define it.
17831 It will be optimized away if unused.
17832 (maybe_script_execute): New function.
17833 (__spawni): Call it.
17834
bc7e1c36
RM
17835 * Makerules: Don't include tls.make.
17836 (config-tls): Always set to thread.
17837 * tls.make.c: File removed.
17838
1c3b002b
MF
178392011-09-19 Mike Frysinger <vapier@gentoo.org>
17840
17841 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17842 * config.make.in (CPPFLAGS-config): New substituted variable.
17843
2840865d
UD
178442011-09-15 Ulrich Drepper <drepper@gmail.com>
17845
88738eb6
UD
17846 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17847
cbf645a6 17848 [BZ #13192]
2840865d
UD
17849 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17850 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17851
b402e91a
RM
178522011-09-15 Roland McGrath <roland@hack.frob.com>
17853
17854 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17855 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17857 (CALL_FAIL): Likewise.
17858 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17859 (CALL_FAIL): Macro removed.
17860 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17861
4c1a1f71
UD
178622011-09-15 Ulrich Drepper <drepper@gmail.com>
17863
17864 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17865 for __FINITE_MATH_ONLY__ == 1.
17866
edc121be
AS
178672011-09-15 Andreas Schwab <schwab@redhat.com>
17868
17869 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17870 __ieee754_sqrt instead of sqrt.
17871 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17872 __ieee754_sqrtf instead of sqrtf.
17873 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17874 __floorf instead of floorf.
17875 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17876 __floorf, __truncf instead of floorf, truncf.
17877
cd205654
UD
178782011-09-14 Ulrich Drepper <drepper@gmail.com>
17879
ee4d0315
UD
17880 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17881
cd205654
UD
17882 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17883 __extern_always_inline.
17884 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17885 32-bit.
17886
48b67d71
AS
178872011-09-14 Andreas Schwab <schwab@redhat.com>
17888
17889 * elf/rtld.c (dl_main): Also relocate in dependency order when
17890 doing symbol dependency testing.
17891
1ae12c75
AS
178922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17893
17894 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17895 Always define `refsym'.
17896
995a80df
AS
178972011-09-13 Andreas Schwab <schwab@redhat.com>
17898
e529793b
AS
17899 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17900 (__FD_ELT): Renamed from __FDELT.
17901 * misc/bits/select2.h (__FD_ELT): Likewise.
17902 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17903 __FD_MASK instead of __FDELT, __FDMASK.
17904 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17905 Likewise.
17906 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17907 Likewise.
17908
52d4fef8
AS
17909 * elf/Makefile (gen-ldd): Fix pattern.
17910
995a80df
AS
17911 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17912 (init_tls): Likewise.
17913
8682f8b0
UD
179142011-09-12 Ulrich Drepper <drepper@gmail.com>
17915
17916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17917
de82006d
AS
179182011-09-12 Andreas Schwab <schwab@redhat.com>
17919
a7c8e6a1
AS
17920 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17921 `struct cmsghdr *' instead of `void *'.
17922 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17923 Likewise.
17924
0f31fe77
AS
179252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17926
17927 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17928 if non-absolute.
17929 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17930 ldd_rewrite_script.
0f31fe77 17931
32b4c839
UD
179322011-09-11 Ulrich Drepper <drepper@gmail.com>
17933
83cd1420
UD
17934 * configure.in: Remove --with-tls option.
17935 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17936 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17937 out in case it is missing.
17938 * sysdeps/ia64/elf/configure.in: Likewise.
17939 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17940 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17941 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17942 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17943 * sysdeps/sh/elf/configure.in: Likewise.
17944 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17945 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17946 * sysdeps/x86_64/elf/configure.in: Likewise.
17947 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17948 * sysdeps/mach/hurd/tls.h: Likewise.
17949
633f745d
UD
17950 [BZ #13067]
17951 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17952
f318beb8
UD
17953 [BZ #13090]
17954 * configure.in: Fix use of AC_INIT.
17955
32b4c839
UD
17956 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17957
3ce1f295
UD
179582011-09-10 Ulrich Drepper <drepper@gmail.com>
17959
bb016596
UD
17960 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17961 __set_errno.
8e58439c
UD
17962 * malloc/hooks.c: Likewise.
17963
aebae053 17964 [BZ #11929]
02d46fc4
UD
17965 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17966 variables statically.
17967 (narenas): Initialize.
17968 (list_lock): Initialize.
bb016596
UD
17969 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17970 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
17971 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17972 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17973 Add initializers to main_arena and mp_.
17974 (malloc_state): Remove pagesize member. Change all users to use
17975 GLRO(dl_pagesize).
17976
17977 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17978 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17979 is always initialized.
17980
22a89187
UD
17981 * malloc/malloc.c: Removed unused configurations and dead code.
17982 * malloc/arena.c: Likewise.
17983 * malloc/hooks.c: Likewise.
02d46fc4 17984 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 17985
d063d164
UD
17986 * include/tls.h: Removed. USE___THREAD must always be defined.
17987 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17988 * elf/dl-libc.c: Likewise.
17989 * elf/dl-tsd.c: Likewise.
17990 * include/errno.h: Likewise.
17991 * include/netdb.h: Likewise.
17992 * include/resolv.h: Likewise.
17993 * inet/herrno-loc.c: Likewise.
17994 * inet/herrno.c: Likewise.
17995 * malloc/arena.c: Likewise.
17996 * malloc/hooks.c: Likewise.
17997 * malloc/malloc.c: Likewise.
17998 * resolv/res-state.c: Likewise.
17999 * resolv/res_libc.c: Likewise.
18000 * sysdeps/i386/dl-machine.h: Likewise.
18001 * sysdeps/ia64/dl-machine.h: Likewise.
18002 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18003 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18004 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18005 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18006 * sysdeps/sh/dl-machine.h: Likewise.
18007 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18008 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18009 * sysdeps/unix/i386/sysdep.S: Likewise.
18010 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18011 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18012 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18016 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18017 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18020 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18021 * sysdeps/x86_64/dl-machine.h: Likewise.
18022 * tls.make.c: Likewise.
18023
3ce1f295
UD
18024 * configure.in: Remove --with-__thread option. Make tests for
18025 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18026 tls_model attribute fail if no support is available. Remove
18027 USE_IN_LIBIO.
18028 * Makeconfig: Adjust for dropped configure option. All features are
18029 now mandatory.
18030 * Makerules: Likewise.
18031 * Versions.def: Likewise.
18032 * argp/argp-fmtstream.c: Likewise.
18033 * argp/argp-fmtstream.h: Likewise.
18034 * argp/argp-help.c: Likewise.
18035 * assert/assert.c: Likewise.
18036 * config.h.in: Likewise.
18037 * config.make.in: Likewise.
18038 * configure: Likewise.
18039 * configure.in: Likewise.
18040 * csu/Versions: Likewise.
18041 * csu/init.c: Likewise.
18042 * elf/tst-audit2.c: Likewise.
18043 * elf/tst-tls10.c: Likewise.
18044 * elf/tst-tls10.h: Likewise.
18045 * elf/tst-tls11.c: Likewise.
18046 * elf/tst-tls12.c: Likewise.
18047 * elf/tst-tls14.c: Likewise.
18048 * elf/tst-tlsmod11.c: Likewise.
18049 * elf/tst-tlsmod12.c: Likewise.
18050 * elf/tst-tlsmod13.c: Likewise.
18051 * elf/tst-tlsmod13a.c: Likewise.
18052 * elf/tst-tlsmod14a.c: Likewise.
18053 * elf/tst-tlsmod15b.c: Likewise.
18054 * elf/tst-tlsmod16a.c: Likewise.
18055 * elf/tst-tlsmod16b.c: Likewise.
18056 * elf/tst-tlsmod7.c: Likewise.
18057 * elf/tst-tlsmod8.c: Likewise.
18058 * elf/tst-tlsmod9.c: Likewise.
18059 * gmon/gmon.c: Likewise.
18060 * grp/fgetgrent_r.c: Likewise.
18061 * grp/putgrent.c: Likewise.
18062 * hurd/fopenport.c: Likewise.
18063 * include/libc-symbols.h: Likewise.
18064 * include/tls.h: Likewise.
18065 * intl/gettextP.h: Likewise.
18066 * intl/loadinfo.h: Likewise.
18067 * locale/global-locale.c: Likewise.
18068 * locale/localeinfo.h: Likewise.
18069 * mach/devstream.c: Likewise.
18070 * malloc/arena.c: Likewise.
18071 * malloc/set-freeres.c: Likewise.
18072 * misc/err.c: Likewise.
18073 * misc/getttyent.c: Likewise.
18074 * misc/mntent_r.c: Likewise.
18075 * posix/getopt.c: Likewise.
18076 * posix/wordexp.c: Likewise.
18077 * pwd/fgetpwent_r.c: Likewise.
18078 * resolv/Versions: Likewise.
18079 * resolv/res_hconf.c: Likewise.
18080 * shadow/fgetspent_r.c: Likewise.
18081 * shadow/putspent.c: Likewise.
18082 * stdio-common/printf_fphex.c: Likewise.
18083 * stdio-common/tmpfile.c: Likewise.
18084 * stdlib/abort.c: Likewise.
18085 * stdlib/fmtmsg.c: Likewise.
18086 * sunrpc/auth_unix.c: Likewise.
18087 * sunrpc/clnt_perr.c: Likewise.
18088 * sunrpc/clnt_tcp.c: Likewise.
18089 * sunrpc/clnt_udp.c: Likewise.
18090 * sunrpc/clnt_unix.c: Likewise.
18091 * sunrpc/openchild.c: Likewise.
18092 * sunrpc/svc_simple.c: Likewise.
18093 * sunrpc/svc_tcp.c: Likewise.
18094 * sunrpc/svc_udp.c: Likewise.
18095 * sunrpc/svc_unix.c: Likewise.
18096 * sunrpc/xdr.c: Likewise.
18097 * sunrpc/xdr_array.c: Likewise.
18098 * sunrpc/xdr_rec.c: Likewise.
18099 * sunrpc/xdr_ref.c: Likewise.
18100 * sunrpc/xdr_stdio.c: Likewise.
18101
1248c1c4
PB
181022011-09-09 Ulrich Drepper <drepper@gmail.com>
18103
18104 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18105
181062011-07-03 Andreas Jaeger <aj@suse.de>
18107
18108 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18109 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18110 regenerate with gen-libm-tests.pl.
18111
181122010-05-12 Petr Baudis <pasky@suse.cz>
18113
18114 [BZ #11589]
18115 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18116 around j0() zero points by switching to j1().
18117 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18121
f22e1074
UD
181222011-09-09 Ulrich Drepper <drepper@gmail.com>
18123
f19009c1
UD
18124 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18125 instead of 0.
18126 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18127 instead of 0. .
18128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18129 Patch in part by Pavel Roskin <proski@gnu.org>.
18130
3f8cc204
UD
18131 [BZ #13138]
18132 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18133 realloc.
18134 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18135 Free memory block if necessary.
18136
f22e1074
UD
18137 [BZ #12847]
18138 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18139 be NULL. Don't lock in this case.
18140
0a2349f9
RM
181412011-09-09 Roland McGrath <roland@hack.frob.com>
18142
18143 * elf/elf.h (ELFOSABI_GNU): New macro.
18144 (ELFOSABI_LINUX): Define to that.
18145
f3cdd467
DZ
181462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18147
18148 * string/strncat.c (strncat): Undef the symbol in case it has been
18149 defined in bits/string.h.
18150
74718d13
UD
181512011-09-09 Ulrich Drepper <drepper@gmail.com>
18152
633e9e0f
UD
18153 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18154
0a2349f9 18155 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18156 link map.
18157
f9924780
AJ
181582011-08-17 Andreas Jaeger <aj@suse.de>
18159
18160 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18161
7f5517aa
PP
181622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18163 Ian Lance Taylor <iant@google.com>
18164
18165 * math/libm-test.inc (lround_test): New testcase.
18166 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18167
762011fe
UD
181682011-09-08 Ulrich Drepper <drepper@gmail.com>
18169
92963737
UD
18170 * Makefile: Remove support for automatic cvs check-ins.
18171 * Makerules: Likewise.
18172 * config.make.in: Likewise.
18173 * configure.in: Likewise.
18174 * intl/Makefile: Likewise.
18175 * locale/Makefile: Likewise.
18176 * po/Makefile: Likewise.
18177 * posix/Makefile: Likewise.
18178 * sysdeps/gnu/Makefile: Likewise.
18179 * sysdeps/mach/hurd/Makefile: Likewise.
18180 * sysdeps/sparc/sparc32/Makefile: Likewise.
18181
b0727fd8
JS
18182 [BZ #13118]
18183 * posix/Makefile (bug-regex32-ENV): Define.
18184 Patch by John Stanley <jpsinthemix@verizon.net>.
18185
a0f33f99
UD
18186 * misc/Makefile (headers): Add bits/select2.h.
18187 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18188 * misc/bits/select2.h: New file.
18189 * include/bits/select2.h: New file.
18190 * debug/Makefile (routines): Add fdelt_chk.
18191 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18192 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18193 FD_ISSET.
18194 * debug/fdelt_chk.c: New file.
18195
762011fe
UD
18196 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18197 * wcsmbs/test-wmemcmp.c: Likewise.
18198 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18199 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18200
182012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18202
18203 * string/Makefile (strop-tests): Add memcmp.
18204 * string/test-wmemcmp.c: New file.
18205 * string/test-memcmp.c: Add wmemcmp support.
18206
7f513ec8
RM
182072011-09-08 Roland McGrath <roland@hack.frob.com>
18208
0442afb4
RM
18209 [BZ #13153]
18210 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18211 2011-07-19 change.
18212
7f513ec8
RM
18213 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18214 garbage value in a __mach_port_mod_refs call in the cases of the
18215 task-self and thread-self ports.
18216
a12b2239
ST
182172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18218
18219 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18220
610f9ab4
AS
182212011-09-08 Andreas Schwab <schwab@redhat.com>
18222
7f513ec8 18223 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18224
48882a1a
LD
182252011-09-07 Ulrich Drepper <drepper@gmail.com>
18226
b49865be
UD
18227 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18228
fdc86bc9
UD
18229 * elf/dl-libc.c (dlerror_run): Pass back error code from
18230 dl_catch_error.
18231
c966526a
UD
18232 [BZ #13123]
18233 * elf/dl-load.c (lose): Free l_origin if it is valid.
18234
48882a1a
LD
18235 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18236 names.
18237 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18238 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18239 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18240 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18241 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18242 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18243
77a2a8b4
AZ
182442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18245
18246 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18247 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18248 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18249 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18250 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18251 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18252 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18253 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18254 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18255 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18256
24f579d8
AM
182572011-08-15 Alan Modra <amodra@gmail.com>
18258
18259 [BZ #13092]
18260 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18261 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18262 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18263 ppc_mcount to static-only-routines.
18264 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18265 __mcount_internal.
18266 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18267 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18268
3d4837df
UD
182692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18270
18271 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18272 for finite and infinity parameters.
18273
22700377
WS
182742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18275
18276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18277 and add nop instructions for throughput optimization.
18278 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18279
5025581e
WS
182802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18281
18282 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18283 aligned copy for power7 with vector-scalar instructions.
18284 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18285
08a300c9
L
182862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18287
18288 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18289 AVX check.
18290
59178ef9
AS
182912011-09-07 Andreas Schwab <schwab@redhat.com>
18292
18293 [BZ #13144]
18294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18295 last change.
18296
e38ba7ab
UD
182972011-09-07 Ulrich Drepper <drepper@gmail.com>
18298
18299 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18300 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18301 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18302 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18303 clock_gettime.
18304
d53a73ac
UD
183052011-09-06 Ulrich Drepper <drepper@gmail.com>
18306
fc8bffcc
UD
18307 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18308 Forgot to demangle the pointer.
18309
ceaa0c5d
UD
18310 * sysdeps/i386/sysdep.h: Define atom_text_section.
18311 * sysdeps/x86_64/sysdep.h: Likewise.
18312 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18313 section with atom_text_section.
18314 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18315 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18316 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18317 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18318 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18319
a77d3c17
UD
18320 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18321 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18322 already be defined. Change to take two parameters and don't assign
18323 result to variable. Adjust all users.
18324 Define INTERNAL_GETTIME if not already defined.
18325 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18326 call.
18327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18328 HAVE_CLOCK_GETTIME_VSYSCALL.
18329 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18330
d53a73ac
UD
18331 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18332 gettimeofday vsyscall, just use time.
18333
a8f84144
AS
183342011-09-06 Andreas Schwab <schwab@redhat.com>
18335
18336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18337 <errno.h>.
18338
ef606249
UD
183392011-09-06 Ulrich Drepper <drepper@gmail.com>
18340
18341 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18342 syscall on x86-64.
18343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18344 syscall.
18345 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18347 syscall if possible.
18348
6585cb60
UD
183492011-09-05 Ulrich Drepper <drepper@gmail.com>
18350
18351 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18352 e_ident. Don't pass to find_mapsXX.
18353 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18354
a5f524e4
LD
183552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18356
18357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18358 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18359 * sysdeps/x86_64/multiarch/strchr.S: Update.
18360 Check bit_slow_BSF bit.
18361 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18362 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18363 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18364
554881ef
UD
183652011-09-05 Ulrich Drepper <drepper@gmail.com>
18366
d96de963
UD
18367 [BZ #13134]
18368 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18369 before glibc 2.15.
18370 (tryshell): Define.
18371 (__spawni): Change last parameter to be flag. Test
18372 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18373 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18374 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18375 * posix/spawni.c: Likewise.
18376 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18377 * posix/spawnp.c: Likewise. Change normal version to use
18378 SPAWN_XFLAGS_USE_PATH.
18379 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18380 SPAWN_XFLAGS_TRY_SHELL.
18381
d48e5868
UD
18382 [BZ #13150]
18383 * posix/glob.h: Remove gcc 1.x support.
18384
554881ef
UD
18385 [BZ #13068]
18386 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18387
693fb948
LD
183882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18389
18390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18391 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18392 strrchr-sse2-bsf
18393 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18394 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18395 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18396 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18397 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18398 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18399
1b48c537
UD
184002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18401
49d42c37
UD
18402 * sysdeps/x86_64/wcscmp.S: New file.
18403
1b48c537
UD
18404 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18405 wcscmp-c wcscmp-sse2
18406 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18407 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18408 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18409 * wcsmbs/wcscmp.c: Allow renaming.
18410
15c95c5d
DM
184112011-09-05 David S. Miller <davem@davemloft.net>
18412
18413 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18414 stack slot, rather than the struct return pointer slot.
18415 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18416 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18418 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18419
2f0ad8f3
UD
184202011-09-05 Ulrich Drepper <drepper@gmail.com>
18421
d88ae418
UD
18422 * po/ja.po: Update from translation team.
18423
2f0ad8f3
UD
18424 [BZ #13144]
18425 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18426 kernel in 64-bit binaries.
18427
5f4318d1
DM
184282011-09-01 David S. Miller <davem@davemloft.net>
18429
18430 * elf/elf.h (HWCAP_SPARC_*): Move to..
18431 * sysdeps/sparc/sysdep.h: this new file and add new values.
18432 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18433 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18434 _DL_HWCAP_COUNT to 24.
18435 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18436 entries.
18437 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18438 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18439 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18441 instead of magic constants.
18442 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18443
3ba57516
DM
184442011-08-31 David S. Miller <davem@davemloft.net>
18445
18446 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18448 Reimplement to do errno handling inline.
18449 (SYSCALL_ERROR_HANDLER): New macro.
18450 (__SYSCALL_STRING): Do not do errno handling in asm.
18451 (__CLONE_SYSCALL_STRING): Delete.
18452 (__INTERNAL_SYSCALL_STRING): Delete.
18453 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18454 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18455 (PSEUDO): Reimplement to do errno handling inline.
18456 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18457 (SYSCALL_ERROR_HANDLER): New macro.
18458 (__SYSCALL_STRING): Do not do errno handling in asm.
18459 (__CLONE_SYSCALL_STRING): Delete.
18460 (__INTERNAL_SYSCALL_STRING): Delete.
18461 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18462 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18463 i386.
18464 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18465 (inline_syscall*): Add 'err' argument.
18466 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18467 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18468 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18469 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18470
18471 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18472 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18473
2bc17433
AS
184742011-08-30 Andreas Schwab <schwab@redhat.com>
18475
18476 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18477
fbeb5f4d
JO
184782011-08-29 Jiri Olsa <jolsa@redhat.com>
18479
18480 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18481 directive.
18482
ad69cc26
DM
184832011-08-24 David S. Miller <davem@davemloft.net>
18484
18485 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18486
39dd69df
AS
184872011-08-24 Andreas Schwab <schwab@redhat.com>
18488
18489 * elf/Makefile: Add rules to build and run unload8 test.
18490 * elf/unload8.c: New file.
18491 * elf/unload8mod1.c: New file.
18492 * elf/unload8mod1x.c: New file.
18493 * elf/unload8mod2.c: New file.
18494 * elf/unload8mod3.c: New file.
18495
18496 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18497 it wasn't used.
18498
2c0b250a
DM
184992011-08-23 David S. Miller <davem@davemloft.net>
18500
18501 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18502 subtract stack bias.
18503 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18504 %sp not %fp in calculations.
18505 (_JMPBUF_UNWINDS_ADJ): Likewise.
18506
22044b48
DM
18507 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18508 (aio_suspend): Call it to force an exception region around the
18509 AIO_MISC_WAIT() invocation.
18510
2cae4995
AS
185112011-08-23 Andreas Schwab <schwab@redhat.com>
18512
18513 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18514 backslash.
18515
873a772e
AJ
185162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18517
18518 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18519 protection macro.
18520 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18521 and <dl-machine.h>.
18522 (Elf64_FuncDesc): Remove.
18523
25ad0df1
DM
185242011-08-22 David S. Miller <davem@davemloft.net>
18525
18526 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18527 sigaltstack check, add missing cfi directives.
18528 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18529 missing cfi directives, and sigaltstack handling.
18530
e888bcbe
AS
185312011-08-16 Andreas Schwab <schwab@redhat.com>
18532
18533 [BZ #11724]
18534 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18535 object is seen twice.
18536 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18537
18538 * elf/Makefile (distribute): Add tst-initorder2.c.
18539 (tests): Add tst-initorder2.
18540 (modules-names): Add tst-initorder2a tst-initorder2b
18541 tst-initorder2c tst-initorder2d. Add rules to build them.
18542 ($(objpfx)tst-initorder2.out): New rule.
18543 * elf/tst-initorder2.c: New file.
18544 * elf/tst-initorder2.exp: New file.
18545
87162f46
AS
185462011-08-22 Andreas Schwab <schwab@redhat.com>
18547
70538b7f
AS
18548 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18549
f55ffe58
AS
18550 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18551 dependencies back to end of function.
18552
87162f46
AS
18553 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18554 $(elfobjdir)/ld.so.
18555
91b392a4
UD
185562011-08-21 Ulrich Drepper <drepper@gmail.com>
18557
18558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18559 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18561 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18562 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18563 of __vdso_gettimeofday.
18564 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18565 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18566 attribute_hidden.
18567 (_libc_vdso_platform_setup): Remove initialization of
18568 __vdso_gettimeofday and __vdso_time.
18569
5c43483f
UD
185702011-08-20 Ulrich Drepper <drepper@gmail.com>
18571
775a77e7
UD
18572 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18573 and fgetc_unlocked.
18574 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18575 getc_unlocked.
89f447ed 18576
49c74ba9
UD
18577 * elf/dl-open.c (add_to_global): Report additions to the global scope
18578 for LD_DEBUG=scopes.
18579 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18580 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18581
5c43483f
UD
18582 [BZ #13114]
18583 * stdio-common/Makefile (tests): Add bug24.
18584 * stdio-common/bug24.c: New file.
18585
a101b025
AJ
185862011-08-19 Andreas Jaeger <aj@suse.de>
18587
18588 [BZ #13114]
18589 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18590 non-existant file when using close-on-exec mode.
18591
c88f1766
UD
185922011-08-20 Ulrich Drepper <drepper@gmail.com>
18593
0276a718
UD
18594 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18595 the very first instruction.
18596
c88f1766
UD
18597 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18598 the CFI state in the end.
18599 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18600 inclusion of dl-trampoline.h.
18601 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18602
51ccffa0
AS
186032011-08-19 Andreas Schwab <schwab@redhat.com>
18604
94d7165f
AS
18605 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18606 expectations for long double.
18607
51ccffa0
AS
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18609 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18610
fd708658 186112011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18612
18613 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18614 artificual limit depends upon the system page size.
18615
44f0a71e
UD
186162011-08-17 Ulrich Drepper <drepper@gmail.com>
18617
18618 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18619 * resolv/Makefile: Define CFLAGS-libresolv.
18620
8de79a24
AS
186212011-08-17 Andreas Schwab <schwab@redhat.com>
18622
18623 * nss/makedb.c (compute_tables): Make variables used in nested
18624 function static.
18625
27724598
UD
186262011-08-17 Ulrich Drepper <drepper@gmail.com>
18627
c5305d88
UD
18628 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18629 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18630 if buffer was too small.
18631
27724598
UD
18632 * elf/pldd.c (main): Attach to all threads in the process.
18633 Rewrite /proc handling to use *at functions.
18634
076fe015
UD
186352011-08-16 Ulrich Drepper <drepper@gmail.com>
18636
174baab3
UD
18637 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18638 specifies first scope to show.
18639 (dl_open_worker): Update callers. Move printing scope of new
18640 object to before the relocation.
44f0a71e 18641 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18642 * sysdeps/generic/ldsodefs.h: Update declaration.
18643
076fe015
UD
18644 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18645 string for the scope number.
18646
a60df2c3
UD
186472011-08-14 Ulrich Drepper <drepper@gmail.com>
18648
18649 * nscd/servicescache.c (cache_addserv): Make sure written is always
18650 initialized.
18651
5e4287d1
RM
186522011-08-14 Roland McGrath <roland@hack.frob.com>
18653
85ae0589
RM
18654 * sysdeps/i386/i486/bits/atomic.h
18655 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18656 statement expression, so as to suppress "set but not used" warning.
18657 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18658
69f63097
RM
18659 * string/strncat.c (STRNCAT): Use prototype definition.
18660
675456ef
RM
18661 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18662 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18663 -Iprograms here.
18664 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18665 (localedef-modules): Add localedef.
18666 (locale-modules): Add locale.
18667
5e4287d1
RM
18668 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18669 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18670 to avoid a warning.
18671
9c96ff23
DM
186722011-08-14 David S. Miller <davem@davemloft.net>
18673
18674 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18675 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18676
f9ddf089
UD
186772011-08-13 Ulrich Drepper <drepper@gmail.com>
18678
44f0a71e 18679 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18680 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18681 * elf/rtld.c (dl_main): Set l_name of vDSO.
18682 Call _dl_show_scope when DL_DEBUG_SCOPES.
18683 (process_dl_debug): Recognize scopes flag and also set it for all.
18684 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18685 Declare _dl_show_scope.
18686
1dc27704
UD
18687 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18688 (do_dlopen): Pass caller_dlopen to dl_open.
18689 (__libc_dlopen_mode): Initialize caller_dlopen.
18690
f9ddf089
UD
18691 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18692 of libc. Make tolower call locale-independent. Optimize a bit by
18693 using isdigit instead of isalnum.
18694 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18695
9ac533d3
UD
186962011-08-12 Ulrich Drepper <drepper@gmail.com>
18697
18698 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18699 was a dependency or dynamically loaded.
18700
89edf2e9
UD
187012011-08-11 Ulrich Drepper <drepper@gmail.com>
18702
8e999d29
UD
18703 * intl/l10nflist.c: Allow architecture-specific pop function.
18704 * sysdeps/x86_64/l10nflist.c: New file.
18705
89edf2e9
UD
18706 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18707 classification.
18708
14d96785
AS
187092011-08-10 Andreas Schwab <schwab@redhat.com>
18710
18711 * include/dirent.h: Add libc_hidden_proto for scandirat and
18712 scandirat64. Don't declare __scandirat64.
18713 * dirent/scandirat.c: Add libc_hidden_def.
18714 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18715 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18716
6761ac04
DM
187172011-08-10 David S. Miller <davem@davemloft.net>
18718
18719 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18720 enum.
18721 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18722 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18723 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18724
c55fbd1e
UD
187252011-08-09 Ulrich Drepper <drepper@gmail.com>
18726
18727 * Versions.def [libc]: Add GLIBC_2.15.
18728 * dirent/Makefile (routines): Add scandirat and scandirat64.
18729 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18730 GLIBC_2.15.
18731 * dirent/dirent.h: Declare scandirat and scandirat64.
18732 * dirent/scandirat.c: New file.
18733 * dirent/scandirat64.c: New file.
18734 * sysdeps/wordsize-64/scandirat.c: New file.
18735 * sysdeps/wordsize-64/scandirat64.c: New file.
18736 * dirent/opendir.c: Define opendirat.
18737 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18738 using scandirat.
18739 * dirent/scandir64.c: Adjust for scandir.c change.
18740 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18741 __scandirat64, and __scandir_cancel_handler.
18742 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18743 additional parameter and use openat instead of open (outside of ld.so).
18744 Add new __opendir as wrapper around __opendirat.
18745 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18746 here without requiring old scandirat implementation.
18747
879165f2
UD
187482011-08-08 Ulrich Drepper <drepper@gmail.com>
18749
18750 * dirent/scandir.c (cancel_handler): Renamed to
18751 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18752 defined. Adjust users.
18753 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18754 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18755
cb7e923b
UD
187562011-08-04 Ulrich Drepper <drepper@gmail.com>
18757
16292edd
UD
18758 * string/test-string.h (IMPL): Use __STRING to expand name and then
18759 stringify it.
18760
cb7e923b
UD
18761 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18762 of cleanups.
18763
cff82933
LD
187642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18765
18766 * string/Makefile: Update.
18767 (strop-tests): Append strncat.
18768 * string/test-wcscmp.c: New file.
18769 New comprehensive test for wcscmp.
18770 * string/test-strcmp.c: Update.
18771 (WIDE): New define.
18772
9be9bfcc
AS
187732011-07-22 Andreas Schwab <schwab@redhat.com>
18774
18775 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18776 line.
18777
2e96f1c7
AS
187782011-07-26 Andreas Schwab <schwab@redhat.com>
18779
18780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18781 encoding to ACE if AI_IDN.
18782
85188888
JJ
187832011-08-01 Jakub Jelinek <jakub@redhat.com>
18784
18785 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18786 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18787
5fa16e9b
LD
187882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18789
18790 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18791 Fix overflow bug in strncat.
18792 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18793
18794 * string/test-strncat.c: Update.
18795 Add new tests for checking overflow bugs.
18796
187972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18798
18799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18800 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18801 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18802 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18803 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18804 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18805 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18806 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18807 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18808
18809 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18810 (USE_AS_STRCAT): Define.
18811 Add strcat and strncat support.
18812 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18813
8c1a459f
AS
188142011-07-25 Andreas Schwab <schwab@redhat.com>
18815
18816 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18817 __n bigger than INT_MAX+1.
18818 (__strncmp_g): Likewise.
18819
bba33c28
UD
188202011-07-23 Ulrich Drepper <drepper@gmail.com>
18821
798be72d
UD
18822 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18823 * libio/stido.h: Likewise.
18824
8accd4dc
UD
18825 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18826 (AF_NFC): Define.
18827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18828 (AF_NFC): Define.
18829
cbff0d96
UD
18830 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18831 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18833 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18835
9191c04a
UD
18836 [BZ #13021]
18837 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18838 installed.
18839
bba33c28
UD
18840 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18841 typo.
18842 (_dl_x86_64_save_sse): Likewise.
18843
90f139dd
UD
188442011-07-22 Ulrich Drepper <drepper@gmail.com>
18845
1aae088a
UD
18846 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18847 OSXSAVE.
18848 (_dl_x86_64_save_sse): Likewise.
18849
8e2045f5
UD
18850 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18851
90f139dd
UD
18852 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18853
1d002f25
AS
188542011-07-21 Andreas Schwab <schwab@redhat.com>
18855
18856 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18857 change.
18858 (_dl_x86_64_save_sse): Use correct AVX check.
18859
21137f89
UD
188602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18861
18862 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18863 bug in strncpy/strncat.
18864 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18865
a65c0b7a
UD
188662011-07-21 Ulrich Drepper <drepper@gmail.com>
18867
18868 * string/tester.c (test_strcat): Add tests for different alignments
18869 of source and destination.
18870 (test_strncat): Likewise.
18871
6986b98a
UD
188722011-07-20 Ulrich Drepper <drepper@gmail.com>
18873
90bb2039
UD
18874 [BZ #12852]
18875 * posix/glob.c (glob): Check passed in values before using them in
18876 expressions to avoid some overflows.
18877 (glob_in_dir): Likewise.
18878
5644ef54
UD
18879 [BZ #13007]
18880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18881 check for AVX enablement so that we don't crash with old kernels and
18882 new hardware.
18883 * elf/tst-audit4.c: Add same checks here.
18884 * elf/tst-audit6.c: Likewise.
18885
18886 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18887
bfc9dc9b
AS
188882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18889
18890 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18891
702e64bb
UD
188922011-07-20 Ulrich Drepper <drepper@gmail.com>
18893
18894 * po/cs.po: Update from translation team.
18895 * po/bg.po: Likewise.
18896
295e904f
MP
188972011-07-12 Marek Polacek <mpolacek@redhat.com>
18898
18899 * misc/sys/cdefs.h: Add support for const attribute.
18900 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18901 to gnu_dev_{major,minor,makedev} functions.
18902
3ff94596
MP
189032011-07-20 Marek Polacek <mpolacek@redhat.com>
18904
18905 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18906
28b59fca
AS
189072011-07-20 Andreas Schwab <schwab@redhat.com>
18908
18909 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18910 strlen results.
18911
19df733e
AK
189122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18913
18914 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18915 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18916 register in order to avoid conflicts with the soft frame pointer
18917 being held in r11 when necessary.
18918 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18919 (INTERNAL_VSYSCALL_NCS): Likewise.
18920
c8835729
MP
189212011-07-14 Marek Polacek <mpolacek@redhat.com>
18922
18923 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18924 * elf/dl-fini.c (_dl_fini): Adjust caller.
18925 * elf/dl-close.c (_dl_close_worker): Likewise.
18926 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18927
b902330c
MP
189282011-07-15 Marek Polacek <mpolacek@redhat.com>
18929
8991e135
MP
18930 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18931 "aux_cache->nlibs < 0".
18932
b902330c
MP
18933 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18934 in the reload-count case.
18935
99710781
LD
189362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18937
18938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18939 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18940 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18941 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18942 * sysdeps/x86_64/multiarch/strcat.S: New file.
18943 * sysdeps/x86_64/multiarch/strncat.S: New file.
18944 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18945 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18946 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18947 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18948 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18949 (USE_AS_STRCAT): Define.
18950 Add strcat and strncat support.
18951 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18952 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18953 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18954 * string/strncat.c: Update.
18955 (USE_AS_STRNCAT): Define.
18956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18957 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18958 and i7.
18959 * sysdeps/x86_64/multiarch/init-arch.h
18960 (bit_Prefer_PMINUB_for_stringop): New.
18961 (index_Prefer_PMINUB_for_stringop): Likewise.
18962 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18963 bit_Prefer_PMINUB_for_stringop.
18964
7dc6bd90
UD
189652011-07-19 Ulrich Drepper <drepper@gmail.com>
18966
18967 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18968 buffer64.
18969 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18970 of casting of buffer.
18971 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18972 buffer32 and buffer64.
18973 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18974 writes instead of casting of buffer.
18975 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18976 buffer32.
18977 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18978 casting of buffer.
18979
e0e72284
AS
189802011-07-19 Andreas Schwab <schwab@redhat.com>
18981
18982 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18983
feb1eb0b
UD
189842011-07-19 Ulrich Drepper <drepper@gmail.com>
18985
18986 * nscd/nscd.c (termination_handler): Don't do anything for a database
18987 if it has not yet been initialized.
18988
298711ff
UD
189892011-07-18 Ulrich Drepper <drepper@gmail.com>
18990
18991 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18992
189932011-07-15 Marek Polacek <mpolacek@redhat.com>
18994
18995 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18996
f9d68389
UD
189972011-07-18 Ulrich Drepper <drepper@gmail.com>
18998
18999 * po/nl.po: Update from translation team.
19000 * po/sv.po: Likewise.
19001
db290cf5
RM
190022011-07-16 Roland McGrath <roland@hack.frob.com>
19003
19004 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19005 now disallowed by GCC.
5c550700 19006
fd5e21c7
RM
19007 * configure.in (use-default-link): Default to yes if a test -shared
19008 link meets our qualifications.
19009 * configure: Regenerated.
19010
5c550700
RM
19011 * config.make.in (output-format): New variable.
19012 * configure.in: Check for ld --print-output-format support.
19013 * configure: Regenerated.
19014 * Makerules ($(common-objpfx)format.lds)
19015 [$(output-format) != unknown]: Just use $(output-format),
19016 instead of the linker-script munging.
19017
9fa2c032
RM
190182011-07-14 Roland McGrath <roland@hack.frob.com>
19019
a6928d51
RM
19020 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19021 of $(common-objpfx)shlib.lds.
19022 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19023
661607b3
RM
19024 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19025 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19026
9fa2c032
RM
19027 * configure.in (-z relro check): Adjust test code to add a large
19028 writable data section after it.
19029 * configure: Regenerated.
19030
defe9061
RM
190312011-07-11 Roland McGrath <roland@hack.frob.com>
19032
19033 * configure.in (-z relro check): Fix test code to make the variable
19034 truly const.
19035 * configure: Regenerated.
19036
319b9ad4
UD
190372011-07-11 Ulrich Drepper <drepper@gmail.com>
19038
19039 * nscd/nscd.h (struct traced_file): Define.
19040 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19041 elements. Add traced_files.
19042 (inotify_fd): Declare.
19043 (register_traced_file): Declare.
19044 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19045 (inotify_fd): Export.
19046 (resolv_conf_descr): Remove.
19047 (nscd_init): Move inotify descriptor creation to main.
19048 Don't register files for notification here.
19049 (register_traced_file): New function.
19050 (invalidate_cache): Don't use reset_res to determine whether to call
19051 res_init, go through the list of registered files.
19052 (main_loop_poll): The inotify descriptors are now stored in the
19053 structures for the traced files.
19054 (main_loop_epoll): Likewise
19055 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19056 to __nss_disable_nscd.
19057 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19058 for a database anymore. Check the records for all the registered
19059 files instead.
19060 * nss/Makefile (libnss_files-routines): Add files-init.
19061 (libnss_db-routines): Add db-init.
19062 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19063 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19064 * nss/nss_db/db-init.c: New file.
19065 * nss/nss_files/files-init.c: New file.
19066 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19067 __nss_lookup_function.
19068 (__nss_lookup_function): Call nss_load_library.
19069 (nss_load_all_libraries): New function.
19070 (__nss_disable_nscd): Take parameter with callback function for files
19071 to register. Set is_nscd. Load all the DSOs for the NSS modules
19072 used for the cached services.
19073 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19074 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19075 options for features to all the files in nscd.
19076
19077 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19078
23bee3e8
RM
190792011-07-10 Roland McGrath <roland@hack.frob.com>
19080
19081 * csu/elf-init.c (__libc_csu_init): Comment typo.
19082
46a5b7f0
UD
190832011-07-09 Ulrich Drepper <drepper@gmail.com>
19084
19085 * po/pl.po: Update from translation team.
19086 * po/ja.po: Likewise.
19087 * po/ru.po: Likewise.
19088 * po/ko.po: Likewise.
19089 * po/fr.po: Likewise.
19090
d30cf5bb
RM
190912011-07-09 Roland McGrath <roland@hack.frob.com>
19092
113ddea4
RM
19093 * configure.in (.ctors/.dtors header and trailer check):
19094 Use an empirical test on a built program.
19095 * configure: Regenerated.
19096
574920b4
RM
19097 * configure.in (-z relro check): Use an empirical test on a built DSO.
19098 Detect, but do not require, on ia64.
19099 * configure: Regenerated.
19100
d30cf5bb
RM
19101 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19102 Update tests that use readelf to use $READELF instead.
19103 * configure: Regenerated.
19104
8538fdb3
UD
191052011-07-08 Ulrich Drepper <drepper@gmail.com>
19106
19107 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19108 if the result is not used.
19109
04d08991
AJ
191102011-07-05 Andreas Jaeger <aj@suse.de>
19111
19112 [BZ#9696]
19113 * stdlib/tst-strtod.c: Add testcase.
19114
de283087
AD
191152011-07-07 Ulrich Drepper <drepper@gmail.com>
19116
4e5f31c8 19117 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19118 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19119 The latter has a higher limit. Take additional parameter to pass to
19120 the new function.
19121 (__pathconf): Pass file to __statfs_link_max.
19122 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19123 __statfs_link_max.
19124 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19125 __statfs_link_max.
19126
de283087
AD
19127 [BZ #12868]
19128 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19130 Handle Lustre.
19131 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19132 (__statfs_filesize_max): Likewise.
19133 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19134
c75fa153
AJ
191352011-07-05 Andreas Jaeger <aj@suse.de>
19136
19137 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19138
1a544854
UD
191392011-07-06 Marek Polacek <mpolacek@redhat.com>
19140
19141 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19142 `status' variable.
19143 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19144 Likewise.
19145
6f0eec67
UD
191462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19147
19148 * Makefile (strop-tests): Add strncat.
19149 * string/test-strncat.c: New file.
19150
aae30307
UD
191512011-06-30 Marek Polacek <mpolacek@redhat.com>
19152
19153 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19154
c0cfb5eb
UD
191552011-06-21 Andreas Jaeger <aj@suse.de>
19156
19157 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19158 Copy rule from iconvdata/Makefile.
19159
01636b21
UD
191602011-07-06 Ulrich Drepper <drepper@gmail.com>
19161
19162 [BZ #12922]
19163 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19164 but no long options are defined, just return 'W'.
19165
9895c8bc
UD
191662011-06-22 Marek Polacek <mpolacek@redhat.com>
19167
19168 [BZ #9696]
19169 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19170
5d4cf042
UD
191712011-07-06 Ulrich Drepper <drepper@gmail.com>
19172
19173 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19174 netgroups to read.
960e5535 19175 (innetgr): Likewise.
5d4cf042 19176
751eb97e
RM
191772011-07-05 Roland McGrath <roland@hack.frob.com>
19178
19179 * config.make.in (install_root): Default to $(DESTDIR).
19180
f15f1e45
UD
191812011-07-05 Ulrich Drepper <drepper@gmail.com>
19182
19183 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19184
4e34ac6a
RM
191852011-07-02 Roland McGrath <roland@hack.frob.com>
19186
5e9b6af4
RM
19187 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19188
84f9ea0f
RM
19189 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19190 containing directory rather than embedding absolute directory names.
19191
ea5ee9f7
RM
19192 * scripts/check-local-headers.sh: Rewritten using awk.
19193 Match by word, not by line. Print error messages for matches.
19194 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19195
1b74661a
RM
19196 * Makerules [shlib-lds-flags empty]:
19197 ($(common-objpfx)libc_pic.opts): New target.
19198 ($(common-objpfx)libc_pic.os.clean): New target.
19199 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19200
19201 * config.make.in (OBJCOPY): New variable.
19202 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19203 * configure: Regenerated.
19204
f781ef40
RM
19205 * config.make.in (use-default-link): New variable.
19206 * configure.in (use_default_link): Grok --with-default-link to set it.
19207 * configure: Regenerated.
19208 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19209 (shlib-lds, shlib-lds-flags): Define to empty.
19210
2d4fa81e
RM
19211 * Makerules (shlib-lds): New variable.
19212 (shlib-lds-flags): New variable.
19213 (build-shlib, build-moduile, build-module-asneeded): Use it.
19214 ($(common-objpfx)libc.so): Use $(shlib-lds).
19215 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19216 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19217
31fffa6b
RM
19218 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19219 DT_FLAGS/DT_FLAGS_1 with zero flags.
19220
4e34ac6a
RM
19221 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19222 linker script munging.
19223
fcfc776b
UD
192242011-07-02 Ulrich Drepper <drepper@gmail.com>
19225
19226 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19227 as 128-bit value.
19228 * crypt/sha512.c (sha512_process_block): Perform total addition using
19229 128-bit if possible.
19230 (__sha512_finish_ctx): Likewise.
19231 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19232 as 64-bit value.
19233 * crypt/sha256.c (SWAP64): Define.
19234 (sha256_process_block): Perform total addition using 64-bit if
19235 possible.
19236 (__sha256_finish_ctx): Likewise.
19237
99231d9a
UD
192382011-07-01 Ulrich Drepper <drepper@gmail.com>
19239
19240 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19241 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19242 * nscd/hstcache.c (cache_addhst): Likewise.
19243 * nscd/grpcache.c (cache_addgr): Likewise.
19244 * nscd/aicache.c (addhstaiX): Likewise
19245 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19246
445b4a53
TK
192472011-07-01 Thorsten Kukuk <kukuk@suse.de>
19248
19249 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19251 * nscd/hstcache.c (cache_addhst): Likewise.
19252 * nscd/grpcache.c (cache_addgr): Likewise.
19253 * nscd/aicache.c (addhstaiX): Likewise
19254
6d4d8e8e
AS
192552011-07-01 Andreas Schwab <schwab@redhat.com>
19256
19257 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19258 domain only when needed.
19259
89f654c5
AS
192602011-06-30 Andreas Schwab <schwab@redhat.com>
19261
19262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19263 is always restored.
19264
cf3b23ff
UD
192652011-06-29 Ulrich Drepper <drepper@gmail.com>
19266
19267 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19268 are re-adding the entry.
19269 * nscd/servicescache.c (cache_addserv): Likewise.
19270
751626f9
AJ
192712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19272
19273 * sysdeps/generic/dl-irel.h: fix protection against multiple
19274 inclusions.
19275 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19276
9113ea1f
UD
192772011-06-28 Ulrich Drepper <drepper@gmail.com>
19278
5c0b8d90
UD
19279 [BZ #12935]
19280 * malloc/memusage.sh: Fix quoting in message.
19281 * debug/xtrace.sh: Likewise.
19282
9113ea1f
UD
19283 * configure.in: Remove support for --experimental-malloc option, make
19284 it the default.
19285 * config.make.in: Likewise.
19286 * malloc/Makefile: Likewise.
19287
a4172181
AS
192882011-06-27 Andreas Schwab <schwab@redhat.com>
19289
19290 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19291 two-byte characters.
19292
78a7eee7
RM
192932011-06-27 Roland McGrath <roland@hack.frob.com>
19294
62bede13
RM
19295 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19296 AC_CACHE_CHECK invocation.
19297 * configure: Regenerated.
19298
78a7eee7
RM
19299 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19300
5ce33a62
UD
193012011-06-27 Ulrich Drepper <drepper@gmail.com>
19302
034807a9
UD
19303 [BZ #12350]
19304 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19305 bit from old_res_options.
19306
4902da17
UD
19307 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19308
5ce33a62
UD
19309 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19310 value type for setfct.
19311
c2344f56
L
193122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19313
19314 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19315 __gettimeofday instead of gettimeofday.
19316
68468076
UD
193172011-06-26 Ulrich Drepper <drepper@gmail.com>
19318
19319 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19320
acb0d739
L
193212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19322
19323 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19324
19325 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19326 info.
19327
8912479f
L
193282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19329
19330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19331 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19332 strcpy-sse2-unaligned strncpy-sse2-unaligned
19333 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19334 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19335 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19336 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19337 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19338 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19339 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19340 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19341 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19342 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19343 (STRCPY): Support SSE2 and SSSE3 versions.
19344
d5495a11
UD
193452011-06-24 Ulrich Drepper <drepper@gmail.com>
19346
19347 [BZ #12874]
19348 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19349 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19350 kernels which artificially limit size of requests.
19351
0b1cbaae
L
193522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19353
19354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19355 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19356 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19357 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19358 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19359 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19360 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19361 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19362 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19363 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19364 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19365 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19366 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19367 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19368 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19370 Enable unaligned load optimization for Intel Core i3, i5 and i7
19371 processors.
19372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19373 Define.
19374 (index_Fast_Unaligned_Load): Define.
19375 (HAS_FAST_UNALIGNED_LOAD): Define.
19376
07f494a0
MP
193772011-06-23 Marek Polacek <mpolacek@redhat.com>
19378
19379 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19380
fa3fc0fe
UD
193812011-06-22 Ulrich Drepper <drepper@gmail.com>
19382
19383 [BZ #12907]
19384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19385 until it is clear that the information is realy needed.
19386 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19387
e12df166
AS
193882011-06-22 Andreas Schwab <schwab@redhat.com>
19389
19390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19391
852eb34d
UD
193922011-06-22 Ulrich Drepper <drepper@gmail.com>
19393
84e2a551
UD
19394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19395 /sys/devices/system/cpu/online if it is usable.
19396
852eb34d
UD
19397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19398 reading the information from the /proc filesystem to once a second.
19399
6e502e19
UD
194002011-06-21 Andreas Jaeger <aj@suse.de>
19401
19402 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19403 NULL after inclusion of kernel headers.
19404
75d39ff2
UD
194052011-06-21 Ulrich Drepper <drepper@gmail.com>
19406
51f9aa6a
UD
19407 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19408 calls to internal_setent.
19409
c0244a9d
UD
19410 [BZ #12885]
19411 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19412 addresses using gethostbyname4_r ignore IPv4 addresses.
19413
c5e3c2ae
UD
19414 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19415 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19416
75d39ff2
UD
19417 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19418
42675c6f
DM
194192011-06-20 David S. Miller <davem@davemloft.net>
19420
19421 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19422 inclusions.
19423 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19424
19425 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19426 (elf_irel): Use it.
19427 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19428 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19429 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19430 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19431 * sysdeps/x86_64/dl-irel.h: Likewise.
19432
19433 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19434 * elf/dl-sym.c: Likewise.
19435
57912a71
UD
194362011-06-15 Ulrich Drepper <drepper@gmail.com>
19437
19438 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19439 need to dereference resplen2.
19440
ee22793d
AS
194412011-06-14 Andreas Schwab <schwab@redhat.com>
19442
19443 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19444
a9e836b0
UD
194452011-06-15 Ulrich Drepper <drepper@gmail.com>
19446
77fb9117
UD
19447 * Makeconfig: Define vardbdir and inst_vardbdir.
19448 * nss/Makefile: Add rules to install db-Makefile.
19449
40c1b22c
UD
19450 * nss/nss_db/db-XXX.c: Cleanup.
19451
9f2da732
UD
19452 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19453 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19454 GLIBC_PRIVATE.
19455 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19456 * nss/makedb.c: Implement -g option to specify that value strings
19457 are generated and should not be added to table iterated over for
19458 get*ent calls.
19459 * nss/nss_db/db-initgroups.c: New file.
19460
82e9a1f7
UD
19461 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19462 interface.
19463
c41af17e
UD
19464 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19465 (internal_getgrouplist): Adjust to name change.
19466 Update use_initgroups_entry if this is not the first call.
19467 * nss/databases.def: Add initgroups entry.
19468
a9e836b0
UD
19469 * nss/makedb.c (compute_tables): Check result of multiple hash table
19470 sizes to minimize maximum chain length.
19471
2666d441
UD
194722011-06-14 Ulrich Drepper <drepper@gmail.com>
19473
19474 * Versions.def: Add entry for libnss_db.
19475 * shlib-versions: Likewise.
19476 * nss/Makefile: Add rules to build libnss_db.
19477 * nss/Versions: Add libnss_db information. Organize libnss_files
19478 entries better.
19479 * nss/db-Makefile: Add gshadow support. Change rules for the new
19480 makedb progra. Some minor improvements to generate smaller files.
19481 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19482 here from...
19483 * nss/makedb.c: ...here.
19484 Improve database format to be smaller and require less memory at
19485 runtime.
19486 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19487 db anymore.
19488 * nss/nss_db/db-netgrp.c: Likewise.
19489 * nss/nss_db/db-open.c: Likewise.
19490 * nss/nss_files/flies-XXX.x: Adjust comments.
19491 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19492 * nss/nss_files/files-grp.c: Likewise.
19493 * nss/nss_files/files-hosts.c: Likewise.
19494 * nss/nss_files/files-network.c: Likewise.
19495 * nss/nss_files/files-proto.c: Likewise.
19496 * nss/nss_files/files-pwd.c: Likewise.
19497 * nss/nss_files/files-rpc.c: Likewise.
19498 * nss/nss_files/files-service.c: Likewise.
19499 * nss/nss_files/files-sgrp.c: Likewise.
19500 * nss/nss_files/files-spwd.c: Likewise.
19501 * nss/nss_db/db-alias.c: Removed.
19502 * nss/nss_db/dummy-db.h: Removed.
19503
9ee76b5a
UD
195042011-06-02 Ulrich Drepper <drepper@gmail.com>
19505
19506 * nss/makedb.c: Rewritten to not use database library.
19507 * nss/Makefile: Update to build new makedb program.
19508
c71ca1f8
AJ
195092011-06-14 Andreas Jaeger <aj@suse.de>
19510
19511 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19512 memset declaration.
19513
3154bfb8
UD
195142011-06-10 Andreas Schwab <schwab@redhat.com>
19515
19516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19517 tmpbuf.
19518
b350afab
RM
195192011-06-10 Roland McGrath <roland@hack.frob.com>
19520
decd4e50
RM
19521 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19522 * elf/Makefile ($(objpfx)ld.so): Likewise.
19523
5615eaf2
RM
19524 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19525 Don't list ld.so twice in dependencies.
19526
19527 * posix/bug-regex31.c: Include <stdlib.h>.
19528
19529 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19530
19531 * nis/nss_compat/compat-spwd.c
19532 (getspent_next_nss_netgr): Remove unused variable.
19533 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19534
19535 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19536 nonmembers" output to use the right array.
19537
19538 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19539
19540 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19541
19542 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19543 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19544 * catgets/gencat.c (read_input_file): Likewise.
19545 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19546
19547 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19548 variable definition inside #if's controlling its use.
19549
19550 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19551
19552 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19553
19554 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19555
19556 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19557 unreachable code.
19558
19559 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19560
b68e08db
RM
19561 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19562 * configure: Regenerated.
19563
b350afab
RM
19564 * Makerules: Revert last change.
19565 * elf/Makefile: Likewise.
19566
28368601
RM
195672011-06-09 Roland McGrath <roland@hack.frob.com>
19568
19569 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19570 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19571 (reloc-link): Likewise.
19572
11988f8f
UD
195732011-06-09 Ulrich Drepper <drepper@gmail.com>
19574
19575 * elf/Makefile: Add rules to build pldd.
19576 * elf/pldd.c: New file.
19577 * elf/pldd-xx.c: New file.
19578
e80fab37
UD
195792011-06-07 Ulrich Drepper <drepper@gmail.com>
19580
19581 * version.h: Update for 2.15 development version.
19582
9b849836
DM
195832011-06-07 David S. Miller <davem@davemloft.net>
19584
19585 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19586 ifuncs.
19587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19588 elf_machine_lazy_rel): Likewise.
19589 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19591 elf_machine_lazy_rel): Likewise.
19592 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19593 dl_hwcap via passed in argument.
19594 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19595 Likewise.
19596
5a31b283
AK
195972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19598
19599 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19600
069e52f8
RM
196012011-06-06 Roland McGrath <roland@hack.frob.com>
19602
19603 [BZ #12849]
19604 * manual/fdl-1.1.texi: New file, verbatim from:
19605 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19606 * manual/lgpl-2.1.texi: New file, verbatim from:
19607 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19608 * manual/Makefile (licenses): New variable, list those new file names.
19609 (texis): Use it.
19610 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19611
19612 * manual/fdl.texi: File removed.
19613 * manual/lesser.texi: File removed.
19614 * manual/libc.texinfo (Copying, Documentation License):
19615 Use new @include file names, put @appendix directive before @include.
19616
f16846a5
JJ
196172011-06-04 Jakub Jelinek <jakub@redhat.com>
19618
19619 [BZ #12841]
19620 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19621 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19622 (mq_open): Add __NTH.
19623
3d29045b
L
196242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19625
19626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19627 Assume Intel Core i3/i5/i7 processor if AVX is available.
19628
8c297311
UD
196292011-05-31 Ulrich Drepper <drepper@gmail.com>
19630
19631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19632 typo.
19633
c8fc0c91
UD
196342011-05-31 Andreas Schwab <schwab@redhat.com>
19635
19636 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19637 memory. Use alloca_account. Fix memory leak when retrying.
19638
5b27a807
UD
196392011-05-31 Ulrich Drepper <drepper@gmail.com>
19640
356f8bc6
UD
19641 * version.h (RELEASE): Bump for 2.14 release.
19642 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19643
5b27a807
UD
19644 * config.make.in (RANLIB): Remove entry.
19645
01f16ab0
UD
196462011-05-30 Ulrich Drepper <drepper@gmail.com>
19647
41fce8bd
UD
19648 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19649 (libc.pot): Work around missing support for .ksh extension in xgettext.
19650
4769ae77
UD
19651 [BZ #12684]
19652 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19653 if both request failed.
19654 (send_dg): In case of server errors clear resplen or *resplen2.
19655
6b1e7d19
UD
19656 [BZ #12454]
19657 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19658 when there are multiple maps.
19659 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19660 (_dl_fini): Remove test here.
19661
01f16ab0
UD
19662 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19663
b1ebd700
UD
196642011-05-29 Ulrich Drepper <drepper@gmail.com>
19665
7ae22829
UD
19666 [BZ #12350]
19667 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19668 bit from old_res_options.
19669 (gaih_inet): Likewise.
19670
553149f6 19671 [BZ #11099]
18a84741 19672 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19673 as signed.
19674
652ffab1
UD
19675 * resolv/res_init.c (res_setoptions): Make the code more compact.
19676
16985fd0
UD
19677 [BZ #11558]
19678 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19679 set RES_USEVC.
19680
0464f746
UD
19681 [BZ #11634]
19682 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19683
7d17596c
UD
19684 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19685
cf6bbbd7
UD
19686 [BZ #11781]
19687 * malloc/malloc.h: Declare malloc hook variables as volatile.
19688
13f1ab36
UD
19689 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19690 in last patch.
19691
b1ebd700
UD
19692 [BZ #11799]
19693 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19694 raise in the comment.
80e2212d
UD
19695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19697 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19698
ce67228d
UD
196992011-05-28 Ulrich Drepper <drepper@gmail.com>
19700
8887a920
UD
19701 [BZ #12811]
19702 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19703 grow the buffers more if it already has to be sufficient.
19704 (build_wcs_upper_buffer): Likewise.
19705 * posix/regexec.c (check_matching): Likewise.
19706 (clean_state_log_if_needed): Likewise.
19707 (extend_buffers): Don't enlarge buffers beyond size of the input
19708 buffer.
19709 Patches mostly by Emil Wojak <emil@wojak.eu>.
19710 * posix/bug-regex32.c: New file.
19711 * posix/Makefile (tests): Add bug-regex32.
19712
4f031072
UD
19713 * locale/findlocale.c (_nl_find_locale): Return right away if
19714 _nl_explode_name failed.
19715 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19716
d0478f0c
UD
19717 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19718
de81b246
UD
19719 * debug/xtrace.sh: Unify messages.
19720 * malloc/memusage.sh: Likewise.
19721
c738465a
UD
19722 [BZ #12813]
19723 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19724 time symbol from vDSO. Substitute with vsyscall if not available.
19725 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19726 __vdso_time.
19727
f1f929d7
UD
19728 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19729 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19730 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19731 Add sendmmsg and internal_sendmmsg.
19732 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19733 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19734 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19735
ce67228d
UD
19736 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19737 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19738 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19739
e57420c6
UD
197402011-05-27 Ulrich Drepper <drepper@gmail.com>
19741
a8509ca5
UD
19742 [BZ #12813]
19743 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19744 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19745 available.
19746 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19747 __vdso_getcpu.
19748
e57420c6
UD
19749 [BZ #12814]
19750 * iconvdata/Makefile (tests): Add bug-iconv9.
19751 * iconvdata/bug-iconv9.c: New file.
19752
4d07db15
AS
197532011-05-27 Andreas Schwab <schwab@redhat.com>
19754
19755 [BZ #12814]
19756 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19757
ea486f69
JJ
197582011-05-25 Jakub Jelinek <jakub@redhat.com>
19759
19760 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19761 (struct user_regs_struct): Change intcs field back to cs.
19762
6f038433
UD
197632011-05-25 Ulrich Drepper <drepper@gmail.com>
19764
19765 * po/ja.po: Update from translation team.
19766
67f86a25
UD
197672011-05-23 Ulrich Drepper <drepper@gmail.com>
19768
19769 [BZ #12795]
19770 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19771 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19772
def7fbd6
AS
197732011-05-20 Andreas Schwab <schwab@redhat.com>
19774
19775 * stdlib/longlong.h: Update from GCC.
19776
f50ef8f1
AS
197772011-05-23 Andreas Schwab <schwab@redhat.com>
19778
19779 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19780 parameter name.
19781 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19782 Add parameter name.
19783 (__sysconf): Pass it down.
19784
de7ce8f1
UD
197852011-05-22 Ulrich Drepper <drepper@gmail.com>
19786
f2962a71
UD
19787 [BZ #12671]
19788 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19789 some situations.
19790 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19791 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19792 add in in __libc_use_alloca calls. Adjust callers.
19793 (glob): Use malloc in some situations.
19794
de7ce8f1
UD
19795 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19796 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19797 pltexit.
19798
aec84f53
UD
197992011-05-21 Ulrich Drepper <drepper@gmail.com>
19800
05bb4a68
UD
19801 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19802 and CLOCK_BOOTTIME_ALARM.
19803
7ea72f99
UD
19804 [BZ #12782]
19805 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19806 is returned.
19807
7e4afad5
UD
19808 * string/_strerror.c (__strerror_r): Print negative errors as signed
19809 numbers.
19810
8e211fec
UD
19811 [BZ #12777]
19812 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19813 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19814 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19815
f7d82dc9
UD
19816 * configure.in: Fix typo in redirection and correct removal of test
19817 files in two cases.
19818
cc9e536d
UD
19819 [BZ #12788]
19820 * locale/setlocale.c (new_composite_name): Fix test to check for
19821 identical name of all categories.
19822
aec84f53
UD
19823 [BZ #12792]
19824 * libio/filedoalloc.c (local_isatty): New function.
19825 (_IO_file_doallocate): Use local_isatty.
19826 * stdio-common/perror.c (perror): In case a new stream is used
19827 forward the stream error.
19828 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19829 error flag.
19830
78e64fdc
RT
198312011-05-20 Ulrich Drepper <drepper@gmail.com>
19832
34a9094f
UD
19833 [BZ #11869]
19834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19835 alloca.
19836 * include/alloca.h (extend_alloca_account): Define.
19837
78e64fdc
RT
19838 [BZ #11857]
19839 * posix/regex.h: Fix comments with documentation of user-accessible
19840 fields after compilation and describe correct free'ing of pattern
19841 after re_compile_pattern.
19842 Patch by Reuben Thomas <rrt@sc3d.org>.
19843
457bddfc
RA
198442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19845
19846 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19847 and -mno-altivec to prevent the compiler from using Altivec and/or
19848 VSX instructions when the corresponding registers are not available.
19849
a4527b51
AS
198502011-05-19 Andreas Schwab <schwab@redhat.com>
19851
19852 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19853
ed690b2f
UD
198542011-05-19 Ulrich Drepper <drepper@gmail.com>
19855
19856 * libio/freopen.c (freopen): Use __dup2, not dup2.
19857 * libio/freopen64.c (freopen64): Likewise.
19858
8db73634
L
198592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19860
19861 [BZ #12775]
19862 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19863 * math/Makefile (tests): Add test-powl.
19864 (CFLAGS-test-powl.c): Define.
19865 * math/test-powl.c: New file.
19866
0a197a9d
L
198672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19868
19869 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19870
ee30c380
UD
198712011-05-17 Ulrich Drepper <drepper@gmail.com>
19872
19873 [BZ #11837]
19874 * iconvdata/gb18030.c: Update to GB18020-2005.
19875
6ce75379
UD
198762011-05-16 Ulrich Drepper <drepper@gmail.com>
19877
a4b89fd8
AR
19878 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19879 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19880 Patch by Aharon Robbins <arnold@skeeve.com>.
19881
ea389b12
UD
19882 [BZ #11892]
19883 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19884 on the stack.
19885
68a3f91f
UD
19886 [BZ #11895]
19887 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19888 through underflows.
19889
15cc7dd1
UD
19890 [BZ #12766]
19891 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19892 point to strings before performing equality test for error_one_per_line
19893 mode.
19894
f3799213
UD
19895 [BZ #11697]
19896 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19897
d79a9c94
UD
19898 [BZ #11820]
19899 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19900 (struct user_fpregs_struct): Avoid __uint*_t types.
19901
56e5eb46
UD
19902 [BZ #6420]
19903 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19904 symbol info. Use it instead of calling _dl_addr locally.
19905 (lock_and_info): New function.
19906 (tr_freehook): Call lock_and_info and pass symbol info as additional
19907 parameter to tr_where.
19908 (tr_mallochook): Likewise.
19909 (tr_reallochook): Likewise.
19910 (tr_memalignhook): Likewise.
19911
6ce75379
UD
19912 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19913 used and couldn't be at all thread-safe.
19914
f8a3b5bf
UD
199152011-05-15 Ulrich Drepper <drepper@gmail.com>
19916
94b7cc37
UD
19917 * libio/freopen.c (freopen): Don't close old file descriptor
19918 before the new one is opened. Instead dup the new file descriptor
19919 to the old one after the new stream is created.
19920 * libio/freopen64.c (freopen64): Likewise.
19921 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19922 * libio/fileops.c (_IO_new_file_close_it): Handle new
19923 _IO_FLAGS2_NOCLOSE flag.
19924 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19925 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19926 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19927 _IO_FLAGS2_NOCLOSE flag.
19928 * include/unistd.h: Add hidden_proto for dup3.
19929 Define __have_dup3.
19930 * io/dup3.c: Define hidden symbol.
19931 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19932
bd25564e
UD
19933 [BZ #7101]
19934 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19935 when an incomplete long option is used.
19936 * posix/tst-getopt_long1.c: New file.
19937 * posix/Makefile (tests): Add tst-getopt_long1.
19938
c84cfef4
UD
19939 [BZ #10138]
19940 * scripts/config.guess: Update from autoconf-2.68.
19941 * scripts/config.sub: Likewise.
19942
3b85df27
UD
19943 [BZ #10157]
19944 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19945 tests into ...
19946 (has_cpuclock): ...this. New function.
19947 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19948 macro here based on has_cpuclock code.
19949
15a856b1
UD
19950 [BZ #10149]
19951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19952 First byte (not low byte) is now always NUL.
19953 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19954
05f399e6
UD
19955 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19956 Use non-cancelable interfaces.
19957
10a52685 19958 [BZ #9809]
94ecc67d
UD
19959 * locale/iso-639.def: Add entry for Sorani.
19960
f8a3b5bf
UD
19961 [BZ #11901]
19962 * include/stdlib.h: Move include protection to the right place.
19963 Define abort_msg_s. Declare __abort_msg with it.
19964 * stdlib/abort.c (__abort_msg): Adjust type.
19965 * assert/assert.c (__assert_fail_base): New function. Majority
19966 of code from __assert_fail. Allocate memory for __abort_msg with
19967 mmap.
19968 (__assert_fail): Now call __assert_fail_base.
19969 * assert/assert-perr.c: Remove bulk of implementation. Use
19970 __assert_fail_base.
19971 * include/assert.hL Declare __assert_fail_base.
19972 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19973 mmap.
19974 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19975
1af4e298
UD
199762011-05-14 Ulrich Drepper <drepper@gmail.com>
19977
f8a3b5bf 19978 [BZ #11952]
d26dfc60
MG
19979 [BZ #12453]
19980 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19981 until all modules are registered in the DTV.
19982 * elf/Makefile: Add rules to build and run tst-tls19.
19983 * elf/tst-tls19.c: New file.
19984 * elf/tst-tls19mod1.c: New file.
19985 * elf/tst-tls19mod2.c: New file.
19986 * elf/tst-tls19mod3.c: New file.
19987 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19988
2fc54d6f
UD
19989 [BZ #12083]
19990 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19991 correctly.
19992
98d76b46
UD
19993 [BZ #12601]
19994 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19995 two-byte sequence errors.
19996 * iconvdata/Makefile (tests): Add bug-iconv8.
19997 * iconvdata/bug-iconv8.c: New file.
19998
da3c19ef
UD
19999 [BZ #12626]
20000 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20001 buf2 definition.
20002
ca408c15
UD
20003 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20004
d6f67f7d
UD
20005 [BZ #12432]
20006 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20007 (dummy_getcfa): New function.
20008 (init): Get _Unwind_GetCFA address, use dummy if not found.
20009 (backtrace_helper): In recursion check, also check whether CFA changes.
20010 (__backtrace): Completely initialize arg.
20011
1af4e298 20012 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20013 storing incomplete byte sequence in state object. Avoid testing for
20014 guaranteed too small input if we know there is enough data available.
1af4e298 20015
da62f81b
AS
200162011-05-11 Andreas Schwab <schwab@redhat.com>
20017
20018 * Makeconfig (+link-pie): Indent.
20019 * Rules (binaries-pie): Define if $(have-fpie) and
20020 $(build-shared).
20021 (binaries-shared): Also filter out $(binaries-pie).
20022 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20023 * nscd/Makefile (others-pie): Add nscd.
20024 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20025 ($(objpfx)nscd): Remove command override.
20026 * login/Makefile (others-pie): Add pt_chown.
20027 ($(objpfx)pt_chown): Remove command override.
20028 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20029 remove command overrides.
20030
fcabc0f8
UD
200312011-05-13 Ulrich Drepper <drepper@gmail.com>
20032
20030ae6
UD
20033 * libio/tst_putwc.c: Fix error messages.
20034
fcabc0f8
UD
20035 [BZ #12724]
20036 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20037 currently writing and seek to current position when not.
20038 * libio/Makefile (tests): Add bug-fclose1.
20039 * libio/bug-fclose1.c: New file.
20040
320a5dc0
PB
200412011-05-12 Ulrich Drepper <drepper@gmail.com>
20042
20043 [BZ #12511]
20044 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20045 don't set DF_1_NODELETE here.
20046 (do_lookup_x): When entering new entry test for copy relocation
20047 and if necessary set DF_1_NODELETE flag.
20048 * elf/tst-unique4.cc: New file.
20049 * elf/tst-unique4.h: New file.
20050 * elf/tst-unique4lib.cc: New file.
20051 * elf/Makefile: Add rules to build and run tst-unique4.
20052 Patch by Piotr Bury <pbury@goahead.com>.
20053
22836f52
UD
200542011-05-11 Ulrich Drepper <drepper@gmail.com>
20055
f574184a
UD
20056 [BZ #12052]
20057 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20058
e1fb097f
UD
20059 [BZ #12625]
20060 * misc/mntent_r.c (addmntent): Flush the stream after the output
20061
22836f52
UD
20062 [BZ #12393]
20063 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20064 (is_trusted_path_normalize): Skip initial colon. Append slash
20065 to empty buffer. Duplicate is_trusted_path code but allow
20066 constructed patch to be prefix.
20067 (is_dst): Allow $ORIGIN followed by /.
20068 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20069 Correct testing of result of is_trusted_path_normalize
20070 (decompose_rpath): Fix warning.
20071
7b3b0b2a
UD
200722011-05-10 Ulrich Drepper <drepper@gmail.com>
20073
20074 [BZ #11257]
20075 * grp/initgroups.c (internal_getgrouplist): When we found the service
20076 list through the initgroups entry in nsswitch.conf do not always
20077 continue on a successful lookup. Don't always use the
eac80ce2 20078 __nss_group_database value if it is set.
7b3b0b2a
UD
20079 * nss/nsswitch.conf (initgroups): Change action for successful db
20080 lookup to continue for compatibility.
20081
2a81eaa5
UD
200822011-05-09 Ulrich Drepper <drepper@gmail.com>
20083
be97a69e
UD
20084 [BZ #11532]
20085 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20086 and CP774 modules.
20087 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20088 and CP774 modules.
20089 * iconvdata/tst-tables.sh: Likewise.
20090 * iconvdata/cp770.c: New file.
20091 * iconvdata/cp771.c: New file.
20092 * iconvdata/cp772.c: New file.
20093 * iconvdata/cp773.c: New file.
20094 * iconvdata/cp774.c: New file.
20095 * iconvdata/testdata/CP770: New file.
20096 * iconvdata/testdata/CP770..UTF8: New file.
20097 * iconvdata/testdata/CP771: New file.
20098 * iconvdata/testdata/CP771..UTF8: New file.
20099 * iconvdata/testdata/CP772: New file.
20100 * iconvdata/testdata/CP772..UTF8: New file.
20101 * iconvdata/testdata/CP773: New file.
20102 * iconvdata/testdata/CP773..UTF8: New file.
20103 * iconvdata/testdata/CP774: New file.
20104 * iconvdata/testdata/CP774..UTF8: New file.
20105
20106 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20107 END CHARMAP line.
20108 * iconvdata/gen-8bit-gap.sh: Likewise.
20109 * iconvdata/gen-8bit.sh: Likewise.
20110
c1e9e399
UD
20111 * locale/iso-639.def: Add ary entry.
20112
24c55fb3 20113 [BZ #11258]
96b4b1b0
UD
20114 * locale/C-translit.h.in: Add U20A1 transliteration.
20115
bdc2f971
KB
20116 [BZ #12178]
20117 * locale/iso-639.def: Add wae entry.
20118 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20119
2952b117
UD
20120 [BZ #12545]
20121 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20122 for n.
20123
2a81eaa5
UD
20124 [BZ #12711]
20125 * locale/C-translit.h.in: Add entry for U20B9.
20126 Patch by pravin.d.s@gmail.com.
20127
28377d1b
UD
201282011-05-08 Ulrich Drepper <drepper@gmail.com>
20129
7fb90fb8
UD
20130 [BZ #12713]
20131 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20132 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20133 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20134 in rtld. Use *stat64.
7fb90fb8 20135 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20136 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20137 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20138 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20139 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20140 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20141 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20142 __fstatat64 macros.
7fb90fb8
UD
20143 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20144 * dirent/rewinddir.c: Add libc_hidden_def.
20145 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20146 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20147
28377d1b
UD
20148 * include/dirent.h (__alloc_dir): Add flags parameter.
20149 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20150 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20151 __alloc_dir.
20152 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20153 from fdopendir if O_CLOEXEC is already set.
20154
66bdbaa4
AM
201552011-03-15 Alan Modra <amodra@gmail.com>
20156
20157 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20158 l_tls_firstbyte_offset non-zero. Save padding offset in
20159 l_tls_firstbyte_offset for later use.
20160 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20161 freeing static tls block.
20162
95721191
JN
201632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20164
20165 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20166 where #ifdef was intended. The intent is to prevent ARG_MAX from
20167 being defined by the kernel headers.
20168
f87dfb1f
UD
201692011-05-07 Ulrich Drepper <drepper@gmail.com>
20170
20171 [BZ #12734]
20172 * resolv/resolv.h: Define RES_NOTLDQUERY.
20173 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20174 no-tld-query and set RES_NOTLDQUERY.
20175 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20176 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20177 modern BIND to search name as TLD unless forbidden.
20178
47c3cd7a
UD
201792011-05-07 Petr Baudis <pasky@suse.cz>
20180 Ulrich Drepper <drepper@gmail.com>
20181
20182 [BZ #12393]
20183 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20184 (is_trusted_path): ...to here.
c1e9ea35 20185 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20186 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20187 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20188
8a35c912
PP
201892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20190
20191 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20192 __BEGIN/__END_DECLS.
20193
acd41f47
UD
201942011-05-06 Ulrich Drepper <drepper@gmail.com>
20195
20196 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20197 NSS_STATUS_NOTFOUND if no record was found.
20198
597df647
AS
201992011-05-05 Andreas Schwab <schwab@redhat.com>
20200
20201 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20202 (headers-not-in-tirpc): Remove rpc/netdb.h
20203 * resolv/netdb.h: Revert last change.
20204
b9af1301
PP
202052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20206
20207 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20208 circular dependency between libgcc.a and libc.a.
20209
4e34d5f5
AS
202102011-05-05 Andreas Schwab <schwab@redhat.com>
20211
20212 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20213 * nis/Makefile: Don't install rpcsvc/*.
20214 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20215 instead of <rpc/types.h>.
20216 (MAXHOSTNAMELEN): Define.
20217
00ee369c
AS
202182011-05-03 Andreas Schwab <schwab@redhat.com>
20219
20220 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20221
0b592a30
MB
202222011-04-28 Maciej Babinski <mbabinski@google.com>
20223
20224 [BZ #12714]
20225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20226 gethostbyname4_r when IPv6 results are possible.
20227
6e04cbbe
UD
202282011-05-02 Ulrich Drepper <drepper@gmail.com>
20229
20230 [BZ #12723]
20231 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20232 _PC_PIPE_BUF handling.
20233
e4ecafe0
BH
202342011-04-30 Bruno Haible <bruno@clisp.org>
20235
20236 [BZ #12717]
20237 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20238 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20239 to 'int'.
20240 * inet/getnameinfo.c (getnameinfo): Likewise.
20241
125ee683
UD
202422011-04-29 Ulrich Drepper <drepper@gmail.com>
20243
20244 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20245 to groups setting in database lookup.
20246 * nss/nsswitch.conf: Add initgroups entry.
20247
b722481a
EB
202482011-04-22 Ulrich Drepper <drepper@gmail.com>
20249
20250 [BZ #12685]
20251 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20252 mode string.
20253 Patch by Eric Blake <eblake@redhat.com>.
20254
4df46dbd
L
202552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20256
20257 * sunrpc/Makefile (need-export-routines): Add svc_run.
20258 (routines): Remove svc_run.
20259 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20260 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20261 * sunrpc/svc_run.c (svc_run): Likewise.
20262 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20263
e84142d2
UD
202642011-04-21 Ulrich Drepper <drepper@gmail.com>
20265
20266 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20267 problem in reallocation in last patch.
20268
877175d8
UD
202692011-04-20 Ulrich Drepper <drepper@gmail.com>
20270
20271 * sunrpc/Makefile: Move inclusion of Rules.
20272
ab8eed78
UD
202732011-04-19 Ulrich Drepper <drepper@gmail.com>
20274
20275 * nss/nss_files/files-initgroups.c: New file.
20276 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20277 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20278 _nss_files_initgroups_dyn.
20279
e3d8f584
RS
202802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20281
20282 * elf/elf.h (R_ARM_IRELATIVE): Define.
20283
af190f45
UD
202842011-04-19 Ulrich Drepper <drepper@gmail.com>
20285
20286 * po/ru.po: Update from translation team.
20287
53cf59ef
UD
202882011-04-17 Ulrich Drepper <drepper@gmail.com>
20289
20290 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20291 dependencies.
20292
4c559bcd
MF
202932011-02-06 Mike Frysinger <vapier@gentoo.org>
20294
20295 [BZ #12653]
20296 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20297 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20298 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20299 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20301
4420675c
AS
203022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20303
20304 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20305 differing bytes.
20306 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20307 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20309
75ea32ab
UD
203102011-04-17 Ulrich Drepper <drepper@gmail.com>
20311
20312 [BZ #12420]
20313 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20314 storing it.
20315 * stdlib/bug-getcontext.c: New file.
20316 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20317
27390476
AK
203182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20319
20320 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20321 instructions into .machine "z9-109".
20322 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20323 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20324
10442705
AK
203252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20326
20327 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20328 between environment variables and auxiliary vector.
20329
7b57bfe5
UD
203302011-04-16 Ulrich Drepper <drepper@gmail.com>
20331
20332 * Makefile: Add rules to build linkobj/libc.so.
20333 * include/libc-symbols.h: Define libc_hidden_nolink.
20334 * include/rpc/auth.h: Mark functions which are to be hidden.
20335 * include/rpc/auth_des.h: Likewise.
20336 * include/rpc/auth_unix.h: Likewise.
20337 * include/rpc/clnt.h: Likewise.
20338 * include/rpc/des_crypt.h: Likewise.
20339 * include/rpc/key_prot.h: Likewise.
20340 * include/rpc/pmap_clnt.h: Likewise.
20341 * include/rpc/pmap_prot.h: Likewise.
20342 * include/rpc/pmap_rmt.h: Likewise.
20343 * include/rpc/rpc_msg.h: Likewise.
20344 * include/rpc/svc.h: Likewise.
20345 * include/rpc/svc_auth.h: Likewise.
20346 * include/rpc/xdr.h: Likewise.
20347 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20348 * nss/Makefile: Likewise.
20349 * sunrpc/Makefile: Don't install headers. Build library with normal
20350 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20351 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20352 for the compat linking library. Remove use of INTDEF/INTUSE.
20353 * sunrpc/auth_none.c: Likewise.
20354 * sunrpc/auth_unix.c: Likewise.
20355 * sunrpc/authdes_prot.c: Likewise.
20356 * sunrpc/authuxprot.c: Likewise.
20357 * sunrpc/clnt_gen.c: Likewise.
20358 * sunrpc/clnt_perr.c: Likewise.
20359 * sunrpc/clnt_raw.c: Likewise.
20360 * sunrpc/clnt_simp.c: Likewise.
20361 * sunrpc/clnt_tcp.c: Likewise.
20362 * sunrpc/clnt_udp.c: Likewise.
20363 * sunrpc/clnt_unix.c: Likewise.
20364 * sunrpc/des_crypt.c: Likewise.
20365 * sunrpc/des_soft.c: Likewise.
20366 * sunrpc/get_myaddr.c: Likewise.
20367 * sunrpc/key_call.c: Likewise.
20368 * sunrpc/key_prot.c: Likewise.
20369 * sunrpc/netname.c: Likewise.
20370 * sunrpc/pm_getmaps.c: Likewise.
20371 * sunrpc/pm_getport.c: Likewise.
20372 * sunrpc/pmap_clnt.c: Likewise.
20373 * sunrpc/pmap_prot.c: Likewise.
20374 * sunrpc/pmap_prot2.c: Likewise.
20375 * sunrpc/pmap_rmt.c: Likewise.
20376 * sunrpc/publickey.c: Likewise.
20377 * sunrpc/rpc_cmsg.c: Likewise.
20378 * sunrpc/rpc_common.c: Likewise.
20379 * sunrpc/rpc_dtable.c: Likewise.
20380 * sunrpc/rpc_prot.c: Likewise.
20381 * sunrpc/rpc_thread.c: Likewise.
20382 * sunrpc/rtime.c: Likewise.
20383 * sunrpc/svc.c: Likewise.
20384 * sunrpc/svc_auth.c: Likewise.
20385 * sunrpc/svc_authux.c: Likewise.
20386 * sunrpc/svc_raw.c: Likewise.
20387 * sunrpc/svc_run.c: Likewise.
20388 * sunrpc/svc_simple.c: Likewise.
20389 * sunrpc/svc_tcp.c: Likewise.
20390 * sunrpc/svc_udp.c: Likewise.
20391 * sunrpc/svc_unix.c: Likewise.
20392 * sunrpc/svcauth_des.c: Likewise.
20393 * sunrpc/xcrypt.c: Likewise.
20394 * sunrpc/xdr.c: Likewise.
20395 * sunrpc/xdr_array.c: Likewise.
20396 * sunrpc/xdr_float.c: Likewise.
20397 * sunrpc/xdr_intXX_t.c: Likewise.
20398 * sunrpc/xdr_mem.c: Likewise.
20399 * sunrpc/xdr_rec.c: Likewise.
20400 * sunrpc/xdr_ref.c: Likewise.
20401 * sunrpc/xdr_sizeof.c: Likewise.
20402 * sunrpc/xdr_stdio.c: Likewise.
20403
e6c61494
UD
204042011-04-10 Ulrich Drepper <drepper@gmail.com>
20405
20406 [BZ #12650]
20407 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20408 * sysdeps/ia64/dl-tls.h: Likewise.
20409 * sysdeps/powerpc/dl-tls.h: Likewise.
20410 * sysdeps/s390/dl-tls.h: Likewise.
20411 * sysdeps/sh/dl-tls.h: Likewise.
20412 * sysdeps/sparc/dl-tls.h: Likewise.
20413 * sysdeps/x86_64/dl-tls.h: Likewise.
20414 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20415
34fe483e
AS
204162011-03-14 Andreas Schwab <schwab@redhat.com>
20417
20418 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20419 rpath element also skip the following colon.
20420 (expand_dynamic_string_token): Add is_path parameter and pass
20421 down to DL_DST_REQUIRED and _dl_dst_substitute.
20422 (decompose_rpath): Call expand_dynamic_string_token with
20423 non-zero is_path. Ignore empty rpaths.
20424 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20425 with zero is_path.
20426
f12a32e6
AS
204272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20428
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20430 Make cancelable.
20431
38a7d692
UD
204322011-04-09 Ulrich Drepper <drepper@gmail.com>
20433
20434 [BZ #12655]
20435 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20436 Patch by Filipe David Manana <fdmanana@apache.org>.
20437
e451d22b
AS
204382011-04-07 Andreas Schwab <schwab@redhat.com>
20439
20440 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20441 Maintain aligned stack.
20442 (CHECK_RSP): Remove unused macro.
20443
dedc7c7b
UD
204442011-04-03 Ulrich Drepper <drepper@gmail.com>
20445
20446 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20447 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20448
94521213
UD
204492011-04-02 Ulrich Drepper <drepper@gmail.com>
20450
20451 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20452
8cb700c0 20453 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20454
0354e355
L
204552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20456
20457 [BZ #12518]
20458 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20459 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20460 * sysdeps/x86_64/memmove.c: New file.
20461 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20462 (memcpy): Renamed to ...
20463 (__new_memcpy): This.
20464 (memcpy): Provide GLIBC_2_14 memcpy.
20465 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20466 (memcpy): Provide GLIBC_2_2_5 memcpy.
20467
8593482f
UD
204682011-04-01 Ulrich Drepper <drepper@gmail.com>
20469
20470 [BZ #12631]
20471 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20472
81a5726b
AS
204732011-03-30 Andreas Schwab <schwab@redhat.com>
20474
20475 * misc/syncfs.c: New file.
20476 * misc/Makefile (routines): Add syncfs.
20477 * posix/unistd.h: Declare syncfs.
20478 * sysdeps/unix/syscalls.list: Add syncfs.
20479
00e5419f
AS
204802011-04-01 Andreas Schwab <schwab@redhat.com>
20481
20482 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20483 open_by_handle_at.
20484 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20485 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20489 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20490 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20491
748876bf
UD
204922011-04-01 Ulrich Drepper <drepper@gmail.com>
20493
658e451d
UD
20494 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20495 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20496 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20498 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20500 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20501
748876bf
UD
20502 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20503 sync_file_range.c with -fexceptions.
20504 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20505 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20506 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20507 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20508 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20509 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20510 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20511 sync_file_range as cancellation point
20512 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20513 now a wrapper around __call_sync_file_range with cancellation handling.
20514 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20515 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20516 function name to __call_sync_file_range.
20517 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20518 Add call_sync_file_range.
748876bf 20519
6e63d5e1
AS
205202011-04-01 Andreas Schwab <schwab@redhat.com>
20521
20522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20523 bits/timex.h.
6e63d5e1 20524
46998f74
UD
205252011-04-01 Ulrich Drepper <drepper@gmail.com>
20526
4c1423ed
UD
20527 * iconv/iconv.h: Fix typo in comment.
20528 * io/fcntl.h: Likewise.
20529 * libio/stdio.h: Likewise.
20530 * posix/spawn.h: Likewise.
20531 * posix/unistd.h: Likewise.
20532 * stdlib/stdlib.h: Likewise.
20533 * time/time.h: Likewise.
20534 * wcsmbs/wchar.h: Likewise.
20535
158648c0
UD
20536 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20537 open_by_handle): Add.
20538 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20539 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20540 Augment a few comments.
20541 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20543 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20545 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20546 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20547 open_by_handle.
20548
46998f74
UD
20549 * io/fcntl.h (AT_EMPTY_PATH): Define.
20550
83fe108b
UD
205512011-03-30 Ulrich Drepper <drepper@gmail.com>
20552
20553 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20554 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20555 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20556 to...
20557 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20558 * Versions.def: Add GLIBC_2.14.
20559 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20560 Export.
83fe108b 20561
bb242059
UD
205622011-03-22 Ulrich Drepper <drepper@gmail.com>
20563
20564 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20565 round counter.
20566 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20567
c97a1282
L
205682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20569
20570 [BZ #12597]
20571 * string/test-strncmp.c (do_page_test): New function.
20572 (check2): Likewise.
20573 (test_main): Call check2.
20574 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20575
2a115601
UD
205762011-03-20 Ulrich Drepper <drepper@gmail.com>
20577
20578 [BZ #12587]
20579 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20580 Handle cache information in CPU leaf 4.
20581 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20582
8126d904
UD
205832011-03-18 Ulrich Drepper <drepper@gmail.com>
20584
042c49c6 20585 [BZ #12583]
8126d904
UD
20586 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20587 character representation.
20588 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20589
ccfe366e
RA
205902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20591
20592 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20593 END(__isnan) to END(__isnanf) to match function entry point/label
20594 EALIGN(__isnanf,...).
20595
c6e13027
JJ
205962011-03-10 Jakub Jelinek <jakub@redhat.com>
20597
20598 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20599
33f85a3f
UD
206002011-03-10 Ulrich Drepper <drepper@gmail.com>
20601
028478fa
UD
20602 [BZ #12510]
20603 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20604 copy from the symbol referenced in the relocation to initialize the
20605 used variable.
20606 Patch by Piotr Bury <pbury@goahead.com>.
20607 * elf/Makefile: Add rules to build and tst-unique3.
20608 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20609 * elf/tst-unique3.cc: New file.
20610 * elf/tst-unique3.h: New file.
20611 * elf/tst-unique3lib.cc: New file.
20612 * elf/tst-unique3lib2.cc: New file.
20613
33f85a3f
UD
20614 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20615
03592fc7
MF
206162011-03-10 Mike Frysinger <vapier@gentoo.org>
20617
20618 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20619 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20620 to _start.
03592fc7 20621
6a5ee102
UD
206222011-03-06 Ulrich Drepper <drepper@gmail.com>
20623
20624 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20625 to-be-loaded object along a path to loader is ld.so.
20626
7e4ba49c
HJ
206272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20628 Ulrich Drepper <drepper@gmail.com>
20629
20630 * sysdeps/x86_64/memset.S: After aligning destination, code
20631 branches to different locations depending on the value of
20632 misalignment, when multiarch is enabled. Fix this.
20633
206342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20635
20636 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20637 Set _x86_64_preferred_memory_instruction for AMD processsors.
20638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20639 Set bit_Prefer_SSE_for_memop for AMD processors.
20640
13a804de
UD
206412011-03-04 Ulrich Drepper <drepper@gmail.com>
20642
20643 * libio/fmemopen.c (fmemopen): Optimize a bit.
20644
9d25c392
AS
206452011-03-03 Andreas Schwab <schwab@redhat.com>
20646
20647 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20648
a5543c6a
RM
206492011-03-03 Roland McGrath <roland@redhat.com>
20650
20651 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20652
012d35f7
DM
206532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20654
7e4ba49c 20655 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20656 __bzero_ultra1 instead of __memset_ultra1.
20657
4bff6e01
AS
206582011-02-23 Andreas Schwab <schwab@redhat.com>
20659 Ulrich Drepper <drepper@gmail.com>
20660
20661 [BZ #12509]
20662 * include/link.h (struct link_map): Add l_orig_initfini.
20663 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20664 returning unsuccessfully.
20665 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20666 close of a file loaded at startup, restore the original l_initfini
20667 list.
20668 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20669 list, store the pointer.
20670 * elf/Makefile ($(objpfx)noload-mem): New rule.
20671 (noload-ENV): Define.
20672 (tests): Add $(objpfx)noload-mem.
20673 * elf/noload.c: Include <memcheck.h>.
20674 (main): Call mtrace. Close all opened handles.
20675
f2092faf
AS
206762011-02-17 Andreas Schwab <schwab@redhat.com>
20677
20678 [BZ #12454]
20679 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20680 dependencies are missing.
20681
6c8a2e88
ST
206822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20683
f2092faf 20684 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20685 Hurd needs munmap.
20686 * sysdeps/mach/hurd/ifreq.h: New file.
20687
84a42118
PB
206882011-01-27 Petr Baudis <pasky@suse.cz>
20689 Ulrich Drepper <drepper@gmail.com>
20690
071f805e 20691 [BZ 12445]#
84a42118
PB
20692 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20693 to extend_alloca().
20694 * stdio-common/bug23.c: New file.
20695 * stdio-common/Makefile (tests): Add bug23.
20696
e23fe25b
AS
206972010-09-28 Andreas Schwab <schwab@redhat.com>
20698 Ulrich Drepper <drepper@gmail.com>
20699
20700 [BZ #12489]
20701 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20702 before performing relro protection. At old place add assertion
20703 to make sure nothing changed.
20704
d3f02e10
NS
207052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20706 Glauber de Oliveira Costa <glommer@gmail.com>
20707
20708 * elf/elf.h: Add new ARM TLS relocs.
20709
d55fd7a5
RA
207102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20711
20712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20713 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20714 cast from r3.
20715 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20716 'tests' variable.
20717 * sysdeps/wordsize-64/tst-writev.c: New file.
20718
2206397e
RA
207192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20720
20721 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20722 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20723 insns in _dl_start to prevent a TOC reference before relocs are
20724 resolved.
20725
e9433893
UD
207262011-02-15 Ulrich Drepper <drepper@gmail.com>
20727
20728 [BZ #12469]
20729 * Makeconfig: Remove RANLIB definition.
20730 * Makerules: Don't use RANLIB.
20731 * aclocal.m4: Remove ranlib test.
20732 * configure.in: No need to check for ranlib.
20733 * elf/rtld-Rules: Don't use RANLIB.
20734
f75286c6
ST
207352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20736
8e31c82d
ST
20737 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20738 protection macro.
20739 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20740 inclusion protection macro.
20741
f75286c6
ST
20742 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20743 SIGRTMIN and SIGRTMAX and print information in that case only when
20744 SIGRTMIN is defined.
20745
c1d0e639
JJ
207462011-02-11 Jakub Jelinek <jakub@redhat.com>
20747
20748 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20749 arginfo fn returning -1.
20750
20751 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20752 and thousands string is zero terminated.
20753
edf9294e
AS
207542011-02-03 Andreas Schwab <schwab@redhat.com>
20755
20756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20757 sysdeps/unix/sysv/linux/bits/socket.h.
20758
2b7e92df
ST
207592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20760
edf9294e
AS
20761 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20762 (__CPU_COUNT): Remove old macros.
20763 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20764 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20765 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20766 (__sched_cpualloc, __sched_cpufree): Add declarations.
20767
a4c7ea7b
UD
207682011-02-05 Ulrich Drepper <drepper@gmail.com>
20769
20770 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20771 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20772 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20773 (readdhstai): Return value of addhstaiX call.
20774 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20775 (addgrbyX): Return value returned by cache_addgr.
20776 (readdgrbyname): Return value returned by addgrbyX.
20777 (readdgrbygid): Likewise.
20778 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20779 (addpwbyX): Return value returned by cache_addpw.
20780 (readdpwbyname): Return value returned by addhstbyX.
20781 (readdpwbyuid): Likewise.
20782 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20783 (addservbyX): Return value returned by cache_addserv.
20784 (readdservbyname): Return value returned by addservbyX:
20785 (readdservbyport): Likewise.
20786 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20787 (addhstbyX): Return value returned by cache_addhst.
20788 (readdhstbyname): Return value returned by addhstbyX.
20789 (readdhstbyaddr): Likewise.
20790 (readdhstbynamev6): Likewise.
20791 (readdhstbyaddrv6): Likewise.
20792 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20793 (readdinitgroups): Return value returned by addinitgroupsX.
20794 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20795 (prune_cache): Keep track of timeout value of re-added entries.
20796 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20797 * nscd/nscd.h: Adjust prototypes of readd* functions.
20798
a0bf67cc
RM
207992011-02-04 Roland McGrath <roland@redhat.com>
20800
20801 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20802 (nis_stats): Likewise.
20803 * nis/nis_modify.c (nis_modify): Likewise.
20804 * nis/nis_remove.c (nis_remove): Likewise.
20805 * nis/nis_add.c (nis_add): Likewise.
20806
20807 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20808
20809 * posix/fnmatch_loop.c: Add some consts.
20810
20811 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20812
435b95eb
L
208132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20814
20815 [BZ #12460]
20816 * config.make.in (config-cflags-novzeroupper): Define.
20817 * configure.in: Substitute libc_cv_cc_novzeroupper.
20818 * elf/Makefile (AVX-CFLAGS): Define.
20819 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20820 (CFLAGS-tst-auditmod4a.c): Likewise.
20821 (CFLAGS-tst-auditmod4b.c): Likewise.
20822 (CFLAGS-tst-auditmod6b.c): Likewise.
20823 (CFLAGS-tst-auditmod6c.c): Likewise.
20824 (CFLAGS-tst-auditmod7b.c): Likewise.
20825 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20826
8517b15e
UD
208272011-02-02 Ulrich Drepper <drepper@gmail.com>
20828
20829 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20830 function to the callback.
20831 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20832
10a656fe
AS
208332011-02-02 Andreas Schwab <schwab@redhat.com>
20834
20835 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20836 of errno.
20837
968dad0a
UD
208382011-01-19 Ulrich Drepper <drepper@gmail.com>
20839
9f94d2ea 20840 [BZ #11724]
968dad0a
UD
20841 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20842 of constructors.
20843 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20844 of destructors.
20845 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20846
20847 [BZ #11724]
20848 * elf/Makefile: Add rules to build and run new test.
20849 * elf/tst-initorder.c: New file.
20850 * elf/tst-initorder.exp: New file.
20851 * elf/tst-initordera1.c: New file.
20852 * elf/tst-initordera2.c: New file.
20853 * elf/tst-initordera3.c: New file.
20854 * elf/tst-initordera4.c: New file.
20855 * elf/tst-initorderb1.c: New file.
20856 * elf/tst-initorderb2.c: New file.
20857 * elf/tst-order-a1.c: New file.
20858 * elf/tst-order-a2.c: New file.
20859 * elf/tst-order-a3.c: New file.
20860 * elf/tst-order-a4.c: New file.
20861 * elf/tst-order-b1.c: New file.
20862 * elf/tst-order-b2.c: New file.
20863 * elf/tst-order-main.c: New file.
20864 New test case by George Gensure <werkt0@gmail.com>.
20865
86e92359
UD
208662010-10-01 Andreas Schwab <schwab@redhat.com>
20867
20868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20869 decoding ACE if AI_CANONIDN.
20870
5d5732b0
UD
208712011-01-18 Ulrich Drepper <drepper@gmail.com>
20872
20873 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20874
a77e8cbc
UD
208752011-01-17 Ulrich Drepper <drepper@gmail.com>
20876
6392473f
UD
20877 * version.h (RELEASE): Bump for 2.13 release.
20878 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20879
620a0529
UD
20880 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20881
18ba70a5
UD
20882 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20883 MADV_NOHUGEPAGE.
32465c3e
UD
20884 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20885 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20886 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20887 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20888 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20889 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20890
c0dafcf1
UD
20891 * posix/getconf.c: Update copyright year.
20892 * catgets/gencat.c: Likewise.
20893 * csu/version.c: Likewise.
20894 * debug/catchsegv.sh: Likewise.
20895 * debug/xtrace.sh: Likewise.
20896 * elf/ldconfig.c: Likewise.
20897 * elf/ldd.bash.in: Likewise.
20898 * elf/sprof.c (print_version): Likewise.
20899 * iconv/iconv_prog.c: Likewise.
20900 * iconv/iconvconfig.c: Likewise.
20901 * locale/programs/locale.c: Likewise.
20902 * locale/programs/localedef.c: Likewise.
20903 * malloc/memusage.sh: Likewise.
20904 * malloc/mtrace.pl: Likewise.
20905 * nscd/nscd.c (print_version): Likewise.
20906 * nss/getent.c: Likewise.
20907
a77e8cbc
UD
20908 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20909 PF_CAIF, and PF_ALG.
20910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20911
77e8bddf
AS
209122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20913
1f20b93a
AS
20914 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20915 (modules-names): Use them.
20916 (ifunc-test-modules, ifunc-pie-tests): Define.
20917 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20918 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20919 (test-extras): Likewise.
20920 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20921 $(compile-command.c).
20922 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20923 (all-built-dso): Define.
20924 (check-textrel.out, check-execstack.out): Depend on it.
20925
77e8bddf
AS
20926 * configure.in: Don't override --enable-multi-arch.
20927
bc425b33
UD
209282011-01-15 Ulrich Drepper <drepper@gmail.com>
20929
20930 [BZ #6812]
20931 * nscd/hstcache.c (tryagain): Define.
20932 (cache_addhst): Return tryagain not notfound for temporary errors.
20933 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20934 failed.
20935
794c3ad3
UD
209362011-01-14 Ulrich Drepper <drepper@gmail.com>
20937
70181fdd
UD
20938 [BZ #10563]
20939 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20940 to make the syscall.
20941 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20942
794c3ad3
UD
20943 [BZ #12378]
20944 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20945 and fall back to matching as normal character if the string ends before
20946 the matching ']' is found. This is what POSIX requires.
20947 * posix/testfnm.c: Adjust test result.
20948 * posix/globtest.sh: Adjust test result. Add new test.
20949 * posix/tst-fnmatch.input: Likewise.
20950 * posix/tst-fnmatch2.c: Add new test.
20951
68dc9497
AS
209522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20953
20954 * elf/Makefile (check-execstack): Revert last change. Depend on
20955 check-execstack.h.
20956 (check-execstack.h): New target.
20957 (generated): Add check-execstack.h.
20958 * elf/check-execstack.c: Include "check-execstack.h".
20959 (main): Revert last change.
20960 (handle_file): Return zero if GNU_STACK is absent and
20961 DEFAULT_STACK_PERMS doesn't include PF_X.
20962
451f001b
UD
209632011-01-13 Ulrich Drepper <drepper@gmail.com>
20964
cfa28e56
UD
20965 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20966 in child fails because the descriptor is already closed.
8cf8ce17
UD
20967 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20968 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20969 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 20970
1086d70d
UD
20971 [BZ #12397]
20972 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20973 syscall.
20974
451f001b
UD
20975 [BZ #10484]
20976 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20977 temporary buffer used to handle multi lookups locally.
a85b5cb4 20978 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 20979
08769175
UD
209802011-01-12 Ulrich Drepper <drepper@gmail.com>
20981
20982 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20983 loader is ld.so.
20984
5e49c52e
UD
209852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20986
20987 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20988 alignment for SSE2.
20989
60522a5f
UD
209902011-01-12 Ulrich Drepper <drepper@gmail.com>
20991
20992 [BZ #12394]
20993 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20994 characters. When rounding increased number of integer digits recompute
20995 number of groups.
20996 * stdio-common/tst-grouping.c: New file.
20997 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20998
f257bbd7
UD
209992011-01-09 Ulrich Drepper <drepper@gmail.com>
21000
21001 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21002 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21003
21004 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21005 void.
21006 * bits/select.h: Likewise.
21007
fa9c15cb
UD
210082011-01-08 Ulrich Drepper <drepper@gmail.com>
21009
21010 * po/ja.po: Update from translation team.
21011
16c2895f
DM
210122011-01-04 David S. Miller <davem@sunset.davemloft.net>
21013
21014 [BZ #11155]
21015 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21016 implementation just like for lxstat, fxstatat, et al.
21017
2543fef2
JM
210182010-12-27 Jim Meyering <meyering@redhat.com>
21019
21020 [BZ #12348]
21021 * posix/regexec.c (build_trtable): Return failure indication upon
21022 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21023
98727dbe
UD
210242010-12-25 Ulrich Drepper <drepper@gmail.com>
21025
5bd6dc5c
UD
21026 [BZ #12201]
21027 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21028 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21029 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21030 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21031
97983464
UD
21032 [BZ #12207]
21033 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21034
98727dbe
UD
21035 [BZ #12204]
21036 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21037 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21038
4a531bb0
L
210392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21040
21041 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21042 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21043 script has SORT_BY_INIT_PRIORITY.
21044 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21045 NO_CTORS_DTORS_SECTIONS is defined.
21046 * elf/soinit.c: Likewise.
21047 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21048 NO_CTORS_DTORS_SECTIONS is defined.
21049 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21050 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21051 * sysdeps/sh/init-first.c: Likewise.
21052 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21053
07eb4b71
UD
210542010-12-24 Ulrich Drepper <drepper@gmail.com>
21055
21056 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21057 always use the slow path.
21058
30950a5f
RA
210592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21060
21061 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21062 similar rule which adds the sysdep directories to the header search in
21063 order to pick up the correct platform stackinfo.h.
21064 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21065 perform test if it is, otherwise return successfully without testing.
21066 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21067 DEFAULT_STACK_PERMS define in stackinfo.h.
21068 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21069 defined in stackinfo.h.
21070 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21071 DEFAULT_STACK_PERMS defined in stackinfo.h.
21072 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21073 * sysdeps/ia64/stackinfo.h: Likewise.
21074 * sysdeps/s390/stackinfo.h: Likewise.
21075 * sysdeps/sh/stackinfo.h: Likewise.
21076 * sysdeps/sparc/stackinfo.h: Likewise.
21077 * sysdeps/x86_64/stackinfo.h: Likewise.
21078 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21079 PF_X for powerpc64. Retain PF_X for powerpc32.
21080
db753e2c
UD
210812010-12-19 Ulrich Drepper <drepper@gmail.com>
21082
14b697f7
UD
21083 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21084 accurately.
db753e2c
UD
21085 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21086 GETDENTS_64BIT_ALIGNED.
21087
28300719
UD
210882010-12-14 Ulrich Drepper <dreper@gmail.com>
21089
14b697f7 21090 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21091
4f197237
AS
210922010-12-10 Andreas Schwab <schwab@redhat.com>
21093
dbb0472f
AS
21094 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21095 _GNU_SOURCE.
21096
4f197237
AS
21097 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21098 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21099 Remove __restrict.
21100 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21101 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21102
fb88ac72
UD
211032010-12-09 Ulrich Drepper <drepper@gmail.com>
21104
21105 [BZ #11655]
21106 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21107 are initialized.
21108
42acbb92
JJ
211092010-12-09 Jakub Jelinek <jakub@redhat.com>
21110
21111 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21112
c038d98d
UD
211132010-12-03 Ulrich Drepper <drepper@gmail.com>
21114
21115 * po/it.po: Update from translation team.
21116
3a4a2499
L
211172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21118
21119 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21120 unused codes.
21121
1e24cf6e
UD
211222010-11-30 Ulrich Drepper <drepper@gmail.com>
21123
21124 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21125
a7690819
AS
211262010-11-24 Andreas Schwab <schwab@redhat.com>
21127
21128 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21129 specially.
21130 (gaih_getanswer_slice): Likewise.
21131
3bf8d1b1
JJ
211322010-10-20 Jakub Jelinek <jakub@redhat.com>
21133
21134 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21135
6db52fbb
PB
211362010-05-31 Petr Baudis <pasky@suse.cz>
21137
21138 [BZ #11149]
21139 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21140 silently even in the chroot mode.
21141
eaca7569
UD
211422010-11-22 Ulrich Drepper <drepper@gmail.com>
21143
21144 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21145 last patch a bit. Pretty printing
21146
3056dcdb
UD
211472010-05-31 Petr Baudis <pasky@suse.cz>
21148
21149 [BZ #10085]
21150 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21151 initialization of skip_initgroups_dyn.
21152
cf7c9078
UD
211532010-11-19 Ulrich Drepper <drepper@gmail.com>
21154
21155 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21157
a1fb5e3e
UD
211582010-11-16 Ulrich Drepper <drepper@gmail.com>
21159
21160 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21161
3540d66b
AS
211622010-11-11 Andreas Schwab <schwab@redhat.com>
21163
21164 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21165 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21166 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21167 ($(objpfx)tst-fnmatch-mem): New rule.
21168 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21169 * posix/tst-fnmatch.c (main): Call mtrace.
21170
13b69574
L
211712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21172
21173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21174 Support Intel processor model 6 and model 0x2c.
21175
da93d214
LM
211762010-11-10 Luis Machado <luisgpm@br.ibm.com>
21177
21178 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21179 signed comparison.
21180
8ca52c6e
L
211812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21182
21183 [BZ #12205]
21184 * string/test-strncasecmp.c (check_result): New function.
21185 (do_one_test): Use it.
21186 (check1): New function.
21187 (test_main): Use it.
21188 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21189 Support strcasecmp and strncasecmp.
21190
69da074d
UD
211912010-11-08 Ulrich Drepper <drepper@gmail.com>
21192
21193 [BZ #12194]
21194 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21196
ff02d528
L
211972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21198
21199 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21200 IFUNC support.
21201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21202 memset-x86-64.
21203 * sysdeps/x86_64/multiarch/bzero.S: New file.
21204 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21205 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21206 * sysdeps/x86_64/multiarch/memset.S: New file.
21207 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21209 Set bit_Prefer_SSE_for_memop for Intel processors.
21210 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21211 Define.
21212 (index_Prefer_SSE_for_memop): Define.
21213 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21214
344d0b54
LM
212152010-11-04 Luis Machado <luisgpm@br.ibm.com>
21216
21217 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21218 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21219
c0dde15b
UD
212202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21221
21222 [BZ #12191]
21223 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21224 (__x86_64_raw_data_cache_size_half): Likewise.
21225 (__x86_64_raw_shared_cache_size): Likewise.
21226 (__x86_64_raw_shared_cache_size_half): Likewise.
21227
21228 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21229 (__x86_64_raw_data_cache_size_half): Likewise.
21230 (__x86_64_raw_shared_cache_size): Likewise.
21231 (__x86_64_raw_shared_cache_size_half): Likewise.
21232 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21233 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21234 and __x86_64_raw_shared_cache_size_half. Round
21235 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21236 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21237 to multiple of 256 bytes.
21238
0e516e0e
MS
212392010-11-03 Ulrich Drepper <drepper@gmail.com>
21240
21241 [BZ #12167]
21242 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21243 of inacessible symlinks. Verify result of symlink before returning it.
21244 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21245 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21246
0e012e87
ER
212472010-10-28 Erich Ritz <erichritz@gmail.com>
21248
21249 * math/math.h (isinf): Fix typo in comment.
21250
de0ff7bc
UD
212512010-11-01 Ulrich Drepper <drepper@gmail.com>
21252
21253 * po/da.po: Update from translation team.
21254
fa41c84d
UD
212552010-10-26 Ulrich Drepper <drepper@gmail.com>
21256
21257 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21258 is added to the list.
21259
f0967738
AK
212602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21261 Ulrich Drepper <drepper@gmail.com>
21262
21263 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21264 the global list here. Move code to...
21265 (_dl_add_to_namespace_list): ...here. New function.
21266 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21267 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21268 * elf/dl-load.c (lose): Don't remove the element from the list.
21269 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21270 (_dl_map_object): Likewise.
21271
212722010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21273
21274 [BZ #12159]
21275 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21276 into all bytes of SSE register.
21277 Patch by Richard Li <richardpku@gmail.com>.
21278
f0967738 212792010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21280
21281 [BZ #12140]
21282 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21283 perturbing.
21284
d0b9e94f
MB
212852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21286
21287 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21288 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21289 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21290 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21292 submachine.
21293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21294
8e9f92e9
AS
212952010-10-22 Andreas Schwab <schwab@redhat.com>
21296
21297 * include/dlfcn.h (__RTLD_SECURE): Define.
21298 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21299 mode & __RTLD_SECURE instead.
21300 (open_path): Rename preloaded parameter to secure.
21301 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21302 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21303 * elf/dl-deps.c (openaux): Likewise.
21304 * elf/rtld.c (struct map_args): Remove is_preloaded.
21305 (map_doit): Don't use it.
21306 (dl_main): Likewise.
21307 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21308 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21309
bc96fbda
AS
213102010-09-09 Andreas Schwab <schwab@redhat.com>
21311
21312 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21313 (sysd-rules-targets): Remove duplicates.
21314 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21315 rtld-%.$o dependency.
21316
22cd1c9b
AS
213172010-10-18 Andreas Schwab <schwab@redhat.com>
21318
21319 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21320 _dl_map_object do it.
21321
18edac48
UD
213222010-10-19 Ulrich Drepper <drepper@gmail.com>
21323
21324 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21325 fast fma builtins, define the macros in the C99 standard.
21326 (FP_FAST_FMAF): Likewise.
21327 (FP_FAST_FMAL): Likewise.
21328 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21329
21330 * bits/mathdef.h: Update copyright year.
21331 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21332
d2050124
MM
213332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21334
21335 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21336 builtins, define the macros in the C99 standard.
21337 (FP_FAST_FMAF): Likewise.
21338 (FP_FAST_FMAL): Likewise.
21339 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21340 multiply/add.
21341 (FP_FAST_FMAF): Likewise.
21342
475facd1
JJ
213432010-10-15 Jakub Jelinek <jakub@redhat.com>
21344
21345 [BZ #3268]
21346 * math/libm-test.inc (fma_test): Some new testcases.
21347 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21348 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21349 y and infinite z. Do multiplication by C already in long double.
21350 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21352 y and infinite z. Do bitwise or of inexact bit into u.d.
21353 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21354 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21355 * sysdeps/i386/fpu/s_fma.S: Removed.
21356 * sysdeps/i386/fpu/s_fmal.S: Removed.
21357
7c08a05c
JJ
213582010-10-16 Jakub Jelinek <jakub@redhat.com>
21359
21360 [BZ #3268]
21361 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21363 computation is not scheduled after fetestexcept. Fix value
21364 of minimum denormal long double.
21365
f3f7372d
JJ
213662010-10-14 Jakub Jelinek <jakub@redhat.com>
21367
21368 [BZ #3268]
21369 * math/libm-test.inc (fma_test): Add some more tests.
21370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21371 correctly.
21372
14d43591
AS
213732010-10-15 Andreas Schwab <schwab@redhat.com>
21374
21375 * scripts/data/localplt-s390-linux-gnu.data: New file.
21376 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21377
5e908464
JJ
213782010-10-13 Jakub Jelinek <jakub@redhat.com>
21379
21380 [BZ #3268]
21381 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21382 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21383 instead of dbl-64.
21384 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21385 inlines.
21386 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21388 if one of x and y is very large and the other is subnormal.
21389 * sysdeps/s390/fpu/s_fmaf.c: New file.
21390 * sysdeps/s390/fpu/s_fma.c: New file.
21391 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21392 * sysdeps/powerpc/fpu/s_fma.S: New file.
21393 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21394 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21395 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21396
213972010-10-12 Jakub Jelinek <jakub@redhat.com>
21398
21399 [BZ #3268]
21400 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21401 fma tests.
21402 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21403 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21404 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21405 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21406 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21407 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21408 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21409
b833d51f
UD
214102010-10-12 Ulrich Drepper <drepper@redhat.com>
21411
21412 [BZ #12078]
21413 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21414 * posix/bug-regex31.input: Add test case.
21415
1751705d
UD
214162010-10-11 Ulrich Drepper <drepper@gmail.com>
21417
e9b9cbf5
UD
21418 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21419 * posix/bug-regex31.input: New file.
21420
21421 [BZ #12078]
21422 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21423 (parse_sub_exp): Fix last change, use postorder.
21424
ef06edbe
UD
21425 * posix/bug-regex31.c: New file.
21426 * posix/Makefile: Add rules to build and run bug-regex31.
21427
a129c80d
UD
21428 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21429
21430 [BZ #12078]
21431 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21432
b76b818e
UD
21433 [BZ #12108]
21434 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21435 to have entries in sys_siglist.
21436
1751705d
UD
21437 [BZ #12093]
21438 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21439 be NULL.
21440
9ff8d36f
JJ
214412010-10-07 Jakub Jelinek <jakub@redhat.com>
21442
21443 [BZ #3268]
21444 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21445 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21446 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21447 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21448 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21449 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21450 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21451 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21452 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21453 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21454 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21455 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21456 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21457 * math/ftestexcept.c (fetestexcept): Likewise.
21458 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21459 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21460 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21461 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21462 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21463 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21464 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21465
af325969
UD
214662010-10-11 Ulrich Drepper <drepper@gmail.com>
21467
c579b202 21468 [BZ #12107]
af325969
UD
21469 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21470 newline.
21471
67a67b95
UD
214722010-10-06 Ulrich Drepper <drepper@gmail.com>
21473
21474 * string/bug-strstr1.c: New file.
21475 * string/Makefile: Add rules to build and run bug-strstr1.
21476
5fb308bc
EB
214772010-10-05 Eric Blake <eblake@redhat.com>
21478
21479 [BZ #12092]
21480 * string/str-two-way.h (two_way_long_needle): Always clear memory
21481 when skipping input due to the shift table.
21482
45db99c7
UD
214832010-10-03 Ulrich Drepper <drepper@gmail.com>
21484
3b111893
UD
21485 [BZ #12005]
21486 * malloc/mcheck.c: Handle large requests.
21487
45db99c7
UD
21488 [BZ #12077]
21489 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21490 for strncmp and strncasecmp.
21491 * string/stratcliff.c: Add tests for strcmp and strncmp.
21492 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21493
cf7a1eb8
NI
214942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21495
21496 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21497 __set_fpscr.
21498
6484ba5e
AJ
214992010-09-30 Andreas Jaeger <aj@suse.de>
21500
21501 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21502 (CGROUP_SUPER_MAGIC): Define.
21503 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21504 Handle btrfs and cgroup file systems.
21505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21506 Likewise.
21507
91c42559
LM
215082010-09-27 Luis Machado <luisgpm@br.ibm.com>
21509
21510 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21511 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21512
87a97932
AK
215132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21514
21515 [BZ #12067]
21516 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21517 trying to locate the ELF header.
21518
c21cc9bc
AS
215192010-09-27 Andreas Schwab <schwab@redhat.com>
21520
21521 [BZ #11611]
21522 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21523 Mask out sign-bit copies when constructing f_fsid.
21524
315970f6
PB
215252010-09-24 Petr Baudis <pasky@suse.cz>
21526
21527 * debug/stack_chk_fail_local.c: Add missing licence exception.
21528 * debug/warning-nop.c: Likewise.
21529
1ac7a2c7
JM
215302010-09-15 Joseph Myers <joseph@codesourcery.com>
21531
21532 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21533 implementing getdents64 using getdents syscall, set d_type if
21534 __ASSUME_GETDENTS32_D_TYPE.
21535
56801c50
AS
215362010-09-16 Andreas Schwab <schwab@redhat.com>
21537
21538 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21539 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21540
dda51327
UD
215412010-09-21 Ulrich Drepper <drepper@redhat.com>
21542
21543 [BZ #12037]
21544 * posix/unistd.h: Undo change of feature selection for ftruncate from
21545 2010-01-11.
21546
8ffcee4a
UD
215472010-09-20 Ulrich Drepper <drepper@redhat.com>
21548
a545ecd9 21549 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21550 detection.
21551
e24f0a8b
AS
215522010-09-20 Andreas Schwab <schwab@redhat.com>
21553
21554 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21555 fanotify_mark.
21556 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21557
7291c56f
AS
215582010-09-14 Andreas Schwab <schwab@redhat.com>
21559
21560 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21561 variables after CHECK_SP call.
21562 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21563
bc5fb037
AS
215642010-09-13 Andreas Schwab <schwab@redhat.com>
21565 Ulrich Drepper <drepper@redhat.com>
21566
21567 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21568 re-relocationg ld.so.
21569 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21570 _dl_init_paths call.
21571 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21572 here anymore.
21573
e66e7419
UD
215742010-09-14 Ulrich Drepper <drepper@redhat.com>
21575
21576 * resolv/res_init.c (__res_vinit): Count the default server we added.
21577
c044aa75
CLT
215782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21579 Ulrich Drepper <drepper@redhat.com>
21580
21581 [BZ #11968]
21582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21583 (____longjmp_chk): Use %ebx for saving value across system call.
21584 Add unwind info.
21585
32cf4069
AS
215862010-09-06 Andreas Schwab <schwab@redhat.com>
21587
21588 * manual/Makefile: Don't mix pattern rules with normal rules.
21589
817328ee
AS
215902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21591
21592 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21593 operation.
21594 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21595 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21596 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21597 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21599 Likewise.
21600
29fddf61
UD
216012010-09-04 Ulrich Drepper <drepper@redhat.com>
21602
21603 [BZ #11979]
21604 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21605 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21606
0959ffc9
UD
216072010-09-02 Ulrich Drepper <drepper@redhat.com>
21608
21609 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21610 * sysdeps/x86_64/addmul_1.S: Likewise.
21611 * sysdeps/x86_64/lshift.S: Likewise.
21612 * sysdeps/x86_64/mul_1.S: Likewise.
21613 * sysdeps/x86_64/rshift.S: Likewise.
21614 * sysdeps/x86_64/sub_n.S: Likewise.
21615 * sysdeps/x86_64/submul_1.S: Likewise.
21616
ece29840
ST
216172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21618
0959ffc9
UD
21619 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21620 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21621 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21622 * bits/sched.h [__need_schedparam]
ece29840 21623 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21624 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21625 (__defined_schedparam): Define to 1.
ece29840
ST
21626 (__sched_param): New structure, identical to sched_param.
21627 (__need_schedparam): Undefine.
21628
e53a31fe
MF
216292010-08-31 Mike Frysinger <vapier@gentoo.org>
21630
fdc0c10d
MF
21631 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21632 (epoll_create1): Declare.
21633
e53a31fe
MF
21634 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21635
a726d796
AS
216362010-08-31 Andreas Schwab <schwab@redhat.com>
21637
21638 [BZ #7066]
21639 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21640 shifting retval into place.
21641
2f3e3dc7
UD
216422010-09-01 Ulrich Drepper <drepper@redhat.com>
21643
f2933da9
UD
21644 * nis/rpcsvc/nis.h: Update copyright notice.
21645 * nis/rpcsvc/nis.x: Likewise.
21646 * nis/rpcsvc/nis_callback.h: Likewise.
21647 * nis/rpcsvc/nis_callback.x: Likewise.
21648 * nis/rpcsvc/nis_object.x: Likewise.
21649 * nis/rpcsvc/nis_tags.h: Likewise.
21650 * nis/rpcsvc/yp.h: Likewise.
21651 * nis/rpcsvc/yp.x: Likewise.
21652 * nis/rpcsvc/ypupd.h: Likewise.
21653 * nis/yp_xdr.c: Likewise.
21654 * nis/ypupdate_xdr.c: Likewise.
21655
2f3e3dc7
UD
21656 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21657 mainly the body of pmap_getport. Add parameters to specify timeouts.
21658 (pmap_getport): Use __libc_rpc_getport.
21659 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21660 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21661 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21662
f3dcc2f9
AS
216632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21664
21665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21666 fanotify_mark.
21667
6d34eb5b
RM
216682010-08-27 Roland McGrath <roland@redhat.com>
21669
21670 * sysdeps/i386/i686/multiarch/Makefile
21671 (CFLAGS-varshift.c): New variable.
21672
9ea3de11
UD
216732010-08-27 Ulrich Drepper <drepper@redhat.com>
21674
c96d23fc
UD
21675 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21676 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21677
9ea3de11
UD
21678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21679
21680 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21681
623aac7f
L
216822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21683
21684 * sysdeps/x86_64/strlen.S: Unroll the loop.
21685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21686 strlen-sse2 strlen-sse2-bsf.
21687 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21688 __strlen_no_bsf if bit_Slow_BSF is set.
21689 (__strlen_sse42): Removed.
21690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21691 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21692
8b2b7715
RM
216932010-08-25 Roland McGrath <roland@redhat.com>
21694
21695 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21696 * sysdeps/x86_64/multiarch/varshift.c: New file.
21697 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21698 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21699 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21700 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21701
e73015f2
L
217022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21703
21704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21705 strlen-sse2 strlen-sse2-bsf.
21706 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21707 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21708 (__strlen_sse2): Removed.
21709 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21710 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21712 bit_Slow_BSF for Atom.
21713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21714 (index_Slow_BSF): Define.
21715 (HAS_SLOW_BSF): Define.
21716
df24a73e
UD
217172010-08-25 Ulrich Drepper <drepper@redhat.com>
21718
21719 [BZ #10851]
21720 * resolv/res_init.c (__res_vinit): When no server address at all
21721 is given default to loopback.
21722
f2ac4868
RM
217232010-08-24 Roland McGrath <roland@redhat.com>
21724
09055553
RM
21725 * configure.in: Remove config-name.h generation.
21726 * configure: Regenerated.
21727 * config-name.in: File removed.
21728 * scripts/config-uname.sh: New file.
21729 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21730 ($(objdir)config-name.h): New target.
21731
f2ac4868
RM
21732 * sunrpc/rpc_parse.h: Avoid nested comment.
21733
73f27d5e
RH
217342010-08-24 Richard Henderson <rth@redhat.com>
21735 Ulrich Drepper <drepper@redhat.com>
21736 H.J. Lu <hongjiu.lu@intel.com>
21737
21738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21740 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21741 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21742 _mm_alignr_epi8 with _mm_loadu_si128.
21743 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21744 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21745 (__m128i_shift_right): Removed.
21746 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21747 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21748 * sysdeps/x86_64/multiarch/varshift.h: New file.
21749 * sysdeps/x86_64/multiarch/varshift.S: New file.
21750
84b9230c
MF
217512010-08-21 Mike Frysinger <vapier@gentoo.org>
21752
21753 * configure.in: Move assembler checks to before sysdep dir checking.
21754
9bbd0ddc
PB
217552010-08-20 Petr Baudis <pasky@suse.cz>
21756
21757 * LICENSES: Sync the sunrpc license.
21758
9da4bb31
UD
217592010-08-19 Ulrich Drepper <drepper@redhat.com>
21760
a7ab6ec8
UD
21761 * sunrpc/auth_des.c: Update copyright notice once again.
21762 * sunrpc/auth_none.c: Likewise.
21763 * sunrpc/auth_unix.c: Likewise.
21764 * sunrpc/authdes_prot.c: Likewise.
21765 * sunrpc/authuxprot.c: Likewise.
21766 * sunrpc/bindrsvprt.c: Likewise.
21767 * sunrpc/clnt_gen.c: Likewise.
21768 * sunrpc/clnt_perr.c: Likewise.
21769 * sunrpc/clnt_raw.c: Likewise.
21770 * sunrpc/clnt_simp.c: Likewise.
21771 * sunrpc/clnt_tcp.c: Likewise.
21772 * sunrpc/clnt_udp.c: Likewise.
21773 * sunrpc/clnt_unix.c: Likewise.
21774 * sunrpc/des_crypt.c: Likewise.
21775 * sunrpc/des_soft.c: Likewise.
21776 * sunrpc/get_myaddr.c: Likewise.
21777 * sunrpc/getrpcport.c: Likewise.
21778 * sunrpc/key_call.c: Likewise.
21779 * sunrpc/key_prot.c: Likewise.
21780 * sunrpc/openchild.c: Likewise.
21781 * sunrpc/pm_getmaps.c: Likewise.
21782 * sunrpc/pm_getport.c: Likewise.
21783 * sunrpc/pmap_clnt.c: Likewise.
21784 * sunrpc/pmap_prot.c: Likewise.
21785 * sunrpc/pmap_prot2.c: Likewise.
21786 * sunrpc/pmap_rmt.c: Likewise.
21787 * sunrpc/rpc/auth.h: Likewise.
21788 * sunrpc/rpc/auth_unix.h: Likewise.
21789 * sunrpc/rpc/clnt.h: Likewise.
21790 * sunrpc/rpc/des_crypt.h: Likewise.
21791 * sunrpc/rpc/key_prot.h: Likewise.
21792 * sunrpc/rpc/netdb.h: Likewise.
21793 * sunrpc/rpc/pmap_clnt.h: Likewise.
21794 * sunrpc/rpc/pmap_prot.h: Likewise.
21795 * sunrpc/rpc/pmap_rmt.h: Likewise.
21796 * sunrpc/rpc/rpc.h: Likewise.
21797 * sunrpc/rpc/rpc_des.h: Likewise.
21798 * sunrpc/rpc/rpc_msg.h: Likewise.
21799 * sunrpc/rpc/svc.h: Likewise.
21800 * sunrpc/rpc/svc_auth.h: Likewise.
21801 * sunrpc/rpc/types.h: Likewise.
21802 * sunrpc/rpc/xdr.h: Likewise.
21803 * sunrpc/rpc_clntout.c: Likewise.
21804 * sunrpc/rpc_cmsg.c: Likewise.
21805 * sunrpc/rpc_common.c: Likewise.
21806 * sunrpc/rpc_cout.c: Likewise.
21807 * sunrpc/rpc_dtable.c: Likewise.
21808 * sunrpc/rpc_hout.c: Likewise.
21809 * sunrpc/rpc_main.c: Likewise.
21810 * sunrpc/rpc_parse.c: Likewise.
21811 * sunrpc/rpc_parse.h: Likewise.
21812 * sunrpc/rpc_prot.c: Likewise.
21813 * sunrpc/rpc_sample.c: Likewise.
21814 * sunrpc/rpc_scan.c: Likewise.
21815 * sunrpc/rpc_scan.h: Likewise.
21816 * sunrpc/rpc_svcout.c: Likewise.
21817 * sunrpc/rpc_tblout.c: Likewise.
21818 * sunrpc/rpc_util.c: Likewise.
21819 * sunrpc/rpc_util.h: Likewise.
21820 * sunrpc/rpcinfo.c: Likewise.
21821 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21822 * sunrpc/rpcsvc/key_prot.x: Likewise.
21823 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21824 * sunrpc/rpcsvc/mount.x: Likewise.
21825 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21826 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21827 * sunrpc/rpcsvc/rex.x: Likewise.
21828 * sunrpc/rpcsvc/rstat.x: Likewise.
21829 * sunrpc/rpcsvc/rusers.x: Likewise.
21830 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21831 * sunrpc/rpcsvc/spray.x: Likewise.
21832 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21833 * sunrpc/rtime.c: Likewise.
21834 * sunrpc/svc.c: Likewise.
21835 * sunrpc/svc_auth.c: Likewise.
21836 * sunrpc/svc_authux.c: Likewise.
21837 * sunrpc/svc_raw.c: Likewise.
21838 * sunrpc/svc_run.c: Likewise.
21839 * sunrpc/svc_simple.c: Likewise.
21840 * sunrpc/svc_tcp.c: Likewise.
21841 * sunrpc/svc_udp.c: Likewise.
21842 * sunrpc/svc_unix.c: Likewise.
21843 * sunrpc/svcauth_des.c: Likewise.
21844 * sunrpc/xcrypt.c: Likewise.
21845 * sunrpc/xdr.c: Likewise.
21846 * sunrpc/xdr_array.c: Likewise.
21847 * sunrpc/xdr_float.c: Likewise.
21848 * sunrpc/xdr_mem.c: Likewise.
21849 * sunrpc/xdr_rec.c: Likewise.
21850 * sunrpc/xdr_ref.c: Likewise.
21851 * sunrpc/xdr_sizeof.c: Likewise.
21852 * sunrpc/xdr_stdio.c: Likewise.
21853
9da4bb31
UD
21854 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21855 handling.
21856
bdaa77bc
AS
218572010-08-19 Andreas Schwab <schwab@redhat.com>
21858
21859 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21860
fe2f79db
LM
218612010-08-19 Luis Machado <luisgpm@br.ibm.com>
21862
21863 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21864 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21865 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21866 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21867 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21868 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21869 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21870 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21871 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21872 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21873 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21874 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21875 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21876 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21877
b9b42ee0
AB
218782010-07-26 Anton Blanchard <anton@samba.org>
21879
21880 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21881 * malloc/arena.c (heap_trim): Likewise.
21882
1c06ba31
UD
218832010-08-16 Ulrich Drepper <drepper@redhat.com>
21884
21885 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21886 here. Not...
21887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21888 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21889
f8392f40
L
218902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21891
21892 * sysdeps/i386/elf/Makefile: New file.
21893
3162f12e
AS
218942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21895
21896 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21897 from fanotify_init.
21898 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21899 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21900
28c90b2c
UD
219012010-08-15 Ulrich Drepper <drepper@redhat.com>
21902
21903 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21904 of strncasecmp_l.
1feccb6c 21905 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21906
ca6bb004
UD
219072010-08-14 Ulrich Drepper <drepper@redhat.com>
21908
e9f82e0d
UD
21909 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21910 strncase_l-nonascii.
21911 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21912 Add strncase_l-ssse3.
21913 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21914 * sysdeps/x86_64/strcmp.S: Likewise.
21915 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21916 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21917 * sysdeps/x86_64/strncase.S: New file.
21918 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21919 * sysdeps/x86_64/strncase_l.S: New file.
21920 * string/Makefile (strop-tests): Add strncasecmp.
21921 * string/test-strncasecmp.c: New file.
21922
21923 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21924 warning.
21925
ca6bb004
UD
21926 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21927 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21928
052fa7b3
AS
219292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21930
21931 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21932
962dba78
UD
219332010-08-12 Ulrich Drepper <drepper@redhat.com>
21934
21935 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21936 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21937 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21938
bebff237
AM
219392010-05-01 Alan Modra <amodra@gmail.com>
21940
21941 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21942 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21943 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21944 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21945 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21946 tidying. Don't tail-call __sigjmp_save for static lib.
21947 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21948 save location.
21949 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21950 (CALL_MCOUNT): Add eh info, and nop after bl.
21951 (TAIL_CALL_SYSCALL_ERROR): New macro.
21952 (PSEUDO_RET): Use it.
21953 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21954 Correct save location of integer regs and cr.
21955 (_dl_profile_resolve): Correct cr save location. Delete nops
21956 after bl when SHARED. Reduce cfi size a little by better
21957 placement of cfi directives.
21958 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21959 make a stack frame. Instead use parm save area as a temp.
21960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21961 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21963 Don't make a stack frame for parent, use parm save area.
21964 Increase child stack frame to 112 bytes. Don't save unused reg,
21965 and adjust reg usage. Set up cfi on error recovery and
21966 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21968 (__makecontext): Add dummy nop after jump to exit.
21969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21970 Use correct parm save area and cr save, reduce stack frame.
21971 Correct cfi for possible PSEUDO_RET frame setup.
21972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21973 Branch to local label emitted by PSEUDO_RET rather than
21974 __syscall_error.
21975
02637374
AS
219762010-08-12 Andreas Schwab <schwab@redhat.com>
21977
21978 [BZ #11904]
21979 * locale/programs/locale.c (print_assignment): New function.
21980 (show_locale_vars): Use it.
21981
c3e2f19b
UD
219822010-08-11 Ulrich Drepper <drepper@redhat.com>
21983
3cdaa6ad
UD
21984 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21985 field.
21986 (struct statfs64): Likewise.
21987 (_STATFS_F_FLAGS): Define.
21988 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21989 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21990 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21991 (ST_VALID): Define locally.
21992 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21993 __statvfs_getflags, use the provided value.
21994 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21995 __ASSUME_STATFS_F_FLAGS.
21996
754f7da3
UD
21997 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21998
10b3bedc
UD
21999 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22000 Add sys/fanotify.h.
22001 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22002 fanotify_mask for GLIBC_2.13.
22003 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22004 fanotify_init and fanotify_mark.
22005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22006 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22007
c08fb0d7
UD
22008 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22009 Add prlimit.
22010 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22011 prlimit64 for GLIBC_2.13.
22012 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22013 prlimit64.
22014 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22015 syscall.
22016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22017 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22018 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22019 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22020 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22021 add prlimit alias.
22022 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22023
15bac72b
UD
22024 [BZ #11903]
22025 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22026 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22027
c3e2f19b
UD
22028 * nss/Makefile: Add rules to build and run tst-nss-test1.
22029 * shlib-versions: Add entry for libnss_test1.
22030 * nss/nss_test1.c: New file.
22031 * nss/tst-nss-test1.c: New file.
22032
22033 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22034 (__nss_configure_lookup): Set appropriate entry in
22035 __nss_configure_lookup to true.
22036 * nss/nsswitch.h: Define enum with indeces of databases in
22037 databases and __nss_database_custom arrays. Declare
22038 __nss_database_custom.
22039 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22040 to avoid using nscd when custom rules are installed.
22041 * nss/getXXbyYY_r.c: Likewise.
22042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22043
22044 * nss/nss_files/files-parse.c: Whitespace fixes.
22045
f15ce4d8
UD
220462010-08-09 Ulrich Drepper <drepper@redhat.com>
22047
22048 [BZ #11883]
22049 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22050 * posix/fnmatch_loop.c: Likewise.
22051
d22e4cc9
AK
220522010-07-17 Andi Kleen <ak@linux.intel.com>
22053
22054 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22055 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22056 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22057 * Versions.def [GLIBC_2.13]: Add.
22058
805bc17d
UD
220592010-08-06 Ulrich Drepper <drepper@redhat.com>
22060
22061 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22062 Also fail if tpwd after pwuid call is NULL.
22063
5a42321d
ST
220642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22065
22066 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22067 when converting to ms.
22068
fd3ebeda
ST
220692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22070
22071 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22072 EOPNOTSUPP errors with ENOTTY.
22073 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22074 EOPNOTSUPP errors with ENOTTY.
22075
73507d3a
UD
220762010-07-31 Ulrich Drepper <drepper@redhat.com>
22077
22078 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22079 Add strcasecmp_l-ssse3.
22080 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22081 strcasecmp.
22082 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22083 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22084 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22085
fe36dd02
UD
220862010-07-30 Ulrich Drepper <drepper@redhat.com>
22087
66f6765a
UD
22088 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22089
42e08a54
UD
22090 * string/Makefile (strop-tests): Add strcasecmp.
22091 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22092 strcasecmp_l-nonascii.
22093 (gen-as-const-headers): Add locale-defines.sym.
22094 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22095 * sysdeps/x86_64/strcasecmp.S: New file.
22096 * sysdeps/x86_64/strcasecmp_l.S: New file.
22097 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22098 * sysdeps/x86_64/locale-defines.sym: New file.
22099 * string/test-strcasecmp.c: New file.
22100
fe36dd02
UD
22101 * string/test-strcasestr.c: Test both ends of the range of characters.
22102 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22103
48cbc0d6
RM
221042010-07-29 Roland McGrath <roland@redhat.com>
22105
76e6d6bc 22106 [BZ #11856]
48cbc0d6
RM
22107 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22108
880113d9
UD
221092010-07-27 Ulrich Drepper <drepper@redhat.com>
22110
22111 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22112 for ld.so.
22113
deb9cabb
AS
221142010-07-27 Andreas Schwab <schwab@redhat.com>
22115
22116 * manual/memory.texi (Malloc Tunable Parameters): Document
22117 M_PERTURB.
22118
1c7570ff
RM
221192010-07-26 Roland McGrath <roland@redhat.com>
22120
22121 [BZ #11840]
22122 * configure.in (-fgnu89-inline check): Set and substitute
22123 gnu89_inline, not libc_cv_gnu89_inline.
22124 * configure: Regenerated.
22125 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22126
24fb0f88
UD
221272010-07-26 Ulrich Drepper <drepper@redhat.com>
22128
22129 * string/test-strnlen.c: New file.
22130 * string/Makefile (strop-tests): Add strnlen.
22131 * string/tester.c (test_strnlen): Add a few more test cases.
22132 * string/tst-strlen.c: Better error reporting.
22133
22134 * sysdeps/x86_64/strnlen.S: New file.
22135
8e96b93a
UD
221362010-07-24 Ulrich Drepper <drepper@redhat.com>
22137
22138 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22139 lower-latency instructions.
22140
dbc676d4
UD
221412010-07-23 Ulrich Drepper <drepper@redhat.com>
22142
22143 * string/test-strcasestr.c: New file.
22144 * string/test-strstr.c: New file.
22145 * string/Makefile (strop-tests): Add strstr and strcasestr.
22146 * string/str-two-way.h: Don't undefine MAX.
22147 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22148
f6a31e0e
AS
221492010-07-21 Andreas Schwab <schwab@redhat.com>
22150
22151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22152 strcasestr-nonascii.
22153 (CFLAGS-strcasestr-nonascii.c): Define.
22154 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22155 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22156 Remove unused attribute.
22157
5dbc3b6c
RM
221582010-07-20 Roland McGrath <roland@redhat.com>
22159
22160 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22161 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22162 ld.so.cache was broken. With it, there is no way to disable dsocaps
22163 like LD_HWCAP_MASK can disable hwcaps.
22164
23d101d8
EPM
221652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22166
22167 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22168
cc9f2e47
UD
221692010-07-16 Ulrich Drepper <drepper@redhat.com>
22170
22171 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22172 call in strcasestr.
22173 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22174 __strcasestr_sse42_nonascii.
22175 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22176 strcasestr-nonascii.c.
22177 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22178
77c1b069
LM
221792010-06-15 Luis Machado <luisgpm@br.ibm.com>
22180
22181 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22182 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22183 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22184 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22185
440566c3
UD
221862010-07-09 Ulrich Drepper <drepper@redhat.com>
22187
22188 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22189 fcntl.
22190
5be9d05d
AS
221912010-07-06 Andreas Schwab <schwab@redhat.com>
22192
c30b7ee2 22193 [BZ #11577]
5be9d05d
AS
22194 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22195 dl_signal_cerror.
22196
8a492a67
UD
221972010-07-06 Ulrich Drepper <drepper@redhat.com>
22198
22199 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22200 _PC_PIPE_BUF using F_GETPIPE_SZ.
22201
713df3d5
RM
222022010-07-05 Roland McGrath <roland@redhat.com>
22203
22204 * manual/arith.texi (Rounding Functions): Fix rint description
22205 implicit in round description.
22206
702e8f14
UD
222072010-07-02 Ulrich Drepper <drepper@redhat.com>
22208
22209 * elf/Makefile: Fix linking for a few tests to make recent linker
22210 happy.
22211
52ed8be9
AS
222122010-06-30 Andreas Schwab <schwab@redhat.com>
22213
22214 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22215 $(common-objpfx)libc_nonshared.a.
22216
f47c9a11
LM
222172010-06-21 Luis Machado <luisgpm@br.ibm.com>
22218
22219 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22220 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22221 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22222 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22223 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22224 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22225 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22226 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22241 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22242 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22243 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22244 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22245 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22246 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22247 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22248 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22249 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22250 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22251 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22252 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22267
6fb8cbcb
L
222682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22269
22270 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22271 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22272 * string/memmove.c (memmove): Renamed to ...
22273 (MEMMOVE): ...this. Default to memmove.
22274 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22275 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22276 (END_CHK): Define.
22277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22278 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22279 mempcpy-ssse3-back memmove-ssse3-back.
22280 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22281 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22282 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22283 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22284 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22285 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22286 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22287 * sysdeps/x86_64/multiarch/memmove.c: New file.
22288 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22289 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22290 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22291 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22292 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22294 Define.
22295 (index_Fast_Copy_Backward): Define.
22296 (HAS_ARCH_FEATURE): Define.
22297 (HAS_FAST_REP_STRING): Define.
22298 (HAS_FAST_COPY_BACKWARD): Define.
22299
4e733bac 223002010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22301
22302 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22303 Restore proper fallback handling.
22304
63c4ed22
UD
223052010-06-19 Ulrich Drepper <drepper@redhat.com>
22306
ac2b484c
UD
22307 [BZ #11701]
22308 * posix/group_member.c (__group_member): Correct checking loop.
22309
63c4ed22
UD
22310 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22311 OOM in getpwuid_r correctly. Return error number when the caller
22312 should return, otherwise -1.
22313 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22314 call returning > 0 value.
22315 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22316
765ade4b
AS
223172010-06-07 Andreas Schwab <schwab@redhat.com>
22318
22319 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22320 libc_nonshared.a from targets in modules-names.
22321
80da2e09
KS
223222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22323
22324 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22325 requires it.
22326
158db122
LM
223272010-06-10 Luis Machado <luisgpm@br.ibm.com>
22328
22329 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22330 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22332 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22333
caa78cf8
AS
223342010-06-02 Andreas Schwab <schwab@redhat.com>
22335
22336 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22337
b2ef2c01
UD
223382010-06-14 Ulrich Drepper <drepper@redhat.com>
22339
22340 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22341 and F_GETPIPE_SZ.
22342 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22343 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22347 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22348
fbd643b6
RM
223492010-06-14 Roland McGrath <roland@redhat.com>
22350
22351 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22352
f32f2869
JJ
223532010-06-07 Jakub Jelinek <jakub@redhat.com>
22354
22355 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22356 __REDIRECT followed by __THROW.
22357 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22358 * posix/getopt.h (getopt): Likewise.
22359
2a50c078
EPM
223602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22361
22362 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22363 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22364 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22365 in AT_FLAGS.
22366 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22367 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22368
eb5ad2eb
LM
223692010-05-28 Luis Machado <luisgpm@br.ibm.com>
22370
22371 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22372
3c88fe1e
L
223732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22374
22375 [BZ #11640]
22376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22377 Properly check family and model.
22378
d2f73151
TY
223792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22380
22381 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22382
ebd2e13d
LM
223832010-05-24 Luis Machado <luisgpm@br.ibm.com>
22384
22385 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22386
b32b8b45
UD
223872010-05-21 Ulrich Drepper <drepper@redhat.com>
22388
22389 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22390 symbol reference.
22391
9acbe24d
AS
223922010-05-19 Andreas Schwab <schwab@redhat.com>
22393
22394 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22395 symbol reference.
22396
f0ccf6ea
AS
223972010-05-21 Andreas Schwab <schwab@redhat.com>
22398
3d04ff3a
AS
22399 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22400 and internal_recvmmsg.
22401 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22402 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22403 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22404 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22405
f0ccf6ea
AS
22406 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22407 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22408 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22409
5b08ac57
AS
224102010-05-20 Andreas Schwab <schwab@redhat.com>
22411
22412 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22413
4828935d
LM
224142010-05-17 Luis Machado <luisgpm@br.ibm.com>
22415
22416 POWER7 optimizations.
22417 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22418 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22419
373d545e
UD
224202010-05-19 Ulrich Drepper <drepper@redhat.com>
22421
22422 * version.h: Update for 2.13 development version.
22423
21a2b1ae
AS
224242010-05-12 Andrew Stubbs <ams@codesourcery.com>
22425
22426 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22427 exceptions. Return 0.
22428
3f7dcb2b
RM
224292010-05-07 Roland McGrath <roland@redhat.com>
22430
22431 * elf/ldconfig.c (main): Add a const.
22432
5f24d53a 224332010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22434
a160f8d8
UD
22435 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22436 (args_options): Add no-idn option.
22437 (ahosts_keys_int): Add idn_flags to ai_flags.
22438 (parse_option): Handle 'i' option to clear idn_flags.
22439
5f24d53a
UD
22440 * malloc/malloc.c (_int_free): Possible race in the most recently
22441 added check. Only act on the data if no current modification
22442 happened.
265bb1ce
UD
22443
22444See ChangeLog.17 for earlier changes.