]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix some typos in comments.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1f529f7d
MP
12012-08-25 Marek Polacek <polacek@redhat.com>
2
3 * time/time.h: Fix some typos in comments.
4
59a629f1
RM
52012-08-23 Roland McGrath <roland@hack.frob.com>
6
7 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8 * posix/tst-rfc3484-2.c: Likewise.
9 * posix/tst-rfc3484-3.c: Likewise.
10
d3bafbc9
SM
112012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12
13 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15
4efcc022
JM
162012-08-23 Joseph Myers <joseph@codesourcery.com>
17
18 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19 #include of fxstatat64.c.
20
3cc3ef96
RM
212012-08-22 Roland McGrath <roland@hack.frob.com>
22
f04e2132
RM
23 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24 * shadow/getspent_r.c: Likewise.
25 * shadow/getspnam.c: Likewise.
26 * shadow/getspnam_r.c: Likewise.
27 * gshadow/getsgent.c: Likewise.
28 * gshadow/getsgent_r.c: Likewise.
29 * gshadow/getsgnam.c: Likewise.
30 * gshadow/getsgnam_r.c: Likewise.
31 * inet/getnetbyad.c: Likewise.
32 * inet/getnetbyad_r.c: Likewise.
33 * inet/getnetbynm.c: Likewise.
34 * inet/getnetbynm_r.c: Likewise.
35 * inet/getnetent.c: Likewise.
36 * inet/getnetent_r.c: Likewise.
37 * inet/getproto.c: Likewise.
38 * inet/getproto_r.c: Likewise.
39 * inet/getprtent.c: Likewise.
40 * inet/getprtent_r.c: Likewise.
41 * inet/getprtname.c: Likewise.
42 * inet/getprtname_r.c: Likewise.
43 * inet/getrpcbyname.c: Likewise.
44 * inet/getrpcbyname_r.c: Likewise.
45 * inet/getrpcbynumber.c: Likewise.
46 * inet/getrpcbynumber_r.c: Likewise.
47 * inet/getrpcent.c: Likewise.
48 * inet/getrpcent_r.c: Likewise.
49 * inet/getaliasent.c: Likewise.
50 * inet/getaliasent_r.c: Likewise.
51 * inet/getaliasname.c: Likewise.
52 * inet/getaliasname_r.c: Likewise.
53 * nscd/getgrgid_r.c: Likewise.
54 * nscd/getgrnam_r.c: Likewise.
55 * nscd/gethstbyad_r.c: Likewise.
56 * nscd/gethstbynm3_r.c: Likewise.
57 * nscd/getpwnam_r.c: Likewise.
58 * nscd/getpwuid_r.c: Likewise.
59 * nscd/getsrvbynm_r.c: Likewise.
60 * nscd/getsrvbypt_r.c: Likewise.
61 * nscd/gai.c: Likewise.
62
c53d909c
RM
63 * configure.in (build_nscd): New substituted variable, set
64 by --disable-build-nscd and defaults to $use_nscd.
65 * configure: Regenerated.
66 * config.make.in (build-nscd): New substituted variable.
67 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
68 Change conditional to require [$(build-nscd) = yes] as well.
69 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70
3cc3ef96
RM
71 [BZ# 13696]
72 * configure.in (use_nscd): New substituted variable, set by
73 --disable-nscd. If enabled, define USE_NSCD.
74 * configure: Regenerated.
75 * config.h.in: Add USE_NSCD.
76 * config.make.in (use-nscd): New substituted variable.
77 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
78 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
79 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
80 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
81 (CFLAGS-getgrnam_r.c): Likewise.
82 (CFLAGS-initgroups.c): Likewise.
83 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
84 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
85 Variables removed.
86 * inet/getnetgrent_r.c
87 (nscd_setnetgrent): New function, broken out of ...
88 (setnetgrent): ... here. Call it.
89 (innetgr): Conditionalize nscd bits on [USE_NSCD].
90 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
91 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
92 * nscd/Makefile (routines, aux): Move definitions after include of
93 Makeconfig. Conditionalize on [$(use-nscd) != no].
94 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
95 Conditionalize on [USE_NSCD].
96 (is_nscd, nscd_init_cb): Likewise.
97 (nss_load_library): Conditionalize init callback on [USE_NSCD].
98 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
99 * nss/nss_db/db-init.c: Likewise.
100 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
101 [USE_NSCD].
102 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
103 (make_request): Use it.
104 (cache_valid_p): New function.
105 (__check_pf): Use it.
106 * NEWS: Add item for --disable-nscd.
107
07e51550
DL
1082012-08-22 Dmitry V. Levin <ldv@altlinux.org>
109
110 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
111 to support sed >= 4.2.1-20-ga9bf076.
112 * configure: Regenerated.
113
35a5b08b
RM
1142012-08-22 Roland McGrath <roland@hack.frob.com>
115
116 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
117 Conditionalize whole body on [IREL].
118
8479f23a
JL
1192012-08-22 Jeff Law <law@redhat.com>
120
121 [BZ #14505]
122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
123 if the family is PF_UNSPEC.
124
48da0b21
MF
1252012-08-22 Mike Frysinger <vapier@gentoo.org>
126
127 * Makerules (lib-version): Rename from V.
128 (install-lib-nosubdir): Change V to lib-version.
129
15d0da8c
WS
1302012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
131
132 [BZ #14252]
133 * powerpc32/power6/wcschr.c: New file.
134 * powerpc32/power6/wcscpy.c: New file.
135 * powerpc32/power6/wcsrchr.c: New file.
136 * powerpc64/power6/wcschr.c: New file.
137 * powerpc64/power6/wcscpy.c: New file.
138 * powerpc64/power6/wcsrchr.c: New file.
139
bcca0895
MK
1402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
141
142 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
143 (two_way_short_needle): Use it.
5a4aaa33
RM
144 * string/strstr.c (AVAILABLE1_USES_J): Define.
145 * string/strcasestr.c: Likewise.
99677e57
MK
146
147 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
148 array references.
149 * string/strcasestr.c (TOLOWER): Make side-effect safe.
150
400726de
MK
151 [BZ #11607]
152 * NEWS: Add an entry.
153 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
154 define their defaults.
155 (two_way_short_needle): Detect end-of-string on-the-fly.
156 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
157 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
158 * string/bug-strcasestr1.c: New test.
159 * string/Makefile: Run it.
160
20a71f2c
MK
1612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
162
163 [BZ #11607]
164 * string/str-two-way.h (two_way_short_needle): Optimize matching of
165 the first character.
166
21ad0558
RM
1672012-08-21 Roland McGrath <roland@hack.frob.com>
168
169 * csu/elf-init.c (__libc_csu_irel): Function removed.
170 * csu/libc-start.c (apply_irel): New function.
171 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
172
0e1d9911
JM
1732012-08-21 Joseph Myers <joseph@codesourcery.com>
174
175 * sysdeps/unix/sysv/linux/kernel-features.h
176 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
177 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
178 <kernel-features.h>.
179 [__NR_fadvise64_64]: Make code unconditional.
180 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
181 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
182 !__NR_fadvise64_64)]: Likewise.
183 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
184 !__NR_fadvise64_64))]: Likewise.
185 [__NR_fadvise64]: Make code unconditional.
186 [!__NR_fadvise64]: Remove conditional code.
187 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
188 <kernel-features.h>.
189 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
190 unconditional.
191 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
192 conditional code.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
194 not include <kernel-features.h>.
195 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
196 unconditional.
197 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
198 conditional code.
199 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
200 include <kernel-features.h>.
201 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
202 unconditional.
203 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
204 conditional code.
205
14a50c9d
WS
2062012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
207
208 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
209 slight instruction rearrangements per scrollpipe analysis.
210 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
211
c0f4faf0
RM
2122012-08-20 Roland McGrath <roland@hack.frob.com>
213
696da859
RM
214 * manual/syslog.texi (syslog; vsyslog, closelog):
215 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
216 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
217
c0f4faf0
RM
218 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
219 DSOCAPS to match condition on defining it.
220
348363b2
JM
2212012-08-20 Joseph Myers <joseph@codesourcery.com>
222
a35cbf28
JM
223 * sysdeps/unix/sysv/linux/kernel-features.h
224 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
226 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
227 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
229 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
230 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
232 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
233 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
234
445f7ecd
JM
235 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
236 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
237
348363b2
JM
238 * sysdeps/unix/sysv/linux/kernel-features.h
239 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
240 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
241 unconditional.
242 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
243 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
244 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
245 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
246 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
247 Make code unconditional.
248 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
249 (__mmap64) [!__NR_mmap2]: Likewise.
250 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
251 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
252 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
253 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
254 [__NR_mmap2]: Make code unconditional.
255 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
256 (__mmap64) [!__NR_mmap2]: Likewise.
257
bc5bc0e5
AK
2582012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
259
260 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
261
88d506de
AJ
2622012-08-18 Andreas Jaeger <aj@suse.de>
263
264 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
265
493387d2
MF
2662012-08-18 Mike Frysinger <vapier@gentoo.org>
267
268 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
269 * include/unistd.h (__have_sock_cloexec): Likewise.
270 (__have_pipe2): Likewise.
271 (__have_dup3): Likewise.
272
a277af22
MF
2732012-08-18 Mike Frysinger <vapier@gentoo.org>
274
275 [BZ #9685]
276 * include/unistd.h (__have_pipe2): Change define into an extern int.
277 (__have_dup3): Likewise.
278 * socket/have_sock_cloexec.c: Include fcntl.h.
279 (__have_pipe2): New variable.
280 (__have_dup3): Likewise.
281
fdab8fd3
MF
2822012-08-17 Mike Frysinger <vapier@gentoo.org>
283
284 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
285
31035e80
MP
2862012-08-17 Marek Polacek <polacek@redhat.com>
287
288 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
289 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
290
3bd9e993
RM
2912012-08-17 Roland McGrath <roland@hack.frob.com>
292
c91c505f
RM
293 * configure.in: Add AC_SUBST for sysheaders.
294 * configure: Regenerated.
295 * config.make.in (sysheaders): New substituted variable.
296
7c6f9d53
RM
297 * sysdeps/unix/mkfifo.c: Moved ...
298 * sysdeps/posix/mkfifo.c: ... here.
299 * sysdeps/unix/mkfifoat.c: Moved ...
300 * sysdeps/posix/mkfifoat.c: ... here.
301
302 * sysdeps/unix/utime.c: Moved ...
303 * sysdeps/posix/utime.c: ... here.
304
305 * sysdeps/unix/time.c: Moved ...
306 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
307 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
308 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
309
310 * sysdeps/unix/nice.c: Moved ...
311 * sysdeps/posix/nice.c: ... here.
312
313 * sysdeps/unix/alarm.c: Moved ...
314 * sysdeps/posix/alarm.c: ... here.
315
3bd9e993
RM
316 * intl/Makefile ($(codeset_mo)): Depend on the input file.
317
d1f09384
JL
3182012-08-17 Jeff Law <law@redhat.com>
319
320 * intl/Makefile (codeset_mo): New variable.
321 ($(codeset_mo)): New target.
322 (tst-codeset.out): Depend on that. Remove explicit rule.
323 (tst-gettext3.out, tst-gettext5.out): Likewise.
324 (LOCPATH-ENV, tst-codeset-ENV): New variables.
325 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
326 * intl/tst-codeset.sh: Remove.
327 * intl/tst-gettext3.sh: Likewise.
328 * intl/tst-gettext5.sh: Likewise.
329
2ae1ae5c
RM
3302012-08-17 Roland McGrath <roland@hack.frob.com>
331
c31fdb83
RM
332 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
333 * sysdeps/unix/syscalls.list: ... here.
334
a0844057
RM
335 * sysdeps/posix/getaddrinfo.c
336 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
337 (gaiconf_init, gaiconf_reload): Use them.
338 [!_STATBUF_ST_NSEC]
339 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
340 Define using time_t rather than struct timespec.
341
750c1f2a
RM
342 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
343 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
344 Macros removed.
345 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
346 [!NO_THREADS].
347 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
348 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
349 Likewise.
350
2ae1ae5c
RM
351 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
352 __libc_cleanup_push argument.
353
e66a42f5
RM
354 * bits/param.h: New file.
355 * misc/sys/param.h: New file.
356 * include/sys/param.h: New file.
357 * misc/Makefile (headers): Add bits/param.h.
358 * sysdeps/generic/sys/param.h: File removed.
359 * sysdeps/unix/sysv/linux/bits/param.h: New file.
360 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
361 * sysdeps/mach/hurd/bits/param.h: New file.
362 * sysdeps/mach/hurd/sys/param.h: New file.
363
b7c08a66
RM
364 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
365 last change.
366
b2e1c562
RM
367 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
368 [_IO_MTSAFE_IO].
369 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
370 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
371 New macros.
372
c75ccd4c
RM
373 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
374 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
375 rather than -D_IO_MTSAFE_IO conditionally.
376 * stdio-common/Makefile (CPPFLAGS): Likewise.
377 * wcsmbs/Makefile (CPPFLAGS): Likewise.
378 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
379 Use $(libio-mtsafe).
380 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
381 of -D_IO_MTSAFE_IO.
382 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
383 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
384 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
385 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
386 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
387 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
388 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
389 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
390 (CFLAGS-fread_u_chk.c): Likewise.
391 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
392 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
393 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
394 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
395 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
396 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
397 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
398 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
399 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
400
401 * libio/Makefile: Test [$(libc-reentrant) = yes]
402 instead of [$(filter %REENTRANT, $(defines)) nonempty].
403
404 * Makeconfig
405 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
406 * sysdeps/pthread/configure: File removed.
407 * sysdeps/pthread/Makeconfig: New file.
408 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
409 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
410
d9195db8
GB
4112012-08-16 Gary Benson <gbenson@redhat.com>
412
413 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
414 unmapping the first object in a namespace.
415
86466cd9
RM
4162012-08-16 Roland McGrath <roland@hack.frob.com>
417
418 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
419 (__internal_setnetgrent): ... this. Add internal_function to
420 definition. Add libc_hidden_def.
421 (setnetgrent): Update caller.
422 (internal_endnetgrent): Renamed to ...
423 (__internal_endnetgrent): ... this. Add internal_function to
424 definition. Add libc_hidden_def.
425 (endnetgrent): Update caller.
426 (internal_getnetgrent_r): Renamed to ...
427 (__internal_getnetgrent_r): ... this. Add internal_function to
428 definition. Add libc_hidden_def.
429 (__getnetgrent_r): Update caller.
430 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
431
c3c8283c
JM
4322012-08-16 Joseph Myers <joseph@codesourcery.com>
433
434 * stdlib/longlong.h: Update from GCC.
435
db1ee0a8
RM
4362012-08-16 Roland McGrath <roland@hack.frob.com>
437
438 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
439 on _QL, which is set by umul_ppmm but never used.
440 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
441 variables, which are set by GMP macros but never used.
442 * stdio-common/_itowa.c (_itowa): Likewise.
443 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
444 * stdlib/mod_1.c (mpn_mod_1): Likewise.
445
30f69637
CD
4462012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
447
448 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
449 struct La_sh_regs is not constant.
450 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
451 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
452 and struct La_sparc64_regs are not constant.
453
93a78ac4
JM
4542012-08-16 Joseph Myers <joseph@codesourcery.com>
455
456 * sysdeps/unix/sysv/linux/kernel-features.h
457 (__ASSUME_POSIX_TIMERS): Remove.
458 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
459 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
460 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
461 Make code unconditional.
462 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
463 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
464 Make code unconditional.
465 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
466 * sysdeps/unix/sysv/linux/clock_nanosleep.c
467 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
468 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
469 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
470 Make code unconditional.
471 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
472 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
473 (__libc_missing_posix_timers): Remove.
474
dd924cd7
RM
4752012-08-15 Roland McGrath <roland@hack.frob.com>
476
4b4f2771
RM
477 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
478 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
479
601c888b
RM
480 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
481
176790a7
RM
482 * elf/dl-sym.c: Include <stdlib.h>.
483
329bc018
RM
484 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
485 constants, which avoids warnings in 32-bit builds.
486
e04e272d
RM
487 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
488 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
489
952bf94a
RM
490 * misc/lseek.c: File moved to ...
491 * io/lseek.c: ... here.
492
7c99b50a
RM
493 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
494
dd924cd7
RM
495 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
496 shifting LEN more than 31 bits at once.
497
b3f479a8
LD
4982012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
499
500 [BZ #14195]
8c4ae0d4
RM
501 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
502 segmentation fault for a case of two empty input strings.
b3f479a8
LD
503 * string/test-strncasecmp.c (check1): Renamed to...
504 (bz12205): ...this.
505 (bz14195): Add new testcase for two empty input strings and N > 0.
506 (test_main): Call new testcase, adapt for renamed function.
507
9c55864e
AJ
5082012-08-15 Andreas Jaeger <aj@suse.de>
509
510 [BZ #14090]
511 * crypt/md5test2.c: New test, based on test supplied by Serge
512 Belyshev <belyshev@depni.sinp.msu.ru>.
513 * crypt/Makefile (xtests): Add md5test-giant..
514 * crypt/Makefile ($(objpfx)md5test-giant): Add.
515
02dcb6c5
PE
5162012-08-15 Paul Eggert <eggert@cs.ucla.edu>
517
518 [BZ #14090]
519 * crypt/md5.c (md5_process_block): Don't assume the buffer
520 length is less than 2**32.
521 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
522 length is less than 2**64.
523
a3f95dcc
RM
5242012-08-15 Roland McGrath <roland@hack.frob.com>
525
be75d758
RM
526 * string/str-two-way.h: Include <sys/param.h>.
527 (MAX): Macro removed.
528
7312ca90
RM
529 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
530 Move #define and #undef of memmove to just before and after
531 including <string.h>.
532
9a0a5486
RM
533 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
534 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
535 and after including <string.h>. Move declarations of
536 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
537 to before #include "string/memmove.c".
538
67cc348d
RM
539 * include/dirent.h: Declare __getdirentries.
540
a3f95dcc
RM
541 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
542 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
543
ca98e171
MF
5442012-08-14 Mike Frysinger <vapier@gentoo.org>
545
546 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
547 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
548 * sysdeps/i386/configure: Regenerated.
549 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
550 STABS_CURRENT_FILE, and STABS_FUN.
551 (END): Remove call to STABS_FUN_END.
552 (STABS_CURRENT_FILE1): Delete.
553 (STABS_CURRENT_FILE): Likewise.
554 (STABS_FUN): Likewise.
555 (STABS_FUN_END): Likewise.
556 (STABS_FUN2): Likewise.
557 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
558 * sysdeps/x86_64/configure: Regenerated.
559
5908bf46
RM
5602012-08-14 Roland McGrath <roland@hack.frob.com>
561
562 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 563 * elf/dl-lookup.c: Likewise.
5908bf46 564
f2c05b9e
JM
5652012-08-14 Joseph Myers <joseph@codesourcery.com>
566
567 * sysdeps/unix/sysv/linux/kernel-features.h
568 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
569 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
570 unconditionally.
571 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
572 unconditionally.
573 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
574 condition on __ASSUME_CLONE_THREAD_FLAGS.
575
e11f5155
AJ
5762012-08-14 Andreas Jaeger <aj@suse.de>
577
578 * sysdeps/i386/fpu/libm-test-ulps: Update.
579
51a9ba86
MK
5802012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
581
2fdd4f78
AJ
582 * include/atomic.h (atomic_exchange_and_add): Split into ...
583 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
584 New atomic macros.
51a9ba86 585
ba6cba9e
MT
5862012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
587
588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
589
42443a47
JL
5902012-08-13 Jeff Law <law@redhat.com>
591
592 * manual/stdio.texi (snprintf): Clarify handling of the trailing
593 null byte in the output string.
594
121dce05
JM
5952012-08-10 Joseph Myers <joseph@codesourcery.com>
596
597 * sysdeps/unix/sysv/linux/kernel-features.h
598 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
599 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
600 (__ASSUME_ARG_MAX_STACK_BASED): Define.
601 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
602 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
603 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
604 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
605
bf51f568
JL
6062012-08-09 Jeff Law <law@redhat.com>
607
608 [BZ #13939]
609 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
610 When avoid_arena is set, don't retry in the that arena. Pick the
611 next one, whatever it might be.
612 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
613 (arena_lock): Pass in new parameter to arena_get2.
614 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
615 arena_get2.
616 (__libc_malloc): Unify retrying after main arena failure with
617 __libc_memalign version.
618 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
619
f85fa270
L
6202012-08-09 H.J. Lu <hongjiu.lu@intel.com>
621
622 [BZ #14166]
623 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
624 to __redirect_strstr.
625 (__strstr_sse42): Use typeof __redirect_strstr.
626 (__strstr_ia32): Likewise.
627 (__libc_strstr): New prototype.
628 (strstr): Renamed to ...
629 (__libc_strstr): This.
630 (strstr): New strong alias of __libc_strstr.
631 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
632 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
633 __redirect_time.
634 Include <time.h>.
635 (__libc_time): New prototype.
636 (time_ifunc): Replace time with __libc_time.
637 (time): New strong alias and hidden definition of __libc_time.
638 (__GI_time): Remove strong alias.
639 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
640 Include <stddef.h>.
641 (memmove): Redefined to __redirect_memmove.
642 (__memmove_sse2): Use typeof __redirect_memmove.
643 (__memmove_ssse3): Likewise.
644 (__memmove_ssse3_back): Likewise.
645 (__libc_memmove): New prototype.
646 (memmove): Renamed to ...
647 (__libc_memmove): This.
648 (memmove): New strong alias of __libc_memmove.
649
33b4a91e
MS
6502012-08-08 Mark Salter <msalter@redhat.com>
651
652 * elf/elf.h
653 (R_MN10300_TLS_GD): Define.
654 (R_MN10300_TLS_LD): Likewise.
655 (R_MN10300_TLS_LDO): Likewise.
656 (R_MN10300_TLS_GOTIE): Likewise.
657 (R_MN10300_TLS_IE): Likewise.
658 (R_MN10300_TLS_LE): Likewise.
659 (R_MN10300_TLS_DTPMOD): Likewise.
660 (R_MN10300_TLS_DTPOFF): Likewise.
661 (R_MN10300_TLS_TPOFF): Likewise.
662 (R_MN10300_SYM_DIFF): Likewise.
663 (R_MN10300_ALIGN): Likewise.
664 (R_MN10300_NUM): Update.
665
b36137f1
JM
6662012-08-08 Joseph Myers <joseph@codesourcery.com>
667
668 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
669 Remove.
670
cdd915fd
RM
6712012-08-08 Roland McGrath <roland@hack.frob.com>
672
a2433aac
RM
673 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
674
cdd915fd
RM
675 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
676 sysdeps/unix -> sysdeps/posix move.
677 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
678
bf9b740a
AM
6792012-08-07 Allan McRae <allan@archlinux.org>
680
681 [BZ #14303]
682 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
683 (SUNOS_CPP): Likewise.
684 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
685 not found.
686 (open_input): Call CPP using execvp.
687
93df14ee
JM
6882012-08-07 Joseph Myers <joseph@codesourcery.com>
689
690 * sysdeps/unix/sysv/linux/kernel-features.h
691 (__ASSUME_PROT_GROWSUPDOWN): Remove.
692 (__ASSUME_NO_CLONE_DETACHED): Likewise.
693 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
694 (__ASSUME_WAITID_SYSCALL): Likewise.
695 * sysdeps/unix/sysv/linux/dl-execstack.c
696 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
697 code unconditional.
698 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
699 conditional code.
700 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
701 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
702 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
703 code.
704 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
705 unconditional.
706 [__ASSUME_WAITID_SYSCALL]: Likewise.
707 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
708
d34689de
RM
7092012-08-07 Roland McGrath <roland@hack.frob.com>
710
a281decc
RM
711 * sysdeps/unix/closedir.c: Renamed to ...
712 * sysdeps/posix/closedir.c: ... here.
713 * sysdeps/unix/dirfd.c: Renamed to ...
714 * sysdeps/posix/dirfd.c: ... here.
715 * sysdeps/unix/dirstream.h: Renamed to ...
716 * sysdeps/posix/dirstream.h: ... here.
717 * sysdeps/unix/fdopendir.c: Renamed to ...
718 * sysdeps/posix/fdopendir.c: ... here.
719 * sysdeps/unix/opendir.c: Renamed to ...
720 * sysdeps/posix/opendir.c: ... here.
721 * sysdeps/unix/readdir.c: Renamed to ...
722 * sysdeps/posix/readdir.c: ... here.
723 * sysdeps/unix/readdir_r.c: Renamed to ...
724 * sysdeps/posix/readdir_r.c: ... here.
725 * sysdeps/unix/rewinddir.c: Renamed to ...
726 * sysdeps/posix/rewinddir.c: ... here.
727 * sysdeps/unix/seekdir.c: Renamed to ...
728 * sysdeps/posix/seekdir.c: ... here.
729 * sysdeps/unix/telldir.c: Renamed to ...
730 * sysdeps/posix/telldir.c: ... here.
731 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
732 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
733 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
734 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
735
22895b47
RM
736 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
737 * bits/fcntl.h: ... here.
738
707a53b6
RM
739 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
740 not 0.
741 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
742 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
743 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
744 (struct flock): Move l_start, l_len to the beginning.
745 Use __pid_t for l_pid.
746 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
747 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
748 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
749 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
750 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
751 [__USE_LARGEFILE64] (struct flock64): New type.
752 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
753
f0bd3e25
RM
754 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
755 * bits/dirent.h: ... here.
756
d34689de
RM
757 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
758 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
759
6dad2c06
JM
7602012-08-07 Joseph Myers <joseph@codesourcery.com>
761
762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
763 Change from 2.6.0 to 2.6.16.
764 * sysdeps/unix/sysv/linux/configure: Regenerated.
765 * sysdeps/unix/sysv/linux/kernel-features.h
766 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
767 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
768 version.
769 (__ASSUME_UTIMES): Likewise.
770 (__ASSUME_CLONE_STOPPED): Remove.
771 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
772 architectures, not kernel version.
773 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
774 (__ASSUME_NO_CLONE_DETACHED): Likewise.
775 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
776 (__ASSUME_WAITID_SYSCALL): Likewise.
777 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
778 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
779 * README: State 2.6.16 as minimum Linux kernel version. Do not
780 refer to older versions.
781
03af9520
RM
7822012-08-06 Roland McGrath <roland@hack.frob.com>
783
8e49df1d
RM
784 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
785 Define alphasort64 as an alias.
786 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
787 Define versionsort64 as an alias.
788 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
789 Define scandir64 as an alias.
790 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
791 Define scandirat64 as an alias.
792 * dirent/alphasort64.c (alphasort64):
793 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
794 * dirent/versionsort64.c: Likewise.
795 * dirent/scandir64.c: Likewise.
796 * dirent/scandirat64.c: Likewise.
797 * sysdeps/wordsize-64/alphasort.c: File removed.
798 * sysdeps/wordsize-64/alphasort64.c: File removed.
799 * sysdeps/wordsize-64/scandir.c: File removed.
800 * sysdeps/wordsize-64/scandir64.c: File removed.
801 * sysdeps/wordsize-64/scandirat.c: File removed.
802 * sysdeps/wordsize-64/scandirat64.c: File removed.
803 * sysdeps/wordsize-64/versionsort.c: File removed.
804 * sysdeps/wordsize-64/versionsort64.c: File removed.
805 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
806 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
807 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
808 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
809 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
810 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
811 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
812 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
813
814 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
816 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
818 [defined __arch64__ || defined __sparcv9]
819 (__INO_T_MATCHES_INO64_T): New macro.
820 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
821 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
822 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
823 * sysdeps/unix/sysv/linux/bits/dirent.h
824 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
825 (_DIRENT_MATCHES_DIRENT64): New macro.
826
03af9520
RM
827 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
828 Define lockf64 as an alias.
829 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
830 Define fseeko64 as an alias.
831 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
832 Define ftello64 as an alias.
833 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
834 Define _IO_fgetpos64 and fgetpos64 as aliases.
835 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
836 Define _IO_fsetpos64 and fsetpos64 as aliases.
837 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
838 Conditionalize body on this.
839 * libio/fseeko64.c: Likewise.
840 * libio/ftello64.c: Likewise.
841 * libio/iofgetpos64.c: Likewise.
842 * libio/iofsetpos64.c: Likewise.
843 * sysdeps/wordsize-64/lockf.c: File removed.
844 * sysdeps/wordsize-64/lockf64.c: File removed.
845 * sysdeps/wordsize-64/fseeko.c: File removed.
846 * sysdeps/wordsize-64/fseeko64.c: File removed.
847 * sysdeps/wordsize-64/ftello.c: File removed.
848 * sysdeps/wordsize-64/ftello64.c: File removed.
849 * sysdeps/wordsize-64/iofgetpos.c: File removed.
850 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
851 * sysdeps/wordsize-64/iofsetpos.c: File removed.
852 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
853 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
854 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
855 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
856 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
857 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
858 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
859 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
860 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
862 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
863
864 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
865 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
866 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
868 [defined __arch64__ || defined __sparcv9]
869 (__OFF_T_MATCHES_OFF64_T): New macro.
870 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
871 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
872 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
873 (__OFF_T_MATCHES_OFF64_T): New macro.
874
c5757acd
L
8752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
876
877 * stdlib/secure-getenv.c (__secure_getenv): Replace
878 GLIBC_2_16 with GLIBC_2_17.
879
3a31811e
L
8802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
881
882 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
883 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
884
faa2bccb
DM
8852012-08-03 David S. Miller <davem@davemloft.net>
886
887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
888
85fe1997
JM
8892012-08-03 Joseph Myers <joseph@codesourcery.com>
890
891 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
892 Remove.
893 (__ASSUME_CORRECT_SI_PID): Likewise.
894 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
895 (__ASSUME_TMPFS_NAME): Likewise.
896 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
897 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
898 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
899 (HAVE_AUX_SECURE): Make definition unconditional.
900 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
901 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
902
4f75b7a0
RM
9032012-08-03 Roland McGrath <roland@hack.frob.com>
904
905 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
906 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
907 * sysdeps/mach/hurd/eloop-threshold.h: New file.
908 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
909 __eloop_threshold instead of SYMLOOP_MAX.
910
911 * sysdeps/generic/eloop-threshold.h: New file.
912 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
913 of MAXSYMLINKS.
914 * elf/chroot_canon.c (chroot_canon): Likewise.
915
7aab07e4
JM
9162012-08-03 Joseph Myers <joseph@codesourcery.com>
917
918 [BZ #13717]
919 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
920 Change to 2.6.0 everywhere.
921 * sysdeps/unix/sysv/linux/configure: Regenerated.
922 * sysdeps/unix/sysv/linux/kernel-features.h
923 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
924 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
925 kernel versions.
926 (__ASSUME_POSIX_TIMERS): Define unconditionally.
927 (__ASSUME_FUTEX_REQUEUE): Remove.
928 (__ASSUME_STATFS64): Define unconditionally.
929 (__ASSUME_AT_SECURE): Likewise.
930 (__ASSUME_CORRECT_SI_PID): Likewise.
931 (__ASSUME_TGKILL): Define without depending on kernel version for
932 i386.
933 (__ASSUME_UTIMES): Likewise.
934 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
935 kernel version.
936 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
937 (__ASSUME_TMPFS_NAME): Likewise.
938 * README: Update reference to Linux kernel versions.
939
b67e9372
MP
9402012-08-02 Marek Polacek <polacek@redhat.com>
941
1f529f7d 942 [BZ# 14150]
b67e9372
MP
943 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
944 libc_cv_asm_type_prefix with %.
945 * configure: Regenerated.
d2441631
RM
946 * include/libc-symbols.h: Remove comment about
947 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
948 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
949 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
950 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
951 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
952 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
953 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
954 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
955 * elf/tst-unique2mod1.c: Likewise.
956 * elf/tst-unique1mod2.c: Likewise.
957 * elf/tst-unique1mod1.c: Likewise.
958 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
959 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
960 Replace ASM_TYPE_DIRECTIVE with .type.
961 * sysdeps/s390/s390-64/sysdep.h: Likewise.
962 * sysdeps/i386/sysdep.h: Likewise.
963 * sysdeps/x86_64/sysdep.h: Likewise.
964 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
966 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 967 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
968 * sysdeps/powerpc/powerpc32/sysdep.h:
969 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
970 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
971 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
972 * sysdeps/i386/fpu/e_powf.S: Likewise.
973 * sysdeps/i386/fpu/e_expl.S: Likewise.
974 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
975 * sysdeps/i386/fpu/e_acosh.S: Likewise.
976 * sysdeps/i386/fpu/e_pow.S: Likewise.
977 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
978 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
979 * sysdeps/i386/fpu/s_expm1.S: Likewise.
980 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
981 * sysdeps/i386/fpu/e_log2.S: Likewise.
982 * sysdeps/i386/fpu/e_log2l.S: Likewise.
983 * sysdeps/i386/fpu/e_scalb.S: Likewise.
984 * sysdeps/i386/fpu/e_powl.S: Likewise.
985 * sysdeps/i386/fpu/e_log10f.S: Likewise.
986 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
987 * sysdeps/i386/fpu/e_logl.S: Likewise.
988 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
989 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
990 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
991 * sysdeps/i386/fpu/e_log2f.S: Likewise.
992 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
993 * sysdeps/i386/fpu/e_log.S: Likewise.
994 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
995 * sysdeps/i386/fpu/e_logf.S: Likewise.
996 * sysdeps/i386/fpu/e_log10l.S: Likewise.
997 * sysdeps/i386/fpu/e_atanh.S: Likewise.
998 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
999 * sysdeps/i386/fpu/e_log10.S: Likewise.
1000 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1001 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1002 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1003 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1004 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1005 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1006 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1007 * sysdeps/i386/i686/strtok.S: Likewise.
1008 * sysdeps/i386/i386-mcount.S: Likewise.
1009 * sysdeps/i386/strtok.S: Likewise.
1010 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1011 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1012 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1013 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1014 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1015 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1016 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1017 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1018 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1019 * sysdeps/x86_64/_mcount.S: Likewise.
1020 * sysdeps/x86_64/strtok.S: Likewise.
1021 * sysdeps/sh/_mcount.S: Likewise.
1022
2747bf9a
RM
10232012-08-01 Roland McGrath <roland@hack.frob.com>
1024
1025 * libio/iofopen.c: Include <fcntl.h>.
1026 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1027 (_IO_fopen64, fopen64): Define as aliases.
1028 * libio/iofopen64.c: Include <fcntl.h>.
1029 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1030 Conditionalize body on this.
1031 * sysdeps/wordsize-64/iofopen.c: File removed.
1032 * sysdeps/wordsize-64/iofopen64.c: File removed.
1033
3fb791b8
MP
10342012-08-01 Marek Polacek <polacek@redhat.com>
1035
1036 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1037 Use dlfcn directly instead of a variable.
1038 (binfmt-subdir): Do not define.
1039 (dlfcn): Likewise.
1040
a9f1039f
JM
10412012-08-01 Joseph Myers <joseph@codesourcery.com>
1042
23bddc06
JM
1043 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1044 Remove all definitions.
1045 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1046 <kernel-features.h>.
1047 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1048 (miss_F_GETOWN_EX): Remove all definitions.
1049 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1050 macro definition.
1051 [!__ASSUME_FCNTL64]: Remove conditional code.
1052 [__ASSUME_FCNTL64]: Make code unconditional.
1053 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1054 <kernel-features.h>.
1055 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1056 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1057 (lockf64) [__NR_fcntl64]: Make code unconditional.
1058 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1059
a9f1039f
JM
1060 * sysdeps/unix/sysv/linux/kernel-features.h
1061 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1062 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1063 Make code unconditional.
1064 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1065 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1067 [__NR_vfork]: Make code unconditional.
1068 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1069 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1071 [__NR_vfork]: Make code unconditional.
1072 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1073 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1074
09c0ee5f
RM
10752012-08-01 Roland McGrath <roland@hack.frob.com>
1076
48aec5b9
RM
1077 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1078 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1079
cd97c966
RM
1080 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1081 Define mkstemp64 as an alias.
3f55550c
RM
1082 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1083 Define mkstemps64 as an alias.
cd97c966
RM
1084 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1085 Define mkostemp64 as an alias.
b8625cfc
RM
1086 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1087 Define mkostemps64 as an alias.
cd97c966
RM
1088 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1089 Conditionalize body on this.
1090 * misc/mkostemp64.c: Likewise.
b8625cfc 1091 * misc/mkostemps64.c: Likewise.
3f55550c 1092 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1093 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1094 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1095 * sysdeps/wordsize-64/mkostemp.c: File removed.
1096 * sysdeps/wordsize-64/mkstemp.c: File removed.
1097 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1099 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1100 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1101
09c0ee5f
RM
1102 [BZ #14138]
1103 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1104 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1105 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1106 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1107
1108 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1109 compat_symbol macros from <shlib-compat.h> rather than the underlying
1110 default_symbol_version and symbol_version macros, so that DEFAULT
1111 lines in shlib-versions are respected.
1112 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1113
7e66ee51
FW
11142012-08-01 Florian Weimer <fweimer@redhat.com>
1115
1116 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1117 Declare with warn_unused_result.
1118 (setgid, setregid, setegid, setresgid): Likewise.
1119 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1120 Likewise.
1121 * WUR-REPORT: Remove set*id functions.
1122
d2a54255
PT
11232012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1124
1125 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1126
7ecdb005
RM
11272012-07-31 Roland McGrath <roland@hack.frob.com>
1128
789bd351
RM
1129 * include/sys/socket.h (__libc_accept, __libc_accept4):
1130 Add attribute_hidden.
1131 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1132
40ce302d
RM
1133 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1134 use of PTR_MANGLE.
1135 * inet/getnetgrent_r.c (setup): Likewise.
1136
7ecdb005
RM
1137 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1138
e2eabb2c
DM
11392012-07-31 David S. Miller <davem@davemloft.net>
1140
1141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1142
d0419dbf
JM
11432012-07-31 Joseph Myers <joseph@codesourcery.com>
1144
1145 [BZ #13629]
1146 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1147 value between 1.0 and 2.0 and smaller part has absolute value less
1148 than 1.0.
1149 * math/s_clog10.c (__clog10): Likewise.
1150 * math/s_clog10f.c (__clog10f): Likewise.
1151 * math/s_clog10l.c (__clog10l): Likewise.
1152 * math/s_clogf.c (__clogf): Likewise.
1153 * math/s_clogl.c (__clogl): Likewise.
1154 * math/libm-test.inc (clog_test): Add more tests.
1155 (clog10_test): Likewise.
1156 * sysdeps/i386/fpu/libm-test-ulps: Update.
1157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1158
2bc13872
FW
11592012-07-31 Florian Weimer <fweimer@redhat.com>
1160
1161 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1162 Exit with zero in case no suitable GID is found, and write a
1163 message to standard error.
1164
bea9b193
RM
11652012-07-30 Roland McGrath <roland@hack.frob.com>
1166
1167 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1168 rather than to 1.
1169 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1170 (MAXPATHLEN): Removed.
1171 (NOGROUP, NODEV): New macros.
1172 (setbit, clrbit, isset, isclr): New macros.
1173 (howmany, roundup, powerof2): New macros.
1174 (DEV_BSIZE): New macro.
1175
1176 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1177 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1178
1179 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1180 definition on [!__NO_LONG_DOUBLE_MATH].
1181
1182 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1183 PTR_MANGLE and PTR_DEMANGLE.
1184
1185 * socket/accept4.c (accept4): Rename to __libc_accept4.
1186 Define accept4 as a weak alias.
1187
1188 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1189 on [_DIRENT_HAVE_D_TYPE].
1190 * io/ftw.c (ftw_dir): Likewise.
1191
1192 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1193
1194 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1195
1196 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1197 Use the BSD numbers rather than the arbitrary ones we had.
1198 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1199 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1200 (SIGXCPU, SIGXFSZ): New macros.
1201 (_NSIG): Now 32.
1202
1203 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1204 initializer on [_LIBC_REENTRANT].
1205
1206 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1207 definitions inside [_POSIX_MAPPED_FILES].
1208
1209 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1210
1211 * dirent/opendir.c: Include <fcntl.h>.
1212
1213 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1214 (__libc_getspecific): Likewise.
1215 (__libc_key_create): Likewise.
1216
1217 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1218 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1219 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1220 (tmpfile64): Define as alias.
1221 * sysdeps/wordsize-64/tmpfile.c: File removed.
1222 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1223 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1224 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1225
1226 * stdio-common/vfscanf.c: Include <stdbool.h>.
1227 * nss/makedb.c: Likewise.
1228 * stdio-common/_i18n_number.h: Likewise.
1229 * argp/argp-help.c: Likewise.
1230 * posix/wordexp.c: Likewise.
1231 * sysdeps/posix/spawni.c: Likewise.
1232 * nss/nss_files/files-initgroups.c: Likewise.
1233 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1234 * nss/nss_files/files-initgroups.c: Likewise.
1235 * nss/nss_db/db-netgrp.c: Likewise.
1236 * nss/nss_db/db-initgroups.c: Likewise.
1237 * io/fchmodat.c: Include <sys/stat.h>.
1238
1239 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1240 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1241
1242 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1243 [HAVE_MMAP].
1244
1245 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1246 Add multiple inclusion protection.
1247
e5abc686
DM
12482012-07-27 David S. Miller <davem@davemloft.net>
1249
1250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1251
815e6fa3
GB
12522012-07-27 Gary Benson <gbenson@redhat.com>
1253
1254 [BZ #14298]
1255 * elf/rtld.c: Include <stap-probe.h>.
1256 (dl_main): Added static probes "init_start" and "init_complete".
1257 * elf/dl-load.c: Include <stap-probe.h>.
1258 (lose): Take new parameter "nsid".
1259 Added static probe "map_failed".
1260 (_dl_map_object_from_fd): Pass namespace id to lose.
1261 Added static probe "map_start".
1262 (open_verify): Pass namespace id to lose.
1263 * elf/dl-open.c: Include <stap-probe.h>.
1264 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1265 and "reloc_complete".
1266 * elf/dl-close.c: Include <stap-probe.h>.
1267 (_dl_close_worker): Added static probes "unmap_start" and
1268 "unmap_complete".
1269 * elf/rtld-debugger-interface.txt: New file documenting the above.
1270
9f98c16c
RM
12712012-07-26 Roland McGrath <roland@hack.frob.com>
1272
1273 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1274 rather than a string variable.
1275 * sunrpc/rpc_main.c (h_output): Likewise.
1276 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1277
f3c22df3
PT
12782012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1279
1280 * inet/check_native.c: New file.
1281
3129cfc6
JM
12822012-07-26 Joseph Myers <joseph@codesourcery.com>
1283
da865e95
JM
1284 [BZ #13629]
1285 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1286 if larger part has absolute value 1.0.
1287 * math/s_clog10.c (__clog10): Likewise.
1288 * math/s_clog10f.c (__clog10f): Likewise.
1289 * math/s_clog10l.c (__clog10l): Likewise.
1290 * math/s_clogf.c (__clogf): Likewise.
1291 * math/s_clogl.c (__clogl): Likewise.
1292 * math/libm-test.inc (clog_test): Add more tests.
1293 (clog10_test): Likewise.
1294 * sysdeps/i386/fpu/libm-test-ulps: Update.
1295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1296
3129cfc6
JM
1297 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1298 (pltexit): Likewise.
1299 (La_regs): Likewise.
1300 (La_retval): Likewise.
1301 (int_retval): Likewise.
1302 Update #error for removed macros to refer only to definitions in
1303 tst-audit.h.
1304 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1305 macro.
1306 (pltexit): Likewise.
1307 (La_regs): Likewise.
1308 (La_retval): Likewise.
1309 (int_retval): Likewise.
1310 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1311 macro.
1312 (pltexit): Likewise.
1313 (La_regs): Likewise.
1314 (La_retval): Likewise.
1315 (int_retval): Likewise.
1316 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1317 macro.
1318 (pltexit): Likewise.
1319 (La_regs): Likewise.
1320 (La_retval): Likewise.
1321 (int_retval): Likewise.
1322 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1323 macro.
1324 (pltexit): Likewise.
1325 (La_regs): Likewise.
1326 (La_retval): Likewise.
1327 (int_retval): Likewise.
1328 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1329 macro.
1330 (pltexit): Likewise.
1331 (La_regs): Likewise.
1332 (La_retval): Likewise.
1333 (int_retval): Likewise.
1334 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1335 macro.
1336 (pltexit): Likewise.
1337 (La_regs): Likewise.
1338 (La_retval): Likewise.
1339 (int_retval): Likewise.
1340 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1341 macro definitions in tst-audit.h.
1342 * sysdeps/i386/tst-audit.h: New file.
1343 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1344 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1345 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1346 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1347 * sysdeps/sh/tst-audit.h: Likewise.
1348 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1349 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1350 * sysdeps/x86_64/tst-audit.h: Likewise.
1351
bfc07087
AJ
13522012-07-26 Andreas Jaeger <aj@suse.de>
1353
b1b2aaf8
AJ
1354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1355 ptrace.
1356
1357 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1358 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1359 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1360 PTRACE_O_MASK.
1361 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1362 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1363 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1364
bfc07087
AJ
1365 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1366 value.
1367
1368 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1369 _sigsys.
1370 (si_call_addr, si_syscall, si_arch): Define new macro.
1371 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1372 _sigsys.
1373 (si_call_addr, si_syscall, si_arch): Define new marcro.
1374 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1375 _sigsys.
1376 (si_call_addr, si_syscall, si_arch): Define new macro.
1377 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1378 _sigsys.
1379 (si_call_addr, si_syscall, si_arch): Define new macro.
1380
89b4b02f
JM
13812012-07-25 Joseph Myers <joseph@codesourcery.com>
1382
1383 [BZ #13717]
1384 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1385 Change to 2.4.21 where previously 2.4.1.
1386 * sysdeps/unix/sysv/linux/configure: Regenerated.
1387 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1388 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1389 Linux kernel version.
1390 (__ASSUME_STD_AUXV): Remove.
1391 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1392 kernel version.
1393 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1394 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1395 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1396 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1397 (__ASSUME_NETLINK_SUPPORT): Likewise.
1398 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1399 (__no_netlink_support): Remove conditional definition.
1400 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1401 Remove.
1402 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1403 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1404 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1405 (if_nameindex_ioctl): Remove.
1406 (if_nameindex_netlink): Do not handle __no_netlink_support.
1407 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1408 code.
1409 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1410 Remove conditional code.
1411 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1412 code.
1413 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1414 unconditional.
1415 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1416 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1417 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1418 Remove.
1419 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1420 [!__ASSUME_STD_AUXV]: Remove conditional code.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1422 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1423 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1425 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1426 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1427 code.
1428 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1430 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1431 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1432 conditional code.
1433 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1435 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1436 code.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1438 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1439 conditional code.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1441 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1442 code unconditional.
1443 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1444 conditional code.
1445 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1446 unconditional.
1447 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1448 conditional code.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1450 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1451 unconditional.
1452 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1453 conditional code.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1455 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1456 code unconditional.
1457 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1458 conditional code.
1459 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1460 unconditional.
1461 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1462 conditional code.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1464 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1465 code unconditional.
1466 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1467 conditional code.
1468 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1469 unconditional.
1470 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1471 conditional code.
1472
842a39cd
AS
14732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1474
1475 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1476 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1477 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1478 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1479 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1480 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1481 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1482 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1483 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1484 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1485 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1486 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1487 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1488 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1489 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1490 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1491 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1492 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1493 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1495 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1498
84b3fd84
FW
14992012-07-25 Florian Weimer <fweimer@redhat.com>
1500
1501 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1502 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1503 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1504 Introduce __libc_secure_getenv.
0c7936d5
FW
1505 * stdlib/Versions (2.17): Add secure_getenv
1506 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1507 * stdlib/secure-getenv.c: Rename __secure_getenv to
1508 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1509 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1510 * stdlib/tst-secure-getenv.c: New.
1511 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1512 * manual/startup.texi (Environment Access): Document
1513 secure_getenv.
84b3fd84
FW
1514 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1515 __libc_secure_getenv.
1516 * inet/ruserpass.c (ruserpass): Likewise.
1517 * malloc/mtrace.c (mtrace): Likewise.
1518 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1519 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1520 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1521 * sysdeps/posix/tempname.c: Likewise. Evaluate
1522 HAVE_SECURE_GETENV.
1523 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1524 __secure_getenv to __libc_secure_getenv.
84b3fd84 1525 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1527 Likewise.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1529 Likewise.
1530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1532 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1537
56e49b71
JM
15382012-07-25 Joseph Myers <joseph@codesourcery.com>
1539
1540 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1541 (struct La_i86_retval): Likewise.
1542 (struct La_x86_64_regs): Likewise.
1543 (struct La_x86_64_retval): Likewise.
1544 (struct La_x32_regs): Likewise.
1545 (struct La_x32_retval): Likewise.
1546 (struct La_ppc32_regs): Likewise.
1547 (struct La_ppc32_retval): Likewise.
1548 (struct La_ppc64_regs): Likewise.
1549 (struct La_ppc64_retval): Likewise.
1550 (struct La_sh_regs): Likewise.
1551 (struct La_sh_retval): Likewise.
1552 (struct La_s390_32_regs): Likewise.
1553 (struct La_s390_32_retval): Likewise.
1554 (struct La_s390_64_regs): Likewise.
1555 (struct La_s390_64_retval): Likewise.
1556 (struct La_sparc32_regs): Likewise.
1557 (struct La_sparc32_retval): Likewise.
1558 (struct La_sparc64_regs): Likewise.
1559 (struct La_sparc64_retval): Likewise.
1560 (struct audit_ifaces): Remove architecture-specific pltenter and
1561 pltexit members.
1562 * sysdeps/i386/ldsodefs.h: New file.
1563 * sysdeps/powerpc/ldsodefs.h: Likewise.
1564 * sysdeps/s390/ldsodefs.h: Likewise.
1565 * sysdeps/sh/ldsodefs.h: Likewise.
1566 * sysdeps/sparc/ldsodefs.h: Likewise.
1567 * sysdeps/x86_64/ldsodefs.h: Likewise.
1568
354691b7
MP
15692012-07-25 Marek Polacek <polacek@redhat.com>
1570
1571 [BZ #6808]
1572 * math/libm-test.inc (yn_test): Add another test.
1573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1574 to ERANGE when the result is +-Inf.
1575 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1576 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1577 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1578 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1579
bf9e2071
JM
15802012-07-24 Joseph Myers <joseph@codesourcery.com>
1581
1582 * conform/data/time.h-data (NULL): Use macro-constant. Require
1583 equal to 0.
1584 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1585 clock_t.
1586 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1587
57633811
TS
15882012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1589
1590 * configure.in <sysdeps resolving>: Correct printing
1591 Implies_before.
1592 * configure: Regenerate.
1593
c23c33b0
TS
15942012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1595
1596 * math/w_ilogb.c: Include <limits.h>.
1597 * math/w_ilogbl.c: Likewise.
1598
b5982523
JM
15992012-07-20 Joseph Myers <joseph@codesourcery.com>
1600
1601 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1602 va_copy. Document allowing for unavailable va_copy only as
1603 pre-C99 compatibility.
1604 * manual/string.texi (Copying and Concatenation): Use va_copy
1605 instead of __va_copy in concat example.
1606
ac4ea442
PT
16072012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1608
1609 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1610 (__sendto): Use create_address_port. Initialize APORT and deallocate
1611 it if not null.
1612
f98eafbd
PT
1613 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1614 with O_NOLINK passed to __file_name_lookup.
1615
898c7aab
PT
1616 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1617 with O_NOLINK passed to __file_name_lookup.
1618
0ced335a
PT
1619 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1620 negative N or less than NGIDS.
1621
b3404dbd
PT
1622 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1623 type to string_t. Set ERANGE as errno and return it if NAME is not big
1624 enough. Use memcpy instead of strncpy.
1625
0f48659e
JM
16262012-07-20 Joseph Myers <joseph@codesourcery.com>
1627
1628 * elf/Makefile (check-data): Remove.
1629 (localplt.data): New vpath directive.
1630 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1631 instead of $(check-data).
1632 * scripts/data/localplt-generic.data: Move to ...
1633 * sysdeps/generic/localplt.data: ... here.
1634 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1635 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1636 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1638 ... here.
1639 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1641 ... here.
1642 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1644 ... here.
1645 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1647 ... here.
1648 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1650 ... here.
1651 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1653 ... here.
1654
d37cbdaa
AZ
16552012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656
1657 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1658 PPC32 and PPC64 files.
1659 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1660 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1661
46f85fc2
AK
16622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1663
1664 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1665 __makecontext_ret to ...
1666 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1667 ... here and call exit if uc_link is NULL. New file.
1668 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1669 __makecontext_ret.S.
1670 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1671 __makecontext_ret to ...
1672 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1673 ... here and call exit if uc_link is NULL. New file.
1674 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1675 __makecontext_ret.S.
1676
08f43f9b
AK
16772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1678
1679 * elf/elf.h (R_390_IRELATIVE): New definition.
1680 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1681 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1682 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1683 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1684 (elf_machine_lazy_rel): Likewise.
1685 * sysdeps/s390/dl-irel.h: New file.
1686 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1687 * sysdeps/s390/s390-64/memset.S: New asm code.
1688 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1689 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1690 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1691 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1692 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1693 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1694 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1695 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1696 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1697 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1698 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1699 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1700 * sysdeps/s390/s390-32/memset.S: New asm code.
1701 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1702
3b05db33
MP
17032012-07-17 Marek Polacek <polacek@redhat.com>
1704
1705 [BZ #14349]
1706 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1707 * sysdeps/s390/s390-64/configure.in: Likewise.
1708 * sysdeps/sparc/configure.in: Likewise.
1709 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1710 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1711 * sysdeps/i386/configure.in: Likewise.
1712 * sysdeps/x86_64/configure.in: Likewise.
1713 * sysdeps/sh/configure.in: Likewise.
1714 * sysdeps/s390/s390-32/configure: Regenerated.
1715 * sysdeps/s390/s390-64/configure: Likewise.
1716 * sysdeps/x86_64/configure: Likewise.
1717 * sysdeps/sh/configure: Likewise.
1718 * sysdeps/powerpc/powerpc64/configure: Likewise.
1719 * sysdeps/powerpc/powerpc32/configure: Likewise.
1720 * sysdeps/sparc/configure: Likwise.
1721 * sysdeps/i386/configure: Likewise.
1722
a66877c6
MP
1723 * elf/dl-open.c: Comment fixes.
1724
cfc82fd8
JM
17252012-07-17 Joseph Myers <joseph@codesourcery.com>
1726
bd29910a
JM
1727 * Makefile [CXX] (check-data): Remove.
1728 [CXX] (c++-types.data): New vpath directive.
1729 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1730 vpath. Do not allow for C++ type data being missing.
1731 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1732 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1733 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1734 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1735 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1736 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1737 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1739 ... here.
1740 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1742 ... here.
1743 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1745 ... here.
1746 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1748 ... here.
1749 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1751 ... here.
1752 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1754 ... here.
1755 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1757 ... here.
1758 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1760
cfc82fd8
JM
1761 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1762 definitions to architecture-specific files.
1763 (TLS_IE): Likewise.
1764 (TLS_LD): Likewise.
1765 (TLS_GD): Likewise.
1766 * sysdeps/i386/tls-macros.h: New file.
1767 * sysdeps/powerpc/tls-macros.h: Likewise.
1768 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1769 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1770 * sysdeps/sh/tls-macros.h: Likewise.
1771 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1772 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1773 * sysdeps/x86_64/tls-macros.h: Likewise.
1774
f7db3170
TS
17752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1776
07cbfc23
TS
1777 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1778 zero value for regular exit case.
1779
f7db3170
TS
1780 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1781 (__start_context): Preserve zero value for regular exit case.
1782
dc97c227
TS
17832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1784 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1785
1786 * manual/setjmp.texi (setcontext): Clarify normal process
1787 termination when uc_link is the null pointer.
1788 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1789 exit call.
1790
d0cd7d02
AS
17912012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1792
1793 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1794 preprocessor. Test for each exception mask separately.
1795
dd318934
AJ
17962012-07-16 Andreas Jaeger <aj@suse.de>
1797
1798 * po/ru.po: Update from translation team.
1799
8048311a
JM
18002012-07-15 Joseph Myers <joseph@codesourcery.com>
1801
1802 * conform/data/string.h-data (NULL): Use macro-constant. Require
1803 equal to 0.
1804 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1805 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1806 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1807 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1809
b637d46e
AJ
18102012-07-13 Andreas Jaeger <aj@suse.de>
1811
1812 * po/fr.po: Update from translation team.
1813
541428fe
MP
18142012-07-12 Marek Polacek <polacek@redhat.com>
1815
1816 [BZ #14173]
1817 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1818 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1819 loop condition.
1820
ec332e94
JM
18212012-07-12 Joseph Myers <joseph@codesourcery.com>
1822
1823 [BZ #13717]
1824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1825 Change to 2.4.1 where previously 2.4.0.
1826 * sysdeps/unix/sysv/linux/configure: Regenerated.
1827 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1828 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1829 version.
1830 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1831 (__ASSUME_AT_CLKTCK): Remove.
1832 (__ASSUME_AT_PAGESIZE): Likewise.
1833 (__ASSUME_AT_XID): Likewise.
1834 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1835 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1836 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1837 unconditionally.
1838 (HAVE_AUX_PAGESIZE): Likewise.
1839 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1840 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1841 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1842
7b6e99be
JB
18432012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1844
1845 [BZ #14307]
1846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1847 the temporary buffer used to invoke __gethostbyname2_r,
1848 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1849 host_data / struct gaih_addrtuple.
1850 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1851 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1852 header file nss/nsswitch.h.
1853 * nss/nsswitch.h (global scope): Add definition of implementation
1854 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1855 resolv/nss_dns/dns-host.c).
1856
608404eb
AJ
18572012-07-11 Andreas Jaeger <aj@suse.de>
1858
1859 * po/fr.po: Update from translation team.
1860
71220aca
AJ
1861 * po/sv.po: Update from translation team
1862 * po/fr.po: Another update from translation team.
1863
28cfe843
AZ
18642012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1865
1866 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1867 for subnormals or multiply small sinh result by itself.
1868 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1870
6b90f981
DM
18712012-07-11 David S. Miller <davem@davemloft.net>
1872
1873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1874
c6825772
AS
18752012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1876
1877 [BZ #14347]
1878 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1879 (INTERNAL_MARK): Shift it here.
1880
7b8e0d49
MP
18812012-07-10 Marek Polacek <polacek@redhat.com>
1882
1883 [BZ #14151]
1884 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1885 libc_cv_asm_global_directive with .globl.
1886 * configure: Regenerated.
1887 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1888 with .globl.
1889 * sysdeps/i386/configure: Regenerated.
1890 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1891 with .globl.
1892 * sysdeps/x86_64/configure: Regenerated.
1893 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1894 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1895 * elf/tst-unique2mod2.c: Likewise.
1896 * elf/tst-unique2mod1.c: Likewise.
1897 * elf/tst-unique1mod2.c: Likewise.
1898 * elf/tst-unique1mod1.c: Likewise.
1899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1900 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1902 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1903 * sysdeps/mach/sysdep.h: Likewise.
1904 * sysdeps/i386/sysdep.h: Likewise.
1905 * sysdeps/i386/i386-mcount.S: Likewise.
1906 * sysdeps/x86_64/_mcount.S: Likewise.
1907 * sysdeps/x86_64/sysdep.h: Likewise.
1908 * sysdeps/sh/_mcount.S: Likewise.
1909 * sysdeps/sh/sysdep.h: Likewise.
1910 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1911 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1912 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1914 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1915 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1916 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1917 * locale/localeinfo.h: Likewise.
1918 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1919 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1920
6c55cda3
RM
19212012-07-09 Roland McGrath <roland@hack.frob.com>
1922
1923 [BZ #14336]
1924 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1925 system".
1926 * manual/message.texi (The Uniforum approach): Likewise.
1927 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1928 (glibc iconv Implementation): Likewise.
1929
638a572e
JM
19302012-07-09 Joseph Myers <joseph@codesourcery.com>
1931
1932 [BZ #14337]
1933 * math/s_clog.c (__clog): Avoid scaling a value down where that
1934 could result in underflow.
1935 * math/s_clog10.c (__clog10): Likewise.
1936 * math/s_clog10f.c (__clog10f): Likewise.
1937 * math/s_clog10l.c (__clog10l): Likewise.
1938 * math/s_clogf.c (__clogf): Likewise.
1939 * math/s_clogl.c (__clogl): Likewise.
1940 * math/libm-test.inc (clog_test): Add more tests.
1941 (clog10_test): Likewise.
1942 * sysdeps/i386/fpu/libm-test-ulps: Update.
1943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944
261f4859
AS
19452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1946
0abaf3e4
AS
1947 [BZ #14283]
1948 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1949 by 7 not 8 to examine high bit of fractional part.
1950
261f4859
AS
1951 [BZ #14042]
1952 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1953 for call to __mcount_internal.
1954 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1955 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1956 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1957
f17ac40d
JM
19582012-07-06 Joseph Myers <joseph@codesourcery.com>
1959
9ad63c23
JM
1960 [BZ #14154]
1961 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1962 approximation for values within 0x1p-13f of an odd multiple of
1963 pi/4.
1964 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1965 exception. Add more tests.
1966 * sysdeps/i386/fpu/libm-test-ulps: Update.
1967
f17ac40d
JM
1968 [BZ #6778]
1969 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1970 inputs and return -1 for them. Do not check for +Inf in case not
1971 reachable for +Inf.
1972 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1973 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1974 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1975 and return -1 for them. Do not check for +Inf in case not
1976 reachable for +Inf.
1977 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1978 define.
1979 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1980 and return -1 for them. Do not check for +Inf in case not
1981 reachable for +Inf.
1982 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1983 spurious underflow.
1984 * sysdeps/i386/fpu/libm-test-ulps: Update.
1985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1986
fb21f89b
MF
19872012-07-06 Mike Frysinger <vapier@gentoo.org>
1988
1989 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1990
cdfe2c5e
JM
19912012-07-05 Joseph Myers <joseph@codesourcery.com>
1992
1993 [BZ #14157]
1994 [BZ #14331]
1995 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1996 could result in spurious underflow. Scale down values above
1997 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1998 * math/s_csqrtf.c (__csqrtf): Likewise.
1999 * math/s_csqrtl.c (__csqrtl): Likewise.
2000 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2001 spurious underflow.
2002 * sysdeps/i386/fpu/libm-test-ulps: Update.
2003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2004
70d35b67
AS
20052012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2006
704bc459
AS
2007 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2008 xopen-msg.sed.
2009 * catgets/xopen-msg.awk: New file.
2010 * catgets/xopen-msg.sed: Removed.
2011
70d35b67
AS
2012 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2013 po2text.sed.
2014 * intl/po2test.awk: New file.
2015 * intl/po2test.sed: Removed.
2016
ca61cf32
JM
20172012-07-04 Joseph Myers <joseph@codesourcery.com>
2018
2019 [BZ #14328]
2020 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2021 or multiply small sinh result by itself.
2022 * math/s_ctanf.c (__ctanf): Likewise.
2023 * math/s_ctanh.c (__ctanh): Likewise.
2024 * math/s_ctanhf.c (__ctanhf): Likewise.
2025 * math/s_ctanhl.c (__ctanhl): Likewise.
2026 * math/s_ctanl.c (__ctanl): Likewise.
2027 * math/libm-test.inc (ctan_test_tonearest): New function.
2028 (ctan_test_towardzero): Likewise.
2029 (ctan_test_downward): Likewise.
2030 (ctan_test_upward): Likewise.
2031 (ctanh_test_tonearest): Likewise.
2032 (ctanh_test_towardzero): Likewise.
2033 (ctanh_test_downward): Likewise.
2034 (ctanh_test_upward): Likewise.
2035 (main): Call these new functions.
2036 * sysdeps/i386/fpu/libm-test-ulps: Update.
2037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2038
ca48a46a
MF
20392012-07-03 Mike Frysinger <vapier@gentoo.org>
2040
2041 * .gitignore: Delete /ports entry.
2042
9d63d37d
AJ
20432012-07-03 Andreas Jaeger <aj@suse.de>
2044
2045 * po/bg.po: Update from translation team.
2046 * po/cs.po: Likewise.
2047 * po/de.po: Likewise.
2048 * po/hr.po: Likewise.
2049 * po/nl.pl: Likewise.
2050 * po/pl.po: Likewise.
2051 * po/vi.po: Likewise.
2052
370ca3d2
JM
20532012-07-03 Joseph Myers <joseph@codesourcery.com>
2054
95f5a9a8
JM
2055 * Makeconfig [!+link] (+link-before-libc): New variable.
2056 [!+link] (+link-after-libc): Likewise.
2057 [!+link] (+link-tests): Likewise.
2058 [!+link] (+link): Define in terms of $(+link-before-libc) and
2059 $(+link-after-libc).
2060 [!+link-static] (+link-static-before-libc): New variable.
2061 [!+link-static] (+link-static-after-libc): Likewise.
2062 [!+link-static] (+link-static-tests): Likewise.
2063 [!+link-static] (+link-static): Define in terms of
2064 $(+link-static-before-libc) and $(+link-static-after-libc).
2065 [build-shared] (link-libc-before-gnulib): New variable.
2066 [build-shared] (link-libc-tests): Likewise.
2067 [build-shared] (link-libc): Define in terms of
2068 $(link-libc-before-gnulib).
2069 [!build-shared] (link-libc-tests): New variable.
2070 (link-libc-static-tests): New variable.
2071 [!gnulib] (gnulib-arch): New variable.
2072 [!gnulib] (gnulib-tests): Likewise.
2073 [!gnulib] (static-gnulib-arch): Likewise.
2074 [!gnulib] (static-gnulib-tests): Likewise.
2075 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2076 Define with "=" instead of ":=".
2077 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2078 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2079 * Rules (binaries-all-notests): New variable.
2080 (binaries-all-tests): Likewise.
2081 (binaries-static-notests): Likewise.
2082 (binaries-static-tests): Likewise.
2083 (binaries-all): Define using $(binaries-all-notests) and
2084 $(binaries-all-tests).
2085 (binaries-static): Define using $(binaries-static-notests) and
2086 $(binaries-static-tests).
2087 (binaries-shared-tests): New variable.
2088 (binaries-shared-notests): Likewise.
2089 (binaries-shared): Remove variable.
2090 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2091 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2092 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2093 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2094 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2095 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2096 * elf/Makefile (sln-modules): New variable.
2097 (extra-objs): Add $(sln-modules:=.o).
2098 (ldconfig-modules): Add static-stubs.
2099 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2100 * elf/static-stubs.c: New file.
2101
7a845b2c
JM
2102 [BZ #14283]
2103 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2104 by 7 not 8 to examine high bit of fractional part. Use volatile
2105 variables when splitting into final array of floats if
2106 __FLT_EVAL_METHOD__ != 0.
2107 * math/libm-test.inc (cos_test): Add another test.
2108 (sin_test): Likewise.
2109 * sysdeps/i386/fpu/libm-test-ulps: Update.
2110
e2283f38
JM
2111 [BZ #14273]
2112 * math/libm-test.inc (cosh_test): Add more tests.
2113
370ca3d2
JM
2114 * version.h (RELEASE): Set to "development".
2115 (VERSION): Set to "2.16.90".
2116
ee9247c3
CD
21172012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2118
2119 * NEWS: Update copyright. Remove last-updated date.
2120 Mention math library bug fixes and timezone data changes.
2121 * README: Mention GNU/Hurd, x32, and HPPA support status.
2122
4648c381
TS
21232012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2124
2125 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2126
aac78a43
AJ
21272012-06-27 Andreas Jaeger <aj@suse.de>
2128
2129 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2130
ed3dbfad
AJ
21312012-06-25 Andreas Jaeger <aj@suse.de>
2132
2133 * sysdeps/s390/fpu/libm-test-ulps: Update.
2134
4d0ee855
AS
21352012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2136 Thomas Schwinge <thomas@codesourcery.com>
2137
2138 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2139 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2140 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2141 fanotify_mark.
2142
af1bce34
TS
21432012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2144
a9fa33ba
TS
2145 * sysdeps/mach/start.c: Remove file.
2146 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2147 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2148 * sysdeps/sh/init-first.c: Likewise.
2149
58f902b8
TS
2150 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2151 registers for frame unwinding purposes, add CFI directives.
2152 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2154 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2155 Likewise.
2156
1518f58b
TS
2157 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2158 __fortify_fail returning.
2159 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2160
db9b5059
TS
2161 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2162 sysdeps/sh/____longjmp_chk.S.
2163 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2164 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2165 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2166 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2167
967705fe
TS
2168 * sysdeps/sh/abort-instr.h: New file.
2169 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2170 process in case exit returns.
2171
a9def8c4
TS
2172 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2173 initialize the GOT register before use.
2174
2a649725
TS
2175 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2176 calculation of ARGC > 4.
2177
af1bce34
TS
2178 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2179 meaningful names to some local labels.
2180
d230f50a
KK
21812012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2182 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2183
2184 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2185 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2186 (__arch_compare_and_exchange_val_16_acq): Likewise.
2187 (__arch_compare_and_exchange_val_32_acq): Likewise.
2188 (atomic_exchange_and_add): Fix gUSA sequence.
2189 (atomic_add): Likewise.
2190 (atomic_add_negative): Likewise.
2191 (atomic_add_zero): Likewise.
2192 (atomic_bit_test_set): Likewise.
2193
0479b305
AS
21942012-06-22 Andreas Schwab <schwab@redhat.com>
2195
2196 [BZ #13579]
2197 * include/link.h (struct link_map): Add l_free_initfini.
2198 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2199 l_initfini.
2200 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2201 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2202 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2203 set.
2204
0e3933b9
CD
22052012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2206
2207 * configure.in: Use AC_LANG_SOURCE.
2208 * configure: Regenerate.
2209
4248b1b1
RM
22102012-06-22 Roland McGrath <roland@hack.frob.com>
2211
2212 * configure.in (libc_cv_localstatedir): New substituted variable.
2213 * configure: Regenerated.
2214 * config.make.in (localstatedir): New variable, substituted from
2215 libc_cv_localstatedir.
2216 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2217 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2218 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2219 * sysdeps/gnu/configure: Regenerated.
2220
006dd861
JL
22212012-06-21 Jeff Law <law@redhat.com>
2222
2223 [BZ #14277]
2224 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2225 free. Simplify list management for _LIBC case.
2226
79662d42
JM
22272012-06-21 Joseph Myers <joseph@codesourcery.com>
2228
b7abb4bf
JM
2229 [BZ #14273]
2230 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2231 Clear sign bit of 64-bit integer value before comparing against
2232 overflow value.
2233
79662d42
JM
2234 * sysdeps/mach/configure: Regenerated.
2235
1f150908
L
22362012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 [BZ #14278]
2239 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2240
28363bbf
JL
22412012-06-21 Jeff Law <law@redhat.com>
2242
2243 [BZ #13882]
2244 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2245 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2246 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2247 * elf/dl-open.c (dl_open_worker): Likewise.
2248
09615db4
CD
22492012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2250
2251 * scripts/list-sources.sh: Scan PORTS for translations.
2252 * po/libc.pot: Regenerated.
2253
2174c6dd
AJ
22542012-06-21 Andreas Jaeger <aj@suse.de>
2255
2256 [BZ #12194]
2257 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2258 warning.
2259 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2260 * bits/byteswap-16.h (__bswap_16): Likewise.
2261 * bits/byteswap.h (__bswap_constant_16): Likewise.
2262
3ee947b1
L
22632012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2264
2265 [BZ #14117]
a2f34833
L
2266 * sysdeps/i386/fpu_control.h: Removed.
2267 * sysdeps/x86_64/fpu_control.h: Moved to ...
2268 * sysdeps/x86/fpu_control.h: Here.
2269
3ee947b1
L
2270 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2271 (_FPU_SETCW): Likewise.
2272
ed1825f8
L
22732012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2274
25f1282a
L
2275 [BZ #14117]
2276 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2277 * sysdeps/x86/fpu/bits/mathinline.h: This.
2278 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2279
ed1825f8
L
2280 [BZ #14050]
2281 [BZ #14117]
2282 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2283 functions if __x86_64__ is defined.
2284
36d54b74
CLT
22852012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2286
2287 * string/endian.h: Add !__ASSEMBLER__ condition for including
2288 conversion interfaces.
2289
10285c21
JM
22902012-06-15 Joseph Myers <joseph@codesourcery.com>
2291
2292 [BZ #14241]
2293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2294 of ABS(x) in calculating zero to negative powers other than odd
2295 integers.
2296 * math/libm-test.inc (pow_test): Add more tests.
2297
06c5abbd
AJ
22982012-06-15 Andreas Jaeger <aj@suse.de>
2299
2300 * manual/contrib.texi (Contributors): Update entry of Liubov
2301 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2302 Machado Filho.
2303
a3aeac40
CH
23042012-06-15 Cyril Hrubis <metan@ucw.cz>
2305
2306 * string/string.h: Add __wur to GNU version of strerror_r.
2307
49bdf4c1
L
23082012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 [BZ #14229]
2311 * string/Makefile (tests): Add tst-strtok_r.
2312 * string/tst-strtok_r.c: New file.
2313 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2314 RAX_LP/RDX_LP on SAVE_PTR.
2315
834f9b8d
RM
23162012-06-14 Roland McGrath <roland@hack.frob.com>
2317
2318 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2319
75fa1921
JM
23202012-06-14 Joseph Myers <joseph@codesourcery.com>
2321
2322 * libm_test.inc (csqrt_test): Allow more spurious underflow
2323 exceptions.
2324 (j0_test): Likewise.
2325 (j1_test): Likewise.
2326 (y0_test): Likewise.
2327 (y1_test): Likewise.
2328
771766df
CD
23292012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2330
2331 * po/Makefile (libc.pot): Use UTF-8 charset.
2332
ceb9e56b
PP
23332012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2334
2335 [BZ #14210]
2336 Suppress sign-conversion warning from FD_SET.
2337 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2338 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2339 not unsigned long int.
2340 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2341
ddb28975
L
23422012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2343
2344 [BZ #14050]
2345 [BZ #14117]
2346 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2347 __extern_always_inline instead of __extern_inline.
2348 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2349 (__signbit): Likewise.
2350 (__signbitl): Support C++ namespace.
2351 (lrintf): New inline function.
2352 (lrint): Likewise.
2353 (llrintf): Likewise.
2354 (llrint): Likewise.
2355 (fmaxf): Likewise.
2356 (fmax): Likewise.
2357 (fminf): Likewise.
2358 (fmin): Likewise.
2359 (rint): Likewise.
2360 (rintf): Likewise.
2361 (ceil): Likewise.
2362 (ceilf): Likewise.
2363 (floor): Likewise.
2364 (floorf): Likewise.
2365 (nearbyint): Likewise.
2366 (nearbyintf): Likewise.
2367
d7b4fb26
TS
23682012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2369
2370 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2371 non-default versions.
2372
eb55f5c2
RM
23732012-06-11 Roland McGrath <roland@hack.frob.com>
2374
2375 [BZ #14218]
2376 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2377
366af02c
TS
23782012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2379
99ff6e5c
TS
2380 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2381 (FE_UPWARD, FE_DOWNWARD): Don't define.
2382 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2384
366af02c
TS
2385 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2386 reading it.
2387 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2388 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2389
793ea851
KK
23902012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2391
2392 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2393 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2394 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2395 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2396
a728a38f
L
23972012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2398
2399 [BZ #14117]
c08010c7
L
2400 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2401 * sysdeps/i386/fpu/Implies: New file.
2402 * sysdeps/x86_64/fpu/Implies: Likewise.
2403 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2404 * sysdeps/x86/fpu/bits/fenv.h: This.
2405
a728a38f
L
2406 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2407 __SSE_MATH__.
2408
6e230d11
SP
24092012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2410
2411 [BZ #14134]
2412 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2413 character 0xffff that matches the last element of the
2414 conversion table.
2415
1b671feb
AZ
24162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417
2418 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2419 fmodl commit.
2420
6043738b
AZ
24212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2422
2423 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2424 values higher than 25.6283.
2425
34ae0b32
AZ
24262012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427
2428 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2429 subnormal exponent extraction and add some __builtin_expect.
2430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2431 Fix for subnormal mantissa calculation.
2432
1214ec8f
MF
24332012-06-04 Mike Frysinger <vapier@gentoo.org>
2434
2435 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2436 cpu2 is -1 and errno is not ENOSYS.
2437
f3d1f93c
L
24382012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 [BZ #14117]
0e4a3cd7
L
2441 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2442 * sysdeps/x86/bits/string.h: This.
2443 * sysdeps/x86_64/bits/string.h: Removed.
2444
6704c645
L
2445 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2446 if not compiling for x86-64, but compiling for >= i486.
2447
48495318
L
2448 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2449 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2450
14adcbfc
L
2451 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2452 New macro from Linux kernel 3.4.0.
2453 (FP_XSTATE_MAGIC2): Likewise.
2454 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2455 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2456 (struct _fpx_sw_bytes): New struct.
2457 (struct _xsave_hdr): Likewise.
2458 (struct _ymmh_state): Likewise.
2459 (struct _xstate): Likewise.
2460
68e408ab
L
2461 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2462 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2463 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2464 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2465 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2466 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2467
f3d1f93c
L
2468 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2469 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2470 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2471 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2472 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2473 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2474
d9dc34cd
TMQMF
24752012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2476
2477 [BZ #13743]
2478 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2479 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2480 (sysdep_headers): Include sys/platform/ppc.h.
2481 * sysdeps/powerpc/test-gettimebase.c: Test for
2482 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2483 * manual/Makefile (appendices): Include platform.texi.
2484 * manual/contrib.texi (Contributors): Update @node pointers.
2485 * manual/maint.texi (Maintenance): Likewise.
2486 (Platform): New node.
2487 * manual/platform.texi: New file. Document the new features.
2488
4af3879c
SP
24892012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2490 Jakub Jelinek <jakub@redhat.com>
2491
2492 [BZ #14188]
2493 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2494 where __builtin_expect is unavailable.
2495
2fd6ff13
DM
24962012-06-03 David S. Miller <davem@davemloft.net>
2497
2498 * stdlib/longlong.h: Updated from GCC.
2499
173f7220
AS
25002012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2501
2502 [BZ #14042]
2503 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2504 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2505 __mcount_internal.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2507 (GLIBC_2.16): Likewise.
2508
f34a1c6f
L
25092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2510
2511 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2512
88a4576f
JM
25132012-06-01 Joseph Myers <joseph@codesourcery.com>
2514
ea32bcdd
JM
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2516 (default-abi): New variable.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2518 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2519 variable.
2520 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2521 Likewise.
2522 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2523 Likewise.
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2525 Likewise.
2526
88a4576f
JM
2527 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2528 definition. Document in comment.
2529
402fe938
DM
25302012-06-01 David S. Miller <davem@davemloft.net>
2531
2532 * stdlib/longlong.h: Updated from GCC.
2533
3553723f
L
25342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2535
2536 [BZ #14117]
3bd872c4
L
2537 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2538 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2539 sys/debugreg.h sys/io.h here.
2540 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2541 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2542 sys/io.h.
2543 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2544 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2545 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2546 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2547 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2548 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2549
3553723f
L
2550 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2551 Define only if __x86_64__ is defined.
2552
4842e4fe
JM
25532012-06-01 Joseph Myers <joseph@codesourcery.com>
2554
c5bfe3d5
JM
2555 [BZ #14048]
2556 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2557 Use int64_t for variable i.
2558 * math/libm-test.inc (fmod_test): Add more tests.
2559
4842e4fe
JM
2560 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2561 z computation is not scheduled after fetestexcept.
2562 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2563 Use math_force_eval instead of asm to ensure calculation scheduled
2564 before exception test.
2565 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2566 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2567
efb73488
AJ
25682012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2569
2570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2571 computation is not scheduled after fetestexcept.
2572
29bcce7c
L
25732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 [BZ #14117]
2576 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2577 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2578
73a68f94
AZ
25792012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2580
2581 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2582 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2583
67b6df78
L
25842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2585
edf2933a 2586 [BZ #14117]
ebc64a18
L
2587 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2588 <bits/wordsize.h>.
2589 (__WCHAR_MIN): Support __WORDSIZE == 64.
2590 (__WCHAR_MAX): Likewise.
2591
edf2933a
L
2592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2594
57c6cf40
L
2595 [BZ #14183]
2596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2597 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2598
67b6df78 2599 [BZ #14117]
8eb6281e
L
2600 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2601 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2602
aac639f4
L
2603 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2604 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2605
67b6df78
L
2606 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2607 Defined to 1 if __x86_64__ isn't defined.
2608 (_STAT_VER_LINUX_OLD): New.
2609 (st_atime): Remove duplicate.
2610 (st_mtime): Likewise.
2611 (st_ctime): Likewise.
2612
1c2cfe81
DM
26132012-05-31 David S. Miller <davem@davemloft.net>
2614
2615 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2616 entries.
2617
5be8418c
AS
26182012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2619
e7725326
AS
2620 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2621 gen-libm-test.pl.
2622
5be8418c
AS
2623 [BZ #14132]
2624 * elf/dl-reloc.c: Include <_itoa.h>.
2625 (_dl_reloc_bad_type): Remove use of INTUSE.
2626 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2627 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2628 * stdio-common/psiginfo.c (psiginfo): Likewise.
2629 * stdio-common/psignal.c (psignal): Likewise.
2630 * string/strsignal.c (strsignal): Likewise.
2631 * include/signal.h (_sys_siglist): Declare hidden proto.
2632 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2633 INTVARDEF with libc_hidden_data_def.
2634 * stdio-common/itoa-udigits.c: Likewise.
2635 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2636 (_itoa_lower_digits_internal): Remove declaration.
2637 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2638 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2639 (_sys_sigabbrev_internal): Remove aliases.
2640 (_sys_siglist): Define hidden alias.
2641
507352f1
MT
26422012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2643
2644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2645 bits/sysctl.h.
2646
42bbb1c3
L
26472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2648
2649 [BZ #14117]
6bd784b6
L
2650 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2651 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2652
8bca20f0
L
2653 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2654 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2655 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2656 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2658 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2659
f9e890a9
L
2660 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2661 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2662 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2663
471101a1
L
2664 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2665 with __addr.
2666 (insw): Likewise.
2667 (insl): Likewise.
2668 (outsb): Likewise.
2669 (outsw): Likewise.
2670 (outsl): Likewise.
2671
6451c862
L
2672 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2673 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2674 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2675
a254b8c9
L
2676 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2677 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2678 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2679 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2680 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2681 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2682
b8dfdd92
L
2683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2684 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2685
578cd270
L
2686 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2687 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2688
de662f5f
L
2689 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2691 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2692
25653439
L
2693 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2694 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2695 to ...
2696 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2697
6bad24a0
L
2698 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2699 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2700 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2701
42bbb1c3
L
2702 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2703 for x86-64.
2704 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2705
2d10d547
JM
27062012-05-31 Joseph Myers <joseph@codesourcery.com>
2707
2708 * math/math.h (M_El): Use two more decimal places.
2709 (M_LOG2El): Likewise.
2710 (M_LOG10El): Likewise.
2711 (M_LN2l): Likewise.
2712 (M_LN10l): Likewise.
2713 (M_PIl): Likewise.
2714 (M_PI_2l): Likewise.
2715 (M_PI_4l): Likewise.
2716 (M_1_PIl): Likewise.
2717 (M_2_PIl): Likewise.
2718 (M_2_SQRTPIl): Likewise.
2719 (M_SQRT2l): Likewise.
2720 (M_SQRT1_2l): Likewise.
2721
f230c29b
DM
27222012-05-31 David S. Miller <davem@davemloft.net>
2723
2724 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2725 values between float registers.
2726 * sysdeps/sparc/sparc64/memset.S: Likewise.
2727 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2728
fed806c3
MF
27292012-05-31 Mike Frysinger <vapier@gentoo.org>
2730
2731 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2732 -D_FORTIFY_SOURCE=1.
2733 (CPPFLAGS-tst-longjmp_chk.c): Define.
2734 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2735 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2736 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2737 CFLAGS-tst-wchar-h.c.
2738
30917259
MP
27392012-05-31 Marek Polacek <polacek@redhat.com>
2740
2741 [BZ #14132]
2742 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2743 __endmntent_internal): Remove declaration.
2744 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2745 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2746 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2747
1c58d5dc
DM
27482012-05-30 David S. Miller <davem@davemloft.net>
2749
2750 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2751 (___Q_simulate_exceptions): Use real FP ops rather than writing
2752 into the %fsr.
2753 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2754 Likewise.
2755
7dc00e0d
L
27562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2757
2758 [BZ #14117]
0bd53985
L
2759 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2760 * sysdeps/x86/bits/xtitypes.h: This.
2761
3a257e66
L
2762 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2763 * sysdeps/x86/bits/wordsize.h: This.
2764
62f62904
L
2765 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2766 * sysdeps/x86/bits/huge_vall.h: This.
2767
404fe9d9
L
2768 * sysdeps/i386/bits/select.h: Removed.
2769 * sysdeps/x86_64/bits/select.h: Renamed to ...
2770 * sysdeps/x86/bits/select.h: This.
2771
d48d0446
L
2772 * sysdeps/i386/bits/setjmp.h: Removed.
2773 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2774 * sysdeps/x86/bits/setjmp.h: This.
2775
7dc00e0d
L
2776 * sysdeps/i386/bits/mathdef.h: Removed.
2777 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2778 * sysdeps/x86/bits/mathdef.h: This.
2779
03277f8f
AS
27802012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2781
2782 [BZ #14132]
2783 * include/sys/socket.h (__connect_internal)
2784 (__libc_sa_len_internal): Remove declaration.
2785 (__connect, __libc_sa_len): Declare hidden_proto.
2786 (SA_LEN): Remove use of INTUSE.
2787 * socket/connect.c: Add libc_hidden_def.
2788 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2789 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2790 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2791 alias.
2792 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2793 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2794 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2795 of adding _internal alias.
2796
13764867
L
27972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2798
2799 [BZ #14117]
6bd97696
L
2800 * sysdeps/i386/bits/link.h: Removed.
2801 * sysdeps/i386/bits/linkmap.h: Likewise.
2802 * sysdeps/x86_64/bits/link.h: Renamed to ...
2803 * sysdeps/x86/bits/link.h: This.
2804 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2805 * sysdeps/x86/bits/linkmap.h: This.
2806
f726f0bb
L
2807 * sysdeps/i386/bits/endian.h: Removed.
2808 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2809 * sysdeps/x86/bits/endian.h: This.
2810
13764867
L
2811 * sysdeps/i386/bits/byteswap.h: Removed.
2812 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2813 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2814 * sysdeps/x86/bits/byteswap.h: This.
2815 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2816 * sysdeps/x86/bits/byteswap-16.h: This.
2817 * sysdeps/i386/Implies: Add x86.
2818 * sysdeps/x86_64/Implies: Likewise.
2819
ae251b0b
DM
28202012-05-30 David S. Miller <davem@davemloft.net>
2821
2822 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2823 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2824 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2825 (FP_TRAPPING_EXCEPTIONS): Define.
2826 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2827 (FP_TRAPPING_EXCEPTIONS): Define.
2828 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2829 subnormals only when inexact has been signalled or underflow
2830 exceptions are enabled.
2831 (_FP_PACK_CANONICAL): Likewise.
2832
d5c90867
L
28332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2834
2835 [BZ #14183]
2836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2837 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2838
63f1549e
RH
28392012-05-30 Richard Henderson <rth@twiddle.net>
2840
8d8f2279
RH
2841 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2842 with #ifndef NOT_IN_libc.
2843
63f1549e
RH
2844 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2845 marked to avoid plt entry.
2846
0ab0291b
L
28472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2848
2849 [BZ #14112]
2850 * Makeconfig (default-abi): New macro.
2851 (abi-includes): Likewise.
2852 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2853 $(abi-$(default-abi)-lib-soname) for soname if defined.
2854 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2855 abi-variants.
2856 * Makefile (installed-stubs): Likewise.
2857 * include/stubs-biarch.h: Removed.
2858 * scripts/lib-names.awk: Only handle one library at a time.
2859 * scripts/soversions.awk: Remove WORDSIZE support.
2860 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2861 entries.
2862 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2863 Removed.
2864 (syscall-list-default-condition): Likewise.
2865 (syscall-list-default-condition): Likewise.
2866 (syscall-list-includes): Likewise.
2867 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2868 syscall-list-* with abi-*. Handle undefined abi-variants.
2869 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2870 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2871 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2872 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2873 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2874 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2875 Removed.
2876 (syscall-list-32-options): Likewise.
2877 (syscall-list-32-condition): Likewise.
2878 (syscall-list-64-options): Likewise.
2879 (syscall-list-64-condition): Likewise.
2880 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2881 macro.
2882 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2883 Renamed to ...
2884 (abi-*): This.
2885 (abi-64-ld-soname): New macro.
2886 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2887 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2888 Renamed to ...
2889 (abi-*): This.
2890 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2891 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2892
4da0431d
JM
28932012-05-30 Joseph Myers <joseph@codesourcery.com>
2894
3a85279c
JM
2895 * sysdeps/unix/sysv/linux/kernel-features.h
2896 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2897 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2898 include <kernel-features.h>.
2899 [!__NR_ftruncate64]: Remove conditional code.
2900 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2901 [__NR_ftruncate64]: Make code unconditional.
2902 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2903 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2904 include <kernel-features.h>.
2905 [!__NR_ftruncate64]: Remove conditional code.
2906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2907 [__NR_ftruncate64]: Make code unconditional.
2908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2910 include <kernel-features.h>.
2911 [!__NR_ftruncate64]: Remove conditional code.
2912 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2913 [__NR_ftruncate64]: Make code unconditional.
2914 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2916 include <kernel-features.h>.
2917 [!__NR_ftruncate64]: Remove conditional code.
2918 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2919 [__NR_ftruncate64]: Make code unconditional.
2920 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2921
4da0431d
JM
2922 * configure.in (libc_cv_fpie): Weaken to a compile test using
2923 LIBC_TRY_CC_OPTION.
2924 * configure: Regenerated.
2925
11ef492c
AK
29262012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2927
2928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2932 Refreshed.
2933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2939 Refreshed.
2940
d66ef399
DM
29412012-05-27 David S. Miller <davem@davemloft.net>
2942
2943 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2944 (___Q_zero): New.
2945 (__Q_simulate_exceptions): Return void. Change to simulate
2946 exceptions by writing into the %fsr.
2947 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2948 (__Qp_handle_exceptions): Likewise.
2949 (numbers): Delete.
2950 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2951 __Qp_handle_exceptions.
2952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2953 __Qp_handle_exceptions.
2954 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2955 as unused and give dummy FP_RND_NEAREST initializer.
2956 (FP_INHIBIT_RESULTS): Define.
2957 (___Q_simulate_exceptions): Update declaration.
2958 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2959 formatting.
2960 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2961 as unused and give dummy FP_RND_NEAREST initializer.
2962 (__Qp_handle_exceptions): Update declaration.
2963 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2964 formatting.
2965
04fb54b5
TS
29662012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2967
2968 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2969 the temporary FPU control word.
2970 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2971 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2972 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2973 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2974 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2975 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2976 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2977 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2978 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2979 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2980 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2981
3f99608f
KK
29822012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2983
2984 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2985 fields.
2986
65a4de4e
CLT
29872012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2988
2989 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2990 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2991 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2992 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2993 Likewise.
2994 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2995 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2996 Likewise.
2997
15749d40
UD
29982012-05-27 Ulrich Drepper <drepper@gmail.com>
2999
3000 * po/h.po: Update from translation team.
3001
25dbcb27
AS
30022012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3003
3d3f8e55
AS
3004 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3005
25dbcb27
AS
3006 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3007 handling of denormals.
3008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3009 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3010 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3011 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3014 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3015 Likewise.
3016
7ad47a80 30172012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3018
3019 [BZ #14152]
3020 * math/libm-test.inc (fma_test): Don't always expect underflow
3021 exception.
3022
9c6ea9fa
SP
30232012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3024
3025 [BZ #12416]
3026 * elf/tst-execstack.c: Include stackinfo.h.
3027 (do_test): Adjust test case to ensure that pthread_getattr_np
3028 behaviour remains the same after marking stack executable.
3029
a8239222
JM
30302012-05-25 Joseph Myers <joseph@codesourcery.com>
3031
3032 * sysdeps/unix/sysv/linux/kernel-features.h
3033 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3034 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3035 kernel-features.h.
3036 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3037 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3038 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3039 kernel-features.h.
3040 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3041 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3042
918b5606
L
30432012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3044
3045 * configure.in: Define the default includes to being none.
3046 * configure: Regenerated.
3047
3a097cc7
RM
30482012-05-25 Roland McGrath <roland@hack.frob.com>
3049
8422c9a5
RM
3050 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3051 * sysdeps/x86_64/setjmp.S: Likewise.
3052 * sysdeps/i386/bsd-setjmp.S: Likewise.
3053 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3054 * sysdeps/i386/setjmp.S: Likewise.
3055 * sysdeps/i386/__longjmp.S: Likewise.
3056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3057 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3058
3a097cc7
RM
3059 * include/stap-probe.h: New file.
3060 * configure.in: Handle --enable-systemtap.
3061 * configure: Regenerated.
3062 * config.h.in (USE_STAP_PROBE): New #undef.
3063 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3064 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3065 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3066
21708942
JM
30672012-05-25 Joseph Myers <joseph@codesourcery.com>
3068
3069 [BZ #13717]
3070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3071 to 2.4.0 where earlier.
3072 * sysdeps/unix/sysv/linux/configure: Regenerated.
3073 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3074 <kernel-features.h>.
3075 [__ASSUME_32BITUIDS]: Make code unconditional.
3076 [!__ASSUME_32BITUIDS]: Remove conditional code.
3077 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3078 <kernel-features.h>.
3079 [__ASSUME_32BITUIDS]: Make code unconditional.
3080 [!__ASSUME_32BITUIDS]: Remove conditional code.
3081 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3082 [__ASSUME_32BITUIDS]: Make code unconditional.
3083 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3084 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3085 <kernel-features.h>.
3086 [__ASSUME_32BITUIDS]: Make code unconditional.
3087 [!__ASSUME_32BITUIDS]: Remove conditional code.
3088 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3089 <kernel-features.h>.
3090 [__ASSUME_32BITUIDS]: Make code unconditional.
3091 [!__ASSUME_32BITUIDS]: Remove conditional code.
3092 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3093 <kernel-features.h>.
3094 [__ASSUME_32BITUIDS]: Make code unconditional.
3095 [!__ASSUME_32BITUIDS]: Remove conditional code.
3096 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3097 <kernel-features.h>.
3098 [__ASSUME_32BITUIDS]: Make code unconditional.
3099 [!__ASSUME_32BITUIDS]: Remove conditional code.
3100 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3101 <kernel-features.h>.
3102 [__ASSUME_32BITUIDS]: Make code unconditional.
3103 [!__ASSUME_32BITUIDS]: Remove conditional code.
3104 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3105 <kernel-features.h>.
3106 [__ASSUME_32BITUIDS]: Make code unconditional.
3107 [!__ASSUME_32BITUIDS]: Remove conditional code.
3108 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3109 <kernel-features.h>.
3110 [__ASSUME_32BITUIDS]: Make code unconditional.
3111 [!__ASSUME_32BITUIDS]: Remove conditional code.
3112 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3113 <kernel-features.h>.
3114 [__ASSUME_32BITUIDS]: Make code unconditional.
3115 [!__ASSUME_32BITUIDS]: Remove conditional code.
3116 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3117 <kernel-features.h>.
3118 [__ASSUME_32BITUIDS]: Make code unconditional.
3119 [!__ASSUME_32BITUIDS]: Remove conditional code.
3120 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3121 <kernel-features.h>.
3122 [__ASSUME_32BITUIDS]: Make code unconditional.
3123 [!__ASSUME_32BITUIDS]: Remove conditional code.
3124 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3125 <kernel-features.h>.
3126 [__NR_setresgid] (__setresgid): Do not declare.
3127 [__ASSUME_32BITUIDS]: Make code unconditional.
3128 [!__ASSUME_32BITUIDS]: Remove conditional code.
3129 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3130 <kernel-features.h>.
3131 [__NR_setresuid] (__setresuid): Do not declare.
3132 [__ASSUME_32BITUIDS]: Make code unconditional.
3133 [!__ASSUME_32BITUIDS]: Remove conditional code.
3134 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3135 <kernel-features.h>.
3136 [__ASSUME_32BITUIDS]: Make code unconditional.
3137 [!__ASSUME_32BITUIDS]: Remove conditional code.
3138 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3139 <kernel-features.h>.
3140 [__ASSUME_32BITUIDS]: Make code unconditional.
3141 [!__ASSUME_32BITUIDS]: Remove conditional code.
3142 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3143 <kernel-features.h>.
3144 [__ASSUME_32BITUIDS]: Make code unconditional.
3145 [!__ASSUME_32BITUIDS]: Remove conditional code.
3146 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3147 <kernel-features.h>.
3148 [__ASSUME_32BITUIDS]: Make code unconditional.
3149 [!__ASSUME_32BITUIDS]: Remove conditional code.
3150 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3151 <kernel-features.h>.
3152 [__ASSUME_32BITUIDS]: Make code unconditional.
3153 [!__ASSUME_32BITUIDS]: Remove conditional code.
3154 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3155 <kernel-features.h>.
3156 [__ASSUME_32BITUIDS]: Make code unconditional.
3157 [!__ASSUME_32BITUIDS]: Remove conditional code.
3158 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3159 <kernel-features.h>.
3160 [__ASSUME_32BITUIDS]: Make code unconditional.
3161 [!__ASSUME_32BITUIDS]: Remove conditional code.
3162 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3163 <kernel-features.h>.
3164 [__ASSUME_32BITUIDS]: Make code unconditional.
3165 [!__ASSUME_32BITUIDS]: Remove conditional code.
3166 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3167 <kernel-features.h>.
3168 [__ASSUME_32BITUIDS]: Make code unconditional.
3169 [!__ASSUME_32BITUIDS]: Remove conditional code.
3170 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3171 <kernel-features.h>.
3172 [__ASSUME_32BITUIDS]: Make code unconditional.
3173 [!__ASSUME_32BITUIDS]: Remove conditional code.
3174 * sysdeps/unix/sysv/linux/kernel-features.h
3175 (__ASSUME_SETRESUID_SYSCALL): Remove.
3176 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3177 (__ASSUME_32BITUIDS): Likewise.
3178 (__ASSUME_LDT_WORKS): Likewise.
3179 (__ASSUME_O_DIRECTORY): Likewise.
3180 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3181 architecture but not kernel version.
3182 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3183 (__ASSUME_MMAP2_SYSCALL): Likewise.
3184 (__ASSUME_STAT64_SYSCALL): Likewise.
3185 (__ASSUME_IPC64): Likewise.
3186 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3187 <kernel-features.h>.
3188 [__ASSUME_32BITUIDS]: Make code unconditional.
3189 [!__ASSUME_32BITUIDS]: Remove conditional code.
3190 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3191 <kernel-features.h>.
3192 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3193 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3194 132096]: Remove conditional code.
3195 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3196 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3197 <kernel-features.h>.
3198 [__ASSUME_32BITUIDS]: Make code unconditional.
3199 [!__ASSUME_32BITUIDS]: Remove conditional code.
3200 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3201 <kernel-features.h>.
3202 [__ASSUME_32BITUIDS]: Make code unconditional.
3203 [!__ASSUME_32BITUIDS]: Remove conditional code.
3204 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3205 <kernel-features.h>.
3206 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3207 unconditional.
3208 (__setresgid): Do not declare.
3209 [__ASSUME_32BITUIDS]: Make code unconditional.
3210 [!__ASSUME_32BITUIDS]: Remove conditional code.
3211 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3212 <kernel-features.h>.
3213 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3214 unconditional.
3215 (__setresuid): Do not declare.
3216 [__ASSUME_32BITUIDS]: Make code unconditional.
3217 [!__ASSUME_32BITUIDS]: Remove conditional code.
3218 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3219 <kernel-features.h>.
3220 [__ASSUME_32BITUIDS]: Make code unconditional.
3221 [!__ASSUME_32BITUIDS]: Remove conditional code.
3222 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3223 <kernel-features.h>.
3224 [__ASSUME_32BITUIDS]: Make code unconditional.
3225 [!__ASSUME_32BITUIDS]: Remove conditional code.
3226
a386f1cc
RH
32272012-05-25 Richard Henderson <rth@twiddle.net>
3228
3229 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3230 dl_hwcap to ifunc resolver.
3231 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3232 elf_ifunc_invoke.
3233 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3234 dl_hwcap to ifunc resolver.
3235 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3236
b6550497
JM
32372012-05-24 Joseph Myers <joseph@codesourcery.com>
3238
3239 [BZ #14153]
3240 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3241 for |x| <= 2**-26, not 2**-57.
3242 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3243 exception.
3244
b0bc23a1
JL
32452012-05-24 Jeff Law <law@redhat.com>
3246
3247 * stdio-common/Makefile (tests): Add bug25.
3248 * stdio-common/bug25.c: New test.
3249
347c92e9
L
32502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3251
3252 [BZ #13576]
3253 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3254 multiple of MALLOC_ALIGNMENT in size.
3255 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3256
6bcc8b3f
JM
32572012-05-24 Joseph Myers <joseph@codesourcery.com>
3258
3259 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3260 Require >= 256.
3261 (FILENAME_MAX): Use macro-int-constant.
3262 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3263 (_IOFBF): Use macro-int-constant.
3264 (_IOLBF): Likewise.
3265 (_IONBF): Likewise.
3266 (SEEK_CUR): Likewise.
3267 (SEEK_END): Likewise.
3268 (SEEK_SET): Likewise.
3269 (TMP_MAX): Likewise.
3270 (EOF): Use macro-int-constant. Require < 0.
3271 (NULL): Use macro-constant. Require == 0.
3272 (stdin): Require type to be FILE *.
3273 (stdout): Likewise.
3274 (stderr): Likewise.
3275 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3276 macro-int-constant.
3277 (EXIT_SUCCESS): Likewise.
3278 (NULL): Use macro-constant. Require == 0.
3279 (RAND_MAX): Use macro-int-constant.
3280 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3281 [C99-based standards] (strtof): Require function.
3282 [C99-based standards] (strtold): Likewise.
3283 [C99-based standards] (strtoll): Likewise.
3284 [C99-based standards] (strtoull): Likewise.
3285 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3286 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3287 [ISO || ISO99 || ISO11] (math.h): Likewise.
3288 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3289 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3291
d18ea0c5
AS
32922012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3293
3294 [BZ #14132]
56d25bb8
AS
3295 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3296 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3297 * intl/dgettext.c (DCGETTEXT): Likewise.
3298 * intl/gettext.c (DCGETTEXT): Likewise.
3299 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3300 * posix/regex_internal.h (gettext): Likewise.
3301 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3302 Remove declaration.
3303 * include/argz.h (__argz_count_internal)
3304 (__argz_stringify_internal): Remove declaration.
3305 (__argz_count, __argz_stringify): Declare hidden proto.
3306 * intl/dcgettext.c: Remove use of INTDEF.
3307 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3308 * string/argz-stringify.c: Likewise.
3309 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3310 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3311 Declare hidden proto.
d18ea0c5
AS
3312 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3313 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3314 Declare hidden proto.
3315 * include/stdio.h (__asprintf_internal): Don't declare.
3316 (__asprintf): Don't define as macro. Declare hidden proto.
3317 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3318 (__fsetlocking): Declare hidden proto.
3319 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3320 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3321 hidden proto.
3322 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3323 (_IO_setlinebuf): Remove use of INTUSE.
3324 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3325 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3326 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3327 Remove declaration.
3328 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3329 (_IO_do_flush): Remove use of INTUSE.
3330 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3331 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3332 (_IO_adjust_column, _IO_least_wmarker)
3333 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3334 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3335 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3336 (_IO_default_doallocate, _IO_wdefault_doallocate)
3337 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3338 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3339 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3340 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3341 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3342 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3343 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3344 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3345 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3346 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3347 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3348 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3349 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3350 proto.
3351 (_IO_flush_all_internal, _IO_adjust_column_internal)
3352 (_IO_default_uflow_internal, _IO_default_finish_internal)
3353 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3354 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3355 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3356 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3357 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3358 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3359 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3360 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3361 (_IO_file_close_internal, _IO_file_close_it_internal)
3362 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3363 (_IO_file_init_internal, _IO_file_attach_internal)
3364 (_IO_file_fopen_internal, _IO_file_read_internal)
3365 (_IO_file_sync_internal, _IO_file_seek_internal)
3366 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3367 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3368 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3369 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3370 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3371 (_IO_list_all_internal, _IO_link_in_internal)
3372 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3373 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3374 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3375 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3376 (_IO_do_write_internal, _IO_padn_internal)
3377 (_IO_getline_info_internal, _IO_getline_internal)
3378 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3379 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3380 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3381 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3382 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3383 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3384 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3385 with libc_hidden_ver, remove use of INTUSE.
3386 * libio/genops.c: Likewise.
3387 * libio/freopen.c: Likewise.
3388 * libio/freopen64.c: Likewise.
3389 * libio/iofclose.c: Likewise.
3390 * libio/iofdopen.c: Likewise.
3391 * libio/iofflush.c: Likewise.
3392 * libio/iofflush_u.c: Likewise.
3393 * libio/iofgets.c: Likewise.
3394 * libio/iofgets_u.c: Likewise.
3395 * libio/iofopen.c: Likewise.
3396 * libio/iofopncook.c: Likewise.
3397 * libio/iofread.c: Likewise.
3398 * libio/iofread_u.c: Likewise.
3399 * libio/ioftell.c: Likewise.
3400 * libio/iofwrite.c: Likewise.
3401 * libio/iogetline.c: Likewise.
3402 * libio/iogets.c: Likewise.
3403 * libio/iogetwline.c: Likewise.
3404 * libio/iopadn.c: Likewise.
3405 * libio/iopopen.c: Likewise.
3406 * libio/ioseekoff.c: Likewise.
3407 * libio/ioseekpos.c: Likewise.
3408 * libio/iosetbuffer.c: Likewise.
3409 * libio/iosetvbuf.c: Likewise.
3410 * libio/ioungetc.c: Likewise.
3411 * libio/ioungetwc.c: Likewise.
3412 * libio/iovdprintf.c: Likewise.
3413 * libio/iovsprintf.c: Likewise.
3414 * libio/iovsscanf.c: Likewise.
3415 * libio/memstream.c: Likewise.
3416 * libio/obprintf.c: Likewise.
3417 * libio/oldfileops.c: Likewise.
3418 * libio/oldiofclose.c: Likewise.
3419 * libio/oldiofdopen.c: Likewise.
3420 * libio/oldiofopen.c: Likewise.
3421 * libio/oldiopopen.c: Likewise.
3422 * libio/oldstdfiles.c: Likewise.
3423 * libio/putc.c: Likewise.
3424 * libio/setbuf.c: Likewise.
3425 * libio/setlinebuf.c: Likewise.
3426 * libio/stdfiles.c: Likewise.
3427 * libio/strops.c: Likewise.
3428 * libio/vasprintf.c: Likewise.
3429 * libio/vscanf.c: Likewise.
3430 * libio/vsnprintf.c: Likewise.
3431 * libio/vswprintf.c: Likewise.
3432 * libio/wfiledoalloc.c: Likewise.
3433 * libio/wfileops.c: Likewise.
3434 * libio/wgenops.c: Likewise.
3435 * libio/wmemstream.c: Likewise.
3436 * libio/wstrops.c: Likewise.
3437 * libio/__fpurge.c: Likewise.
3438 * libio/__fsetlocking.c: Likewise.
3439 * assert/assert.c: Likewise.
3440 * debug/fgets_chk.c: Likewise.
3441 * debug/fgets_u_chk.c: Likewise.
3442 * debug/fread_chk.c: Likewise.
3443 * debug/fread_u_chk.c: Likewise.
3444 * debug/gets_chk.c: Likewise.
3445 * debug/obprintf_chk.c: Likewise.
3446 * debug/vasprintf_chk.c: Likewise.
3447 * debug/vdprintf_chk.c: Likewise.
3448 * debug/vsnprintf_chk.c: Likewise.
3449 * debug/vsprintf_chk.c: Likewise.
3450 * malloc/mtrace.c: Likewise.
3451 * misc/error.c: Likewise.
3452 * misc/syslog.c: Likewise.
3453 * stdio-common/asprintf.c: Likewise.
3454 * stdio-common/fxprintf.c: Likewise.
3455 * stdio-common/getw.c: Likewise.
3456 * stdio-common/isoc99_fscanf.c: Likewise.
3457 * stdio-common/isoc99_scanf.c: Likewise.
3458 * stdio-common/isoc99_vfscanf.c: Likewise.
3459 * stdio-common/isoc99_vscanf.c: Likewise.
3460 * stdio-common/isoc99_vsscanf.c: Likewise.
3461 * stdio-common/printf-prs.c: Likewise.
3462 * stdio-common/printf_fp.c: Likewise.
3463 * stdio-common/printf_fphex.c: Likewise.
3464 * stdio-common/printf_size.c: Likewise.
3465 * stdio-common/putw.c: Likewise.
3466 * stdio-common/scanf.c: Likewise.
3467 * stdio-common/sprintf.c: Likewise.
3468 * stdio-common/tmpfile.c: Likewise.
3469 * stdio-common/vfprintf.c: Likewise.
3470 * stdio-common/vfscanf.c: Likewise.
3471 * stdlib/strfmon_l.c: Likewise.
3472 * sunrpc/openchild.c: Likewise.
3473 * sunrpc/xdr_stdio.c: Likewise.
3474 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3475 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3476
d6c33fda
RM
34772012-05-24 Roland McGrath <roland@hack.frob.com>
3478
c1487492
RM
3479 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3480
3481 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3482 in the third column, to generate for the shared library an IFUNC
3483 that uses _dl_vdso_vsym.
3484 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3485 * Makeconfig (object-suffixes-noshared): New variable.
3486
3487 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3488 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3489 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3490 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3491
d6c33fda
RM
3492 [BZ #14132]
3493 * include/sys/time.h (__gettimeofday): Remove macro.
3494 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3495 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3496 Remove INTDEF.
3497 (__gettimeofday): Add libc_hidden_def.
3498 (gettimeofday): Add libc_hidden_weak.
3499 * sysdeps/mach/gettimeofday.c: Likewise.
3500 * sysdeps/posix/gettimeofday.c: Likewise.
3501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3502 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3504 (__gettimeofday_internal): Remove strong_alias.
3505 (__gettimeofday): Add libc_hidden_def.
3506 (gettimeofday): Add libc_hidden_weak.
3507 * sysdeps/unix/syscalls.list (gettimeofday):
3508 Remove __gettimeofday_internal alias.
3509
b5a2bbe6
L
35102012-05-24 Daniel Jacobowitz <drow@false.org>
3511 H.J. Lu <hongjiu.lu@intel.com>
3512
3513 [BZ #12495]
3514 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3515 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3516 (largebin_index_32_big): New.
3517 (largebin_index): Use it for 16-byte alignment.
3518 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3519 correction with front_misalign.
3520
cfba4fda
L
35212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3522
7f907421
L
3523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3525 Likewise.
3526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3527 Likewise.
3528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3529 Likewise.
3530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3531 Likewise.
3532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3533 Likewise.
3534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3535 Likewise.
3536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3537 Likewise.
3538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3539 Likewise.
3540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3541 Likewise.
3542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3543 Likewise.
3544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3545 Likewise.
3546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3547 Likewise.
3548
cfba4fda
L
3549 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3550 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3551
80bad0cc
JM
35522012-05-24 Joseph Myers <joseph@codesourcery.com>
3553
7a25eb06
JM
3554 [BZ #10846]
3555 [BZ #14036]
3556 * math/libm-test.inc (exp_test): Add test from bug 14036.
3557 (pow_test): Add test from bug 10846.
3558
795405f9
JM
3559 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3560 and other flags.
3561 (special_function): Do not include flags in test name.
3562 (parse_args): Likewise.
3563 * sysdeps/i386/fpu/libm-test-ulps: Update.
3564 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3565 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3566 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3568
80bad0cc
JM
3569 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3570 exceptions.
3571 * math/libm-test.inc ("Philosophy"): Update comment about
3572 exception testing.
3573 (UNDERFLOW_EXCEPTION): New macro.
3574 (UNDERFLOW_EXCEPTION_OK): Likewise.
3575 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3576 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3577 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3578 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3579 (INVALID_EXCEPTION_OK): Update value.
3580 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3581 (OVERFLOW_EXCEPTION_OK): Likewise.
3582 (IGNORE_ZERO_INF_SIGN): Likewise.
3583 (test_exceptions): Handle underflow exceptions.
3584 (acos_test): Update for underflow exception expectations.
3585 (cexp_test): Likewise.
3586 (clog_test): Likewise.
3587 (clog10_test): Likewise.
3588 (csqrt_test): Likewise.
3589 (ctan_test): Likewise.
3590 (ctanh_test): Likewise.
3591 (exp_test): Likewise.
3592 (exp10_test): Likewise.
3593 (exp2_test): Likewise.
3594 (expm1_test): Likewise.
3595 (fma_test): Likewise.
3596 (j0_test): Likewise.
3597 (jn_test): Likewise.
3598 (nexttoward_test): Likewise.
3599 (pow_test): Likewise.
3600 (scalbn_test): Likewise.
3601 (scalbln_test): Likewise.
3602 (tan_test): Likewise.
3603 (y1_test): Likewise.
3604 * sysdeps/i386/fpu/libm-test-ulps: Update.
3605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3606
9e0e3d0b
DM
36072012-05-23 David S. Miller <davem@davemloft.net>
3608
3609 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3610 (__libc_sigaction): Remove unused local variables.
3611
ccd0a08f
L
36122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3613
3614 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3615
62bdf9a6
PE
36162012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3617
f8591f80
PE
3618 mktime: avoid signed integer overflow
3619 * time/mktime.c (__mktime_internal): Do not mishandle the case
3620 where diff == INT_MIN.
3621
94c7d826
PE
3622 mktime: simplify computation of average
3623 * time/mktime.c (ranged_convert): Use new time_t_avg function
3624 instead of rolling our own (probably-slower) code.
3625
ce73d683
PE
3626 mktime: do not assume signed right shift propagates sign bit
3627 * time/mktime.c (isdst_differ): New static function.
3628 (__mktime_internal): No need to normalize tm_isdst now.
3629 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3630 tm_isdst values.
3631
72a22e59
PE
3632 mktime: merge another wrapv change from gnulib
3633 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3634 from some compilers.
3635
68605433
PE
3636 mktime: remove incorrect attempt at unusual arithmetics
3637 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3638 The code didn't really work on such machines anyway.
3639 (TYPE_MINIMUM): Assume two's complement.
3640 (twos_complement_arithmetic): Verify that long_int and time_t
3641 are two's complement (or unsigned, in the latter case).
3642
03cf7fe3
PE
3643 mktime: check signed shifts on long_int and time_t, too
3644 * time/mktime.c (SHR): Check that shifts work as desired
3645 on the types long_int and time_t too, as SHR is used on
3646 such types.
3647
f04dfbc2
PE
3648 mktime: do not assume 'long' is wide enough
3649 * time/mktime.c (verify): Move decl up.
3650 (long_int): New type.
3651 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3652 to remove assumption in the code that 'long' is wide enough to
3653 store year values. This assumption is not true on x32 and on
3654 some non-glibc platforms.
3655
62bdf9a6
PE
3656 mktime: merge wrapv change from gnulib
3657 * time/mktime.c (WRAPV): New macro.
3658 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3659 (guess_time_tm, __mktime_internal): Do not assume that signed
3660 integer overflow wraps around; modern compilers generate code
3661 where this assumption is no longer valid.
3662
5e292e4f
L
36632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3664
3665 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3666 Replace "jmp L(pseudo_end)" with "ret".
3667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3668 Likewise.
3669
8caf8c87
AJ
36702012-05-23 Andreas Jaeger <aj@suse.de>
3671
3672 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3673 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3674
1a09dc56
AJ
36752012-05-23 Andreas Jaeger <aj@suse.de>
3676 Maximilian Attems <max@stro.at>
3677
3678 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3679 New macros.
3680
1c87aba0
L
36812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3682
3683 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3684 code so that pseudo_end is just ret and the stack pointer is
3685 correct also for static library in error case.
3686
40e45bd5
JM
36872012-05-23 Joseph Myers <joseph@codesourcery.com>
3688
c2670533
JM
3689 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3690 move to syscalls.list.
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3695
40e45bd5
JM
3696 * manual/install.texi (Running make install): Do not mention Linux
3697 kernel version for which pt_chown is not needed.
3698 (Linux): Do not mention problems with nscd with 2.0 kernels.
3699 * INSTALL: Regenerated.
3700
be08eda5
AJ
37012012-05-23 Andreas Jaeger <aj@suse.de>
3702
3703 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3704 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3705 macro.
3706 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3707 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3708 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3709 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3710 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3711 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3712 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3713 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3714 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3716 * sysdeps/unix/sysv/linux/bits/in.h
3717 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3718
a6a056bb
RM
37192012-05-22 Roland McGrath <roland@hack.frob.com>
3720
3721 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3722 (PREPARE_VERSION): Just use assert instead, it will be elided
3723 under [NDEBUG] anyway.
3724
c9009328
L
37252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 * sysdeps/unix/sysv/linux/Makefile: Include
3728 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3729 (sysdep_routines): Remove sysctl.
c9009328
L
3730 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3731 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3734 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3735
73338355
AJ
37362012-05-22 Andreas Jaeger <aj@suse.de>
3737
3738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3739 that pseudo_end is just ret and the stack pointer is correct also
3740 for static library in error case.
3741
d44638b0
PP
37422012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3743
3744 [BZ #14122]
3745 * nss/nsswitch.c (defconfig_entries): New variable.
3746 (__nss_database_lookup): Don't leak defconfig entries.
3747 (nss_parse_service_list): Don't leak on error paths.
3748 (free_database_entries): New function.
3749 (free_defconfig): New function.
3750 (free_mem): Move common code to free_database_entries.
3751
31a39bd8
L
37522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3753
da0331a8
L
3754 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3755 Add arch_prctl.
3756 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3757
31a39bd8
L
3758 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3759 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3761 New macro.
3762 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3763 (INTERNAL_SYSCALL_TYPES): Likewise.
3764 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3765 (LOAD_REGS_TYPES_[1-6]): Likewise.
3766 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3767 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3768
45470df3
AZ
37692012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3770
3771 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3772 copysignl for GLIBC_2_0.
3773 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3774 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3776 logbl for GLIBC_2_0.
3777 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3778 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3779
98a61bcb
L
37802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3781
a4f6e481
L
3782 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3783 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3784
f63d5db6
L
3785 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3786 Use "neg %eax".
3787
98a61bcb
L
3788 * time/mktime.c: Update copyright years.
3789
95770f14
PE
37902012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3791
6226efbd
PE
3792 mktime: merge comment-quoting-style change from gnulib
3793 * time/mktime.c: Quote 'like this' in comments.
3794 The GNU coding standards suggest that we no longer quote `like this',
3795 as "`" and "'" are typically rendered asymmetrically nowadays.
3796 The typical gnulib style is to quote 'like this' when quoting
3797 code, and "like this" when quoting English.
3798
b99e4f78
PE
3799 * time/mktime.c (compile-command): Add "-I.".
3800
643e01e6
PE
3801 mktime: merge mktime-internal.h change from gnulib
3802 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3803
2554247d
PE
3804 mktime: merge time_r change from gnulib
3805 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3806
826dd0ab
PE
3807 mktime: merge DEBUG change from gnulib
3808 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3809 case system <time.h> has a #define.
3810
bd83aabe
PE
3811 mktime: merge <sys/types.h> change from gnulib
3812 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3813 since <time.t> is now guaranteed to define time_t.
3814
95770f14
PE
3815 mktime: merge HAVE_CONFIG_H change from gnulib
3816 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3817
5e1a27a9
L
38182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3819
0e44a77e
L
3820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3821 Use "neg %eax".
3822
5e1a27a9
L
3823 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3824 __rlim_t cast.
3825 (struct rusage): Use anonymous union to pad each field to
3826 __syscall_slong_t.
3827
46259bec
DM
38282012-05-21 David S. Miller <davem@davemloft.net>
3829
3830 * Makefules (o-iterator): Remove .s cases.
3831 (compile-command.s): Delete.
3832 (COMPILE.s): Delete.
3833 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3834
59f0c22e
JM
38352012-05-21 Joseph Myers <joseph@codesourcery.com>
3836
3837 * configure.in (libc_cv_predef_stack_protector): Only consider
3838 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3839 * configure: Regenerated.
3840
20c07380
L
38412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3842
bbb3154b
L
3843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3844 New macro. Use R*LP on int and pointer.
3845 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3846 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3847 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3848 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3849
20c07380
L
3850 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3851 [__WORDSIZE_TIME64_COMPAT32] instead of
3852 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3853 (struct utmp): Likewise.
3854 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3855 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3856 Renamed to ...
3857 (__WORDSIZE_TIME64_COMPAT32): This.
3858 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3859 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3860 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3861 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3862 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3863 (__WORDSIZE_TIME64_COMPAT32): New macro.
3864
d8d1017e
AJ
38652012-05-21 Andreas Jaeger <aj@suse.de>
3866
3867 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3868 only if [SHARED]. Add prototype for __wcschr_ia32.
3869
6c7fb145
RM
38702012-05-21 Roland McGrath <roland@hack.frob.com>
3871
3872 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3873 of %rbp unmolested in the jmp_buf while mangling the low bits.
3874 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3875 unmolested high bits of %rbp while demangling the low bits.
3876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3877
66274218
AJ
38782012-05-21 Andreas Jaeger <aj@suse.de>
3879
07c58f8f
AJ
3880 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3881 * sunrpc/svc_simple.c: Use it for registerrpc.
3882 * sunrpc/xcrypt.c: Use it for passwd2des.
3883
66274218
AJ
3884 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3885
61f65140
L
38862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3887
3888 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3889 Don't define if [__SYSCALL_WORDSIZE != 32].
3890 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3891 New macro.
3892
5fefb436
AJ
38932012-05-21 Bruno Haible <bruno@clisp.org>
3894 Andreas Jaeger <aj@suse.de>
3895
3896 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3897 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3898 inptr and inend for must_buffer_ch.
3899 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3900 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3901 * stdio-common/Makefile (tests): Remove bug15.
3902 (bug15-ENV): Remove macro.
3903 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3904 anymore.
3905
d8e272ab
AJ
39062012-05-19 Andreas Jaeger <aj@suse.de>
3907 Roland McGrath <roland@hack.frob.com>
3908
3909 * manual/contrib.texi: Completely rewritten. It contains now an
3910 alphabetical list of contributors and their contributions.
3911
4a56a162
RH
39122012-05-21 Richard Henderson <rth@twiddle.net>
3913
3914 * misc/getauxval.c (__getauxval): Use unsigned long int.
3915 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3916 (getauxval): Use unsigned long int.
3917
d024d23c
L
39182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3919
3920 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3921
cbc00a03
RM
39222012-05-21 Roland McGrath <roland@hack.frob.com>
3923
3924 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3925 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3926 __alignof__ (long double).
3927
478143fa
AZ
39282012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3929
3930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3931
c7683a6d
RH
39322012-05-20 Richard Henderson <rth@twiddle.net>
3933
3934 * misc/getauxval.c: New file.
3935 * misc/sys/auxv.h: New file.
3936 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3937 (routines): Add getauxval.
3938 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3939 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3940 * elf/dl-sysdep.c (_dl_auxv): Remove.
3941 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3942 * elf/dl-support.c (_dl_auxv): New variable.
3943 (_dl_aux_init): Initialize it.
3944 * manual/startup.texi (Auxiliary Vector): New node.
3945 * sysdeps/generic/bits/hwcap.h: New file.
3946 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3947 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3948 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3949 * sysdeps/sparc/sysdep.h: ... here. Include it.
3950 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3953 Update.
c7683a6d
RH
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3962
a6f1845d
AZ
39632012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3964
3965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3966
cbcbe830
DM
39672012-05-19 David S. Miller <davem@davemloft.net>
3968
3969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3970
e0b16cc2
JM
39712012-05-19 Joseph Myers <joseph@codesourcery.com>
3972
3973 [BZ #14123]
3974 * math/s_ccosh.c: Include <float.h>
3975 (__ccosh): Avoid internal overflow calculating sinh and cosh
3976 values before multiplying by sin and cos values.
3977 * math/s_ccoshf.c: Likewise.
3978 * math/s_ccoshl.c: Likewise.
3979 * math/s_csin.c: Likewise.
3980 * math/s_csinf.c: Likewise.
3981 * math/s_csinl.c: Likewise.
3982 * math/s_csinh.c: Likewise.
3983 * math/s_csinhf.c: Likewise.
3984 * math/s_csinhl.c: Likewise.
3985 * math/libm-test.inc (ccos_test): Add more tests.
3986 (ccosh_test): Likewise.
3987 (csin_test): Likewise.
3988 (csinh_test): Likewise.
3989 * sysdeps/i386/fpu/libm-test-ulps: Update.
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3991
6ad13e08
L
39922012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3993
f66f0ce8
L
3994 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3995 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3996
6ad13e08
L
3997 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3998
b1d072a7
JM
39992012-05-19 Joseph Myers <joseph@codesourcery.com>
4000
4001 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4002 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4003 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4004 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4005 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4006 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4007 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4008 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4009 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4010 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4011 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4012 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4013 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4014 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4015 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4016 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4017 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4018 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4019 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4020 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4021 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4022 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4023 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4024 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4025 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4026 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4027 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4028 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4029 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4030 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4031 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4032
9eae47cb
AJ
40332012-05-18 Andreas Jaeger <aj@suse.de>
4034
4035 * csu/.gitignore: Delete.
4036
bb07f69f
L
40372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4038
4039 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4040 (timex): Use __syscall_slong_t.
4041
e6bdb741
AJ
40422012-05-18 Andreas Jaeger <aj@suse.de>
4043 Carlos O'Donell <carlos_odonell@mentor.com>
4044
4045 * manual/install.texi (Configuring and compiling): Update
4046 description about files modified in the source directory.
d6c33fda 4047 * INSTALL: Regenerated.
e6bdb741 4048
1b74487e
L
40492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4052 value. Use "or" to set return value to -1.
4053 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4054 negate return value.
4055
a88b64b9
TMQMF
40562012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4057
4058 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4059 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4060 failure if the compiler has Graphite support disabled.
4061 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4062 Likewise.
4063 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4064 CFLAGS-memmove.c): Likewise.
4065 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4066 Likewise.
4067
3707636e
L
40682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4069
610b8622
L
4070 * sysdeps/x86_64/x32/_itoa.h: New file.
4071
7cd195df
L
4072 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4073 getdents system call only if kernel and user dirents have the
4074 same d_ino and d_off.
4075
94b07d20
L
4076 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4077 LLONG_MAX != LONG_MAX.
4078 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4079 (_fitoa_word): Likewise.
4080
18298070
L
4081 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4082 years.
4083 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4084 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4085 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4086
553c7ea4
L
4087 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4088 include <bits/wordsize.h>. Check __x86_64__ instead of
4089 __WORDSIZE.
4090 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4091 if __x86_64__ is defined. Use anonymous union on fpstate.
4092
3707636e
L
4093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4094 anonymous union.
4095
b53ef01a
AS
40962012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4097
37fb1dc0
AS
4098 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4099 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4100 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4101 Refer to _rtld_local_ro instead of _rtld_global_ro.
4102 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4103 Likewise.
4104 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4105 Likewise.
4106 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4107 Likewise.
4108 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4109 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4110 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4111
b53ef01a
AS
4112 * sysdeps/powerpc/powerpc32/dl-machine.c
4113 (__elf_machine_runtime_setup) [PROF]: Don't reference
4114 _dl_prof_resolve.
4115
7a185db2
AJ
41162012-05-18 Andreas Jaeger <aj@suse.de>
4117
4118 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4119 function only available for GCCs before 3.4 since GCC 3.4
4120 introduced a builtin.
4121 (lrint): Likewise.
4122 (llrintf): Likewise.
4123 (llrint): Likewise.
4124 (fmaxf): Likewise.
4125 (fmax): Likewise.
4126 (fminf): Likewise.
4127 (fmin): Likewise.
4128 (rint): Likewise.
4129 (rintf): Likewise.
4130 (nearbyint): Likewise.
4131 (nearbyintf): Likewise.
4132 (ceil): Likewise.
4133 (ceilf): Likewise.
4134 (floor): Likewise.
4135 (floorf): Likewise.
4136
3e5aef87
L
41372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4138
428bd707
L
4139 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4140 on both fields and cast pointer to __syscall_ulong_t.
4141
3e5aef87
L
4142 * bits/types.h (__fsword_t): New type.
4143 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4144 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4146 (__FSWORD_T_TYPE): Likewise.
4147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4148 (__FSWORD_T_TYPE): Likewise.
4149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4150 (__FSWORD_T_TYPE): Likewise.
4151 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4152 (__FSWORD_T_TYPE): Likewise.
4153 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4154 __SWORD_TYPE with __fsword_t.
4155 (statfs64): Likewise.
4156
1ba7c3dc
DM
41572012-05-17 David S. Miller <davem@davemloft.net>
4158
4159 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4160
59910343
AJ
41612012-05-17 Andreas Jaeger <aj@suse.de>
4162
4163 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4164 warning.
4165
2e4c1e9e
L
41662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4167
4168 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4169
de7f5ce7
AJ
41702012-05-17 Andreas Jaeger <aj@suse.de>
4171
4172 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4173 when it is used.
4174
286abc3d
CM
41752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4176
4177 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4178
477cc68e
L
41792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4180
4181 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4182 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4183
1a0994f5
CD
41842012-05-17 Andreas Jaeger <aj@suse.de>
4185 Carlos O'Donell <carlos_odonell@mentor.com>
4186
4187 [BZ #14059]
4188 * sysdeps/x86_64/multiarch/init-arch.h
4189 (bit_YMM_Usable): Rename to...
4190 (bit_AVX_Usable): ... this.
4191 (bit_FMA4_Usable): New macro.
4192 (bit_XMM_state): New macro.
4193 (bit_YMM_state): New macro.
4194 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4195 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4196 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4197 (CPUID_OSXSAVE): New macro.
4198 (CPUID_AVX): New macro.
4199 (CPUID_FMA4): New macro.
4200 (index_YMM_Usable): Rename to...
4201 (index_AVX_Usable): ... this.
4202 (HAS_AVX): Use HAS_ARCH_FEATURE.
4203 (HAS_FMA4): Likewise.
4204 (HAS_YMM_USABLE): Remove.
4205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4206 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4207 are present.
4208 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4209 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4210 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4211 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4212 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4213
0af797de
CM
42142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4215
4216 * math/libm-test.c: Support platforms without multiple rounding modes.
4217 * math/bug-nextafter.c: Support platforms without FP exceptions.
4218 * math/bug-nexttoward.c: Likewise.
4219 * math/test-fenv.c: Likewise.
4220 * math/test-misc.c: Likewise.
4221 * stdlib/bug-getcontext.c: Likewise.
4222
e39745ff
AJ
42232012-05-17 Andreas Jaeger <aj@suse.de>
4224
4225 * manual/examples/search.c (critter_cmp): Change signature to
4226 avoid warnings.
4227 * manual/string.texi (Collation Functions): Likewise.
4228
48970aba
L
42292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4230
4231 * bits/types.h: Fold copyright years.
4232 * bits/typesizes.h: Likewise.
4233 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4234 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4237 * time/time.h: Likewise.
4238
bedee953
PP
42392012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4240
4241 [BZ #208]
4242 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4243 in instead of returning them. Return void.
4244 (__libc_mallinfo): Accumulate over all arenas.
4245 (__malloc_stats): Adjust for change in int_mallinfo interface.
4246
61653dfb
RM
42472012-05-16 Roland McGrath <roland@hack.frob.com>
4248
30b99d79
RM
4249 [BZ #10375]
4250 * configure.in (NM): Add AC_CHECK_TOOL for it.
4251 (libc_extra_cflags): New substituted variable.
4252 Check for -fstack-protector being used implicitly.
4253 * configure: Regenerated.
4254 * config.make.in (config-extra-cflags): New variable,
4255 gets @libc_extra_cflags@.
4256 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4257
61653dfb
RM
4258 [BZ #10375]
4259 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4260 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4261 * configure: Regenerated.
4262 * config.make.in (CPPUNDEFS): New substituted variable.
4263 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4264 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4265 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4266
661768bb
L
42672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4268
4269 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4270 (mq_attr): Use __syscall_slong_t.
4271
d4261567
L
42722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4273
4274 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4275 Check __x86_64__ instead of __WORDSIZE.
4276 (_STAT_VER_LINUX): Likewise.
4277 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4278 __syscall_ulong_t and __syscall_slong_t.
4279 (stat64): Likewise.
4280
cf3ff365
L
42812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4282
4283 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4284
76cf3e4d
L
42852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4286
4287 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4288
a637753a
L
42892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4290
4291 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4292 __syscall_ulong_t.
4293
d5e05119
L
4294 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4295 include <bits/wordsize.h>. Check __x86_64__ instead of
4296 __WORDSIZE.
4297 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4298 defined.
4299 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4300
f62ee380
L
4301 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4302 include <bits/wordsize.h>. Check __x86_64__ instead of
4303 __WORDSIZE.
4304 (user_regs_struct): Use "__extension__ unsigned long long"
4305 instead of "unsigned long" if __x86_64__ is defined.
4306 (user): Likewise. Pad after pointer field if __ILP32__ is
4307 defined.
4308
4e124ced
JM
43092012-05-16 Joseph Myers <joseph@codesourcery.com>
4310
6a3951a0
JM
4311 * configure.in (makeinfo): Require version 4.5 or later. Allow
4312 versions 5 to 9.
4313 * configure: Regenerated.
4314 * manual/install.texi (texinfo): Increase version requirement to
4315 4.5 or later.
4316 * INSTALL: Regenerated.
4317
4e124ced
JM
4318 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4319
953ca31a
L
43202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4321
4322 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4323
617aca05
L
4324 * sysdeps/x86_64/x32/ffs.c: New file.
4325
5762f7ae
L
4326 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4327 __syscall_ulong_t.
4328 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4329 defined. Use __syscall_ulong_t.
4330 (shminfo): Use __syscall_ulong_t.
4331 (shm_info): Likewise.
4332
a26b6856
L
4333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4334 __syscall_ulong_t.
4335
cb2b9ef7
L
4336 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4337 <bits/wordsize.h>.
4338 (msgqnum_t): Use __syscall_ulong_t.
4339 (msglen_t): Likewise.
4340 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4341 __syscall_ulong_t.
4342
34683bb0
L
4343 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4344 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4345
84a68786
L
4346 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4347
48baa5f1
L
4348 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4349 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4350
180be88b
L
4351 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4352 __syscall_slong_t.
4353
5e90c8ad
L
4354 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4355 include <bits/wordsize.h>. Check __x86_64__ instead of
4356 __WORDSIZE.
4357
23dfb58b
L
4358 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4359 "unsigned long long int" if __x86_64__ is defined.
4360 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4361
ce5d54b0
L
4362 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4363 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4364 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4365
13dc9eac
L
4366 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4367 <stdint.h>.
4368 (GET_PC): Cast to uintptr_t first.
4369 (GET_FRAME): Likewise.
4370 (GET_STACK): Likewise.
4371
a7895d15
L
4372 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4373 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4374 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4375 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4376 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4377 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4378 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4379 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4380 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4382 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4384 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4385 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4386 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4387 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4388 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4390 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4391 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4392 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4394 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4396 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4397 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4398 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4400 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4401
656416c9
AS
44022012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4403
5bd66283
AS
4404 * Makerules (+depfiles): Also collect depfiles from .oS in
4405 $(extra-objs).
4406 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4407 .oS, $(libnldbl-routines)).
4408
656416c9
AS
4409 * Makerules (native-compile-mkdep-flags): Define.
4410 * sunrpc/Makefile (extra-objs): Add $(addprefix
4411 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4412 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4413 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4414 calling $(make-target-directory).
4415
a46f2169
L
44162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4417
4418 * bits/types.h (__snseconds_t): Removed.
4419 * time/time.h (struct timespec): Replace __snseconds_t with
4420 __syscall_slong_t.
4421 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4422 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4423 Likewise.
4424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4425 (__SNSECONDS_T_TYPE): Likewise.
4426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4427 (__SNSECONDS_T_TYPE): Likewise.
4428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4429 (__SNSECONDS_T_TYPE): Likewise.
4430
6af6528b
L
44312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4432
4433 * sysdeps/mach/hurd/bits/typesizes.h
4434 (__SYSCALL_SLONG_TYPE): New macro.
4435 (__SYSCALL_ULONG_TYPE): Likewise.
4436
de986b56
L
44372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4438
4439 * bits/types.h (__syscall_slong_t): New type.
4440 (__syscall_ulong_t): Likewise.
4441
4442 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4443 (__SYSCALL_ULONG_TYPE): Likewise.
4444 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4445 (__SYSCALL_SLONG_TYPE): Likewise.
4446 (__SYSCALL_ULONG_TYPE): Likewise.
4447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4448 (__SYSCALL_SLONG_TYPE): Likewise.
4449 (__SYSCALL_ULONG_TYPE): Likewise.
4450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4451 (__SYSCALL_SLONG_TYPE): Likewise.
4452 (__SYSCALL_ULONG_TYPE): Likewise.
4453
85736dc7
L
44542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4455
4456 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4457 Add sigaltstack-offsets.sym.
4458 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4459 <sigaltstack-offsets.h>.
4460 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4461 longjmp_msg pointer.
4462 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4463 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4464 signal stack.
4465 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4466
cc03b296
JM
44672012-05-15 Joseph Myers <joseph@codesourcery.com>
4468
a9538892
JM
4469 * elf/stackguard-macros.h: Remove file.
4470 * sysdeps/generic/stackguard-macros.h: New file.
4471 * sysdeps/i386/stackguard-macros.h: Likewise.
4472 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4473 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4474 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4475 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4476 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4477 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4478 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4479 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4480 <elf/stackguard-macros.h>.
4481
cc03b296
JM
4482 [BZ #14109]
4483 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4484 __aligned__ in attribute.
4485 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4486 (gregset_t): Likewise.
4487
93171016
L
44882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4491 * sysdeps/x86_64/64/Implies-after: Here. New file.
4492 * sysdeps/x86_64/x32/Implies-after: New file.
4493
d86813a0
L
44942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4495
4496 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4497 and access return value for _dl_profile_fixup. Use R10_LP to
4498 load frame size.
4499
2953ec75
L
45002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4501
4502 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4503
3b550e9e
L
45042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4505
4506 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4507 * sysdeps/x86_64/x32/sysdep.h: New file.
4508
eda41706
L
45092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4510
4511 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4512 * sysdeps/x86_64/setjmp.S: Likewise.
4513
9ea01d93
AZ
45142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4515
4516 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4517 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4518 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4519 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4520 remove unused global constant.
4521
02a91938
CM
45222012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4523
4524 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4525 include of <not-cancel.h>.
4526
6540185f
RM
45272012-05-15 Roland McGrath <roland@hack.frob.com>
4528
4529 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4530
509072a0
AJ
45312012-05-15 Jeff Law <law@redhat.com>
4532 Andreas Jaeger <aj@suse.de>
4533
4534 [BZ #13594]
4535 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4536 out from...
4537 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4538 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4539 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4540 code changing __hst_map_handle.map.
4541
ba75122d
RM
45422012-05-15 Roland McGrath <roland@hack.frob.com>
4543
4544 * configure.in (sysnames): Look for Implies-before and Implies-after
4545 files.
4546 * configure: Regenerated.
4547
890d8bd8
L
45482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4549
4550 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4551 8-byte data alignment with LP_SIZE alignment.
4552
f6ee6623
L
45532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4554
4555 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4556 into R10_LP.
4557
ea2626f6
L
45582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4561
085f715e
L
45622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4563
4564 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4565 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4566 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4567 Likewise.
4568 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4569
be8498fc
L
45702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4571
4572 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4573 (stackinfo_sub_sp): Likewise.
4574
70bc83b9
L
45752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4576
4577 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4578 RAX_LP.
4579
9bc0b730
L
45802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4581
4582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4583 into R*_LP.
4584
6d2850e7
L
45852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4586
4587 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4588 sizes into R*_LP.
4589
3cb84561
L
45902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4591
4592 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4593
54e2ed81
L
45942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4597 into R11_LP and load __x86_64_shared_cache_size_half into
4598 R8_LP.
4599
8a17f349
L
46002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4601
4602 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4603 R8_LP.
4604
777b1eea
AZ
46052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4606
4607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4608 logb for POWER7.
4609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4610 logbf for POWER7.
4611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4612 logbl for POWER7.
4613 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4614 powerpc32/power7/fpu/s_logb.c via #include.
4615 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4616 powerpc32/power7/fpu/s_logbf.c via #include.
4617 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4618 powerpc32/power7/fpu/s_logbl.c via #include.
4619
d20d4ac2
JM
46202012-05-15 Joseph Myers <joseph@codesourcery.com>
4621
4622 * README.libm: Remove file.
4623
6cdef1ab
L
46242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4625
4626 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4627 count for x32. Use R*_LP and omit operand-size suffix.
4628
0b254d8f
L
46292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4630
4631 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4632 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4633 * sysdeps/x86_64/x32/shlib-versions: New file.
4634
ceb809dc
RM
46352012-05-14 Roland McGrath <roland@hack.frob.com>
4636
4637 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4638 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4639 Use _dl_fatal_printf instead.
4640
37f1abd4
JM
46412012-05-14 Joseph Myers <joseph@codesourcery.com>
4642
4643 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4644 set if not set by the user. Do not allow for being unset.
4645 * sysdeps/unix/sysv/linux/configure: Regenerated.
4646
11de3a33
L
46472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4650 the `q' suffix from lea and replace .quad with ASM_ADDR.
4651
e02f153a
L
46522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4653
4654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4655 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4656 instead of $17.
4657 (PTR_DEMANGLE): Likewise.
4658
520ae0fd
L
46592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4660
4661 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4662 (LP_OP): Likewise.
4663 (ASM_ADDR): Likewise.
4664 (RAX_LP): Likewise.
4665 (RBP_LP): Likewise.
4666 (RBX_LP): Likewise.
4667 (RCX_LP): Likewise.
4668 (RDI_LP): Likewise.
4669 (RSI_LP): Likewise.
4670 (RSP_LP): Likewise.
4671 (R8_LP): Likewise.
4672 (R9_LP): Likewise.
4673 (R10_LP): Likewise.
4674 (R10_LP): Likewise.
4675 (R11_LP): Likewise.
4676 (R12_LP): Likewise.
4677 (R13_LP): Likewise.
4678 (R14_LP): Likewise.
4679 (R15_LP): Likewise.
4680
b985be81
L
46812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4682
4683 * sysdeps/x86_64/x32/dl-machine.h: New file.
4684
6a4888ff
AJ
46852012-05-14 Andreas Jaeger <aj@suse.de>
4686
4687 * manual/Makefile (subdir): Remove export of subdir.
4688 (all): Remove target.
4689 (.PHONY): Remove all from list.
4690 (mkinstalldirs): Remove.
4691 (.PHONY): Remove installdirs from list.
4692 ($(inst_infodir)/libc.info): Use make-target-directory.
4693 (installdirs): Remove.
4694 (subdir_%): Remove.
4695 (glibc-targets): Remove.
4696 (lib): Remove.
4697 (stubs): Remove.
4698 ($(objpfx)stubs ../po/manual.pot): Remove.
4699 ($(objpfx)stamp%): Remove.
4700 (make-target-directory): Remove.
4701 (subdir_install): Remove.
4702 (routines): Remove.
4703 (aux): Remove.
4704 (sources): Remove.
4705 (objects): Remove.
4706 (headers): Remove.
4707
4708 [BZ #13750]
4709 * manual/.gitignore: Remove, it's not needed anymore.
4710 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4711 all files in it.
4712 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4713 directory.
4714 (texis): Renamed to $(objpfx)texis.
4715 (texis-path): New, contains path to generated files.
4716 (chapters.%): Use texis-path for complete path, add extra argument
4717 libc-texinfo.sh.
4718 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4719 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4720 (summary,texi, stamp-summary): Use complete path of
4721 files. Generate files in build dir.
4722 (dir-add.texi): Build in build dir.
4723 (libm-err.texi,stamp-libm-err): Likewise.
4724 (version.texi, stamp-version): Likewise.
4725 (.%c.texi): Likewise.
4726 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4727 (mostlyclean): Remove target.
4728 (realclean): Remove target.
4729 (generated): Add new variable with contents from mostlyclean and
4730 realclean, remove entries duplicated in common-mostlyclean, add
4731 stamp-libm-err and stamp-version.
4732 (generated-dirs): Add libc directory.
4733 ($(inst_infodir)/libc.info): Install files from build dir.
4734
4735 * manual/install.texi (Configuring and compiling): Adjust since
4736 the info files are not part of the tar ball anymore.
4737
7ac77294
AJ
47382012-05-14 Andreas Jaeger <aj@suse.de>
4739
4740 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4741 variable.
4742
ffb7875d
JM
47432012-05-14 Joseph Myers <joseph@codesourcery.com>
4744
4745 [BZ #13717]
4746 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4747 to 2.2.0 where earlier.
4748 * sysdeps/unix/sysv/linux/configure: Regenerated.
4749 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4750 Remove conditional code.
4751 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4752 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4753 Remove conditional code.
4754 [!__NR_lchown]: Likewise.
4755 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4756 [__NR_lchown]: Likewise.
4757 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4758 comment referencing __ASSUME_LCHOWN_SYSCALL.
4759 * sysdeps/unix/sysv/linux/i386/sigaction.c
4760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4762 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4763 Remove conditional code.
4764 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4765 (__protocol_available): Remove #if 0 code.
4766 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4767 conditional code.
4768 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4769 * sysdeps/unix/sysv/linux/kernel-features.h
4770 (__ASSUME_GETCWD_SYSCALL): Don't define.
4771 (__ASSUME_REALTIME_SIGNALS): Likewise.
4772 (__ASSUME_PREAD_SYSCALL): Likewise.
4773 (__ASSUME_PWRITE_SYSCALL): Likewise.
4774 (__ASSUME_POLL_SYSCALL): Likewise.
4775 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4776 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4777 non-SPARC.
4778 (__ASSUME_SIOCGIFNAME): Don't define.
4779 (__ASSUME_MSG_NOSIGNAL): Likewise.
4780 (__ASSUME_SENDFILE): Define unconditionally.
4781 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4782 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4783 conditional code.
4784 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4785 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4786 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4787 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4788 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4789 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4790 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4795 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4804 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4807 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4813 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4814 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4815 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4816 Remove conditional code.
4817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4818 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4819 Remove conditional code.
4820 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4821 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4822 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4823 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4824 Remove conditional code.
4825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4826 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4827 Remove conditional code.
4828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4829 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4830 Remove conditional code.
4831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4832 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4833 Remove conditional code.
4834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4835 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4836 Remove conditional code.
4837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4838 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4841 * sysdeps/unix/sysv/linux/sigaction.c
4842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4844 * sysdeps/unix/sysv/linux/sigpending.c
4845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4847 * sysdeps/unix/sysv/linux/sigprocmask.c
4848 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4849 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4850 * sysdeps/unix/sysv/linux/sigsuspend.c
4851 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4852 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4853 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4854 (__libc_missing_rt_sigs): Remove.
4855 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4856 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4857 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4858 Remove conditional code.
4859 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4860 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4861 return 1.
4862 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4863 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4864 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4865 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4866
1bfb7291
AJ
48672012-05-14 Andreas Jaeger <aj@suse.de>
4868
caae5a81
AJ
4869 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4870 it's not used in glibc.
4871 (__coshm1): Likewise.
4872 (__acosh1p): Likewise.
4873 (__sgn): Likewise.
4874
1bfb7291
AJ
4875 * manual/string.texi (Copying and Concatenation): Add missing
4876 variable in concat example.
4877 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4878
c044d724
L
48792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4880
144c5467 4881 [BZ #14103]
c044d724
L
4882 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4883 __builtin_clzl with __builtin_clzll.
4884
2523c62b
L
48852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4886
4887 [BZ #14104]
4888 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4889 libc_freeres_ptr.
4890
d7bb4c42
LD
48912012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4892
4893 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4894 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4895 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4896 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4897
9dc4e1fb
MF
48982012-05-14 Mike Frysinger <vapier@gentoo.org>
4899
4900 * NEWS: Update ia64 info.
4901
c7df0112
AS
49022012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4903
4904 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4905 used as bcopy.
4906
dc70356c
TS
49072012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4908
4909 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4910 * sysdeps/unix/syscalls.list (dup3): Likewise.
4911 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4912 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4913
9fb1a21f
L
49142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4915
4916 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4917 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4918
4822a2a5
L
49192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4920
4921 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4922 thread pointer.
4923 (TLS_IE): Use mov/add instead of movq/addq to load thread
4924 pointer.
4925 (TLS_GD_PREFIX): New.
4926 (TLS_GD): Use it.
4927
842b81d6
DM
49282012-05-11 David S. Miller <davem@davemloft.net>
4929
4930 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4931 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4932 (_FPU_SETCW): Likewise.
4933
1cf463cd
L
49342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4935
4936 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4937 is 32-byte aligned.
4938
60cc4a18
AS
49392012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4940
4941 [BZ #11837]
4942 * iconvdata/gb18030.c: Update tables.
4943 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4944 characters specially.
4945 (BODY for TO_LOOP): Add encoding of missing ranges.
4946
febb44a4
TS
49472012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4948
4949 [BZ #13673]
4950 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4951 * sysdeps/mach/hurd/dup3.c: Likewise.
4952 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4953 * sysdeps/powerpc/memmove.c:: Likewise.
4954
0a10fb9e
L
49552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4956
4957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4958 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4959
df8a552f
L
49602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4961
4962 * elf/elf.h (R_X86_64_RELATIVE64): New.
4963 (R_X86_64_NUM): Updated.
4964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4965 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4966 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4967 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4968 tst-quad1pie tst-quad2pie
4969 (modules-names): Add tst-quadmod1 tst-quadmod2.
4970 ($(objpfx)tst-quad1): New dependency.
4971 ($(objpfx)tst-quad2): Likewise.
4972 ($(objpfx)tst-quad1pie): Likewise.
4973 ($(objpfx)tst-quad2pie): Likewise.
4974 * sysdeps/x86_64/tst-quad1.c: New file.
4975 * sysdeps/x86_64/tst-quad1pie.c: New file.
4976 * sysdeps/x86_64/tst-quad2.c: Likewise.
4977 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4978 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4979 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4980 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4981 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4982
f34d6f84
ST
49832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4984
f42d41d1
ST
4985 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4986 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4987 * streams/stropts.h (t_scalar_t): Define type.
4988
3c3571fc
ST
4989 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4990 (_PATH_PRESERVE): Set to "/var/lib".
4991 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4992
61f06bd3
ST
4993 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4994 instead of int.
4995
918d4d71
ST
4996 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4997 if __dir_mkfile succeeded.
4998
f34d6f84
ST
4999 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5000 checking for _hurd_dtablesize. Unlock it right after having
5001 finished _hurd_dtable allocation.
5002
10589b4a
TS
50032012-05-10 Thomas Schwinge <thomas@schwinge.name>
5004
674cdbc7
TS
5005 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5006 * sysdeps/mach/hurd/configure: Regenerated.
5007 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5008 special-casing to...
5009 * sysdeps/gnu/configure.in: ... this new file.
5010 * sysdeps/unix/sysv/linux/configure: Regenerated.
5011 * sysdeps/gnu/configure: New generated file.
5012
8e41b99f
TS
5013 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5014 for Linux: use nsec instead of usec, as well as:
5015 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5016 members of type struct timespec.
5017 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5018 New macros.
5019 (struct stat64): Likewise.
5020 (_STATBUF_ST_NSEC): New macro.
5021 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5022
10589b4a
TS
5023 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5024 __strtoul_internal rather than strtoul.
5025
63643c85
PT
50262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5027
5028 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5029 and reject them.
5030
3faebe6a
ST
50312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5032
5033 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5034 which preserves existing values.
5035 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5036
c6474b07
PT
50372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5038
5039 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5040 TIMEOUT values. Return EINVAL for NFDS values either negative or
5041 greater than FD_SETSIZE.
5042
1043890b
ST
50432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5044
5045 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5046 allocated, call __vm_protect to finish enabling the existing space, and
5047 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5048 allocate the remainder.
5049
37ed8b9b
PT
50502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5051
5052 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5053 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5054
db653660
ST
50552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5056
37ed8b9b
PT
5057 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5058 sysdeps/mach/hurd/readlink.c.
b29d4053 5059
db653660
ST
5060 * posix/tst-sysconf.c (posix_options): Only use
5061 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5062 _POSIX_SYNCHRONIZED_IO when they are defined
5063 * sysdeps/mach/hurd/bits/posix_opt.h:
5064 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5065 (_XOPEN_REALTIME): Undefine macro.
5066 (_XOPEN_REALTIME_THREADS): Undefine macro.
5067 (_XOPEN_SHM): Undefine macro.
5068 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5069 macro to -1.
5070 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5071 macro to -1.
5072 (_POSIX_ASYNC_IO): Undefine macro.
5073 (_POSIX_PRIORITIZED_IO): Undefine macro.
5074 (_POSIX_SPIN_LOCKS): Define macro to -1.
5075
ee16e894
ST
5076 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5077 SA_NODEFER, SA_RESETHAND.
5078 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5079 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5080 F_DUPFD_CLOEXEC.
5081
6103ae3b
TS
50822012-05-10 Thomas Schwinge <thomas@schwinge.name>
5083
5084 * elf/Makefile (pldd-modules): Define unconditionally.
5085
80b4e5f3
TS
50862012-05-10 Thomas Schwinge <thomas@schwinge.name>
5087
5088 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5089
edadcbd6
ST
50902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5091
5092 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5093 Return ENOENT when name is empty.
5094 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5095
80694780
TS
50962012-05-10 Thomas Schwinge <thomas@schwinge.name>
5097
1792c087
TS
5098 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5099
80694780
TS
5100 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5101
6b645f0d
ST
51022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5103
80694780
TS
5104 Fix mlock in all cases except non-readable pages.
5105 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5106 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5107
6b645f0d
ST
5108 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5109 (__mkdir): When path is `/', just fail with EEXIST.
5110 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5111
e468f8a3
TS
51122012-05-10 Thomas Schwinge <thomas@schwinge.name>
5113
5114 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5115 <sys/uio.h> (for writev).
5116 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5117 and <sys/param.h> (for MIN).
5118
a4186cff
PT
51192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5120
5121 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5122 REQUESTED_TIME. Properly set the remaining time and return EINTR
5123 if interrupted.
5124
510bbf14
TS
51252012-05-10 Thomas Schwinge <thomas@schwinge.name>
5126
5127 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5128 Depend on against $(link-rpcuserlibs).
5129
5d5722e8
ST
51302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5131
a4186cff
PT
5132 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5133 (__libc_stack_end): Do not use attribute_relro.
5134 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5135 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5136 to libthread-provided value.
a4186cff
PT
5137 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5138 attribute_relro.
5d5722e8 5139
37233df9
TS
51402012-05-10 Thomas Schwinge <thomas@schwinge.name>
5141
be971a2b
TS
5142 [BZ #3748]
5143 * bits/libc-lock.h (__libc_once_get): New macro.
5144 * sysdeps/mach/bits/libc-lock.h: Likewise.
5145 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5147 instead of using implementation details.
5148
37233df9
TS
5149 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5150 * libio/freopen.c: Likewise.
5151 * libio/freopen64.c: Likewise.
5152 * misc/syslog.c: Likewise.
5153 * nscd/connections.c: Likewise.
5154 * nscd/netgroupcache.c: Likewise.
5155 * sysdeps/posix/getcwd.c: Likewise.
5156
38de94a5
RM
51572012-05-10 Roland McGrath <roland@hack.frob.com>
5158
5159 * math/w_ilogbf.c: Add #include <limits.h>.
5160
67530489
ST
51612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5162
a4186cff 5163 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5164 path instead of returning without unlocking.
5165
67530489
ST
5166 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5167 immediate-write ioctls.
5168 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5169
5aa3a74a
TS
51702012-05-10 Thomas Schwinge <thomas@schwinge.name>
5171
18bad2ae
TS
5172 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5173 __builtin_frame_address instead of making assumptions about the
5174 location of the return address relative to DATA. Force early load of
5175 the return address.
5176 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5177 __builtin_frame_address.
5178
5aa3a74a
TS
5179 dup3 for GNU Hurd.
5180 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5181 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5182 implement dup3 and do some further code clean-ups.
5183 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5184 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5185
ecd0de9a
ST
51862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5187
cd9fa985
ST
5188 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5189
a4186cff
PT
5190 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5191 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5192 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5193 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5194 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5195 d->port.lock.
802ca5a5 5196
a4186cff
PT
5197 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5198 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5199 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5200
bcf55240
TS
52012012-05-10 Thomas Schwinge <thomas@schwinge.name>
5202
6960eb42
TS
5203 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5204 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5205 definitions.
5206
eb43375f
TS
5207 accept4 for GNU Hurd.
5208 * include/sys/socket.h (__libc_accept4): New prototype.
5209 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5210 to implement __libc_accept4.
5211 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5212 __libc_accept4.
5213 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5214
bcf55240
TS
5215 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5216 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5217 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5218 signal-defines.sym.
5219
6178c55b
ST
52202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5221
a4186cff 5222 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5223
6f080c2f
TS
52242012-05-10 Thomas Schwinge <thomas@schwinge.name>
5225
5226 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5227 assertion on O_CLOEXEC flag.
5228 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5229 * hurd/intern-fd.c: Likewise.
5230 * hurd/port2fd.c: Likewise.
5231
bcfe3a54
ST
52322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5233
5234 [BZ #3906]
5235 * bits/in.h (IPV6_PKTINFO): Define new macro.
5236 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5237
89c9aa49
AZ
52382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5239
5240 [BZ #13954]
5241 [BZ #13955]
5242 [BZ #13956]
5243 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5244 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5245 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5246 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5248 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5249 * math/libm-test.inc (logb_test) : Additional logb tests.
5250
021db4be
AJ
52512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5252 Andreas Jaeger <aj@suse.de>
5253
5254 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5255 * configure: Regenerated.
5256 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5257 * config.make.in (link-obsolete-rpc): New substituted variable.
5258 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5259 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5260 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5261 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5262 so that libc.a contains the symbols.
5263 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5264 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5265 * sunrpc/auth_none.c: Likewise.
5266 * sunrpc/auth_unix.c: Likewise.
5267 * sunrpc/authdes_prot.c: Likewise.
5268 * sunrpc/authuxprot.c: Likewise.
5269 * sunrpc/clnt_gen.c: Likewise.
5270 * sunrpc/clnt_perr.c: Likewise.
5271 * sunrpc/clnt_raw.c: Likewise.
5272 * sunrpc/clnt_simp.c: Likewise.
5273 * sunrpc/clnt_tcp.c: Likewise.
5274 * sunrpc/clnt_udp.c: Likewise.
5275 * sunrpc/clnt_unix.c: Likewise.
5276 * sunrpc/des_crypt.c: Likewise.
5277 * sunrpc/des_soft.c: Likewise.
5278 * sunrpc/get_myaddr.c: Likewise.
5279 * sunrpc/key_call.c: Likewise.
5280 * sunrpc/key_prot.c: Likewise.
5281 * sunrpc/netname.c: Likewise.
5282 * sunrpc/pm_getmaps.c: Likewise.
5283 * sunrpc/pm_getport.c: Likewise.
5284 * sunrpc/pmap_clnt.c: Likewise.
5285 * sunrpc/pmap_prot.c: Likewise.
5286 * sunrpc/pmap_prot2.c: Likewise.
5287 * sunrpc/pmap_rmt.c: Likewise.
5288 * sunrpc/publickey.c: Likewise.
5289 * sunrpc/rpc_cmsg.c: Likewise.
5290 * sunrpc/rpc_common.c: Likewise.
5291 * sunrpc/rpc_dtable.c: Likewise.
5292 * sunrpc/rpc_prot.c: Likewise.
5293 * sunrpc/rpc_thread.c: Likewise.
5294 * sunrpc/rtime.c: Likewise.
5295 * sunrpc/svc.c: Likewise.
5296 * sunrpc/svc_auth.c: Likewise.
5297 * sunrpc/svc_raw.c: Likewise.
5298 * sunrpc/svc_run.c: Likewise.
5299 * sunrpc/svc_tcp.c: Likewise.
5300 * sunrpc/svc_udp.c: Likewise.
5301 * sunrpc/svc_unix.c: Likewise.
5302 * sunrpc/svcauth_des.c: Likewise.
5303 * sunrpc/xcrypt.c: Likewise.
5304 * sunrpc/xdr.c: Likewise.
5305 * sunrpc/xdr_array.c: Likewise.
5306 * sunrpc/xdr_float.c: Likewise.
5307 * sunrpc/xdr_intXX_t.c: Likewise.
5308 * sunrpc/xdr_mem.c: Likewise.
5309 * sunrpc/xdr_rec.c: Likewise.
5310 * sunrpc/xdr_ref.c: Likewise.
5311 * sunrpc/xdr_sizeof.c: Likewise.
5312 * sunrpc/xdr_stdio.c: Likewise.
5313
b5c086a2
RM
53142012-05-10 Roland McGrath <roland@hack.frob.com>
5315
5316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5317 change. Update copyright years.
5318
6d74dd09
JM
53192012-05-10 Joseph Myers <joseph@codesourcery.com>
5320
5321 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5322
28e72501
MK
53232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5324 Joseph Myers <joseph@codesourcery.com>
5325 Paul Pluzhnikov <ppluzhnikov@google.com>
5326
5327 [BZ #14012]
5328 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5329 requiring rpcgen.
5330 [cross-compiling] (extra-libs): Likewise.
5331 [cross-compiling] (extra-libs-others): Likewise.
5332 [cross-compiling] (librpcsvc-routines): Likewise.
5333 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5334 [cross-compiling] (omit-deps): Likewise.
5335 (sunrpc-CPPFLAGS): New variable.
5336 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5337 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5338 (cross-rpcgen-objs): New variable.
5339 (extra-objs): Append $(cross-rpcgen-objs).
5340 ($(cross-rpcgen-objs)): New rule.
5341 ($(objpfx)cross-rpcgen): Likewise.
5342 (rpcgen-cmd): Define to use $(built-program-file). Expand
5343 comment.
5344 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5345 ($(objpfx)x%.stmp): Likewise.
5346 * sunrpc/proto.h [IS_IN_build] (_): Define.
5347 [IS_IN_build] (_libc_intl_domainname): Likewise.
5348
c8c59454
L
53492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5350
5351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5352 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5353 and R_X86_64_TPOFF64.
5354
6f27cd16
JM
53552012-05-10 Joseph Myers <joseph@codesourcery.com>
5356
5357 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5358 sysdeps/unix/sysv/syscalls.list.
5359 (stime): Likewise.
5360 (utime): Likewise.
5361 * sysdeps/unix/sysv/syscalls.list: Remove file.
5362
02467e1c
PE
53632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5364
5365 [BZ #3440]
5366 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5367 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5368 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5369 (__LC_IDENTIFICATION): Make these macros useful in #if
5370 expressions, as required by C99.
5371
da392631
AS
53722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5373
5374 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5375 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5376 after this.
5377
8115f29b
L
53782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5379
5380 * stdlib/longlong.h: Updated from GCC.
5381
bdd74070
AJ
53822012-05-09 Andreas Jaeger <aj@suse.de>
5383
edfe0dbe
AJ
5384 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5385 default is first entry.
5386 (run_mode): Set type.
5387 (main): Remove informal message about syslog.
5388 (options): Fix typo.
5389
bcfe3a54
ST
5390 [BZ #14053]
5391 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5392 to asm.
bcfe3a54
ST
5393 (lrint): Likewise.
5394 (llrintf): Likewise.
5395 (llrint): Likewise.
5396 (rint): Likewise.
5397 (rintf): Likewise.
5398 (nearbyint): Likewise.
5399 (nearbyintf): Likewise.
bdd74070 5400
91d8d69e
AJ
54012012-05-09 Andreas Jaeger <aj@suse.de>
5402 Pedro Alves <palves@redhat.com>
5403
5404 * nscd/nscd.c (run_mode): Use enum.
5405 (main): Cleanup coding style issue.
5406
bb90b80b
AJ
54072012-05-09 Alexandre Oliva <aoliva@redhat.com>
5408 Andreas Jaeger <aj@suse.de>
5409
bcfe3a54
ST
5410 * nscd/nscd.c (go_background): Replaced with...
5411 (run_mode): ... this.
bb90b80b 5412 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5413 (options): Add -F --foreground.
5414 (main): Implement it.
5415 (parse_opt): Parse it.
bb90b80b 5416
1a4b75a1
AJ
54172012-05-09 Andreas Jaeger <aj@suse.de>
5418
5419 [BZ #14083]
5420 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5421 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5422 -Wconversion warning.
5423 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5424 Likewise.
5425
b1cc2472
JM
54262012-05-09 Joseph Myers <joseph@codesourcery.com>
5427
5428 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5429 == 0.
5430 (LC_ALL): Use macro-int-constant.
5431 (LC_COLLATE): Likewise.
5432 (LC_CTYPE): Likewise.
5433 (LC_MESSAGES): Likewise.
5434 (LC_MONETARY): Likewise.
5435 (LC_NUMERIC): Likewise.
5436 (LC_TIME): Likewise.
5437 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5438 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5439 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5440 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5441 Specify type.
5442 [C99-based standards] (float_t): Expect type.
5443 [C99-based standards] (double_t): Expect type.
5444 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5445 type.
5446 [C99-based standards] (HUGE_VALL): Likewise.
5447 [C99-based standards] (INFINITY): Likewise.
5448 [C99-based standards] (NAN): Likewise.
5449 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5450 [C99-based standards] (FP_NAN): Likewise.
5451 [C99-based standards] (FP_NORMAL): Likewise.
5452 [C99-based standards] (FP_SUBNORMAL): Likewise.
5453 [C99-based standards] (FP_ZERO): Likewise.
5454 [C99-based standards] (FP_FAST_FMA): Use
5455 optional-macro-int-constant. Specify type. Require == 1.
5456 [C99-based standards] (FP_FAST_FMAF): Likewise.
5457 [C99-based standards] (FP_FAST_FMAL): Likewise.
5458 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5459 [C99-based standards] (FP_ILOGBNAN): Likewise.
5460 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5461 Specify type.
5462 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5463 [C99-based standards] (math_errhandling): Specify type.
5464 [ISO99 || ISO11] (signgam): Do not allow.
5465 [non-C99-based standards] (copysignf): Do not allow.
5466 [non-C99-based standards] (exp2f): Likewise.
5467 [non-C99-based standards] (log2f): Likewise.
5468 [non-C99-based standards] (modff): Allow.
5469 [non-C99-based standards] (erff): Do not allow.
5470 [non-C99-based standards] (erfcf): Likewise.
5471 [non-C99-based standards] (gammaf): Likewise.
5472 [non-C99-based standards] (hypotf): Likewise.
5473 [non-C99-based standards] (j0f): Likewise.
5474 [non-C99-based standards] (j1f): Likewise.
5475 [non-C99-based standards] (jnf): Likewise.
5476 [non-C99-based standards] (lgammaf): Likewise.
5477 [non-C99-based standards] (tgammaf): Likewise.
5478 [non-C99-based standards] (y0f): Likewise.
5479 [non-C99-based standards] (y1f): Likewise.
5480 [non-C99-based standards] (ynf): Likewise.
5481 [non-C99-based standards] (isnanf): Likewise.
5482 [non-C99-based standards] (acoshf): Likewise.
5483 [non-C99-based standards] (asinhf): Likewise.
5484 [non-C99-based standards] (atanhf): Likewise.
5485 [non-C99-based standards] (cbrtf): Likewise.
5486 [non-C99-based standards] (expm1f): Likewise.
5487 [non-C99-based standards] (ilogbf): Likewise.
5488 [non-C99-based standards] (log1pf): Likewise.
5489 [non-C99-based standards] (logbf): Likewise.
5490 [non-C99-based standards] (nextafterf): Likewise.
5491 [non-C99-based standards] (remainderf): Likewise.
5492 [non-C99-based standards] (rintf): Likewise.
5493 [non-C99-based standards] (scalbf): Likewise.
5494 [non-C99-based standards] (copysignl): Likewise.
5495 [non-C99-based standards] (exp2l): Likewise.
5496 [non-C99-based standards] (log2l): Likewise.
5497 [non-C99-based standards] (modfl): Allow.
5498 [non-C99-based standards] (erfl): Do not allow.
5499 [non-C99-based standards] (erfcl): Likewise.
5500 [non-C99-based standards] (gammal): Likewise.
5501 [non-C99-based standards] (hypotl): Likewise.
5502 [non-C99-based standards] (j0l): Likewise.
5503 [non-C99-based standards] (j1l): Likewise.
5504 [non-C99-based standards] (jnl): Likewise.
5505 [non-C99-based standards] (lgammal): Likewise.
5506 [non-C99-based standards] (tgammal): Likewise.
5507 [non-C99-based standards] (y0l): Likewise.
5508 [non-C99-based standards] (y1l): Likewise.
5509 [non-C99-based standards] (ynl): Likewise.
5510 [non-C99-based standards] (isnanl): Likewise.
5511 [non-C99-based standards] (acoshl): Likewise.
5512 [non-C99-based standards] (asinhl): Likewise.
5513 [non-C99-based standards] (atanhl): Likewise.
5514 [non-C99-based standards] (cbrtl): Likewise.
5515 [non-C99-based standards] (expm1l): Likewise.
5516 [non-C99-based standards] (ilogbl): Likewise.
5517 [non-C99-based standards] (log1pl): Likewise.
5518 [non-C99-based standards] (logbl): Likewise.
5519 [non-C99-based standards] (nextafterl): Likewise.
5520 [non-C99-based standards] (remainderl): Likewise.
5521 [non-C99-based standards] (rintl): Likewise.
5522 [non-C99-based standards] (scalbl): Likewise.
5523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5524 [non-C99-based standards] (FP_*): Do not allow.
5525 [C99-based standards] (FP_*): Change to
5526 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5527 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5528 allow.
5529 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5530 (SIG_ERR): Likewise.
5531 [X/Open-based standards] (SIG_HOLD): Likewise.
5532 (SIG_IGN): Likewise.
5533 (SIGABRT): Use macro-int-constant. Specify type. Require
5534 positive value.
5535 (SIGFPE): Likewise.
5536 (SIGILL): Likewise.
5537 (SIGINT): Likewise.
5538 (SIGSEGV): Likewise.
5539 (SIGTER): Likewise.
5540 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5541 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5542 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5543 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5544 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5545 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5546 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5547 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5548 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5549 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5550 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5551 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5552 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5553 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5554 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5555 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5556 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5557 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5558 [X/Open-based standards] (SIGTRAP): Likewise.
5559 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5560 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5561 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5562 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5563 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5564 allow.
5565
b9f1922d
IW
55662012-05-08 Ian Wienand <ianw@vmware.com>
5567
5568 [BZ #14080]
5569 * time/tzset.c (__tzset_parse_tz): Update default rules for
5570 daylight time changes in the Energy Policy Act of 2005.
5571
1db86e88
AJ
55722012-05-09 Andreas Jaeger <aj@suse.de>
5573
5574 [BZ #13983]
5575 * elf/ldconfig.c (parse_conf): Change string to make clear that
5576 ldconfig only issued a warning if ld.so.conf does not exist.
5577
dee4a4e3
DM
55782012-05-08 David S. Miller <davem@davemloft.net>
5579
ee0db190
DM
5580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5581 movxtod instead of popping the value on the stack.
5582
dee4a4e3
DM
5583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5584
6a43ec98
CD
55852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5586
5587 * config.h.in: Add HAVE_ARM_PCS_VFP.
5588
05c2c961
RMG
55892012-05-08 Roland Mc Grath <roland@hack.frob.com>
5590
bcfe3a54
ST
5591 [BZ #13979]
5592 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5593 checking but the checks are disabled for any reason.
05c2c961 5594
4b30f61a
L
55952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5596
5597 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5598 and ELF64_R_TYPE with ELFW(R_TYPE).
5599
eee2bc67
JM
56002012-05-08 Joseph Myers <joseph@codesourcery.com>
5601
7ea5391a
JM
5602 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5603 (ulimit): Likewise.
5604
eee2bc67
JM
5605 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5606 (settimeofday): Likewise.
5607
abb66a67
MF
56082012-05-08 Mike Frysinger <vapier@gentoo.org>
5609
5610 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5611 a struct th_u2 inside the union, and move tu_block/tu_code into
5612 a new th_u3 union of tu_block/tu_code inside of that. Move
5613 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5614 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5615 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5616 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5617 (th_stuff): Change to th_u1.tu_stuff.
5618 (th_data): Define.
5619 (th_msg): Change to th_u1.th_u2.tu_data.
5620
7f18b530
DM
56212012-05-07 David S. Miller <davem@davemloft.net>
5622
05760585
DM
5623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5624
7f18b530
DM
5625 [BZ #14074]
5626 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5627 (SETUP_PIC_REG): Use it.
5628 (SETUP_PIC_REG_LEAF): Use it.
5629
495fd99f
JM
56302012-05-07 Joseph Myers <joseph@codesourcery.com>
5631
5632 [BZ #13885]
5633 [BZ #13923]
5634 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5635 USE_AS_EXPM1L.
5636 (EXPL_FINITE): Likewise.
5637 (FLDLOG): Likewise.
5638 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5639 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5640 e_expl.S.
5641 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5642 USE_AS_EXPM1L.
5643 (EXPL_FINITE): Likewise.
5644 (FLDLOG): Likewise.
5645 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5646 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5647 e_expl.S.
5648 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5649 test of -max_value argument for long double.
5650 * sysdeps/i386/fpu/libm-test-ulps: Update.
5651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5652
6693d694
DM
56532012-05-06 David S. Miller <davem@davemloft.net>
5654
5655 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5656 quad soft-float symbols whose references which are compiler
5657 generated.
5658 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5659
6c23e11c
JM
56602012-05-06 Joseph Myers <joseph@codesourcery.com>
5661
d8b82cad
JM
5662 [BZ #13884]
5663 [BZ #13914]
5664 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5665 USE_AS_EXP10L.
5666 (EXPL_FINITE): Likewise.
5667 (FLDLOG): Likewise.
5668 (c0): Likewise.
5669 (c1): Likewise.
5670 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5671 Adjust comments for base varying.
5672 (__expl_finite): Change alias to EXPL_FINITE.
5673 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5674 e_expl.S.
5675 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5676 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5677 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5678 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5679 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5680 USE_AS_EXP10L.
5681 (EXPL_FINITE): Likewise.
5682 (FLDLOG): Likewise.
5683 (c0): Likewise.
5684 (c1): Likewise.
5685 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5686 Adjust comments for base varying.
5687 (__expl_finite): Change alias to EXPL_FINITE.
5688 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5689 tests for bugs.
5690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5691
6c23e11c
JM
5692 [BZ #14064]
5693 * math/libm-test.inc (check_float_internal): Correct ulp
5694 calculation for subnormal expected results.
5695
29ba805c
AJ
56962012-05-06 Andreas Jaeger <aj@suse.de>
5697
5698 * Makeconfig (+math-flags): New, set to -frounding-math.
5699 (+cflags): Add +math-flags so that all of glibc gets compiled with
5700 it.
5701
5702 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5703
7b17aeda
JM
57042012-05-05 Joseph Myers <joseph@codesourcery.com>
5705
5779f134
JM
5706 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5707 Disable one test.
5708
41498f4d
JM
5709 [BZ #13787]
5710 [BZ #13922]
5711 [BZ #14036]
5712 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5713 (__ieee754_expl): Allow for and saturate large arguments.
5714 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5715 (u_threshold): Likewise.
5716 (__exp): Call __ieee754_exp before checking for overflow and
5717 underflow.
5718 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5719 (u_threshold): Likewise.
5720 (__expf): Call __ieee754_expf before checking for overflow and
5721 underflow.
5722 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5723 (u_threshold): Likewise.
5724 (__expl): Call __ieee754_expl before checking for overflow and
5725 underflow.
5726 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5727 (__ieee754_expl): Allow for and saturate large arguments.
5728 * math/libm-test.inc (exp_test): Add another test. Do not allow
5729 missing overflow exception on overflow.
5730 (expm1_test): Do not allow missing overflow exception on overflow.
5731
6698b8bf
JM
5732 * sysdeps/i386/fpu/e_expl.c: Move to ...
5733 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5734 rather than using inline asm.
5735 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5736 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5737 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5738
7b17aeda
JM
5739 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5740 (nice): Likewise.
5741 (poll): Likewise.
5742 (signal): Likewise.
5743 (time): Likewise.
5744 (times): Likewise.
5745
f7c85819
JM
57462012-05-04 Joseph Myers <joseph@codesourcery.com>
5747
5748 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5749 sysdeps/unix/common/syscalls.list.
5750 (fchmod): Likewise.
5751 (fchown): Likewise.
5752 (ftruncate): Likewise.
5753 (getrusage): Likewise.
5754 (gettimeofday): Likewise.
5755 (setpgid): Likewise.
5756 (setregid): Likewise.
5757 (setreuid): Likewise.
5758 (sigaction): Likewise.
5759 (truncate): Likewise.
5760 (vhangup): Likewise.
5761 * sysdeps/unix/common/syscalls.list: Remove file.
5762 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5763 * sysdeps/unix/sysv/linux/Implies: Likewise.
5764
336270d0
L
57652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5766
5767 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5769 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5770 Moved to ...
5771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5772 Here.
5773 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5774 to ...
5775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5776 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5777 to ...
5778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5779 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5780 to ...
5781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5782 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5783 to ...
5784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5785 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5786 to ...
5787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5788 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5789 to ...
5790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5791 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5792 to ...
5793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5794 Here.
5795 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5796 to ...
5797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5798 Here.
5799 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5800 to ...
5801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5802 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5803 Moved to ...
5804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5805 Here.
5806 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5807 to ...
5808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5809
d128e450
JM
58102012-05-04 Joseph Myers <joseph@codesourcery.com>
5811
fa8ee516
JM
5812 * sysdeps/unix/common/bits/dirent.h: Remove file.
5813 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5814
d128e450
JM
5815 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5816 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5817 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5818 * sysdeps/unix/bsd/isatty.c: Likewise.
5819 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5820 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5821 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5822
ff8faaf0 58232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5824
62881be4 5825 [BZ #13563]
31dc8730
AZ
5826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5827 long double comparison inaccuracies.
5828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5830
6fef930c
AS
58312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5832
5833 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5835
8f203e6c
JM
58362012-05-04 Joseph Myers <joseph@codesourcery.com>
5837
5838 [BZ #14049]
5839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5840 nonzero digits before rounding a hex value.
5841 * stdlib/tst-strtod.c (tests): Add another test.
5842
5197d9c2
AK
58432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5844
5845 * sysdeps/s390/fpu/libm-test-ulps: Update.
5846
f0c1dedf
AJ
58472012-05-03 Andreas Jaeger <aj@suse.de>
5848
5849 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5850 does not get optimized out.
5851 (malloc_opt_barrier): New.
5852
a65ef2ae 58532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5854 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5855
2b942cb7 5856 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5857 intermediate file deletion.
2b942cb7 5858 (generated): Add .symlist files.
a65ef2ae 5859
54b71e02
JM
58602012-05-03 Joseph Myers <joseph@codesourcery.com>
5861
5862 [BZ #13775]
5863 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5864 Redirect under this condition.
5865 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5866 [__USE_GNU] (__dprintf_chk): Not under this condition.
5867 [__USE_GNU] (__vdprintf_chk): Likewise.
5868 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5869 under this condition.
5870 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5871 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5872 [__USE_XOPEN2K8] (vdprintf): Likewise.
5873 [__USE_GNU] (__dprintf_chk): Not under this condition.
5874 [__USE_GNU] (__vdprintf_chk): Likewise.
5875 [__USE_GNU] (dprintf): Likewise.
5876 [__USE_GNU] (vdprintf): Likewise.
5877
d3dfcc41
RM
58782012-05-03 Roland McGrath <roland@hack.frob.com>
5879
5880 * elf/Makefile (common-generated): Set this instead of generated for
5881 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5882 $(all-built-dso)-derived lists.
5883
7ac30cc5
AJ
58842012-05-03 Andreas Jaeger <aj@suse.de>
5885
0c51e550
AJ
5886 * sysdeps/i386/fpu/libm-test-ulps: Update.
5887
7ac30cc5
AJ
5888 * FAQ: Removed.
5889 * FAQ.in: Likewise.
5890 * scripts/gen-FAQ.pl: Likewise.
5891 * manual/install.texi (Installation): Point to online location of
5892 FAQ.
5893 * Makefile (files-for-dist): Remove FAQ.
5894 (FAQ): Remove.
5895
d4c2917f
AM
58962012-05-02 Allan McRae <allan@archlinux.org>
5897
5898 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5899 (LDFLAGS-reldepmod5.so): Likewise.
5900 (LDFLAGS-reldep6mod1.so): Likewise.
5901 (LDFLAGS-reldep6mod4.so): Likewise.
5902 (LDFLAGS-reldep8mod3.so): Likewise.
5903 (LDFLAGS-unload4mod1.so): Likewise.
5904 (LDFLAGS-unload4mod2.so): Likewise.
5905 (LDFLAGS-tst-initorder): Likewise.
5906 (LDFLAGS-tst-initordera2.so): Likewise.
5907 (LDFLAGS-tst-initordera3.so): Likewise.
5908 (LDFLAGS-tst-initordera4.so): Likewise.
5909 (LDFLAGS-tst-initorderb2.so): Likewise.
5910 (LDFLAGS-noload): Likewise.
5911 (LDFLAGS-next): Likewise.
5912 (LDFLAGS-order2mod1.so): Likewise.
5913 (LDFLAGS-order2mod2.so): Likewise.
5914 (LDFLAGS-tst-initorder2): Likewise.
5915 (LDFLAGS-tst-initorder2a.so): Likewise.
5916 (LDFLAGS-tst-initorder2b.so): Likewise.
5917 (LDFLAGS-tst-initorder2c.so): Likewise.
5918 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5919
d77f993f
DM
59202012-05-02 David S. Miller <davem@davemloft.net>
5921
5922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5923
171a70b4
PP
59242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5925
5926 [BZ #14055]
5927 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5928
0be196ad
AJ
59292012-05-02 Andreas Jaeger <aj@suse.de>
5930
5931 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5932 since we manipulate rounding mode.
5933 (CPPFLAGS-test-idouble.c): Likewise.
5934 (CPPFLAGS-test-ifloat.c): Likewise.
5935 (CFLAGS-test-ldouble.c): Likewise.
5936 (CFLAGS-test-double.c): Likewise.
5937 (CFLAGS-test-float.c): Likewise.
5938 (CFLAGS-test-misc.c): Likewise.
5939 (CFLAGS-test-test-fenv.c): Likewise.
5940
4f9d04aa
AZ
59412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942
2b942cb7
RM
5943 [BZ #2550]
5944 [BZ #2570]
5945 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5946 comparisons to determine direction to adjust input.
4f9d04aa 5947
82a79e7d
RM
59482012-05-01 Roland McGrath <roland@hack.frob.com>
5949
f5a01ca9
RM
5950 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5951 output to the target.
5952
90fe4186
RM
5953 * scripts/localplt.awk: New file.
5954 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5955 (check-localplt-CFLAGS): Variable removed.
5956 ($(all-built-dso:=.jmprel)): New static pattern rule.
5957 (generated): Add those targets.
5958 (localplt-built-dso): New variable.
5959 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5960
5961 * elf/check-localplt.c: File removed.
5962
82397ed6
RM
5963 * scripts/check-execstack.awk: New file.
5964 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5965 (check-execstack-CFLAGS): Variable removed.
5966 ($(objpfx)check-execstack.h): Target removed.
5967 ($(objpfx)execstack-default): New target.
5968 (generated): Add that instead of check-execstack.h.
5969 ($(all-built-dso:=.phdr)): New static pattern rule.
5970 (generated): Add those targets.
5971 * elf/check-execstack.c: File removed.
5972
82a79e7d
RM
5973 * scripts/check-textrel.awk: New file.
5974 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5975 (check-textrel-CFLAGS): Variable removed.
5976 (all-built-dso): Use := to define.o
5977 ($(all-built-dso:=.dyn)): New static pattern rule.
5978 (generated): Add those targets.
5979 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5980 * config.make.in (READELF): New substituted variable.
5981 * elf/check-textrel.c: File removed.
5982
62fde54f 59832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5984
615605c9
JM
5985 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5986 allow.
5987 * conform/data/ctype.h-data [C99-based standards] (isblank):
5988 Expect function.
5989 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5990 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5991 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5992 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5993 Specify type. Require positive value.
5994 (EILSEQ): Likewise.
5995 (ERANGE): Likewise.
5996 [ISO || POSIX] (EILSEQ): Do not expect.
5997 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5998 Specify type. Require positive value.
5999 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6000 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6001 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6002 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6003 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6004 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6005 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6006 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6007 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6008 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6009 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6010 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6011 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6012 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6013 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6015 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6016 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6017 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6018 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6019 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6020 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6021 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6022 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6023 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6024 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6025 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6026 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6027 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6028 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6029 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6030 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6031 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6032 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6033 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6034 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6035 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6036 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6037 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6038 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6039 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6040 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6041 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6042 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6043 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6044 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6045 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6046 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6047 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6048 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6049 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6050 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6051 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6052 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6053 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6054 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6055 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6056 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6057 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6058 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6059 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6060 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6061 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6062 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6063 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6064 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6065 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6066 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6067 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6068 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6069 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6070 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6071 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6072 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6073 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6074 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6075 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6076 Require >= 2.
6077 (FLT_ROUNDS): Expect as macro, not constant.
6078 (FLT_MANT_DIG): Use macro-int-constant.
6079 (DBL_MANT_DIG): Likewise.
6080 (LDBL_MANT_DIG): Likewise.
6081 (FLT_DIG): Likewise.
6082 (DBL_DIG): Likewise.
6083 (LDBL_DIG): Likewise.
6084 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6085 (DBL_MIN_EXP): Likewise.
6086 (LDBL_MIN_EXP): Likewise.
6087 (FLT_MAX_EXP): Use macro-int-constant.
6088 (DBL_MAX_EXP): Likewise.
6089 (LDBL_MAX_EXP): Likewise.
6090 (FLT_MAX_10_EXP): Likewise.
6091 (DBL_MAX_10_EXP): Likewise.
6092 (LDBL_MAX_10_EXP): Likewise.
6093 (FLT_MAX): Use macro-constant.
6094 (DBL_MAX): Likewise.
6095 (LDBL_MAX): Likewise.
6096 (FLT_EPSILON): Use macro-constant. Give upper bound.
6097 (DBL_EPSILON): Likewise.
6098 (LDBL_EPSILON): Likewise.
6099 (FLT_MIN): Likewise.
6100 (DBL_MIN): Likewise.
6101 (LDBL_MIN): Likewise.
6102 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6103 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6104 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6105 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6106 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6107 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6108 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6109 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6110 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6111 [ISO11] (FLT_TRUE_MIN): Likewise.
6112 [ISO11] (LDBL_TRUE_MIN): Likewise.
6113 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6114 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6115 (SCHAR_MIN): Use macro-int-constant. Specify type.
6116 (SCHAR_MAX): Likewise.
6117 (UCHAR_MAX): Likewise.
6118 (CHAR_MIN): Likewise.
6119 (CHAR_MAX): Likewise.
6120 (MB_LEN_MAX): Use macro-int-constant.
6121 (SHRT_MIN): Use macro-int-constant. Specify type.
6122 (SHRT_MAX): Likewise.
6123 (USHRT_MAX): Likewise.
6124 (INT_MAX): Likewise.
6125 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6126 bound negative.
6127 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6128 bound with "U".
6129 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6130 bound with "L".
6131 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6132 bound negative. Suffix upper bound with "L".
6133 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6134 bound with "UL".
6135 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6136 Specify type.
6137 [C99-based standards] (LLONG_MAX): Likewise.
6138 [C99-based standards] (ULLONG_MAX): Likewise.
6139 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6140 == 0.
6141 [ISO11] (max_align_t): Require type.
6142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6143
c9140a62
JM
6144 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6145 from $CFLAGS, without defining away __attribute__ calls.
6146 (checknamespace): Use $CFLAGS_namespace.
6147
9af0bf29
JM
6148 * conform/conformtest.pl (@keywords): Only include C99 keywords
6149 for standards based on C99 or C11.
6150
343222a2
JM
6151 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6152 Disable tests.
6153 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6154 UNIX98]: Likewise.
6155
661f8cf0
JM
6156 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6157 usability of symbols in #if.
6158
ee74b9cb
JM
6159 * conform/conformtest.pl: If macro or constant types start
6160 "promoted:", expect the symbol to be of the following type
6161 promoted by the integer promotions.
62fde54f 6162
aafc49b3
JM
6163 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6164 in one place. Also handle "macro-constant".
6165
fefdf574
JM
6166 * conform/conformtest.pl: Only accept expected macro values with
6167 "==". Parse all "macro" lines in one place.
6168 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6169
f2d922fe
JM
6170 * conform/conformtest.pl: Handle braced types on "constant" lines
6171 instead of handling "typed-constant".
6172 * conform/data/signal.h-data: Use "constant" instead of
6173 "typed-constant".
6174
d22956c9
JM
6175 * conform/conformtest.pl: Handle "optional-" at start of lines in
6176 one place rather than duplicating several cases. Handle each
6177 format of "macro" line with initial "optional-".
6178
028e2e38
JM
6179 * conform/conformtest.pl: Only accept expected constant or
6180 optional-constant values with "==". Parse all "constant" lines in
6181 one place. Parse all "optional-constant" lines in one place.
6182 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6183 * conform/data/fmtmsg.h-data: Likewise.
6184 * conform/data/netinet/in.h-data: Likewise.
6185 * conform/data/tar.h-data: Likewise.
6186 * conform/data/limits.h-data: Use "==" form on "constant" and
6187 "optional-constant" lines.
6188
1b8f2850
JM
6189 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6190 Use -std=c99 for XOPEN2K.
6191 (@knownproblems): Remove.
6192 (newtoken): Don't check %isknown.
6193
a05a144b
JM
6194 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6195 Do not expect macro.
6196 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6197 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6198 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6199 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6200 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6201 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6202 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6203 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6204 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6205 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6206 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6207 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6208 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6209 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6210 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6211 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6212 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6213 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6214 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6215 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6216 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6217 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6218 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6219 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6220 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6221 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6222 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6223 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6224 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6225 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6226 [XPG3] (acosh): Likewise.
6227 [XPG3] (asinh): Likewise.
6228 [XPG3] (atanh): Likewise.
6229 [XPG3] (cbrt): Likewise.
6230 [XPG3] (expm1): Likewise.
6231 [XPG3] (ilogb): Likewise.
6232 [XPG3] (log1p): Likewise.
6233 [XPG3] (logb): Likewise.
6234 [XPG3] (nextafter): Likewise.
6235 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6236 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6237 [XPG3] (remainder): Likewise.
6238 [XPG3] (rint): Likewise.
6239 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6240 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6241 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6242 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6243 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6244 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6245 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6246 [UNIX98 || XOPEN2K] (scalb): Expect.
6247 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6248 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6249 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6250 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6251 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6252 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6253 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6254 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6255 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6256 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6257 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6258 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6259 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6260 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6261 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6262 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6263 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6264 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6265 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6266 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6267 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6268 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6269 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6270 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6271 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6272 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6273 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6274 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6275 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6276 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6277 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6278 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6279 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6280 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6281 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6282 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6283 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6284 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6285 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6286 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6287 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6288 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6289 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6290 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6291 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6292 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6293 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6294 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6295 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6296 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6297 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6298 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6299 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6300 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6301 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6302 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6303 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6304 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6305 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6306 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6307 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6308 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6309 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6310 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6311 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6312 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6313 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6314 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6315 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6316 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6317 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6318 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6319 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6320 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6321 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6322 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6323 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6324 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6325 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6326 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6327 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6328 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6329 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6330 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6331 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6332 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6333 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6334 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6335 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6336 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6337 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6338 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6339 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6340 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6341 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6342 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6343 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6344 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6345 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6346 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6347 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6348 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6349 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6350 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6351 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6352 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6353 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6354 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6355 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6356 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6357 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6359 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6360 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6361 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6362 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6363 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6364 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6365 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6366 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6367 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6368 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6369 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6370 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6371 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6372 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6373 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6374 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6375 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6376 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6377 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6378 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6379 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6380 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6381 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6382 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6383 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6384
73c5ebe3
JM
6385 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6386 _XOPEN_SOURCE_EXTENDED for XPG4.
6387
39c33b6c
JM
6388 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6389
62fde54f
JM
6390 * Makeconfig (localtime): Remove variable.
6391 (inst_localtime-file): Likewise.
6392
0741d64c
AS
63932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6394
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6396 Update.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6398 Update.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6400 Update.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6402 Update.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6404 Update.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6406 Update.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6408 Update.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6410 Update.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6412 Update.
6413
7cb029ee
JM
64142012-05-01 Joseph Myers <joseph@codesourcery.com>
6415
6416 [BZ #2550]
6417 [BZ #2570]
6418 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6419 comparisons to determine direction to adjust input.
6420 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6421 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6422 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6423 Likewise.
6424 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6425 Likewise.
6426 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6427 Likewise.
6428 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6429 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6430 Likewise.
6431 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6432 Likewise.
6433 * math/libm-test.inc (nexttoward_test): Add more tests.
6434
412bd966
AS
64352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6436
6437 [BZ #14040]
6438 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6439 in version GLIBC_2.1, not GLIBC_2.0.
6440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6441 Likewise.
6442
9568c0c2
JM
64432012-04-30 Joseph Myers <joseph@codesourcery.com>
6444
adfbc8ac
JM
6445 [BZ #13942]
6446 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6447 (1 - x) * (1 + x).
6448 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6449 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6450 * math/libm-test.inc (acos_test): Add more tests.
6451 (asin_test): Likewise.
6452 * sysdeps/i386/fpu/libm-test-ulps: Update.
6453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6454
5ba3cc69
JM
6455 [BZ #14034]
6456 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6457 of square root.
6458 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6459 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6460 * math/libm-test.inc (acos_test_tonearest): New function.
6461 (acos_test_towardzero): Likewise.
6462 (acos_test_downward): Likewise.
6463 (acos_test_upward): Likewise.
6464 (asin_test_tonearest): Likewise.
6465 (asin_test_towardzero): Likewise.
6466 (asin_test_downward): Likewise.
6467 (asin_test_upward): Likewise.
6468 (main): Call the new functions.
6469 * sysdeps/i386/fpu/libm-test-ulps: Update.
6470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6471
9568c0c2
JM
6472 [BZ #13884]
6473 [BZ #13924]
6474 * math/e_exp10.c: Include <float.h>.
6475 (__ieee754_exp10): Handle underflow here rather than multiplying
6476 large negative argument by M_LN10.
6477 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6478 of __ieee754_expf.
6479 * math/e_exp10l.c: Include <float.h>.
6480 (__ieee754_exp10l): Handle underflow here rather than multiplying
6481 large negative argument by M_LN10l.
6482 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6483 spurious overflow exception on underflow.
6484
5ac3ea17
MP
64852012-04-29 Marek Polacek <polacek@redhat.com>
6486
6487 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6488 (__fortify_function): New macro.
6489 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6490 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6491 __extern_always_inline.
6492 * libio/bits/stdio2.h: Likewise.
6493 * libio/bits/stdio.h: Likewise.
6494 * string/string.h: Likewise.
6495 * string/bits/string3.h: Likewise.
6496 * include/stdio.h: Likewise.
6497 * stdlib/bits/stdlib.h: Likewise.
6498 * stdlib/stdlib.h: Likewise.
6499 * rt/bits/mqueue2.h: Likewise.
6500 * rt/mqueue.h: Likewise.
6501 * posix/bits/unistd.h: Likewise.
6502 * posix/unistd.h: Likewise.
6503 * io/bits/poll2.h: Likewise.
6504 * io/bits/fcntl2.h: Likewise.
6505 * io/fcntl.h: Likewise.
6506 * io/sys/poll.h: Likewise.
6507 * misc/bits/syslog.h: Likewise.
6508 * misc/bits/syslog-ldbl.h: Likewise.
6509 * misc/sys/syslog.h: Likewise.
6510 * socket/bits/socket2.h: Likewise.
6511 * socket/sys/socket.h: Likewise.
6512 * debug/tst-chk1.c: Likewise.
6513 * wcsmbs/bits/wchar2.h: Likewise.
6514 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6515 * wcsmbs/wchar.h: Likewise.
6516
ecf0ebfb
AJ
65172012-04-29 Andreas Jaeger <aj@suse.de>
6518
6519 * Makerules (tests): Remove enable-check-abi protection.
6520 (check-abi-warn): Remove.
6521 (check-abi-%): Remove check-abi-warn usage.
6522
6523 * configure.in: Remove check-abi configure option.
6524 * configure: Regenerated.
6525 * config.make.in (enable-check-abi): Remove.
6526
6d5c57fa
AS
65272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6528
24c5d07e 6529 [BZ #14033]
ded5180a
AS
6530 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6531 double functions to double *_finite functions.
6532
7e0d315d
AS
6533 [BZ #13941]
6534 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6535 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6536 LDBL_MIN_EXP.
6537 * stdio-common/Makefile (tests): Add tst-sprintf3.
6538 * stdio-common/tst-sprintf3.c: New file.
6539
6d5c57fa
AS
6540 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6541 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6542
0749ff8b
JM
65432012-04-28 Joseph Myers <joseph@codesourcery.com>
6544
6545 * conform/conformtest.pl: Remove duplicate typed-constant
6546 handling.
6547
8dbd5d7b
DM
65482012-04-28 David S. Miller <davem@davemloft.net>
6549
6550 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6551 (check-abi-%): Remove AWK script prerequisite and explicit
6552 abilist directory.
6553 (check-abi): Rewrite to just diff the symlist with the abilist.
6554 (config-tls, config-abi-config): Delete, no longer used.
6555 (update-abi-%): Remove AWK script and explicit abilist directory.
6556 (update-abi): Rewrite to simply compare and conditionally copy the
6557 symlist and the sysdep abilist file. Remove update-abi-config
6558 checks.
6559 * abilist/ld.abilist: Remove.
6560 * abilist/libBrokenLocale.abilist: Remove.
6561 * abilist/libanl.abilist: Remove.
6562 * abilist/libcrypt.abilist: Remove.
6563 * abilist/libdl.abilist: Remove.
6564 * abilist/librt.abilist: Remove.
6565 * abilist/libthread_db.abilist: Remove.
6566 * abilist/libutil.abilist: Remove.
6567 * scripts/extract-abilist.awk: Remove.
6568 * scripts/merge-abilist.awk: Remove.
6569 * sysdeps/generic/libcidn.abilist: New file.
6570 * sysdeps/generic/libnss_compat.abilist: New file.
6571 * sysdeps/generic/libnss_db.abilist: New file.
6572 * sysdeps/generic/libnss_dns.abilist: New file.
6573 * sysdeps/generic/libnss_files.abilist: New file.
6574 * sysdeps/generic/libnss_hesiod.abilist: New file.
6575 * sysdeps/generic/libnss_nis.abilist: New file.
6576 * sysdeps/generic/libnss_nisplus.abilist: New file.
6577 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6578 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6579 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6580 file.
6581 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6582 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6583 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6584 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6585 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6586 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6587 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6588 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6589 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6590 file.
6591 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6592 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6593 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6594 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6595 file.
6596 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6597 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6598 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6599 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6600 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6601 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6602 file.
6603 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6604 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6605 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6606 file.
6607 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6609 New file.
6610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6611 New file.
6612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6613 New file.
6614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6615 New file.
6616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6617 New file.
6618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6619 New file.
6620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6621 New file.
6622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6623 New file.
6624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6625 New file.
6626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6627 New file.
6628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6629 New file.
6630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6631 New file.
6632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6633 New file.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6635 file.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6637 New file.
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6639 New file.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6641 file.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6643 New file.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6645 New file.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6647 file.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6649 New file.
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6651 New file.
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6653 New file.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6655 New file.
6656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6657 New file.
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6659 New file.
6660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6662 file.
6663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6664 New file.
6665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6666 file.
6667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6668 file.
6669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6670 file.
6671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6672 file.
6673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6674 file.
6675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6676 New file.
6677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6678 file.
6679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6680 file.
6681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6682 New file.
6683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6684 file.
6685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6687 file.
6688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6689 New file.
6690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6691 file.
6692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6693 file.
6694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6695 file.
6696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6697 file.
6698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6699 file.
6700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6701 New file.
6702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6703 file.
6704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6705 file.
6706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6707 New file.
6708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6709 file.
6710 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6711 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6712 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6713 file.
6714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6715 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6716 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6717 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6718 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6719 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6720 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6721 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6722 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6723 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6726 file.
6727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6728 New file.
6729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6730 file.
6731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6732 file.
6733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6734 file.
6735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6736 file.
6737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6738 file.
6739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6740 New file.
6741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6742 New file.
6743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6744 file.
6745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6746 New file.
6747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6748 file.
6749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6751 file.
6752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6753 New file.
6754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6755 file.
6756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6757 file.
6758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6759 file.
6760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6761 file.
6762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6763 file.
6764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6765 New file.
6766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6767 New file.
6768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6769 file.
6770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6771 New file.
6772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6773 file.
6774
41d73a1b
JM
67752012-04-28 Joseph Myers <joseph@codesourcery.com>
6776
6777 * conform/conformtest.pl: Fix typo in handling typed-constant from
6778 allow-header.
6779
28aeeda4
JM
67802012-04-27 Joseph Myers <joseph@codesourcery.com>
6781
adae8f5e
JM
6782 * README: Cut down references to pre-2.6 Linux kernels and
6783 Linuxthreads. Update lists of configurations in libc and ports
6784 and sort alphabetically. Say "or newer" with Linux kernel version
6785 requirements.
6786
28aeeda4
JM
6787 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6788
a462cb63
RA
67892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6790
6791 [BZ #887]
6792 * math/libm-test.inc (logb_test_downward): New test to expose
6793 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6794 rounding mode.
6795
6ad3493e
JM
67962012-04-27 Joseph Myers <joseph@codesourcery.com>
6797
6798 [BZ #14027]
6799 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6800 to be done.
6801 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6802 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6803
2ce4f015
JM
68042012-04-26 Joseph Myers <joseph@codesourcery.com>
6805
5aeb141a
JM
6806 * sysdeps/unix/i386/brk.S: Remove file.
6807 * sysdeps/unix/i386/dl-brk.S: Likewise.
6808 * sysdeps/unix/i386/pipe.S: Likewise.
6809 * sysdeps/unix/i386/sigreturn.S: Likewise.
6810 * sysdeps/unix/i386/syscall.S: Likewise.
6811 * sysdeps/unix/i386/vfork.S: Likewise.
6812 * sysdeps/unix/i386/wait.S: Likewise.
6813
7143acae
JM
6814 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6815 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6816
2ce4f015
JM
6817 * configure.in (arm*-none*): Do not allow without
6818 --enable-hacker-mode.
6819 (netbsd*): Remove case setting base_os.
6820 (386bsd*): Likewise.
6821 (freebsd*): Likewise.
6822 (bsdi*): Likewise.
6823 (osf*): Likewise.
6824 (sunos*): Likewise.
6825 (ultrix*): Likewise.
6826 (newsos*): Likewise.
6827 (dynix*): Likewise.
6828 (*bsd*): Likewise.
6829 (sysv*): Likewise.
6830 (isc*): Likewise.
6831 (esix*): Likewise.
6832 (sco*): Likewise.
6833 (minix*): Likewise.
6834 (irix4*): Likewise.
6835 (irix6*): Likewise.
6836 (solaris[2-9]*): Likewise.
6837 (none): Likewise.
6838 * configure: Regenerated.
6839
0ac229c8
AZ
68402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6841
6842 [BZ #11521]
6843 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6844 overflow or cancellation in calculating denominator.
6845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6847 down expression to avoid unexpected rounding in newer GCCs.
6848 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6849
33f244f4
DM
68502012-04-26 David S. Miller <davem@davemloft.net>
6851
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6853 long-double compat symbols.
6854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6867
cfa1f3e8
DM
68682012-04-25 David S. Miller <davem@davemloft.net>
6869
6870 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6871 HWCAP_* values only after the memory barriers have been defined.
6872 (atomic_full_barrier): Define.
6873 (atomic_read_barrier): Define.
6874 (atomic_write_barrier): Define.
6875
6e236b92
SP
68762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6877
6878 * shlib-versions: Add libgcc_s version information.
6879 * sysdeps/generic/libgcc_s.h: Remove.
6880 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6881 libgcc_s.h.
6882 * sysdeps/gnu/unwind-resume.c: Likewise.
6883 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6884
aab39a09
DM
68852012-04-25 David S. Miller <davem@davemloft.net>
6886
6887 * sysdeps/unix/sparc/brk.S: Delete.
6888 * sysdeps/unix/sparc/dl-brk.S: Delete.
6889 * sysdeps/unix/sparc/pipe.S: Delete.
6890 * sysdeps/unix/sparc/sysdep.S: Delete.
6891 * sysdeps/unix/sparc/sysdep.h: Delete.
6892 * sysdeps/unix/sparc/vfork.S: Delete.
6893 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6894 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6896 ret_ERRVAL, r0, r1, MOVE): Define.
6897 (JUMPTARGET): Remove.
6898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6899 sysdeps/unix/sparc/sysdep.h
6900 (ENTRY, END): Remove.
6901 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6902
a3cc4f48
JM
69032012-04-25 Joseph Myers <joseph@codesourcery.com>
6904
2ed8cda2
JM
6905 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6906 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6907 -DIS_IN_build.
6908
35d76d59
JM
6909 * timezone/README: Update upstream location and email address for
6910 tzcode and tzdata.
6911 * timezone/zdump.c: Update from tzcode 2012b.
6912 * timezone/zic.c: Likewise.
6913
a3cc4f48
JM
6914 * configure.in (libc_cv_as_needed): Remove test.
6915 * configure: Regenerated.
6916 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6917 conditional definition.
6918 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6919 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6920 * config.make.in (have-as-needed): Remove variable.
6921
ceab42c3
SP
69222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6923 Paul Pluzhnikov <ppluzhnikov@google.com>
6924
6925 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6926 strings correctly.
6927
3ce2865f
CLT
69282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6929
6930 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6931 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6932 * sysdeps/sh/strlen.S: Likewise.
6933
f37e0d68
JM
69342012-04-24 Joseph Myers <joseph@codesourcery.com>
6935
ae186e9a
JM
6936 * sysdeps/unix/fork.S: Remove file.
6937 * sysdeps/unix/i386/fork.S: Likewise.
6938 * sysdeps/unix/sparc/fork.S: Likewise.
6939
b96914af
JM
6940 * sysdeps/unix/system.c: Remove file.
6941 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6942
f37e0d68
JM
6943 * sysdeps/unix/getegid.S: Remove file.
6944 * sysdeps/unix/geteuid.S: Likewise.
6945
87ef29ca
RM
69462012-04-24 Roland McGrath <roland@hack.frob.com>
6947
83bcd236
RM
6948 * scripts/check-localplt.awk: New file.
6949 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6950 of diff.
6951 * scripts/data/localplt-generic.data: Add a comment.
6952
87ef29ca
RM
6953 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6954 NODE when __dir_mkfile failed.
6955 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6956 Reported by Ludovic Courtès <ludo@gnu.org>.
6957
e5a6e567
AJ
69582012-04-24 Andreas Jaeger <aj@suse.de>
6959
6960 * Makerules (common-clean): Also remove gen-as-const-headers
6961 files.
6962
c1820385
JM
69632012-04-24 Joseph Myers <joseph@codesourcery.com>
6964
6965 * Makerules (native-compile): Do not change working directory for
6966 build. Use $(OUTPUT_OPTION) in command.
6967 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6968
94e02fc4
AZ
69692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6970
6971 [BZ #13886]
6972 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6973 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6974 * math/libm-test.inc (floor_test): Add more tests.
6975 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6976
3a533ca3
JM
69772012-04-24 Joseph Myers <joseph@codesourcery.com>
6978
940ab4b3
JM
6979 * sysdeps/unix/getdents.c: Remove file.
6980 * sysdeps/unix/sysv/getdents.c: Likewise.
6981 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6982
90e037bd
JM
6983 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6984 sysdeps/unix/mman/syscalls.list.
6985 (mmap): Likewise.
6986 (mprotect): Likewise.
6987 (msync): Likewise.
6988 (munmap): Likewise.
6989 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6990 * sysdeps/unix/mman/syscalls.list: Remove.
6991 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6992
3a533ca3
JM
6993 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6994 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6995 * configure: Regenerated.
6996 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6997 $(libgcc_s_suffix).
6998 * config.make.in (libgcc_s_suffix): Remove variable.
6999
1ad743de
JM
70002012-04-23 Joseph Myers <joseph@codesourcery.com>
7001
4ad451e2
JM
7002 * sysdeps/unix/sysv/gethostname.c: Move to ...
7003 * sysdeps/posix/gethostname.c: ... here.
7004
5e37ce39
JM
7005 * sysdeps/unix/execve.S: Remove file.
7006
1ad743de
JM
7007 * sysdeps/unix/_exit.S: Remove file.
7008
4e681b5b
AJ
70092012-04-23 Andreas Jaeger <aj@suse.de>
7010
7011 [BZ #13739]
7012 * manual/Makefile: Remove make dist support, there's no
7013 need for a stand-alone documentation tar ball.
7014 (TEXI2DVI): Define always, it's not in Makeconfig.
7015 (dist): Removed.
7016 (tar-it): Removed.
7017 (edition): Removed.
7018 (glibc-doc-$(edition).tar): Removed
7019 (%.Z): Removed.
7020 (%.gz): Removed.
7021 (%.uu): Removed.
7022 (ETAGS): Remove, it's in Makeconfig.
7023 (move-if-change): Remove, it's in Makeconfig.
7024
c0baea34
PE
70252013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7026
7027 [BZ #13970]
7028 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7029 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7030 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7031 (strtod_l, strtof_l, strtold_l): Remove __wur.
7032 It is not necessarily an error to ignore strtol's return value.
7033 One can reliably look at the stored endptr to decide whether
7034 the number had valid syntax.
7035
7c0616fa
AJ
70362012-04-21 Andreas Jaeger <aj@suse.de>
7037
803cb6b7 7038 [BZ #13739]
7c0616fa
AJ
7039 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7040
b0fe253f
JM
70412012-04-21 Joseph Myers <joseph@codesourcery.com>
7042
7043 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7044 * sysdeps/unix/sysv/Versions: Remove file.
7045
8280f22d
MT
70462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7047
7048 [BZ #13927]
7049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7050
75ce411f 70512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7052
7053 [BZ #7064]
7054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7055 version from __vm86.
7056
097d59fa
JM
70572012-04-20 Joseph Myers <joseph@codesourcery.com>
7058
a90f3bcb
JM
7059 * sysdeps/unix/common/lxstat.c: Remove file.
7060 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7061
edc7ea78
JM
7062 * sysdeps/unix/sysv/Makefile: Remove file.
7063
cb78c221
JM
7064 * sysdeps/unix/sysv/direct.h: Remove file.
7065
efa6a45f
JM
7066 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7067 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7068 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7069 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7070 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7071 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7072 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7073
9c9f2d0c
JM
7074 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7075
4541c83b
JM
7076 * sysdeps/unix/xmknod.c: Remove file.
7077 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7078
f5d153a0
JM
7079 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7080
aa746595
JM
7081 * sysdeps/unix/sysv/i386/time.S: Remove file.
7082
cce5905e
JM
7083 * sysdeps/unix/fxstat.c: Remove file.
7084 * sysdeps/unix/xstat.c: Likewise.
7085 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7086
37fa3841
JM
7087 * sysdeps/unix/sysv/sigaction.c: Remove file.
7088
ff1962a3
JM
7089 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7090 (sysdep_headers): Remove variable.
7091 [termio.h not in sysdep_headers] (generated): Likewise.
7092 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7093 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7094 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7095 * sysdeps/unix/sysv/tcflow.c: Likewise.
7096 * sysdeps/unix/sysv/tcflush.c: Likewise.
7097 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7098 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7099 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7100 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7101 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7102
e7740d31
JM
7103 * sysdeps/unix/siglist.c: Remove file.
7104
ee06f18b
JM
7105 * sysdeps/unix/getppid.S: Remove file.
7106
097d59fa
JM
7107 * sysdeps/unix/mkdir.c: Remove file.
7108 * sysdeps/unix/rmdir.c: Likewise.
7109
ff3d51ec
AS
71102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7111
7112 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7113 ERR_MAX value.
7114 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7115 errlist-compat value.
7116
50f81fd7
DM
71172012-04-18 David S. Miller <davem@davemloft.net>
7118
7119 * sysdeps/generic/memcopy.h (reg_char): Delete.
7120 * debug/strcat_chk.c: Use char, not reg_char.
7121 * debug/strcpy_chk.c: Likewise.
7122 * debug/strncat_chk.c: Likewise.
7123 * debug/strncpy_chk.c: Likewise.
7124 * string/memchr.c: Likewise.
7125 * string/memrchr.c: Likewise.
7126 * string/rawmemchr.c: Likewise.
7127 * string/strcat.c: Likewise.
7128 * string/strchr.c: Likewise.
7129 * string/strchrnul.c: Likewise.
7130 * string/strcmp.c: Likewise.
7131 * string/strcpy.c: Likewise.
7132 * string/strncat.c: Likewise.
7133 * string/strncmp.c: Likewise.
7134 * string/strncpy.c: Likewise.
7135
8ff41c46
WS
71362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7137
7138 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7139 __builtin_memcopy is called when src and dest ranges are known to not
7140 overlap.
7141
6b652f46
WS
71422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7143
7144 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7145 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7146 fwd_align_merge macro call.
7147 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7148 bwd_align_merge macro call.
7149 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7150
b282631e
WS
71512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7152
7153 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7154 bwd_align_merge macros.
7155 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7156 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7157 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7158
95aa737c
DM
71592012-04-18 David S. Miller <davem@davemloft.net>
7160
7161 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7162
7a99a614
AJ
71632012-04-18 Andreas Jaeger <aj@suse.de>
7164
7165 [BZ# 6794]
7166 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7167 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7169
7170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7171 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7172 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7173
7174 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7175 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7176 Adjust for changed ldbl-128 files.
7177
7178 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7179 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7180 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7181
e5270c23
DM
71822012-04-17 David S. Miller <davem@davemloft.net>
7183
7184 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7185
fb5e92c9
AS
71862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7187
7188 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7189 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7190 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7191 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7192 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7193 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7194
76da7265
AZ
71952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7196
7197 [BZ #6794]
7198 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7199 * math/libm-test.inc: Add ilogb errno and exception tests.
7200 * math/w_ilogb.c: New file: ilogb wrapper.
7201 * math/w_ilogbf.c: New file: ilogbf wrapper.
7202 * math/w_ilogbl.c: New file: ilogbl wrapper.
7203 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7204 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7205 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7206 exception being thrown with 0.0 as argument.
7207 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7208 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7209 exception being thrown with 0.0 as argument.
7210 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7211 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7212 exception being thrown with 0.0 as argument.
7213 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7214 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7215 exception being thrown with 0.0 as argument.
7216 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7217 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7218 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7219 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7221 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7222 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7223 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7224 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7225
0396e69d
PB
72262012-04-17 Petr Baudis <pasky@ucw.cz>
7227
7228 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7229 with altivec.
7230
750b5926
MP
72312012-04-16 Marek Polacek <polacek@redhat.com>
7232
7233 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7234
751728a1
MP
72352012-04-16 Marek Polacek <polacek@redhat.com>
7236
7237 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7238 operands of fdivp instruction.
7239
34a27407
L
72402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7241
7242 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7243 * elf/tst-auditmod3b.c: Likewise.
7244 * elf/tst-auditmod4b.c: Likewise.
7245 * elf/tst-auditmod5b.c: Likewise.
7246 * elf/tst-auditmod6b.c: Likewise.
7247 * elf/tst-auditmod6c.c: Likewise.
7248 * elf/tst-auditmod7b.c: Likewise.
7249 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7250 * sysdeps/x86_64/preconfigure.in: Likewise.
7251 * sysdeps/x86_64/preconfigure: Regenerated.
7252
7e73e17d
L
72532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7254
7255 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7256 __ILP32__.
7257
c7a6ab72
AB
72582012-04-13 Antoine Balestrat <merkil33@gmail.com>
7259
7260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7261 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7262
a9e8e0e0
CL
72632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7264
7265 [BZ #13973]
7266 * locale/iso-639.def: Fix gl language name. Spotted by
7267 Yaron Shahrabani.
7268
ec98af7d
RM
72692012-04-12 Roland McGrath <roland@hack.frob.com>
7270
7271 [BZ #2074]
7272 * libio/libio.h (__io_write_fn): Update comment.
7273
247c3ede
PB
72742012-04-12 Petr Baudis <pasky@ucw.cz>
7275
7276 [BZ #2074]
7277 * stdio.texi (Hook Functions): The user provided writer function
7278 is not allowed to return -1.
7279
55939d6d
DM
72802012-04-11 David S. Miller <davem@davemloft.net>
7281
7282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7283
90020f5a
MF
72842012-04-11 Mike Frysinger <vapier@gentoo.org>
7285
7286 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7287 Add a leading slash to rtkaio.
7288
288f9098
JM
72892012-04-11 Jim Meyering <meyering@redhat.com>
7290
90020f5a
MF
7291 [BZ #11959]
7292 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7293 It is not necessarily an error to ignore fwrite's return
7294 value. One can reliably use ferror to test for errors after
7295 the fact.
288f9098 7296
4be2b570
L
72972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7298
7299 * bits/types.h (__snseconds_t): New type.
7300 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7301
7302 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7304 (__SNSECONDS_T_TYPE): Likewise.
7305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7306 (__SNSECONDS_T_TYPE): Likewise.
7307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7308 (__SNSECONDS_T_TYPE): Likewise.
7309
288f9098 73102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7311
7312 [BZ #2636]
7313 * manual/time.texi (Processor Time): Return type of times is
7314 elapsed real time since an arbitrary point in the past.
7315 (CPU Time): Move CLK_TCK from here...
7316 (Processor Time): ...to here. Correct description.
7317 * manual/conf.texi (Constants for Sysconf): Correct description of
7318 _SC_CLK_TCK.
7319
d7dd4413
DM
73202012-04-10 David S. Miller <davem@davemloft.net>
7321
7322 [BZ #13967]
7323 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7324 where the is a gap between DT_REL(A) and DT_JMPREL.
7325
b46068fc
L
73262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7327
7328 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7329 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7330 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7331
73d65cc3
SP
73322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7333
7334 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7335 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7336 (dl_main): Handle --inhibit-cache.
7337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7338 _dl_inhibit_cache.
7339 * elf/dl-load.c (_dl_map_object): Use it.
7340 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7341
bcc8d661
JM
73422012-04-09 Joseph Myers <joseph@codesourcery.com>
7343
8f9a2fae
JM
7344 [BZ #13872]
7345 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7346 (__ieee754_powl): Saturate large exponents rather than testing for
7347 overflow of y*log2(x).
7348 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7349 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7350 exceptions.
7351
bcc8d661
JM
7352 [BZ #11521]
7353 * math/s_ctan.c: Include <float.h>.
7354 (__ctan): Avoid internal overflow or cancellation in calculating
7355 denominator.
7356 * math/s_ctanf.c: Likewise.
7357 * math/s_ctanl.c: Likewise.
7358 * math/s_ctanh.c: Likewise.
7359 * math/s_ctanhf.c: Likewise.
7360 * math/s_ctanhl.c: Likewise.
7361 * math/libm-test.inc (ctan_test): Add more tests.
7362 (ctanh_test): Likewise.
7363 * sysdeps/i386/fpu/libm-test-ulps: Update.
7364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7365
823fbbb4
AJ
73662012-04-09 Andreas Jaeger <aj@suse.de>
7367
03879793
AJ
7368 [BZ #6894]
7369 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7370 is an optional BSD extension.
7371
823fbbb4
AJ
7372 [BZ #10254]
7373 * manual/stdio.texi (Opening Streams): Document additional fopen
7374 parameters.
7375
8de131cb
RM
73762012-04-09 Roland McGrath <roland@hack.frob.com>
7377
7378 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7379 %eax without telling the compiler.
7380
c0ed9d7d
CD
73812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7382
7383 [BZ # 13963]
7384 * manual/install.texi: Use sourceware.org.
7385
c483f6b4
JM
73862012-04-09 Joseph Myers <joseph@codesourcery.com>
7387
d7dd9453
JM
7388 [BZ #13873]
7389 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7390 (__ieee754_pow): Generate overflow and underflow using huge*huge
7391 and tiny*tiny rather than just returning constant infinity or zero
7392 for large exponents.
7393 * math/libm-test.inc (pow_test): Require overflow exceptions for
7394 applicable cases of large exponents.
7395
c483f6b4
JM
7396 [BZ #706]
7397 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7398 (__ieee754_pow): Use iterative multiplication algorithm only for
7399 integer exponents with absolute value below 1024. Check for odd
7400 integer exponents when using algorithm for real exponents.
7401 * math/libm-test.inc (pow_test): Add more tests.
7402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7403
d2de7579
JM
74042012-04-08 Joseph Myers <joseph@codesourcery.com>
7405
7406 [BZ #13705]
7407 * math/libm-test.inc (exp_test): Do not allow overflow exception
7408 on underflow test.
7409
f77f1232
AJ
74102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7411
7412 [BZ #13705]
7413 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7414 instead of __kernel_standard_f.
7415
3884932b
MF
74162012-04-08 Mike Frysinger <vapier@gentoo.org>
7417
7418 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7419 * sysdeps/x86_64/memset_chk.S: Likewise.
7420
54472e9c
AJ
74212012-04-08 Andreas Jaeger <aj@suse.de>
7422
6ab0fbfc
AJ
7423 [BZ #10153]
7424 * manual/startup.texi (Environment Access): Describe return value
7425 for putenv and setenv.
7426
61efba8c
AJ
7427 [BZ #6895]
7428 * manual/filesys.texi (Directory Entries): Add description for
7429 DT_LNK.
7430
95c3f29a
AJ
7431 [BZ #6890]
7432 * manual/filesys.texi (Directory Entries): Clarify that it's file
7433 system not operating system in the description of DT_UNKNOWN.
7434
54472e9c
AJ
7435 [BZ #6578]
7436 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7437
624254b1
SC
74382012-04-08 Stephen Compall <s11@member.fsf.org>
7439
7440 [BZ #6649]
7441 * manual/llio.texi (Opening and Closing Files): Add cross
7442 reference to explain mode argument.
7443
1e4920e0
MF
74442012-04-07 Mike Frysinger <vapier@gentoo.org>
7445
7446 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7447 * sysdeps/x86_64/memset_chk.S: Likewise.
7448
5ed848f3
DM
74492012-04-07 David S. Miller <davem@davemloft.net>
7450
7451 * elf/elf.h (R_SPARC_WDISP10): Define.
7452 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7453 R_SPARC_SIZE32.
7454 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7455 R_SPARC_SIZE64 and R_SPARC_H34.
7456
96154cd8
CD
74572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7458
7459 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7460 conditions and remove no longer applicable assertion.
7461
9904dc47
L
74622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7463
7464 * bits/byteswap.h: Include <features.h>.
7465 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7466 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7467
f8887d0a
L
74682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7469
7470 * bits/byteswap.h (__bswap_16): Removed.
7471 Include <bits/byteswap-16.h> to get __bswap_16.
7472 * sysdeps/i386/bits/byteswap.h: Likewise.
7473 * sysdeps/s390/bits/byteswap.h: Likewise.
7474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7475 * bits/byteswap-16.h: New file.
7476 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7477 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7478 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7479 * string/Makefile (headers): Add bits/byteswap-16.h.
7480
62470f60
PP
74812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7482
7483 [BZ #13895]
7484 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7485 extra indirection.
7486 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7487 * nss/tst-nss-static.c: New.
7488
4dad7bab
RM
74892012-04-06 Robert Millan <rmh@gnu.org>
7490
7491 [BZ #6486]
7492 * manual/llio.texi (File Position Primitive): lseek
7493 refers to WHENCE when it really means OFFSET.
7494
e9142a17
AJ
74952012-04-06 Andreas Jaeger <aj@suse.de>
7496
2c040eff
AJ
7497 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7498 strncmp declarations.
7499
e9142a17
AJ
7500 * abilist/libc.abilist: Add __poll and __ppoll.
7501
ff9f1c5f
DM
75022012-04-05 David S. Miller <davem@davemloft.net>
7503
dcd2ae90
DM
7504 * scripts/check-local-headers.sh: Accept a host triplet in the
7505 path matched by the exclude regexp.
7506
993eb054
DM
7507 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7508 definition.
7509 * sysdeps/powerpc/powerpc32/dl-machine.h
7510 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7511 * sysdeps/s390/s390-32/dl-machine.h
7512 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7513 * sysdeps/sparc/sparc32/dl-machine.h
7514 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7515 * sysdeps/sparc/sparc64/dl-machine.h
7516 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7517
ff9f1c5f
DM
7518 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7519 lazy binding.
48e2e132 7520 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7521 undefined symbol errors.
7522
48e2e132 7523 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7524 DT_NEEDED entries.
7525
e80d6f94
MM
75262012-04-05 Michael Matz <matz@suse.de>
7527
7528 [BZ #13592]
7529 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7530
349fa79f
AJ
75312012-04-05 Andreas Jaeger <aj@suse.de>
7532
7533 [BZ #13908]
7534 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7535 comment.
7536
f402708f
KK
75372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7538
7539 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7540 which ROUND is no valid rounding mode.
7541
2ecccfc9
KK
75422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7543
7544 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7545 read again.
7546 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7547
8a53f50f
KK
75482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7549
7550 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7551 an exception using FPU order intentionally.
7552
75532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7554
7555 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7556 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7557 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7558 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7559
d653abb7
SJ
75602012-04-05 Simon Josefsson <simon@josefsson.org>
7561
7562 [BZ #12340]
7563 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7564 EINVAL when BUFLEN is too smal.
7565
c3b1bf7d
TS
75662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7567
7568 [BZ #13553]
7569 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7570 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7571
b1aa60f3
AJ
75722012-04-03 Andreas Jaeger <aj@suse.de>
7573
c3b1bf7d 7574 [BZ #13938]
67f60a26
AJ
7575 * manual/setjmp.texi (System V contexts): Fix sentence.
7576
b1aa60f3
AJ
7577 [BZ #13926]
7578 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7579 New macro for this case.
7580 [!__GNUC__] (__bswap_64): New inline function for this case.
7581 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7582 * bits/byteswap.h: Likewise.
7583 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7584 ull, guard with __GLIBC_HAVE_LONG_LONG.
7585
7586 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7587 __GLIBC_HAVE_LONG_LONG.
7588
7589 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7590 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7591
39c59c35
TMQMF
75922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7593
7594 [BZ #13691]
7595 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7596 inptr and inend, rather than using last_ch.
7597
135ffda8
DM
75982012-04-02 David S. Miller <davem@davemloft.net>
7599
7600 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7601 * stdio-common/printf-parse.h (read_int): Change return type to
7602 'int', return -1 on INT_MAX overflow.
7603 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7604 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7605 overflows INT_MAX. Check for overflow of in-format-string precision
7606 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7607 SIZE_MAX not INT_MAX for integer overflow test.
7608 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7609 skip the construct in the format string but do not record anything.
7610 * stdio-common/bug22.c: Adjust to test both width/prevision
7611 INT_MAX overflow as well as total length INT_MAX overflow. Check
7612 explicitly for proper errno values.
7613
228c019e
TS
76142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7615
302cadd3
TS
7616 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7617 CHAR_MAX.
7618 * string/test-strcmp.c [! WIDE]: Likewise.
7619 * time/tst-mktime2.c: Likewise for INT_MAX.
7620 * string/test-string.h: #include <sys/param.h> for MIN.
7621
228c019e
TS
7622 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7623 * sysdeps/i386/init-first.c (init): Likewise.
7624 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7625 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7626 * sysdeps/sh/init-first.c (init): Likewise.
7627
cfa633f5
UD
76282012-04-01 Ulrich Drepper <drepper@gmail.com>
7629
7630 * po/ru.po: Update from translation team.
d1635ef8 7631 * po/vi.po: Likewise.
cfa633f5 7632
6cd0a5ea
SP
76332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7634
7635 * resolv/nss_dns/dns-host.c: Merge copyright years.
7636
4b43400f
LD
76372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7638
7639 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7640 Optimize memcpy with prefetch if
7641 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7642 src, dst pointers have unequal 16 byte alignments.
7643
48c41d04
SP
76442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7645
7646 [BZ #13928]
7647 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7648 from a CNAME entry and return the minimum ttl for the query.
7649 (gaih_getanswer_slice): Likewise.
7650
b8dc394d
JL
76512012-03-30 Jeff Law <law@redhat.com>
7652
7653 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7654 due to long keys.
7655 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7656 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7657
2f5a5ed0
JL
7658 * resolv/nss_dns/dns-host.c: Update copyright year.
7659
1d39e359
UD
76602012-03-30 Ulrich Drepper <drepper@gmail.com>
7661
c030f70c 7662 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7663 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7664
1d39e359
UD
7665 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7666 comments for sendmmsg.
7667
76682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7669
7670 [BZ #13691]
7671 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7672 with only 1 character between 0x0041 and 0x01b0.
7673 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7674 * wcsmbs/tst-mbsnrtowcs.c: New file.
7675
20fde227
DM
76762012-03-29 David S. Miller <davem@davemloft.net>
7677
7678 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7679 small copies by hand.
7680
984a4237
JL
76812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7682
7683 [BZ #13761]
7684 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7685 _nss_compat_initgroups_dyn): Fall back to malloc/free
7686 for large group memberships.
7687
18c9d62b
DM
76882012-03-28 David S. Miller <davem@davemloft.net>
7689
88d85d4f
DM
7690 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7691 that branches into memcpy.
7692 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7695 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7696 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7697 bits.
7698 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7699 implementation too.
7700 * sysdeps/sparc/mempcpy.S: New file.
7701
e5aa83e1
DM
7702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7703 the IFUNC routine in the libc case.
7704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7705
88570753
DM
7706 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7707 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7708 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7709 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7710 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7711 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7712 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7713 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7714
249d7567
DM
7715 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7716 loop to 256 bytes instead of 64 bytes and fix test signedness.
7717
18c9d62b
DM
7718 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7719 * sysdeps/sparc/sparc32/Makefile: rather than here...
7720 * sysdeps/sparc/sparc64/Makefile: and here.
7721
05f3d1f6
UD
77222012-03-28 Ulrich Drepper <drepper@gmail.com>
7723
7724 * malloc/mallocbug.c: Avoid warnings about unused variables.
7725
86ae07a8
JL
77262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7727
7728 [BZ #13760]
7729 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7730 in the right place. Discard and retry query if response is
7731 larger than input buffer size.
7732
41bf21a1
JM
77332012-03-28 Joseph Myers <joseph@codesourcery.com>
7734
d6270972
JM
7735 [BZ #369]
7736 [BZ #2678]
7737 [BZ #3866]
7738 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7739 x for large integer exponent.
7740 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7741 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7742 sign of result as needed afterwards.
7743 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7744 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7745 result for underflowing pow the same as for overflow.
7746 (__kernel_standard_l): Handle powl overflow and underflow here
7747 rather than calling __kernel_standard.
7748 * math/libm-test.inc (pow_test): Add more tests.
7749
414fca03 7750 [BZ #3868]
41bf21a1
JM
7751 [BZ #13879]
7752 [BZ #13910]
7753 [BZ #13911]
7754 [BZ #13912]
7755 [BZ #13913]
7756 [BZ #13915]
7757 [BZ #13916]
7758 [BZ #13917]
7759 [BZ #13918]
7760 [BZ #13919]
7761 [BZ #13920]
7762 [BZ #13921]
7763 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7764 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7765 (__kernel_standard_l): New function.
7766 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7767 __kernel_standard.
7768 * math/w_acosl.c (__acosl): Likewise.
7769 * math/w_asinl.c (__asinl): Likewise.
7770 * math/w_atan2l.c (__atan2l): Likewise.
7771 * math/w_atanhl.c (__atanhl): Likewise.
7772 * math/w_coshl.c (__coshl): Likewise.
7773 * math/w_exp10l.c (__exp10l): Likewise.
7774 * math/w_exp2l.c (__exp2l): Likewise.
7775 * math/w_fmodl.c (__fmodl): Likewise.
7776 * math/w_hypotl.c (__hypotl): Likewise.
7777 * math/w_j0l.c (__j0l, __y0l): Likewise.
7778 * math/w_j1l.c (__j1l, __y1l): Likewise.
7779 * math/w_jnl.c (__jnl, __ynl): Likewise.
7780 * math/w_lgammal.c (__lgammal): Likewise.
7781 * math/w_log10l.c (__log10l): Likewise.
7782 * math/w_log2l.c (__log2l): Likewise.
7783 * math/w_logl.c (__logl): Likewise.
7784 * math/w_powl.c (__powl): Likewise.
7785 * math/w_remainderl.c (__remainderl): Likewise.
7786 * math/w_scalbl.c (sysv_scalbl): Likewise.
7787 * math/w_sinhl.c (__sinhl): Likewise.
7788 * math/w_sqrtl.c (__sqrtl): Likewise.
7789 * math/w_tgammal.c (__tgammal): Likewise.
7790 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7791 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7792 * math/libm-test.inc (acos_test): Add more tests.
7793 (acosh_test): Likewise.
7794 (asin_test): Likewise.
7795 (atanh_test): Likewise.
7796 (exp_test): Likewise.
7797 (exp10_test): Likewise.
7798 (exp2_test): Likewise.
7799 (expm1_test): Likewise.
7800 (lgamma_test): Likewise.
7801 (log_test): Likewise.
7802 (log10_test): Likewise.
7803 (log1p_test): Likewise.
7804 (log2_test): Likewise.
7805 (pow_test): Do not allow some spurious overflow exceptions.
7806 (sqrt_test): Add more tests.
7807 (tgamma_test): Likewise.
7808 (y0_test): Likewise.
7809 (y1_test): Likewise.
7810 (yn_test): Likewise.
7811
dd62fda6
AB
78122012-03-27 Anton Blanchard <anton@samba.org>
7813
7814 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7815 MAP_HUGETLB.
7816 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7817 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7818 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7819
1e3cdfda
AJ
78202012-03-27 David S. Miller <davem@davemloft.net>
7821
b855ab85
DM
7822 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7823
1e3cdfda
AJ
7824 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7825 have-as-vis3 check.
7826
78272012-03-27 Andreas Jaeger <aj@suse.de>
7828
7829 * sysdeps/x86_64/elf/configure.in: Moved to ...
7830 * sysdeps/x86_64/configure.in: ... here.
7831 * sysdeps/x86_64/elf/start.S: Moved to ...
7832 * sysdeps/x86_64/start.S: ... here.
7833 * sysdeps/x86_64/elf/configure: Delete.
7834
7835 * sysdeps/x86_64/configure.in: Merge contents from
7836 sysdeps/i386/configure.in (without i686 check).
7837
7838 * sysdeps/i386/elf/Versions: Merge into ...
7839 * sysdeps/i386/Versions: ... this.
7840 * sysdeps/i386/elf/Versions: Delete file.
7841 * sysdeps/i386/elf/start.S: Moved to ...
7842 * sysdeps/i386/start.S: ...here.
7843 * sysdeps/i386/elf/configure.in: Merge into...
7844 * sysdeps/i386/configure.in: ...here.
7845 * sysdeps/i386/elf/configure.in: Delete file.
7846 * sysdeps/i386/elf/configure: Delete file.
7847
7848 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7849 * debug/backtracesyms.c: ... here.
7850 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7851 * debug/backtracesymsfd.c: ... here.
7852 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7853 * sysdeps/generic/ifunc-sel.h: ... here.
7854
7855 * sysdeps/unix/i386/start.c: Delete file.
7856 * sysdeps/unix/sparc/start.c: Delete file.
7857 * sysdeps/unix/start.c: Delete file.
7858
7859 * sysdeps/sh/elf/configure.in: Moved to ...
7860 * sysdeps/sh/configure.in: ... here.
7861 * sysdeps/sh/elf/start.S: Moved to ...
7862 * sysdeps/sh/start.S: ... here.
7863 * sysdeps/sh/elf/configure: Delete file.
7864
7865 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7866 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7867 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7868 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7869 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7870 * sysdeps/powerpc/powerpc64/start.S: here.
7871 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7872 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7873 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7874 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7875 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7876
7877 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7878 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7879 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7880 * sysdeps/powerpc/powerpc32/start.S: ... here.
7881 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7882 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7883 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7884
7885 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7886 * sysdeps/powerpc/ifunc-sel.h: ... here.
7887 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7888 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7889
7890 * sysdeps/sparc/elf/configure.in: Moved to ...
7891 * sysdeps/sparc/configure.in: ... here.
7892 * sysdeps/sparc/elf/configure: Delete file.
7893 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7894 * sysdeps/sparc/sparc32/start.S: ... here.
7895 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7896 * sysdeps/sparc/sparc64/start.S: ... here.
7897 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7898 * sysdeps/sparc/sparc32/Makefile: ... this.
7899 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7900 * sysdeps/sparc/sparc64/Makefile: ... this.
7901
7902 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7903 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7904 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7905 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7906 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7907 * sysdeps/s390/s390-32/setjmp.S: ... here.
7908 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7909 * sysdeps/s390/s390-32/configure.in: ... here.
7910 * sysdeps/s390/s390-32/elf/configure: Delete file.
7911 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7912 * sysdeps/s390/s390-32/start.S: ... here.
7913
7914 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7915 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7916 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7917 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7918 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7919 * sysdeps/s390/s390-64/setjmp.S: ... here.
7920 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7921 * sysdeps/s390/s390-64/configure.in: ... here
7922 * sysdeps/s390/s390-64/elf/configure: Delete file.
7923 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7924 * sysdeps/s390/s390-64/start.S: ... here.
7925 * sysdeps/s390/s390-64/elf/configure: Delete.
7926
7927 * configure.in: Remove support for elf directories in sysdeps.
7928
7929 * configure: Regenerated.
7930 * sysdeps/i386/configure: Regenerated.
7931 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7932 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7933 * sysdeps/s390/s390-32/configure: Regenerated.
7934 * sysdeps/s390/s390-64/configure: Regenerated.
7935 * sysdeps/sh/configure: Regenerated.
7936 * sysdeps/sparc/configure: Regenerated.
7937 * sysdeps/x86_64/configure: Regenerated.
7938
a3f61311
AS
79392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7940
c876e002
AS
7941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7942
a3f61311
AS
7943 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7944 denormal result into account.
7945
ac4c54f0
RM
79462012-03-25 Roland McGrath <roland@hack.frob.com>
7947
7948 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7949 Reported by Allan McRae <allan@archlinux.org>.
7950
6a9b9c02
JL
79512012-03-23 Jeff Law <law@redhat.com>
7952
7953 * nss/getnssent.c (__nss_getent): Fix typo.
7954
4c42a0c1
DM
79552012-03-23 David S. Miller <davem@davemloft.net>
7956
7957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7958
1532c7ac
L
79592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7962 to pad to uint64_t for each field.
7963 (dl_tls_index): Replace unsigned long with uint64_t.
7964
3ff42526
PP
79652012-03-23 Daniel Jacobowitz <dmj@google.com>
7966 Paul Pluzhnikov <ppluzhnikov@google.com>
7967
7968 [BZ #6528]
7969 * grp/Makefile (otherlibs): Don't set it.
7970 * inet/Makefile (otherlibs): Likewise.
7971 * login/Makefile (otherlibs): Likewise.
7972 * nscd/Makefile (otherlibs): Likewise.
7973 * posix/Makefile (otherlibs): Likewise.
7974 * pwd/Makefile (otherlibs): Likewise.
7975 * rt/Makefile (otherlibs): Likewise.
7976 * sunrpc/Makefile (otherlibs): Likewise.
7977 * nss/Makefile (otherlibs): Likewise.
7978 Add libnss_files to routines and static-only-routines.
7979 ($(objpfx)getent): Remove rule.
7980 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7981 static-only-routines.
7982
7c69cd14
JM
79832012-03-22 Joseph Myers <joseph@codesourcery.com>
7984
7985 [BZ #13892]
7986 * math/s_cexp.c: Include <float.h>.
7987 (__cexp): Handle exp result overflowing not necessarily
7988 overflowing both real and imaginary parts of result.
7989 * math/s_cexpf.c: Likewise.
7990 * math/s_cexpl.c: Likewise.
7991 * math/libm-test.inc (cexp_test): Add more tests.
7992 * sysdeps/i386/fpu/libm-test-ulps: Update.
7993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7994
81b035fe
L
79952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7996
7997 * include/link.h (ELFW): New macro.
7998 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7999 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8000
1da7940c
L
80012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8002
8003 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8004 with uint64_t.
8005
b749dbb9
L
80062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8007
8008 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8009 declaration.
8010 (struct La_x32_retval): Likewise.
8011
2ff87f3f
L
80122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * sysdeps/x86_64/preconfigure.in: New file.
8015 * sysdeps/x86_64/preconfigure: New generated file.
8016
c0df8e69
JM
80172012-03-22 Joseph Myers <joseph@codesourcery.com>
8018
48e44791
JM
8019 [BZ #13824]
8020 * math/e_exp2l.c: Include <float.h>.
8021 (__ieee754_exp2l): Handle overflow and underflow cases
8022 separately. Only pass fractional part of argument to
8023 __ieee754_expl.
8024 * math/libm-test.inc (exp2_test): Add more tests.
8025
c0df8e69
JM
8026 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8027 negating x to take absolute value.
8028 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8029 Likewise.
8030 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8031 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8032 Likewise.
8033 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8034 computing low part if x was negated.
8035 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8036
c8e43ba7
L
80372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8038
8039 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8040 la_x32_gnu_pltexit.
8041 (pltexit): Cast int_retval to ptrdiff_t.
8042 * elf/tst-auditmod3b.c: Likewise.
8043 * elf/tst-auditmod4b.c: Likewise.
8044 * elf/tst-auditmod5b.c: Likewise.
8045 * elf/tst-auditmod6b.c: Likewise.
8046 * elf/tst-auditmod6c.c: Likewise.
8047 * elf/tst-auditmod7b.c: Likewise.
8048
8049 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8050 and x32_gnu_pltexit.
8051
8052 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8053 __ELF_NATIVE_CLASS.
8054 (La_x32_regs): New macro.
8055 (La_x32_retval): Likewise.
8056 (la_x32_gnu_pltenter): New function prototype.
8057 (la_x32_gnu_pltexit): Likewise.
8058
7998fa78
AS
80592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8060
dcb33988
AS
8061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8062 exponent.
8063
233fc563
AS
8064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8065
7998fa78
AS
8066 * configure.in (libc_cv_cc_nofma): Check for option to disable
8067 generation of FMA instructions.
8068 * configure: Regenerate.
8069 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8070 * sysdeps/ieee754/dbl-64/Makefile: New file.
8071 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8072 Remove brandred-fma4.
8073 (CFLAGS-brandred-fma4.c): Remove.
8074 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8075 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8076 define.
8077 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8078 define.
8079
8e95c99a
L
80802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8081
8082 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8083 LLONG_MAX != LONG_MAX.
8084 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8085 (_fitoa_word): Likewise.
8086 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8087 LLONG_MAX != LONG_MAX.
8088 * stdio-common/_itowa.h: Include <_itoa.h>.
8089 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8090 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8091 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8092 only if not defined.
8093 (_ITOA_WORD_TYPE): Likewise.
8094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8095 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8096
6f4db457
DM
80972012-03-21 David S. Miller <davem@davemloft.net>
8098
8099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8100
7785fe5a
L
81012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8102
8103 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8104 of x86_64 when setting libc_cv_slibdir, libdir and
8105 libc_cv_localedir.
8106 * sysdeps/unix/sysv/linux/configure: Regenerated.
8107
4535cd55
JM
81082012-03-21 Joseph Myers <joseph@codesourcery.com>
8109
8110 * manual/lang.texi (Old Varargs): Remove section.
8111 (How Variadic): Update menu.
8112 (va_start): Do not mention varargs.h.
8113
17228132
TS
81142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8115 Joseph Myers <joseph@codesourcery.com>
8116
8117 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8118 link test.
8119 * configure: Regenerated.
8120
8149f976
TS
81212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8122
05f3d1f6
UD
8123 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8124 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8125 conformtest.pl
8149f976 8126
1a4ac776
JM
81272012-03-21 Joseph Myers <joseph@codesourcery.com>
8128
be22ce65
JM
8129 * NOTES: Remove.
8130 * Makefile (files-for-dist): Remove NOTES.
8131 (NOTES): Remove rule.
8132 * README: Don't refer to NOTES.
8133 * manual/creature.texi: Don't include macros.texi.
8134 * manual/intro.texi (creature.texi): Remove comment referring to
8135 NOTES.
8136
40b601fb
JM
8137 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8138 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8139 * configure: Regenerated.
8140 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8141 LIBC_TRY_CC_OPTION.
8142 (libc_cv_as_i686): Likewise.
8143 (libc_cv_cc_avx): Likewise.
8144 (libc_cv_cc_sse2avx): Likewise.
8145 (libc_cv_cc_fma4): Likewise.
8146 (libc_cv_cc_novzeroupper): Likewise.
8147 * sysdeps/i386/configure: Regenerated.
8148
1a4ac776
JM
8149 [BZ #13883]
8150 * sysdeps/i386/fpu/s_cexp.S: Remove.
8151 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8152 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8153 * math/libm-test.inc (cexp_test): Add more tests.
8154 * sysdeps/i386/fpu/libm-test-ulps: Update.
8155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8156
a458e7fe
AM
81572012-03-21 Allan McRae <allan@archlinux.org>
8158
8159 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8160
0cb7efc5
JM
81612012-03-21 Joseph Myers <joseph@codesourcery.com>
8162
8163 [BZ #13871]
8164 * math/w_exp2.c: Do not include <float.h>.
8165 (o_threshold, u_threshold): Remove.
8166 (__exp2): Calculate result before checking finiteness and calling
8167 __kernel_standard.
8168 * math/w_exp2f.c: Likewise.
8169 * math/w_exp2l.c: Likewise.
8170 * math/libm-test.inc (exp2_test): Require overflow exception for
8171 1e6 input.
2460d3aa
JM
8172
8173 [BZ #3866]
8174 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8175 range of signed 64-bit integers before using fistpll. Remove
8176 checks for whether integers fit in mantissa bits.
8177 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8178 the range of signed 32-bit integers before using fistpl. Remove
8179 checks for whether integers fit in mantissa bits.
8180 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8181 (__ieee754_powl): Test for y outside the range of signed 64-bit
8182 integers before using fistpll. Reduce 64-bit values to 63-bit
8183 ones as needed.
8184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8185 divide-by-zero is raised for zero to large negative powers.
8186 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8187 (__ieee754_powl): Test for y outside the range of signed 64-bit
8188 integers before using fistpll. Reduce 64-bit values to 63-bit
8189 ones as needed.
8190 * math/libm-test.inc (pow_test): Add more tests.
8191
eb96ffb0
L
81922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8193
8194 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8195 <stdio-common/_itoa.h>.
8196 * debug/segfault.c: Likewise.
8197 * elf/dl-cache.c: Likewise.
8198 * elf/dl-minimal.c: Likewise.
8199 * elf/dl-misc.c: Likewise.
8200 * elf/dl-sysdep.c: Likewise.
8201 * elf/dl-version.c: Likewise.
8202 * elf/rtld.c: Likewise.
8203 * hurd/hurdsock.c: Likewise.
8204 * hurd/lookup-retry.c: Likewise.
8205 * malloc/malloc.c: Likewise.
8206 * malloc/mtrace.c: Likewise.
8207 * nscd/nscd_getgr_r.c: Likewise.
8208 * nscd/nscd_getpw_r.c: Likewise.
8209 * nscd/nscd_getserv_r.c: Likewise.
8210 * posix/getopt_init.c: Likewise.
8211 * posix/wordexp.c: Likewise.
8212 * stdio-common/_itoa.c: Likewise.
8213 * stdio-common/printf_fphex.c: Likewise.
8214 * stdio-common/vfprintf.c: Likewise.
8215 * string/_strerror.c: Likewise.
8216 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8217 * sysdeps/i386/i686/hp-timing.h: Likewise.
8218 * sysdeps/mach/_strerror.c: Likewise.
8219 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8220 * sysdeps/mach/hurd/sethostid.c: Likewise.
8221 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8222 * sysdeps/mach/xpg-strerror.c: Likewise.
8223 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8224 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8225 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8226 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8227 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8228 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8229 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8230 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8231 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8232 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8233 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8234 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8235 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8236 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8237 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8238 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8239 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8240 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8241 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8242 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8243 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8244
8245 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8246
8247 * stdio-common/_itoa.h: Moved to ...
8248 * sysdeps/generic/_itoa.h: Here.
8249
8250 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8251
8252 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8253 instead of "_itoa.h" and "_itowa.h".
8254 * stdio-common/vfprintf.: Likewise.
8255
d1af992d
L
82562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8257
8258 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8259 <bits/wordsize.h>.
8260 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8261 (__signbit): Likwise.
8262 (llrintf): Likwise.
8263 (llrint): Likwise.
8264
114883e0
L
82652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8266
8267 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8268 __WORDSIZE != 64.
8269
c135cc1b
JM
82702012-03-20 Joseph Myers <joseph@codesourcery.com>
8271
8272 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8273 OVERFLOW_EXCEPTION_OK.
8274 * math/libm-test.inc ("Philosophy"): Update comment about
8275 exception testing.
8276 (OVERFLOW_EXCEPTION): Define.
8277 (OVERFLOW_EXCEPTION_OK): Likewise.
8278 (INVALID_EXCEPTION_OK): Renumber.
8279 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8280 (IGNORE_ZERO_INF_SIGN): Likewise.
8281 (test_exceptions): Handle FE_OVERFLOW.
8282 (exp10_test): Expect overflow exceptions.
8283 (exp2_test): Likewise.
8284 (expm1_test): Likewise.
8285 (nextafter_test): Likewise.
8286 (pow_test): Likewise.
8287 (scalbn_test): Likewise.
8288 (scalbln_test): Likewise.
8289
95443d88
L
82902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8291
8292 * sysdeps/x86_64/bits/atomic.h
8293 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8294 64bit integer.
8295 (atomic_exchange_acq): Likewise.
8296 (__arch_exchange_and_add_body): Likewise.
8297 (__arch_add_body): Likewise.
8298 (atomic_add_negative): Likewise.
8299 (atomic_add_zero): Likewise.
8300
490df6c4
L
83012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8302
c2722551 8303 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8304 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8305
5e52b189
L
83062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8307
8308 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8309 Check __x86_64__ instead of __WORDSIZE.
8310
a9879d4c
L
83112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8312
8313 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8314
5df98260
DM
83152012-03-19 David S. Miller <davem@davemloft.net>
8316
e1497744
DM
8317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8318
5df98260
DM
8319 * sysdeps/sparc/fpu/fenv_private.h: New file.
8320 * sysdeps/sparc/fpu/math_private.h: Use it.
8321 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8322 Remove.
8323 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8324 (libc_feholdexcept_setroundl): Remove.
8325 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8326 Remove.
8327 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8328 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8329
b4c35121
L
83302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8331
8332 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8333 int64_t instead of long int.
8334 (INSERT_WORDS64): Likwise.
8335
56965fd7
L
83362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8337
8338 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8339 _Unwind_GetCFA return to _Unwind_Ptr first.
8340
83d1aec8
JM
83412012-03-19 Joseph Myers <joseph@codesourcery.com>
8342
1897ad44
JM
8343 [BZ #13629]
8344 * math/s_clog.c: Include <float.h>.
8345 (__clog): Scale large or subnormal inputs.
8346 * math/s_clogf.c: Likewise.
8347 * math/s_clogl.c: Likewise.
8348 * math/s_clog10.c: Include <float.h>.
8349 (M_LOG10_2): Define.
8350 (__clog10): Scale large or subnormal inputs.
8351 * math/s_clog10f.c: Likewise.
8352 * math/s_clog10l.c: Likewise.
8353 * math/libm-test.inc (clog_test): Add more tests.
8354 (clog10_test): Likewise.
8355 * sysdeps/i386/fpu/libm-test-ulps: Update.
8356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8357
7726d6a9
JM
8358 [BZ #11451]
8359 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8360 x and y.
8361 * math/libm-test.inc (atan2_test): Add another test.
8362
83d1aec8
JM
8363 * Makerules (common-objdir-compile): Remove.
8364 * sysdeps/unix/Makefile (config-generated): Do not add
8365 $(unix-generated) to variable.
8366 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8367 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8368 Remove rule.
8369 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8370 Likewise.
8371 [generic bits/local_lim.h] (before-compile): Do not append to
8372 variable.
8373 [generic bits/local_lim.h] (common-generated): Likewise.
8374 [generic sys/param.h] (before-compile): Do not append to variable.
8375 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8376 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8377 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8378 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8379 include.
8380 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8381 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8382 [generic sys/param.h] ($(addprefix
8383 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8384 [generic sys/param.h] (common-generated): Do not append to
8385 variable.
8386 [generic sys/param.h] (sysdep_headers): Likewise.
8387 [generic bits/errno.h] (before-compile): Do not append to
8388 variable.
8389 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8390 rule.
8391 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8392 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8393 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8394 [generic bits/errno.h] (common-generated): Do not append to
8395 variable.
8396 [generic bits/ioctls.h] (before-compile): Do not append to
8397 variable.
8398 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8399 rule.
8400 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8401 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8402 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8403 rule.
8404 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8405 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8406 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8407 [generic bits/ioctls.h] (common-generated): Do not append to
8408 variable.
8409 [generic sys/syscall.h] (syscall.h): Remove variable.
8410 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8411 rule.
8412 [generic sys/syscall.h] (before-compile): Do not append to
8413 variable.
8414 [generic sys/syscall.h] (common-generated): Likewise.
8415 * sysdeps/unix/errnos-tmpl.c: Remove file.
8416 * sysdeps/unix/errnos.awk: Likewise.
8417 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8418 * sysdeps/unix/ioctls.awk: Likewise.
8419 * sysdeps/unix/mk-local_lim.c: Likewise.
8420 * sysdeps/unix/snarf-ioctls: Likewise.
8421
4851a949
RH
84222012-03-19 Richard Henderson <rth@twiddle.net>
8423
bd37f2ee
RH
8424 * sysdeps/i386/fpu/fenv_private.h: New file.
8425 * sysdeps/i386/fpu/math_private.h: Use it.
8426 (math_opt_barrier, math_force_eval): Remove.
8427 (libc_feholdexcept_setround_53bit): Remove.
8428 (libc_feupdateenv_53bit): Remove.
8429 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8430 (math_opt_barrier, math_force_eval): Remove.
8431 (libc_feholdexcept): Remove.
8432 (libc_feholdexcept_setround): Remove.
8433 (libc_fetestexcept, libc_fesetenv): Remove.
8434 (libc_feupdateenv_test): Remove.
8435 (libc_feupdateenv, libc_feholdsetround): Remove.
8436 (libc_feresetround): Remove.
8437
d0adc922
RH
8438 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8439 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8440
0fe0f1f8
RH
8441 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8442 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8443 (libc_feupdateenv_testl): New.
8444 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8445 (libc_feupdateenv_testf): New.
8446 (libc_feupdateenv): Use libc_feupdateenv_test.
8447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8448 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8449
eb92c487
RH
8450 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8451 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8452 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8453 (libc_feresetround_noex): New.
8454 (libc_feresetround_noexf): New.
8455 (libc_feresetround_noexl): New.
8456 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8457 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8458 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8459 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8460 SET_RESTORE_ROUND.
8461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8463 (__cos): Likewise.
8464 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8465 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8466 SET_RESTORE_ROUND_NOEX.
8467 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8468 SET_RESTORE_ROUND_NOEXF.
8469 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8470 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8471 (libc_feholdsetroundf): New.
8472 (libc_feresetround, libc_feresetroundf): New.
8473
7d2e8012
RH
8474 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8475 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8476 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8477
b4dabbb4
RH
8478 * sysdeps/generic/math_private.h: Include <fenv.h>.
8479 (default_libc_feholdexcept): New.
8480 (default_libc_feholdexcept_setround): New.
8481 (default_libc_fesetenv, default_libc_feupdateenv): New.
8482 (libc_feholdexcept): Only define if undefined.
8483 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8484 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8485 (libc_feholdexcept_setroundl): Likewise.
8486 (libc_feholdexcept_setround_53bit): Likewise.
8487 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8488 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8489 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8490 (libc_feupdateenv_53bit): Likewise.
8491 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8492 (libc_feholdexcept): Convert from macro to inline function.
8493 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8494 (libc_fesetenv, libc_feupdateenv): Likewise.
8495
4851a949
RH
8496 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8497 not previously defined.
8498 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8499 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8500 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8501 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8502 * sysdeps/ieee754/flt-32/math_private.h: New file.
8503 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8504 math_private.h below SET_FLOAT_WORD.
8505 (__isnan, __isinf_ns, __finite): Remove.
8506 (__isnanf, __isinf_nsf, __finitef): Remove.
8507
e79d442e
AS
85082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8509
8510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8511
90b80344
DM
85122012-03-17 David S. Miller <davem@davemloft.net>
8513
8514 [BZ #6471]
8515 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8516 for 2.16.
8517
edc21804
DM
85182012-03-16 David S. Miller <davem@davemloft.net>
8519
77e927af
DM
8520 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8521 warnings.
8522
374976dd
DM
8523 [BZ #6471]
8524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8525 properly.
8526 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8527 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8528 sysdep_routines when subdir is sysvipc.
8529 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8530 __getshmlba helper.
8531
edc21804
DM
8532 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8533
473c3ef3
L
85342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8535
8536 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8537 [__LP64__].
8538
eb0f39b6
L
85392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8540
8541 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8542 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8543 (__lround): Renamed to ...
8544 (__llround): This. Replace long int with long long int.
8545 Define lround functions as aliases of llround functions.
8546 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8547
6b6cd74b
L
85482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8549
8550 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8551 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8552 adresses to uintptr_t. Replace "long int" and "unsigned long
8553 int" with "greg_t" on va_arg.
8554
f1a77b01
L
85552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8556
8557 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8558 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8559
8560 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8561 Move e_machine check before EI_CLASS check. Handle x32
8562 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8563 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8564 SKIP_EM_IA_64 and include
8565 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8566
8567 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8568 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8569 (add_system_dir): New macro.
8570
8571 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8572 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8573
11b90b9f
JM
85742012-03-16 Joseph Myers <joseph@codesourcery.com>
8575
c36e1d23
JM
8576 [BZ #2551]
8577 [BZ #2552]
8578 [BZ #2553]
8579 [BZ #2554]
8580 [BZ #2562]
8581 [BZ #2563]
8582 [BZ #2565]
8583 [BZ #2566]
8584 [BZ #2576]
8585 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8586 (y0): Likewise.
8587 * math/w_j0f.c (j0f): Likewise.
8588 (y0f): Likewise.
8589 * math/w_j0l.c (__j0l): Likewise.
8590 (__y0l): Likewise.
8591 * math/w_j1.c (j1): Likewise.
8592 (y1): Likewise.
8593 * math/w_j1f.c (j1f): Likewise.
8594 (y1f): Likewise.
8595 * math/w_j1l.c (__j1l): Likewise.
8596 (__y1l): Likewise.
8597 * math/w_jn.c (jn): Likewise.
8598 (yn): Likewise.
8599 * math/w_jnf.c (jnf): Likewise.
8600 (ynf): Likewise.
8601 * math/w_jnl.c (__jnl): Likewise.
8602 (__ynl): Likewise.
8603 * math/libm-test.inc (j0_test): Add more tests.
8604 (j1_test): Likewise.
8605 (jn_test): Likewise. Add trailing semicolon to existing test.
8606 (y0_test): Likewise.
8607 (y1_test): Likewise.
8608 * sysdeps/i386/fpu/libm-test-ulps: Update.
8609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8610
11b90b9f
JM
8611 [BZ #13851]
8612 [BZ #13854]
8613 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8614 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8615 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8617 (__tanl): Set errno for infinite argument.
8618 * sysdeps/i386/fpu/mptan.c: Remove.
8619 * sysdeps/i386/fpu/s_tan.S: Likewise.
8620 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8621 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8622 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8623 * math/libm-test.inc (tan_test): Add more tests and enable more
8624 tests for double and long double.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627
6a1bd2a1
JK
86282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8629
8630 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8631 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8632
10a803e0
RM
86332012-03-16 Roland McGrath <roland@hack.frob.com>
8634
8635 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8636 * configure.in: Use it for both main tree and add-ons.
8637 * configure: Regenerated.
8638
f196c7f7
L
86392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8640
8641 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8642
8848d99d
JM
86432012-03-16 Joseph Myers <joseph@codesourcery.com>
8644
96cbe7f4
JM
8645 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8646 in comment.
8647
8848d99d
JM
8648 [BZ #13851]
8649 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8650 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8654 infinite argument.
8655 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8657 != 0 for prec == 2.
8658 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8659 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8660 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8661 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8662 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8663 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8664 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8665 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8666 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8667 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8668 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8669 * math/libm-test.inc (cos_test): Add more tests and enable more
8670 tests for long double.
8671 (sin_test): Likewise.
8672 (sincos_test): Likewise.
8673 * sysdeps/i386/fpu/libm-test-ulps: Update.
8674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675
dd7f4703
DM
86762012-03-16 David S. Miller <davem@davemloft.net>
8677
8678 * sysdeps/sparc/fpu/math_private.h: New file.
8679
006f1daa
DM
86802012-03-15 David S. Miller <davem@davemloft.net>
8681
c0c83bc8
DM
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8683 file.
e6a62e18 8684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8686 file.
e6a62e18
DM
8687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8693 sysdep routines.
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8695
88cb87d9
DM
8696 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8697 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8698
006f1daa 8699 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8701 sparc-ifunc.h
006f1daa 8702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8704 Likewise.
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8706 Likewise.
006f1daa
DM
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8711 Likewise.
006f1daa
DM
8712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8717 Likewise.
8718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8719 Likewise.
006f1daa
DM
8720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8738 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8739 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8744
11e0098e
AS
87452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8746
8747 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8748 scaling.
8749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8750
e85b09d0
AJ
87512012-03-15 Andreas Jaeger <aj@suse.de>
8752
8753 [BZ #13852]
8754 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8755 ieee754/flt-32 implementation for sin, cos and sincos.
8756 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8757 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8758 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8759 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8760 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8761 ieee754/flt-32 implementation for tan.
8762
8763 * math/libm-test.inc (cos_test): Enable some large input tests for
8764 float as well
8765 (sin_test): Likewise.
8766 (sincos_test): Likewise.
8767 (tan_test): Add tests for large input.
8768
8769 * sysdeps/i386/fpu/libm-test-ulps: Update.
8770
81c64153
AJ
87712012-03-15 Andreas Jaeger <aj@suse.de>
8772
8773 [BZ #13658]
8774 * math/libm-test.inc (cos_test): Add more test cases.
8775 (sin_test): Likewise.
8776 (sincos_test): Likewise.
8777
7bbfa5c6
AJ
87782012-03-15 Andreas Jaeger <aj@suse.de>
8779
8780 [BZ #13837]
8781 * math/libm-test.inc (cos_test): Add a test case for large input
8782 value.
8783 (sin_test): Likewise.
8784 (sincos_test): Likewise.
8785
87862012-03-15 Andreas Jaeger <aj@suse.de>,
8787 Joseph Myers <joseph@codesourcery.com>
8788
8789 [BZ #13658]
0671f479 8790 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8791 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8792 * sysdeps/i386/fpu/branred.c: Likewise.
8793 * sysdeps/i386/fpu/dosincos.c: Likewise.
8794 * sysdeps/i386/fpu/mpa.c: Likewise.
8795 * sysdeps/i386/fpu/s_cos.S: Likewise.
8796 * sysdeps/i386/fpu/s_sin.S: Likewise.
8797 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8798 * sysdeps/i386/fpu/sincos32.c: Likewise.
8799
8800 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8801 Define.
8802 (libc_feupdateenv_53bit): Define.
8803 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8804 Define.
8805 (libc_feupdateenv_53bit): Define.
8806
8807 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8808 53 bit (without extend i386 double precision).
8809
8810 * math/libm-test.inc (sincos_test): Add tests for large input.
8811 (sin): Likewise.
8812 (cos): Likewise.
8813
8814 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8815
9cad04ea
AS
88162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8817
8818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8819
f7062b9a
DM
88202012-03-15 David S. Miller <davem@davemloft.net>
8821
8822 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8823 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8824 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8825 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8838 file.
f7062b9a 8839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8841 file.
f7062b9a 8842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8844 file.
f7062b9a 8845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8847 file.
f7062b9a
DM
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8850 fmin/fmax sysdep routines.
8851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8852
7bd951ff
DM
88532012-03-14 David S. Miller <davem@davemloft.net>
8854
559398ab
DM
8855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8861 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8862 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8882 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8884 routines.
8885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8886 file.
559398ab 8887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8889 file.
559398ab 8890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8892 file.
559398ab 8893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8895 file.
559398ab 8896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8898 file.
559398ab 8899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8901 file.
8902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8903 file.
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8905 file.
8906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8907 file.
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8909 New file.
8910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8911 file.
8912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8913 file.
559398ab 8914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8916 file.
559398ab 8917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8919 file.
559398ab 8920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8922 file.
559398ab 8923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8925 VIS3 routines.
559398ab
DM
8926
8927 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8928 New file.
8929
5a1c1e32
DM
8930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8931
eae47a36
DM
8932 * sysdeps/sparc/configure.in: New file.
8933 * sysdeps/sparc/configure: Generate.
8934 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8935 * configure: Regenerate.
8936 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8937 * config.make.in (have-as-vis3): New.
8938 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8939 available use -Av9d instead of -Av9a.
8940 * sysdeps/sparc/sparc64/Makefile: Likewise.
8941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8943 New file.
8944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8945 file.
8946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8947 New file.
8948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8949 file.
eae47a36
DM
8950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8954 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8955
c0c83bc8
DM
8956 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8957 fzeros/fnegs to load 0x80000000 into a float register instead of
8958 using the stack.
7bd951ff
DM
8959 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8960
bd951ccb
JM
89612012-03-14 Joseph Myers <joseph@codesourcery.com>
8962
8963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8964 bits/syscall.h.
8965 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8966 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8967 ($(inst_includedir)/bits/syscall.h): Remove rule.
8968 ($(objpfx)bits/syscall.d): Include instead of
8969 $(objpfx)syscall-list.d.
8970 (generated): Change syscall-list.h and syscall-list.d to
8971 bits/syscall.h and bits/syscall.d.
8972
bb4e6db2
RM
89732012-03-14 Roland McGrath <roland@hack.frob.com>
8974
8975 [BZ #13846]
8976 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8977
aa4a2ae1
JM
89782012-03-14 Joseph Myers <joseph@codesourcery.com>
8979
e456826d
JM
8980 [BZ #13841]
8981 * math/s_csqrt.c: Include <float.h>.
8982 (__csqrt): Scale large or subnormal inputs.
8983 * math/s_csqrtf.c: Likewise.
8984 * math/s_csqrtl.c: Likewise.
8985 * math/libm-test.inc (csqrt_test): Add more tests.
8986 * sysdeps/i386/fpu/libm-test-ulps: Update.
8987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988
aa4a2ae1
JM
8989 [BZ #13840]
8990 * math/libm-test.inc (hypot_test): Add more tests.
8991
7c10fd35
DM
89922012-03-13 David S. Miller <davem@davemloft.net>
8993
8994 [BZ #13840]
8995 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8996 double-precision for the calculation instead of scaling.
8997
f453b98b
JM
89982012-03-13 Joseph Myers <joseph@codesourcery.com>
8999
9000 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9001 manipulate bits before adding and subtracting TWO52[sx].
9002 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9004 Likewise.
9005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9006
09a3453f
DM
90072012-03-13 David S. Miller <davem@davemloft.net>
9008
8e59da90
DM
9009 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9010 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9012 rtld-global-offsets.h
9013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9014
2a8ab7f2
DM
9015 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9016 large parameters.
9017
10f62770
DM
9018 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9019
5f0bdb18
DM
9020 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9021 'err' in the ifdef scope in which it is actually used.
9022
09a3453f
DM
9023 * nss/nss_db/db-init.c: Include string.h
9024
b4b2eb5e
DM
90252012-03-12 David S. Miller <davem@davemloft.net>
9026
98bb2f1c
DM
9027 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9028 masking out of the most significant byte of random value used.
9029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9030 Fix coding style in previous change.
9031
b4b2eb5e
DM
9032 * sysdeps/unix/sysv/linux/kernel-features.h
9033 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9034 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9035 expression.
9036 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9037 later.
9038
6e226b09
DM
90392012-03-11 David S. Miller <davem@davemloft.net>
9040
a1bcbd40
DM
9041 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9042 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9043 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9044 for 'resultvar' otherwise things get truncated on 64-bit.
9045
cb9d6174
DM
9046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9047 Fix masking out of the most significant byte of random value used.
9048
6e226b09
DM
9049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9050
058c132d
AS
90512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9052
9053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9054
2d2cd515
DM
90552012-03-09 David S. Miller <davem@davemloft.net>
9056
9057 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9058 variables with appropriate CPP guards.
9059 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9060 frame pointer, not the stack pointer. Correct layout comments. Fix test
9061 on resulting framesize and the management of the outregs buffer for pltexit.
9062 Preserve floating point return values across _dl_call_pltexit call.
9063 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9064 framesize and the management of the outregs buffer for pltexit.
9065 Preserve floating point return values across _dl_call_pltexit
9066 call.
9067 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9068 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9069 (print_exit): Fix format string for return register value.
9070
9a07f9d0
JM
90712012-03-10 Joseph Myers <joseph@codesourcery.com>
9072
9073 * sunrpc/Makefile (others): Add rpcgen.
9074 ($(objpfx)rpcgen): Remove special build rule and dependency on
9075 libc.
9076 * sunrpc/rpcgen.c: New file.
9077
547b5e30
PE
90782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9079
c524201a
PE
9080 [BZ #13673]
9081 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9082 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9083 * sysdeps/i386/crti.S: Likewise.
9084 * sysdeps/i386/crtn.S: Likewise.
9085 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9086 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9087 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9088 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9089 * sysdeps/sh/crti.S: Likewise.
9090 * sysdeps/sh/crtn.S: Likewise.
9091 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9092
7b6235f2
PE
9093 [BZ #13673]
9094 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9095 with URL.
9096 * locale/programs/locfile-kw.gperf: Likewise.
9097 * locale/programs/charmap-kw.h: Regenerated.
9098 * locale/programs/locfile-kw.h: Likewise.
9099
547b5e30
PE
9100 [BZ #13673]
9101 * intl/plural.y: Replace FSF snail mail address with URL.
9102 * intl/plural.c: Regenerated.
9103
5f0a5dae
RH
91042012-03-09 Richard Henderson <rth@twiddle.net>
9105
9106 * include/math_private.h: Remove file.
9107 * math/math_private.h: Move file ...
9108 * sysdeps/generic/math_private.h: ... here.
9109
b8c03620
RH
9110 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9111 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9112 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9113
4e234f5d 9114 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9115 and <math_private.h>.
9116 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9117 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9118 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9119 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9120 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9204 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9205 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9206 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9207 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9208 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9209 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9210 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9211 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9212 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9213 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9214 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9215 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9216 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9217 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9218 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9219 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9220 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9221 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9222 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9223 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9224 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9225 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9226 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9227 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9228 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9229 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9230 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9231 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9233 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9234 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9235 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9236 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9237 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9238 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9239 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9240 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9241 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9243 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9244 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9245 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9246 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9247 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9248 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9249 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9250 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9251 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9252 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9253 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9254 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9255 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9256 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9257 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9258 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9259 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9260 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9261 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9262 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9263 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9264 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9265 * sysdeps/ieee754/k_standard.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9370 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9373 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9381 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9385 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9388 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9393 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9398 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9401 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9412 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9414 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9416 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9417 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9418 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9419 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9422 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9423 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9426 * sysdeps/ieee754/s_lib_version.c: Likewise.
9427 * sysdeps/ieee754/s_matherr.c: Likewise.
9428 * sysdeps/ieee754/s_signgam.c: Likewise.
9429 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9430 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9431 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9432 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9433 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9434 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9435 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9436 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9437 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9438 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9439 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9440 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9441 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9442 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9443 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9444 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9445 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9446 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9449 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9450
1991fa03
JM
94512012-03-09 Joseph Myers <joseph@codesourcery.com>
9452
9453 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9454 * sunrpc/rpc_main.c: Likewise.
9455 * sunrpc/rpc_svcout.c: Likewise.
9456
60d6f5a6
DM
94572012-03-09 David S. Miller <davem@davemloft.net>
9458
9459 * include/math_private.h: New file.
9460
4962050e
JM
94612012-03-09 Joseph Myers <joseph@codesourcery.com>
9462
02a6f887
JM
9463 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9464 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9465 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9466 from <bits/socket_type.h>.
9467 (enum __socket_type): Don't define here.
9468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9470 bits/socket_type.h.
9471
c6e013c1
JM
9472 [BZ #13566]
9473 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9474 checking __USE_GNU.
9475
4962050e
JM
9476 * Makerules ($(inst_includedir)/%.h): New rule.
9477 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9478 (install-others): Remove variable setting.
9479 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9480
38842f45
RH
94812012-03-08 Richard Henderson <rth@twiddle.net>
9482
67bb6da6
RH
9483 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9484 from macro to inline function; merge with the
9485 !__LIBC_INTERNAL_MATH_INLINES version.
9486 (__ieee754_sqrtf): Likewise.
9487
15194b4b
RH
9488 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9489 to inline function.
9490 (__rintf, __floor, __floorf): Likewise.
9491
64e21ede
RH
9492 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9493 macro to inline function.
9494 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9495
38842f45
RH
9496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9497 not <math/math_private.h>.
9498
c64bf5fe
DM
94992012-03-08 David S. Miller <davem@davemloft.net>
9500
9501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9502 copyright year.
9503 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9504
82d86f28
TS
95052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9506
9507 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9508 normalization.
9509 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9510 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9511
aea5d727
UD
95122012-03-08 Ulrich Drepper <drepper@gmail.com>
9513
9514 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9515 be defined individually, they must be defined as a block. Define
9516 S for printing a string instead of hidint the different by using a
9517 macro for adding the 'l'.
9518 * stdio-common/tst-fphex-wide.c: Adjust.
9519
70bca0a3
MP
95202012-03-07 Marek Polacek <polacek@redhat.com>
9521
9522 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9523
65b81130
MP
95242012-03-08 Marek Polacek <polacek@redhat.com>
9525
9526 [BZ #13806]
9527 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9528 * stdio-common/tst-fphex.c: Define a few macros to make the
9529 test reusable. Use them.
9530 * stdio-common/tst-fphex-wide.c: New file.
9531
07037eeb
JM
95322012-03-08 Joseph Myers <joseph@codesourcery.com>
9533
a7a93d50
JM
9534 [BZ #6911]
9535 * manual/macros.texi (gnusystems): New macro.
9536 (nongnusystems): Likewise.
9537 (gnulinuxhurdsystems): Likewise.
9538 (gnuhurdsystems): Likewise..
9539 (gnulinuxsystems): Likewise.
9540 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9541 variants of the GNU system, not "GNU system".
9542 * manual/conf.texi: Likewise.
9543 * manual/errno.texi: Likewise. Update example of errno macro
9544 expansion.
9545 * manual/filesys.texi: Likewise.
9546 (getumask): Document as specific to GNU/Hurd.
9547 * manual/install.texi: Likewise. Reword some references to
9548 GNU/Linux.
9549 * manual/intro.texi: Likewise.
9550 * manual/io.texi: Likewise.
9551 (File Name Portability): Detail which constraints are inapplicable
9552 to all GNU systems and which are only inapplicable to GNU/Hurd.
9553 * manual/job.texi: Likewise.
9554 * manual/llio.texi: Likewise.
9555 (O_NOCTTY): Document as present on GNU/Linux.
9556 * manual/maint.texi: Likewise.
9557 * manual/memory.texi: Likewise.
9558 * manual/pattern.texi: Likewise.
9559 * manual/pipe.texi: Likewise.
9560 * manual/process.texi: Likewise.
9561 * manual/resource.texi: Likewise.
9562 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9563 child on GNU/Hurd.
9564 * manual/setjmp.texi: Likewise.
9565 * manual/signal.texi: Likewise.
9566 * manual/startup.texi: Likewise.
9567 * manual/stdio.texi: Likewise.
9568 * manual/terminal.texi: Likewise.
9569 (ONLCR): Document as POSIX.
9570 (OXTABS): Document availability on GNU/Linux as XTABS.
9571 (ONOEOT): Document availability separately from other bits.
9572 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9573 * manual/time.texi: Likewise.
9574 * manual/users.texi: Likewise.
9575 * INSTALL: Regenerated.
9576 * sysdeps/gnu/errlist.c: Regenerated.
9577
07037eeb
JM
9578 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9579 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9580 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9581 puts.
9582 * configure: Regenerated.
9583
d1d3431a
JM
95842012-03-07 Joseph Myers <joseph@codesourcery.com>
9585
af6a1e37
JM
9586 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9587 default includes instead of AC_HEADER_CHECK.
9588 * sysdeps/i386/configure: Regenerated.
9589
d1d3431a
JM
9590 [BZ #10716]
9591 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9592 * math/s_cacoshf.c (__cacoshf): Likewise.
9593 * math/s_cacoshl.c (__cacoshl): Likewise.
9594 * math/s_casinh.c (__casinh): Set signs of result from argument.
9595 * math/s_casinhf.c (__casinhf): Likewise.
9596 * math/s_casinhl.c (__casinhl): Likewise.
9597 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9598 (casinh_test): Add more tests.
9599 * sysdeps/i386/fpu/libm-test-ulps: Update.
9600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9601
482ff4da
UD
96022012-03-07 Ulrich Drepper <drepper@gmail.com>
9603
872fda05
UD
9604 * po/zh_TW.po: Update from translation team.
9605
a4300c7a
UD
9606 * login/Makefile (distribute): Remove variable.
9607 * catgets/Makefile: Likewise.
9608 * mach/Makefile: Likewise.
9609 * malloc/Makefile: Likewise.
9610 * misc/Makefile: Likewise.
9611 * iconv/Makefile: Likewise.
9612 * nscd/Makefile: Likewise.
9613 * hurd/Makefile: Likewise.
9614 * manual/Makefile: Likewise.
9615 * locale/Makefile: Likewise.
9616 * intl/Makefile: Likewise.
9617 * conform/Makefile: Likewise.
9618 * nss/Makefile: Likewise.
9619 * time/Makefile: Likewise.
9620 * soft-fp/Makefile: Likewise.
9621 * dirent/Makefile: Likewise.
9622 * gmon/Makefile: Likewise.
9623 * po/Makefile: Likewise.
9624 * rt/Makefile: Likewise.
9625 * socket/Makefile: Likewise.
9626 * math/Makefile: Likewise.
9627 * signal/Makefile: Likewise.
9628 * debug/Makefile: Likewise.
9629 * elf/Makefile: Likewise.
9630 * timezone/Makefile: Likewise.
9631 * stdlib/Makefile: Likewise.
9632 * iconvdata/Makefile: Likewise.
9633 * sunrpc/Makefile: Likewise.
9634 * io/Makefile: Likewise.
9635 * argp/Makefile: Likewise.
9636 * inet/Makefile: Likewise.
9637 * hesiod/Makefile: Likewise.
9638 * grp/Makefile: Likewise.
9639 * csu/Makefile: Likewise.
9640 * wctype/Makefile: Likewise.
9641 * crypt/Makefile: Likewise.
9642 * libio/Makefile: Likewise.
9643 * string/Makefile: Likewise.
9644 * nis/Makefile: Likewise.
9645 * resolv/Makefile: Likewise.
9646 * stdio-common/Makefile: Likewise.
9647 * wcsmbs/Makefile: Likewise.
9648 * dlfcn/Makefile: Likewise.
9649 * posix/Makefile: Likewise.
9650
3b7c4e74 9651 [BZ #6959]
482ff4da
UD
9652 * timezone/Makefile: Don't install timezone files, just the programs
9653 and scripts.
9654
f72ed77d
UD
96552012-03-06 Ulrich Drepper <drepper@gmail.com>
9656
a000466f
UD
9657 * nss/databases.def: Add missing gshadow entry.
9658
f72ed77d
UD
9659 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9660
a53b7a4e
MP
96612012-03-06 Marek Polacek <polacek@redhat.com>
9662
9663 [BZ #13726]
9664 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9665 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9666 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9667 * stdio-common/tst-long-dbl-fphex.c: New file.
9668
e9258400
DM
96692012-03-06 David S. Miller <davem@davemloft.net>
9670
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9672 (set_obp_int): New function.
9673 (get_obp_int): New function.
9674 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9676 Avoid unused variable warnings on 'val' and use builtin_expect.
9677 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9678 __builtin_expect.
e9258400
DM
9679 (INLINE_CLONE_SYSCALL): Likewise.
9680
3bd2c723
DM
96812012-03-05 David S. Miller <davem@davemloft.net>
9682
9683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9684
bbb78d03
AS
96852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9686
884c5db4
AS
9687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9688
bbb78d03
AS
9689 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9690 only for |x| >= 40.
9691 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9692
1c9f702a 96932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9694
9695 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9696 Replace gettimeofday with __vdso_gettimeofday.
9697
7be16f82
RM
9698 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9699 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9700 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9701
9702 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9703 time with __vdso_time.
9704
ed58a00f
JM
97052012-03-05 Joseph Myers <joseph@codesourcery.com>
9706
9707 * manual/lang.texi (size_t): Note types to which size_t may be
9708 equivalent with the GNU C Library, but do not describe when
9709 differences between them are significant.
9710
30ee4ced
AJ
97112012-03-05 Andreas Jaeger <aj@suse.de>
9712
9713 * sysdeps/i386/fpu/libm-test-ulps: Update.
9714
b7cd39e8
JM
97152012-03-05 Joseph Myers <joseph@codesourcery.com>
9716
9717 [BZ #3976]
9718 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9719 (__ieee754_pow): Save and restore rounding mode and use
9720 round-to-nearest for main computations.
9721 * math/libm-test.inc (pow_test_tonearest): New function.
9722 (pow_test_towardzero): Likewise.
9723 (pow_test_downward): Likewise.
9724 (pow_test_upward): Likewise.
9725 (main): Call the new functions.
9726 * sysdeps/i386/fpu/libm-test-ulps: Update.
9727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9728
9729 [BZ #3976]
9730 * math/libm-test.inc (cosh_test_tonearest): New function.
9731 (cosh_test_towardzero): Likewise.
9732 (cosh_test_downward): Likewise.
9733 (cosh_test_upward): Likewise.
9734 (sinh_test_tonearest): Likewise.
9735 (sinh_test_towardzero): Likewise.
9736 (sinh_test_downward): Likewise.
9737 (sinh_test_upward): Likewise.
9738 (main): Call the new functions.
9739 * sysdeps/i386/fpu/libm-test-ulps: Update.
9740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9741
6c6a98c9
TV
97422012-03-05 Tom de Vries <tom@codesourcery.com>
9743
9744 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9745 default stack guard is set in last bytes.
9746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9747
21bb2d2e 97482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9749
21bb2d2e 9750 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9751
21bb2d2e
AJ
9752 [BZ #13656]
9753 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9754 possibly allocate from heap instead of stack.
9755 * stdio-common/bug-vfprintf-nargs.c: New file.
9756 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9757
c6922934
AS
97582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9759
9760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9761
bc957d53
MP
97622012-03-03 Marek Polacek <polacek@redhat.com>
9763
9764 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9765 * math/math_private.h: Likewise.
9766 * stdlib/tst-strtod.c: Likewise.
9767 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9768 * sysdeps/x86_64/bits/atomic.h: Likewise.
9769
6358490d
DM
97702012-03-02 David S. Miller <davem@davemloft.net>
9771
9772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9776 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9777 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9778 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9779 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9780
01ae168d
RM
97812012-03-02 Roland McGrath <roland@hack.frob.com>
9782
d9a17c07
RM
9783 [BZ #13792]
9784 * manual/examples/README: New file, says the example source files
9785 can be used under GPL>=2.
9786 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9787 line containing just "*/".
9788 * manual/examples/add.c: Add copyright header (GPL>=2).
9789 * manual/examples/argp-ex1.c: Likewise.
9790 * manual/examples/argp-ex2.c: Likewise.
9791 * manual/examples/argp-ex3.c: Likewise.
9792 * manual/examples/argp-ex4.c: Likewise.
9793 * manual/examples/atexit.c: Likewise.
9794 * manual/examples/db.c: Likewise.
9795 * manual/examples/dir.c: Likewise.
9796 * manual/examples/dir2.c: Likewise.
9797 * manual/examples/execinfo.c: Likewise.
9798 * manual/examples/filecli.c: Likewise.
9799 * manual/examples/filesrv.c: Likewise.
9800 * manual/examples/fmtmsgexpl.c: Likewise.
9801 * manual/examples/genpass.c: Likewise.
9802 * manual/examples/inetcli.c: Likewise.
9803 * manual/examples/inetsrv.c: Likewise.
9804 * manual/examples/isockad.c: Likewise.
9805 * manual/examples/longopt.c: Likewise.
9806 * manual/examples/memopen.c: Likewise.
9807 * manual/examples/memstrm.c: Likewise.
9808 * manual/examples/mkfsock.c: Likewise.
9809 * manual/examples/mkisock.c: Likewise.
9810 * manual/examples/mygetpass.c: Likewise.
9811 * manual/examples/pipe.c: Likewise.
9812 * manual/examples/popen.c: Likewise.
9813 * manual/examples/rprintf.c: Likewise.
9814 * manual/examples/search.c: Likewise.
9815 * manual/examples/select.c: Likewise.
9816 * manual/examples/setjmp.c: Likewise.
9817 * manual/examples/sigh1.c: Likewise.
9818 * manual/examples/sigusr.c: Likewise.
9819 * manual/examples/stpcpy.c: Likewise.
9820 * manual/examples/strdupa.c: Likewise.
9821 * manual/examples/strftim.c: Likewise.
9822 * manual/examples/strncat.c: Likewise.
9823 * manual/examples/subopt.c: Likewise.
9824 * manual/examples/swapcontext.c: Likewise.
9825 * manual/examples/termios.c: Likewise.
9826 * manual/examples/testopt.c: Likewise.
9827 * manual/examples/testpass.c: Likewise.
9828 * manual/examples/timeval_subtract.c: Likewise.
9829
01ae168d
RM
9830 [BZ #13792]
9831 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9832 function to ...
9833 * manual/timeval_subtract.c.texi: ... here, new file.
9834
49efa33d
DM
98352012-03-02 David S. Miller <davem@davemloft.net>
9836
9837 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9838
28afd92d
JM
98392012-03-02 Joseph Myers <joseph@codesourcery.com>
9840
804360ed
JM
9841 [BZ #3976]
9842 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9843 (__sin): Save and restore rounding mode and use round-to-nearest
9844 for all computations.
9845 (__cos): Save and restore rounding mode and use round-to-nearest
9846 for all computations.
9847 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9848 <fenv.h>.
9849 (tan): Save and restore rounding mode and use round-to-nearest for
9850 all computations.
9851 * math/libm-test.inc (cos_test_tonearest): New function.
9852 (cos_test_towardzero): Likewise.
9853 (cos_test_downward): Likewise.
9854 (cos_test_upward): Likewise.
9855 (sin_test_tonearest): Likewise.
9856 (sin_test_towardzero): Likewise.
9857 (sin_test_downward): Likewise.
9858 (sin_test_upward): Likewise.
9859 (tan_test_tonearest): Likewise.
9860 (tan_test_towardzero): Likewise.
9861 (tan_test_downward): Likewise.
9862 (tan_test_upward): Likewise.
9863 (main): Call the new functions.
9864 * sysdeps/i386/fpu/libm-test-ulps: Update.
9865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9866
a6d06d7b
JM
9867 [BZ #10135]
9868 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9869 small n, then large n, before computing and testing k+n.
9870 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9872 Likewise.
9873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9874 Likewise.
9875 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9876 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9877 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9878 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9881 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9882 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9883 * math/libm-test.inc (scalbn_test): Add more tests.
9884 (scalbln_test): Likewise.
9885
07e12bb3
JM
9886 * manual/filesys.texi (mode_t): Describe constraints on size and
9887 signedness, not exact equivalence to a particular type.
9888 (ino_t): Likewise.
9889 (ino64_t): Likewise.
9890 (dev_t): Likewise.
9891 (nlink_t): Likewise.
9892 (blkcnt_t): Likewise.
9893 (blkcnt64_t): Likewise.
9894 * manual/llio.texi (off_t): Likewise.
9895
28afd92d
JM
9896 [BZ #3976]
9897 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9898 (__ieee754_exp): Save and restore rounding mode and use
9899 round-to-nearest for all computations.
9900 * math/libm-test.inc (exp_test_tonearest): New function.
9901 (exp_test_towardzero): Likewise.
9902 (exp_test_downward): Likewise.
9903 (exp_test_upward): Likewise.
9904 (main): Call the new functions.
9905 * sysdeps/i386/fpu/libm-test-ulps: Update.
9906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9907
b1eeb65d
CD
99082012-03-01 Chris Demetriou <cgd@google.com>
9909
9910 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9911 have predictable order.
9912
53362a4b
DM
99132012-03-01 David S. Miller <davem@davemloft.net>
9914
3c969083
DM
9915 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9916
759707de
DM
9917 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9918 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9919 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9920 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9921
dfdb8ff2
DM
9922 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9923 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9924 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9926 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9927 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9928 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9929 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9930 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9931
ead89f96
DM
9932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9933
7f66bd07
DM
9934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9935 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9936 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9937
53362a4b
DM
9938 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9939 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9940 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9941 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9942 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9945 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9946 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9947 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9948 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9949 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9951 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9952 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9954 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9955 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9956 * sysdeps/sparc/elf/configure: Regenerated.
9957
7b1902cb
JM
99582012-03-01 Joseph Myers <joseph@codesourcery.com>
9959
bec039bc
JM
9960 * configure.in (AS, LD): Require binutils 2.20 or later.
9961 * configure: Regenerated.
9962 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9963 as required minimum version.
9964 * INSTALL: Regenerated.
9965
7b1902cb
JM
9966 [BZ #2541]
9967 [BZ #4108]
9968 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9969 before squaring exponent.
9970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9971 bottom long double and 27 bits of top long double before squaring
9972 exponent.
9973 * math/libm-test.inc (erfc_test): Add more tests.
9974 * sysdeps/i386/fpu/libm-test-ulps: Update.
9975 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9977
f775c276
KT
99782012-03-01 Kai Tietz <ktietz@redhat.com>
9979
9980 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9981 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9982 containing bit-fields.
9983 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9984 * soft-fp/single.h (_FP_UNION_S): Likewise.
9985 * soft-fp/double.h (_FP_UNION_D): Likewise.
9986
5b8a4d4a
JM
99872012-02-29 Joseph Myers <joseph@codesourcery.com>
9988
0bab47b6
JM
9989 [BZ #13786]
9990 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9991 not include ../strcmp.S.
9992 [USE_AS_STRNCASECMP_L]: Likewise.
9993 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9994 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9995 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9996 (__strncasecmp_l_ia32): Define as alias to
9997 __strncasecmp_l_nonascii.
9998
0fcad3e2
JM
9999 [BZ #5794]
10000 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10001 * sysdeps/i386/fpu/libm-test-ulps: Update.
10002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10003
5b8a4d4a
JM
10004 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10006
8fdceb2e
JL
100072012-02-29 Jeff Law <law@redhat.com>
10008
10009 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10010 out of bounds read.
10011
1f393a11
MP
100122012-02-29 Marek Polacek <polacek@redhat.com>
10013
10014 [BZ #13706]
10015 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10016 * elf/Makefile: Add rules to run tst-unused-dep.out.
10017
8847f037
DM
100182012-02-28 David S. Miller <davem@davemloft.net>
10019
10020 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10021 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10023 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10024 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10025 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10026
169d7f11
JM
100272012-02-29 Joseph Myers <joseph@codesourcery.com>
10028
10029 * math/libm-test.inc (llround_test): Move one test from
10030 lround_test. Use TEST_f_L in moved test.
10031 (lround_test): Move misplaced test to llround_test. Add testcase
10032 from bug 2561.
10033
39adf059
UD
100342012-02-28 Ulrich Drepper <drepper@gmail.com>
10035
10036 * sysdeps/x86_64/fpu/e_expf.S: New file.
10037 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10038
71b5d1c5
SB
100392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10040
10041 [BZ #13637]
10042 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10043 of remain_len that may cause incomplete multi-byte character and
10044 false match.
10045 * posix/bug-regex33.c: New file.
10046 * posix/Makefile (tests): Add bug-regex33.
10047
1f77f049
JM
100482012-02-28 Joseph Myers <joseph@codesourcery.com>
10049
10050 * manual/macros.texi: New file.
10051 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10052 * manual/libc.texinfo: Include macros.texi.
10053 * manual/creatute.texi: Likewise.
10054 * manual/install.texi: Likewise.
10055 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10056 @glibcadj{} in references to the GNU C Library.
10057 * manual/charset.texi: Likewise.
10058 * manual/conf.texi: Likewise.
10059 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10060 when not using those macros.
10061 * manual/creature.texi: Likewise.
10062 * manual/crypt.texi: Likewise.
10063 * manual/errno.texi: Likewise.
10064 * manual/filesys.texi: Likewise.
10065 * manual/header.texi: Likewise.
10066 * manual/install.texi: Likewise.
10067 * manual/intro.texi: Likewise.
10068 * manual/io.texi: Likewise.
10069 * manual/job.texi: Likewise.
10070 * manual/lang.texi: Likewise.
10071 * manual/libc.texiinfo: Likewise.
10072 * manual/llio.texi: Likewise.
10073 * manual/locale.texi: Likewise.
10074 * manual/maint.texi: Likewise.
10075 * manual/math.texi: Likewise.
10076 * manual/memory.texi: Likewise.
10077 * manual/message.texi: Likewise.
10078 * manual/nss.texi: Likewise.
10079 * manual/pattern.texi: Likewise.
10080 * manual/process.texi: Likewise.
10081 * manual/resource.texi: Likewise.
10082 * manual/search.texi: Likewise.
10083 * manual/setjmp.texi: Likewise.
10084 * manual/signal.texi: Likewise.
10085 * manual/socket.texi: Likewise.
10086 * manual/startup.texi: Likewise.
10087 * manual/stdio.texi: Likewise.
10088 * manual/string.texi: Likewise.
10089 * manual/sysinfo.texi: Likewise.
10090 * manual/syslog.texi: Likewise.
10091 * manual/terminal.texi: Likewise.
10092 * manual/time.texi: Likewise.
10093 * manual/users.texi: Likewise.
10094 * INSTALL: Regenerated.
10095 * NOTES: Regenerated.
d40c5d54 10096 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10097
450bf206
AS
100982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10099
10100 * include/dirent.h: Include <dirstream.h> before
10101 <dirent/dirent.h>.
10102
741a235b
DM
101032012-02-28 David S. Miller <davem@davemloft.net>
10104
10105 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10106 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10107 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10108 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10109
d6b5aa58
DM
101102012-02-27 David S. Miller <davem@davemloft.net>
10111
1aff59a3
DM
10112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10114 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10115 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10116
d6b5aa58
DM
10117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10118 frame pointer instead of stack pointer relative arg slot.
10119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10120 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10121 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10122
433f48bf
CD
101232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10124
10125 [BZ #3992]
10126 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10127
d674b76d
DM
101282012-02-27 David S. Miller <davem@davemloft.net>
10129
10130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10134 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10135 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10136 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10137 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10138
0e7727f7
JM
101392012-02-27 Joseph Myers <joseph@codesourcery.com>
10140
10141 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10142 later. Allow versions 5-9.
43be4ca2 10143 * configure: Regenerated.
0e7727f7
JM
10144 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10145 required minimum version and 4.6 as recommended version. Do not
10146 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10147 * INSTALL: Regenerated.
0e7727f7 10148
a78bc654
DM
101492012-02-27 David S. Miller <davem@davemloft.net>
10150
428d5830
DM
10151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10155 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10156 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10157 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10158 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10159
a78bc654
DM
10160 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10161 manipulate bits before adding and subtracting TWO112[sx].
10162 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10163
4579f81c
RM
101642012-02-27 Roland McGrath <roland@hack.frob.com>
10165
36c8acb4
RM
10166 [BZ #13775]
10167 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10168 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10169 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10170 being in POSIX, because they are in 1003.1-2008.
10171
84ad622b
RM
10172 * rt/tst-aio.c: Include <fcntl.h>.
10173 * rt/tst-aio7.c: Likewise.
10174 * rt/tst-aio64.c: Likewise.
10175
4579f81c
RM
10176 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10177
abd923db
JM
101782012-02-27 Joseph Myers <joseph@codesourcery.com>
10179
10180 * manual/install.texi (--with-headers): Describe headers as
10181 interface headers, not private headers.
10182 (Specific advice for GNU/Linux systems): Describe use of headers
10183 from "make headers_install", not private headers from older
10184 kernels.
43be4ca2 10185 * INSTALL: Regenerated.
abd923db
JM
10186 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10187 Change to 2.6.19.
10188 * sysdeps/unix/sysv/linux/configure: Regenerated.
10189
6664049b
JM
10190 * manual/llio.texi (fclean): Remove documentation.
10191
bb8b6697
JM
10192 * manual/Makefile (libc-texi-generated): New variable. Include
10193 version.texi.
10194 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10195 $(libc-texi-generated), not duplicated list of files.
10196 (version.texi, stamp-version): New rules.
10197 (realclean): Remove $(libc-texi-generated), not individual files
10198 from that list. Do not remove dir-add.texinfo.
10199 * manual/libc.texinfo: Comment out uses of edition numbers and
10200 references to printed manual. Remove last-updated dates.
10201 (EDITION): Comment out.
10202 (ISBN): Likewise.
10203 (VERSION, UPDATED): Remove.
10204 (version.texi): Include.
10205
12e5c3b9
AS
102062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10207
10208 * sysdeps/posix/spawni.c: Include <signal.h>.
10209 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10210 * sysdeps/pthread/aio_fsync.c: Likewise.
10211
4efeffc1 102122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10213
ba63ba08
UD
10214 * conform/Makefile (tests): Run only when not cross-compiling and
10215 when fast-check is not defined.
10216
d94a4670
UD
10217 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10218 * conform/data/limits.h-data: Fixes for POSIX2008.
10219 * conform/run-conformtest.sh: Run all tests.
10220 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10221 headers.
10222 * include/bits/dlfcn.h: Likewise.
10223 * include/langinfo.h: Likewise.
10224 * include/monetary.h: Likewise.
10225 * include/sys/poll.h: Likewise.
10226
10227 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10228 for __USE_GNU.
10229 * posix/spawn.h: Define __need_sigset_t.
10230 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10231 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10232 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10233 to get sigevent_t only.
10234 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10235 only for __USE_GNU.
10236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10237 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10238 process_vm_writev only for __USE_GNU.
10239 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10240
10241 * conform/Makefile: For now ignore errors from run-conformtest.
10242 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10243 POSIX to avoid namespace pollution. Don't prepend headers.
10244 * conform/data/aio.h-data: Fixes for POSIX testing.
10245 * conform/data/fcntl.h-data: Likewise.
10246 * conform/data/glob.h-data: Likewise.
10247 * conform/data/grp.h-data: Likewise.
10248 * conform/data/pthread.h-data: Likewise.
10249 * conform/data/pwd.h-data: Likewise.
10250 * conform/data/signal.h-data: Likewise.
10251 * conform/data/spawn.h-data: Likewise.
10252 * conform/data/stdio.h-data: Likewise.
10253 * conform/data/stdlib.h-data: Likewise.
10254 * conform/data/stropts.h-data: Likewise.
10255 * conform/data/sys/mman.h-data: Likewise.
10256 * conform/data/sys/stat.h-data: Likewise.
10257 * conform/data/sys/types.h-data: Likewise.
10258 * conform/data/sys/wait.h-data: Likewise.
10259 * conform/data/time.h-data: Likewise.
10260 * conform/data/unistd.h-data: Likewise.
10261 * conform/data/utime.h-data: Likewise.
10262
10263 * io/sys/stat.h: fchmod was always in POSIX.
10264 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10265 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10266 * rt/aio.h: Define __need_timespec before including <time.h>.
10267 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10268 struct. Add forward declaration of pthread_attr_t and use it in
10269 sigevent.
10270 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10272 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10273 always remove CLK_TCK definition.
10274
c20105c3
AS
102752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10276
10277 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10278
7a270350
UD
102792012-02-25 Ulrich Drepper <drepper@gmail.com>
10280
31341567
UD
10281 * conform/run-conformtest.sh: New file.
10282 * conform/Makefile: Run run-conformtest for tests.
10283 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10284 support.
10285
10286 * conform/data/uchar.h-data: New file.
10287 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10288 * conform/data/arpa/inet.h-data: Likewise.
10289 * conform/data/assert.h-data: Likewise.
10290 * conform/data/complex.h-data: Likewise.
10291 * conform/data/cpio.h-data: Likewise.
10292 * conform/data/ctype.h-data: Likewise.
10293 * conform/data/dirent.h-data: Likewise.
10294 * conform/data/dlfcn.h-data: Likewise.
10295 * conform/data/errno.h-data: Likewise.
10296 * conform/data/fcntl.h-data: Likewise.
10297 * conform/data/float.h-data: Likewise.
10298 * conform/data/fmtmsg.h-data: Likewise.
10299 * conform/data/fnmatch.h-data: Likewise.
10300 * conform/data/ftw.h-data: Likewise.
10301 * conform/data/glob.h-data: Likewise.
10302 * conform/data/grp.h-data: Likewise.
10303 * conform/data/iconv.h-data: Likewise.
10304 * conform/data/inttypes.h-data: Likewise.
10305 * conform/data/langinfo.h-data: Likewise.
10306 * conform/data/libgen.h-data: Likewise.
10307 * conform/data/limits.h-data: Likewise.
10308 * conform/data/locale.h-data: Likewise.
10309 * conform/data/math.h-data: Likewise.
10310 * conform/data/monetary.h-data: Likewise.
10311 * conform/data/mqueue.h-data: Likewise.
10312 * conform/data/ndbm.h-data: Likewise.
10313 * conform/data/net/if.h-data: Likewise.
10314 * conform/data/netdb.h-data: Likewise.
10315 * conform/data/netinet/in.h-data: Likewise.
10316 * conform/data/nl_types.h-data: Likewise.
10317 * conform/data/poll.h-data: Likewise.
10318 * conform/data/pthread.h-data: Likewise.
10319 * conform/data/pwd.h-data: Likewise.
10320 * conform/data/regex.h-data: Likewise.
10321 * conform/data/sched.h-data: Likewise.
10322 * conform/data/search.h-data: Likewise.
10323 * conform/data/semaphore.h-data: Likewise.
10324 * conform/data/setjmp.h-data: Likewise.
10325 * conform/data/signal.h-data: Likewise.
10326 * conform/data/spawn.h-data: Likewise.
10327 * conform/data/stdarg.h-data: Likewise.
10328 * conform/data/stdio.h-data: Likewise.
10329 * conform/data/stdlib.h-data: Likewise.
10330 * conform/data/string.h-data: Likewise.
10331 * conform/data/strings.h-data: Likewise.
10332 * conform/data/stropts.h-data: Likewise.
10333 * conform/data/sys/ipc.h-data: Likewise.
10334 * conform/data/sys/mman.h-data: Likewise.
10335 * conform/data/sys/msg.h-data: Likewise.
10336 * conform/data/sys/resource.h-data: Likewise.
10337 * conform/data/sys/select.h-data: Likewise.
10338 * conform/data/sys/sem.h-data: Likewise.
10339 * conform/data/sys/shm.h-data: Likewise.
10340 * conform/data/sys/socket.h-data: Likewise.
10341 * conform/data/sys/stat.h-data: Likewise.
10342 * conform/data/sys/statvfs.h-data: Likewise.
10343 * conform/data/sys/time.h-data: Likewise.
10344 * conform/data/sys/timeb.h-data: Likewise.
10345 * conform/data/sys/times.h-data: Likewise.
10346 * conform/data/sys/types.h-data: Likewise.
10347 * conform/data/sys/uio.h-data: Likewise.
10348 * conform/data/sys/un.h-data: Likewise.
10349 * conform/data/sys/utsname.h-data: Likewise.
10350 * conform/data/sys/wait.h-data: Likewise.
10351 * conform/data/syslog.h-data: Likewise.
10352 * conform/data/tar.h-data: Likewise.
10353 * conform/data/termios.h-data: Likewise.
10354 * conform/data/utime.h-data: Likewise.
10355 * conform/data/utmpx.h-data: Likewise.
10356 * conform/data/varargs.h-data: Likewise.
10357 * conform/data/wchar.h-data: Likewise.
10358 * conform/data/wctype.h-data: Likewise.
10359 * conform/data/wordexp.h-data: Likewise.
10360
10361 * include/stropts.h: New file.
10362 * include/uchar.h: New file.
10363 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10364 * include/assert.h: Likewise.
10365 * include/ctype.h: Likewise.
10366 * include/dirent.h: Likewise.
10367 * include/dlfcn.h: Likewise.
10368 * include/fcntl.h: Likewise.
10369 * include/fnmatch.h: Likewise.
10370 * include/glob.h: Likewise.
10371 * include/grp.h: Likewise.
10372 * include/libio.h: Likewise.
10373 * include/locale.h: Likewise.
10374 * include/math.h: Likewise.
10375 * include/net/if.h: Likewise.
10376 * include/netdb.h: Likewise.
10377 * include/netinet/in.h: Likewise.
10378 * include/pthread.h: Likewise.
10379 * include/pwd.h: Likewise.
10380 * include/regex.h: Likewise.
10381 * include/sched.h: Likewise.
10382 * include/search.h: Likewise.
10383 * include/setjmp.h: Likewise.
10384 * include/signal.h: Likewise.
10385 * include/stdio.h: Likewise.
10386 * include/stdlib.h: Likewise.
10387 * include/string.h: Likewise.
10388 * include/sys/cdefs.h: Likewise.
10389 * include/sys/mman.h: Likewise.
10390 * include/sys/msg.h: Likewise.
10391 * include/sys/resource.h: Likewise.
10392 * include/sys/select.h: Likewise.
10393 * include/sys/socket.h: Likewise.
10394 * include/sys/stat.h: Likewise.
10395 * include/sys/statvfs.h: Likewise.
10396 * include/sys/time.h: Likewise.
10397 * include/sys/times.h: Likewise.
10398 * include/sys/uio.h: Likewise.
10399 * include/sys/utsname.h: Likewise.
10400 * include/sys/wait.h: Likewise.
10401 * include/termios.h: Likewise.
10402 * include/time.h: Likewise.
10403 * include/ulimit.h: Likewise.
10404 * include/unistd.h: Likewise.
10405 * include/utime.h: Likewise.
10406 * include/wchar.h: Likewise.
10407 * include/wctype.h: Likewise.
10408 * include/wordexp.h: Likewise.
10409
10410 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10411
7a270350
UD
10412 * time/time.h: TIME_UTC must be a macro.
10413 Make timespec_get available for ISO C11 only as well.
10414
7724defc
UD
104152012-02-24 Ulrich Drepper <drepper@gmail.com>
10416
10417 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10418 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10419
6b1d1d46
JM
104202012-02-24 Joseph Myers <joseph@codesourcery.com>
10421
10422 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10423
0f8bbd69
JM
104242012-02-24 Joseph Myers <joseph@codesourcery.com>
10425
10426 * manual/texinfo.tex: Update to version 2012-01-19.16.
10427
66ab80bc
JM
104282012-02-24 Joseph Myers <joseph@codesourcery.com>
10429
10430 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10431
74981cc5
RM
104322012-02-24 Roland McGrath <roland@hack.frob.com>
10433
ee968201
RM
10434 [BZ #13738]
10435 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10436 * manual/fdl-1.3.texi: New file.
10437 * manual/fdl-1.1.texi: File removed.
10438
74981cc5
RM
10439 [BZ #13738]
10440 * manual/libc.texinfo (FDL_VERSION): New @set.
10441 Use it for mention of FDL in cover text.
10442 (Documentation License): Use it in @include file name.
10443
7bb764bc
JM
104442012-02-22 Joseph Myers <joseph@codesourcery.com>
10445 Roland McGrath <roland@hack.frob.com>
10446
10447 [BZ #5461]
10448 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10449 not LONG_LONG_MAX and LONG_LONG_MIN.
10450 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10451 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10452 name.
10453 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10454
6cbeae47
JM
104552012-02-22 Joseph Myers <joseph@codesourcery.com>
10456
10457 [BZ #2547]
10458 [BZ #11365]
10459 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10460 manipulate bits before adding and subtracting TWO23[sx].
10461 * math/libm-test.inc (nearbyint_test): Add more tests.
10462
fe45ce09
JM
104632012-02-22 Joseph Myers <joseph@codesourcery.com>
10464
10465 [BZ #2548]
10466 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10467 bits before adding and subtracting TWO23[sx].
10468 * math/libm-test.inc (rint_test): Add more tests.
10469 (rint_test_tonearest): Likewise.
10470 (rint_test_towardzero): Likewise.
10471 (rint_test_downward): Likewise.
10472 (rint_test_upward: Likewise.
10473
ff3b3d82
JM
104742012-02-22 Joseph Myers <joseph@codesourcery.com>
10475
10476 [BZ #10110]
10477 * include/stdc-predef.h: New file. Extracted from features.h.
10478 * include/features.h: Include stdc-predef.h.
10479 * Makefile (headers): Add stdc-predef.h.
10480 * CONFORMANCE (Compiler limitations): Update.
10481
ef0aab35
JM
104822012-02-22 Joseph Myers <joseph@codesourcery.com>
10483
10484 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10485
58639409
DM
104862012-02-21 David S. Miller <davem@davemloft.net>
10487
10488 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10489 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10490
c0e70b25
DM
104912012-02-20 David S. Miller <davem@davemloft.net>
10492
10493 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10494 using a normal save/restore sequence, rather than allocating a
10495 dummy stack frame just to store a frame pointer and restore.
10496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10497
fb06851d
JM
104982012-02-21 Joseph Myers <joseph@codesourcery.com>
10499
10500 * manual/install.texi: Fix stray word in line-wrapped comment.
10501
7a8b71c3
DM
105022012-02-20 David S. Miller <davem@davemloft.net>
10503
d510c123
DM
10504 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10505 both binutils and gcc support GOTDATA.
10506
0722d7c2
DM
10507 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10508 "rd %pc" in the PIC register setup sequences.
10509
3d2b3019
DM
10510 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10511 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10512 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10513 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10514 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10517 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10519 (SYSCALL_ERROR_HANDLER): Likewise.
10520 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10521 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10523 (SYSCALL_ERROR_HANDLER): Likewise.
10524
c80098a9
DM
10525 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10526 (HAVE_GCC_GOTDATA): New.
10527 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10528 relocation support in both binutils and gcc.
10529 * sysdeps/sparc/elf/configure: Regenerate.
10530
3a2545a0
DM
10531 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10532 * sysdeps/sparc/sparc32/elf/configure: Delete.
10533 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10534 * sysdeps/sparc/sparc64/elf/configure: Delete.
10535 * sysdeps/sparc/elf/configure.in: New file.
10536 * sysdeps/sparc/elf/configure: Generate.
10537
7a8b71c3
DM
10538 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10539 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10540 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10541 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10542 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10543
f1e86fca
JM
105442012-02-21 Joseph Myers <joseph@codesourcery.com>
10545
10546 * manual/install.texi: Do not mention specific glibc version
10547 numbers.
10548 * manual/libc.texinfo (VERSION, UPDATED): Update.
10549 (@copying): Use @copyright{} and range of years.
10550
0e7dfaef
JM
105512012-02-21 Joseph Myers <joseph@codesourcery.com>
10552
10553 [BZ #13695]
10554 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10555 [crti.S not in sysdirs] (generated): Do not append.
10556 [crti.S not in sysdirs] (omit-deps): Likewise.
10557 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10558 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10559 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10560 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10561 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10562 Likewise.
10563 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10564 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10565 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10566 * csu/defs.awk: Remove file.
10567 * sysdeps/generic/initfini.c: Likewise.
10568 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10569 variable.
10570 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10571 Likewise.
10572
599af3ca
JM
105732012-02-20 Joseph Myers <joseph@codesourcery.com>
10574
10575 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10576 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10577 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10578 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10580 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10581 <bits/epoll.h>.
10582 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10583 (__EPOLL_PACKED): Define to empty if not defined by
10584 <bits/epoll.h>.
10585 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10587 bits/epoll.h.
10588
0e499750
JM
105892012-02-20 Joseph Myers <joseph@codesourcery.com>
10590
10591 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10592 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10593 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10594 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10595 <bits/timerfd.h>.
10596 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10598 bits/timerfd.h.
10599
5ad91f6e
JM
106002012-02-20 Joseph Myers <joseph@codesourcery.com>
10601
10602 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10603 in C locale.
10604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10605 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10608
06b99b02
AJ
106092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10610
10611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10612 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10613
7638c0fd
AS
106142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10615
10616 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10617 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10618 defined.
10619 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10620 Likewise.
10621 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10622 entry for 2.16.
10623
92221550
AJ
106242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10625
10626 * math/w_acos.c: Use non-signaling floating-point comparisons.
10627 * math/w_acosf.c: Likewise.
10628 * math/w_acosh.c: Likewise.
10629 * math/w_acoshf.c: Likewise.
10630 * math/w_acoshl.c: Likewise.
10631 * math/w_acosl.c: Likewise.
10632 * math/w_asin.c: Likewise.
10633 * math/w_asinf.c: Likewise.
10634 * math/w_asinl.c: Likewise.
10635 * math/w_atanh.c: Likewise.
10636 * math/w_atanhf.c: Likewise.
10637 * math/w_atanhl.c: Likewise.
10638 * math/w_exp2.c: Likewise.
10639 * math/w_exp2f.c: Likewise.
10640 * math/w_exp2l.c: Likewise.
10641 * math/w_j0.c: Likewise.
10642 * math/w_j0f.c: Likewise.
10643 * math/w_j0l.c: Likewise.
10644 * math/w_j1.c: Likewise.
10645 * math/w_j1f.c: Likewise.
10646 * math/w_j1l.c: Likewise.
10647 * math/w_jn.c: Likewise.
10648 * math/w_jnf.c: Likewise.
10649 * math/w_log.c: Likewise.
10650 * math/w_log10.c: Likewise.
10651 * math/w_log10f.c: Likewise.
10652 * math/w_log10l.c: Likewise.
10653 * math/w_log2.c: Likewise.
10654 * math/w_log2f.c: Likewise.
10655 * math/w_log2l.c: Likewise.
10656 * math/w_logf.c: Likewise.
10657 * math/w_logl.c: Likewise.
10658 * math/w_sqrt.c: Likewise.
10659 * math/w_sqrtf.c: Likewise.
10660 * math/w_sqrtl.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10663 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10664 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10665 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10666
ebaf36eb
JM
106672012-02-19 Joseph Myers <joseph@codesourcery.com>
10668
10669 [BZ #9739]
10670 * manual/string.texi (strnlen): Use correct parameter name in
10671 equivalent expression.
10672
71c254a6
JM
106732012-02-19 Joseph Myers <joseph@codesourcery.com>
10674
10675 [BZ #11174]
10676 * manual/users.texi (seteuid): Consistently use neweuid for
10677 argument name.
10678
16d2c631
JM
106792012-02-19 Joseph Myers <joseph@codesourcery.com>
10680
10681 [BZ #13704]
10682 * manual/nss.texi (Services in the NSS configuration): Correct
10683 list of services in example configuration file.
10684
cd837b09
NB
106852012-02-19 Nick Bowler <nbowler@draconx.ca>
10686
10687 [BZ #11322]
10688 * manual/arith.texi: Remove statements about negative zero
10689 behaving identically to zero.
10690
02c4bbad
JM
106912012-02-18 Joseph Myers <joseph@codesourcery.com>
10692
10693 [BZ #5993]
10694 * manual/install.texi: Do not document upgrading from libc5.
10695
366842e7
JM
106962012-02-18 Joseph Myers <joseph@codesourcery.com>
10697
10698 [BZ #4596]
10699 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10700
dd54084d
DM
107012012-02-18 David S. Miller <davem@davemloft.net>
10702
10703 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10704 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10705 %o7 across the call.
10706 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10707 instead.
10708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10709 SETUP_PIC_REG_LEAF.
10710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10711 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10712 * sysdeps/sparc/crtn.S: Likewise.
10713
2bcc53a3
UD
107142012-02-17 Ulrich Drepper <drepper@gmail.com>
10715
10716 * aout/Makefile: Remove.
10717
09c093b5
RK
107182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10719
10720 [BZ #13058]
10721 * manual/examples/argp-ex1.c (main): Format definition in GNU
10722 style.
10723 * manual/examples/argp-ex2.c (main): Likewise.
10724 * manual/examples/argp-ex3.c (main): Likewise.
10725 * manual/examples/argp-ex4.c (main): Likewise.
10726 * manual/examples/longopt.c (main): Use new-style prototype
10727 definition.
10728 * manual/examples/strncat.c (main): Specify return type and use
10729 (void) for arguments.
10730 * manual/examples/subopt.c (main): Use char **argv argument.
10731
2ee633a2
JM
107322012-02-17 Joseph Myers <joseph@codesourcery.com>
10733
10734 [BZ #5077]
10735 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10736 rounding modes.
10737
0520adde
FB
107382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10739
10740 [BZ #6907]
10741 * manual/string.texi (strchr): Change when strchrnul is
10742 recommended.
10743
3f4081cd
DGM
107442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10745
10746 [BZ #174]
10747 * manual/locale.texi (setlocale): Document LOCPATH.
10748
d1b10e78
JM
107492012-02-17 Joseph Myers <joseph@codesourcery.com>
10750
10751 [BZ #10210]
10752 * manual/process.texi (execle): Move @dots{} before last argument.
10753
79c6869c
PB
107542012-02-17 Paul Bolle <pebolle@tiscali.nl>
10755
10756 [BZ #12047]
10757 * manual/charset.texi (Generic Charset Conversion): Fix typo
10758 (LC_TYPE -> LC_CTYPE).
10759
cc6e48bc
NB
107602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10761
10762 [BZ #5805]
10763 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10764 (scalbnf): Likewise.
10765 (scalbnl): Likewise.
10766 (scalbln): Likewise.
10767 (scalblnf): Likewise.
10768 (scalblnl): Likewise.
10769 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10770 (vwarnx): Likewise.
10771 (verr): Likewise.
10772 (verrx): Likewise.
10773 * manual/filesys.texi (telldir): Use braces around return type.
10774 * manual/llio.texi (mmap): Add space after comma.
10775 (mmap64): Likewise.
10776 * manual/math.texi (jn): Use @var{} on parameter names.
10777 (jnf): Likewise.
10778 (jnl): Likewise.
10779 (yn): Likewise.
10780 (ynf): Likewise.
10781 (ynl): Likewise.
10782 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10783 line.
10784 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10785 "...".
10786 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10787 (sched_get_priority_max): Likewise.
10788 * manual/signal.texi (sigvec): Add space after comma.
10789 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10790 names.
10791 (if_indextoname): Likewise.
10792 (if_freenameindex): Likewise.
10793 (sendto): Use ',' instead of '.' in prototype.
10794 * manual/startup.texi (syscall): Use @dots{} instead of literal
10795 "...".
10796 * manual/stdio.texi (__fpending): Separate initial words of
10797 paragraph from @deftypefun line.
10798 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10799 "...".
10800 (vsyslog): Use @var{} on parameter names.
10801 * manual/terminal.texi (stty): Use @var{} on parameter names.
10802 * manual/users.texi (getutmp): Use @var{} on parameter names.
10803 (getutmpx): Likewise.
10804
5b23062f
JM
108052012-02-17 Joseph Myers <joseph@codesourcery.com>
10806
10807 [BZ #6884]
10808 * manual/stdio.texi (fopen): Fix typos in description of
10809 ",ccs=STRING".
10810
8dee4833
AJ
108112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10812
10813 [BZ #4026]
10814 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10815 get clock_id definition.
10816
9078ce93
TS
108172012-02-17 Thomas Schwinge <thomas@schwinge.name>
10818
10819 [BZ #4822]
10820 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10821 (madvise): Cast every argument to void on its own.
10822
3835c55f
JM
108232012-02-17 Joseph Myers <joseph@codesourcery.com>
10824
10825 [BZ #9902]
10826 * manual/startup.texi (Exit Status): Fix typo.
10827
35c47e37
JM
108282012-02-17 Joseph Myers <joseph@codesourcery.com>
10829
10830 [BZ #10140]
10831 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10832 * manual/examples/argp-ex2.c: Likewise.
10833 * manual/examples/argp-ex3.c: Likewise.
10834
e3b69ca7
RH
108352012-02-16 Richard Henderson <rth@redhat.com>
10836
10837 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10838 * sysdeps/s390/s390-32/initfini.c: Remove.
10839 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10840 * sysdeps/s390/s390-64/initfini.c: Remove.
10841
df83af67
KK
108422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10843
10844 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10845 compiler output for sysdeps/generic/initfini.c.
10846 * sysdeps/sh/elf/initfini.c: Remove file.
10847
f63f3380
DM
108482012-02-16 David S. Miller <davem@davemloft.net>
10849
fb59b3a4
DM
10850 [BZ #11494]
10851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10852
f63f3380
DM
10853 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10854 * sysdeps/sparc/crti.S: New file.
10855 * sysdeps/sparc/crtn.S: New file.
10856 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10857 * sysdeps/sparc/sparc64/Makefile: Likewise.
10858
df6a4a4a
MF
108592012-02-15 Mike Frysinger <vapier@gentoo.org>
10860
6dd8f3dc 10861 [BZ #3335]
df6a4a4a
MF
10862 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10863
1cac7236
RM
108642012-02-15 Roland McGrath <roland@hack.frob.com>
10865
d2c736f8
RM
10866 [BZ #4822]
10867 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10868
1cac7236
RM
10869 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10870 (write, read, close): Likewise.
10871 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10872
8e475601
JM
108732012-02-15 Joseph Myers <joseph@codesourcery.com>
10874
10875 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10876 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10877 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10878 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10879 <bits/signalfd.h>.
10880 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10882 bits/signalfd.h.
10883
ed656b40
MP
108842012-02-14 Marek Polacek <polacek@redhat.com>
10885
10886 * sysdeps/x86_64/crti.S: New file.
10887 * sysdeps/x86_64/crtn.S: New file.
10888 * sysdeps/x86_64/elf/initfini.c: Remove file.
10889
2a979d3a
JM
108902012-02-13 Joseph Myers <joseph@codesourcery.com>
10891
10892 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10893 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10894 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10895 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10896 <bits/inotify.h>.
10897 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10899 bits/inotify.h.
10900
2a418ac3
JM
109012012-02-13 Joseph Myers <joseph@codesourcery.com>
10902
10903 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10904 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10905 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10906 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10907 <bits/eventfd.h>.
10908 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10910 bits/eventfd.h.
10911
fb779be7
TS
109122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10913
e19e83c5
RM
10914 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10915 __feraiseexcept instead of feraiseexcept.
7c35ffed 10916
fb779be7
TS
10917 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10918 nanosleep invocations.
10919 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10920 strings, and add error checking for a nanosleep invocations.
10921
59ba27a6
PE
109222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10923
10924 Replace FSF snail mail address with URLs, as per GNU coding standards.
10925 Most of the snail mail addresses were wrong anyway, and omitting
10926 them makes the source code easier to maintain. Almost all of the
10927 changes are to license notices and to locale LC_IDENTIFICATION
10928 addresses, except for this one:
10929 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10930 not its snail mail address.
10931
57b957eb
RH
109322012-02-09 Richard Henderson <rth@twiddle.net>
10933
af850b1c
RH
10934 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10935 of kernel-features.h.
10936
57b957eb
RH
10937 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10938
6b73181a
MP
109392012-02-08 Marek Polacek <polacek@redhat.com>
10940
10941 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10942 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10943 * sysdeps/gnu/_G_config.h: Likewise.
10944 * sysdeps/generic/_G_config.h: Likewise.
10945
26ecc33a
AS
109462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10947
6c6dbc63
AS
10948 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10949 tests.
10950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10951
e216c012
AS
10952 * sysdeps/powerpc/powerpc32/crti.S: New file.
10953 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10954 * sysdeps/powerpc/powerpc64/crti.S: New file.
10955 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10956
26ecc33a
AS
10957 * Makeconfig (have-initfini): Don't set.
10958 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10959 * configure.in (nopic_initfini): Don't substitute.
10960 * config.h.in (HAVE_INITFINI): Don't #undef.
10961 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10962 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10963
3add8e13
JM
109642012-02-08 Joseph Myers <joseph@codesourcery.com>
10965
10966 Support crti.S and crtn.S provided directly by architectures.
10967 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10968 [crti.S in sysdirs] (omit-deps): Likewise.
10969 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10970 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10971 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10972 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10973 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10974 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10975 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10976 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10977 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10978 compiler output for sysdeps/generic/initfini.c.
10979 * sysdeps/i386/elf/Makefile: Remove file.
10980 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10981
a22f12b4
MP
109822012-02-07 Marek Polacek <polacek@redhat.com>
10983
10984 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10985 * sysdeps/gnu/_G_config.h: Likewise.
10986 * sysdeps/mach/hurd/_G_config.h: Likewise.
10987
148cf100
MP
109882012-02-07 Marek Polacek <polacek@redhat.com>
10989
10990 * math/Makefile (tests): Add tst-CMPLX2.
10991 * math/tst-CMPLX2.c: New file.
10992
cfdc0dd7
AS
109932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10994
84ba42c4
AS
10995 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10996
cfdc0dd7
AS
10997 * math/libm-test.inc (jn_test): Add missing L suffix.
10998
622c86f4
MP
109992012-02-06 Marek Polacek <polacek@redhat.com>
11000
11001 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11002 * sysdeps/i386/fpu/e_powf.S: Likewise.
11003 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11004 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11005 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11006 * sysdeps/i386/fpu/e_pow.S: Likewise.
11007 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11008 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11009 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11010 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11011 * sysdeps/i386/fpu/e_log2.S: Likewise.
11012 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11013 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11014 * sysdeps/i386/fpu/e_powl.S: Likewise.
11015 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11016 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11017 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11018 * sysdeps/i386/fpu/e_logl.S: Likewise.
11019 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11020 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11021 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11022 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11023 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11024 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11025 * sysdeps/i386/fpu/e_log.S: Likewise.
11026 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11027 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11028 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11029 * sysdeps/i386/fpu/e_logf.S: Likewise.
11030 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11031 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11032 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11033 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11034 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11035 * sysdeps/i386/fpu/e_log10.S: Likewise.
11036 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11037 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11038 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11039 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11040 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11041 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11042 * sysdeps/i386/asm-syntax.h: Likewise.
11043 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11044 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11045 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11046 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11047 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11048 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11049 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11050 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11051 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11052 * sysdeps/powerpc/sysdep.h: Likewise.
11053 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11054 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11055
d4a54ac6
JM
110562012-02-06 Joseph Myers <joseph@codesourcery.com>
11057
11058 [BZ #411]
11059 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11060
314054ea
JM
110612012-02-06 Joseph Myers <joseph@codesourcery.com>
11062
11063 * sysdeps/i386/sysdep.h: Include <features.h>.
11064 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11065 version.
11066
d8e0ca50
JM
110672012-02-05 Joseph Myers <joseph@codesourcery.com>
11068
11069 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11070 Define.
11071 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11072 LOAD_PIC_REG_STR.
11073
b1da7dd9
JM
110742012-02-03 Joseph Myers <joseph@codesourcery.com>
11075
11076 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11077 (SETUP_PIC_REG): Use GET_PC_THUNK.
11078 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11079 macro.
11080
9a1d9254
JM
110812012-02-03 Joseph Myers <joseph@codesourcery.com>
11082
11083 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11084 for non-PIC compilation.
11085 (SETUP_PIC_REG): Add .p2align directive.
11086 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11087 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11088 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11089 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11090 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11099 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11100 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11101 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11102 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11103 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11104 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11105 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11106 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11107 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11108 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11109 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11110 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11112 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11113 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11114 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11115 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11116 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11117 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11118 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11119 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11120 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11121 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11122 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11123 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11124 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11125 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11126 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11127
65dc3b75
JM
111282012-02-03 Joseph Myers <joseph@codesourcery.com>
11129
11130 * math/tst-CMPLX.c: Include <stdio.h>.
11131
d55bf177
JM
111322012-01-31 Joseph Myers <joseph@codesourcery.com>
11133
11134 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11135 float.
11136 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11137 * sysdeps/sparc/bits/mathdef.h: Likewise.
11138
69db4f8f
MP
111392012-01-31 Marek Polacek <polacek@redhat.com>
11140
11141 * libio/libio.h: Don't define _PARAMS.
11142 * locale/programs/config.h: Don't define PARAMS.
11143 * stdlib/strtol_l.c: Likewise.
11144 (__strtol_l): Remove PARAMS from the prototype.
11145
41b81892
UD
111462012-01-31 Ulrich Drepper <drepper@gmail.com>
11147
3b49edc0
UD
11148 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11149 names. Just use the correct names. Remove unnecessary wrapper
11150 functions.
11151 * malloc/arena.c: Likewise.
11152 * malloc/hooks.c: Likewise.
11153
41b81892
UD
11154 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11155 ARENA_TEST says not to. Simplify test for creation of a new arena.
11156 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11157
27a25b6e
UD
111582012-01-30 Ulrich Drepper <drepper@gmail.com>
11159
11160 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11161 into tail calls.
11162 (update_get_addr): New function.
11163 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11164 GET_ADDR_MODULE parameter.
11165
c8a89e7d
JM
111662012-01-30 Joseph Myers <joseph@codesourcery.com>
11167
11168 * crypt/cert.c: Remove __STDC__ conditionals.
11169 * crypt/crypt-entry.c: Likewise.
11170 * crypt/crypt_util.c: Likewise.
11171 * libio/filedoalloc.c: Likewise.
11172 * libio/fileops.c: Likewise.
11173 * libio/genops.c: Likewise.
11174 * libio/iofclose.c: Likewise.
11175 * libio/iofdopen.c: Likewise.
11176 * libio/iofopen.c: Likewise.
11177 * libio/iofopen64.c: Likewise.
11178 * libio/iogetdelim.c: Likewise.
11179 * libio/iopopen.c: Likewise.
11180 * libio/obprintf.c: Likewise.
11181 * libio/oldfileops.c: Likewise.
11182 * libio/oldiofclose.c: Likewise.
11183 * libio/oldiofdopen.c: Likewise.
11184 * libio/oldiofopen.c: Likewise.
11185 * libio/oldiopopen.c: Likewise.
11186 * libio/wfiledoalloc.c: Likewise.
11187 * libio/wgenops.c: Likewise.
11188 * locale/programs/xmalloc.c: Likewise.
11189 * misc/syslog.c: Likewise.
11190 * stdio-common/xbug.c: Likewise.
11191 * string/memchr.c: Likewise.
11192 * string/memcmp.c: Likewise.
11193 * string/memrchr.c: Likewise.
11194 * string/rawmemchr.c: Likewise.
11195 * sysdeps/posix/getcwd.c: Likewise.
11196 * time/strftime_l.c: Likewise.
11197
3b100462
JM
111982012-01-30 Joseph Myers <joseph@codesourcery.com>
11199
11200 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11201 * config.make.in (config-cflags-sse2avx): Define.
11202 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11203 Fix typo.
11204
607998af
CM
112052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11206
11207 * scripts/config.guess: Update from upstream config git repository.
11208 * scripts/config.sub: Likewise.
11209
3601428f
CM
112102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11211
3ac8b282
CM
11212 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11213 (EM_NUM): Update.
11214 (R_TILEPRO_*, R_TILEGX_*): New macros.
11215
e034841e
CM
11216 * scripts/firstversions.awk: Fix bug in version range handling.
11217
540d7568
CM
11218 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11219
3601428f
CM
11220 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11221
463de862
CM
11222 * include/sys/epoll.h: New file.
11223 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11224 libc_hidden_def.
11225
73139a76
UD
112262012-01-28 Ulrich Drepper <drepper@gmail.com>
11227
96bc5b45
UD
11228 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11229 Avoid unnecessary __WORDSIZE == 64 test.
11230 (fmaxf): Use VEX format if possible.
11231 (fmax): Likewise.
11232 (fminf): Likewise.
11233 (fmin): Likewise.
11234
56f6f6a2
UD
11235 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11236 * math/math_private.h: Remove libc_fegetround* and
11237 libc_fesetround*.
11238 * sysdeps/i386/configure.in: Check for -msse2avx.
11239 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11240 also if SSE2AVX is defined.
11241 Remove libc_fegetround* and libc_fesetround*.
11242 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11243 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11244 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11245 of HAS_YMM_USABLE.
11246 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11247 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11248 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11249 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11250 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11251
73139a76
UD
11252 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11253
d73f93a4
AZ
112542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11255
11256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11257 size is not set.
11258 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11259
6ee65ed6
UD
112602012-01-27 Ulrich Drepper <drepper@gmail.com>
11261
11262 [BZ #13618]
11263 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11264 relocation.
11265 * Makeconfig (libm): Define.
11266 * elf/Makefile: Add rules to build and run tst-relsort1.
11267 * elf/tst-relsort1.c: New file.
11268 * elf/tst-relsort1mod1.c: New file.
11269 * elf/tst-relsort1mod2.c: New file.
11270
8db21882
JM
112712012-01-27 Joseph Myers <joseph@codesourcery.com>
11272
11273 * math/s_ldexp.c: Remove __STDC__ conditionals.
11274 * math/s_ldexpf.c: Likewise.
11275 * math/s_ldexpl.c: Likewise.
11276 * math/s_nextafter.c: Likewise.
11277 * math/s_nexttowardf.c: Likewise.
11278 * math/s_significand.c: Likewise.
11279 * math/s_significandf.c: Likewise.
11280 * math/s_significandl.c: Likewise.
11281 * math/w_jnl.c: Likewise.
11282 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11283 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11284 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11285 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11286 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11301 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11302 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11303 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11304 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11306 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11307 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11310 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11312 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11313 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11314 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11315 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11316 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11317 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11318 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11319 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11320 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11321 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11322 * sysdeps/ieee754/k_standard.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11398 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11399 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11402 * sysdeps/ieee754/s_matherr.c: Likewise.
11403 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11404 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11406 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11407
965a54a4
JM
114082012-01-26 Joseph Myers <joseph@codesourcery.com>
11409
11410 * crypt/md5.h: Remove __STDC__ conditionals.
11411 * libio/libioP.h: Likewise.
11412 * locale/programs/config.h: Likewise.
11413 * sysdeps/generic/sysdep.h: Likewise.
11414 * sysdeps/i386/asm-syntax.h: Likewise.
11415 * sysdeps/s390/asm-syntax.h: Likewise.
11416 * sysdeps/unix/sysdep.h: Likewise.
11417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11419
7071ad79
JM
114202012-01-26 Joseph Myers <joseph@codesourcery.com>
11421
11422 * libio/libio.h: Remove __STDC__ conditionals.
11423 * malloc/obstack.h: Likewise.
11424 * math/complex.h: Likewise.
11425 * math/math.h: Likewise.
11426 * sysdeps/generic/_G_config.h: Likewise.
11427 * sysdeps/gnu/_G_config.h: Likewise.
11428 * sysdeps/mach/hurd/_G_config.h: Likewise.
11429 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11430 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11431 * sysdeps/sparc/bits/mathdef.h: Likewise.
11432
afc5ed09
UD
114332012-01-26 Ulrich Drepper <drepper@gmail.com>
11434
11435 [BZ #13583]
11436 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11437 Clean up HAS_* macros.
afc5ed09 11438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11439 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11440 possible.
11441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11442 HAS_AVX.
11443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11448
bdb6de1d
JM
114492012-01-25 Joseph Myers <joseph@codesourcery.com>
11450
11451 * elf/tst-unique3.cc (gets): Remove declaration.
11452 * elf/tst-unique3lib.cc (gets): Likewise.
11453 * elf/tst-unique3lib2.cc (gets): Likewise.
11454 * elf/tst-unique4.cc (gets): Likewise.
11455
b15549e6
UD
114562012-01-24 Ulrich Drepper <drepper@gmail.com>
11457
11458 * include/stdio.h: Add C++ protection. Add gets declarations and
11459 definitions.
11460 * debug/tst-chk1.c: Don't declare gets here.
11461 * stdio-common/tst-gets.c: Likewise.
11462
a037381f
JM
114632012-01-24 Joseph Myers <joseph@codesourcery.com>
11464
11465 * posix/glob: Remove directory.
11466
f1d4aa75
JM
114672012-01-24 Joseph Myers <joseph@codesourcery.com>
11468
11469 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11470
81c0c964
PT
114712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11472
11473 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11474 of the non-standard EPFNOSUPPORT.
11475
0ea698ae
ST
114762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11477
11478 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11479 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11480 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11481
d220b117
UD
114822012-01-21 Ulrich Drepper <drepper@gmail.com>
11483
11484 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11485
3e1aa84e
UD
114862012-01-20 Ulrich Drepper <drepper@gmail.com>
11487
11488 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11489 transient errors.
11490 * nscd/grpcache.c (cache_addgr): Likewise.
11491 * nscd/hstcache.c (cache_addhst): Likewise.
11492 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11493 * nscd/pwdcache.c (cache_addpw): Likewise.
11494 * nscd/servicescache.c (cache_addserv): Likewise.
11495
400aa020
UD
114962012-01-16 Ulrich Drepper <drepper@gmail.com>
11497
d77e7869
UD
11498 * malloc/malloc.c: Various cleanups.
11499 * malloc/hooks.c: Likewise.
11500
400aa020
UD
11501 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11502 * stdlib/bug-fmtmsg1.c: New file.
11503
11504 * stdlib/fmtmsg.c (init): Add missing unlock.
11505 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11506
e0a309cf
MP
115072012-01-12 Marek Polacek <polacek@redhat.com>
11508
11509 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11510 and _GNU_SOURCE.
11511
929d11c7
WS
115122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11513
11514 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11515 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11516 macro to ensure uniqueness of label name.
11517 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11518 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11519
41d0e869
UD
115202012-01-11 Ulrich Drepper <drepper@gmail.com>
11521
0cc5ed3b
UD
11522 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11523
41d0e869
UD
11524 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11525 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11526 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11528
a47a831a
UD
115292012-01-10 Ulrich Drepper <drepper@gmail.com>
11530
daa891c0
UD
11531 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11532
11533 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11534 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11536
e58ef0f2
UD
11537 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11538
a47a831a 11539 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11540 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11541 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11543
11544 * math/bits/math-finite.h: Add ldexp support.
11545
a0bfc9c7
MP
115462012-01-10 Marek Polacek <polacek@redhat.com>
11547
11548 * locale/programs/localedef.h (show_archive_content): Add noreturn
11549 attribute.
11550
d6e97a1d
UD
115512012-01-09 Ulrich Drepper <drepper@gmail.com>
11552
11553 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11554
d5835c26
UD
115552012-01-08 Ulrich Drepper <drepper@gmail.com>
11556
e5f484c6
UD
11557 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11558
d5835c26
UD
11559 * io/Makefile (headers): Add bits/poll2.h.
11560
d1f741e9
WS
115612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11562
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11564 typo #include statement.
11565
ec09c1c4
UD
115662012-01-08 Ulrich Drepper <drepper@gmail.com>
11567
11568 * include/sys/cdefs.h: Define __attribute_alloc_size.
11569 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11570 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11571 * elf/pldd.c: Likewise.
11572 * iconv/iconv_charmap.c: Likewise.
11573 * iconv/iconvconfig.c: Likewise.
11574 * iconv/strtab.c: Likewise.
11575 * locale/programs/locale.c: Likewise.
11576 * locale/programs/localedef.h: Likewise.
11577 * locale/programs/simple-hash.c: Likewise.
11578 * nscd/nscd.h: Likewise.
11579 * nss/makedb.c: Likewise.
11580 * sysdeps/generic/ldconfig.h: Likewise.
11581 * locale/programs/localedef.c: Remove xmalloc prototype.
11582 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11583
20b38e03
PP
115842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11585
11586 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11587 appropriate.
11588
a0da5fe1
UD
115892012-01-08 Ulrich Drepper <drepper@gmail.com>
11590
1d5a644a 11591 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11592 * math/tst-CMPLX.c: New file.
1d5a644a 11593
8784a6db
UD
11594 * math/complex.h (CMPLXL): Fix typo.
11595
d9a216c0
UD
11596 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11597 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11598 GLIBC_2.16.
11599 * debug/tst-chk1.c: Add poll and ppoll tests.
11600 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11601 * include/sys/poll.h: Add hidden proto for ppoll.
11602 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11603 * sysdeps/mach/hurd/ppoll.c: Likewise.
11604 * io/ppoll.c: Likewise.
11605 * debug/poll_chk.c: New file.
11606 * debug/ppoll_chk.c: New file.
11607 * include/bits/poll2.h: New file.
11608 * io/bits/poll2.h: New file.
11609
ac097f5c
UD
11610 [BZ #1350]
11611 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11612
2119dcfa
UD
11613 * configure.in: static is always set to yes. Remove.
11614 * config.make.in: Don't set build-static.
11615 * Makeconfig: Remove use of build-static.
11616 * dlfcn/Makefile: Likewise.
11617 * elf/Makefile: Likewise.
11618 * math/Makefile: Likewise.
11619 * misc/Makefile: Likewise.
11620 * nptl/Makefile: Likewise.
11621 * sysdeps/mach/hurd/Makefile: Likewise.
11622
121766a9
UD
11623 * configure.in: PWD_P is not used anymore.
11624 * config.make.in: Remove PWD_P entry.
11625
51a1d39c 11626 * configure.in: Remove last remnants of RANLIB.
8720d066 11627 No need to check for signed size_t anymore.
215f4bdc
UD
11628 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11629 and IA-64.
3857022a 11630 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11631 * aclocal.m4: Likewise.
11632
d3ed7225
UD
11633 * wcsmbs/mbrtoc16.c: Implement using towc function.
11634 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11635 * wcsmbs/wcsmbsload.c: Likewise.
11636 * iconv/gconv_simple.c: Likewise.
11637 * iconv/gconv_int.h: Likewise.
11638 * iconv/gconv_builtin.h: Likewise.
11639 * iconv/iconv_prog.c: Remove CHAR16 handling.
11640
11641 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11642
11643 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11644
a0da5fe1
UD
11645 * configure.in: Remove --with-elf and --enable-bounded options.
11646 Dont set base_machine for ia64. More non-ELF conditions removed.
11647 Remove testing and setting of leading underscore information.
11648 * config.make.in (build-bounded): Set to no.
11649 * config.h.in: Remove NO_UNDERSCORES entry.
11650 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11651 them.
11652 * csu/start.c: Remove !NO_UNDERSCORE code.
11653 * locale/localeinfo.h: Likewise.
11654 * sysdeps/generic/machine-gmon.h: Likewise.
11655 * sysdeps/generic/sysdep.h: Likewise.
11656 * sysdeps/i386/sysdep.h: Likewise.
11657 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11658 * sysdeps/mach/sysdep.h: Likewise.
11659 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11661 * sysdeps/sh/sysdep.h: Likewise.
11662 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11663 * sysdeps/unix/i386/sysdep.S: Likewise.
11664 * sysdeps/unix/sparc/start.c: Likewise.
11665 * sysdeps/unix/sparc/sysdep.S: Likewise.
11666 * sysdeps/unix/sparc/sysdep.h: Likewise.
11667 * sysdeps/unix/start.c: Likewise.
11668 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11669 * sysdeps/x86_64/sysdep.h: Likewise.
11670
df78418a
UD
116712012-01-07 Ulrich Drepper <drepper@gmail.com>
11672
a784e502
UD
11673 [BZ #13553]
11674 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11675 for non-gcc.
11676 * argp/argp-fmtstream.h: Use const instead __const.
11677 * argp/argp.h: Likewise.
11678 * assert/assert.h: Likewise.
11679 * bits/fenv.h: Likewise.
11680 * bits/sched.h: Likewise.
11681 * bits/sigset.h: Likewise.
11682 * bits/sigthread.h: Likewise.
11683 * catgets/nl_types.h: Likewise.
11684 * conform/data/pthread.h-data: Likewise.
11685 * crypt/crypt-private.h: Likewise.
11686 * crypt/crypt.h: Likewise.
11687 * crypt/crypt_util.c: Likewise.
11688 * ctype/ctype.h: Likewise.
11689 * debug/execinfo.h: Likewise.
11690 * debug/mbsnrtowcs_chk.c: Likewise.
11691 * debug/mbsrtowcs_chk.c: Likewise.
11692 * debug/wcsnrtombs_chk.c: Likewise.
11693 * debug/wcsrtombs_chk.c: Likewise.
11694 * debug/wcstombs_chk.c: Likewise.
11695 * dirent/dirent.h: Likewise.
11696 * dlfcn/dlfcn.h: Likewise.
11697 * elf/neededtest4.c: Likewise.
11698 * grp/grp.h: Likewise.
11699 * gshadow/gshadow.h: Likewise.
11700 * iconv/gconv.h: Likewise.
11701 * iconv/gconv_int.h: Likewise.
11702 * iconv/gconv_simple.c: Likewise.
11703 * iconv/iconv.h: Likewise.
11704 * iconv/loop.c: Likewise.
11705 * iconv/skeleton.c: Likewise.
11706 * include/aio.h: Likewise.
11707 * include/aliases.h: Likewise.
11708 * include/argz.h: Likewise.
11709 * include/arpa/inet.h: Likewise.
11710 * include/assert.h: Likewise.
11711 * include/dirent.h: Likewise.
11712 * include/dlfcn.h: Likewise.
11713 * include/execinfo.h: Likewise.
11714 * include/fcntl.h: Likewise.
11715 * include/fenv.h: Likewise.
11716 * include/glob.h: Likewise.
11717 * include/grp.h: Likewise.
11718 * include/libintl.h: Likewise.
11719 * include/mntent.h: Likewise.
11720 * include/netdb.h: Likewise.
11721 * include/pwd.h: Likewise.
11722 * include/rpc/netdb.h: Likewise.
11723 * include/sched.h: Likewise.
11724 * include/search.h: Likewise.
11725 * include/shadow.h: Likewise.
11726 * include/signal.h: Likewise.
11727 * include/stdio.h: Likewise.
11728 * include/stdlib.h: Likewise.
11729 * include/string.h: Likewise.
11730 * include/sys/socket.h: Likewise.
11731 * include/sys/stat.h: Likewise.
11732 * include/sys/statfs.h: Likewise.
11733 * include/sys/statvfs.h: Likewise.
11734 * include/sys/syslog.h: Likewise.
11735 * include/sys/time.h: Likewise.
11736 * include/sys/uio.h: Likewise.
11737 * include/time.h: Likewise.
11738 * include/unistd.h: Likewise.
11739 * include/utmp.h: Likewise.
11740 * include/wchar.h: Likewise.
11741 * include/wctype.h: Likewise.
11742 * inet/aliases.h: Likewise.
11743 * inet/arpa/inet.h: Likewise.
11744 * inet/netinet/ether.h: Likewise.
11745 * inet/netinet/in.h: Likewise.
11746 * intl/libintl.h: Likewise.
11747 * io/bits/fcntl2.h: Likewise.
11748 * io/fcntl.h: Likewise.
11749 * io/ftw.h: Likewise.
11750 * io/sys/poll.h: Likewise.
11751 * io/sys/stat.h: Likewise.
11752 * io/sys/statfs.h: Likewise.
11753 * io/sys/statvfs.h: Likewise.
11754 * io/utime.h: Likewise.
11755 * libio/bits/stdio.h: Likewise.
11756 * libio/bits/stdio2.h: Likewise.
11757 * libio/libio.h: Likewise.
11758 * libio/libioP.h: Likewise.
11759 * libio/stdio.h: Likewise.
11760 * locale/lc-ctype.c: Likewise.
11761 * locale/locale.h: Likewise.
11762 * login/utmp.h: Likewise.
11763 * malloc/arena.c: Likewise.
11764 * malloc/malloc.c: Likewise.
11765 * malloc/malloc.h: Likewise.
11766 * malloc/mcheck.c: Likewise.
11767 * malloc/mtrace.c: Likewise.
11768 * math/bits/mathcalls.h: Likewise.
11769 * math/fenv.h: Likewise.
11770 * math/math_private.h: Likewise.
11771 * misc/bits/error.h: Likewise.
11772 * misc/bits/syslog.h: Likewise.
11773 * misc/err.h: Likewise.
11774 * misc/error.h: Likewise.
11775 * misc/fstab.h: Likewise.
11776 * misc/mntent.h: Likewise.
11777 * misc/regexp.h: Likewise.
11778 * misc/search.h: Likewise.
11779 * misc/sgtty.h: Likewise.
11780 * misc/sys/mman.h: Likewise.
11781 * misc/sys/syslog.h: Likewise.
11782 * misc/sys/uio.h: Likewise.
11783 * misc/sys/xattr.h: Likewise.
11784 * misc/ttyent.h: Likewise.
11785 * nis/rpcsvc/ypclnt.h: Likewise.
11786 * nss/nss.h: Likewise.
11787 * posix/bits/unistd.h: Likewise.
11788 * posix/fnmatch.h: Likewise.
11789 * posix/glob.h: Likewise.
11790 * posix/sched.h: Likewise.
11791 * posix/spawn.h: Likewise.
11792 * posix/sys/wait.h: Likewise.
11793 * posix/unistd.h: Likewise.
11794 * posix/wordexp.h: Likewise.
11795 * pwd/pwd.h: Likewise.
11796 * resolv/netdb.h: Likewise.
11797 * resource/sys/resource.h: Likewise.
11798 * rt/aio.h: Likewise.
11799 * rt/bits/mqueue2.h: Likewise.
11800 * rt/mqueue.h: Likewise.
11801 * shadow/shadow.h: Likewise.
11802 * signal/signal.h: Likewise.
11803 * socket/send.c: Likewise.
11804 * socket/sendto.c: Likewise.
11805 * socket/sys/socket.h: Likewise.
11806 * stdio-common/printf.h: Likewise.
11807 * stdlib/bits/stdlib.h: Likewise.
11808 * stdlib/fmtmsg.h: Likewise.
11809 * stdlib/monetary.h: Likewise.
11810 * stdlib/stdlib.h: Likewise.
11811 * stdlib/ucontext.h: Likewise.
11812 * streams/stropts.h: Likewise.
11813 * string/argz.h: Likewise.
11814 * string/bits/string2.h: Likewise.
11815 * string/string.h: Likewise.
11816 * string/strings.h: Likewise.
11817 * sunrpc/rpc/auth.h: Likewise.
11818 * sunrpc/rpc/auth_des.h: Likewise.
11819 * sunrpc/rpc/clnt.h: Likewise.
11820 * sunrpc/rpc/netdb.h: Likewise.
11821 * sunrpc/rpc/pmap_clnt.h: Likewise.
11822 * sunrpc/rpc/xdr.h: Likewise.
11823 * sysdeps/generic/inttypes.h: Likewise.
11824 * sysdeps/generic/net/if.h: Likewise.
11825 * sysdeps/generic/sys/swap.h: Likewise.
11826 * sysdeps/gnu/net/if.h: Likewise.
11827 * sysdeps/gnu/utmpx.h: Likewise.
11828 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11829 * sysdeps/i386/i486/bits/string.h: Likewise.
11830 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11831 * sysdeps/s390/bits/string.h: Likewise.
11832 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11833 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11834 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11835 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11836 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11837 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11838 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11839 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11840 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11841 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11842 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11843 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11844 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11845 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11846 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11847 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11848 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11853 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11854 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11855 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11856 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11857 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11859 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11860 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11861 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11862 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11863 * sysvipc/sys/ipc.h: Likewise.
11864 * sysvipc/sys/msg.h: Likewise.
11865 * sysvipc/sys/sem.h: Likewise.
11866 * sysvipc/sys/shm.h: Likewise.
11867 * termios/termios.h: Likewise.
11868 * time/sys/time.h: Likewise.
11869 * time/time.h: Likewise.
11870 * wcsmbs/bits/wchar2.h: Likewise.
11871 * wcsmbs/uchar.h: Likewise.
11872 * wcsmbs/wchar.h: Likewise.
11873 * wctype/wctype.h: Likewise.
11874
0269750c
UD
11875 [BZ #13551]
11876 * Makeconfig: Remove all but ELF support including AIX support.
11877 * Makerules: Likewise.
11878 * config.h.in: Likewise.
11879 * config.make.in: Likewise.
11880 * configure: Likewise.
11881 * configure.in: Likewise.
11882 * csu/Makefile: Likewise.
11883 * csu/version.c: Likewise.
11884 * debug/Makefile: Likewise.
11885 * dlfcn/Makefile: Likewise.
11886 * elf/Makefile: Likewise.
11887 * extra-lib.mk: Likewise.
11888 * iconv/Makefile: Likewise.
11889 * include/libc-symbols.h: Likewise.
11890 * include/shlib-compat.h: Likewise.
11891 * resolv/Makefile: Likewise.
11892 * resolv/res_libc.c: Likewise.
11893 * rt/Makefile: Likewise.
11894 * sysdeps/i386/asm-syntax.h: Likewise.
11895 * sysdeps/i386/sysdep.h: Likewise.
11896 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11897 * sysdeps/mach/sysdep.h: Likewise.
11898 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11899 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11900 * sysdeps/s390/asm-syntax.h: Likewise.
11901 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11902 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11903 * sysdeps/sh/sysdep.h: Likewise.
11904 * sysdeps/unix/sparc/sysdep.h: Likewise.
11905 * sysdeps/wordsize-32/divdi3.c: Likewise.
11906 * sysdeps/x86_64/sysdep.h: Likewise.
11907
00bbd29b
UD
11908 * argp/Versions: Remove _argp_unlock_xxx.
11909
11910 [BZ #13559]
11911 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11912 * abilist/libBrokenLocale.abilist: Likewise.
11913 * abilist/libanl.abilist: Likewise.
11914 * abilist/libc.abilist: Likewise.
11915 * abilist/libcrypt.abilist: Likewise.
11916 * abilist/libdl.abilist: Likewise.
11917 * abilist/libm.abilist: Likewise.
11918 * abilist/libnsl.abilist: Likewise.
11919 * abilist/libpthread.abilist: Likewise.
11920 * abilist/libresolv.abilist: Likewise.
11921 * abilist/librt.abilist: Likewise.
11922 * abilist/libthread_db.abilist: Likewise.
11923 * abilist/libutil.abilist: Likewise.
11924 * abilist/libnss_db.abilist: New file.
11925
11926 * scripts/abilist.awk: Add support for indirect functions.
11927
a2693a0e
UD
11928 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11929
3f05895f
UD
11930 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11931
ecb6fb48
UD
11932 * shlib-versions: Remove entries for ports architectures.
11933
664f8cb9
UD
11934 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11935 files in ports.
11936 * elf/stackguard-macros.h: Remove support for IA-64.
11937 * elf/tst-auditmod1.c: Likewise.
11938 * sysdeps/generic/ldsodefs.h: Likewise.
11939
7ae81d88
UD
11940 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11941 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11942 configure files.
11943
bdeba135
UD
11944 [BZ #13552]
11945 * configure.in: Remove --enable-omitfp support.
11946 * FAQ.in: Adjust.
11947 * config.make.in: Likewise.
11948 * Makeconfig: Likewise.
11949 * manual/install.texi: Likewise.
11950
d75a0a62
UD
11951 In case anyone cares, the IA-64 architecture could move to ports.
11952 * sysdeps/ia64/*: Removed.
11953 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11954 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11955
dcc9756b
UD
11956 [BZ #13555]
11957 * configure.in: Remove entries for unsupported architectures.
11958
d3761ebc 11959 [BZ #13533]
9954432e
UD
11960 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11961 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11962 routines.
11963 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11964 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11965 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11966 fall back to using wcrtomb.
11967 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11968 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11969 renaming.
11970 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11971 * wcsmbs/tst-c16c32-1.c: New file.
11972
11973 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11974 local variable.
11975
c3a87236
UD
11976 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11977
28926a1b
UD
11978 * elf/tst-unique3.cc: Add explicit declaration of gets.
11979 * elf/tst-unique3lib.cc: Likewise.
11980 * elf/tst-unique3lib2.cc: Likewise.
11981 * elf/tst-unique4.cc: Likewise.
11982
df78418a
UD
11983 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11984
8ecd6b2a
JM
119852012-01-06 Joseph Myers <joseph@codesourcery.com>
11986
11987 [BZ #13566]
11988 * assert/assert.h (static_assert): Don't define for C++.
11989 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11990 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11991
9f115170
UD
119922012-01-03 Ulrich Drepper <drepper@gmail.com>
11993
5e0d0300
UD
11994 * iconv/loop.c (single loop): Fix assertion in storing of
11995 remaining bytes.
11996
9f115170
UD
11997 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11998
81fb02b0
UD
119992012-01-01 Ulrich Drepper <drepper@gmail.com>
12000
12001 * posix/getconf.c: Update copyright year.
12002 * nss/getent.c: Likewise.
a316c1f6 12003 * nss/makedb.c: Likewise.
81fb02b0
UD
12004 * iconv/iconvconfig.c: Likewise.
12005 * iconv/iconv_prog.c: Likewise.
12006 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12007 * elf/pldd.c: Likewise.
12008 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12009 * catgets/gencat.c: Likewise.
12010 * csu/version.c: Likewise.
12011 * elf/ldd.bash.in: Likewise.
12012 * elf/sprof.c (print_version): Likewise.
12013 * locale/programs/locale.c: Likewise.
12014 * locale/programs/localedef.c: Likewise.
a316c1f6 12015 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12016 * nscd/nscd.c (print_version): Likewise.
12017 * debug/xtrace.sh: Likewise.
12018 * malloc/memusage.sh: Likewise.
12019 * malloc/mtrace.pl: Likewise.
12020 * debug/catchsegv.sh: Likewise.
12021
2ba92745
JJ
120222011-12-30 Jakub Jelinek <jakub@redhat.com>
12023
12024 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12025 pure attribute.
12026
dadebdae
UD
120272011-12-24 Ulrich Drepper <drepper@gmail.com>
12028
d3761ebc 12029 [BZ #13533]
db6af3eb
UD
12030 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12031 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12032 transformations.
12033 * iconv/gconv_int.h: Likewise.
12034 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12035 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12036 from libc for GLIBC_2.16.
12037 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12038 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12039 * wcsmbs/uchar.h: Really define mbstate_t.
12040 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12041 * wcsmbs/c16rtomb.c: New file.
12042 * wcsmbs/mbrtoc16.c: New file.
12043 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12044 for C/POSIX locale.
12045 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12046 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12047
dadebdae
UD
12048 * wcsmbs/wchar.h: Add missing __restrict.
12049
67371b56
UD
120502011-12-23 Ulrich Drepper <drepper@gmail.com>
12051
74033a25
UD
12052 [BZ #13532]
12053 * time/Makefile (routines): Add timespec_get.
12054 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12055 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12056 timespec for ISO C11.
12057 * time/timespec_get.c: New file.
12058 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12059 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12060
380d7e87
UD
12061 [BZ #13531]
12062 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12063 * stdlib/stdlib.h: Declare aligned_alloc.
12064 * Versions.def: Add GLIBC_2.16 for libc.
12065 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12066
4e9e7a35
UD
12067 [BZ 13527]
12068 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12069 ISO C11.
12070
380d7e87 12071 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12072 code.
12073
03a71829
UD
12074 [BZ #13528]
12075 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12076
839e283e
UD
12077 [BZ #13529]
12078 * assert/assert.h (static_assert): Define.
12079
ce5294e2 12080 * version.h: Update for 2.16 development version.
90fa7312 12081
8d44e150 12082 [BZ #13526]
d7809905
UD
12083 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12084 _ISOC11_SOURCE.
12085
c0da14cd
UD
12086 * version.h (RELEASE): Bump for 2.15 release.
12087 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12088
530a3249
MP
12089 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12090 Patch by Marek Polacek <mpolacek@redhat.com>.
12091
67371b56
UD
12092 * bits/byteswap.h: Protect long long constants with __extension__.
12093 * sysdeps/i386/bits/byteswap.h: Likewise.
12094 * sysdeps/ia64/bits/byteswap.h: Likewise.
12095 * sysdeps/s390/bits/byteswap.h: Likewise.
12096 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12097
15db4de1
LD
120982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12099
12100 [BZ #13540]
bbe315ea
LD
12101 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12102 destination buffer.
15db4de1
LD
12103 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12104
2b2596b1
MP
121052011-12-23 Marek Polacek <polacek@redhat.com>
12106
12107 * elf/dl-addr.c (determine_info): Add inline keyword.
12108 * elf/tst-auditmod4b.c (check_avx): Likewise.
12109 * elf/tst-auditmod6b.c (check_avx): Likewise.
12110 * elf/tst-auditmod6c.c (check_avx): Likewise.
12111 * elf/tst-auditmod7b.c (check_avx): Likewise.
12112
70c6c246
UD
121132011-12-23 Ulrich Drepper <drepper@gmail.com>
12114
12115 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12116 !__SSE_MATH__.
12117
c044cf14
LD
121182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12119
15db4de1 12120 [BZ #13540]
c044cf14
LD
12121 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12122 processing for last bytes.
12123
6b13d9d9
BH
121242011-08-06 Bruno Haible <bruno@clisp.org>
12125
d455f537
BH
12126 [BZ #13061]
12127 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12128 U+0385, not to U+1FEE.
12129
6b13d9d9
BH
12130 [BZ #13062]
12131 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12132 entry for U+00A5 U+0301.
12133
db910efd
UD
121342011-12-22 Ulrich Drepper <drepper@gmail.com>
12135
27deeafc
UD
12136 [BZ #13166]
12137 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12138 buffer for the output is too small.
12139
aed9d171
UD
12140 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12141 optimization.
12142
db910efd
UD
12143 [BZ #13185]
12144 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12145 SSE flags if possible.
12146
2bd779ae
LD
121472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12148
e7f9dac3 12149 [BZ #13540]
2bd779ae
LD
12150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12151 processing for last bytes.
12152
154bfc16
JM
121532011-12-22 Joseph Myers <joseph@codesourcery.com>
12154
12155 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12156 (syscall-list-default-options, syscall-list-default-condition)
12157 (syscall-list-includes): Define.
12158 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12159 list of ABIs and options and #if conditions for each ABI. Do not
12160 handle common syscalls between ABIs specially.
12161 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12162 Remove.
12163 (syscall-list-variants, syscall-list-32bit-options)
12164 (syscall-list-32bit-condition, syscall-list-64bit-options)
12165 (syscall-list-64bit-condition): Define.
12166 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12167 (syscall-list-variants, syscall-list-32bit-options)
12168 (syscall-list-32bit-condition, syscall-list-64bit-options)
12169 (syscall-list-64bit-condition): Define.
12170 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12171 Remove.
12172 (syscall-list-variants, syscall-list-32bit-options)
12173 (syscall-list-32bit-condition, syscall-list-64bit-options)
12174 (syscall-list-64bit-condition): Define.
12175 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12176 Remove.
12177 (syscall-list-variants, syscall-list-32bit-options)
12178 (syscall-list-32bit-condition, syscall-list-64bit-options)
12179 (syscall-list-64bit-condition): Define.
12180
21eaf3a5
UD
121812011-12-22 Ulrich Drepper <drepper@gmail.com>
12182
16c6f992
UD
12183 * locale/iso-639.def: Add brx entry.
12184
41043168
UD
12185 [BZ #13328]
12186 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12187 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12188
21eaf3a5
UD
12189 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12190 __feraiseexcept_renamed.
12191
e3a851a2
UD
121922011-12-21 Ulrich Drepper <drepper@gmail.com>
12193
4920765e
UD
12194 [BZ #13538]
12195 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12196 EPOLLET with unsigned values.
12197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12198 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12199
e3a851a2
UD
12200 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12201 to large cancellation.
12202 * math/s_cacoshf.c: Likewise.
12203 * math/s_cacoshl.c: Likewise.
12204
b27e24b8
RK
122052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12206
12207 [BZ #13305]
aebefeee 12208 [BZ #12786]
b27e24b8
RK
12209 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12210 * math/s_cacoshf.c: Likewise.
12211 * math/s_cacoshl.c: Likewise.
12212
ee190f67
UD
122132011-12-21 Ulrich Drepper <drepper@gmail.com>
12214
12215 [BZ #13439]
12216 * iconv/gconv.h: Define __GCONV_SWAP.
12217 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12218 * iconvdata/utf-16.c: Likewise.
12219 * iconvdata/utf-32.c: Likewise.
12220
707f25df
AS
122212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12222
12223 [BZ #13524]
12224 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12225 numerator after shifting it by one limb.
12226
d2daaa1e
RÁE
122272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12228
12229 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12230 under [__USE_EXTERN_INLINES].
12231
a4647e72
UD
122322011-12-17 Ulrich Drepper <drepper@gmail.com>
12233
12234 [BZ #13446]
12235 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12236
f0b264f1
AZ
122372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12238
12239 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12240 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12241 optimized code.
12242 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12243 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12244 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12245 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12246 for strncasecmp/strncasecmp_l compilation.
12247 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12248 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12249
8ef4f244
MP
122502011-12-08 Marek Polacek <mpolacek@redhat.com>
12251
12252 [BZ #13484]
12253 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12254 of __asm__.
12255
97ac2654
UD
122562011-12-17 Ulrich Drepper <drepper@gmail.com>
12257
12258 [BZ #13506]
12259 * time/tzfile.c (__tzfile_read): Check values from file header.
12260
91d2a845
WS
122612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12262
12263 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12264 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12265 * powerpc/powerpc32/dl-start.S: Likewise.
12266 * powerpc/powerpc32/elf/start.S: Likewise.
12267 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12268 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12269 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12270 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12271 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12272 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12273 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12274 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12275 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12276 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12277 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12278 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12279 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12280 * powerpc/powerpc32/memset.S: Likewise.
12281 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12282 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12283 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12284 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12285 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12286 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12287 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12288 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12289 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12290 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12291 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12292 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12293 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12294
a1267ba1
AZ
122952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12296
12297 * math/libm-test.inc: Added more nearbyint tests.
12298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12299 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12301 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12302
ad8ac1bd
RL
123032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12304
12305 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12306 FD_CLOEXEC.
12307
1d3e4b61
UD
123082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12309
12310 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12311 Add wcscpy-ssse3 wcscpy-c.
12312 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12313 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12314 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12315 * sysdeps/x86_64/wcschr.S: New file.
12316 * sysdeps/x86_64/wcsrchr.S: New file.
12317 * string/test-strcmp.c: Remove checking of wcscmp function for
12318 wrong alignments.
12319 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12320 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12321 wcsrchr-sse2 wcsrchr-c.
12322 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12323 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12324 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12325 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12326 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12327 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12328 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12329 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12330 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12331 * wcsmbc/wcschr.c (WCSCHR): New macro.
12332
5b330a2d
UD
123332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12334
12335 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12336 * wcsmbs/test-wcsrchr.c: New file.
12337 * string/test-strrchr.c: Add wcsrchr support.
12338 (WIDE): New macro.
12339 * wcsmbs/test-wcscpy.c: New file.
12340 * string/test-strcpy.c: Add wcscpy support.
12341 (WIDE): New macro.
26428b7c 12342
f039c043
UD
123432011-12-10 Ulrich Drepper <drepper@gmail.com>
12344
12345 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12346 the inner loop.
12347
850fb039
AS
123482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12349
12350 [BZ #13472]
12351 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12352
4efbd5cb
UD
123532011-12-04 Ulrich Drepper <drepper@gmail.com>
12354
52ff5dd0 12355 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12356 Minor optimizations.
52ff5dd0 12357
4efbd5cb
UD
12358 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12359 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12360 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12361
8a426e12
UD
123622011-12-03 Ulrich Drepper <drepper@gmail.com>
12363
aff2453d
UD
12364 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12365 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12366 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12367 for gcc to avoid warnings.
12368 * inet/Makefile (tests): Add tst-checks.
12369 * inet/tst-checks.c: New file.
12370
12371 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12372 warning.
12373
12374 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12375 __wmemcmp_sse2.
12376
12377 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12378 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12379
8a426e12
UD
12380 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12381
9bea3473
UD
123822011-12-02 Ulrich Drepper <drepper@gmail.com>
12383
3a965496
UD
12384 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12385 problem.
12386
9bea3473
UD
12387 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12388
f101631b
UD
123892011-11-29 Joseph Myers <joseph@codesourcery.com>
12390
12391 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12392 conditional on GCC version.
12393 (__arch_compare_and_exchange_val_8_acq)
12394 (__arch_compare_and_exchange_val_16_acq)
12395 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12396 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12397 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12398
a98275aa
UD
123992011-12-02 Joseph Myers <joseph@codesourcery.com>
12400
12401 * sysdeps/sh/backtrace.c: New file.
12402
d4cc29a2
AS
124032011-12-02 Andreas Schwab <schwab@redhat.com>
12404
12405 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12406 parenthesis.
12407
6257af2d
AS
124082011-12-01 Andreas Schwab <schwab@redhat.com>
12409
12410 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12411 falling back to utime.
12412
b5f44c1a
AS
124132011-11-30 Andreas Schwab <schwab@redhat.com>
12414
12415 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12416 expectations for float.
12417
f3a6cc0a
AS
124182011-11-29 Andreas Schwab <schwab@redhat.com>
12419
12420 * locale/weight.h (findidx): Add parameter len.
12421 * locale/weightwc.h (findidx): Likewise.
12422 * posix/fnmatch_loop.c (FCT): Adjust caller.
12423 * posix/regcomp.c (build_equiv_class): Likewise.
12424 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12425 * posix/regexec.c (check_node_accept_bytes): Likewise.
12426 * string/strcoll_l.c (STRCOLL): Likewise.
12427 * string/strxfrm_l.c (STRXFRM): Likewise.
12428
9d65ea3a
UD
124292011-11-17 Ulrich Drepper <drepper@gmail.com>
12430
12431 * Makefile.in: Remove CVSOPT handling.
12432 * configure.in: Remove use of AC_REVISION.
12433 * iconvdata/Makefile (distribute): No need to filter out CVS.
12434 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12435 handling.
12436
5583a086
AS
124372011-11-16 Andreas Schwab <schwab@redhat.com>
12438
12439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12440 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12441 [USE_AS_STRNCASECMP_L]: Likewise.
12442 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12443 NO_TLS_DIRECT_SEG_REFS.
12444 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12445 Fix argument offsets for non-PIC.
12446 [USE_AS_STRNCASECMP_L]: Likewise.
12447 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12448 NO_TLS_DIRECT_SEG_REFS.
12449
d62a8200
UD
124502011-11-15 Ulrich Drepper <drepper@gmail.com>
12451
9d65ea3a 12452 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12453 O_CLOEXEC.
12454 * locale/loadlocale.c (_nl_load_locale): Likewise.
12455
09f93bd3
AS
124562011-11-15 Andreas Schwab <schwab@redhat.com>
12457
446514f9
AS
12458 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12459 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12460 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12461 (SYSCALL_GETTIME): Set errno on error.
12462
09f93bd3
AS
12463 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12464 count references to noai6ai_cached.
12465
312be3f9
UD
124662011-11-15 Ulrich Drepper <drepper@gmail.com>
12467
12468 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12469
12470 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12471 FD_CLOEXEC for /proc/self/maps.
12472
12473 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12474 FD_CLOEXEC for /proc/meminfo.
12475
12476 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12477 gai.conf.
12478
12479 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12480 FD_CLOEXEC for given file.
12481
12482 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12483
12484 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12485 FD_CLOEXEC for /etc/hosts.
12486 (_gethtent): Likewise.
12487
12488 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12489
12490 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12491 cancellation and set FD_CLOEXEC for /etc/netgroup.
12492
12493 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12494 reading /etc/publickey.
12495
12496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12497 allow cancellation when reading /etc/group.
12498
12499 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12500 cancellation.
12501 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12502
12503 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12504 when using data file.
12505
12506 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12507
12508 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12509 (write_nis_obj): Use "c" and "e" in fopen.
12510
12511 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12512
12513 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12514
12515 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12516
12517 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12518
12519 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12520 locale.alias.
12521
12522 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12523
12524 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12525
12526 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12527
12528 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12529 file parsing and set FD_CLOEXEC.
12530
82af0fa8
UD
125312011-11-14 Ulrich Drepper <drepper@gmail.com>
12532
12533 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12534
a5fb313c
AS
125352011-11-14 Andreas Schwab <schwab@redhat.com>
12536
12537 * malloc/arena.c (arena_get2): Don't call reused_arena when
12538 _int_new_arena failed.
12539
6abf3465
UD
125402011-11-14 Ulrich Drepper <drepper@gmail.com>
12541
12542 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12543 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12544 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12545 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12546 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12547 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12548 to compile strcasecmp and strncasecmp.
12549 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12550 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12551
12552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12553
76e3966e
UD
125542011-11-13 Ulrich Drepper <drepper@gmail.com>
12555
12556 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12557 locale-defines.sym to gen-as-const-headers.
12558 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12559 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12561 to compile strcasecmp and strncasecmp.
12562 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12563 strcasecmp_l and strncasecmp_l.
12564 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12565 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12566 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12567 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12568 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12569 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12570 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12571 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12572 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12573 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12574 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12575
ab26144e
UD
125762011-11-12 Ulrich Drepper <drepper@gmail.com>
12577
7edb22ef
UD
12578 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12579 result of SYSDEP_GETTIME_CPU to retval.
12580 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12581 parameter list to macro. Remove trailing semicolon. Adjust users.
12582
9694fc44
UD
12583 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12584 variable.
12585
8ad89ef8
UD
12586 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12587 mantissa words.
12588 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12589
0c822ef9
UD
12590 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12591 from unused variable.
12592
874e0564
UD
12593 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12594 DWARF definitions.
12595 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12596 for assembling.
12597
3a2edc79
UD
12598 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12599 over namespaces.
12600
f3c2577f
UD
12601 * sunrpc/rpc_prot.c (rejected): Fix case value.
12602
294ce126
UD
12603 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12604 unsigned long long int to avoid warnings in shift.
12605
5e2b63c6
UD
12606 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12607 of use of trans.
12608 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12609 variable tmp.
12610
e7f4b08e
UD
12611 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12612 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12613 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12614
ab26144e
UD
12615 * nis/nis_table.c (nis_list): Use variable of correct type for
12616 result of __follow_path call.
12617
8a6d5255
AZ
126182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12619
12620 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12621 of math functions ceil, trunc, floor, round, and sqrt, when
12622 avaliable on the platform.
12623 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12624 name clash.
12625 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12626 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12627 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12628
aaddc98c
MP
126292011-10-30 Marek Polacek <mpolacek@redhat.com>
12630
12631 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12632 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12633
95b7042b
RM
126342011-11-11 Roland McGrath <roland@hack.frob.com>
12635
12636 * include/unistd.h: Fix __readlink return type.
12637 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12638
57769839
UD
126392011-11-11 Ulrich Drepper <drepper@gmail.com>
12640
12641 * stdlib/ucontext.h: Undo last change for makecontext.
12642
edc5984d
AS
126432011-11-11 Andreas Schwab <schwab@redhat.com>
12644
98591e58
AS
12645 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12646
edc5984d
AS
12647 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12648 * setjmp/setjmp.h: Mark functions as non-leaf.
12649 * setjmp/bits/setjmp2.h: Likewise.
12650 * stdlib/ucontext.h: Likewise.
12651
77cdc054
AS
126522011-11-10 Andreas Schwab <schwab@redhat.com>
12653
12654 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12655 (reused_arena): Don't check arena limit.
12656 (arena_get2): Atomically check arena limit.
12657
fe72eebd
UD
126582011-11-08 Ulrich Drepper <drepper@gmail.com>
12659
5f078c32
UD
12660 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12661 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12662
fe72eebd
UD
12663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12664 instructions.
12665
ae1bc2fa
AS
126662011-11-07 Andreas Schwab <schwab@redhat.com>
12667
7583a88d
AS
12668 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12669 handler when locking.
12670
ae1bc2fa
AS
12671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12672 Fix size of allocated buffer.
12673
10fb0bfa
AS
126742011-11-04 Andreas Schwab <schwab@redhat.com>
12675
998832a4
AS
12676 [BZ #10103]
12677 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12678 declarations for long double functions.
12679 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12680
10fb0bfa
AS
12681 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12682
3d7ba52b
AS
126832011-11-03 Andreas Schwab <schwab@redhat.com>
12684
a9ae54a1
AS
12685 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12686 installed.
12687
3d7ba52b
AS
12688 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12689 is disabled.
12690
bc8db248
ST
126912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12692
12693 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12694
45b96dd6
AS
126952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12696
647776f6
AS
12697 * include/alloca.h (stackinfo_alloca_round): Define.
12698 (extend_alloca): Use it.
12699 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12700 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12701 here.
12702
d91a8b93
AS
12703 * scripts/check-local-headers.sh: Ignore libaudit.h.
12704
45b96dd6
AS
12705 * nscd/Makefile (extra-objs): Make recursively expanded.
12706
432d41ce
UD
127072011-11-01 Ulrich Drepper <drepper@gmail.com>
12708
34372fc6
UD
12709 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12711
fadb59f8
UD
12712 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12713 * posix/tst-rfc3484-2.c: Likewise.
12714 * posix/tst-rfc3484-3.c: Likewise.
12715
78239589
UD
12716 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12717 process_vm_writev.
12718 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12719 process_vm_writev.
12720 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12721 process_vm_writev from libc using GLIBC_2.15 version.
12722
432d41ce
UD
12723 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12724
02f9c6cf
PP
127252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12726
12727 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12728 stack usage.
12729
3a2c0242
UD
127302011-10-31 Ulrich Drepper <drepper@gmail.com>
12731
f4ec4833
UD
12732 [BZ #13367]
12733 * nss/getent.c (initgroups_keys): Show error message in case no group
12734 names are given.
12735
3a2c0242
UD
12736 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12737 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12738 __bump_nl_timestamp.
12739 * nscd/connections (nscd_init): When host database is served open
12740 netlink socket and request notification about configuration changes.
12741 (main_loop_poll): Track netlink file descriptor and bump timestamp
12742 in case data becomes available.
12743 (main_loop_epoll): Likewise.
12744 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12745 (database_pers_head): Add extra_data fileds.
12746 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12747 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12748 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12749 Adjust caller.
12750 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12751 in6ai data, call __free_in6ai.
12752 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12753 Add -DHAVE_NETLINK.
12754 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12755 interface information. Reuse previous data if netlink timestamp
12756 is not changed.
12757 (__bump_nl_timestamp): New function.
12758 (__free_in6ai): New function.
12759
636064eb
UD
127602011-10-30 Ulrich Drepper <drepper@gmail.com>
12761
12762 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12763 close_not_cancel_no_status here.
12764 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12765
9beb2334
UD
127662011-10-29 Ulrich Drepper <drepper@gmail.com>
12767
6ef76f3b
UD
12768 [BZ #13276]
12769 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12770 return value.
12771
0ffc4f3e 12772 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12773 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12774 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12775
cb95113e
UD
127762011-07-03 Andreas Jaeger <aj@suse.de>
12777
12778 [BZ #10709]
12779 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12780 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12781 * math/libm-test.inc (sin_test): Add test case.
12782
a1b560ff
UD
127832011-10-29 Ulrich Drepper <drepper@gmail.com>
12784
c9aaface
UD
12785 [BZ #13337]
12786 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12787 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12788
d272e7f1
UD
12789 * elf/chroot_canon.c (chroot_canon): Cleanups.
12790
1bc33071
UD
12791 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12792
1760874d
TJ
12793 [BZ #13335]
12794 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12795 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12796
51d91b18
UD
12797 * string/test-strchr.c: Make usable for strchrnul testing.
12798 * string/test-strchrnul.c: New file.
12799 * string/Makefile (strop-tests): Add strchrnul.
12800
a1b560ff 12801 * po/it.po: Update from translation team.
b611fb81 12802 * po/es.po: Likewise.
a1b560ff 12803
a5b81e1f
UD
128042011-10-28 Ulrich Drepper <drepper@gmail.com>
12805
fd52bc6d
UD
12806 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12807 the three constants needed as parameters. Drop the others.
12808 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12809 __m128i_strloadu_tolower.
52e4b9eb
UD
12810 Create and initialize variable zero and use it in all the places
12811 where _mm_setzero_si128 was used.
fd52bc6d 12812
a5b81e1f
UD
12813 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12814 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12815 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12816 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12817 anymore.
12818 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12819 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12820 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12821 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12822 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12823 __mpranred, __mptan.
12824 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12825 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12826 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12827 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12828 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12829 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12830 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12831 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12832 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12833
b4343346
AS
128342011-10-28 Andreas Schwab <schwab@redhat.com>
12835
0c92d8a8
AS
12836 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12837 redefine if SHARED.
12838 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12839
b4343346
AS
12840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12841 wide char related routines to wcsmbs subdir.
12842
3871f58f
AS
128432011-10-27 Andreas Schwab <schwab@redhat.com>
12844
12845 [BZ #13344]
12846 * misc/sys/cdefs.h (__THROWNL): Define.
12847 * posix/unistd.h: Use __THREADNL instead of __THREAD
12848 for memory synchronization functions.
12849
94d44d9f
RM
128502011-10-26 Roland McGrath <roland@hack.frob.com>
12851
21b64b15 12852 [BZ #13349]
94d44d9f
RM
12853 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12854 doesn't exist.
12855 * manual/stdio.texi (Obstack Streams): Node removed.
12856
f6ce9294
AS
128572011-10-26 Andreas Schwab <schwab@redhat.com>
12858
80479147
AS
12859 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12860 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12861 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12862
f6ce9294
AS
12863 * math/math_private.h (math_force_eval): Allow non-addressable
12864 arguments.
12865 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12866
618280a1
UD
128672011-10-25 Ulrich Drepper <drepper@gmail.com>
12868
e0016b11
UD
12869 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12870 file is not needed.
12871
12872 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12873 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12874 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12875 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12878 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12879 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12880 Add AVX variants.
12881 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12882 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12883 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12884 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12885 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12886 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12887 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12888 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12889 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12890 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12891 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12892 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12893 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12894 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12895 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12896 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12897 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12898 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12899 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12900
12901 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12902 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12903
618280a1
UD
12904 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12905 place. Use VEX encoding when compiling for AVX.
12906
37822576
AS
129072011-10-25 Andreas Schwab <schwab@redhat.com>
12908
1f1e1947
AS
12909 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12910 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12911
37822576
AS
12912 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12913
31ea014d
UD
129142011-10-25 Ulrich Drepper <drepper@gmail.com>
12915
d7826aa1 12916 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12917 useless if() expression.
d7826aa1
UD
12918 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12919 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12920 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12921 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12922 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12923 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12927 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12928 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12929 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12930 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12931 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12932 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12933 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12934 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12936 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12937
31ea014d
UD
12938 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12939
16437fec
AS
129402011-10-25 Andreas Schwab <schwab@redhat.com>
12941
12942 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12943 condition.
12944 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12945
31d3cc00
UD
129462011-10-25 Ulrich Drepper <drepper@gmail.com>
12947
12948 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12949 .text section. Avoid duplicate constants.
12950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12959 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12960 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12961 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12962 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12963 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12964 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12965 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12966 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12967 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12968 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12970 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12971 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12972 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12973 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12974 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12975 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12976 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12977 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12978 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12979 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12980 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12981 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12982 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12983 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12984 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12985 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12986 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12987 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12988 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12989 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12991 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12992 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12993 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12994 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12995
58985aa9
UD
129962011-10-24 Ulrich Drepper <drepper@gmail.com>
12997
202c9deb
UD
12998 * sysdeps/x86_64/dla.h: Move to ...
12999 * sysdeps/x86_64/fpu/dla.h: ...here.
13000 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13001 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13002
af968f62
UD
13003 * config.make.in: Add have-mfma4 entry.
13004 * configure.in: Substitute libc_cv_cc_fma4.
13005 * math/Makefile (dbl-only-routines): Add sincostab.
13006 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13007 Use __sincostab not sincos.
13008 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13009 name is a macro.
13010 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13014 using __copysign.
13015 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13016 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13017 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13018 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13019 and __inv.
13020 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13021 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13022 __copysign.
13023 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13024 define aliases when function name is a macro.
13025 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13026 sysdeps/ieee754/dbl-64/sincos.tbl.
13027 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13028 fma4-enabled routines.
13029 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13030 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13031 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13032 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13033 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13034 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13036 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13037 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13038 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13039 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13040 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13041 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13042 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13043 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13044 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13045 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13046 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13047 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13048 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13049 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13050 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13051 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13052 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13053 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13054 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13055 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13056 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13057 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13058 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13059
58985aa9
UD
13060 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13061 rename.
13062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13070
a201fbcf
AS
130712011-10-24 Andreas Schwab <schwab@redhat.com>
13072
13073 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13074
fc2ee42a
LD
130752011-10-23 Ulrich Drepper <drepper@gmail.com>
13076
bb3129bd
UD
13077 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13078
0275fff8
UD
13079 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13080 prediction.
13081 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13082
2fa2ae85
UD
13083 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13084 Remove unused variable magic_bits.
13085 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13086
fc2ee42a
LD
13087 * string/strnlen.c: Define and use STRNLEN macro.
13088 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13089 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13090 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13091 * wcsmbs/wcslen.c: Define and use WCSLEN.
13092 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13093 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13094 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13095 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13096 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13097 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13098 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13099
ce7dd29f
LD
131002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13101
13102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13103 strnlen-sse2-no-bsf.
13104 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13106 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13107 Add strnlen support.
13108 (USE_AS_STRNLEN): New macro.
13109 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13110 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13111 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13112 * sysdeps/x86_64/wcslen.S: New file.
13113
979c70a3
MZ
131142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13115
13116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13117 XMM-moves are used for copying on small sizes.
13118
2d09f82f
LD
131192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13120
13121 * wcsmbs/Makefile (strop-tests): Add wcschr.
13122 * wcsmbs/test-wcschr.c: New file.
13123 * string/test-strchr.c: Update.
13124 Add wcschr support.
13125 (WIDE): New macro.
13126
619fccca
LD
131272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13128
2d09f82f 13129 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13130 * wcsmbs/test-wcslen.c: New file.
13131 * string/test-strlen.c: Update.
13132 Add wcslen support.
13133 (WIDE): New macro.
13134
09f699ea
UD
131352011-10-23 Ulrich Drepper <drepper@gmail.com>
13136
13137 * po/it.po: Update from translation team.
13138
95584d3b
LD
131392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13140
13141 * sysdeps/x86_64/wcscmp.S: Update.
13142 Fix wrong comparison semantics.
13143 wcscmp shall use signed comparison not unsigned.
13144 Don't use substraction to avoid overflow bug.
13145 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13146 * wcsmbc/wcscmp.c: Likewise.
13147 * string/test-strcmp.c: Likewise.
13148 Add new tests to check cases with negative values.
13149
c8b3296b
UD
131502011-10-23 Ulrich Drepper <drepper@gmail.com>
13151
13152 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13153 * sysdeps/x86_64/dla.h: ...here. New file.
13154 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13155 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13157 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13158 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13163
246ad57a
AS
131642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13165
13166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13167 __ynl_finite aliases.
13168
a1a87169
UD
131692011-10-22 Ulrich Drepper <drepper@gmail.com>
13170
0d355eb7
UD
13171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13172
a1a87169
UD
13173 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13174 define DLA_FMA.
13175 [DLA_FMA] (EMULV): Use DLA_FMA.
13176 [DLA_FMA] (MUL12): Use EMULV.
13177 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13178 that are not needed.
13179 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13186
ee2aafe0
AS
131872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13188
13189 * math/s_nan.c: Undef __nan.
13190 * math/s_nanf.c: Undef __nanf.
13191 * math/s_nanl.c: Undef __nanl.
13192 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13193 "math_private.h".
13194
bc62c2fb
UD
131952011-10-22 Ulrich Drepper <drepper@gmail.com>
13196
77425c63
UD
13197 * math/s_catan.c: Add branch predictions.
13198 * math/s_catanf.c: Likewise.
13199 * math/s_catanh.c: Likewise.
13200 * math/s_catanhf.c: Likewise.
13201 * math/s_catanhl.c: Likewise.
13202 * math/s_catanl.c: Likewise.
13203 * math/s_cexp.c: Likewise.
13204 * math/s_cexpf.c: Likewise.
13205 * math/s_cexpl.c: Likewise.
13206 * math/s_clog.c: Likewise.
13207 * math/s_clog10.c: Likewise.
13208 * math/s_clog10f.c: Likewise.
13209 * math/s_clog10l.c: Likewise.
13210 * math/s_clogf.c: Likewise.
13211 * math/s_clogl.c: Likewise.
13212 * math/s_csqrt.c: Likewise.
13213 * math/s_csqrtf.c: Likewise.
13214 * math/s_csqrtl.c: Likewise.
13215 * math/s_ctanf.c: Likewise.
13216 * math/s_ctanh.c: Likewise.
13217 * math/s_ctanhf.c: Likewise.
13218 * math/s_ctanhl.c: Likewise.
13219 * math/s_ctanl.c: Likewise.
13220
bc62c2fb
UD
13221 * math/math_private.h: Define __nan, __nanf, __nanl.
13222 * math/s_cacosh.c: Include <math_private.h>.
13223 * math/s_cacoshl.c: Likewise.
13224 * math/s_casinh.c: Likewise.
13225 * math/s_casinhf.c: Likewise.
13226 * math/s_casinhl.c: Likewise.
13227 * math/s_ccos.c: Rely entire on ccosh.
13228 * math/s_ccosf.c: Rely entire on ccoshf.
13229 * math/s_ccosl.c: Rely entirely on ccoshl.
13230 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13231 Remove tests for FE_INVALID.
13232 * math/s_ccoshf.c: Likewise.
13233 * math/s_ccoshl.c: Likewise.
13234 * math/s_csin.c: Likewise.
13235 * math/s_csinf.c: Likewise.
13236 * math/s_csinh.c Likewise.
13237 * math/s_csinhf.c: Likewise.
13238 * math/s_csinhl.c: Likewise.
13239 * math/s_csinl.c: Likewise.
13240 * math/s_ctan.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13242 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13243 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13244
8ec250a4
UD
132452011-10-21 Ulrich Drepper <drepper@gmail.com>
13246
c196fed8
UD
13247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13248 compilation problems.
13249
8ec250a4
UD
13250 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13251 __builtin_expect.
13252
8d4f46c6
UD
132532011-10-20 Ulrich Drepper <drepper@gmail.com>
13254
ed72b654
UD
13255 * sysdeps/i386/configure.in: Test for -mfma4 option.
13256 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13257 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13258 COMMON_CPUID_INDEX_80000001.
13259 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13260 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13261 use it if FMA3 is not supported.
13262 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13263
8d4f46c6
UD
13264 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13265 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13266
d45c60c2
AS
132672011-10-20 Andreas Schwab <schwab@redhat.com>
13268
13269 [BZ #12892]
13270 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13271 it would create a cycle with a link time dependency.
13272
d9a4d2ab
UD
132732011-10-19 Ulrich Drepper <drepper@gmail.com>
13274
855d1560
UD
13275 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13276 instruction.
13277 * string/Makefile (strop-tests): Add rawmemchr.
13278 * string/test-rawmemchr.c: New file.
13279
d9a4d2ab
UD
13280 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13281 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13282 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13283 when compiling str{,n}casecmp and when AVX is available. Hook up
13284 new optimized code in initializers.
13285
8f3b1ffe
AS
132862011-10-19 Andreas Schwab <schwab@redhat.com>
13287
13288 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13289 __feraiseexcept instead of feraiseexcept.
13290
d38f1dba
UD
132912011-10-18 Ulrich Drepper <drepper@gmail.com>
13292
d9a8d0ab
UD
13293 * math/math_private.h: Define defaults for libc_fetestexcept and
13294 libc_feupdateenv.
13295 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13296 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13297 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13298 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13299 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13300 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13301 libc_fetestexcept and libc_feupdateenv.
13302
4855e3dd
UD
13303 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13304 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13305 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13306 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13307 libc_feholdexcept_setround.
13308
581d30e3
UD
13309 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13310 Add s_nearbyint-c and s_nearbyintf-c.
13311 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13312 nearbyintf inlines.
13313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13314 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13316 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13317
d38f1dba
UD
13318 * math/math_private.h: Define defaults for libc_fegetround,
13319 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13320 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13321 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13322 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13323 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13324 standard functions.
13325 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13326 Remove comments and hacks for old compiler versions.
13327 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13328 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13329 libc_feholdexceptl.
13330
caa6c9d8
AS
133312011-10-18 Andreas Schwab <schwab@redhat.com>
13332
13333 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13334 (__feraiseexcept_renamed): Add __NTH.
13335 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13336 namespace violations.
13337
97c066e6
UD
133382011-10-17 Ulrich Drepper <drepper@gmail.com>
13339
99ce7b04
UD
13340 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13341
1004d182
UD
13342 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13343
228a984d
UD
13344 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13345 recently added interfaces.
13346 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13347
c8553a6a
UD
13348 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13349 about macro parameter expansion.
13350
ed22dcf6
UD
13351 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13352 __NO_MATH_INLINES is defined. Cleanups.
13353
13354 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13355 and __floorf is target has SSE4.1.
13356 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13357 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13358 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13359 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13360
b171c137
UD
13361 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13362 name.
13363 (floorf): Likewise.
13364
97c066e6
UD
13365 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13366
629f62ef
AS
133672011-10-17 Andreas Schwab <schwab@redhat.com>
13368
49a43d80
AS
13369 * misc/sys/cdefs.h: Fix last change.
13370
629f62ef
AS
13371 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13372 database lookup.
13373
e453f6cd
UD
133742011-10-16 Ulrich Drepper <drepper@gmail.com>
13375
aa78043a
UD
13376 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13377
ad0f5cad
UD
13378 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13379 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13384 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13385 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13386 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13387 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13388 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13389 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13390 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13391 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13392 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13393 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13394 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13395 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13396 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13397 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13398 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13399 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13400
13401 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13402 ceil, ceilf, floor, floorf.
13403
13404 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13405 Perform IRELATIVE relocations last.
13406
e453f6cd
UD
13407 * elf/do-rel.h: Add another parameter nrelative, replacing the
13408 local variable with the same name. Change name of the function
13409 to end in Rel or Rela (uppercase).
13410 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13411 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13412 elf_dynamic_do_##reloc function.
13413
fd5bdc09
UD
134142011-10-15 Ulrich Drepper <drepper@gmail.com>
13415
79b195b5
UD
13416 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13417 is sufficient, at least on modern CPUs.
13418
d4a28569
UD
13419 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13420
b61099b5
UD
13421 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13422 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13423
bcf01e6d
UD
13424 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13425 __expl_finite.
13426 * math/bits/math-finite.h: Add entries for exp.
13427 * math/e_expl.c: Add __*_finite alias.
13428 * sysdeps/i386/fpu/e_exp.S: Likewise.
13429 * sysdeps/i386/fpu/e_expf.S: Likewise.
13430 * sysdeps/i386/fpu/e_expl.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13432 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13436 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13437 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13438
ba1a0d59
UD
13439 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13440 is sufficient, at least on modern CPUs.
13441
fd5bdc09
UD
13442 * ctype/ctype-info.c (__ctype_init): Define.
13443 * include/ctype.h (__ctype_init): Declare.
13444 (__ctype_b_loc): The variable is always initialized.
13445 (__ctype_toupper_loc): Likewise.
13446 (__ctype_tolower_loc): Likewise.
13447 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13448 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13449
7872cfb0
AS
134502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13451
b468825a
AS
13452 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13453
7872cfb0
AS
13454 * configure.in: Also look in $cxxmachine/include for C++ system
13455 headers.
13456
be13f7bf
LD
134572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13458
13459 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13460 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13461 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13462 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13463 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13464 (USE_AS_WMEMCMP): New macro.
13465 Fixing indents.
13466 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13467 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13468 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13469 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13471 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13472 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13473 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13474 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13475 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13477 (USE_AS_WMEMCMP): New macro.
13478 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13479 * sysdeps/string/test-memcmp.c: Update.
13480 Fix simple_wmemcmp.
13481 Add new tests.
13482 * wcsmbs/wmemcmp.c: Update.
13483 (WMEMCMP): New macro.
13484 Fix overflow bug.
13485
556a2007
AJ
134862011-10-12 Andreas Jaeger <aj@suse.de>
13487
13488 [BZ #13268]
13489 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13490
538faaa7
UD
134912011-10-15 Ulrich Drepper <drepper@gmail.com>
13492
ab6737ff
UD
13493 * libio/iofwide.c (do_length): Avoid warning.
13494
538faaa7
UD
13495 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13496
396a21b1
UD
134972011-10-14 Ulrich Drepper <drepper@gmail.com>
13498
cdf2901f
UD
13499 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13500
38ad40ce
UD
13501 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13502 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13503 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13504 * sysdeps/i386/i686/fpu/e_log.S: New file.
13505 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13506 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13507
396a21b1
UD
13508 * ctype/ctype.h: Add support for inlined isXXX functions when
13509 compiling C++ code.
13510
6b1f68c9
AS
135112011-10-14 Andreas Schwab <schwab@redhat.com>
13512
349290c0
AS
13513 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13514
6b1f68c9
AS
13515 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13516
f2282d42
RM
135172011-10-13 Roland McGrath <roland@hack.frob.com>
13518
13519 [BZ #13291]
13520 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13521
5298ffa8
AS
135222011-10-13 Andreas Schwab <schwab@redhat.com>
13523
714fad23
AS
13524 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13525 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13526 feraiseexcept.
13527
81dcc7fb
AS
13528 * sysdeps/x86_64/memrchr.S: Check for zero size.
13529
5298ffa8
AS
13530 * string/stratcliff.c: Add memrchr tests.
13531
951fbcec
LD
135322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13533
13534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13535 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13536 rawmemchr-sse2 rawmemchr-sse2-bsf.
13537 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13538 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13539 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13540 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13541 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13542 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13543 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13544 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13545 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13546 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13547 * string/memrchr.c (MEMRCHR): New macro.
13548
0ac5ae23
UD
135492011-10-12 Ulrich Drepper <drepper@gmail.com>
13550
13551 Add integration with gcc's -ffinite-math-only and optimize wrapper
13552 functions in libm.
13553 * Versions.def: Define GLIBC_2.15 version for libm.
13554 * math/Makefile (headers): Add bits/math-finite.h.
13555 * math/bits/math-finite.h: New file.
13556 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13557 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13558 * math/e_acoshl.c: Add __*_finite alias.
13559 * math/e_acosl.c: Likewise.
13560 * math/e_asinl.c: Likewise.
13561 * math/e_atan2l.c: Likewise.
13562 * math/e_atanhl.c: Likewise.
13563 * math/e_coshl.c: Likewise.
13564 * math/e_exp10.c: Likewise.
13565 * math/e_exp10f.c: Likewise.
13566 * math/e_exp10l.c: Likewise.
13567 * math/e_exp2l.c: Likewise.
13568 * math/e_fmodl.c: Likewise.
13569 * math/e_gammal_r.c: Likewise.
13570 * math/e_hypotl.c: Likewise.
13571 * math/e_j0l.c: Likewise.
13572 * math/e_j1l.c: Likewise.
13573 * math/e_jnl.c: Likewise.
13574 * math/e_lgammal_r.c: Likewise.
13575 * math/e_log10l.c: Likewise.
13576 * math/e_log2l.c: Likewise.
13577 * math/e_logl.c: Likewise.
13578 * math/e_powl.c: Likewise.
13579 * math/e_sinhl.c: Likewise.
13580 * math/e_sqrtl.c: Likewise.
13581 * math/e_scalb.c: Completely rewritten and optimized.
13582 * math/e_scalbf.c: Likewise.
13583 * math/e_scalbl.c: Likewise.
13584 * math/w_acos.c: Likewise.
13585 * math/w_acosf.c: Likewise.
13586 * math/w_acosl.c: Likewise.
13587 * math/w_acosh.c: Likewise.
13588 * math/w_acoshf.c: Likewise.
13589 * math/w_acoshl.c: Likewise.
13590 * math/w_asin.c: Likewise.
13591 * math/w_asinf.c: Likewise.
13592 * math/w_asinl.c: Likewise.
13593 * math/w_atan2.c: Likewise.
13594 * math/w_atan2f.c: Likewise.
13595 * math/w_atan2l.c: Likewise.
13596 * math/w_atanh.c: Likewise.
13597 * math/w_atanhf.c: Likewise.
13598 * math/w_atanhl.c: Likewise.
13599 * math/w_exp10.c: Likewise.
13600 * math/w_exp10f.c: Likewise.
13601 * math/w_exp10l.c: Likewise.
13602 * math/w_fmod.c: Likewise.
13603 * math/w_fmodf.c: Likewise.
13604 * math/w_fmodl.c: Likewise.
13605 * math/w_j0.c: Likewise.
13606 * math/w_j0f.c: Likewise.
13607 * math/w_j0l.c: Likewise.
13608 * math/w_j1.c: Likewise.
13609 * math/w_j1f.c: Likewise.
13610 * math/w_j1l.c: Likewise.
13611 * math/w_jn.c: Likewise.
13612 * math/w_jnf.c: Likewise.
13613 * math/w_log.c: Likewise.
13614 * math/w_logf.c: Likewise.
13615 * math/w_logl.c: Likewise.
13616 * math/w_log10.c: Likewise.
13617 * math/w_log10f.c: Likewise.
13618 * math/w_log10l.c: Likewise.
13619 * math/w_log2.c: Likewise.
13620 * math/w_log2f.c: Likewise.
13621 * math/w_log2l.c: Likewise.
13622 * math/w_pow.c: Likewise.
13623 * math/w_powf.c: Likewise.
13624 * math/w_powl.c: Likewise.
13625 * math/w_remainder.c: Likewise.
13626 * math/w_remainderf.c: Likewise.
13627 * math/w_remainderl.c: Likewise.
13628 * math/w_scalb.c: Likewise.
13629 * math/w_scalbf.c: Likewise.
13630 * math/w_scalbl.c: Likewise.
13631 * math/w_sqrt.c: Likewise.
13632 * math/w_sqrtf.c: Likewise.
13633 * math/w_sqrtl.c: Likewise.
13634 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13635 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13636 used.
13637 * math/math_private.h: Declare __kernel_standard_f.
13638 * math/w_cosh.c: Remove cruft and optimize a bit.
13639 * math/w_coshf.c: Likewise.
13640 * math/w_coshl.c: Likewise.
13641 * math/w_exp2.c: Likewise.
13642 * math/w_exp2f.c: Likewise.
13643 * math/w_exp2l.c: Likewise.
13644 * math/w_hypot.c: Likewise.
13645 * math/w_hypotf.c: Likewise.
13646 * math/w_hypotl.c: Likewise.
13647 * math/w_lgamma.c: Likewise.
13648 * math/w_lgamma_r.c: Likewise.
13649 * math/w_lgammaf.c: Likewise.
13650 * math/w_lgammaf_r.c: Likewise.
13651 * math/w_lgammal.c: Likewise.
13652 * math/w_lgammal_r.c: Likewise.
13653 * math/w_sinh.c: Likewise.
13654 * math/w_sinhf.c: Likewise.
13655 * math/w_sinhl.c: Likewise.
13656 * math/w_tgamma.c: Likewise.
13657 * math/w_tgammaf.c: Likewise.
13658 * math/w_tgammal.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13660 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13661 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13662 Minor optimizations. Pretty printing. Remove cruft.
13663 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13664 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13665 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13666 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13667 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13668 * sysdeps/i386/fpu/e_asin.S: Likewise.
13669 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13670 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13671 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13672 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13673 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13674 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13675 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13676 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13677 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13678 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13679 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13680 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13681 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13682 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13683 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13684 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13685 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13686 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13687 * sysdeps/i386/fpu/e_log.S: Likewise.
13688 * sysdeps/i386/fpu/e_log10.S: Likewise.
13689 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13690 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13691 * sysdeps/i386/fpu/e_log2.S: Likewise.
13692 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13693 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13694 * sysdeps/i386/fpu/e_logf.S: Likewise.
13695 * sysdeps/i386/fpu/e_logl.S: Likewise.
13696 * sysdeps/i386/fpu/e_pow.S: Likewise.
13697 * sysdeps/i386/fpu/e_powf.S: Likewise.
13698 * sysdeps/i386/fpu/e_powl.S: Likewise.
13699 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13700 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13701 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13702 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13703 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13704 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13705 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13706 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13707 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13729 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13730 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13731 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13732 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13733 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13734 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13735 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13736 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13737 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13738 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13739 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13740 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13742 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13743 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13744 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13745 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13746 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13747 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13748 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13749 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13799 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13801 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13802 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13803 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13804 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13805 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13806 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13807 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13808 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13809 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13810 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13811 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13812 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13813 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13814 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13815 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13816 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13817 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13818 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13819 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13820 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13821 (__isnanf): Likewise.
13822 (__isinf_ns): Likewise.
13823 (__isinf_nsf): Likewise.
13824 (__finite): Likewise.
13825 (__finitef): Likewise.
13826 (__ieee754_sqrt): Define as macro.
13827 (__ieee754_sqrtf): Define as macro.
13828 (__ieee754_sqrtl): Define as macro.
13829 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13830 inlined copy.
13831 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13832 __FINITE_MATH_ONLY__ consistent.
13833 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13834
12cc2fcd
AS
138352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13836
a843a204
AS
13837 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13838 of rawmemchr.
13839
12cc2fcd
AS
13840 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13841
c853acd5
UD
138422011-10-09 Ulrich Drepper <drepper@gmail.com>
13843
13844 * po/ja.po: Update from translation team.
13845
c658d255
RM
138462011-10-08 Roland McGrath <roland@hack.frob.com>
13847
110946e4
RM
13848 * locale/programs/locarchive.c (prepare_address_space): New function.
13849 (create_archive, enlarge_archive, open_archive): Use it.
13850
50604220
RM
13851 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13852 inside [SHARED], where it is used.
13853
c658d255
RM
13854 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13855
13856 * nss/getent.c (netgroup_keys): Remove unused variable.
13857 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13858
6a621eb7
UD
138592011-10-08 Ulrich Drepper <drepper@gmail.com>
13860
7edb55ce
UD
13861 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13862 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13864 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13865 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13866 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13867 * math/Makefile (libm-calls): Add s_isinf_ns.
13868 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13869 * math/multc3.c: Likewise.
13870 * math/s_casin.c: Likewise.
13871 * math/s_casinf.c: Likewise.
13872 * math/s_casinl.c: Likewise.
13873 * math/s_ccos.c: Likewise.
13874 * math/s_ccosf.c: Likewise.
13875 * math/s_ccosl.c: Likewise.
13876 * math/s_ctan.c: Likewise.
13877 * math/s_ctanf.c: Likewise.
13878 * math/s_ctanh.c: Likewise.
13879 * math/s_ctanhf.c: Likewise.
13880 * math/s_ctanhl.c: Likewise.
13881 * math/s_ctanl.c: Likewise.
13882 * math/w_fmod.c: Likewise.
13883 * math/w_fmodf.c: Likewise.
13884 * math/w_fmodl.c: Likewise.
13885 * math/w_remainder.c: Likewise.
13886 * math/w_remainderf.c: Likewise.
13887 * math/w_remainderl.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13889 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13890 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13892 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13893 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13894 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13895 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13896
187da0ae
UD
13897 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13898 of the number.
13899 * stdio-common/printf_fphex.c: Likewise.
13900 * stdio-common/printf_size.c: Likewise.
13901
9277c064
UD
13902 * math/e_exp10.c: Include math_private.h using <...> not "...".
13903 * math/e_exp10f.c: Likewise.
13904 * math/e_exp10l.c: Likewise.
13905 * math/e_exp2l.c: Likewise.
13906 * math/e_j0l.c: Likewise.
13907 * math/e_j1l.c: Likewise.
13908 * math/e_jnl.c: Likewise.
13909 * math/e_lgammal_r.c: Likewise.
13910 * math/e_rem_pio2l.c: Likewise.
13911 * math/e_scalb.c: Likewise.
13912 * math/e_scalbf.c: Likewise.
13913 * math/e_scalbl.c: Likewise.
13914 * math/k_cosl.c: Likewise.
13915 * math/k_sinl.c: Likewise.
13916 * math/k_tanl.c: Likewise.
13917 * math/s_cacoshf.c: Likewise.
13918 * math/s_catan.c: Likewise.
13919 * math/s_catanf.c: Likewise.
13920 * math/s_catanh.c: Likewise.
13921 * math/s_catanhf.c: Likewise.
13922 * math/s_catanhl.c: Likewise.
13923 * math/s_catanl.c: Likewise.
13924 * math/s_ccosh.c: Likewise.
13925 * math/s_ccoshf.c: Likewise.
13926 * math/s_ccoshl.c: Likewise.
13927 * math/s_cexp.c: Likewise.
13928 * math/s_cexpf.c: Likewise.
13929 * math/s_cexpl.c: Likewise.
13930 * math/s_clog.c: Likewise.
13931 * math/s_clog10.c: Likewise.
13932 * math/s_clog10f.c: Likewise.
13933 * math/s_clog10l.c: Likewise.
13934 * math/s_clogf.c: Likewise.
13935 * math/s_clogl.c: Likewise.
13936 * math/s_csin.c: Likewise.
13937 * math/s_csinf.c: Likewise.
13938 * math/s_csinh.c: Likewise.
13939 * math/s_csinhf.c: Likewise.
13940 * math/s_csinhl.c: Likewise.
13941 * math/s_csinl.c: Likewise.
13942 * math/s_csqrt.c: Likewise.
13943 * math/s_csqrtf.c: Likewise.
13944 * math/s_csqrtl.c: Likewise.
13945 * math/s_ctan.c: Likewise.
13946 * math/s_ctanf.c: Likewise.
13947 * math/s_ctanh.c: Likewise.
13948 * math/s_ctanhf.c: Likewise.
13949 * math/s_ctanhl.c: Likewise.
13950 * math/s_ctanl.c: Likewise.
13951 * math/s_ldexp.c: Likewise.
13952 * math/s_ldexpf.c: Likewise.
13953 * math/s_ldexpl.c: Likewise.
13954 * math/s_significand.c: Likewise.
13955 * math/s_significandf.c: Likewise.
13956 * math/s_significandl.c: Likewise.
13957 * math/w_acos.c: Likewise.
13958 * math/w_acosf.c: Likewise.
13959 * math/w_acosh.c: Likewise.
13960 * math/w_acoshf.c: Likewise.
13961 * math/w_acoshl.c: Likewise.
13962 * math/w_acosl.c: Likewise.
13963 * math/w_asin.c: Likewise.
13964 * math/w_asinf.c: Likewise.
13965 * math/w_asinl.c: Likewise.
13966 * math/w_atan2.c: Likewise.
13967 * math/w_atan2f.c: Likewise.
13968 * math/w_atan2l.c: Likewise.
13969 * math/w_atanh.c: Likewise.
13970 * math/w_atanhf.c: Likewise.
13971 * math/w_atanhl.c: Likewise.
13972 * math/w_cosh.c: Likewise.
13973 * math/w_coshf.c: Likewise.
13974 * math/w_coshl.c: Likewise.
13975 * math/w_dremf.c: Likewise.
13976 * math/w_exp10.c: Likewise.
13977 * math/w_exp10f.c: Likewise.
13978 * math/w_exp10l.c: Likewise.
13979 * math/w_exp2.c: Likewise.
13980 * math/w_exp2f.c: Likewise.
13981 * math/w_fmod.c: Likewise.
13982 * math/w_fmodf.c: Likewise.
13983 * math/w_fmodl.c: Likewise.
13984 * math/w_hypot.c: Likewise.
13985 * math/w_hypotf.c: Likewise.
13986 * math/w_hypotl.c: Likewise.
13987 * math/w_j0.c: Likewise.
13988 * math/w_j0f.c: Likewise.
13989 * math/w_j0l.c: Likewise.
13990 * math/w_j1.c: Likewise.
13991 * math/w_j1f.c: Likewise.
13992 * math/w_j1l.c: Likewise.
13993 * math/w_jn.c: Likewise.
13994 * math/w_jnf.c: Likewise.
13995 * math/w_jnl.c: Likewise.
13996 * math/w_lgamma.c: Likewise.
13997 * math/w_lgamma_r.c: Likewise.
13998 * math/w_lgammaf.c: Likewise.
13999 * math/w_lgammaf_r.c: Likewise.
14000 * math/w_lgammal.c: Likewise.
14001 * math/w_lgammal_r.c: Likewise.
14002 * math/w_log.c: Likewise.
14003 * math/w_log10.c: Likewise.
14004 * math/w_log10f.c: Likewise.
14005 * math/w_log10l.c: Likewise.
14006 * math/w_log2.c: Likewise.
14007 * math/w_log2f.c: Likewise.
14008 * math/w_log2l.c: Likewise.
14009 * math/w_logf.c: Likewise.
14010 * math/w_logl.c: Likewise.
14011 * math/w_pow.c: Likewise.
14012 * math/w_powf.c: Likewise.
14013 * math/w_powl.c: Likewise.
14014 * math/w_remainder.c: Likewise.
14015 * math/w_remainderf.c: Likewise.
14016 * math/w_remainderl.c: Likewise.
14017 * math/w_scalb.c: Likewise.
14018 * math/w_scalbf.c: Likewise.
14019 * math/w_scalbl.c: Likewise.
14020 * math/w_sinh.c: Likewise.
14021 * math/w_sinhf.c: Likewise.
14022 * math/w_sinhl.c: Likewise.
14023 * math/w_sqrt.c: Likewise.
14024 * math/w_sqrtf.c: Likewise.
14025 * math/w_sqrtl.c: Likewise.
14026 * math/w_tgamma.c: Likewise.
14027 * math/w_tgammaf.c: Likewise.
14028 * math/w_tgammal.c: Likewise.
14029
6a621eb7
UD
14030 * po/ja.po: Update from translation team.
14031
bf582445
AJ
140322011-09-29 Andreas Jaeger <aj@suse.de>
14033
f9efbf3a
AJ
14034 [BZ #13179]
14035 * sunrpc/netname.c (netname2host): Fix logic.
14036
bf582445
AJ
14037 [BZ #6779]
14038 [BZ #6783]
14039 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14040 correctly.
14041 * math/w_remainder.c (__remainder): Likewise.
14042 * math/w_remainderf.c (__remainderf): Likewise.
14043 * math/libm-test.inc (remainder_test): Add test cases.
14044
48693bea
AK
140452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14046
14047 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14048 sdiv_qrnnd.
14049
42622229
LD
140502011-10-07 Ulrich Drepper <drepper@gmail.com>
14051
14052 * string/test-memcmp.c: Avoid unncessary #defines.
14053 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14054
093ecf92
LD
140552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14056
14057 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14058 Use new sse2 version for core i3 - i7 as it's faster
14059 than sse42 version.
14060 (bit_Prefer_PMINUB_for_stringop): New.
14061 * sysdeps/x86_64/rawmemchr.S: Update.
14062 Replace with faster SSE2 version.
14063 * sysdeps/x86_64/memrchr.S: New file.
14064 * sysdeps/x86_64/memchr.S: Update.
14065 Replace with faster SSE2 version.
14066
fde56e5c
MP
140672011-09-12 Marek Polacek <mpolacek@redhat.com>
14068
14069 * elf/dl-load.c (lose): Add cast to avoid warning.
14070
21fd49a9
UD
140712011-10-07 Ulrich Drepper <drepper@gmail.com>
14072
5a06e643
UD
14073 * po/ca.po: Update from translation team.
14074
684ae515
UD
14075 * inet/getnetgrent_r.c: Hook up nscd.
14076 * nscd/Makefile (routines): Add nscd_netgroup.
14077 (nscd-modules): Add netgroupcache.
14078 (CFLAGS-netgroupcache.c): Define.
14079 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14080 (cache_search): Add const to second parameter.
14081 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14082 INNETGR.
14083 (dbs): Add netgrdb entry.
14084 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14085 (verify_persistent_db): Handle netgrdb.
14086 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14087 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14088 GETFDNETGR.
14089 (netgroup_response_header): Define.
14090 (innetgroup_response_header): Define.
14091 (datahead): Add netgroup_response_header and innetgroup_response_header
14092 elements.
14093 * nscd/nscd.conf: Add entries for netgroup cache.
14094 * nscd/nscd.h (dbtype): Add netgrdb.
14095 (_PATH_NSCD_NETGROUP_DB): Define.
14096 (netgroup_iov_disabled): Declare.
14097 (xmalloc, xcalloc, xrealloc): Move declarations here.
14098 (cache_search): Adjust prototype.
14099 Add netgroup-related prototypes.
14100 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14101 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14102 (__nscd_innetgr): Declare.
14103 * nscd/selinux.c (perms): Use access_vector_t as element type and
14104 add netgroup-related initializers.
14105 * nscd/netgroupcache.c: New file.
14106 * nscd/nscd_netgroup.c: New file.
14107 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14108 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14109 For four parameters use innetgr.
14110 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14111 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14112 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14113 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14114
21fd49a9
UD
14115 * nscd/connections.c (register_traced_file): Don't register file
14116 for disabled databases.
14117
054c0457
UD
141182011-10-06 Ulrich Drepper <drepper@gmail.com>
14119
32b63198
UD
14120 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14121
054c0457
UD
14122 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14123 from tree and freeing node.
14124
64031225
JO
141252011-09-25 Jiri Olsa <jolsa@redhat.com>
14126
14127 * nss/nsswitch.c (__nss_database_lookup): Handle
14128 nss_parse_service_list out of memory case.
14129
0490345c
JO
141302011-09-15 Jiri Olsa <jolsa@redhat.com>
14131
14132 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14133 out of memory case.
14134
3a62d00d
AS
141352011-10-04 Andreas Schwab <schwab@redhat.com>
14136
14137 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14138 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14139 pass it down.
14140 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14141 elf_machine_rela, elf_machine_lazy_rel.
14142 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14143 (ELF_DYNAMIC_DO_REL): Likewise.
14144 (ELF_DYNAMIC_DO_RELA): Likewise.
14145 (ELF_DYNAMIC_RELOCATE): Likewise.
14146 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14147 to ELF_DYNAMIC_DO_REL.
14148 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14149 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14150 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14151 elf_machine_rela.
14152 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14153 skip_ifunc, don't call ifunc function if non-zero.
14154 (elf_machine_rela): Likewise.
14155 (elf_machine_lazy_rel): Likewise.
14156 (elf_machine_lazy_rela): Likewise.
14157 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14158 (elf_machine_lazy_rel): Likewise.
14159 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14160 Likewise.
14161 (elf_machine_lazy_rel): Likewise.
14162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14163 Likewise.
14164 (elf_machine_lazy_rel): Likewise.
14165 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14166 (elf_machine_lazy_rel): Likewise.
14167 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14168 (elf_machine_lazy_rel): Likewise.
14169 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14170 (elf_machine_lazy_rel): Likewise.
14171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14172 (elf_machine_lazy_rel): Likewise.
14173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14174 (elf_machine_lazy_rel): Likewise.
14175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14176 (elf_machine_lazy_rel): Likewise.
14177
68577918
UD
141782011-09-28 Ulrich Drepper <drepper@gmail.com>
14179
14180 * nss/nss_files/files-init.c (_nss_files_init): Use static
14181 initialization for all the *_traced_file variables.
14182
68822d74
AS
141832011-09-28 Andreas Schwab <schwab@redhat.com>
14184
14185 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14186
2056100b
RM
141872011-09-27 Roland McGrath <roland@hack.frob.com>
14188
14189 [BZ #13226]
14190 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14191
32c76b63
AS
141922011-09-27 Andreas Schwab <schwab@redhat.com>
14193
14194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14195 Reread the line before reparsing it.
14196
bf972c9d
AS
141972011-09-26 Andreas Schwab <schwab@redhat.com>
14198
14199 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14200
e057a1b5
JM
142012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14202 Maxim Kuvyrkov <maxim@codesourcery.com>
14203 Joseph Myers <joseph@codesourcery.com>
14204
14205 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14206 if needed for __stack_chk_guard.
14207
bc7e1c36
RM
142082011-09-19 Roland McGrath <roland@hack.frob.com>
14209
ecb1482f
RM
14210 * sysdeps/posix/spawni.c (script_execute): Always define it.
14211 It will be optimized away if unused.
14212 (maybe_script_execute): New function.
14213 (__spawni): Call it.
14214
bc7e1c36
RM
14215 * Makerules: Don't include tls.make.
14216 (config-tls): Always set to thread.
14217 * tls.make.c: File removed.
14218
1c3b002b
MF
142192011-09-19 Mike Frysinger <vapier@gentoo.org>
14220
14221 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14222 * config.make.in (CPPFLAGS-config): New substituted variable.
14223
2840865d
UD
142242011-09-15 Ulrich Drepper <drepper@gmail.com>
14225
88738eb6
UD
14226 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14227
cbf645a6 14228 [BZ #13192]
2840865d
UD
14229 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14230 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14231
b402e91a
RM
142322011-09-15 Roland McGrath <roland@hack.frob.com>
14233
14234 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14235 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14237 (CALL_FAIL): Likewise.
14238 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14239 (CALL_FAIL): Macro removed.
14240 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14241
4c1a1f71
UD
142422011-09-15 Ulrich Drepper <drepper@gmail.com>
14243
14244 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14245 for __FINITE_MATH_ONLY__ == 1.
14246
edc121be
AS
142472011-09-15 Andreas Schwab <schwab@redhat.com>
14248
14249 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14250 __ieee754_sqrt instead of sqrt.
14251 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14252 __ieee754_sqrtf instead of sqrtf.
14253 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14254 __floorf instead of floorf.
14255 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14256 __floorf, __truncf instead of floorf, truncf.
14257
cd205654
UD
142582011-09-14 Ulrich Drepper <drepper@gmail.com>
14259
ee4d0315
UD
14260 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14261
cd205654
UD
14262 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14263 __extern_always_inline.
14264 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14265 32-bit.
14266
48b67d71
AS
142672011-09-14 Andreas Schwab <schwab@redhat.com>
14268
14269 * elf/rtld.c (dl_main): Also relocate in dependency order when
14270 doing symbol dependency testing.
14271
1ae12c75
AS
142722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14273
14274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14275 Always define `refsym'.
14276
995a80df
AS
142772011-09-13 Andreas Schwab <schwab@redhat.com>
14278
e529793b
AS
14279 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14280 (__FD_ELT): Renamed from __FDELT.
14281 * misc/bits/select2.h (__FD_ELT): Likewise.
14282 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14283 __FD_MASK instead of __FDELT, __FDMASK.
14284 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14285 Likewise.
14286 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14287 Likewise.
14288
52d4fef8
AS
14289 * elf/Makefile (gen-ldd): Fix pattern.
14290
995a80df
AS
14291 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14292 (init_tls): Likewise.
14293
8682f8b0
UD
142942011-09-12 Ulrich Drepper <drepper@gmail.com>
14295
14296 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14297
de82006d
AS
142982011-09-12 Andreas Schwab <schwab@redhat.com>
14299
a7c8e6a1
AS
14300 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14301 `struct cmsghdr *' instead of `void *'.
14302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14303 Likewise.
14304
0f31fe77
AS
143052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14306
14307 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14308 if non-absolute.
14309 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14310 ldd_rewrite_script.
0f31fe77 14311
32b4c839
UD
143122011-09-11 Ulrich Drepper <drepper@gmail.com>
14313
83cd1420
UD
14314 * configure.in: Remove --with-tls option.
14315 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14316 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14317 out in case it is missing.
14318 * sysdeps/ia64/elf/configure.in: Likewise.
14319 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14320 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14321 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14322 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14323 * sysdeps/sh/elf/configure.in: Likewise.
14324 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14325 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14326 * sysdeps/x86_64/elf/configure.in: Likewise.
14327 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14328 * sysdeps/mach/hurd/tls.h: Likewise.
14329
633f745d
UD
14330 [BZ #13067]
14331 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14332
f318beb8
UD
14333 [BZ #13090]
14334 * configure.in: Fix use of AC_INIT.
14335
32b4c839
UD
14336 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14337
3ce1f295
UD
143382011-09-10 Ulrich Drepper <drepper@gmail.com>
14339
bb016596
UD
14340 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14341 __set_errno.
8e58439c
UD
14342 * malloc/hooks.c: Likewise.
14343
aebae053 14344 [BZ #11929]
02d46fc4
UD
14345 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14346 variables statically.
14347 (narenas): Initialize.
14348 (list_lock): Initialize.
bb016596
UD
14349 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14350 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14351 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14352 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14353 Add initializers to main_arena and mp_.
14354 (malloc_state): Remove pagesize member. Change all users to use
14355 GLRO(dl_pagesize).
14356
14357 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14358 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14359 is always initialized.
14360
22a89187
UD
14361 * malloc/malloc.c: Removed unused configurations and dead code.
14362 * malloc/arena.c: Likewise.
14363 * malloc/hooks.c: Likewise.
02d46fc4 14364 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14365
d063d164
UD
14366 * include/tls.h: Removed. USE___THREAD must always be defined.
14367 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14368 * elf/dl-libc.c: Likewise.
14369 * elf/dl-tsd.c: Likewise.
14370 * include/errno.h: Likewise.
14371 * include/netdb.h: Likewise.
14372 * include/resolv.h: Likewise.
14373 * inet/herrno-loc.c: Likewise.
14374 * inet/herrno.c: Likewise.
14375 * malloc/arena.c: Likewise.
14376 * malloc/hooks.c: Likewise.
14377 * malloc/malloc.c: Likewise.
14378 * resolv/res-state.c: Likewise.
14379 * resolv/res_libc.c: Likewise.
14380 * sysdeps/i386/dl-machine.h: Likewise.
14381 * sysdeps/ia64/dl-machine.h: Likewise.
14382 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14383 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14384 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14385 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14386 * sysdeps/sh/dl-machine.h: Likewise.
14387 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14388 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14389 * sysdeps/unix/i386/sysdep.S: Likewise.
14390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14391 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14395 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14396 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14400 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14401 * sysdeps/x86_64/dl-machine.h: Likewise.
14402 * tls.make.c: Likewise.
14403
3ce1f295
UD
14404 * configure.in: Remove --with-__thread option. Make tests for
14405 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14406 tls_model attribute fail if no support is available. Remove
14407 USE_IN_LIBIO.
14408 * Makeconfig: Adjust for dropped configure option. All features are
14409 now mandatory.
14410 * Makerules: Likewise.
14411 * Versions.def: Likewise.
14412 * argp/argp-fmtstream.c: Likewise.
14413 * argp/argp-fmtstream.h: Likewise.
14414 * argp/argp-help.c: Likewise.
14415 * assert/assert.c: Likewise.
14416 * config.h.in: Likewise.
14417 * config.make.in: Likewise.
14418 * configure: Likewise.
14419 * configure.in: Likewise.
14420 * csu/Versions: Likewise.
14421 * csu/init.c: Likewise.
14422 * elf/tst-audit2.c: Likewise.
14423 * elf/tst-tls10.c: Likewise.
14424 * elf/tst-tls10.h: Likewise.
14425 * elf/tst-tls11.c: Likewise.
14426 * elf/tst-tls12.c: Likewise.
14427 * elf/tst-tls14.c: Likewise.
14428 * elf/tst-tlsmod11.c: Likewise.
14429 * elf/tst-tlsmod12.c: Likewise.
14430 * elf/tst-tlsmod13.c: Likewise.
14431 * elf/tst-tlsmod13a.c: Likewise.
14432 * elf/tst-tlsmod14a.c: Likewise.
14433 * elf/tst-tlsmod15b.c: Likewise.
14434 * elf/tst-tlsmod16a.c: Likewise.
14435 * elf/tst-tlsmod16b.c: Likewise.
14436 * elf/tst-tlsmod7.c: Likewise.
14437 * elf/tst-tlsmod8.c: Likewise.
14438 * elf/tst-tlsmod9.c: Likewise.
14439 * gmon/gmon.c: Likewise.
14440 * grp/fgetgrent_r.c: Likewise.
14441 * grp/putgrent.c: Likewise.
14442 * hurd/fopenport.c: Likewise.
14443 * include/libc-symbols.h: Likewise.
14444 * include/tls.h: Likewise.
14445 * intl/gettextP.h: Likewise.
14446 * intl/loadinfo.h: Likewise.
14447 * locale/global-locale.c: Likewise.
14448 * locale/localeinfo.h: Likewise.
14449 * mach/devstream.c: Likewise.
14450 * malloc/arena.c: Likewise.
14451 * malloc/set-freeres.c: Likewise.
14452 * misc/err.c: Likewise.
14453 * misc/getttyent.c: Likewise.
14454 * misc/mntent_r.c: Likewise.
14455 * posix/getopt.c: Likewise.
14456 * posix/wordexp.c: Likewise.
14457 * pwd/fgetpwent_r.c: Likewise.
14458 * resolv/Versions: Likewise.
14459 * resolv/res_hconf.c: Likewise.
14460 * shadow/fgetspent_r.c: Likewise.
14461 * shadow/putspent.c: Likewise.
14462 * stdio-common/printf_fphex.c: Likewise.
14463 * stdio-common/tmpfile.c: Likewise.
14464 * stdlib/abort.c: Likewise.
14465 * stdlib/fmtmsg.c: Likewise.
14466 * sunrpc/auth_unix.c: Likewise.
14467 * sunrpc/clnt_perr.c: Likewise.
14468 * sunrpc/clnt_tcp.c: Likewise.
14469 * sunrpc/clnt_udp.c: Likewise.
14470 * sunrpc/clnt_unix.c: Likewise.
14471 * sunrpc/openchild.c: Likewise.
14472 * sunrpc/svc_simple.c: Likewise.
14473 * sunrpc/svc_tcp.c: Likewise.
14474 * sunrpc/svc_udp.c: Likewise.
14475 * sunrpc/svc_unix.c: Likewise.
14476 * sunrpc/xdr.c: Likewise.
14477 * sunrpc/xdr_array.c: Likewise.
14478 * sunrpc/xdr_rec.c: Likewise.
14479 * sunrpc/xdr_ref.c: Likewise.
14480 * sunrpc/xdr_stdio.c: Likewise.
14481
1248c1c4
PB
144822011-09-09 Ulrich Drepper <drepper@gmail.com>
14483
14484 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14485
144862011-07-03 Andreas Jaeger <aj@suse.de>
14487
14488 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14489 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14490 regenerate with gen-libm-tests.pl.
14491
144922010-05-12 Petr Baudis <pasky@suse.cz>
14493
14494 [BZ #11589]
14495 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14496 around j0() zero points by switching to j1().
14497 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14498 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14501
f22e1074
UD
145022011-09-09 Ulrich Drepper <drepper@gmail.com>
14503
f19009c1
UD
14504 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14505 instead of 0.
14506 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14507 instead of 0. .
14508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14509 Patch in part by Pavel Roskin <proski@gnu.org>.
14510
3f8cc204
UD
14511 [BZ #13138]
14512 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14513 realloc.
14514 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14515 Free memory block if necessary.
14516
f22e1074
UD
14517 [BZ #12847]
14518 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14519 be NULL. Don't lock in this case.
14520
0a2349f9
RM
145212011-09-09 Roland McGrath <roland@hack.frob.com>
14522
14523 * elf/elf.h (ELFOSABI_GNU): New macro.
14524 (ELFOSABI_LINUX): Define to that.
14525
f3cdd467
DZ
145262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14527
14528 * string/strncat.c (strncat): Undef the symbol in case it has been
14529 defined in bits/string.h.
14530
74718d13
UD
145312011-09-09 Ulrich Drepper <drepper@gmail.com>
14532
633e9e0f
UD
14533 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14534
0a2349f9 14535 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14536 link map.
14537
f9924780
AJ
145382011-08-17 Andreas Jaeger <aj@suse.de>
14539
14540 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14541
7f5517aa
PP
145422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14543 Ian Lance Taylor <iant@google.com>
14544
14545 * math/libm-test.inc (lround_test): New testcase.
14546 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14547
762011fe
UD
145482011-09-08 Ulrich Drepper <drepper@gmail.com>
14549
92963737
UD
14550 * Makefile: Remove support for automatic cvs check-ins.
14551 * Makerules: Likewise.
14552 * config.make.in: Likewise.
14553 * configure.in: Likewise.
14554 * intl/Makefile: Likewise.
14555 * locale/Makefile: Likewise.
14556 * po/Makefile: Likewise.
14557 * posix/Makefile: Likewise.
14558 * sysdeps/gnu/Makefile: Likewise.
14559 * sysdeps/mach/hurd/Makefile: Likewise.
14560 * sysdeps/sparc/sparc32/Makefile: Likewise.
14561
b0727fd8
JS
14562 [BZ #13118]
14563 * posix/Makefile (bug-regex32-ENV): Define.
14564 Patch by John Stanley <jpsinthemix@verizon.net>.
14565
a0f33f99
UD
14566 * misc/Makefile (headers): Add bits/select2.h.
14567 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14568 * misc/bits/select2.h: New file.
14569 * include/bits/select2.h: New file.
14570 * debug/Makefile (routines): Add fdelt_chk.
14571 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14572 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14573 FD_ISSET.
14574 * debug/fdelt_chk.c: New file.
14575
762011fe
UD
14576 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14577 * wcsmbs/test-wmemcmp.c: Likewise.
14578 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14579 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14580
145812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14582
14583 * string/Makefile (strop-tests): Add memcmp.
14584 * string/test-wmemcmp.c: New file.
14585 * string/test-memcmp.c: Add wmemcmp support.
14586
7f513ec8
RM
145872011-09-08 Roland McGrath <roland@hack.frob.com>
14588
0442afb4
RM
14589 [BZ #13153]
14590 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14591 2011-07-19 change.
14592
7f513ec8
RM
14593 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14594 garbage value in a __mach_port_mod_refs call in the cases of the
14595 task-self and thread-self ports.
14596
a12b2239
ST
145972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14598
14599 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14600
610f9ab4
AS
146012011-09-08 Andreas Schwab <schwab@redhat.com>
14602
7f513ec8 14603 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14604
48882a1a
LD
146052011-09-07 Ulrich Drepper <drepper@gmail.com>
14606
b49865be
UD
14607 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14608
fdc86bc9
UD
14609 * elf/dl-libc.c (dlerror_run): Pass back error code from
14610 dl_catch_error.
14611
c966526a
UD
14612 [BZ #13123]
14613 * elf/dl-load.c (lose): Free l_origin if it is valid.
14614
48882a1a
LD
14615 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14616 names.
14617 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14618 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14620 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14621 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14622 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14623
77a2a8b4
AZ
146242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14625
14626 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14627 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14628 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14629 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14630 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14631 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14632 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14633 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14634 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14635 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14636
24f579d8
AM
146372011-08-15 Alan Modra <amodra@gmail.com>
14638
14639 [BZ #13092]
14640 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14641 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14642 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14643 ppc_mcount to static-only-routines.
14644 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14645 __mcount_internal.
14646 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14647 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14648
3d4837df
UD
146492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14650
14651 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14652 for finite and infinity parameters.
14653
22700377
WS
146542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14655
14656 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14657 and add nop instructions for throughput optimization.
14658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14659
5025581e
WS
146602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14661
14662 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14663 aligned copy for power7 with vector-scalar instructions.
14664 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14665
08a300c9
L
146662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14667
14668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14669 AVX check.
14670
59178ef9
AS
146712011-09-07 Andreas Schwab <schwab@redhat.com>
14672
14673 [BZ #13144]
14674 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14675 last change.
14676
e38ba7ab
UD
146772011-09-07 Ulrich Drepper <drepper@gmail.com>
14678
14679 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14680 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14681 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14682 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14683 clock_gettime.
14684
d53a73ac
UD
146852011-09-06 Ulrich Drepper <drepper@gmail.com>
14686
fc8bffcc
UD
14687 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14688 Forgot to demangle the pointer.
14689
ceaa0c5d
UD
14690 * sysdeps/i386/sysdep.h: Define atom_text_section.
14691 * sysdeps/x86_64/sysdep.h: Likewise.
14692 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14693 section with atom_text_section.
14694 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14695 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14696 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14698 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14699
a77d3c17
UD
14700 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14701 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14702 already be defined. Change to take two parameters and don't assign
14703 result to variable. Adjust all users.
14704 Define INTERNAL_GETTIME if not already defined.
14705 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14706 call.
14707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14708 HAVE_CLOCK_GETTIME_VSYSCALL.
14709 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14710
d53a73ac
UD
14711 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14712 gettimeofday vsyscall, just use time.
14713
a8f84144
AS
147142011-09-06 Andreas Schwab <schwab@redhat.com>
14715
14716 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14717 <errno.h>.
14718
ef606249
UD
147192011-09-06 Ulrich Drepper <drepper@gmail.com>
14720
14721 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14722 syscall on x86-64.
14723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14724 syscall.
14725 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14727 syscall if possible.
14728
6585cb60
UD
147292011-09-05 Ulrich Drepper <drepper@gmail.com>
14730
14731 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14732 e_ident. Don't pass to find_mapsXX.
14733 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14734
a5f524e4
LD
147352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14736
14737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14738 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14739 * sysdeps/x86_64/multiarch/strchr.S: Update.
14740 Check bit_slow_BSF bit.
14741 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14742 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14743 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14744
554881ef
UD
147452011-09-05 Ulrich Drepper <drepper@gmail.com>
14746
d96de963
UD
14747 [BZ #13134]
14748 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14749 before glibc 2.15.
14750 (tryshell): Define.
14751 (__spawni): Change last parameter to be flag. Test
14752 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14753 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14754 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14755 * posix/spawni.c: Likewise.
14756 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14757 * posix/spawnp.c: Likewise. Change normal version to use
14758 SPAWN_XFLAGS_USE_PATH.
14759 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14760 SPAWN_XFLAGS_TRY_SHELL.
14761
d48e5868
UD
14762 [BZ #13150]
14763 * posix/glob.h: Remove gcc 1.x support.
14764
554881ef
UD
14765 [BZ #13068]
14766 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14767
693fb948
LD
147682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14769
14770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14771 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14772 strrchr-sse2-bsf
14773 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14774 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14775 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14776 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14777 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14778 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14779
1b48c537
UD
147802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14781
49d42c37
UD
14782 * sysdeps/x86_64/wcscmp.S: New file.
14783
1b48c537
UD
14784 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14785 wcscmp-c wcscmp-sse2
14786 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14787 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14788 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14789 * wcsmbs/wcscmp.c: Allow renaming.
14790
15c95c5d
DM
147912011-09-05 David S. Miller <davem@davemloft.net>
14792
14793 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14794 stack slot, rather than the struct return pointer slot.
14795 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14796 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14798 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14799
2f0ad8f3
UD
148002011-09-05 Ulrich Drepper <drepper@gmail.com>
14801
d88ae418
UD
14802 * po/ja.po: Update from translation team.
14803
2f0ad8f3
UD
14804 [BZ #13144]
14805 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14806 kernel in 64-bit binaries.
14807
5f4318d1
DM
148082011-09-01 David S. Miller <davem@davemloft.net>
14809
14810 * elf/elf.h (HWCAP_SPARC_*): Move to..
14811 * sysdeps/sparc/sysdep.h: this new file and add new values.
14812 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14813 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14814 _DL_HWCAP_COUNT to 24.
14815 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14816 entries.
14817 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14818 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14819 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14821 instead of magic constants.
14822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14823
3ba57516
DM
148242011-08-31 David S. Miller <davem@davemloft.net>
14825
14826 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14828 Reimplement to do errno handling inline.
14829 (SYSCALL_ERROR_HANDLER): New macro.
14830 (__SYSCALL_STRING): Do not do errno handling in asm.
14831 (__CLONE_SYSCALL_STRING): Delete.
14832 (__INTERNAL_SYSCALL_STRING): Delete.
14833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14834 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14835 (PSEUDO): Reimplement to do errno handling inline.
14836 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14837 (SYSCALL_ERROR_HANDLER): New macro.
14838 (__SYSCALL_STRING): Do not do errno handling in asm.
14839 (__CLONE_SYSCALL_STRING): Delete.
14840 (__INTERNAL_SYSCALL_STRING): Delete.
14841 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14842 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14843 i386.
14844 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14845 (inline_syscall*): Add 'err' argument.
14846 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14847 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14848 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14849 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14850
14851 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14852 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14853
2bc17433
AS
148542011-08-30 Andreas Schwab <schwab@redhat.com>
14855
14856 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14857
fbeb5f4d
JO
148582011-08-29 Jiri Olsa <jolsa@redhat.com>
14859
14860 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14861 directive.
14862
ad69cc26
DM
148632011-08-24 David S. Miller <davem@davemloft.net>
14864
14865 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14866
39dd69df
AS
148672011-08-24 Andreas Schwab <schwab@redhat.com>
14868
14869 * elf/Makefile: Add rules to build and run unload8 test.
14870 * elf/unload8.c: New file.
14871 * elf/unload8mod1.c: New file.
14872 * elf/unload8mod1x.c: New file.
14873 * elf/unload8mod2.c: New file.
14874 * elf/unload8mod3.c: New file.
14875
14876 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14877 it wasn't used.
14878
2c0b250a
DM
148792011-08-23 David S. Miller <davem@davemloft.net>
14880
14881 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14882 subtract stack bias.
14883 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14884 %sp not %fp in calculations.
14885 (_JMPBUF_UNWINDS_ADJ): Likewise.
14886
22044b48
DM
14887 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14888 (aio_suspend): Call it to force an exception region around the
14889 AIO_MISC_WAIT() invocation.
14890
2cae4995
AS
148912011-08-23 Andreas Schwab <schwab@redhat.com>
14892
14893 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14894 backslash.
14895
873a772e
AJ
148962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14897
14898 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14899 protection macro.
14900 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14901 and <dl-machine.h>.
14902 (Elf64_FuncDesc): Remove.
14903
25ad0df1
DM
149042011-08-22 David S. Miller <davem@davemloft.net>
14905
14906 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14907 sigaltstack check, add missing cfi directives.
14908 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14909 missing cfi directives, and sigaltstack handling.
14910
e888bcbe
AS
149112011-08-16 Andreas Schwab <schwab@redhat.com>
14912
14913 [BZ #11724]
14914 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14915 object is seen twice.
14916 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14917
14918 * elf/Makefile (distribute): Add tst-initorder2.c.
14919 (tests): Add tst-initorder2.
14920 (modules-names): Add tst-initorder2a tst-initorder2b
14921 tst-initorder2c tst-initorder2d. Add rules to build them.
14922 ($(objpfx)tst-initorder2.out): New rule.
14923 * elf/tst-initorder2.c: New file.
14924 * elf/tst-initorder2.exp: New file.
14925
87162f46
AS
149262011-08-22 Andreas Schwab <schwab@redhat.com>
14927
70538b7f
AS
14928 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14929
f55ffe58
AS
14930 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14931 dependencies back to end of function.
14932
87162f46
AS
14933 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14934 $(elfobjdir)/ld.so.
14935
91b392a4
UD
149362011-08-21 Ulrich Drepper <drepper@gmail.com>
14937
14938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14939 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14941 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14942 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14943 of __vdso_gettimeofday.
14944 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14945 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14946 attribute_hidden.
14947 (_libc_vdso_platform_setup): Remove initialization of
14948 __vdso_gettimeofday and __vdso_time.
14949
5c43483f
UD
149502011-08-20 Ulrich Drepper <drepper@gmail.com>
14951
775a77e7
UD
14952 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14953 and fgetc_unlocked.
14954 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14955 getc_unlocked.
89f447ed 14956
49c74ba9
UD
14957 * elf/dl-open.c (add_to_global): Report additions to the global scope
14958 for LD_DEBUG=scopes.
14959 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14960 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14961
5c43483f
UD
14962 [BZ #13114]
14963 * stdio-common/Makefile (tests): Add bug24.
14964 * stdio-common/bug24.c: New file.
14965
a101b025
AJ
149662011-08-19 Andreas Jaeger <aj@suse.de>
14967
14968 [BZ #13114]
14969 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14970 non-existant file when using close-on-exec mode.
14971
c88f1766
UD
149722011-08-20 Ulrich Drepper <drepper@gmail.com>
14973
0276a718
UD
14974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14975 the very first instruction.
14976
c88f1766
UD
14977 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14978 the CFI state in the end.
14979 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14980 inclusion of dl-trampoline.h.
14981 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14982
51ccffa0
AS
149832011-08-19 Andreas Schwab <schwab@redhat.com>
14984
94d7165f
AS
14985 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14986 expectations for long double.
14987
51ccffa0
AS
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14989 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14990
fd708658 149912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14992
14993 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14994 artificual limit depends upon the system page size.
14995
44f0a71e
UD
149962011-08-17 Ulrich Drepper <drepper@gmail.com>
14997
14998 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14999 * resolv/Makefile: Define CFLAGS-libresolv.
15000
8de79a24
AS
150012011-08-17 Andreas Schwab <schwab@redhat.com>
15002
15003 * nss/makedb.c (compute_tables): Make variables used in nested
15004 function static.
15005
27724598
UD
150062011-08-17 Ulrich Drepper <drepper@gmail.com>
15007
c5305d88
UD
15008 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15009 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15010 if buffer was too small.
15011
27724598
UD
15012 * elf/pldd.c (main): Attach to all threads in the process.
15013 Rewrite /proc handling to use *at functions.
15014
076fe015
UD
150152011-08-16 Ulrich Drepper <drepper@gmail.com>
15016
174baab3
UD
15017 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15018 specifies first scope to show.
15019 (dl_open_worker): Update callers. Move printing scope of new
15020 object to before the relocation.
44f0a71e 15021 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15022 * sysdeps/generic/ldsodefs.h: Update declaration.
15023
076fe015
UD
15024 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15025 string for the scope number.
15026
a60df2c3
UD
150272011-08-14 Ulrich Drepper <drepper@gmail.com>
15028
15029 * nscd/servicescache.c (cache_addserv): Make sure written is always
15030 initialized.
15031
5e4287d1
RM
150322011-08-14 Roland McGrath <roland@hack.frob.com>
15033
85ae0589
RM
15034 * sysdeps/i386/i486/bits/atomic.h
15035 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15036 statement expression, so as to suppress "set but not used" warning.
15037 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15038
69f63097
RM
15039 * string/strncat.c (STRNCAT): Use prototype definition.
15040
675456ef
RM
15041 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15042 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15043 -Iprograms here.
15044 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15045 (localedef-modules): Add localedef.
15046 (locale-modules): Add locale.
15047
5e4287d1
RM
15048 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15049 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15050 to avoid a warning.
15051
9c96ff23
DM
150522011-08-14 David S. Miller <davem@davemloft.net>
15053
15054 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15055 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15056
f9ddf089
UD
150572011-08-13 Ulrich Drepper <drepper@gmail.com>
15058
44f0a71e 15059 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15060 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15061 * elf/rtld.c (dl_main): Set l_name of vDSO.
15062 Call _dl_show_scope when DL_DEBUG_SCOPES.
15063 (process_dl_debug): Recognize scopes flag and also set it for all.
15064 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15065 Declare _dl_show_scope.
15066
1dc27704
UD
15067 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15068 (do_dlopen): Pass caller_dlopen to dl_open.
15069 (__libc_dlopen_mode): Initialize caller_dlopen.
15070
f9ddf089
UD
15071 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15072 of libc. Make tolower call locale-independent. Optimize a bit by
15073 using isdigit instead of isalnum.
15074 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15075
9ac533d3
UD
150762011-08-12 Ulrich Drepper <drepper@gmail.com>
15077
15078 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15079 was a dependency or dynamically loaded.
15080
89edf2e9
UD
150812011-08-11 Ulrich Drepper <drepper@gmail.com>
15082
8e999d29
UD
15083 * intl/l10nflist.c: Allow architecture-specific pop function.
15084 * sysdeps/x86_64/l10nflist.c: New file.
15085
89edf2e9
UD
15086 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15087 classification.
15088
14d96785
AS
150892011-08-10 Andreas Schwab <schwab@redhat.com>
15090
15091 * include/dirent.h: Add libc_hidden_proto for scandirat and
15092 scandirat64. Don't declare __scandirat64.
15093 * dirent/scandirat.c: Add libc_hidden_def.
15094 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15095 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15096
6761ac04
DM
150972011-08-10 David S. Miller <davem@davemloft.net>
15098
15099 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15100 enum.
15101 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15102 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15103 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15104
c55fbd1e
UD
151052011-08-09 Ulrich Drepper <drepper@gmail.com>
15106
15107 * Versions.def [libc]: Add GLIBC_2.15.
15108 * dirent/Makefile (routines): Add scandirat and scandirat64.
15109 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15110 GLIBC_2.15.
15111 * dirent/dirent.h: Declare scandirat and scandirat64.
15112 * dirent/scandirat.c: New file.
15113 * dirent/scandirat64.c: New file.
15114 * sysdeps/wordsize-64/scandirat.c: New file.
15115 * sysdeps/wordsize-64/scandirat64.c: New file.
15116 * dirent/opendir.c: Define opendirat.
15117 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15118 using scandirat.
15119 * dirent/scandir64.c: Adjust for scandir.c change.
15120 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15121 __scandirat64, and __scandir_cancel_handler.
15122 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15123 additional parameter and use openat instead of open (outside of ld.so).
15124 Add new __opendir as wrapper around __opendirat.
15125 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15126 here without requiring old scandirat implementation.
15127
879165f2
UD
151282011-08-08 Ulrich Drepper <drepper@gmail.com>
15129
15130 * dirent/scandir.c (cancel_handler): Renamed to
15131 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15132 defined. Adjust users.
15133 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15134 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15135
cb7e923b
UD
151362011-08-04 Ulrich Drepper <drepper@gmail.com>
15137
16292edd
UD
15138 * string/test-string.h (IMPL): Use __STRING to expand name and then
15139 stringify it.
15140
cb7e923b
UD
15141 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15142 of cleanups.
15143
cff82933
LD
151442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15145
15146 * string/Makefile: Update.
15147 (strop-tests): Append strncat.
15148 * string/test-wcscmp.c: New file.
15149 New comprehensive test for wcscmp.
15150 * string/test-strcmp.c: Update.
15151 (WIDE): New define.
15152
9be9bfcc
AS
151532011-07-22 Andreas Schwab <schwab@redhat.com>
15154
15155 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15156 line.
15157
2e96f1c7
AS
151582011-07-26 Andreas Schwab <schwab@redhat.com>
15159
15160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15161 encoding to ACE if AI_IDN.
15162
85188888
JJ
151632011-08-01 Jakub Jelinek <jakub@redhat.com>
15164
15165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15166 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15167
5fa16e9b
LD
151682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15169
15170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15171 Fix overflow bug in strncat.
15172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15173
15174 * string/test-strncat.c: Update.
15175 Add new tests for checking overflow bugs.
15176
151772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15178
15179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15180 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15181 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15182 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15183 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15184 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15185 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15186 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15187 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15188
15189 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15190 (USE_AS_STRCAT): Define.
15191 Add strcat and strncat support.
15192 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15193
8c1a459f
AS
151942011-07-25 Andreas Schwab <schwab@redhat.com>
15195
15196 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15197 __n bigger than INT_MAX+1.
15198 (__strncmp_g): Likewise.
15199
bba33c28
UD
152002011-07-23 Ulrich Drepper <drepper@gmail.com>
15201
798be72d
UD
15202 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15203 * libio/stido.h: Likewise.
15204
8accd4dc
UD
15205 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15206 (AF_NFC): Define.
15207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15208 (AF_NFC): Define.
15209
cbff0d96
UD
15210 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15212 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15213 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15214 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15215
9191c04a
UD
15216 [BZ #13021]
15217 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15218 installed.
15219
bba33c28
UD
15220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15221 typo.
15222 (_dl_x86_64_save_sse): Likewise.
15223
90f139dd
UD
152242011-07-22 Ulrich Drepper <drepper@gmail.com>
15225
1aae088a
UD
15226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15227 OSXSAVE.
15228 (_dl_x86_64_save_sse): Likewise.
15229
8e2045f5
UD
15230 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15231
90f139dd
UD
15232 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15233
1d002f25
AS
152342011-07-21 Andreas Schwab <schwab@redhat.com>
15235
15236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15237 change.
15238 (_dl_x86_64_save_sse): Use correct AVX check.
15239
21137f89
UD
152402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15241
15242 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15243 bug in strncpy/strncat.
15244 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15245
a65c0b7a
UD
152462011-07-21 Ulrich Drepper <drepper@gmail.com>
15247
15248 * string/tester.c (test_strcat): Add tests for different alignments
15249 of source and destination.
15250 (test_strncat): Likewise.
15251
6986b98a
UD
152522011-07-20 Ulrich Drepper <drepper@gmail.com>
15253
90bb2039
UD
15254 [BZ #12852]
15255 * posix/glob.c (glob): Check passed in values before using them in
15256 expressions to avoid some overflows.
15257 (glob_in_dir): Likewise.
15258
5644ef54
UD
15259 [BZ #13007]
15260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15261 check for AVX enablement so that we don't crash with old kernels and
15262 new hardware.
15263 * elf/tst-audit4.c: Add same checks here.
15264 * elf/tst-audit6.c: Likewise.
15265
15266 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15267
bfc9dc9b
AS
152682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15269
15270 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15271
702e64bb
UD
152722011-07-20 Ulrich Drepper <drepper@gmail.com>
15273
15274 * po/cs.po: Update from translation team.
15275 * po/bg.po: Likewise.
15276
295e904f
MP
152772011-07-12 Marek Polacek <mpolacek@redhat.com>
15278
15279 * misc/sys/cdefs.h: Add support for const attribute.
15280 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15281 to gnu_dev_{major,minor,makedev} functions.
15282
3ff94596
MP
152832011-07-20 Marek Polacek <mpolacek@redhat.com>
15284
15285 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15286
28b59fca
AS
152872011-07-20 Andreas Schwab <schwab@redhat.com>
15288
15289 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15290 strlen results.
15291
19df733e
AK
152922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15293
15294 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15295 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15296 register in order to avoid conflicts with the soft frame pointer
15297 being held in r11 when necessary.
15298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15299 (INTERNAL_VSYSCALL_NCS): Likewise.
15300
c8835729
MP
153012011-07-14 Marek Polacek <mpolacek@redhat.com>
15302
15303 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15304 * elf/dl-fini.c (_dl_fini): Adjust caller.
15305 * elf/dl-close.c (_dl_close_worker): Likewise.
15306 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15307
b902330c
MP
153082011-07-15 Marek Polacek <mpolacek@redhat.com>
15309
8991e135
MP
15310 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15311 "aux_cache->nlibs < 0".
15312
b902330c
MP
15313 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15314 in the reload-count case.
15315
99710781
LD
153162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15317
15318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15319 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15320 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15321 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15322 * sysdeps/x86_64/multiarch/strcat.S: New file.
15323 * sysdeps/x86_64/multiarch/strncat.S: New file.
15324 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15325 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15326 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15327 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15328 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15329 (USE_AS_STRCAT): Define.
15330 Add strcat and strncat support.
15331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15332 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15333 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15334 * string/strncat.c: Update.
15335 (USE_AS_STRNCAT): Define.
15336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15337 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15338 and i7.
15339 * sysdeps/x86_64/multiarch/init-arch.h
15340 (bit_Prefer_PMINUB_for_stringop): New.
15341 (index_Prefer_PMINUB_for_stringop): Likewise.
15342 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15343 bit_Prefer_PMINUB_for_stringop.
15344
7dc6bd90
UD
153452011-07-19 Ulrich Drepper <drepper@gmail.com>
15346
15347 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15348 buffer64.
15349 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15350 of casting of buffer.
15351 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15352 buffer32 and buffer64.
15353 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15354 writes instead of casting of buffer.
15355 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15356 buffer32.
15357 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15358 casting of buffer.
15359
e0e72284
AS
153602011-07-19 Andreas Schwab <schwab@redhat.com>
15361
15362 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15363
feb1eb0b
UD
153642011-07-19 Ulrich Drepper <drepper@gmail.com>
15365
15366 * nscd/nscd.c (termination_handler): Don't do anything for a database
15367 if it has not yet been initialized.
15368
298711ff
UD
153692011-07-18 Ulrich Drepper <drepper@gmail.com>
15370
15371 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15372
153732011-07-15 Marek Polacek <mpolacek@redhat.com>
15374
15375 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15376
f9d68389
UD
153772011-07-18 Ulrich Drepper <drepper@gmail.com>
15378
15379 * po/nl.po: Update from translation team.
15380 * po/sv.po: Likewise.
15381
db290cf5
RM
153822011-07-16 Roland McGrath <roland@hack.frob.com>
15383
15384 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15385 now disallowed by GCC.
5c550700 15386
fd5e21c7
RM
15387 * configure.in (use-default-link): Default to yes if a test -shared
15388 link meets our qualifications.
15389 * configure: Regenerated.
15390
5c550700
RM
15391 * config.make.in (output-format): New variable.
15392 * configure.in: Check for ld --print-output-format support.
15393 * configure: Regenerated.
15394 * Makerules ($(common-objpfx)format.lds)
15395 [$(output-format) != unknown]: Just use $(output-format),
15396 instead of the linker-script munging.
15397
9fa2c032
RM
153982011-07-14 Roland McGrath <roland@hack.frob.com>
15399
a6928d51
RM
15400 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15401 of $(common-objpfx)shlib.lds.
15402 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15403
661607b3
RM
15404 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15405 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15406
9fa2c032
RM
15407 * configure.in (-z relro check): Adjust test code to add a large
15408 writable data section after it.
15409 * configure: Regenerated.
15410
defe9061
RM
154112011-07-11 Roland McGrath <roland@hack.frob.com>
15412
15413 * configure.in (-z relro check): Fix test code to make the variable
15414 truly const.
15415 * configure: Regenerated.
15416
319b9ad4
UD
154172011-07-11 Ulrich Drepper <drepper@gmail.com>
15418
15419 * nscd/nscd.h (struct traced_file): Define.
15420 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15421 elements. Add traced_files.
15422 (inotify_fd): Declare.
15423 (register_traced_file): Declare.
15424 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15425 (inotify_fd): Export.
15426 (resolv_conf_descr): Remove.
15427 (nscd_init): Move inotify descriptor creation to main.
15428 Don't register files for notification here.
15429 (register_traced_file): New function.
15430 (invalidate_cache): Don't use reset_res to determine whether to call
15431 res_init, go through the list of registered files.
15432 (main_loop_poll): The inotify descriptors are now stored in the
15433 structures for the traced files.
15434 (main_loop_epoll): Likewise
15435 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15436 to __nss_disable_nscd.
15437 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15438 for a database anymore. Check the records for all the registered
15439 files instead.
15440 * nss/Makefile (libnss_files-routines): Add files-init.
15441 (libnss_db-routines): Add db-init.
15442 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15443 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15444 * nss/nss_db/db-init.c: New file.
15445 * nss/nss_files/files-init.c: New file.
15446 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15447 __nss_lookup_function.
15448 (__nss_lookup_function): Call nss_load_library.
15449 (nss_load_all_libraries): New function.
15450 (__nss_disable_nscd): Take parameter with callback function for files
15451 to register. Set is_nscd. Load all the DSOs for the NSS modules
15452 used for the cached services.
15453 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15454 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15455 options for features to all the files in nscd.
15456
15457 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15458
23bee3e8
RM
154592011-07-10 Roland McGrath <roland@hack.frob.com>
15460
15461 * csu/elf-init.c (__libc_csu_init): Comment typo.
15462
46a5b7f0
UD
154632011-07-09 Ulrich Drepper <drepper@gmail.com>
15464
15465 * po/pl.po: Update from translation team.
15466 * po/ja.po: Likewise.
15467 * po/ru.po: Likewise.
15468 * po/ko.po: Likewise.
15469 * po/fr.po: Likewise.
15470
d30cf5bb
RM
154712011-07-09 Roland McGrath <roland@hack.frob.com>
15472
113ddea4
RM
15473 * configure.in (.ctors/.dtors header and trailer check):
15474 Use an empirical test on a built program.
15475 * configure: Regenerated.
15476
574920b4
RM
15477 * configure.in (-z relro check): Use an empirical test on a built DSO.
15478 Detect, but do not require, on ia64.
15479 * configure: Regenerated.
15480
d30cf5bb
RM
15481 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15482 Update tests that use readelf to use $READELF instead.
15483 * configure: Regenerated.
15484
8538fdb3
UD
154852011-07-08 Ulrich Drepper <drepper@gmail.com>
15486
15487 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15488 if the result is not used.
15489
04d08991
AJ
154902011-07-05 Andreas Jaeger <aj@suse.de>
15491
15492 [BZ#9696]
15493 * stdlib/tst-strtod.c: Add testcase.
15494
de283087
AD
154952011-07-07 Ulrich Drepper <drepper@gmail.com>
15496
4e5f31c8 15497 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15498 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15499 The latter has a higher limit. Take additional parameter to pass to
15500 the new function.
15501 (__pathconf): Pass file to __statfs_link_max.
15502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15503 __statfs_link_max.
15504 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15505 __statfs_link_max.
15506
de283087
AD
15507 [BZ #12868]
15508 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15509 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15510 Handle Lustre.
15511 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15512 (__statfs_filesize_max): Likewise.
15513 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15514
c75fa153
AJ
155152011-07-05 Andreas Jaeger <aj@suse.de>
15516
15517 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15518
1a544854
UD
155192011-07-06 Marek Polacek <mpolacek@redhat.com>
15520
15521 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15522 `status' variable.
15523 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15524 Likewise.
15525
6f0eec67
UD
155262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15527
15528 * Makefile (strop-tests): Add strncat.
15529 * string/test-strncat.c: New file.
15530
aae30307
UD
155312011-06-30 Marek Polacek <mpolacek@redhat.com>
15532
15533 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15534
c0cfb5eb
UD
155352011-06-21 Andreas Jaeger <aj@suse.de>
15536
15537 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15538 Copy rule from iconvdata/Makefile.
15539
01636b21
UD
155402011-07-06 Ulrich Drepper <drepper@gmail.com>
15541
15542 [BZ #12922]
15543 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15544 but no long options are defined, just return 'W'.
15545
9895c8bc
UD
155462011-06-22 Marek Polacek <mpolacek@redhat.com>
15547
15548 [BZ #9696]
15549 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15550
5d4cf042
UD
155512011-07-06 Ulrich Drepper <drepper@gmail.com>
15552
15553 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15554 netgroups to read.
960e5535 15555 (innetgr): Likewise.
5d4cf042 15556
751eb97e
RM
155572011-07-05 Roland McGrath <roland@hack.frob.com>
15558
15559 * config.make.in (install_root): Default to $(DESTDIR).
15560
f15f1e45
UD
155612011-07-05 Ulrich Drepper <drepper@gmail.com>
15562
15563 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15564
4e34ac6a
RM
155652011-07-02 Roland McGrath <roland@hack.frob.com>
15566
5e9b6af4
RM
15567 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15568
84f9ea0f
RM
15569 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15570 containing directory rather than embedding absolute directory names.
15571
ea5ee9f7
RM
15572 * scripts/check-local-headers.sh: Rewritten using awk.
15573 Match by word, not by line. Print error messages for matches.
15574 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15575
1b74661a
RM
15576 * Makerules [shlib-lds-flags empty]:
15577 ($(common-objpfx)libc_pic.opts): New target.
15578 ($(common-objpfx)libc_pic.os.clean): New target.
15579 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15580
15581 * config.make.in (OBJCOPY): New variable.
15582 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15583 * configure: Regenerated.
15584
f781ef40
RM
15585 * config.make.in (use-default-link): New variable.
15586 * configure.in (use_default_link): Grok --with-default-link to set it.
15587 * configure: Regenerated.
15588 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15589 (shlib-lds, shlib-lds-flags): Define to empty.
15590
2d4fa81e
RM
15591 * Makerules (shlib-lds): New variable.
15592 (shlib-lds-flags): New variable.
15593 (build-shlib, build-moduile, build-module-asneeded): Use it.
15594 ($(common-objpfx)libc.so): Use $(shlib-lds).
15595 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15596 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15597
31fffa6b
RM
15598 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15599 DT_FLAGS/DT_FLAGS_1 with zero flags.
15600
4e34ac6a
RM
15601 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15602 linker script munging.
15603
fcfc776b
UD
156042011-07-02 Ulrich Drepper <drepper@gmail.com>
15605
15606 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15607 as 128-bit value.
15608 * crypt/sha512.c (sha512_process_block): Perform total addition using
15609 128-bit if possible.
15610 (__sha512_finish_ctx): Likewise.
15611 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15612 as 64-bit value.
15613 * crypt/sha256.c (SWAP64): Define.
15614 (sha256_process_block): Perform total addition using 64-bit if
15615 possible.
15616 (__sha256_finish_ctx): Likewise.
15617
99231d9a
UD
156182011-07-01 Ulrich Drepper <drepper@gmail.com>
15619
15620 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15622 * nscd/hstcache.c (cache_addhst): Likewise.
15623 * nscd/grpcache.c (cache_addgr): Likewise.
15624 * nscd/aicache.c (addhstaiX): Likewise
15625 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15626
445b4a53
TK
156272011-07-01 Thorsten Kukuk <kukuk@suse.de>
15628
15629 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15630 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15631 * nscd/hstcache.c (cache_addhst): Likewise.
15632 * nscd/grpcache.c (cache_addgr): Likewise.
15633 * nscd/aicache.c (addhstaiX): Likewise
15634
6d4d8e8e
AS
156352011-07-01 Andreas Schwab <schwab@redhat.com>
15636
15637 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15638 domain only when needed.
15639
89f654c5
AS
156402011-06-30 Andreas Schwab <schwab@redhat.com>
15641
15642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15643 is always restored.
15644
cf3b23ff
UD
156452011-06-29 Ulrich Drepper <drepper@gmail.com>
15646
15647 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15648 are re-adding the entry.
15649 * nscd/servicescache.c (cache_addserv): Likewise.
15650
751626f9
AJ
156512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15652
15653 * sysdeps/generic/dl-irel.h: fix protection against multiple
15654 inclusions.
15655 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15656
9113ea1f
UD
156572011-06-28 Ulrich Drepper <drepper@gmail.com>
15658
5c0b8d90
UD
15659 [BZ #12935]
15660 * malloc/memusage.sh: Fix quoting in message.
15661 * debug/xtrace.sh: Likewise.
15662
9113ea1f
UD
15663 * configure.in: Remove support for --experimental-malloc option, make
15664 it the default.
15665 * config.make.in: Likewise.
15666 * malloc/Makefile: Likewise.
15667
a4172181
AS
156682011-06-27 Andreas Schwab <schwab@redhat.com>
15669
15670 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15671 two-byte characters.
15672
78a7eee7
RM
156732011-06-27 Roland McGrath <roland@hack.frob.com>
15674
62bede13
RM
15675 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15676 AC_CACHE_CHECK invocation.
15677 * configure: Regenerated.
15678
78a7eee7
RM
15679 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15680
5ce33a62
UD
156812011-06-27 Ulrich Drepper <drepper@gmail.com>
15682
034807a9
UD
15683 [BZ #12350]
15684 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15685 bit from old_res_options.
15686
4902da17
UD
15687 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15688
5ce33a62
UD
15689 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15690 value type for setfct.
15691
c2344f56
L
156922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15693
15694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15695 __gettimeofday instead of gettimeofday.
15696
68468076
UD
156972011-06-26 Ulrich Drepper <drepper@gmail.com>
15698
15699 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15700
acb0d739
L
157012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15702
15703 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15704
15705 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15706 info.
15707
8912479f
L
157082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15709
15710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15711 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15712 strcpy-sse2-unaligned strncpy-sse2-unaligned
15713 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15714 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15715 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15716 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15717 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15718 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15720 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15721 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15722 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15723 (STRCPY): Support SSE2 and SSSE3 versions.
15724
d5495a11
UD
157252011-06-24 Ulrich Drepper <drepper@gmail.com>
15726
15727 [BZ #12874]
15728 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15729 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15730 kernels which artificially limit size of requests.
15731
0b1cbaae
L
157322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15733
15734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15735 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15736 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15737 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15738 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15739 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15740 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15741 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15742 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15744 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15745 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15746 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15747 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15748 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15750 Enable unaligned load optimization for Intel Core i3, i5 and i7
15751 processors.
15752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15753 Define.
15754 (index_Fast_Unaligned_Load): Define.
15755 (HAS_FAST_UNALIGNED_LOAD): Define.
15756
07f494a0
MP
157572011-06-23 Marek Polacek <mpolacek@redhat.com>
15758
15759 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15760
fa3fc0fe
UD
157612011-06-22 Ulrich Drepper <drepper@gmail.com>
15762
15763 [BZ #12907]
15764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15765 until it is clear that the information is realy needed.
15766 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15767
e12df166
AS
157682011-06-22 Andreas Schwab <schwab@redhat.com>
15769
15770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15771
852eb34d
UD
157722011-06-22 Ulrich Drepper <drepper@gmail.com>
15773
84e2a551
UD
15774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15775 /sys/devices/system/cpu/online if it is usable.
15776
852eb34d
UD
15777 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15778 reading the information from the /proc filesystem to once a second.
15779
6e502e19
UD
157802011-06-21 Andreas Jaeger <aj@suse.de>
15781
15782 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15783 NULL after inclusion of kernel headers.
15784
75d39ff2
UD
157852011-06-21 Ulrich Drepper <drepper@gmail.com>
15786
51f9aa6a
UD
15787 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15788 calls to internal_setent.
15789
c0244a9d
UD
15790 [BZ #12885]
15791 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15792 addresses using gethostbyname4_r ignore IPv4 addresses.
15793
c5e3c2ae
UD
15794 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15795 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15796
75d39ff2
UD
15797 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15798
42675c6f
DM
157992011-06-20 David S. Miller <davem@davemloft.net>
15800
15801 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15802 inclusions.
15803 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15804
15805 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15806 (elf_irel): Use it.
15807 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15808 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15809 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15810 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15811 * sysdeps/x86_64/dl-irel.h: Likewise.
15812
15813 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15814 * elf/dl-sym.c: Likewise.
15815
57912a71
UD
158162011-06-15 Ulrich Drepper <drepper@gmail.com>
15817
15818 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15819 need to dereference resplen2.
15820
ee22793d
AS
158212011-06-14 Andreas Schwab <schwab@redhat.com>
15822
15823 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15824
a9e836b0
UD
158252011-06-15 Ulrich Drepper <drepper@gmail.com>
15826
77fb9117
UD
15827 * Makeconfig: Define vardbdir and inst_vardbdir.
15828 * nss/Makefile: Add rules to install db-Makefile.
15829
40c1b22c
UD
15830 * nss/nss_db/db-XXX.c: Cleanup.
15831
9f2da732
UD
15832 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15833 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15834 GLIBC_PRIVATE.
15835 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15836 * nss/makedb.c: Implement -g option to specify that value strings
15837 are generated and should not be added to table iterated over for
15838 get*ent calls.
15839 * nss/nss_db/db-initgroups.c: New file.
15840
82e9a1f7
UD
15841 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15842 interface.
15843
c41af17e
UD
15844 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15845 (internal_getgrouplist): Adjust to name change.
15846 Update use_initgroups_entry if this is not the first call.
15847 * nss/databases.def: Add initgroups entry.
15848
a9e836b0
UD
15849 * nss/makedb.c (compute_tables): Check result of multiple hash table
15850 sizes to minimize maximum chain length.
15851
2666d441
UD
158522011-06-14 Ulrich Drepper <drepper@gmail.com>
15853
15854 * Versions.def: Add entry for libnss_db.
15855 * shlib-versions: Likewise.
15856 * nss/Makefile: Add rules to build libnss_db.
15857 * nss/Versions: Add libnss_db information. Organize libnss_files
15858 entries better.
15859 * nss/db-Makefile: Add gshadow support. Change rules for the new
15860 makedb progra. Some minor improvements to generate smaller files.
15861 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15862 here from...
15863 * nss/makedb.c: ...here.
15864 Improve database format to be smaller and require less memory at
15865 runtime.
15866 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15867 db anymore.
15868 * nss/nss_db/db-netgrp.c: Likewise.
15869 * nss/nss_db/db-open.c: Likewise.
15870 * nss/nss_files/flies-XXX.x: Adjust comments.
15871 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15872 * nss/nss_files/files-grp.c: Likewise.
15873 * nss/nss_files/files-hosts.c: Likewise.
15874 * nss/nss_files/files-network.c: Likewise.
15875 * nss/nss_files/files-proto.c: Likewise.
15876 * nss/nss_files/files-pwd.c: Likewise.
15877 * nss/nss_files/files-rpc.c: Likewise.
15878 * nss/nss_files/files-service.c: Likewise.
15879 * nss/nss_files/files-sgrp.c: Likewise.
15880 * nss/nss_files/files-spwd.c: Likewise.
15881 * nss/nss_db/db-alias.c: Removed.
15882 * nss/nss_db/dummy-db.h: Removed.
15883
9ee76b5a
UD
158842011-06-02 Ulrich Drepper <drepper@gmail.com>
15885
15886 * nss/makedb.c: Rewritten to not use database library.
15887 * nss/Makefile: Update to build new makedb program.
15888
c71ca1f8
AJ
158892011-06-14 Andreas Jaeger <aj@suse.de>
15890
15891 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15892 memset declaration.
15893
3154bfb8
UD
158942011-06-10 Andreas Schwab <schwab@redhat.com>
15895
15896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15897 tmpbuf.
15898
b350afab
RM
158992011-06-10 Roland McGrath <roland@hack.frob.com>
15900
decd4e50
RM
15901 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15902 * elf/Makefile ($(objpfx)ld.so): Likewise.
15903
5615eaf2
RM
15904 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15905 Don't list ld.so twice in dependencies.
15906
15907 * posix/bug-regex31.c: Include <stdlib.h>.
15908
15909 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15910
15911 * nis/nss_compat/compat-spwd.c
15912 (getspent_next_nss_netgr): Remove unused variable.
15913 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15914
15915 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15916 nonmembers" output to use the right array.
15917
15918 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15919
15920 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15921
15922 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15923 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15924 * catgets/gencat.c (read_input_file): Likewise.
15925 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15926
15927 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15928 variable definition inside #if's controlling its use.
15929
15930 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15931
15932 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15933
15934 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15935
15936 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15937 unreachable code.
15938
15939 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15940
b68e08db
RM
15941 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15942 * configure: Regenerated.
15943
b350afab
RM
15944 * Makerules: Revert last change.
15945 * elf/Makefile: Likewise.
15946
28368601
RM
159472011-06-09 Roland McGrath <roland@hack.frob.com>
15948
15949 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15950 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15951 (reloc-link): Likewise.
15952
11988f8f
UD
159532011-06-09 Ulrich Drepper <drepper@gmail.com>
15954
15955 * elf/Makefile: Add rules to build pldd.
15956 * elf/pldd.c: New file.
15957 * elf/pldd-xx.c: New file.
15958
e80fab37
UD
159592011-06-07 Ulrich Drepper <drepper@gmail.com>
15960
15961 * version.h: Update for 2.15 development version.
15962
9b849836
DM
159632011-06-07 David S. Miller <davem@davemloft.net>
15964
15965 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15966 ifuncs.
15967 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15968 elf_machine_lazy_rel): Likewise.
15969 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15970 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15971 elf_machine_lazy_rel): Likewise.
15972 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15973 dl_hwcap via passed in argument.
15974 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15975 Likewise.
15976
5a31b283
AK
159772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15978
15979 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15980
069e52f8
RM
159812011-06-06 Roland McGrath <roland@hack.frob.com>
15982
15983 [BZ #12849]
15984 * manual/fdl-1.1.texi: New file, verbatim from:
15985 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15986 * manual/lgpl-2.1.texi: New file, verbatim from:
15987 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15988 * manual/Makefile (licenses): New variable, list those new file names.
15989 (texis): Use it.
15990 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15991
15992 * manual/fdl.texi: File removed.
15993 * manual/lesser.texi: File removed.
15994 * manual/libc.texinfo (Copying, Documentation License):
15995 Use new @include file names, put @appendix directive before @include.
15996
f16846a5
JJ
159972011-06-04 Jakub Jelinek <jakub@redhat.com>
15998
15999 [BZ #12841]
16000 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16001 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16002 (mq_open): Add __NTH.
16003
3d29045b
L
160042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16005
16006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16007 Assume Intel Core i3/i5/i7 processor if AVX is available.
16008
8c297311
UD
160092011-05-31 Ulrich Drepper <drepper@gmail.com>
16010
16011 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16012 typo.
16013
c8fc0c91
UD
160142011-05-31 Andreas Schwab <schwab@redhat.com>
16015
16016 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16017 memory. Use alloca_account. Fix memory leak when retrying.
16018
5b27a807
UD
160192011-05-31 Ulrich Drepper <drepper@gmail.com>
16020
356f8bc6
UD
16021 * version.h (RELEASE): Bump for 2.14 release.
16022 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16023
5b27a807
UD
16024 * config.make.in (RANLIB): Remove entry.
16025
01f16ab0
UD
160262011-05-30 Ulrich Drepper <drepper@gmail.com>
16027
41fce8bd
UD
16028 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16029 (libc.pot): Work around missing support for .ksh extension in xgettext.
16030
4769ae77
UD
16031 [BZ #12684]
16032 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16033 if both request failed.
16034 (send_dg): In case of server errors clear resplen or *resplen2.
16035
6b1e7d19
UD
16036 [BZ #12454]
16037 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16038 when there are multiple maps.
16039 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16040 (_dl_fini): Remove test here.
16041
01f16ab0
UD
16042 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16043
b1ebd700
UD
160442011-05-29 Ulrich Drepper <drepper@gmail.com>
16045
7ae22829
UD
16046 [BZ #12350]
16047 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16048 bit from old_res_options.
16049 (gaih_inet): Likewise.
16050
553149f6 16051 [BZ #11099]
18a84741 16052 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16053 as signed.
16054
652ffab1
UD
16055 * resolv/res_init.c (res_setoptions): Make the code more compact.
16056
16985fd0
UD
16057 [BZ #11558]
16058 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16059 set RES_USEVC.
16060
0464f746
UD
16061 [BZ #11634]
16062 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16063
7d17596c
UD
16064 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16065
cf6bbbd7
UD
16066 [BZ #11781]
16067 * malloc/malloc.h: Declare malloc hook variables as volatile.
16068
13f1ab36
UD
16069 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16070 in last patch.
16071
b1ebd700
UD
16072 [BZ #11799]
16073 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16074 raise in the comment.
80e2212d
UD
16075 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16076 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16077 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16078
ce67228d
UD
160792011-05-28 Ulrich Drepper <drepper@gmail.com>
16080
8887a920
UD
16081 [BZ #12811]
16082 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16083 grow the buffers more if it already has to be sufficient.
16084 (build_wcs_upper_buffer): Likewise.
16085 * posix/regexec.c (check_matching): Likewise.
16086 (clean_state_log_if_needed): Likewise.
16087 (extend_buffers): Don't enlarge buffers beyond size of the input
16088 buffer.
16089 Patches mostly by Emil Wojak <emil@wojak.eu>.
16090 * posix/bug-regex32.c: New file.
16091 * posix/Makefile (tests): Add bug-regex32.
16092
4f031072
UD
16093 * locale/findlocale.c (_nl_find_locale): Return right away if
16094 _nl_explode_name failed.
16095 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16096
d0478f0c
UD
16097 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16098
de81b246
UD
16099 * debug/xtrace.sh: Unify messages.
16100 * malloc/memusage.sh: Likewise.
16101
c738465a
UD
16102 [BZ #12813]
16103 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16104 time symbol from vDSO. Substitute with vsyscall if not available.
16105 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16106 __vdso_time.
16107
f1f929d7
UD
16108 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16109 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16110 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16111 Add sendmmsg and internal_sendmmsg.
16112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16113 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16114 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16115
ce67228d
UD
16116 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16117 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16118 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16119
e57420c6
UD
161202011-05-27 Ulrich Drepper <drepper@gmail.com>
16121
a8509ca5
UD
16122 [BZ #12813]
16123 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16124 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16125 available.
16126 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16127 __vdso_getcpu.
16128
e57420c6
UD
16129 [BZ #12814]
16130 * iconvdata/Makefile (tests): Add bug-iconv9.
16131 * iconvdata/bug-iconv9.c: New file.
16132
4d07db15
AS
161332011-05-27 Andreas Schwab <schwab@redhat.com>
16134
16135 [BZ #12814]
16136 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16137
ea486f69
JJ
161382011-05-25 Jakub Jelinek <jakub@redhat.com>
16139
16140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16141 (struct user_regs_struct): Change intcs field back to cs.
16142
6f038433
UD
161432011-05-25 Ulrich Drepper <drepper@gmail.com>
16144
16145 * po/ja.po: Update from translation team.
16146
67f86a25
UD
161472011-05-23 Ulrich Drepper <drepper@gmail.com>
16148
16149 [BZ #12795]
16150 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16151 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16152
def7fbd6
AS
161532011-05-20 Andreas Schwab <schwab@redhat.com>
16154
16155 * stdlib/longlong.h: Update from GCC.
16156
f50ef8f1
AS
161572011-05-23 Andreas Schwab <schwab@redhat.com>
16158
16159 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16160 parameter name.
16161 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16162 Add parameter name.
16163 (__sysconf): Pass it down.
16164
de7ce8f1
UD
161652011-05-22 Ulrich Drepper <drepper@gmail.com>
16166
f2962a71
UD
16167 [BZ #12671]
16168 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16169 some situations.
16170 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16171 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16172 add in in __libc_use_alloca calls. Adjust callers.
16173 (glob): Use malloc in some situations.
16174
de7ce8f1
UD
16175 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16176 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16177 pltexit.
16178
aec84f53
UD
161792011-05-21 Ulrich Drepper <drepper@gmail.com>
16180
05bb4a68
UD
16181 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16182 and CLOCK_BOOTTIME_ALARM.
16183
7ea72f99
UD
16184 [BZ #12782]
16185 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16186 is returned.
16187
7e4afad5
UD
16188 * string/_strerror.c (__strerror_r): Print negative errors as signed
16189 numbers.
16190
8e211fec
UD
16191 [BZ #12777]
16192 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16193 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16194 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16195
f7d82dc9
UD
16196 * configure.in: Fix typo in redirection and correct removal of test
16197 files in two cases.
16198
cc9e536d
UD
16199 [BZ #12788]
16200 * locale/setlocale.c (new_composite_name): Fix test to check for
16201 identical name of all categories.
16202
aec84f53
UD
16203 [BZ #12792]
16204 * libio/filedoalloc.c (local_isatty): New function.
16205 (_IO_file_doallocate): Use local_isatty.
16206 * stdio-common/perror.c (perror): In case a new stream is used
16207 forward the stream error.
16208 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16209 error flag.
16210
78e64fdc
RT
162112011-05-20 Ulrich Drepper <drepper@gmail.com>
16212
34a9094f
UD
16213 [BZ #11869]
16214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16215 alloca.
16216 * include/alloca.h (extend_alloca_account): Define.
16217
78e64fdc
RT
16218 [BZ #11857]
16219 * posix/regex.h: Fix comments with documentation of user-accessible
16220 fields after compilation and describe correct free'ing of pattern
16221 after re_compile_pattern.
16222 Patch by Reuben Thomas <rrt@sc3d.org>.
16223
457bddfc
RA
162242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16225
16226 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16227 and -mno-altivec to prevent the compiler from using Altivec and/or
16228 VSX instructions when the corresponding registers are not available.
16229
a4527b51
AS
162302011-05-19 Andreas Schwab <schwab@redhat.com>
16231
16232 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16233
ed690b2f
UD
162342011-05-19 Ulrich Drepper <drepper@gmail.com>
16235
16236 * libio/freopen.c (freopen): Use __dup2, not dup2.
16237 * libio/freopen64.c (freopen64): Likewise.
16238
8db73634
L
162392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16240
16241 [BZ #12775]
16242 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16243 * math/Makefile (tests): Add test-powl.
16244 (CFLAGS-test-powl.c): Define.
16245 * math/test-powl.c: New file.
16246
0a197a9d
L
162472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16248
16249 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16250
ee30c380
UD
162512011-05-17 Ulrich Drepper <drepper@gmail.com>
16252
16253 [BZ #11837]
16254 * iconvdata/gb18030.c: Update to GB18020-2005.
16255
6ce75379
UD
162562011-05-16 Ulrich Drepper <drepper@gmail.com>
16257
a4b89fd8
AR
16258 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16259 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16260 Patch by Aharon Robbins <arnold@skeeve.com>.
16261
ea389b12
UD
16262 [BZ #11892]
16263 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16264 on the stack.
16265
68a3f91f
UD
16266 [BZ #11895]
16267 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16268 through underflows.
16269
15cc7dd1
UD
16270 [BZ #12766]
16271 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16272 point to strings before performing equality test for error_one_per_line
16273 mode.
16274
f3799213
UD
16275 [BZ #11697]
16276 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16277
d79a9c94
UD
16278 [BZ #11820]
16279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16280 (struct user_fpregs_struct): Avoid __uint*_t types.
16281
56e5eb46
UD
16282 [BZ #6420]
16283 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16284 symbol info. Use it instead of calling _dl_addr locally.
16285 (lock_and_info): New function.
16286 (tr_freehook): Call lock_and_info and pass symbol info as additional
16287 parameter to tr_where.
16288 (tr_mallochook): Likewise.
16289 (tr_reallochook): Likewise.
16290 (tr_memalignhook): Likewise.
16291
6ce75379
UD
16292 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16293 used and couldn't be at all thread-safe.
16294
f8a3b5bf
UD
162952011-05-15 Ulrich Drepper <drepper@gmail.com>
16296
94b7cc37
UD
16297 * libio/freopen.c (freopen): Don't close old file descriptor
16298 before the new one is opened. Instead dup the new file descriptor
16299 to the old one after the new stream is created.
16300 * libio/freopen64.c (freopen64): Likewise.
16301 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16302 * libio/fileops.c (_IO_new_file_close_it): Handle new
16303 _IO_FLAGS2_NOCLOSE flag.
16304 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16305 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16306 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16307 _IO_FLAGS2_NOCLOSE flag.
16308 * include/unistd.h: Add hidden_proto for dup3.
16309 Define __have_dup3.
16310 * io/dup3.c: Define hidden symbol.
16311 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16312
bd25564e
UD
16313 [BZ #7101]
16314 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16315 when an incomplete long option is used.
16316 * posix/tst-getopt_long1.c: New file.
16317 * posix/Makefile (tests): Add tst-getopt_long1.
16318
c84cfef4
UD
16319 [BZ #10138]
16320 * scripts/config.guess: Update from autoconf-2.68.
16321 * scripts/config.sub: Likewise.
16322
3b85df27
UD
16323 [BZ #10157]
16324 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16325 tests into ...
16326 (has_cpuclock): ...this. New function.
16327 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16328 macro here based on has_cpuclock code.
16329
15a856b1
UD
16330 [BZ #10149]
16331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16332 First byte (not low byte) is now always NUL.
16333 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16334
05f399e6
UD
16335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16336 Use non-cancelable interfaces.
16337
10a52685 16338 [BZ #9809]
94ecc67d
UD
16339 * locale/iso-639.def: Add entry for Sorani.
16340
f8a3b5bf
UD
16341 [BZ #11901]
16342 * include/stdlib.h: Move include protection to the right place.
16343 Define abort_msg_s. Declare __abort_msg with it.
16344 * stdlib/abort.c (__abort_msg): Adjust type.
16345 * assert/assert.c (__assert_fail_base): New function. Majority
16346 of code from __assert_fail. Allocate memory for __abort_msg with
16347 mmap.
16348 (__assert_fail): Now call __assert_fail_base.
16349 * assert/assert-perr.c: Remove bulk of implementation. Use
16350 __assert_fail_base.
16351 * include/assert.hL Declare __assert_fail_base.
16352 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16353 mmap.
16354 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16355
1af4e298
UD
163562011-05-14 Ulrich Drepper <drepper@gmail.com>
16357
f8a3b5bf 16358 [BZ #11952]
d26dfc60
MG
16359 [BZ #12453]
16360 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16361 until all modules are registered in the DTV.
16362 * elf/Makefile: Add rules to build and run tst-tls19.
16363 * elf/tst-tls19.c: New file.
16364 * elf/tst-tls19mod1.c: New file.
16365 * elf/tst-tls19mod2.c: New file.
16366 * elf/tst-tls19mod3.c: New file.
16367 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16368
2fc54d6f
UD
16369 [BZ #12083]
16370 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16371 correctly.
16372
98d76b46
UD
16373 [BZ #12601]
16374 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16375 two-byte sequence errors.
16376 * iconvdata/Makefile (tests): Add bug-iconv8.
16377 * iconvdata/bug-iconv8.c: New file.
16378
da3c19ef
UD
16379 [BZ #12626]
16380 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16381 buf2 definition.
16382
ca408c15
UD
16383 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16384
d6f67f7d
UD
16385 [BZ #12432]
16386 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16387 (dummy_getcfa): New function.
16388 (init): Get _Unwind_GetCFA address, use dummy if not found.
16389 (backtrace_helper): In recursion check, also check whether CFA changes.
16390 (__backtrace): Completely initialize arg.
16391
1af4e298 16392 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16393 storing incomplete byte sequence in state object. Avoid testing for
16394 guaranteed too small input if we know there is enough data available.
1af4e298 16395
da62f81b
AS
163962011-05-11 Andreas Schwab <schwab@redhat.com>
16397
16398 * Makeconfig (+link-pie): Indent.
16399 * Rules (binaries-pie): Define if $(have-fpie) and
16400 $(build-shared).
16401 (binaries-shared): Also filter out $(binaries-pie).
16402 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16403 * nscd/Makefile (others-pie): Add nscd.
16404 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16405 ($(objpfx)nscd): Remove command override.
16406 * login/Makefile (others-pie): Add pt_chown.
16407 ($(objpfx)pt_chown): Remove command override.
16408 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16409 remove command overrides.
16410
fcabc0f8
UD
164112011-05-13 Ulrich Drepper <drepper@gmail.com>
16412
20030ae6
UD
16413 * libio/tst_putwc.c: Fix error messages.
16414
fcabc0f8
UD
16415 [BZ #12724]
16416 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16417 currently writing and seek to current position when not.
16418 * libio/Makefile (tests): Add bug-fclose1.
16419 * libio/bug-fclose1.c: New file.
16420
320a5dc0
PB
164212011-05-12 Ulrich Drepper <drepper@gmail.com>
16422
16423 [BZ #12511]
16424 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16425 don't set DF_1_NODELETE here.
16426 (do_lookup_x): When entering new entry test for copy relocation
16427 and if necessary set DF_1_NODELETE flag.
16428 * elf/tst-unique4.cc: New file.
16429 * elf/tst-unique4.h: New file.
16430 * elf/tst-unique4lib.cc: New file.
16431 * elf/Makefile: Add rules to build and run tst-unique4.
16432 Patch by Piotr Bury <pbury@goahead.com>.
16433
22836f52
UD
164342011-05-11 Ulrich Drepper <drepper@gmail.com>
16435
f574184a
UD
16436 [BZ #12052]
16437 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16438
e1fb097f
UD
16439 [BZ #12625]
16440 * misc/mntent_r.c (addmntent): Flush the stream after the output
16441
22836f52
UD
16442 [BZ #12393]
16443 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16444 (is_trusted_path_normalize): Skip initial colon. Append slash
16445 to empty buffer. Duplicate is_trusted_path code but allow
16446 constructed patch to be prefix.
16447 (is_dst): Allow $ORIGIN followed by /.
16448 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16449 Correct testing of result of is_trusted_path_normalize
16450 (decompose_rpath): Fix warning.
16451
7b3b0b2a
UD
164522011-05-10 Ulrich Drepper <drepper@gmail.com>
16453
16454 [BZ #11257]
16455 * grp/initgroups.c (internal_getgrouplist): When we found the service
16456 list through the initgroups entry in nsswitch.conf do not always
16457 continue on a successful lookup. Don't always use the
eac80ce2 16458 __nss_group_database value if it is set.
7b3b0b2a
UD
16459 * nss/nsswitch.conf (initgroups): Change action for successful db
16460 lookup to continue for compatibility.
16461
2a81eaa5
UD
164622011-05-09 Ulrich Drepper <drepper@gmail.com>
16463
be97a69e
UD
16464 [BZ #11532]
16465 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16466 and CP774 modules.
16467 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16468 and CP774 modules.
16469 * iconvdata/tst-tables.sh: Likewise.
16470 * iconvdata/cp770.c: New file.
16471 * iconvdata/cp771.c: New file.
16472 * iconvdata/cp772.c: New file.
16473 * iconvdata/cp773.c: New file.
16474 * iconvdata/cp774.c: New file.
16475 * iconvdata/testdata/CP770: New file.
16476 * iconvdata/testdata/CP770..UTF8: New file.
16477 * iconvdata/testdata/CP771: New file.
16478 * iconvdata/testdata/CP771..UTF8: New file.
16479 * iconvdata/testdata/CP772: New file.
16480 * iconvdata/testdata/CP772..UTF8: New file.
16481 * iconvdata/testdata/CP773: New file.
16482 * iconvdata/testdata/CP773..UTF8: New file.
16483 * iconvdata/testdata/CP774: New file.
16484 * iconvdata/testdata/CP774..UTF8: New file.
16485
16486 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16487 END CHARMAP line.
16488 * iconvdata/gen-8bit-gap.sh: Likewise.
16489 * iconvdata/gen-8bit.sh: Likewise.
16490
c1e9e399
UD
16491 * locale/iso-639.def: Add ary entry.
16492
24c55fb3 16493 [BZ #11258]
96b4b1b0
UD
16494 * locale/C-translit.h.in: Add U20A1 transliteration.
16495
bdc2f971
KB
16496 [BZ #12178]
16497 * locale/iso-639.def: Add wae entry.
16498 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16499
2952b117
UD
16500 [BZ #12545]
16501 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16502 for n.
16503
2a81eaa5
UD
16504 [BZ #12711]
16505 * locale/C-translit.h.in: Add entry for U20B9.
16506 Patch by pravin.d.s@gmail.com.
16507
28377d1b
UD
165082011-05-08 Ulrich Drepper <drepper@gmail.com>
16509
7fb90fb8
UD
16510 [BZ #12713]
16511 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16512 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16513 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16514 in rtld. Use *stat64.
7fb90fb8 16515 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16516 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16517 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16518 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16519 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16520 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16521 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16522 __fstatat64 macros.
7fb90fb8
UD
16523 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16524 * dirent/rewinddir.c: Add libc_hidden_def.
16525 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16526 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16527
28377d1b
UD
16528 * include/dirent.h (__alloc_dir): Add flags parameter.
16529 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16530 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16531 __alloc_dir.
16532 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16533 from fdopendir if O_CLOEXEC is already set.
16534
66bdbaa4
AM
165352011-03-15 Alan Modra <amodra@gmail.com>
16536
16537 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16538 l_tls_firstbyte_offset non-zero. Save padding offset in
16539 l_tls_firstbyte_offset for later use.
16540 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16541 freeing static tls block.
16542
95721191
JN
165432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16544
16545 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16546 where #ifdef was intended. The intent is to prevent ARG_MAX from
16547 being defined by the kernel headers.
16548
f87dfb1f
UD
165492011-05-07 Ulrich Drepper <drepper@gmail.com>
16550
16551 [BZ #12734]
16552 * resolv/resolv.h: Define RES_NOTLDQUERY.
16553 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16554 no-tld-query and set RES_NOTLDQUERY.
16555 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16556 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16557 modern BIND to search name as TLD unless forbidden.
16558
47c3cd7a
UD
165592011-05-07 Petr Baudis <pasky@suse.cz>
16560 Ulrich Drepper <drepper@gmail.com>
16561
16562 [BZ #12393]
16563 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16564 (is_trusted_path): ...to here.
c1e9ea35 16565 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16566 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16567 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16568
8a35c912
PP
165692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16570
16571 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16572 __BEGIN/__END_DECLS.
16573
acd41f47
UD
165742011-05-06 Ulrich Drepper <drepper@gmail.com>
16575
16576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16577 NSS_STATUS_NOTFOUND if no record was found.
16578
597df647
AS
165792011-05-05 Andreas Schwab <schwab@redhat.com>
16580
16581 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16582 (headers-not-in-tirpc): Remove rpc/netdb.h
16583 * resolv/netdb.h: Revert last change.
16584
b9af1301
PP
165852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16586
16587 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16588 circular dependency between libgcc.a and libc.a.
16589
4e34d5f5
AS
165902011-05-05 Andreas Schwab <schwab@redhat.com>
16591
16592 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16593 * nis/Makefile: Don't install rpcsvc/*.
16594 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16595 instead of <rpc/types.h>.
16596 (MAXHOSTNAMELEN): Define.
16597
00ee369c
AS
165982011-05-03 Andreas Schwab <schwab@redhat.com>
16599
16600 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16601
0b592a30
MB
166022011-04-28 Maciej Babinski <mbabinski@google.com>
16603
16604 [BZ #12714]
16605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16606 gethostbyname4_r when IPv6 results are possible.
16607
6e04cbbe
UD
166082011-05-02 Ulrich Drepper <drepper@gmail.com>
16609
16610 [BZ #12723]
16611 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16612 _PC_PIPE_BUF handling.
16613
e4ecafe0
BH
166142011-04-30 Bruno Haible <bruno@clisp.org>
16615
16616 [BZ #12717]
16617 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16618 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16619 to 'int'.
16620 * inet/getnameinfo.c (getnameinfo): Likewise.
16621
125ee683
UD
166222011-04-29 Ulrich Drepper <drepper@gmail.com>
16623
16624 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16625 to groups setting in database lookup.
16626 * nss/nsswitch.conf: Add initgroups entry.
16627
b722481a
EB
166282011-04-22 Ulrich Drepper <drepper@gmail.com>
16629
16630 [BZ #12685]
16631 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16632 mode string.
16633 Patch by Eric Blake <eblake@redhat.com>.
16634
4df46dbd
L
166352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16636
16637 * sunrpc/Makefile (need-export-routines): Add svc_run.
16638 (routines): Remove svc_run.
16639 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16640 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16641 * sunrpc/svc_run.c (svc_run): Likewise.
16642 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16643
e84142d2
UD
166442011-04-21 Ulrich Drepper <drepper@gmail.com>
16645
16646 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16647 problem in reallocation in last patch.
16648
877175d8
UD
166492011-04-20 Ulrich Drepper <drepper@gmail.com>
16650
16651 * sunrpc/Makefile: Move inclusion of Rules.
16652
ab8eed78
UD
166532011-04-19 Ulrich Drepper <drepper@gmail.com>
16654
16655 * nss/nss_files/files-initgroups.c: New file.
16656 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16657 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16658 _nss_files_initgroups_dyn.
16659
e3d8f584
RS
166602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16661
16662 * elf/elf.h (R_ARM_IRELATIVE): Define.
16663
af190f45
UD
166642011-04-19 Ulrich Drepper <drepper@gmail.com>
16665
16666 * po/ru.po: Update from translation team.
16667
53cf59ef
UD
166682011-04-17 Ulrich Drepper <drepper@gmail.com>
16669
16670 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16671 dependencies.
16672
4c559bcd
MF
166732011-02-06 Mike Frysinger <vapier@gentoo.org>
16674
16675 [BZ #12653]
16676 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16677 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16678 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16679 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16680 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16681
4420675c
AS
166822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16683
16684 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16685 differing bytes.
16686 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16687 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16688 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16689
75ea32ab
UD
166902011-04-17 Ulrich Drepper <drepper@gmail.com>
16691
16692 [BZ #12420]
16693 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16694 storing it.
16695 * stdlib/bug-getcontext.c: New file.
16696 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16697
27390476
AK
166982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16699
16700 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16701 instructions into .machine "z9-109".
16702 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16703 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16704
10442705
AK
167052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16706
16707 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16708 between environment variables and auxiliary vector.
16709
7b57bfe5
UD
167102011-04-16 Ulrich Drepper <drepper@gmail.com>
16711
16712 * Makefile: Add rules to build linkobj/libc.so.
16713 * include/libc-symbols.h: Define libc_hidden_nolink.
16714 * include/rpc/auth.h: Mark functions which are to be hidden.
16715 * include/rpc/auth_des.h: Likewise.
16716 * include/rpc/auth_unix.h: Likewise.
16717 * include/rpc/clnt.h: Likewise.
16718 * include/rpc/des_crypt.h: Likewise.
16719 * include/rpc/key_prot.h: Likewise.
16720 * include/rpc/pmap_clnt.h: Likewise.
16721 * include/rpc/pmap_prot.h: Likewise.
16722 * include/rpc/pmap_rmt.h: Likewise.
16723 * include/rpc/rpc_msg.h: Likewise.
16724 * include/rpc/svc.h: Likewise.
16725 * include/rpc/svc_auth.h: Likewise.
16726 * include/rpc/xdr.h: Likewise.
16727 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16728 * nss/Makefile: Likewise.
16729 * sunrpc/Makefile: Don't install headers. Build library with normal
16730 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16731 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16732 for the compat linking library. Remove use of INTDEF/INTUSE.
16733 * sunrpc/auth_none.c: Likewise.
16734 * sunrpc/auth_unix.c: Likewise.
16735 * sunrpc/authdes_prot.c: Likewise.
16736 * sunrpc/authuxprot.c: Likewise.
16737 * sunrpc/clnt_gen.c: Likewise.
16738 * sunrpc/clnt_perr.c: Likewise.
16739 * sunrpc/clnt_raw.c: Likewise.
16740 * sunrpc/clnt_simp.c: Likewise.
16741 * sunrpc/clnt_tcp.c: Likewise.
16742 * sunrpc/clnt_udp.c: Likewise.
16743 * sunrpc/clnt_unix.c: Likewise.
16744 * sunrpc/des_crypt.c: Likewise.
16745 * sunrpc/des_soft.c: Likewise.
16746 * sunrpc/get_myaddr.c: Likewise.
16747 * sunrpc/key_call.c: Likewise.
16748 * sunrpc/key_prot.c: Likewise.
16749 * sunrpc/netname.c: Likewise.
16750 * sunrpc/pm_getmaps.c: Likewise.
16751 * sunrpc/pm_getport.c: Likewise.
16752 * sunrpc/pmap_clnt.c: Likewise.
16753 * sunrpc/pmap_prot.c: Likewise.
16754 * sunrpc/pmap_prot2.c: Likewise.
16755 * sunrpc/pmap_rmt.c: Likewise.
16756 * sunrpc/publickey.c: Likewise.
16757 * sunrpc/rpc_cmsg.c: Likewise.
16758 * sunrpc/rpc_common.c: Likewise.
16759 * sunrpc/rpc_dtable.c: Likewise.
16760 * sunrpc/rpc_prot.c: Likewise.
16761 * sunrpc/rpc_thread.c: Likewise.
16762 * sunrpc/rtime.c: Likewise.
16763 * sunrpc/svc.c: Likewise.
16764 * sunrpc/svc_auth.c: Likewise.
16765 * sunrpc/svc_authux.c: Likewise.
16766 * sunrpc/svc_raw.c: Likewise.
16767 * sunrpc/svc_run.c: Likewise.
16768 * sunrpc/svc_simple.c: Likewise.
16769 * sunrpc/svc_tcp.c: Likewise.
16770 * sunrpc/svc_udp.c: Likewise.
16771 * sunrpc/svc_unix.c: Likewise.
16772 * sunrpc/svcauth_des.c: Likewise.
16773 * sunrpc/xcrypt.c: Likewise.
16774 * sunrpc/xdr.c: Likewise.
16775 * sunrpc/xdr_array.c: Likewise.
16776 * sunrpc/xdr_float.c: Likewise.
16777 * sunrpc/xdr_intXX_t.c: Likewise.
16778 * sunrpc/xdr_mem.c: Likewise.
16779 * sunrpc/xdr_rec.c: Likewise.
16780 * sunrpc/xdr_ref.c: Likewise.
16781 * sunrpc/xdr_sizeof.c: Likewise.
16782 * sunrpc/xdr_stdio.c: Likewise.
16783
e6c61494
UD
167842011-04-10 Ulrich Drepper <drepper@gmail.com>
16785
16786 [BZ #12650]
16787 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16788 * sysdeps/ia64/dl-tls.h: Likewise.
16789 * sysdeps/powerpc/dl-tls.h: Likewise.
16790 * sysdeps/s390/dl-tls.h: Likewise.
16791 * sysdeps/sh/dl-tls.h: Likewise.
16792 * sysdeps/sparc/dl-tls.h: Likewise.
16793 * sysdeps/x86_64/dl-tls.h: Likewise.
16794 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16795
34fe483e
AS
167962011-03-14 Andreas Schwab <schwab@redhat.com>
16797
16798 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16799 rpath element also skip the following colon.
16800 (expand_dynamic_string_token): Add is_path parameter and pass
16801 down to DL_DST_REQUIRED and _dl_dst_substitute.
16802 (decompose_rpath): Call expand_dynamic_string_token with
16803 non-zero is_path. Ignore empty rpaths.
16804 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16805 with zero is_path.
16806
f12a32e6
AS
168072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16808
16809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16810 Make cancelable.
16811
38a7d692
UD
168122011-04-09 Ulrich Drepper <drepper@gmail.com>
16813
16814 [BZ #12655]
16815 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16816 Patch by Filipe David Manana <fdmanana@apache.org>.
16817
e451d22b
AS
168182011-04-07 Andreas Schwab <schwab@redhat.com>
16819
16820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16821 Maintain aligned stack.
16822 (CHECK_RSP): Remove unused macro.
16823
dedc7c7b
UD
168242011-04-03 Ulrich Drepper <drepper@gmail.com>
16825
16826 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16828
94521213
UD
168292011-04-02 Ulrich Drepper <drepper@gmail.com>
16830
16831 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16832
8cb700c0 16833 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16834
0354e355
L
168352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16836
16837 [BZ #12518]
16838 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16839 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16840 * sysdeps/x86_64/memmove.c: New file.
16841 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16842 (memcpy): Renamed to ...
16843 (__new_memcpy): This.
16844 (memcpy): Provide GLIBC_2_14 memcpy.
16845 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16846 (memcpy): Provide GLIBC_2_2_5 memcpy.
16847
8593482f
UD
168482011-04-01 Ulrich Drepper <drepper@gmail.com>
16849
16850 [BZ #12631]
16851 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16852
81a5726b
AS
168532011-03-30 Andreas Schwab <schwab@redhat.com>
16854
16855 * misc/syncfs.c: New file.
16856 * misc/Makefile (routines): Add syncfs.
16857 * posix/unistd.h: Declare syncfs.
16858 * sysdeps/unix/syscalls.list: Add syncfs.
16859
00e5419f
AS
168602011-04-01 Andreas Schwab <schwab@redhat.com>
16861
16862 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16863 open_by_handle_at.
16864 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16865 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16867 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16868 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16869 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16871
748876bf
UD
168722011-04-01 Ulrich Drepper <drepper@gmail.com>
16873
658e451d
UD
16874 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16875 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16876 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16878 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16880 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16881
748876bf
UD
16882 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16883 sync_file_range.c with -fexceptions.
16884 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16885 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16886 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16887 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16888 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16889 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16891 sync_file_range as cancellation point
16892 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16893 now a wrapper around __call_sync_file_range with cancellation handling.
16894 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16895 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16896 function name to __call_sync_file_range.
16897 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16898 Add call_sync_file_range.
748876bf 16899
6e63d5e1
AS
169002011-04-01 Andreas Schwab <schwab@redhat.com>
16901
16902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16903 bits/timex.h.
6e63d5e1 16904
46998f74
UD
169052011-04-01 Ulrich Drepper <drepper@gmail.com>
16906
4c1423ed
UD
16907 * iconv/iconv.h: Fix typo in comment.
16908 * io/fcntl.h: Likewise.
16909 * libio/stdio.h: Likewise.
16910 * posix/spawn.h: Likewise.
16911 * posix/unistd.h: Likewise.
16912 * stdlib/stdlib.h: Likewise.
16913 * time/time.h: Likewise.
16914 * wcsmbs/wchar.h: Likewise.
16915
158648c0
UD
16916 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16917 open_by_handle): Add.
16918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16919 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16920 Augment a few comments.
16921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16923 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16925 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16926 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16927 open_by_handle.
16928
46998f74
UD
16929 * io/fcntl.h (AT_EMPTY_PATH): Define.
16930
83fe108b
UD
169312011-03-30 Ulrich Drepper <drepper@gmail.com>
16932
16933 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16934 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16935 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16936 to...
16937 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16938 * Versions.def: Add GLIBC_2.14.
16939 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16940 Export.
83fe108b 16941
bb242059
UD
169422011-03-22 Ulrich Drepper <drepper@gmail.com>
16943
16944 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16945 round counter.
16946 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16947
c97a1282
L
169482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16949
16950 [BZ #12597]
16951 * string/test-strncmp.c (do_page_test): New function.
16952 (check2): Likewise.
16953 (test_main): Call check2.
16954 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16955
2a115601
UD
169562011-03-20 Ulrich Drepper <drepper@gmail.com>
16957
16958 [BZ #12587]
16959 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16960 Handle cache information in CPU leaf 4.
16961 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16962
8126d904
UD
169632011-03-18 Ulrich Drepper <drepper@gmail.com>
16964
042c49c6 16965 [BZ #12583]
8126d904
UD
16966 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16967 character representation.
16968 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16969
ccfe366e
RA
169702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16971
16972 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16973 END(__isnan) to END(__isnanf) to match function entry point/label
16974 EALIGN(__isnanf,...).
16975
c6e13027
JJ
169762011-03-10 Jakub Jelinek <jakub@redhat.com>
16977
16978 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16979
33f85a3f
UD
169802011-03-10 Ulrich Drepper <drepper@gmail.com>
16981
028478fa
UD
16982 [BZ #12510]
16983 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16984 copy from the symbol referenced in the relocation to initialize the
16985 used variable.
16986 Patch by Piotr Bury <pbury@goahead.com>.
16987 * elf/Makefile: Add rules to build and tst-unique3.
16988 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16989 * elf/tst-unique3.cc: New file.
16990 * elf/tst-unique3.h: New file.
16991 * elf/tst-unique3lib.cc: New file.
16992 * elf/tst-unique3lib2.cc: New file.
16993
33f85a3f
UD
16994 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16995
03592fc7
MF
169962011-03-10 Mike Frysinger <vapier@gentoo.org>
16997
16998 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16999 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17000 to _start.
03592fc7 17001
6a5ee102
UD
170022011-03-06 Ulrich Drepper <drepper@gmail.com>
17003
17004 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17005 to-be-loaded object along a path to loader is ld.so.
17006
7e4ba49c
HJ
170072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17008 Ulrich Drepper <drepper@gmail.com>
17009
17010 * sysdeps/x86_64/memset.S: After aligning destination, code
17011 branches to different locations depending on the value of
17012 misalignment, when multiarch is enabled. Fix this.
17013
170142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17015
17016 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17017 Set _x86_64_preferred_memory_instruction for AMD processsors.
17018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17019 Set bit_Prefer_SSE_for_memop for AMD processors.
17020
13a804de
UD
170212011-03-04 Ulrich Drepper <drepper@gmail.com>
17022
17023 * libio/fmemopen.c (fmemopen): Optimize a bit.
17024
9d25c392
AS
170252011-03-03 Andreas Schwab <schwab@redhat.com>
17026
17027 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17028
a5543c6a
RM
170292011-03-03 Roland McGrath <roland@redhat.com>
17030
17031 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17032
012d35f7
DM
170332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17034
7e4ba49c 17035 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17036 __bzero_ultra1 instead of __memset_ultra1.
17037
4bff6e01
AS
170382011-02-23 Andreas Schwab <schwab@redhat.com>
17039 Ulrich Drepper <drepper@gmail.com>
17040
17041 [BZ #12509]
17042 * include/link.h (struct link_map): Add l_orig_initfini.
17043 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17044 returning unsuccessfully.
17045 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17046 close of a file loaded at startup, restore the original l_initfini
17047 list.
17048 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17049 list, store the pointer.
17050 * elf/Makefile ($(objpfx)noload-mem): New rule.
17051 (noload-ENV): Define.
17052 (tests): Add $(objpfx)noload-mem.
17053 * elf/noload.c: Include <memcheck.h>.
17054 (main): Call mtrace. Close all opened handles.
17055
f2092faf
AS
170562011-02-17 Andreas Schwab <schwab@redhat.com>
17057
17058 [BZ #12454]
17059 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17060 dependencies are missing.
17061
6c8a2e88
ST
170622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17063
f2092faf 17064 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17065 Hurd needs munmap.
17066 * sysdeps/mach/hurd/ifreq.h: New file.
17067
84a42118
PB
170682011-01-27 Petr Baudis <pasky@suse.cz>
17069 Ulrich Drepper <drepper@gmail.com>
17070
071f805e 17071 [BZ 12445]#
84a42118
PB
17072 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17073 to extend_alloca().
17074 * stdio-common/bug23.c: New file.
17075 * stdio-common/Makefile (tests): Add bug23.
17076
e23fe25b
AS
170772010-09-28 Andreas Schwab <schwab@redhat.com>
17078 Ulrich Drepper <drepper@gmail.com>
17079
17080 [BZ #12489]
17081 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17082 before performing relro protection. At old place add assertion
17083 to make sure nothing changed.
17084
d3f02e10
NS
170852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17086 Glauber de Oliveira Costa <glommer@gmail.com>
17087
17088 * elf/elf.h: Add new ARM TLS relocs.
17089
d55fd7a5
RA
170902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17091
17092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17093 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17094 cast from r3.
17095 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17096 'tests' variable.
17097 * sysdeps/wordsize-64/tst-writev.c: New file.
17098
2206397e
RA
170992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17100
17101 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17102 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17103 insns in _dl_start to prevent a TOC reference before relocs are
17104 resolved.
17105
e9433893
UD
171062011-02-15 Ulrich Drepper <drepper@gmail.com>
17107
17108 [BZ #12469]
17109 * Makeconfig: Remove RANLIB definition.
17110 * Makerules: Don't use RANLIB.
17111 * aclocal.m4: Remove ranlib test.
17112 * configure.in: No need to check for ranlib.
17113 * elf/rtld-Rules: Don't use RANLIB.
17114
f75286c6
ST
171152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17116
8e31c82d
ST
17117 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17118 protection macro.
17119 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17120 inclusion protection macro.
17121
f75286c6
ST
17122 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17123 SIGRTMIN and SIGRTMAX and print information in that case only when
17124 SIGRTMIN is defined.
17125
c1d0e639
JJ
171262011-02-11 Jakub Jelinek <jakub@redhat.com>
17127
17128 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17129 arginfo fn returning -1.
17130
17131 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17132 and thousands string is zero terminated.
17133
edf9294e
AS
171342011-02-03 Andreas Schwab <schwab@redhat.com>
17135
17136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17137 sysdeps/unix/sysv/linux/bits/socket.h.
17138
2b7e92df
ST
171392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17140
edf9294e
AS
17141 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17142 (__CPU_COUNT): Remove old macros.
17143 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17144 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17145 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17146 (__sched_cpualloc, __sched_cpufree): Add declarations.
17147
a4c7ea7b
UD
171482011-02-05 Ulrich Drepper <drepper@gmail.com>
17149
17150 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17151 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17152 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17153 (readdhstai): Return value of addhstaiX call.
17154 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17155 (addgrbyX): Return value returned by cache_addgr.
17156 (readdgrbyname): Return value returned by addgrbyX.
17157 (readdgrbygid): Likewise.
17158 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17159 (addpwbyX): Return value returned by cache_addpw.
17160 (readdpwbyname): Return value returned by addhstbyX.
17161 (readdpwbyuid): Likewise.
17162 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17163 (addservbyX): Return value returned by cache_addserv.
17164 (readdservbyname): Return value returned by addservbyX:
17165 (readdservbyport): Likewise.
17166 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17167 (addhstbyX): Return value returned by cache_addhst.
17168 (readdhstbyname): Return value returned by addhstbyX.
17169 (readdhstbyaddr): Likewise.
17170 (readdhstbynamev6): Likewise.
17171 (readdhstbyaddrv6): Likewise.
17172 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17173 (readdinitgroups): Return value returned by addinitgroupsX.
17174 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17175 (prune_cache): Keep track of timeout value of re-added entries.
17176 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17177 * nscd/nscd.h: Adjust prototypes of readd* functions.
17178
a0bf67cc
RM
171792011-02-04 Roland McGrath <roland@redhat.com>
17180
17181 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17182 (nis_stats): Likewise.
17183 * nis/nis_modify.c (nis_modify): Likewise.
17184 * nis/nis_remove.c (nis_remove): Likewise.
17185 * nis/nis_add.c (nis_add): Likewise.
17186
17187 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17188
17189 * posix/fnmatch_loop.c: Add some consts.
17190
17191 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17192
435b95eb
L
171932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17194
17195 [BZ #12460]
17196 * config.make.in (config-cflags-novzeroupper): Define.
17197 * configure.in: Substitute libc_cv_cc_novzeroupper.
17198 * elf/Makefile (AVX-CFLAGS): Define.
17199 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17200 (CFLAGS-tst-auditmod4a.c): Likewise.
17201 (CFLAGS-tst-auditmod4b.c): Likewise.
17202 (CFLAGS-tst-auditmod6b.c): Likewise.
17203 (CFLAGS-tst-auditmod6c.c): Likewise.
17204 (CFLAGS-tst-auditmod7b.c): Likewise.
17205 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17206
8517b15e
UD
172072011-02-02 Ulrich Drepper <drepper@gmail.com>
17208
17209 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17210 function to the callback.
17211 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17212
10a656fe
AS
172132011-02-02 Andreas Schwab <schwab@redhat.com>
17214
17215 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17216 of errno.
17217
968dad0a
UD
172182011-01-19 Ulrich Drepper <drepper@gmail.com>
17219
9f94d2ea 17220 [BZ #11724]
968dad0a
UD
17221 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17222 of constructors.
17223 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17224 of destructors.
17225 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17226
17227 [BZ #11724]
17228 * elf/Makefile: Add rules to build and run new test.
17229 * elf/tst-initorder.c: New file.
17230 * elf/tst-initorder.exp: New file.
17231 * elf/tst-initordera1.c: New file.
17232 * elf/tst-initordera2.c: New file.
17233 * elf/tst-initordera3.c: New file.
17234 * elf/tst-initordera4.c: New file.
17235 * elf/tst-initorderb1.c: New file.
17236 * elf/tst-initorderb2.c: New file.
17237 * elf/tst-order-a1.c: New file.
17238 * elf/tst-order-a2.c: New file.
17239 * elf/tst-order-a3.c: New file.
17240 * elf/tst-order-a4.c: New file.
17241 * elf/tst-order-b1.c: New file.
17242 * elf/tst-order-b2.c: New file.
17243 * elf/tst-order-main.c: New file.
17244 New test case by George Gensure <werkt0@gmail.com>.
17245
86e92359
UD
172462010-10-01 Andreas Schwab <schwab@redhat.com>
17247
17248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17249 decoding ACE if AI_CANONIDN.
17250
5d5732b0
UD
172512011-01-18 Ulrich Drepper <drepper@gmail.com>
17252
17253 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17254
a77e8cbc
UD
172552011-01-17 Ulrich Drepper <drepper@gmail.com>
17256
6392473f
UD
17257 * version.h (RELEASE): Bump for 2.13 release.
17258 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17259
620a0529
UD
17260 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17261
18ba70a5
UD
17262 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17263 MADV_NOHUGEPAGE.
32465c3e
UD
17264 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17265 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17266 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17267 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17268 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17269 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17270
c0dafcf1
UD
17271 * posix/getconf.c: Update copyright year.
17272 * catgets/gencat.c: Likewise.
17273 * csu/version.c: Likewise.
17274 * debug/catchsegv.sh: Likewise.
17275 * debug/xtrace.sh: Likewise.
17276 * elf/ldconfig.c: Likewise.
17277 * elf/ldd.bash.in: Likewise.
17278 * elf/sprof.c (print_version): Likewise.
17279 * iconv/iconv_prog.c: Likewise.
17280 * iconv/iconvconfig.c: Likewise.
17281 * locale/programs/locale.c: Likewise.
17282 * locale/programs/localedef.c: Likewise.
17283 * malloc/memusage.sh: Likewise.
17284 * malloc/mtrace.pl: Likewise.
17285 * nscd/nscd.c (print_version): Likewise.
17286 * nss/getent.c: Likewise.
17287
a77e8cbc
UD
17288 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17289 PF_CAIF, and PF_ALG.
17290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17291
77e8bddf
AS
172922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17293
1f20b93a
AS
17294 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17295 (modules-names): Use them.
17296 (ifunc-test-modules, ifunc-pie-tests): Define.
17297 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17298 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17299 (test-extras): Likewise.
17300 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17301 $(compile-command.c).
17302 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17303 (all-built-dso): Define.
17304 (check-textrel.out, check-execstack.out): Depend on it.
17305
77e8bddf
AS
17306 * configure.in: Don't override --enable-multi-arch.
17307
bc425b33
UD
173082011-01-15 Ulrich Drepper <drepper@gmail.com>
17309
17310 [BZ #6812]
17311 * nscd/hstcache.c (tryagain): Define.
17312 (cache_addhst): Return tryagain not notfound for temporary errors.
17313 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17314 failed.
17315
794c3ad3
UD
173162011-01-14 Ulrich Drepper <drepper@gmail.com>
17317
70181fdd
UD
17318 [BZ #10563]
17319 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17320 to make the syscall.
17321 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17322
794c3ad3
UD
17323 [BZ #12378]
17324 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17325 and fall back to matching as normal character if the string ends before
17326 the matching ']' is found. This is what POSIX requires.
17327 * posix/testfnm.c: Adjust test result.
17328 * posix/globtest.sh: Adjust test result. Add new test.
17329 * posix/tst-fnmatch.input: Likewise.
17330 * posix/tst-fnmatch2.c: Add new test.
17331
68dc9497
AS
173322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17333
17334 * elf/Makefile (check-execstack): Revert last change. Depend on
17335 check-execstack.h.
17336 (check-execstack.h): New target.
17337 (generated): Add check-execstack.h.
17338 * elf/check-execstack.c: Include "check-execstack.h".
17339 (main): Revert last change.
17340 (handle_file): Return zero if GNU_STACK is absent and
17341 DEFAULT_STACK_PERMS doesn't include PF_X.
17342
451f001b
UD
173432011-01-13 Ulrich Drepper <drepper@gmail.com>
17344
cfa28e56
UD
17345 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17346 in child fails because the descriptor is already closed.
8cf8ce17
UD
17347 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17348 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17349 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17350
1086d70d
UD
17351 [BZ #12397]
17352 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17353 syscall.
17354
451f001b
UD
17355 [BZ #10484]
17356 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17357 temporary buffer used to handle multi lookups locally.
a85b5cb4 17358 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17359
08769175
UD
173602011-01-12 Ulrich Drepper <drepper@gmail.com>
17361
17362 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17363 loader is ld.so.
17364
5e49c52e
UD
173652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17366
17367 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17368 alignment for SSE2.
17369
60522a5f
UD
173702011-01-12 Ulrich Drepper <drepper@gmail.com>
17371
17372 [BZ #12394]
17373 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17374 characters. When rounding increased number of integer digits recompute
17375 number of groups.
17376 * stdio-common/tst-grouping.c: New file.
17377 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17378
f257bbd7
UD
173792011-01-09 Ulrich Drepper <drepper@gmail.com>
17380
17381 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17382 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17383
17384 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17385 void.
17386 * bits/select.h: Likewise.
17387
fa9c15cb
UD
173882011-01-08 Ulrich Drepper <drepper@gmail.com>
17389
17390 * po/ja.po: Update from translation team.
17391
16c2895f
DM
173922011-01-04 David S. Miller <davem@sunset.davemloft.net>
17393
17394 [BZ #11155]
17395 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17396 implementation just like for lxstat, fxstatat, et al.
17397
2543fef2
JM
173982010-12-27 Jim Meyering <meyering@redhat.com>
17399
17400 [BZ #12348]
17401 * posix/regexec.c (build_trtable): Return failure indication upon
17402 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17403
98727dbe
UD
174042010-12-25 Ulrich Drepper <drepper@gmail.com>
17405
5bd6dc5c
UD
17406 [BZ #12201]
17407 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17408 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17409 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17411
97983464
UD
17412 [BZ #12207]
17413 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17414
98727dbe
UD
17415 [BZ #12204]
17416 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17417 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17418
4a531bb0
L
174192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17420
17421 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17422 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17423 script has SORT_BY_INIT_PRIORITY.
17424 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17425 NO_CTORS_DTORS_SECTIONS is defined.
17426 * elf/soinit.c: Likewise.
17427 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17428 NO_CTORS_DTORS_SECTIONS is defined.
17429 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17430 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17431 * sysdeps/sh/init-first.c: Likewise.
17432 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17433
07eb4b71
UD
174342010-12-24 Ulrich Drepper <drepper@gmail.com>
17435
17436 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17437 always use the slow path.
17438
30950a5f
RA
174392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17440
17441 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17442 similar rule which adds the sysdep directories to the header search in
17443 order to pick up the correct platform stackinfo.h.
17444 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17445 perform test if it is, otherwise return successfully without testing.
17446 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17447 DEFAULT_STACK_PERMS define in stackinfo.h.
17448 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17449 defined in stackinfo.h.
17450 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17451 DEFAULT_STACK_PERMS defined in stackinfo.h.
17452 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17453 * sysdeps/ia64/stackinfo.h: Likewise.
17454 * sysdeps/s390/stackinfo.h: Likewise.
17455 * sysdeps/sh/stackinfo.h: Likewise.
17456 * sysdeps/sparc/stackinfo.h: Likewise.
17457 * sysdeps/x86_64/stackinfo.h: Likewise.
17458 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17459 PF_X for powerpc64. Retain PF_X for powerpc32.
17460
db753e2c
UD
174612010-12-19 Ulrich Drepper <drepper@gmail.com>
17462
14b697f7
UD
17463 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17464 accurately.
db753e2c
UD
17465 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17466 GETDENTS_64BIT_ALIGNED.
17467
28300719
UD
174682010-12-14 Ulrich Drepper <dreper@gmail.com>
17469
14b697f7 17470 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17471
4f197237
AS
174722010-12-10 Andreas Schwab <schwab@redhat.com>
17473
dbb0472f
AS
17474 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17475 _GNU_SOURCE.
17476
4f197237
AS
17477 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17478 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17479 Remove __restrict.
17480 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17481 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17482
fb88ac72
UD
174832010-12-09 Ulrich Drepper <drepper@gmail.com>
17484
17485 [BZ #11655]
17486 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17487 are initialized.
17488
42acbb92
JJ
174892010-12-09 Jakub Jelinek <jakub@redhat.com>
17490
17491 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17492
c038d98d
UD
174932010-12-03 Ulrich Drepper <drepper@gmail.com>
17494
17495 * po/it.po: Update from translation team.
17496
3a4a2499
L
174972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17498
17499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17500 unused codes.
17501
1e24cf6e
UD
175022010-11-30 Ulrich Drepper <drepper@gmail.com>
17503
17504 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17505
a7690819
AS
175062010-11-24 Andreas Schwab <schwab@redhat.com>
17507
17508 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17509 specially.
17510 (gaih_getanswer_slice): Likewise.
17511
3bf8d1b1
JJ
175122010-10-20 Jakub Jelinek <jakub@redhat.com>
17513
17514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17515
6db52fbb
PB
175162010-05-31 Petr Baudis <pasky@suse.cz>
17517
17518 [BZ #11149]
17519 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17520 silently even in the chroot mode.
17521
eaca7569
UD
175222010-11-22 Ulrich Drepper <drepper@gmail.com>
17523
17524 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17525 last patch a bit. Pretty printing
17526
3056dcdb
UD
175272010-05-31 Petr Baudis <pasky@suse.cz>
17528
17529 [BZ #10085]
17530 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17531 initialization of skip_initgroups_dyn.
17532
cf7c9078
UD
175332010-11-19 Ulrich Drepper <drepper@gmail.com>
17534
17535 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17536 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17537
a1fb5e3e
UD
175382010-11-16 Ulrich Drepper <drepper@gmail.com>
17539
17540 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17541
3540d66b
AS
175422010-11-11 Andreas Schwab <schwab@redhat.com>
17543
17544 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17545 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17546 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17547 ($(objpfx)tst-fnmatch-mem): New rule.
17548 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17549 * posix/tst-fnmatch.c (main): Call mtrace.
17550
13b69574
L
175512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17552
17553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17554 Support Intel processor model 6 and model 0x2c.
17555
da93d214
LM
175562010-11-10 Luis Machado <luisgpm@br.ibm.com>
17557
17558 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17559 signed comparison.
17560
8ca52c6e
L
175612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17562
17563 [BZ #12205]
17564 * string/test-strncasecmp.c (check_result): New function.
17565 (do_one_test): Use it.
17566 (check1): New function.
17567 (test_main): Use it.
17568 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17569 Support strcasecmp and strncasecmp.
17570
69da074d
UD
175712010-11-08 Ulrich Drepper <drepper@gmail.com>
17572
17573 [BZ #12194]
17574 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17575 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17576
ff02d528
L
175772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17578
17579 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17580 IFUNC support.
17581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17582 memset-x86-64.
17583 * sysdeps/x86_64/multiarch/bzero.S: New file.
17584 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17585 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17586 * sysdeps/x86_64/multiarch/memset.S: New file.
17587 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17589 Set bit_Prefer_SSE_for_memop for Intel processors.
17590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17591 Define.
17592 (index_Prefer_SSE_for_memop): Define.
17593 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17594
344d0b54
LM
175952010-11-04 Luis Machado <luisgpm@br.ibm.com>
17596
17597 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17598 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17599
c0dde15b
UD
176002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17601
17602 [BZ #12191]
17603 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17604 (__x86_64_raw_data_cache_size_half): Likewise.
17605 (__x86_64_raw_shared_cache_size): Likewise.
17606 (__x86_64_raw_shared_cache_size_half): Likewise.
17607
17608 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17609 (__x86_64_raw_data_cache_size_half): Likewise.
17610 (__x86_64_raw_shared_cache_size): Likewise.
17611 (__x86_64_raw_shared_cache_size_half): Likewise.
17612 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17613 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17614 and __x86_64_raw_shared_cache_size_half. Round
17615 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17616 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17617 to multiple of 256 bytes.
17618
0e516e0e
MS
176192010-11-03 Ulrich Drepper <drepper@gmail.com>
17620
17621 [BZ #12167]
17622 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17623 of inacessible symlinks. Verify result of symlink before returning it.
17624 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17625 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17626
0e012e87
ER
176272010-10-28 Erich Ritz <erichritz@gmail.com>
17628
17629 * math/math.h (isinf): Fix typo in comment.
17630
de0ff7bc
UD
176312010-11-01 Ulrich Drepper <drepper@gmail.com>
17632
17633 * po/da.po: Update from translation team.
17634
fa41c84d
UD
176352010-10-26 Ulrich Drepper <drepper@gmail.com>
17636
17637 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17638 is added to the list.
17639
f0967738
AK
176402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17641 Ulrich Drepper <drepper@gmail.com>
17642
17643 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17644 the global list here. Move code to...
17645 (_dl_add_to_namespace_list): ...here. New function.
17646 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17647 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17648 * elf/dl-load.c (lose): Don't remove the element from the list.
17649 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17650 (_dl_map_object): Likewise.
17651
176522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17653
17654 [BZ #12159]
17655 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17656 into all bytes of SSE register.
17657 Patch by Richard Li <richardpku@gmail.com>.
17658
f0967738 176592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17660
17661 [BZ #12140]
17662 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17663 perturbing.
17664
d0b9e94f
MB
176652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17666
17667 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17668 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17669 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17670 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17672 submachine.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17674
8e9f92e9
AS
176752010-10-22 Andreas Schwab <schwab@redhat.com>
17676
17677 * include/dlfcn.h (__RTLD_SECURE): Define.
17678 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17679 mode & __RTLD_SECURE instead.
17680 (open_path): Rename preloaded parameter to secure.
17681 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17682 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17683 * elf/dl-deps.c (openaux): Likewise.
17684 * elf/rtld.c (struct map_args): Remove is_preloaded.
17685 (map_doit): Don't use it.
17686 (dl_main): Likewise.
17687 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17688 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17689
bc96fbda
AS
176902010-09-09 Andreas Schwab <schwab@redhat.com>
17691
17692 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17693 (sysd-rules-targets): Remove duplicates.
17694 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17695 rtld-%.$o dependency.
17696
22cd1c9b
AS
176972010-10-18 Andreas Schwab <schwab@redhat.com>
17698
17699 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17700 _dl_map_object do it.
17701
18edac48
UD
177022010-10-19 Ulrich Drepper <drepper@gmail.com>
17703
17704 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17705 fast fma builtins, define the macros in the C99 standard.
17706 (FP_FAST_FMAF): Likewise.
17707 (FP_FAST_FMAL): Likewise.
17708 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17709
17710 * bits/mathdef.h: Update copyright year.
17711 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17712
d2050124
MM
177132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17714
17715 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17716 builtins, define the macros in the C99 standard.
17717 (FP_FAST_FMAF): Likewise.
17718 (FP_FAST_FMAL): Likewise.
17719 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17720 multiply/add.
17721 (FP_FAST_FMAF): Likewise.
17722
475facd1
JJ
177232010-10-15 Jakub Jelinek <jakub@redhat.com>
17724
17725 [BZ #3268]
17726 * math/libm-test.inc (fma_test): Some new testcases.
17727 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17728 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17729 y and infinite z. Do multiplication by C already in long double.
17730 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17732 y and infinite z. Do bitwise or of inexact bit into u.d.
17733 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17734 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17735 * sysdeps/i386/fpu/s_fma.S: Removed.
17736 * sysdeps/i386/fpu/s_fmal.S: Removed.
17737
7c08a05c
JJ
177382010-10-16 Jakub Jelinek <jakub@redhat.com>
17739
17740 [BZ #3268]
17741 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17743 computation is not scheduled after fetestexcept. Fix value
17744 of minimum denormal long double.
17745
f3f7372d
JJ
177462010-10-14 Jakub Jelinek <jakub@redhat.com>
17747
17748 [BZ #3268]
17749 * math/libm-test.inc (fma_test): Add some more tests.
17750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17751 correctly.
17752
14d43591
AS
177532010-10-15 Andreas Schwab <schwab@redhat.com>
17754
17755 * scripts/data/localplt-s390-linux-gnu.data: New file.
17756 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17757
5e908464
JJ
177582010-10-13 Jakub Jelinek <jakub@redhat.com>
17759
17760 [BZ #3268]
17761 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17762 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17763 instead of dbl-64.
17764 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17765 inlines.
17766 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17768 if one of x and y is very large and the other is subnormal.
17769 * sysdeps/s390/fpu/s_fmaf.c: New file.
17770 * sysdeps/s390/fpu/s_fma.c: New file.
17771 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17772 * sysdeps/powerpc/fpu/s_fma.S: New file.
17773 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17774 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17775 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17776
177772010-10-12 Jakub Jelinek <jakub@redhat.com>
17778
17779 [BZ #3268]
17780 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17781 fma tests.
17782 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17783 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17784 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17785 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17786 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17787 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17789
b833d51f
UD
177902010-10-12 Ulrich Drepper <drepper@redhat.com>
17791
17792 [BZ #12078]
17793 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17794 * posix/bug-regex31.input: Add test case.
17795
1751705d
UD
177962010-10-11 Ulrich Drepper <drepper@gmail.com>
17797
e9b9cbf5
UD
17798 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17799 * posix/bug-regex31.input: New file.
17800
17801 [BZ #12078]
17802 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17803 (parse_sub_exp): Fix last change, use postorder.
17804
ef06edbe
UD
17805 * posix/bug-regex31.c: New file.
17806 * posix/Makefile: Add rules to build and run bug-regex31.
17807
a129c80d
UD
17808 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17809
17810 [BZ #12078]
17811 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17812
b76b818e
UD
17813 [BZ #12108]
17814 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17815 to have entries in sys_siglist.
17816
1751705d
UD
17817 [BZ #12093]
17818 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17819 be NULL.
17820
9ff8d36f
JJ
178212010-10-07 Jakub Jelinek <jakub@redhat.com>
17822
17823 [BZ #3268]
17824 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17825 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17826 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17827 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17828 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17829 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17830 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17831 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17832 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17833 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17834 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17835 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17836 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17837 * math/ftestexcept.c (fetestexcept): Likewise.
17838 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17839 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17840 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17841 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17842 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17843 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17844 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17845
af325969
UD
178462010-10-11 Ulrich Drepper <drepper@gmail.com>
17847
c579b202 17848 [BZ #12107]
af325969
UD
17849 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17850 newline.
17851
67a67b95
UD
178522010-10-06 Ulrich Drepper <drepper@gmail.com>
17853
17854 * string/bug-strstr1.c: New file.
17855 * string/Makefile: Add rules to build and run bug-strstr1.
17856
5fb308bc
EB
178572010-10-05 Eric Blake <eblake@redhat.com>
17858
17859 [BZ #12092]
17860 * string/str-two-way.h (two_way_long_needle): Always clear memory
17861 when skipping input due to the shift table.
17862
45db99c7
UD
178632010-10-03 Ulrich Drepper <drepper@gmail.com>
17864
3b111893
UD
17865 [BZ #12005]
17866 * malloc/mcheck.c: Handle large requests.
17867
45db99c7
UD
17868 [BZ #12077]
17869 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17870 for strncmp and strncasecmp.
17871 * string/stratcliff.c: Add tests for strcmp and strncmp.
17872 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17873
cf7a1eb8
NI
178742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17875
17876 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17877 __set_fpscr.
17878
6484ba5e
AJ
178792010-09-30 Andreas Jaeger <aj@suse.de>
17880
17881 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17882 (CGROUP_SUPER_MAGIC): Define.
17883 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17884 Handle btrfs and cgroup file systems.
17885 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17886 Likewise.
17887
91c42559
LM
178882010-09-27 Luis Machado <luisgpm@br.ibm.com>
17889
17890 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17891 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17892
87a97932
AK
178932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17894
17895 [BZ #12067]
17896 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17897 trying to locate the ELF header.
17898
c21cc9bc
AS
178992010-09-27 Andreas Schwab <schwab@redhat.com>
17900
17901 [BZ #11611]
17902 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17903 Mask out sign-bit copies when constructing f_fsid.
17904
315970f6
PB
179052010-09-24 Petr Baudis <pasky@suse.cz>
17906
17907 * debug/stack_chk_fail_local.c: Add missing licence exception.
17908 * debug/warning-nop.c: Likewise.
17909
1ac7a2c7
JM
179102010-09-15 Joseph Myers <joseph@codesourcery.com>
17911
17912 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17913 implementing getdents64 using getdents syscall, set d_type if
17914 __ASSUME_GETDENTS32_D_TYPE.
17915
56801c50
AS
179162010-09-16 Andreas Schwab <schwab@redhat.com>
17917
17918 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17919 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17920
dda51327
UD
179212010-09-21 Ulrich Drepper <drepper@redhat.com>
17922
17923 [BZ #12037]
17924 * posix/unistd.h: Undo change of feature selection for ftruncate from
17925 2010-01-11.
17926
8ffcee4a
UD
179272010-09-20 Ulrich Drepper <drepper@redhat.com>
17928
a545ecd9 17929 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17930 detection.
17931
e24f0a8b
AS
179322010-09-20 Andreas Schwab <schwab@redhat.com>
17933
17934 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17935 fanotify_mark.
17936 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17937
7291c56f
AS
179382010-09-14 Andreas Schwab <schwab@redhat.com>
17939
17940 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17941 variables after CHECK_SP call.
17942 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17943
bc5fb037
AS
179442010-09-13 Andreas Schwab <schwab@redhat.com>
17945 Ulrich Drepper <drepper@redhat.com>
17946
17947 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17948 re-relocationg ld.so.
17949 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17950 _dl_init_paths call.
17951 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17952 here anymore.
17953
e66e7419
UD
179542010-09-14 Ulrich Drepper <drepper@redhat.com>
17955
17956 * resolv/res_init.c (__res_vinit): Count the default server we added.
17957
c044aa75
CLT
179582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17959 Ulrich Drepper <drepper@redhat.com>
17960
17961 [BZ #11968]
17962 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17963 (____longjmp_chk): Use %ebx for saving value across system call.
17964 Add unwind info.
17965
32cf4069
AS
179662010-09-06 Andreas Schwab <schwab@redhat.com>
17967
17968 * manual/Makefile: Don't mix pattern rules with normal rules.
17969
817328ee
AS
179702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17971
17972 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17973 operation.
17974 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17975 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17976 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17977 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17978 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17979 Likewise.
17980
29fddf61
UD
179812010-09-04 Ulrich Drepper <drepper@redhat.com>
17982
17983 [BZ #11979]
17984 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17985 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17986
0959ffc9
UD
179872010-09-02 Ulrich Drepper <drepper@redhat.com>
17988
17989 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17990 * sysdeps/x86_64/addmul_1.S: Likewise.
17991 * sysdeps/x86_64/lshift.S: Likewise.
17992 * sysdeps/x86_64/mul_1.S: Likewise.
17993 * sysdeps/x86_64/rshift.S: Likewise.
17994 * sysdeps/x86_64/sub_n.S: Likewise.
17995 * sysdeps/x86_64/submul_1.S: Likewise.
17996
ece29840
ST
179972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17998
0959ffc9
UD
17999 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18000 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18001 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18002 * bits/sched.h [__need_schedparam]
ece29840 18003 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18004 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18005 (__defined_schedparam): Define to 1.
ece29840
ST
18006 (__sched_param): New structure, identical to sched_param.
18007 (__need_schedparam): Undefine.
18008
e53a31fe
MF
180092010-08-31 Mike Frysinger <vapier@gentoo.org>
18010
fdc0c10d
MF
18011 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18012 (epoll_create1): Declare.
18013
e53a31fe
MF
18014 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18015
a726d796
AS
180162010-08-31 Andreas Schwab <schwab@redhat.com>
18017
18018 [BZ #7066]
18019 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18020 shifting retval into place.
18021
2f3e3dc7
UD
180222010-09-01 Ulrich Drepper <drepper@redhat.com>
18023
f2933da9
UD
18024 * nis/rpcsvc/nis.h: Update copyright notice.
18025 * nis/rpcsvc/nis.x: Likewise.
18026 * nis/rpcsvc/nis_callback.h: Likewise.
18027 * nis/rpcsvc/nis_callback.x: Likewise.
18028 * nis/rpcsvc/nis_object.x: Likewise.
18029 * nis/rpcsvc/nis_tags.h: Likewise.
18030 * nis/rpcsvc/yp.h: Likewise.
18031 * nis/rpcsvc/yp.x: Likewise.
18032 * nis/rpcsvc/ypupd.h: Likewise.
18033 * nis/yp_xdr.c: Likewise.
18034 * nis/ypupdate_xdr.c: Likewise.
18035
2f3e3dc7
UD
18036 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18037 mainly the body of pmap_getport. Add parameters to specify timeouts.
18038 (pmap_getport): Use __libc_rpc_getport.
18039 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18040 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18041 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18042
f3dcc2f9
AS
180432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18044
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18046 fanotify_mark.
18047
6d34eb5b
RM
180482010-08-27 Roland McGrath <roland@redhat.com>
18049
18050 * sysdeps/i386/i686/multiarch/Makefile
18051 (CFLAGS-varshift.c): New variable.
18052
9ea3de11
UD
180532010-08-27 Ulrich Drepper <drepper@redhat.com>
18054
c96d23fc
UD
18055 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18056 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18057
9ea3de11
UD
18058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18059
18060 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18061
623aac7f
L
180622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 * sysdeps/x86_64/strlen.S: Unroll the loop.
18065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18066 strlen-sse2 strlen-sse2-bsf.
18067 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18068 __strlen_no_bsf if bit_Slow_BSF is set.
18069 (__strlen_sse42): Removed.
18070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18071 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18072
8b2b7715
RM
180732010-08-25 Roland McGrath <roland@redhat.com>
18074
18075 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18076 * sysdeps/x86_64/multiarch/varshift.c: New file.
18077 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18078 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18079 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18080 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18081
e73015f2
L
180822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18083
18084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18085 strlen-sse2 strlen-sse2-bsf.
18086 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18087 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18088 (__strlen_sse2): Removed.
18089 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18090 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18092 bit_Slow_BSF for Atom.
18093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18094 (index_Slow_BSF): Define.
18095 (HAS_SLOW_BSF): Define.
18096
df24a73e
UD
180972010-08-25 Ulrich Drepper <drepper@redhat.com>
18098
18099 [BZ #10851]
18100 * resolv/res_init.c (__res_vinit): When no server address at all
18101 is given default to loopback.
18102
f2ac4868
RM
181032010-08-24 Roland McGrath <roland@redhat.com>
18104
09055553
RM
18105 * configure.in: Remove config-name.h generation.
18106 * configure: Regenerated.
18107 * config-name.in: File removed.
18108 * scripts/config-uname.sh: New file.
18109 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18110 ($(objdir)config-name.h): New target.
18111
f2ac4868
RM
18112 * sunrpc/rpc_parse.h: Avoid nested comment.
18113
73f27d5e
RH
181142010-08-24 Richard Henderson <rth@redhat.com>
18115 Ulrich Drepper <drepper@redhat.com>
18116 H.J. Lu <hongjiu.lu@intel.com>
18117
18118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18120 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18121 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18122 _mm_alignr_epi8 with _mm_loadu_si128.
18123 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18124 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18125 (__m128i_shift_right): Removed.
18126 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18127 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18128 * sysdeps/x86_64/multiarch/varshift.h: New file.
18129 * sysdeps/x86_64/multiarch/varshift.S: New file.
18130
84b9230c
MF
181312010-08-21 Mike Frysinger <vapier@gentoo.org>
18132
18133 * configure.in: Move assembler checks to before sysdep dir checking.
18134
9bbd0ddc
PB
181352010-08-20 Petr Baudis <pasky@suse.cz>
18136
18137 * LICENSES: Sync the sunrpc license.
18138
9da4bb31
UD
181392010-08-19 Ulrich Drepper <drepper@redhat.com>
18140
a7ab6ec8
UD
18141 * sunrpc/auth_des.c: Update copyright notice once again.
18142 * sunrpc/auth_none.c: Likewise.
18143 * sunrpc/auth_unix.c: Likewise.
18144 * sunrpc/authdes_prot.c: Likewise.
18145 * sunrpc/authuxprot.c: Likewise.
18146 * sunrpc/bindrsvprt.c: Likewise.
18147 * sunrpc/clnt_gen.c: Likewise.
18148 * sunrpc/clnt_perr.c: Likewise.
18149 * sunrpc/clnt_raw.c: Likewise.
18150 * sunrpc/clnt_simp.c: Likewise.
18151 * sunrpc/clnt_tcp.c: Likewise.
18152 * sunrpc/clnt_udp.c: Likewise.
18153 * sunrpc/clnt_unix.c: Likewise.
18154 * sunrpc/des_crypt.c: Likewise.
18155 * sunrpc/des_soft.c: Likewise.
18156 * sunrpc/get_myaddr.c: Likewise.
18157 * sunrpc/getrpcport.c: Likewise.
18158 * sunrpc/key_call.c: Likewise.
18159 * sunrpc/key_prot.c: Likewise.
18160 * sunrpc/openchild.c: Likewise.
18161 * sunrpc/pm_getmaps.c: Likewise.
18162 * sunrpc/pm_getport.c: Likewise.
18163 * sunrpc/pmap_clnt.c: Likewise.
18164 * sunrpc/pmap_prot.c: Likewise.
18165 * sunrpc/pmap_prot2.c: Likewise.
18166 * sunrpc/pmap_rmt.c: Likewise.
18167 * sunrpc/rpc/auth.h: Likewise.
18168 * sunrpc/rpc/auth_unix.h: Likewise.
18169 * sunrpc/rpc/clnt.h: Likewise.
18170 * sunrpc/rpc/des_crypt.h: Likewise.
18171 * sunrpc/rpc/key_prot.h: Likewise.
18172 * sunrpc/rpc/netdb.h: Likewise.
18173 * sunrpc/rpc/pmap_clnt.h: Likewise.
18174 * sunrpc/rpc/pmap_prot.h: Likewise.
18175 * sunrpc/rpc/pmap_rmt.h: Likewise.
18176 * sunrpc/rpc/rpc.h: Likewise.
18177 * sunrpc/rpc/rpc_des.h: Likewise.
18178 * sunrpc/rpc/rpc_msg.h: Likewise.
18179 * sunrpc/rpc/svc.h: Likewise.
18180 * sunrpc/rpc/svc_auth.h: Likewise.
18181 * sunrpc/rpc/types.h: Likewise.
18182 * sunrpc/rpc/xdr.h: Likewise.
18183 * sunrpc/rpc_clntout.c: Likewise.
18184 * sunrpc/rpc_cmsg.c: Likewise.
18185 * sunrpc/rpc_common.c: Likewise.
18186 * sunrpc/rpc_cout.c: Likewise.
18187 * sunrpc/rpc_dtable.c: Likewise.
18188 * sunrpc/rpc_hout.c: Likewise.
18189 * sunrpc/rpc_main.c: Likewise.
18190 * sunrpc/rpc_parse.c: Likewise.
18191 * sunrpc/rpc_parse.h: Likewise.
18192 * sunrpc/rpc_prot.c: Likewise.
18193 * sunrpc/rpc_sample.c: Likewise.
18194 * sunrpc/rpc_scan.c: Likewise.
18195 * sunrpc/rpc_scan.h: Likewise.
18196 * sunrpc/rpc_svcout.c: Likewise.
18197 * sunrpc/rpc_tblout.c: Likewise.
18198 * sunrpc/rpc_util.c: Likewise.
18199 * sunrpc/rpc_util.h: Likewise.
18200 * sunrpc/rpcinfo.c: Likewise.
18201 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18202 * sunrpc/rpcsvc/key_prot.x: Likewise.
18203 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18204 * sunrpc/rpcsvc/mount.x: Likewise.
18205 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18206 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18207 * sunrpc/rpcsvc/rex.x: Likewise.
18208 * sunrpc/rpcsvc/rstat.x: Likewise.
18209 * sunrpc/rpcsvc/rusers.x: Likewise.
18210 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18211 * sunrpc/rpcsvc/spray.x: Likewise.
18212 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18213 * sunrpc/rtime.c: Likewise.
18214 * sunrpc/svc.c: Likewise.
18215 * sunrpc/svc_auth.c: Likewise.
18216 * sunrpc/svc_authux.c: Likewise.
18217 * sunrpc/svc_raw.c: Likewise.
18218 * sunrpc/svc_run.c: Likewise.
18219 * sunrpc/svc_simple.c: Likewise.
18220 * sunrpc/svc_tcp.c: Likewise.
18221 * sunrpc/svc_udp.c: Likewise.
18222 * sunrpc/svc_unix.c: Likewise.
18223 * sunrpc/svcauth_des.c: Likewise.
18224 * sunrpc/xcrypt.c: Likewise.
18225 * sunrpc/xdr.c: Likewise.
18226 * sunrpc/xdr_array.c: Likewise.
18227 * sunrpc/xdr_float.c: Likewise.
18228 * sunrpc/xdr_mem.c: Likewise.
18229 * sunrpc/xdr_rec.c: Likewise.
18230 * sunrpc/xdr_ref.c: Likewise.
18231 * sunrpc/xdr_sizeof.c: Likewise.
18232 * sunrpc/xdr_stdio.c: Likewise.
18233
9da4bb31
UD
18234 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18235 handling.
18236
bdaa77bc
AS
182372010-08-19 Andreas Schwab <schwab@redhat.com>
18238
18239 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18240
fe2f79db
LM
182412010-08-19 Luis Machado <luisgpm@br.ibm.com>
18242
18243 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18244 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18245 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18246 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18247 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18248 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18249 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18250 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18252 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18253 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18254 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18255 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18256 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18257
b9b42ee0
AB
182582010-07-26 Anton Blanchard <anton@samba.org>
18259
18260 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18261 * malloc/arena.c (heap_trim): Likewise.
18262
1c06ba31
UD
182632010-08-16 Ulrich Drepper <drepper@redhat.com>
18264
18265 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18266 here. Not...
18267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18268 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18269
f8392f40
L
182702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18271
18272 * sysdeps/i386/elf/Makefile: New file.
18273
3162f12e
AS
182742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18275
18276 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18277 from fanotify_init.
18278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18280
28c90b2c
UD
182812010-08-15 Ulrich Drepper <drepper@redhat.com>
18282
18283 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18284 of strncasecmp_l.
1feccb6c 18285 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18286
ca6bb004
UD
182872010-08-14 Ulrich Drepper <drepper@redhat.com>
18288
e9f82e0d
UD
18289 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18290 strncase_l-nonascii.
18291 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18292 Add strncase_l-ssse3.
18293 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18294 * sysdeps/x86_64/strcmp.S: Likewise.
18295 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18296 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18297 * sysdeps/x86_64/strncase.S: New file.
18298 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18299 * sysdeps/x86_64/strncase_l.S: New file.
18300 * string/Makefile (strop-tests): Add strncasecmp.
18301 * string/test-strncasecmp.c: New file.
18302
18303 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18304 warning.
18305
ca6bb004
UD
18306 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18307 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18308
052fa7b3
AS
183092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18310
18311 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18312
962dba78
UD
183132010-08-12 Ulrich Drepper <drepper@redhat.com>
18314
18315 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18317 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18318
bebff237
AM
183192010-05-01 Alan Modra <amodra@gmail.com>
18320
18321 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18322 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18323 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18324 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18325 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18326 tidying. Don't tail-call __sigjmp_save for static lib.
18327 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18328 save location.
18329 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18330 (CALL_MCOUNT): Add eh info, and nop after bl.
18331 (TAIL_CALL_SYSCALL_ERROR): New macro.
18332 (PSEUDO_RET): Use it.
18333 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18334 Correct save location of integer regs and cr.
18335 (_dl_profile_resolve): Correct cr save location. Delete nops
18336 after bl when SHARED. Reduce cfi size a little by better
18337 placement of cfi directives.
18338 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18339 make a stack frame. Instead use parm save area as a temp.
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18341 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18343 Don't make a stack frame for parent, use parm save area.
18344 Increase child stack frame to 112 bytes. Don't save unused reg,
18345 and adjust reg usage. Set up cfi on error recovery and
18346 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18348 (__makecontext): Add dummy nop after jump to exit.
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18350 Use correct parm save area and cr save, reduce stack frame.
18351 Correct cfi for possible PSEUDO_RET frame setup.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18353 Branch to local label emitted by PSEUDO_RET rather than
18354 __syscall_error.
18355
02637374
AS
183562010-08-12 Andreas Schwab <schwab@redhat.com>
18357
18358 [BZ #11904]
18359 * locale/programs/locale.c (print_assignment): New function.
18360 (show_locale_vars): Use it.
18361
c3e2f19b
UD
183622010-08-11 Ulrich Drepper <drepper@redhat.com>
18363
3cdaa6ad
UD
18364 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18365 field.
18366 (struct statfs64): Likewise.
18367 (_STATFS_F_FLAGS): Define.
18368 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18369 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18370 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18371 (ST_VALID): Define locally.
18372 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18373 __statvfs_getflags, use the provided value.
18374 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18375 __ASSUME_STATFS_F_FLAGS.
18376
754f7da3
UD
18377 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18378
10b3bedc
UD
18379 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18380 Add sys/fanotify.h.
18381 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18382 fanotify_mask for GLIBC_2.13.
18383 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18384 fanotify_init and fanotify_mark.
18385 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18386 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18387
c08fb0d7
UD
18388 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18389 Add prlimit.
18390 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18391 prlimit64 for GLIBC_2.13.
18392 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18393 prlimit64.
18394 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18395 syscall.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18397 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18398 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18399 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18400 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18401 add prlimit alias.
18402 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18403
15bac72b
UD
18404 [BZ #11903]
18405 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18406 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18407
c3e2f19b
UD
18408 * nss/Makefile: Add rules to build and run tst-nss-test1.
18409 * shlib-versions: Add entry for libnss_test1.
18410 * nss/nss_test1.c: New file.
18411 * nss/tst-nss-test1.c: New file.
18412
18413 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18414 (__nss_configure_lookup): Set appropriate entry in
18415 __nss_configure_lookup to true.
18416 * nss/nsswitch.h: Define enum with indeces of databases in
18417 databases and __nss_database_custom arrays. Declare
18418 __nss_database_custom.
18419 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18420 to avoid using nscd when custom rules are installed.
18421 * nss/getXXbyYY_r.c: Likewise.
18422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18423
18424 * nss/nss_files/files-parse.c: Whitespace fixes.
18425
f15ce4d8
UD
184262010-08-09 Ulrich Drepper <drepper@redhat.com>
18427
18428 [BZ #11883]
18429 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18430 * posix/fnmatch_loop.c: Likewise.
18431
d22e4cc9
AK
184322010-07-17 Andi Kleen <ak@linux.intel.com>
18433
18434 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18435 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18436 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18437 * Versions.def [GLIBC_2.13]: Add.
18438
805bc17d
UD
184392010-08-06 Ulrich Drepper <drepper@redhat.com>
18440
18441 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18442 Also fail if tpwd after pwuid call is NULL.
18443
5a42321d
ST
184442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18445
18446 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18447 when converting to ms.
18448
fd3ebeda
ST
184492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18450
18451 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18452 EOPNOTSUPP errors with ENOTTY.
18453 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18454 EOPNOTSUPP errors with ENOTTY.
18455
73507d3a
UD
184562010-07-31 Ulrich Drepper <drepper@redhat.com>
18457
18458 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18459 Add strcasecmp_l-ssse3.
18460 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18461 strcasecmp.
18462 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18463 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18464 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18465
fe36dd02
UD
184662010-07-30 Ulrich Drepper <drepper@redhat.com>
18467
66f6765a
UD
18468 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18469
42e08a54
UD
18470 * string/Makefile (strop-tests): Add strcasecmp.
18471 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18472 strcasecmp_l-nonascii.
18473 (gen-as-const-headers): Add locale-defines.sym.
18474 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18475 * sysdeps/x86_64/strcasecmp.S: New file.
18476 * sysdeps/x86_64/strcasecmp_l.S: New file.
18477 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18478 * sysdeps/x86_64/locale-defines.sym: New file.
18479 * string/test-strcasecmp.c: New file.
18480
fe36dd02
UD
18481 * string/test-strcasestr.c: Test both ends of the range of characters.
18482 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18483
48cbc0d6
RM
184842010-07-29 Roland McGrath <roland@redhat.com>
18485
76e6d6bc 18486 [BZ #11856]
48cbc0d6
RM
18487 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18488
880113d9
UD
184892010-07-27 Ulrich Drepper <drepper@redhat.com>
18490
18491 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18492 for ld.so.
18493
deb9cabb
AS
184942010-07-27 Andreas Schwab <schwab@redhat.com>
18495
18496 * manual/memory.texi (Malloc Tunable Parameters): Document
18497 M_PERTURB.
18498
1c7570ff
RM
184992010-07-26 Roland McGrath <roland@redhat.com>
18500
18501 [BZ #11840]
18502 * configure.in (-fgnu89-inline check): Set and substitute
18503 gnu89_inline, not libc_cv_gnu89_inline.
18504 * configure: Regenerated.
18505 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18506
24fb0f88
UD
185072010-07-26 Ulrich Drepper <drepper@redhat.com>
18508
18509 * string/test-strnlen.c: New file.
18510 * string/Makefile (strop-tests): Add strnlen.
18511 * string/tester.c (test_strnlen): Add a few more test cases.
18512 * string/tst-strlen.c: Better error reporting.
18513
18514 * sysdeps/x86_64/strnlen.S: New file.
18515
8e96b93a
UD
185162010-07-24 Ulrich Drepper <drepper@redhat.com>
18517
18518 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18519 lower-latency instructions.
18520
dbc676d4
UD
185212010-07-23 Ulrich Drepper <drepper@redhat.com>
18522
18523 * string/test-strcasestr.c: New file.
18524 * string/test-strstr.c: New file.
18525 * string/Makefile (strop-tests): Add strstr and strcasestr.
18526 * string/str-two-way.h: Don't undefine MAX.
18527 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18528
f6a31e0e
AS
185292010-07-21 Andreas Schwab <schwab@redhat.com>
18530
18531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18532 strcasestr-nonascii.
18533 (CFLAGS-strcasestr-nonascii.c): Define.
18534 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18536 Remove unused attribute.
18537
5dbc3b6c
RM
185382010-07-20 Roland McGrath <roland@redhat.com>
18539
18540 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18541 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18542 ld.so.cache was broken. With it, there is no way to disable dsocaps
18543 like LD_HWCAP_MASK can disable hwcaps.
18544
23d101d8
EPM
185452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18546
18547 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18548
cc9f2e47
UD
185492010-07-16 Ulrich Drepper <drepper@redhat.com>
18550
18551 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18552 call in strcasestr.
18553 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18554 __strcasestr_sse42_nonascii.
18555 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18556 strcasestr-nonascii.c.
18557 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18558
77c1b069
LM
185592010-06-15 Luis Machado <luisgpm@br.ibm.com>
18560
18561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18562 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18564 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18565
440566c3
UD
185662010-07-09 Ulrich Drepper <drepper@redhat.com>
18567
18568 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18569 fcntl.
18570
5be9d05d
AS
185712010-07-06 Andreas Schwab <schwab@redhat.com>
18572
c30b7ee2 18573 [BZ #11577]
5be9d05d
AS
18574 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18575 dl_signal_cerror.
18576
8a492a67
UD
185772010-07-06 Ulrich Drepper <drepper@redhat.com>
18578
18579 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18580 _PC_PIPE_BUF using F_GETPIPE_SZ.
18581
713df3d5
RM
185822010-07-05 Roland McGrath <roland@redhat.com>
18583
18584 * manual/arith.texi (Rounding Functions): Fix rint description
18585 implicit in round description.
18586
702e8f14
UD
185872010-07-02 Ulrich Drepper <drepper@redhat.com>
18588
18589 * elf/Makefile: Fix linking for a few tests to make recent linker
18590 happy.
18591
52ed8be9
AS
185922010-06-30 Andreas Schwab <schwab@redhat.com>
18593
18594 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18595 $(common-objpfx)libc_nonshared.a.
18596
f47c9a11
LM
185972010-06-21 Luis Machado <luisgpm@br.ibm.com>
18598
18599 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18600 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18601 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18602 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18603 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18604 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18605 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18606 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18621 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18622 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18623 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18624 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18625 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18626 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18627 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18628 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18629 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18630 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18631 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18632 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18647
6fb8cbcb
L
186482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18649
18650 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18651 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18652 * string/memmove.c (memmove): Renamed to ...
18653 (MEMMOVE): ...this. Default to memmove.
18654 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18655 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18656 (END_CHK): Define.
18657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18658 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18659 mempcpy-ssse3-back memmove-ssse3-back.
18660 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18661 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18663 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18664 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18665 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18666 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18667 * sysdeps/x86_64/multiarch/memmove.c: New file.
18668 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18669 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18670 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18671 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18672 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18673 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18674 Define.
18675 (index_Fast_Copy_Backward): Define.
18676 (HAS_ARCH_FEATURE): Define.
18677 (HAS_FAST_REP_STRING): Define.
18678 (HAS_FAST_COPY_BACKWARD): Define.
18679
4e733bac 186802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18681
18682 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18683 Restore proper fallback handling.
18684
63c4ed22
UD
186852010-06-19 Ulrich Drepper <drepper@redhat.com>
18686
ac2b484c
UD
18687 [BZ #11701]
18688 * posix/group_member.c (__group_member): Correct checking loop.
18689
63c4ed22
UD
18690 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18691 OOM in getpwuid_r correctly. Return error number when the caller
18692 should return, otherwise -1.
18693 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18694 call returning > 0 value.
18695 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18696
765ade4b
AS
186972010-06-07 Andreas Schwab <schwab@redhat.com>
18698
18699 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18700 libc_nonshared.a from targets in modules-names.
18701
80da2e09
KS
187022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18703
18704 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18705 requires it.
18706
158db122
LM
187072010-06-10 Luis Machado <luisgpm@br.ibm.com>
18708
18709 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18710 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18711 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18712 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18713
caa78cf8
AS
187142010-06-02 Andreas Schwab <schwab@redhat.com>
18715
18716 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18717
b2ef2c01
UD
187182010-06-14 Ulrich Drepper <drepper@redhat.com>
18719
18720 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18721 and F_GETPIPE_SZ.
18722 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18723 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18728
fbd643b6
RM
187292010-06-14 Roland McGrath <roland@redhat.com>
18730
18731 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18732
f32f2869
JJ
187332010-06-07 Jakub Jelinek <jakub@redhat.com>
18734
18735 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18736 __REDIRECT followed by __THROW.
18737 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18738 * posix/getopt.h (getopt): Likewise.
18739
2a50c078
EPM
187402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18741
18742 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18743 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18744 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18745 in AT_FLAGS.
18746 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18747 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18748
eb5ad2eb
LM
187492010-05-28 Luis Machado <luisgpm@br.ibm.com>
18750
18751 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18752
3c88fe1e
L
187532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18754
18755 [BZ #11640]
18756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18757 Properly check family and model.
18758
d2f73151
TY
187592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18760
18761 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18762
ebd2e13d
LM
187632010-05-24 Luis Machado <luisgpm@br.ibm.com>
18764
18765 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18766
b32b8b45
UD
187672010-05-21 Ulrich Drepper <drepper@redhat.com>
18768
18769 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18770 symbol reference.
18771
9acbe24d
AS
187722010-05-19 Andreas Schwab <schwab@redhat.com>
18773
18774 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18775 symbol reference.
18776
f0ccf6ea
AS
187772010-05-21 Andreas Schwab <schwab@redhat.com>
18778
3d04ff3a
AS
18779 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18780 and internal_recvmmsg.
18781 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18782 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18783 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18784 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18785
f0ccf6ea
AS
18786 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18787 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18788 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18789
5b08ac57
AS
187902010-05-20 Andreas Schwab <schwab@redhat.com>
18791
18792 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18793
4828935d
LM
187942010-05-17 Luis Machado <luisgpm@br.ibm.com>
18795
18796 POWER7 optimizations.
18797 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18798 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18799
373d545e
UD
188002010-05-19 Ulrich Drepper <drepper@redhat.com>
18801
18802 * version.h: Update for 2.13 development version.
18803
21a2b1ae
AS
188042010-05-12 Andrew Stubbs <ams@codesourcery.com>
18805
18806 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18807 exceptions. Return 0.
18808
3f7dcb2b
RM
188092010-05-07 Roland McGrath <roland@redhat.com>
18810
18811 * elf/ldconfig.c (main): Add a const.
18812
5f24d53a 188132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18814
a160f8d8
UD
18815 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18816 (args_options): Add no-idn option.
18817 (ahosts_keys_int): Add idn_flags to ai_flags.
18818 (parse_option): Handle 'i' option to clear idn_flags.
18819
5f24d53a
UD
18820 * malloc/malloc.c (_int_free): Possible race in the most recently
18821 added check. Only act on the data if no current modification
18822 happened.
265bb1ce
UD
18823
18824See ChangeLog.17 for earlier changes.