]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Clean up MIPS stat64 handling.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3cc3ef96
RM
12012-08-22 Roland McGrath <roland@hack.frob.com>
2
c53d909c
RM
3 * configure.in (build_nscd): New substituted variable, set
4 by --disable-build-nscd and defaults to $use_nscd.
5 * configure: Regenerated.
6 * config.make.in (build-nscd): New substituted variable.
7 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8 Change conditional to require [$(build-nscd) = yes] as well.
9 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10
3cc3ef96
RM
11 [BZ# 13696]
12 * configure.in (use_nscd): New substituted variable, set by
13 --disable-nscd. If enabled, define USE_NSCD.
14 * configure: Regenerated.
15 * config.h.in: Add USE_NSCD.
16 * config.make.in (use-nscd): New substituted variable.
17 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21 (CFLAGS-getgrnam_r.c): Likewise.
22 (CFLAGS-initgroups.c): Likewise.
23 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25 Variables removed.
26 * inet/getnetgrent_r.c
27 (nscd_setnetgrent): New function, broken out of ...
28 (setnetgrent): ... here. Call it.
29 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32 * nscd/Makefile (routines, aux): Move definitions after include of
33 Makeconfig. Conditionalize on [$(use-nscd) != no].
34 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35 Conditionalize on [USE_NSCD].
36 (is_nscd, nscd_init_cb): Likewise.
37 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39 * nss/nss_db/db-init.c: Likewise.
40 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41 [USE_NSCD].
42 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43 (make_request): Use it.
44 (cache_valid_p): New function.
45 (__check_pf): Use it.
46 * NEWS: Add item for --disable-nscd.
47
07e51550
DL
482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
49
50 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51 to support sed >= 4.2.1-20-ga9bf076.
52 * configure: Regenerated.
53
35a5b08b
RM
542012-08-22 Roland McGrath <roland@hack.frob.com>
55
56 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57 Conditionalize whole body on [IREL].
58
8479f23a
JL
592012-08-22 Jeff Law <law@redhat.com>
60
61 [BZ #14505]
62 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63 if the family is PF_UNSPEC.
64
48da0b21
MF
652012-08-22 Mike Frysinger <vapier@gentoo.org>
66
67 * Makerules (lib-version): Rename from V.
68 (install-lib-nosubdir): Change V to lib-version.
69
15d0da8c
WS
702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
71
72 [BZ #14252]
73 * powerpc32/power6/wcschr.c: New file.
74 * powerpc32/power6/wcscpy.c: New file.
75 * powerpc32/power6/wcsrchr.c: New file.
76 * powerpc64/power6/wcschr.c: New file.
77 * powerpc64/power6/wcscpy.c: New file.
78 * powerpc64/power6/wcsrchr.c: New file.
79
bcca0895
MK
802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
81
82 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
83 (two_way_short_needle): Use it.
5a4aaa33
RM
84 * string/strstr.c (AVAILABLE1_USES_J): Define.
85 * string/strcasestr.c: Likewise.
99677e57
MK
86
87 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
88 array references.
89 * string/strcasestr.c (TOLOWER): Make side-effect safe.
90
400726de
MK
91 [BZ #11607]
92 * NEWS: Add an entry.
93 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
94 define their defaults.
95 (two_way_short_needle): Detect end-of-string on-the-fly.
96 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
97 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
98 * string/bug-strcasestr1.c: New test.
99 * string/Makefile: Run it.
100
20a71f2c
MK
1012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
102
103 [BZ #11607]
104 * string/str-two-way.h (two_way_short_needle): Optimize matching of
105 the first character.
106
21ad0558
RM
1072012-08-21 Roland McGrath <roland@hack.frob.com>
108
109 * csu/elf-init.c (__libc_csu_irel): Function removed.
110 * csu/libc-start.c (apply_irel): New function.
111 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
112
0e1d9911
JM
1132012-08-21 Joseph Myers <joseph@codesourcery.com>
114
115 * sysdeps/unix/sysv/linux/kernel-features.h
116 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
117 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
118 <kernel-features.h>.
119 [__NR_fadvise64_64]: Make code unconditional.
120 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
121 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
122 !__NR_fadvise64_64)]: Likewise.
123 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
124 !__NR_fadvise64_64))]: Likewise.
125 [__NR_fadvise64]: Make code unconditional.
126 [!__NR_fadvise64]: Remove conditional code.
127 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
128 <kernel-features.h>.
129 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
130 unconditional.
131 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
132 conditional code.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
134 not include <kernel-features.h>.
135 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
136 unconditional.
137 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
138 conditional code.
139 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
140 include <kernel-features.h>.
141 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
142 unconditional.
143 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
144 conditional code.
145
14a50c9d
WS
1462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
147
148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
149 slight instruction rearrangements per scrollpipe analysis.
150 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
151
c0f4faf0
RM
1522012-08-20 Roland McGrath <roland@hack.frob.com>
153
696da859
RM
154 * manual/syslog.texi (syslog; vsyslog, closelog):
155 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
156 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
157
c0f4faf0
RM
158 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
159 DSOCAPS to match condition on defining it.
160
348363b2
JM
1612012-08-20 Joseph Myers <joseph@codesourcery.com>
162
a35cbf28
JM
163 * sysdeps/unix/sysv/linux/kernel-features.h
164 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
166 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
167 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
169 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
170 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
172 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
173 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
174
445f7ecd
JM
175 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
176 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
177
348363b2
JM
178 * sysdeps/unix/sysv/linux/kernel-features.h
179 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
180 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
181 unconditional.
182 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
183 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
184 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
185 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
186 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
187 Make code unconditional.
188 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
189 (__mmap64) [!__NR_mmap2]: Likewise.
190 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
191 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
192 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
193 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
194 [__NR_mmap2]: Make code unconditional.
195 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
196 (__mmap64) [!__NR_mmap2]: Likewise.
197
bc5bc0e5
AK
1982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
199
200 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
201
88d506de
AJ
2022012-08-18 Andreas Jaeger <aj@suse.de>
203
204 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
205
493387d2
MF
2062012-08-18 Mike Frysinger <vapier@gentoo.org>
207
208 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
209 * include/unistd.h (__have_sock_cloexec): Likewise.
210 (__have_pipe2): Likewise.
211 (__have_dup3): Likewise.
212
a277af22
MF
2132012-08-18 Mike Frysinger <vapier@gentoo.org>
214
215 [BZ #9685]
216 * include/unistd.h (__have_pipe2): Change define into an extern int.
217 (__have_dup3): Likewise.
218 * socket/have_sock_cloexec.c: Include fcntl.h.
219 (__have_pipe2): New variable.
220 (__have_dup3): Likewise.
221
fdab8fd3
MF
2222012-08-17 Mike Frysinger <vapier@gentoo.org>
223
224 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
225
31035e80
MP
2262012-08-17 Marek Polacek <polacek@redhat.com>
227
228 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
229 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
230
3bd9e993
RM
2312012-08-17 Roland McGrath <roland@hack.frob.com>
232
c91c505f
RM
233 * configure.in: Add AC_SUBST for sysheaders.
234 * configure: Regenerated.
235 * config.make.in (sysheaders): New substituted variable.
236
7c6f9d53
RM
237 * sysdeps/unix/mkfifo.c: Moved ...
238 * sysdeps/posix/mkfifo.c: ... here.
239 * sysdeps/unix/mkfifoat.c: Moved ...
240 * sysdeps/posix/mkfifoat.c: ... here.
241
242 * sysdeps/unix/utime.c: Moved ...
243 * sysdeps/posix/utime.c: ... here.
244
245 * sysdeps/unix/time.c: Moved ...
246 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
247 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
248 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
249
250 * sysdeps/unix/nice.c: Moved ...
251 * sysdeps/posix/nice.c: ... here.
252
253 * sysdeps/unix/alarm.c: Moved ...
254 * sysdeps/posix/alarm.c: ... here.
255
3bd9e993
RM
256 * intl/Makefile ($(codeset_mo)): Depend on the input file.
257
d1f09384
JL
2582012-08-17 Jeff Law <law@redhat.com>
259
260 * intl/Makefile (codeset_mo): New variable.
261 ($(codeset_mo)): New target.
262 (tst-codeset.out): Depend on that. Remove explicit rule.
263 (tst-gettext3.out, tst-gettext5.out): Likewise.
264 (LOCPATH-ENV, tst-codeset-ENV): New variables.
265 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
266 * intl/tst-codeset.sh: Remove.
267 * intl/tst-gettext3.sh: Likewise.
268 * intl/tst-gettext5.sh: Likewise.
269
2ae1ae5c
RM
2702012-08-17 Roland McGrath <roland@hack.frob.com>
271
c31fdb83
RM
272 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
273 * sysdeps/unix/syscalls.list: ... here.
274
a0844057
RM
275 * sysdeps/posix/getaddrinfo.c
276 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
277 (gaiconf_init, gaiconf_reload): Use them.
278 [!_STATBUF_ST_NSEC]
279 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
280 Define using time_t rather than struct timespec.
281
750c1f2a
RM
282 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
283 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
284 Macros removed.
285 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
286 [!NO_THREADS].
287 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
288 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
289 Likewise.
290
2ae1ae5c
RM
291 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
292 __libc_cleanup_push argument.
293
e66a42f5
RM
294 * bits/param.h: New file.
295 * misc/sys/param.h: New file.
296 * include/sys/param.h: New file.
297 * misc/Makefile (headers): Add bits/param.h.
298 * sysdeps/generic/sys/param.h: File removed.
299 * sysdeps/unix/sysv/linux/bits/param.h: New file.
300 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
301 * sysdeps/mach/hurd/bits/param.h: New file.
302 * sysdeps/mach/hurd/sys/param.h: New file.
303
b7c08a66
RM
304 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
305 last change.
306
b2e1c562
RM
307 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
308 [_IO_MTSAFE_IO].
309 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
310 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
311 New macros.
312
c75ccd4c
RM
313 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
314 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
315 rather than -D_IO_MTSAFE_IO conditionally.
316 * stdio-common/Makefile (CPPFLAGS): Likewise.
317 * wcsmbs/Makefile (CPPFLAGS): Likewise.
318 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
319 Use $(libio-mtsafe).
320 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
321 of -D_IO_MTSAFE_IO.
322 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
323 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
324 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
325 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
326 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
327 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
328 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
329 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
330 (CFLAGS-fread_u_chk.c): Likewise.
331 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
332 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
333 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
334 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
335 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
336 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
337 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
338 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
339 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
340
341 * libio/Makefile: Test [$(libc-reentrant) = yes]
342 instead of [$(filter %REENTRANT, $(defines)) nonempty].
343
344 * Makeconfig
345 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
346 * sysdeps/pthread/configure: File removed.
347 * sysdeps/pthread/Makeconfig: New file.
348 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
349 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
350
d9195db8
GB
3512012-08-16 Gary Benson <gbenson@redhat.com>
352
353 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
354 unmapping the first object in a namespace.
355
86466cd9
RM
3562012-08-16 Roland McGrath <roland@hack.frob.com>
357
358 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
359 (__internal_setnetgrent): ... this. Add internal_function to
360 definition. Add libc_hidden_def.
361 (setnetgrent): Update caller.
362 (internal_endnetgrent): Renamed to ...
363 (__internal_endnetgrent): ... this. Add internal_function to
364 definition. Add libc_hidden_def.
365 (endnetgrent): Update caller.
366 (internal_getnetgrent_r): Renamed to ...
367 (__internal_getnetgrent_r): ... this. Add internal_function to
368 definition. Add libc_hidden_def.
369 (__getnetgrent_r): Update caller.
370 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
371
c3c8283c
JM
3722012-08-16 Joseph Myers <joseph@codesourcery.com>
373
374 * stdlib/longlong.h: Update from GCC.
375
db1ee0a8
RM
3762012-08-16 Roland McGrath <roland@hack.frob.com>
377
378 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
379 on _QL, which is set by umul_ppmm but never used.
380 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
381 variables, which are set by GMP macros but never used.
382 * stdio-common/_itowa.c (_itowa): Likewise.
383 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
384 * stdlib/mod_1.c (mpn_mod_1): Likewise.
385
30f69637
CD
3862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
387
388 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
389 struct La_sh_regs is not constant.
390 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
391 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
392 and struct La_sparc64_regs are not constant.
393
93a78ac4
JM
3942012-08-16 Joseph Myers <joseph@codesourcery.com>
395
396 * sysdeps/unix/sysv/linux/kernel-features.h
397 (__ASSUME_POSIX_TIMERS): Remove.
398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
399 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
400 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
401 Make code unconditional.
402 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
403 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
404 Make code unconditional.
405 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
406 * sysdeps/unix/sysv/linux/clock_nanosleep.c
407 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
408 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
409 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
410 Make code unconditional.
411 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
412 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
413 (__libc_missing_posix_timers): Remove.
414
dd924cd7
RM
4152012-08-15 Roland McGrath <roland@hack.frob.com>
416
4b4f2771
RM
417 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
418 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
419
601c888b
RM
420 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
421
176790a7
RM
422 * elf/dl-sym.c: Include <stdlib.h>.
423
329bc018
RM
424 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
425 constants, which avoids warnings in 32-bit builds.
426
e04e272d
RM
427 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
428 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
429
952bf94a
RM
430 * misc/lseek.c: File moved to ...
431 * io/lseek.c: ... here.
432
7c99b50a
RM
433 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
434
dd924cd7
RM
435 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
436 shifting LEN more than 31 bits at once.
437
b3f479a8
LD
4382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
439
440 [BZ #14195]
8c4ae0d4
RM
441 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
442 segmentation fault for a case of two empty input strings.
b3f479a8
LD
443 * string/test-strncasecmp.c (check1): Renamed to...
444 (bz12205): ...this.
445 (bz14195): Add new testcase for two empty input strings and N > 0.
446 (test_main): Call new testcase, adapt for renamed function.
447
9c55864e
AJ
4482012-08-15 Andreas Jaeger <aj@suse.de>
449
450 [BZ #14090]
451 * crypt/md5test2.c: New test, based on test supplied by Serge
452 Belyshev <belyshev@depni.sinp.msu.ru>.
453 * crypt/Makefile (xtests): Add md5test-giant..
454 * crypt/Makefile ($(objpfx)md5test-giant): Add.
455
02dcb6c5
PE
4562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
457
458 [BZ #14090]
459 * crypt/md5.c (md5_process_block): Don't assume the buffer
460 length is less than 2**32.
461 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
462 length is less than 2**64.
463
a3f95dcc
RM
4642012-08-15 Roland McGrath <roland@hack.frob.com>
465
be75d758
RM
466 * string/str-two-way.h: Include <sys/param.h>.
467 (MAX): Macro removed.
468
7312ca90
RM
469 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
470 Move #define and #undef of memmove to just before and after
471 including <string.h>.
472
9a0a5486
RM
473 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
474 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
475 and after including <string.h>. Move declarations of
476 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
477 to before #include "string/memmove.c".
478
67cc348d
RM
479 * include/dirent.h: Declare __getdirentries.
480
a3f95dcc
RM
481 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
482 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
483
ca98e171
MF
4842012-08-14 Mike Frysinger <vapier@gentoo.org>
485
486 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
487 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
488 * sysdeps/i386/configure: Regenerated.
489 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
490 STABS_CURRENT_FILE, and STABS_FUN.
491 (END): Remove call to STABS_FUN_END.
492 (STABS_CURRENT_FILE1): Delete.
493 (STABS_CURRENT_FILE): Likewise.
494 (STABS_FUN): Likewise.
495 (STABS_FUN_END): Likewise.
496 (STABS_FUN2): Likewise.
497 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
498 * sysdeps/x86_64/configure: Regenerated.
499
5908bf46
RM
5002012-08-14 Roland McGrath <roland@hack.frob.com>
501
502 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 503 * elf/dl-lookup.c: Likewise.
5908bf46 504
f2c05b9e
JM
5052012-08-14 Joseph Myers <joseph@codesourcery.com>
506
507 * sysdeps/unix/sysv/linux/kernel-features.h
508 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
509 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
510 unconditionally.
511 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
512 unconditionally.
513 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
514 condition on __ASSUME_CLONE_THREAD_FLAGS.
515
e11f5155
AJ
5162012-08-14 Andreas Jaeger <aj@suse.de>
517
518 * sysdeps/i386/fpu/libm-test-ulps: Update.
519
51a9ba86
MK
5202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
521
2fdd4f78
AJ
522 * include/atomic.h (atomic_exchange_and_add): Split into ...
523 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
524 New atomic macros.
51a9ba86 525
ba6cba9e
MT
5262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
527
528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
529
42443a47
JL
5302012-08-13 Jeff Law <law@redhat.com>
531
532 * manual/stdio.texi (snprintf): Clarify handling of the trailing
533 null byte in the output string.
534
121dce05
JM
5352012-08-10 Joseph Myers <joseph@codesourcery.com>
536
537 * sysdeps/unix/sysv/linux/kernel-features.h
538 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
539 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
540 (__ASSUME_ARG_MAX_STACK_BASED): Define.
541 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
542 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
543 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
544 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
545
bf51f568
JL
5462012-08-09 Jeff Law <law@redhat.com>
547
548 [BZ #13939]
549 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
550 When avoid_arena is set, don't retry in the that arena. Pick the
551 next one, whatever it might be.
552 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
553 (arena_lock): Pass in new parameter to arena_get2.
554 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
555 arena_get2.
556 (__libc_malloc): Unify retrying after main arena failure with
557 __libc_memalign version.
558 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
559
f85fa270
L
5602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
561
562 [BZ #14166]
563 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
564 to __redirect_strstr.
565 (__strstr_sse42): Use typeof __redirect_strstr.
566 (__strstr_ia32): Likewise.
567 (__libc_strstr): New prototype.
568 (strstr): Renamed to ...
569 (__libc_strstr): This.
570 (strstr): New strong alias of __libc_strstr.
571 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
572 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
573 __redirect_time.
574 Include <time.h>.
575 (__libc_time): New prototype.
576 (time_ifunc): Replace time with __libc_time.
577 (time): New strong alias and hidden definition of __libc_time.
578 (__GI_time): Remove strong alias.
579 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
580 Include <stddef.h>.
581 (memmove): Redefined to __redirect_memmove.
582 (__memmove_sse2): Use typeof __redirect_memmove.
583 (__memmove_ssse3): Likewise.
584 (__memmove_ssse3_back): Likewise.
585 (__libc_memmove): New prototype.
586 (memmove): Renamed to ...
587 (__libc_memmove): This.
588 (memmove): New strong alias of __libc_memmove.
589
33b4a91e
MS
5902012-08-08 Mark Salter <msalter@redhat.com>
591
592 * elf/elf.h
593 (R_MN10300_TLS_GD): Define.
594 (R_MN10300_TLS_LD): Likewise.
595 (R_MN10300_TLS_LDO): Likewise.
596 (R_MN10300_TLS_GOTIE): Likewise.
597 (R_MN10300_TLS_IE): Likewise.
598 (R_MN10300_TLS_LE): Likewise.
599 (R_MN10300_TLS_DTPMOD): Likewise.
600 (R_MN10300_TLS_DTPOFF): Likewise.
601 (R_MN10300_TLS_TPOFF): Likewise.
602 (R_MN10300_SYM_DIFF): Likewise.
603 (R_MN10300_ALIGN): Likewise.
604 (R_MN10300_NUM): Update.
605
b36137f1
JM
6062012-08-08 Joseph Myers <joseph@codesourcery.com>
607
608 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
609 Remove.
610
cdd915fd
RM
6112012-08-08 Roland McGrath <roland@hack.frob.com>
612
a2433aac
RM
613 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
614
cdd915fd
RM
615 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
616 sysdeps/unix -> sysdeps/posix move.
617 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
618
bf9b740a
AM
6192012-08-07 Allan McRae <allan@archlinux.org>
620
621 [BZ #14303]
622 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
623 (SUNOS_CPP): Likewise.
624 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
625 not found.
626 (open_input): Call CPP using execvp.
627
93df14ee
JM
6282012-08-07 Joseph Myers <joseph@codesourcery.com>
629
630 * sysdeps/unix/sysv/linux/kernel-features.h
631 (__ASSUME_PROT_GROWSUPDOWN): Remove.
632 (__ASSUME_NO_CLONE_DETACHED): Likewise.
633 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
634 (__ASSUME_WAITID_SYSCALL): Likewise.
635 * sysdeps/unix/sysv/linux/dl-execstack.c
636 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
637 code unconditional.
638 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
639 conditional code.
640 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
641 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
642 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
643 code.
644 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
645 unconditional.
646 [__ASSUME_WAITID_SYSCALL]: Likewise.
647 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
648
d34689de
RM
6492012-08-07 Roland McGrath <roland@hack.frob.com>
650
a281decc
RM
651 * sysdeps/unix/closedir.c: Renamed to ...
652 * sysdeps/posix/closedir.c: ... here.
653 * sysdeps/unix/dirfd.c: Renamed to ...
654 * sysdeps/posix/dirfd.c: ... here.
655 * sysdeps/unix/dirstream.h: Renamed to ...
656 * sysdeps/posix/dirstream.h: ... here.
657 * sysdeps/unix/fdopendir.c: Renamed to ...
658 * sysdeps/posix/fdopendir.c: ... here.
659 * sysdeps/unix/opendir.c: Renamed to ...
660 * sysdeps/posix/opendir.c: ... here.
661 * sysdeps/unix/readdir.c: Renamed to ...
662 * sysdeps/posix/readdir.c: ... here.
663 * sysdeps/unix/readdir_r.c: Renamed to ...
664 * sysdeps/posix/readdir_r.c: ... here.
665 * sysdeps/unix/rewinddir.c: Renamed to ...
666 * sysdeps/posix/rewinddir.c: ... here.
667 * sysdeps/unix/seekdir.c: Renamed to ...
668 * sysdeps/posix/seekdir.c: ... here.
669 * sysdeps/unix/telldir.c: Renamed to ...
670 * sysdeps/posix/telldir.c: ... here.
671 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
672 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
673 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
674 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
675
22895b47
RM
676 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
677 * bits/fcntl.h: ... here.
678
707a53b6
RM
679 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
680 not 0.
681 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
682 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
683 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
684 (struct flock): Move l_start, l_len to the beginning.
685 Use __pid_t for l_pid.
686 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
687 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
688 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
689 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
690 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
691 [__USE_LARGEFILE64] (struct flock64): New type.
692 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
693
f0bd3e25
RM
694 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
695 * bits/dirent.h: ... here.
696
d34689de
RM
697 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
698 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
699
6dad2c06
JM
7002012-08-07 Joseph Myers <joseph@codesourcery.com>
701
702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
703 Change from 2.6.0 to 2.6.16.
704 * sysdeps/unix/sysv/linux/configure: Regenerated.
705 * sysdeps/unix/sysv/linux/kernel-features.h
706 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
707 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
708 version.
709 (__ASSUME_UTIMES): Likewise.
710 (__ASSUME_CLONE_STOPPED): Remove.
711 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
712 architectures, not kernel version.
713 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
714 (__ASSUME_NO_CLONE_DETACHED): Likewise.
715 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
716 (__ASSUME_WAITID_SYSCALL): Likewise.
717 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
718 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
719 * README: State 2.6.16 as minimum Linux kernel version. Do not
720 refer to older versions.
721
03af9520
RM
7222012-08-06 Roland McGrath <roland@hack.frob.com>
723
8e49df1d
RM
724 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
725 Define alphasort64 as an alias.
726 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
727 Define versionsort64 as an alias.
728 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
729 Define scandir64 as an alias.
730 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
731 Define scandirat64 as an alias.
732 * dirent/alphasort64.c (alphasort64):
733 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
734 * dirent/versionsort64.c: Likewise.
735 * dirent/scandir64.c: Likewise.
736 * dirent/scandirat64.c: Likewise.
737 * sysdeps/wordsize-64/alphasort.c: File removed.
738 * sysdeps/wordsize-64/alphasort64.c: File removed.
739 * sysdeps/wordsize-64/scandir.c: File removed.
740 * sysdeps/wordsize-64/scandir64.c: File removed.
741 * sysdeps/wordsize-64/scandirat.c: File removed.
742 * sysdeps/wordsize-64/scandirat64.c: File removed.
743 * sysdeps/wordsize-64/versionsort.c: File removed.
744 * sysdeps/wordsize-64/versionsort64.c: File removed.
745 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
746 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
747 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
748 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
749 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
750 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
751 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
752 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
753
754 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
756 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
757 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
758 [defined __arch64__ || defined __sparcv9]
759 (__INO_T_MATCHES_INO64_T): New macro.
760 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
761 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
762 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
763 * sysdeps/unix/sysv/linux/bits/dirent.h
764 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
765 (_DIRENT_MATCHES_DIRENT64): New macro.
766
03af9520
RM
767 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
768 Define lockf64 as an alias.
769 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
770 Define fseeko64 as an alias.
771 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
772 Define ftello64 as an alias.
773 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
774 Define _IO_fgetpos64 and fgetpos64 as aliases.
775 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
776 Define _IO_fsetpos64 and fsetpos64 as aliases.
777 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
778 Conditionalize body on this.
779 * libio/fseeko64.c: Likewise.
780 * libio/ftello64.c: Likewise.
781 * libio/iofgetpos64.c: Likewise.
782 * libio/iofsetpos64.c: Likewise.
783 * sysdeps/wordsize-64/lockf.c: File removed.
784 * sysdeps/wordsize-64/lockf64.c: File removed.
785 * sysdeps/wordsize-64/fseeko.c: File removed.
786 * sysdeps/wordsize-64/fseeko64.c: File removed.
787 * sysdeps/wordsize-64/ftello.c: File removed.
788 * sysdeps/wordsize-64/ftello64.c: File removed.
789 * sysdeps/wordsize-64/iofgetpos.c: File removed.
790 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
791 * sysdeps/wordsize-64/iofsetpos.c: File removed.
792 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
793 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
794 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
796 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
798 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
799 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
800 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
801 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
803
804 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
806 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
808 [defined __arch64__ || defined __sparcv9]
809 (__OFF_T_MATCHES_OFF64_T): New macro.
810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
811 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
813 (__OFF_T_MATCHES_OFF64_T): New macro.
814
c5757acd
L
8152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
816
817 * stdlib/secure-getenv.c (__secure_getenv): Replace
818 GLIBC_2_16 with GLIBC_2_17.
819
3a31811e
L
8202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
821
822 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
823 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
824
faa2bccb
DM
8252012-08-03 David S. Miller <davem@davemloft.net>
826
827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
828
85fe1997
JM
8292012-08-03 Joseph Myers <joseph@codesourcery.com>
830
831 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
832 Remove.
833 (__ASSUME_CORRECT_SI_PID): Likewise.
834 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
835 (__ASSUME_TMPFS_NAME): Likewise.
836 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
837 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
838 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
839 (HAVE_AUX_SECURE): Make definition unconditional.
840 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
841 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
842
4f75b7a0
RM
8432012-08-03 Roland McGrath <roland@hack.frob.com>
844
845 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
846 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
847 * sysdeps/mach/hurd/eloop-threshold.h: New file.
848 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
849 __eloop_threshold instead of SYMLOOP_MAX.
850
851 * sysdeps/generic/eloop-threshold.h: New file.
852 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
853 of MAXSYMLINKS.
854 * elf/chroot_canon.c (chroot_canon): Likewise.
855
7aab07e4
JM
8562012-08-03 Joseph Myers <joseph@codesourcery.com>
857
858 [BZ #13717]
859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
860 Change to 2.6.0 everywhere.
861 * sysdeps/unix/sysv/linux/configure: Regenerated.
862 * sysdeps/unix/sysv/linux/kernel-features.h
863 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
864 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
865 kernel versions.
866 (__ASSUME_POSIX_TIMERS): Define unconditionally.
867 (__ASSUME_FUTEX_REQUEUE): Remove.
868 (__ASSUME_STATFS64): Define unconditionally.
869 (__ASSUME_AT_SECURE): Likewise.
870 (__ASSUME_CORRECT_SI_PID): Likewise.
871 (__ASSUME_TGKILL): Define without depending on kernel version for
872 i386.
873 (__ASSUME_UTIMES): Likewise.
874 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
875 kernel version.
876 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
877 (__ASSUME_TMPFS_NAME): Likewise.
878 * README: Update reference to Linux kernel versions.
879
b67e9372
MP
8802012-08-02 Marek Polacek <polacek@redhat.com>
881
882 [BZ#14150]
883 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
884 libc_cv_asm_type_prefix with %.
885 * configure: Regenerated.
d2441631
RM
886 * include/libc-symbols.h: Remove comment about
887 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
888 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
889 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
890 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
891 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
892 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
893 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
894 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
895 * elf/tst-unique2mod1.c: Likewise.
896 * elf/tst-unique1mod2.c: Likewise.
897 * elf/tst-unique1mod1.c: Likewise.
898 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
899 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
900 Replace ASM_TYPE_DIRECTIVE with .type.
901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
902 * sysdeps/i386/sysdep.h: Likewise.
903 * sysdeps/x86_64/sysdep.h: Likewise.
904 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
906 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 907 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
908 * sysdeps/powerpc/powerpc32/sysdep.h:
909 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
910 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
911 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
912 * sysdeps/i386/fpu/e_powf.S: Likewise.
913 * sysdeps/i386/fpu/e_expl.S: Likewise.
914 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
915 * sysdeps/i386/fpu/e_acosh.S: Likewise.
916 * sysdeps/i386/fpu/e_pow.S: Likewise.
917 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
918 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
919 * sysdeps/i386/fpu/s_expm1.S: Likewise.
920 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
921 * sysdeps/i386/fpu/e_log2.S: Likewise.
922 * sysdeps/i386/fpu/e_log2l.S: Likewise.
923 * sysdeps/i386/fpu/e_scalb.S: Likewise.
924 * sysdeps/i386/fpu/e_powl.S: Likewise.
925 * sysdeps/i386/fpu/e_log10f.S: Likewise.
926 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
927 * sysdeps/i386/fpu/e_logl.S: Likewise.
928 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
929 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
930 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
931 * sysdeps/i386/fpu/e_log2f.S: Likewise.
932 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
933 * sysdeps/i386/fpu/e_log.S: Likewise.
934 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
935 * sysdeps/i386/fpu/e_logf.S: Likewise.
936 * sysdeps/i386/fpu/e_log10l.S: Likewise.
937 * sysdeps/i386/fpu/e_atanh.S: Likewise.
938 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
939 * sysdeps/i386/fpu/e_log10.S: Likewise.
940 * sysdeps/i386/fpu/s_frexp.S: Likewise.
941 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
942 * sysdeps/i386/fpu/s_asinh.S: Likewise.
943 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
944 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
945 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
946 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
947 * sysdeps/i386/i686/strtok.S: Likewise.
948 * sysdeps/i386/i386-mcount.S: Likewise.
949 * sysdeps/i386/strtok.S: Likewise.
950 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
951 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
952 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
953 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
954 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
955 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
956 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
957 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
958 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
959 * sysdeps/x86_64/_mcount.S: Likewise.
960 * sysdeps/x86_64/strtok.S: Likewise.
961 * sysdeps/sh/_mcount.S: Likewise.
962
2747bf9a
RM
9632012-08-01 Roland McGrath <roland@hack.frob.com>
964
965 * libio/iofopen.c: Include <fcntl.h>.
966 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
967 (_IO_fopen64, fopen64): Define as aliases.
968 * libio/iofopen64.c: Include <fcntl.h>.
969 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
970 Conditionalize body on this.
971 * sysdeps/wordsize-64/iofopen.c: File removed.
972 * sysdeps/wordsize-64/iofopen64.c: File removed.
973
3fb791b8
MP
9742012-08-01 Marek Polacek <polacek@redhat.com>
975
976 * libc/Makeconfig: Use elf in place of binfmt-subdir.
977 Use dlfcn directly instead of a variable.
978 (binfmt-subdir): Do not define.
979 (dlfcn): Likewise.
980
a9f1039f
JM
9812012-08-01 Joseph Myers <joseph@codesourcery.com>
982
23bddc06
JM
983 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
984 Remove all definitions.
985 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
986 <kernel-features.h>.
987 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
988 (miss_F_GETOWN_EX): Remove all definitions.
989 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
990 macro definition.
991 [!__ASSUME_FCNTL64]: Remove conditional code.
992 [__ASSUME_FCNTL64]: Make code unconditional.
993 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
994 <kernel-features.h>.
995 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
996 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
997 (lockf64) [__NR_fcntl64]: Make code unconditional.
998 (lockf64) [__ASSUME_FCNTL64]: Likewise.
999
a9f1039f
JM
1000 * sysdeps/unix/sysv/linux/kernel-features.h
1001 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1002 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1003 Make code unconditional.
1004 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1005 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1007 [__NR_vfork]: Make code unconditional.
1008 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1009 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1011 [__NR_vfork]: Make code unconditional.
1012 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1013 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1014
09c0ee5f
RM
10152012-08-01 Roland McGrath <roland@hack.frob.com>
1016
48aec5b9
RM
1017 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1018 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1019
cd97c966
RM
1020 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1021 Define mkstemp64 as an alias.
3f55550c
RM
1022 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1023 Define mkstemps64 as an alias.
cd97c966
RM
1024 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1025 Define mkostemp64 as an alias.
b8625cfc
RM
1026 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1027 Define mkostemps64 as an alias.
cd97c966
RM
1028 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1029 Conditionalize body on this.
1030 * misc/mkostemp64.c: Likewise.
b8625cfc 1031 * misc/mkostemps64.c: Likewise.
3f55550c 1032 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1033 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1034 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1035 * sysdeps/wordsize-64/mkostemp.c: File removed.
1036 * sysdeps/wordsize-64/mkstemp.c: File removed.
1037 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1038 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1039 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1040 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1041
09c0ee5f
RM
1042 [BZ #14138]
1043 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1044 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1045 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1046 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1047
1048 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1049 compat_symbol macros from <shlib-compat.h> rather than the underlying
1050 default_symbol_version and symbol_version macros, so that DEFAULT
1051 lines in shlib-versions are respected.
1052 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1053
7e66ee51
FW
10542012-08-01 Florian Weimer <fweimer@redhat.com>
1055
1056 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1057 Declare with warn_unused_result.
1058 (setgid, setregid, setegid, setresgid): Likewise.
1059 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1060 Likewise.
1061 * WUR-REPORT: Remove set*id functions.
1062
d2a54255
PT
10632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1064
1065 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1066
7ecdb005
RM
10672012-07-31 Roland McGrath <roland@hack.frob.com>
1068
789bd351
RM
1069 * include/sys/socket.h (__libc_accept, __libc_accept4):
1070 Add attribute_hidden.
1071 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1072
40ce302d
RM
1073 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1074 use of PTR_MANGLE.
1075 * inet/getnetgrent_r.c (setup): Likewise.
1076
7ecdb005
RM
1077 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1078
e2eabb2c
DM
10792012-07-31 David S. Miller <davem@davemloft.net>
1080
1081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1082
d0419dbf
JM
10832012-07-31 Joseph Myers <joseph@codesourcery.com>
1084
1085 [BZ #13629]
1086 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1087 value between 1.0 and 2.0 and smaller part has absolute value less
1088 than 1.0.
1089 * math/s_clog10.c (__clog10): Likewise.
1090 * math/s_clog10f.c (__clog10f): Likewise.
1091 * math/s_clog10l.c (__clog10l): Likewise.
1092 * math/s_clogf.c (__clogf): Likewise.
1093 * math/s_clogl.c (__clogl): Likewise.
1094 * math/libm-test.inc (clog_test): Add more tests.
1095 (clog10_test): Likewise.
1096 * sysdeps/i386/fpu/libm-test-ulps: Update.
1097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1098
2bc13872
FW
10992012-07-31 Florian Weimer <fweimer@redhat.com>
1100
1101 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1102 Exit with zero in case no suitable GID is found, and write a
1103 message to standard error.
1104
bea9b193
RM
11052012-07-30 Roland McGrath <roland@hack.frob.com>
1106
1107 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1108 rather than to 1.
1109 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1110 (MAXPATHLEN): Removed.
1111 (NOGROUP, NODEV): New macros.
1112 (setbit, clrbit, isset, isclr): New macros.
1113 (howmany, roundup, powerof2): New macros.
1114 (DEV_BSIZE): New macro.
1115
1116 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1117 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1118
1119 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1120 definition on [!__NO_LONG_DOUBLE_MATH].
1121
1122 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1123 PTR_MANGLE and PTR_DEMANGLE.
1124
1125 * socket/accept4.c (accept4): Rename to __libc_accept4.
1126 Define accept4 as a weak alias.
1127
1128 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1129 on [_DIRENT_HAVE_D_TYPE].
1130 * io/ftw.c (ftw_dir): Likewise.
1131
1132 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1133
1134 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1135
1136 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1137 Use the BSD numbers rather than the arbitrary ones we had.
1138 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1139 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1140 (SIGXCPU, SIGXFSZ): New macros.
1141 (_NSIG): Now 32.
1142
1143 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1144 initializer on [_LIBC_REENTRANT].
1145
1146 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1147 definitions inside [_POSIX_MAPPED_FILES].
1148
1149 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1150
1151 * dirent/opendir.c: Include <fcntl.h>.
1152
1153 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1154 (__libc_getspecific): Likewise.
1155 (__libc_key_create): Likewise.
1156
1157 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1158 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1159 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1160 (tmpfile64): Define as alias.
1161 * sysdeps/wordsize-64/tmpfile.c: File removed.
1162 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1163 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1164 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1165
1166 * stdio-common/vfscanf.c: Include <stdbool.h>.
1167 * nss/makedb.c: Likewise.
1168 * stdio-common/_i18n_number.h: Likewise.
1169 * argp/argp-help.c: Likewise.
1170 * posix/wordexp.c: Likewise.
1171 * sysdeps/posix/spawni.c: Likewise.
1172 * nss/nss_files/files-initgroups.c: Likewise.
1173 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1174 * nss/nss_files/files-initgroups.c: Likewise.
1175 * nss/nss_db/db-netgrp.c: Likewise.
1176 * nss/nss_db/db-initgroups.c: Likewise.
1177 * io/fchmodat.c: Include <sys/stat.h>.
1178
1179 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1180 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1181
1182 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1183 [HAVE_MMAP].
1184
1185 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1186 Add multiple inclusion protection.
1187
e5abc686
DM
11882012-07-27 David S. Miller <davem@davemloft.net>
1189
1190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1191
815e6fa3
GB
11922012-07-27 Gary Benson <gbenson@redhat.com>
1193
1194 [BZ #14298]
1195 * elf/rtld.c: Include <stap-probe.h>.
1196 (dl_main): Added static probes "init_start" and "init_complete".
1197 * elf/dl-load.c: Include <stap-probe.h>.
1198 (lose): Take new parameter "nsid".
1199 Added static probe "map_failed".
1200 (_dl_map_object_from_fd): Pass namespace id to lose.
1201 Added static probe "map_start".
1202 (open_verify): Pass namespace id to lose.
1203 * elf/dl-open.c: Include <stap-probe.h>.
1204 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1205 and "reloc_complete".
1206 * elf/dl-close.c: Include <stap-probe.h>.
1207 (_dl_close_worker): Added static probes "unmap_start" and
1208 "unmap_complete".
1209 * elf/rtld-debugger-interface.txt: New file documenting the above.
1210
9f98c16c
RM
12112012-07-26 Roland McGrath <roland@hack.frob.com>
1212
1213 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1214 rather than a string variable.
1215 * sunrpc/rpc_main.c (h_output): Likewise.
1216 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1217
f3c22df3
PT
12182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1219
1220 * inet/check_native.c: New file.
1221
3129cfc6
JM
12222012-07-26 Joseph Myers <joseph@codesourcery.com>
1223
da865e95
JM
1224 [BZ #13629]
1225 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1226 if larger part has absolute value 1.0.
1227 * math/s_clog10.c (__clog10): Likewise.
1228 * math/s_clog10f.c (__clog10f): Likewise.
1229 * math/s_clog10l.c (__clog10l): Likewise.
1230 * math/s_clogf.c (__clogf): Likewise.
1231 * math/s_clogl.c (__clogl): Likewise.
1232 * math/libm-test.inc (clog_test): Add more tests.
1233 (clog10_test): Likewise.
1234 * sysdeps/i386/fpu/libm-test-ulps: Update.
1235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1236
3129cfc6
JM
1237 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1238 (pltexit): Likewise.
1239 (La_regs): Likewise.
1240 (La_retval): Likewise.
1241 (int_retval): Likewise.
1242 Update #error for removed macros to refer only to definitions in
1243 tst-audit.h.
1244 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1245 macro.
1246 (pltexit): Likewise.
1247 (La_regs): Likewise.
1248 (La_retval): Likewise.
1249 (int_retval): Likewise.
1250 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1251 macro.
1252 (pltexit): Likewise.
1253 (La_regs): Likewise.
1254 (La_retval): Likewise.
1255 (int_retval): Likewise.
1256 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1257 macro.
1258 (pltexit): Likewise.
1259 (La_regs): Likewise.
1260 (La_retval): Likewise.
1261 (int_retval): Likewise.
1262 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1263 macro.
1264 (pltexit): Likewise.
1265 (La_regs): Likewise.
1266 (La_retval): Likewise.
1267 (int_retval): Likewise.
1268 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1269 macro.
1270 (pltexit): Likewise.
1271 (La_regs): Likewise.
1272 (La_retval): Likewise.
1273 (int_retval): Likewise.
1274 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1275 macro.
1276 (pltexit): Likewise.
1277 (La_regs): Likewise.
1278 (La_retval): Likewise.
1279 (int_retval): Likewise.
1280 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1281 macro definitions in tst-audit.h.
1282 * sysdeps/i386/tst-audit.h: New file.
1283 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1284 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1285 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1286 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1287 * sysdeps/sh/tst-audit.h: Likewise.
1288 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1289 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1290 * sysdeps/x86_64/tst-audit.h: Likewise.
1291
bfc07087
AJ
12922012-07-26 Andreas Jaeger <aj@suse.de>
1293
b1b2aaf8
AJ
1294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1295 ptrace.
1296
1297 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1298 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1299 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1300 PTRACE_O_MASK.
1301 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1302 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1303 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1304
bfc07087
AJ
1305 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1306 value.
1307
1308 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1309 _sigsys.
1310 (si_call_addr, si_syscall, si_arch): Define new macro.
1311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1312 _sigsys.
1313 (si_call_addr, si_syscall, si_arch): Define new marcro.
1314 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1315 _sigsys.
1316 (si_call_addr, si_syscall, si_arch): Define new macro.
1317 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1318 _sigsys.
1319 (si_call_addr, si_syscall, si_arch): Define new macro.
1320
89b4b02f
JM
13212012-07-25 Joseph Myers <joseph@codesourcery.com>
1322
1323 [BZ #13717]
1324 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1325 Change to 2.4.21 where previously 2.4.1.
1326 * sysdeps/unix/sysv/linux/configure: Regenerated.
1327 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1328 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1329 Linux kernel version.
1330 (__ASSUME_STD_AUXV): Remove.
1331 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1332 kernel version.
1333 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1334 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1335 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1336 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1337 (__ASSUME_NETLINK_SUPPORT): Likewise.
1338 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1339 (__no_netlink_support): Remove conditional definition.
1340 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1341 Remove.
1342 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1343 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1344 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1345 (if_nameindex_ioctl): Remove.
1346 (if_nameindex_netlink): Do not handle __no_netlink_support.
1347 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1348 code.
1349 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1350 Remove conditional code.
1351 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1352 code.
1353 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1354 unconditional.
1355 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1356 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1357 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1358 Remove.
1359 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1360 [!__ASSUME_STD_AUXV]: Remove conditional code.
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1362 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1363 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1365 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1366 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1367 code.
1368 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1370 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1371 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1372 conditional code.
1373 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1375 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1376 code.
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1378 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1379 conditional code.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1381 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1382 code unconditional.
1383 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1384 conditional code.
1385 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1386 unconditional.
1387 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1388 conditional code.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1390 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1391 unconditional.
1392 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1393 conditional code.
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1395 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1396 code unconditional.
1397 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1398 conditional code.
1399 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1400 unconditional.
1401 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1402 conditional code.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1404 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1405 code unconditional.
1406 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1407 conditional code.
1408 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1409 unconditional.
1410 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1411 conditional code.
1412
842a39cd
AS
14132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1414
1415 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1416 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1417 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1418 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1419 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1420 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1421 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1422 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1423 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1424 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1425 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1426 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1427 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1428 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1430 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1431 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1432 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1433 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1435 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1436 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1437 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1438
84b3fd84
FW
14392012-07-25 Florian Weimer <fweimer@redhat.com>
1440
1441 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1442 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1443 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1444 Introduce __libc_secure_getenv.
0c7936d5
FW
1445 * stdlib/Versions (2.17): Add secure_getenv
1446 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1447 * stdlib/secure-getenv.c: Rename __secure_getenv to
1448 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1449 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1450 * stdlib/tst-secure-getenv.c: New.
1451 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1452 * manual/startup.texi (Environment Access): Document
1453 secure_getenv.
84b3fd84
FW
1454 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1455 __libc_secure_getenv.
1456 * inet/ruserpass.c (ruserpass): Likewise.
1457 * malloc/mtrace.c (mtrace): Likewise.
1458 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1459 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1460 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1461 * sysdeps/posix/tempname.c: Likewise. Evaluate
1462 HAVE_SECURE_GETENV.
1463 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1464 __secure_getenv to __libc_secure_getenv.
84b3fd84 1465 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1467 Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1469 Likewise.
1470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1477
56e49b71
JM
14782012-07-25 Joseph Myers <joseph@codesourcery.com>
1479
1480 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1481 (struct La_i86_retval): Likewise.
1482 (struct La_x86_64_regs): Likewise.
1483 (struct La_x86_64_retval): Likewise.
1484 (struct La_x32_regs): Likewise.
1485 (struct La_x32_retval): Likewise.
1486 (struct La_ppc32_regs): Likewise.
1487 (struct La_ppc32_retval): Likewise.
1488 (struct La_ppc64_regs): Likewise.
1489 (struct La_ppc64_retval): Likewise.
1490 (struct La_sh_regs): Likewise.
1491 (struct La_sh_retval): Likewise.
1492 (struct La_s390_32_regs): Likewise.
1493 (struct La_s390_32_retval): Likewise.
1494 (struct La_s390_64_regs): Likewise.
1495 (struct La_s390_64_retval): Likewise.
1496 (struct La_sparc32_regs): Likewise.
1497 (struct La_sparc32_retval): Likewise.
1498 (struct La_sparc64_regs): Likewise.
1499 (struct La_sparc64_retval): Likewise.
1500 (struct audit_ifaces): Remove architecture-specific pltenter and
1501 pltexit members.
1502 * sysdeps/i386/ldsodefs.h: New file.
1503 * sysdeps/powerpc/ldsodefs.h: Likewise.
1504 * sysdeps/s390/ldsodefs.h: Likewise.
1505 * sysdeps/sh/ldsodefs.h: Likewise.
1506 * sysdeps/sparc/ldsodefs.h: Likewise.
1507 * sysdeps/x86_64/ldsodefs.h: Likewise.
1508
354691b7
MP
15092012-07-25 Marek Polacek <polacek@redhat.com>
1510
1511 [BZ #6808]
1512 * math/libm-test.inc (yn_test): Add another test.
1513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1514 to ERANGE when the result is +-Inf.
1515 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1516 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1517 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1518 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1519
bf9e2071
JM
15202012-07-24 Joseph Myers <joseph@codesourcery.com>
1521
1522 * conform/data/time.h-data (NULL): Use macro-constant. Require
1523 equal to 0.
1524 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1525 clock_t.
1526 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1527
57633811
TS
15282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1529
1530 * configure.in <sysdeps resolving>: Correct printing
1531 Implies_before.
1532 * configure: Regenerate.
1533
c23c33b0
TS
15342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1535
1536 * math/w_ilogb.c: Include <limits.h>.
1537 * math/w_ilogbl.c: Likewise.
1538
b5982523
JM
15392012-07-20 Joseph Myers <joseph@codesourcery.com>
1540
1541 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1542 va_copy. Document allowing for unavailable va_copy only as
1543 pre-C99 compatibility.
1544 * manual/string.texi (Copying and Concatenation): Use va_copy
1545 instead of __va_copy in concat example.
1546
ac4ea442
PT
15472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1548
1549 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1550 (__sendto): Use create_address_port. Initialize APORT and deallocate
1551 it if not null.
1552
f98eafbd
PT
1553 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1554 with O_NOLINK passed to __file_name_lookup.
1555
898c7aab
PT
1556 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1557 with O_NOLINK passed to __file_name_lookup.
1558
0ced335a
PT
1559 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1560 negative N or less than NGIDS.
1561
b3404dbd
PT
1562 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1563 type to string_t. Set ERANGE as errno and return it if NAME is not big
1564 enough. Use memcpy instead of strncpy.
1565
0f48659e
JM
15662012-07-20 Joseph Myers <joseph@codesourcery.com>
1567
1568 * elf/Makefile (check-data): Remove.
1569 (localplt.data): New vpath directive.
1570 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1571 instead of $(check-data).
1572 * scripts/data/localplt-generic.data: Move to ...
1573 * sysdeps/generic/localplt.data: ... here.
1574 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1575 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1576 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1578 ... here.
1579 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1581 ... here.
1582 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1584 ... here.
1585 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1587 ... here.
1588 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1590 ... here.
1591 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1593 ... here.
1594
d37cbdaa
AZ
15952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1596
1597 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1598 PPC32 and PPC64 files.
1599 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1600 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1601
46f85fc2
AK
16022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1603
1604 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1605 __makecontext_ret to ...
1606 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1607 ... here and call exit if uc_link is NULL. New file.
1608 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1609 __makecontext_ret.S.
1610 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1611 __makecontext_ret to ...
1612 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1613 ... here and call exit if uc_link is NULL. New file.
1614 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1615 __makecontext_ret.S.
1616
08f43f9b
AK
16172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1618
1619 * elf/elf.h (R_390_IRELATIVE): New definition.
1620 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1621 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1622 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1623 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1624 (elf_machine_lazy_rel): Likewise.
1625 * sysdeps/s390/dl-irel.h: New file.
1626 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1627 * sysdeps/s390/s390-64/memset.S: New asm code.
1628 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1629 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1630 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1631 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1632 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1633 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1634 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1635 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1636 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1637 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1638 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1639 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1640 * sysdeps/s390/s390-32/memset.S: New asm code.
1641 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1642
3b05db33
MP
16432012-07-17 Marek Polacek <polacek@redhat.com>
1644
1645 [BZ #14349]
1646 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1647 * sysdeps/s390/s390-64/configure.in: Likewise.
1648 * sysdeps/sparc/configure.in: Likewise.
1649 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1650 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1651 * sysdeps/i386/configure.in: Likewise.
1652 * sysdeps/x86_64/configure.in: Likewise.
1653 * sysdeps/sh/configure.in: Likewise.
1654 * sysdeps/s390/s390-32/configure: Regenerated.
1655 * sysdeps/s390/s390-64/configure: Likewise.
1656 * sysdeps/x86_64/configure: Likewise.
1657 * sysdeps/sh/configure: Likewise.
1658 * sysdeps/powerpc/powerpc64/configure: Likewise.
1659 * sysdeps/powerpc/powerpc32/configure: Likewise.
1660 * sysdeps/sparc/configure: Likwise.
1661 * sysdeps/i386/configure: Likewise.
1662
a66877c6
MP
1663 * elf/dl-open.c: Comment fixes.
1664
cfc82fd8
JM
16652012-07-17 Joseph Myers <joseph@codesourcery.com>
1666
bd29910a
JM
1667 * Makefile [CXX] (check-data): Remove.
1668 [CXX] (c++-types.data): New vpath directive.
1669 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1670 vpath. Do not allow for C++ type data being missing.
1671 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1672 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1673 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1674 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1675 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1676 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1677 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1679 ... here.
1680 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1682 ... here.
1683 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1685 ... here.
1686 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1688 ... here.
1689 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1691 ... here.
1692 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1694 ... here.
1695 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1697 ... here.
1698 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1700
cfc82fd8
JM
1701 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1702 definitions to architecture-specific files.
1703 (TLS_IE): Likewise.
1704 (TLS_LD): Likewise.
1705 (TLS_GD): Likewise.
1706 * sysdeps/i386/tls-macros.h: New file.
1707 * sysdeps/powerpc/tls-macros.h: Likewise.
1708 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1709 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1710 * sysdeps/sh/tls-macros.h: Likewise.
1711 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1712 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1713 * sysdeps/x86_64/tls-macros.h: Likewise.
1714
f7db3170
TS
17152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1716
07cbfc23
TS
1717 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1718 zero value for regular exit case.
1719
f7db3170
TS
1720 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1721 (__start_context): Preserve zero value for regular exit case.
1722
dc97c227
TS
17232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1724 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1725
1726 * manual/setjmp.texi (setcontext): Clarify normal process
1727 termination when uc_link is the null pointer.
1728 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1729 exit call.
1730
d0cd7d02
AS
17312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1732
1733 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1734 preprocessor. Test for each exception mask separately.
1735
dd318934
AJ
17362012-07-16 Andreas Jaeger <aj@suse.de>
1737
1738 * po/ru.po: Update from translation team.
1739
8048311a
JM
17402012-07-15 Joseph Myers <joseph@codesourcery.com>
1741
1742 * conform/data/string.h-data (NULL): Use macro-constant. Require
1743 equal to 0.
1744 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1745 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1746 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1747 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1748 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1749
b637d46e
AJ
17502012-07-13 Andreas Jaeger <aj@suse.de>
1751
1752 * po/fr.po: Update from translation team.
1753
541428fe
MP
17542012-07-12 Marek Polacek <polacek@redhat.com>
1755
1756 [BZ #14173]
1757 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1758 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1759 loop condition.
1760
ec332e94
JM
17612012-07-12 Joseph Myers <joseph@codesourcery.com>
1762
1763 [BZ #13717]
1764 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1765 Change to 2.4.1 where previously 2.4.0.
1766 * sysdeps/unix/sysv/linux/configure: Regenerated.
1767 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1768 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1769 version.
1770 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1771 (__ASSUME_AT_CLKTCK): Remove.
1772 (__ASSUME_AT_PAGESIZE): Likewise.
1773 (__ASSUME_AT_XID): Likewise.
1774 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1775 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1776 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1777 unconditionally.
1778 (HAVE_AUX_PAGESIZE): Likewise.
1779 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1780 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1781 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1782
7b6e99be
JB
17832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1784
1785 [BZ #14307]
1786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1787 the temporary buffer used to invoke __gethostbyname2_r,
1788 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1789 host_data / struct gaih_addrtuple.
1790 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1791 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1792 header file nss/nsswitch.h.
1793 * nss/nsswitch.h (global scope): Add definition of implementation
1794 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1795 resolv/nss_dns/dns-host.c).
1796
608404eb
AJ
17972012-07-11 Andreas Jaeger <aj@suse.de>
1798
1799 * po/fr.po: Update from translation team.
1800
71220aca
AJ
1801 * po/sv.po: Update from translation team
1802 * po/fr.po: Another update from translation team.
1803
28cfe843
AZ
18042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1805
1806 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1807 for subnormals or multiply small sinh result by itself.
1808 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1810
6b90f981
DM
18112012-07-11 David S. Miller <davem@davemloft.net>
1812
1813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1814
c6825772
AS
18152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1816
1817 [BZ #14347]
1818 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1819 (INTERNAL_MARK): Shift it here.
1820
7b8e0d49
MP
18212012-07-10 Marek Polacek <polacek@redhat.com>
1822
1823 [BZ #14151]
1824 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1825 libc_cv_asm_global_directive with .globl.
1826 * configure: Regenerated.
1827 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1828 with .globl.
1829 * sysdeps/i386/configure: Regenerated.
1830 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1831 with .globl.
1832 * sysdeps/x86_64/configure: Regenerated.
1833 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1834 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1835 * elf/tst-unique2mod2.c: Likewise.
1836 * elf/tst-unique2mod1.c: Likewise.
1837 * elf/tst-unique1mod2.c: Likewise.
1838 * elf/tst-unique1mod1.c: Likewise.
1839 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1840 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1841 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1842 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1843 * sysdeps/mach/sysdep.h: Likewise.
1844 * sysdeps/i386/sysdep.h: Likewise.
1845 * sysdeps/i386/i386-mcount.S: Likewise.
1846 * sysdeps/x86_64/_mcount.S: Likewise.
1847 * sysdeps/x86_64/sysdep.h: Likewise.
1848 * sysdeps/sh/_mcount.S: Likewise.
1849 * sysdeps/sh/sysdep.h: Likewise.
1850 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1851 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1852 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1853 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1854 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1855 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1856 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1857 * locale/localeinfo.h: Likewise.
1858 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1859 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1860
6c55cda3
RM
18612012-07-09 Roland McGrath <roland@hack.frob.com>
1862
1863 [BZ #14336]
1864 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1865 system".
1866 * manual/message.texi (The Uniforum approach): Likewise.
1867 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1868 (glibc iconv Implementation): Likewise.
1869
638a572e
JM
18702012-07-09 Joseph Myers <joseph@codesourcery.com>
1871
1872 [BZ #14337]
1873 * math/s_clog.c (__clog): Avoid scaling a value down where that
1874 could result in underflow.
1875 * math/s_clog10.c (__clog10): Likewise.
1876 * math/s_clog10f.c (__clog10f): Likewise.
1877 * math/s_clog10l.c (__clog10l): Likewise.
1878 * math/s_clogf.c (__clogf): Likewise.
1879 * math/s_clogl.c (__clogl): Likewise.
1880 * math/libm-test.inc (clog_test): Add more tests.
1881 (clog10_test): Likewise.
1882 * sysdeps/i386/fpu/libm-test-ulps: Update.
1883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1884
261f4859
AS
18852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1886
0abaf3e4
AS
1887 [BZ #14283]
1888 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1889 by 7 not 8 to examine high bit of fractional part.
1890
261f4859
AS
1891 [BZ #14042]
1892 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1893 for call to __mcount_internal.
1894 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1895 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1896 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1897
f17ac40d
JM
18982012-07-06 Joseph Myers <joseph@codesourcery.com>
1899
9ad63c23
JM
1900 [BZ #14154]
1901 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1902 approximation for values within 0x1p-13f of an odd multiple of
1903 pi/4.
1904 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1905 exception. Add more tests.
1906 * sysdeps/i386/fpu/libm-test-ulps: Update.
1907
f17ac40d
JM
1908 [BZ #6778]
1909 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1910 inputs and return -1 for them. Do not check for +Inf in case not
1911 reachable for +Inf.
1912 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1913 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1914 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1915 and return -1 for them. Do not check for +Inf in case not
1916 reachable for +Inf.
1917 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1918 define.
1919 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1920 and return -1 for them. Do not check for +Inf in case not
1921 reachable for +Inf.
1922 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1923 spurious underflow.
1924 * sysdeps/i386/fpu/libm-test-ulps: Update.
1925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1926
fb21f89b
MF
19272012-07-06 Mike Frysinger <vapier@gentoo.org>
1928
1929 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1930
cdfe2c5e
JM
19312012-07-05 Joseph Myers <joseph@codesourcery.com>
1932
1933 [BZ #14157]
1934 [BZ #14331]
1935 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1936 could result in spurious underflow. Scale down values above
1937 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1938 * math/s_csqrtf.c (__csqrtf): Likewise.
1939 * math/s_csqrtl.c (__csqrtl): Likewise.
1940 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1941 spurious underflow.
1942 * sysdeps/i386/fpu/libm-test-ulps: Update.
1943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944
70d35b67
AS
19452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1946
704bc459
AS
1947 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1948 xopen-msg.sed.
1949 * catgets/xopen-msg.awk: New file.
1950 * catgets/xopen-msg.sed: Removed.
1951
70d35b67
AS
1952 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1953 po2text.sed.
1954 * intl/po2test.awk: New file.
1955 * intl/po2test.sed: Removed.
1956
ca61cf32
JM
19572012-07-04 Joseph Myers <joseph@codesourcery.com>
1958
1959 [BZ #14328]
1960 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1961 or multiply small sinh result by itself.
1962 * math/s_ctanf.c (__ctanf): Likewise.
1963 * math/s_ctanh.c (__ctanh): Likewise.
1964 * math/s_ctanhf.c (__ctanhf): Likewise.
1965 * math/s_ctanhl.c (__ctanhl): Likewise.
1966 * math/s_ctanl.c (__ctanl): Likewise.
1967 * math/libm-test.inc (ctan_test_tonearest): New function.
1968 (ctan_test_towardzero): Likewise.
1969 (ctan_test_downward): Likewise.
1970 (ctan_test_upward): Likewise.
1971 (ctanh_test_tonearest): Likewise.
1972 (ctanh_test_towardzero): Likewise.
1973 (ctanh_test_downward): Likewise.
1974 (ctanh_test_upward): Likewise.
1975 (main): Call these new functions.
1976 * sysdeps/i386/fpu/libm-test-ulps: Update.
1977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1978
ca48a46a
MF
19792012-07-03 Mike Frysinger <vapier@gentoo.org>
1980
1981 * .gitignore: Delete /ports entry.
1982
9d63d37d
AJ
19832012-07-03 Andreas Jaeger <aj@suse.de>
1984
1985 * po/bg.po: Update from translation team.
1986 * po/cs.po: Likewise.
1987 * po/de.po: Likewise.
1988 * po/hr.po: Likewise.
1989 * po/nl.pl: Likewise.
1990 * po/pl.po: Likewise.
1991 * po/vi.po: Likewise.
1992
370ca3d2
JM
19932012-07-03 Joseph Myers <joseph@codesourcery.com>
1994
95f5a9a8
JM
1995 * Makeconfig [!+link] (+link-before-libc): New variable.
1996 [!+link] (+link-after-libc): Likewise.
1997 [!+link] (+link-tests): Likewise.
1998 [!+link] (+link): Define in terms of $(+link-before-libc) and
1999 $(+link-after-libc).
2000 [!+link-static] (+link-static-before-libc): New variable.
2001 [!+link-static] (+link-static-after-libc): Likewise.
2002 [!+link-static] (+link-static-tests): Likewise.
2003 [!+link-static] (+link-static): Define in terms of
2004 $(+link-static-before-libc) and $(+link-static-after-libc).
2005 [build-shared] (link-libc-before-gnulib): New variable.
2006 [build-shared] (link-libc-tests): Likewise.
2007 [build-shared] (link-libc): Define in terms of
2008 $(link-libc-before-gnulib).
2009 [!build-shared] (link-libc-tests): New variable.
2010 (link-libc-static-tests): New variable.
2011 [!gnulib] (gnulib-arch): New variable.
2012 [!gnulib] (gnulib-tests): Likewise.
2013 [!gnulib] (static-gnulib-arch): Likewise.
2014 [!gnulib] (static-gnulib-tests): Likewise.
2015 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2016 Define with "=" instead of ":=".
2017 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2018 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2019 * Rules (binaries-all-notests): New variable.
2020 (binaries-all-tests): Likewise.
2021 (binaries-static-notests): Likewise.
2022 (binaries-static-tests): Likewise.
2023 (binaries-all): Define using $(binaries-all-notests) and
2024 $(binaries-all-tests).
2025 (binaries-static): Define using $(binaries-static-notests) and
2026 $(binaries-static-tests).
2027 (binaries-shared-tests): New variable.
2028 (binaries-shared-notests): Likewise.
2029 (binaries-shared): Remove variable.
2030 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2031 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2032 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2033 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2034 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2035 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2036 * elf/Makefile (sln-modules): New variable.
2037 (extra-objs): Add $(sln-modules:=.o).
2038 (ldconfig-modules): Add static-stubs.
2039 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2040 * elf/static-stubs.c: New file.
2041
7a845b2c
JM
2042 [BZ #14283]
2043 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2044 by 7 not 8 to examine high bit of fractional part. Use volatile
2045 variables when splitting into final array of floats if
2046 __FLT_EVAL_METHOD__ != 0.
2047 * math/libm-test.inc (cos_test): Add another test.
2048 (sin_test): Likewise.
2049 * sysdeps/i386/fpu/libm-test-ulps: Update.
2050
e2283f38
JM
2051 [BZ #14273]
2052 * math/libm-test.inc (cosh_test): Add more tests.
2053
370ca3d2
JM
2054 * version.h (RELEASE): Set to "development".
2055 (VERSION): Set to "2.16.90".
2056
ee9247c3
CD
20572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2058
2059 * NEWS: Update copyright. Remove last-updated date.
2060 Mention math library bug fixes and timezone data changes.
2061 * README: Mention GNU/Hurd, x32, and HPPA support status.
2062
4648c381
TS
20632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2064
2065 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2066
aac78a43
AJ
20672012-06-27 Andreas Jaeger <aj@suse.de>
2068
2069 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2070
ed3dbfad
AJ
20712012-06-25 Andreas Jaeger <aj@suse.de>
2072
2073 * sysdeps/s390/fpu/libm-test-ulps: Update.
2074
4d0ee855
AS
20752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2076 Thomas Schwinge <thomas@codesourcery.com>
2077
2078 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2079 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2080 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2081 fanotify_mark.
2082
af1bce34
TS
20832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2084
a9fa33ba
TS
2085 * sysdeps/mach/start.c: Remove file.
2086 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2087 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2088 * sysdeps/sh/init-first.c: Likewise.
2089
58f902b8
TS
2090 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2091 registers for frame unwinding purposes, add CFI directives.
2092 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2093 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2094 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2095 Likewise.
2096
1518f58b
TS
2097 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2098 __fortify_fail returning.
2099 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2100
db9b5059
TS
2101 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2102 sysdeps/sh/____longjmp_chk.S.
2103 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2104 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2105 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2106 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2107
967705fe
TS
2108 * sysdeps/sh/abort-instr.h: New file.
2109 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2110 process in case exit returns.
2111
a9def8c4
TS
2112 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2113 initialize the GOT register before use.
2114
2a649725
TS
2115 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2116 calculation of ARGC > 4.
2117
af1bce34
TS
2118 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2119 meaningful names to some local labels.
2120
d230f50a
KK
21212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2122 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2123
2124 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2125 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2126 (__arch_compare_and_exchange_val_16_acq): Likewise.
2127 (__arch_compare_and_exchange_val_32_acq): Likewise.
2128 (atomic_exchange_and_add): Fix gUSA sequence.
2129 (atomic_add): Likewise.
2130 (atomic_add_negative): Likewise.
2131 (atomic_add_zero): Likewise.
2132 (atomic_bit_test_set): Likewise.
2133
0479b305
AS
21342012-06-22 Andreas Schwab <schwab@redhat.com>
2135
2136 [BZ #13579]
2137 * include/link.h (struct link_map): Add l_free_initfini.
2138 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2139 l_initfini.
2140 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2141 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2142 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2143 set.
2144
0e3933b9
CD
21452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2146
2147 * configure.in: Use AC_LANG_SOURCE.
2148 * configure: Regenerate.
2149
4248b1b1
RM
21502012-06-22 Roland McGrath <roland@hack.frob.com>
2151
2152 * configure.in (libc_cv_localstatedir): New substituted variable.
2153 * configure: Regenerated.
2154 * config.make.in (localstatedir): New variable, substituted from
2155 libc_cv_localstatedir.
2156 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2157 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2158 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2159 * sysdeps/gnu/configure: Regenerated.
2160
006dd861
JL
21612012-06-21 Jeff Law <law@redhat.com>
2162
2163 [BZ #14277]
2164 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2165 free. Simplify list management for _LIBC case.
2166
79662d42
JM
21672012-06-21 Joseph Myers <joseph@codesourcery.com>
2168
b7abb4bf
JM
2169 [BZ #14273]
2170 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2171 Clear sign bit of 64-bit integer value before comparing against
2172 overflow value.
2173
79662d42
JM
2174 * sysdeps/mach/configure: Regenerated.
2175
1f150908
L
21762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2177
2178 [BZ #14278]
2179 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2180
28363bbf
JL
21812012-06-21 Jeff Law <law@redhat.com>
2182
2183 [BZ #13882]
2184 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2185 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2186 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2187 * elf/dl-open.c (dl_open_worker): Likewise.
2188
09615db4
CD
21892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2190
2191 * scripts/list-sources.sh: Scan PORTS for translations.
2192 * po/libc.pot: Regenerated.
2193
2174c6dd
AJ
21942012-06-21 Andreas Jaeger <aj@suse.de>
2195
2196 [BZ #12194]
2197 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2198 warning.
2199 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2200 * bits/byteswap-16.h (__bswap_16): Likewise.
2201 * bits/byteswap.h (__bswap_constant_16): Likewise.
2202
3ee947b1
L
22032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 [BZ #14117]
a2f34833
L
2206 * sysdeps/i386/fpu_control.h: Removed.
2207 * sysdeps/x86_64/fpu_control.h: Moved to ...
2208 * sysdeps/x86/fpu_control.h: Here.
2209
3ee947b1
L
2210 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2211 (_FPU_SETCW): Likewise.
2212
ed1825f8
L
22132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2214
25f1282a
L
2215 [BZ #14117]
2216 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2217 * sysdeps/x86/fpu/bits/mathinline.h: This.
2218 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2219
ed1825f8
L
2220 [BZ #14050]
2221 [BZ #14117]
2222 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2223 functions if __x86_64__ is defined.
2224
36d54b74
CLT
22252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2226
2227 * string/endian.h: Add !__ASSEMBLER__ condition for including
2228 conversion interfaces.
2229
10285c21
JM
22302012-06-15 Joseph Myers <joseph@codesourcery.com>
2231
2232 [BZ #14241]
2233 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2234 of ABS(x) in calculating zero to negative powers other than odd
2235 integers.
2236 * math/libm-test.inc (pow_test): Add more tests.
2237
06c5abbd
AJ
22382012-06-15 Andreas Jaeger <aj@suse.de>
2239
2240 * manual/contrib.texi (Contributors): Update entry of Liubov
2241 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2242 Machado Filho.
2243
a3aeac40
CH
22442012-06-15 Cyril Hrubis <metan@ucw.cz>
2245
2246 * string/string.h: Add __wur to GNU version of strerror_r.
2247
49bdf4c1
L
22482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2249
2250 [BZ #14229]
2251 * string/Makefile (tests): Add tst-strtok_r.
2252 * string/tst-strtok_r.c: New file.
2253 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2254 RAX_LP/RDX_LP on SAVE_PTR.
2255
834f9b8d
RM
22562012-06-14 Roland McGrath <roland@hack.frob.com>
2257
2258 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2259
75fa1921
JM
22602012-06-14 Joseph Myers <joseph@codesourcery.com>
2261
2262 * libm_test.inc (csqrt_test): Allow more spurious underflow
2263 exceptions.
2264 (j0_test): Likewise.
2265 (j1_test): Likewise.
2266 (y0_test): Likewise.
2267 (y1_test): Likewise.
2268
771766df
CD
22692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2270
2271 * po/Makefile (libc.pot): Use UTF-8 charset.
2272
ceb9e56b
PP
22732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2274
2275 [BZ #14210]
2276 Suppress sign-conversion warning from FD_SET.
2277 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2278 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2279 not unsigned long int.
2280 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2281
ddb28975
L
22822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2283
2284 [BZ #14050]
2285 [BZ #14117]
2286 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2287 __extern_always_inline instead of __extern_inline.
2288 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2289 (__signbit): Likewise.
2290 (__signbitl): Support C++ namespace.
2291 (lrintf): New inline function.
2292 (lrint): Likewise.
2293 (llrintf): Likewise.
2294 (llrint): Likewise.
2295 (fmaxf): Likewise.
2296 (fmax): Likewise.
2297 (fminf): Likewise.
2298 (fmin): Likewise.
2299 (rint): Likewise.
2300 (rintf): Likewise.
2301 (ceil): Likewise.
2302 (ceilf): Likewise.
2303 (floor): Likewise.
2304 (floorf): Likewise.
2305 (nearbyint): Likewise.
2306 (nearbyintf): Likewise.
2307
d7b4fb26
TS
23082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2309
2310 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2311 non-default versions.
2312
eb55f5c2
RM
23132012-06-11 Roland McGrath <roland@hack.frob.com>
2314
2315 [BZ #14218]
2316 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2317
366af02c
TS
23182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2319
99ff6e5c
TS
2320 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2321 (FE_UPWARD, FE_DOWNWARD): Don't define.
2322 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2323 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2324
366af02c
TS
2325 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2326 reading it.
2327 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2328 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2329
793ea851
KK
23302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2331
2332 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2334 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2335 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2336
a728a38f
L
23372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2338
2339 [BZ #14117]
c08010c7
L
2340 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2341 * sysdeps/i386/fpu/Implies: New file.
2342 * sysdeps/x86_64/fpu/Implies: Likewise.
2343 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2344 * sysdeps/x86/fpu/bits/fenv.h: This.
2345
a728a38f
L
2346 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2347 __SSE_MATH__.
2348
6e230d11
SP
23492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2350
2351 [BZ #14134]
2352 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2353 character 0xffff that matches the last element of the
2354 conversion table.
2355
1b671feb
AZ
23562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2357
2358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2359 fmodl commit.
2360
6043738b
AZ
23612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2362
2363 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2364 values higher than 25.6283.
2365
34ae0b32
AZ
23662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2367
2368 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2369 subnormal exponent extraction and add some __builtin_expect.
2370 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2371 Fix for subnormal mantissa calculation.
2372
1214ec8f
MF
23732012-06-04 Mike Frysinger <vapier@gentoo.org>
2374
2375 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2376 cpu2 is -1 and errno is not ENOSYS.
2377
f3d1f93c
L
23782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 [BZ #14117]
0e4a3cd7
L
2381 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2382 * sysdeps/x86/bits/string.h: This.
2383 * sysdeps/x86_64/bits/string.h: Removed.
2384
6704c645
L
2385 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2386 if not compiling for x86-64, but compiling for >= i486.
2387
48495318
L
2388 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2389 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2390
14adcbfc
L
2391 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2392 New macro from Linux kernel 3.4.0.
2393 (FP_XSTATE_MAGIC2): Likewise.
2394 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2395 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2396 (struct _fpx_sw_bytes): New struct.
2397 (struct _xsave_hdr): Likewise.
2398 (struct _ymmh_state): Likewise.
2399 (struct _xstate): Likewise.
2400
68e408ab
L
2401 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2402 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2403 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2404 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2405 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2406 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2407
f3d1f93c
L
2408 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2409 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2410 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2411 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2412 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2413 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2414
d9dc34cd
TMQMF
24152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2416
2417 [BZ #13743]
2418 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2419 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2420 (sysdep_headers): Include sys/platform/ppc.h.
2421 * sysdeps/powerpc/test-gettimebase.c: Test for
2422 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2423 * manual/Makefile (appendices): Include platform.texi.
2424 * manual/contrib.texi (Contributors): Update @node pointers.
2425 * manual/maint.texi (Maintenance): Likewise.
2426 (Platform): New node.
2427 * manual/platform.texi: New file. Document the new features.
2428
4af3879c
SP
24292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2430 Jakub Jelinek <jakub@redhat.com>
2431
2432 [BZ #14188]
2433 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2434 where __builtin_expect is unavailable.
2435
2fd6ff13
DM
24362012-06-03 David S. Miller <davem@davemloft.net>
2437
2438 * stdlib/longlong.h: Updated from GCC.
2439
173f7220
AS
24402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2441
2442 [BZ #14042]
2443 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2444 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2445 __mcount_internal.
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2447 (GLIBC_2.16): Likewise.
2448
f34a1c6f
L
24492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2452
88a4576f
JM
24532012-06-01 Joseph Myers <joseph@codesourcery.com>
2454
ea32bcdd
JM
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2456 (default-abi): New variable.
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2458 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2459 variable.
2460 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2461 Likewise.
2462 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2463 Likewise.
2464 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2465 Likewise.
2466
88a4576f
JM
2467 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2468 definition. Document in comment.
2469
402fe938
DM
24702012-06-01 David S. Miller <davem@davemloft.net>
2471
2472 * stdlib/longlong.h: Updated from GCC.
2473
3553723f
L
24742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2475
2476 [BZ #14117]
3bd872c4
L
2477 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2478 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2479 sys/debugreg.h sys/io.h here.
2480 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2481 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2482 sys/io.h.
2483 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2484 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2485 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2486 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2487 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2488 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2489
3553723f
L
2490 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2491 Define only if __x86_64__ is defined.
2492
4842e4fe
JM
24932012-06-01 Joseph Myers <joseph@codesourcery.com>
2494
c5bfe3d5
JM
2495 [BZ #14048]
2496 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2497 Use int64_t for variable i.
2498 * math/libm-test.inc (fmod_test): Add more tests.
2499
4842e4fe
JM
2500 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2501 z computation is not scheduled after fetestexcept.
2502 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2503 Use math_force_eval instead of asm to ensure calculation scheduled
2504 before exception test.
2505 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2506 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2507
efb73488
AJ
25082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2509
2510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2511 computation is not scheduled after fetestexcept.
2512
29bcce7c
L
25132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2514
2515 [BZ #14117]
2516 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2517 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2518
73a68f94
AZ
25192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2520
2521 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2522 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2523
67b6df78
L
25242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2525
edf2933a 2526 [BZ #14117]
ebc64a18
L
2527 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2528 <bits/wordsize.h>.
2529 (__WCHAR_MIN): Support __WORDSIZE == 64.
2530 (__WCHAR_MAX): Likewise.
2531
edf2933a
L
2532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2533 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2534
57c6cf40
L
2535 [BZ #14183]
2536 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2537 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2538
67b6df78 2539 [BZ #14117]
8eb6281e
L
2540 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2541 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2542
aac639f4
L
2543 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2544 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2545
67b6df78
L
2546 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2547 Defined to 1 if __x86_64__ isn't defined.
2548 (_STAT_VER_LINUX_OLD): New.
2549 (st_atime): Remove duplicate.
2550 (st_mtime): Likewise.
2551 (st_ctime): Likewise.
2552
1c2cfe81
DM
25532012-05-31 David S. Miller <davem@davemloft.net>
2554
2555 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2556 entries.
2557
5be8418c
AS
25582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2559
e7725326
AS
2560 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2561 gen-libm-test.pl.
2562
5be8418c
AS
2563 [BZ #14132]
2564 * elf/dl-reloc.c: Include <_itoa.h>.
2565 (_dl_reloc_bad_type): Remove use of INTUSE.
2566 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2567 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2568 * stdio-common/psiginfo.c (psiginfo): Likewise.
2569 * stdio-common/psignal.c (psignal): Likewise.
2570 * string/strsignal.c (strsignal): Likewise.
2571 * include/signal.h (_sys_siglist): Declare hidden proto.
2572 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2573 INTVARDEF with libc_hidden_data_def.
2574 * stdio-common/itoa-udigits.c: Likewise.
2575 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2576 (_itoa_lower_digits_internal): Remove declaration.
2577 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2578 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2579 (_sys_sigabbrev_internal): Remove aliases.
2580 (_sys_siglist): Define hidden alias.
2581
507352f1
MT
25822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2583
2584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2585 bits/sysctl.h.
2586
42bbb1c3
L
25872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2588
2589 [BZ #14117]
6bd784b6
L
2590 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2591 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2592
8bca20f0
L
2593 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2594 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2595 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2596 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2597 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2598 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2599
f9e890a9
L
2600 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2601 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2602 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2603
471101a1
L
2604 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2605 with __addr.
2606 (insw): Likewise.
2607 (insl): Likewise.
2608 (outsb): Likewise.
2609 (outsw): Likewise.
2610 (outsl): Likewise.
2611
6451c862
L
2612 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2613 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2614 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2615
a254b8c9
L
2616 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2617 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2618 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2619 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2620 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2621 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2622
b8dfdd92
L
2623 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2624 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2625
578cd270
L
2626 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2627 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2628
de662f5f
L
2629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2631 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2632
25653439
L
2633 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2634 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2635 to ...
2636 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2637
6bad24a0
L
2638 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2639 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2640 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2641
42bbb1c3
L
2642 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2643 for x86-64.
2644 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2645
2d10d547
JM
26462012-05-31 Joseph Myers <joseph@codesourcery.com>
2647
2648 * math/math.h (M_El): Use two more decimal places.
2649 (M_LOG2El): Likewise.
2650 (M_LOG10El): Likewise.
2651 (M_LN2l): Likewise.
2652 (M_LN10l): Likewise.
2653 (M_PIl): Likewise.
2654 (M_PI_2l): Likewise.
2655 (M_PI_4l): Likewise.
2656 (M_1_PIl): Likewise.
2657 (M_2_PIl): Likewise.
2658 (M_2_SQRTPIl): Likewise.
2659 (M_SQRT2l): Likewise.
2660 (M_SQRT1_2l): Likewise.
2661
f230c29b
DM
26622012-05-31 David S. Miller <davem@davemloft.net>
2663
2664 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2665 values between float registers.
2666 * sysdeps/sparc/sparc64/memset.S: Likewise.
2667 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2668
fed806c3
MF
26692012-05-31 Mike Frysinger <vapier@gentoo.org>
2670
2671 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2672 -D_FORTIFY_SOURCE=1.
2673 (CPPFLAGS-tst-longjmp_chk.c): Define.
2674 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2675 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2676 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2677 CFLAGS-tst-wchar-h.c.
2678
30917259
MP
26792012-05-31 Marek Polacek <polacek@redhat.com>
2680
2681 [BZ #14132]
2682 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2683 __endmntent_internal): Remove declaration.
2684 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2685 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2686 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2687
1c58d5dc
DM
26882012-05-30 David S. Miller <davem@davemloft.net>
2689
2690 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2691 (___Q_simulate_exceptions): Use real FP ops rather than writing
2692 into the %fsr.
2693 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2694 Likewise.
2695
7dc00e0d
L
26962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2697
2698 [BZ #14117]
0bd53985
L
2699 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2700 * sysdeps/x86/bits/xtitypes.h: This.
2701
3a257e66
L
2702 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2703 * sysdeps/x86/bits/wordsize.h: This.
2704
62f62904
L
2705 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2706 * sysdeps/x86/bits/huge_vall.h: This.
2707
404fe9d9
L
2708 * sysdeps/i386/bits/select.h: Removed.
2709 * sysdeps/x86_64/bits/select.h: Renamed to ...
2710 * sysdeps/x86/bits/select.h: This.
2711
d48d0446
L
2712 * sysdeps/i386/bits/setjmp.h: Removed.
2713 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2714 * sysdeps/x86/bits/setjmp.h: This.
2715
7dc00e0d
L
2716 * sysdeps/i386/bits/mathdef.h: Removed.
2717 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2718 * sysdeps/x86/bits/mathdef.h: This.
2719
03277f8f
AS
27202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2721
2722 [BZ #14132]
2723 * include/sys/socket.h (__connect_internal)
2724 (__libc_sa_len_internal): Remove declaration.
2725 (__connect, __libc_sa_len): Declare hidden_proto.
2726 (SA_LEN): Remove use of INTUSE.
2727 * socket/connect.c: Add libc_hidden_def.
2728 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2729 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2730 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2731 alias.
2732 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2733 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2734 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2735 of adding _internal alias.
2736
13764867
L
27372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2738
2739 [BZ #14117]
6bd97696
L
2740 * sysdeps/i386/bits/link.h: Removed.
2741 * sysdeps/i386/bits/linkmap.h: Likewise.
2742 * sysdeps/x86_64/bits/link.h: Renamed to ...
2743 * sysdeps/x86/bits/link.h: This.
2744 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2745 * sysdeps/x86/bits/linkmap.h: This.
2746
f726f0bb
L
2747 * sysdeps/i386/bits/endian.h: Removed.
2748 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2749 * sysdeps/x86/bits/endian.h: This.
2750
13764867
L
2751 * sysdeps/i386/bits/byteswap.h: Removed.
2752 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2753 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2754 * sysdeps/x86/bits/byteswap.h: This.
2755 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2756 * sysdeps/x86/bits/byteswap-16.h: This.
2757 * sysdeps/i386/Implies: Add x86.
2758 * sysdeps/x86_64/Implies: Likewise.
2759
ae251b0b
DM
27602012-05-30 David S. Miller <davem@davemloft.net>
2761
2762 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2763 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2764 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2765 (FP_TRAPPING_EXCEPTIONS): Define.
2766 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2767 (FP_TRAPPING_EXCEPTIONS): Define.
2768 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2769 subnormals only when inexact has been signalled or underflow
2770 exceptions are enabled.
2771 (_FP_PACK_CANONICAL): Likewise.
2772
d5c90867
L
27732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2774
2775 [BZ #14183]
2776 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2777 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2778
63f1549e
RH
27792012-05-30 Richard Henderson <rth@twiddle.net>
2780
8d8f2279
RH
2781 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2782 with #ifndef NOT_IN_libc.
2783
63f1549e
RH
2784 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2785 marked to avoid plt entry.
2786
0ab0291b
L
27872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 [BZ #14112]
2790 * Makeconfig (default-abi): New macro.
2791 (abi-includes): Likewise.
2792 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2793 $(abi-$(default-abi)-lib-soname) for soname if defined.
2794 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2795 abi-variants.
2796 * Makefile (installed-stubs): Likewise.
2797 * include/stubs-biarch.h: Removed.
2798 * scripts/lib-names.awk: Only handle one library at a time.
2799 * scripts/soversions.awk: Remove WORDSIZE support.
2800 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2801 entries.
2802 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2803 Removed.
2804 (syscall-list-default-condition): Likewise.
2805 (syscall-list-default-condition): Likewise.
2806 (syscall-list-includes): Likewise.
2807 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2808 syscall-list-* with abi-*. Handle undefined abi-variants.
2809 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2810 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2811 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2812 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2813 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2814 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2815 Removed.
2816 (syscall-list-32-options): Likewise.
2817 (syscall-list-32-condition): Likewise.
2818 (syscall-list-64-options): Likewise.
2819 (syscall-list-64-condition): Likewise.
2820 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2821 macro.
2822 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2823 Renamed to ...
2824 (abi-*): This.
2825 (abi-64-ld-soname): New macro.
2826 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2827 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2828 Renamed to ...
2829 (abi-*): This.
2830 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2831 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2832
4da0431d
JM
28332012-05-30 Joseph Myers <joseph@codesourcery.com>
2834
3a85279c
JM
2835 * sysdeps/unix/sysv/linux/kernel-features.h
2836 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2837 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2838 include <kernel-features.h>.
2839 [!__NR_ftruncate64]: Remove conditional code.
2840 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2841 [__NR_ftruncate64]: Make code unconditional.
2842 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2843 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2844 include <kernel-features.h>.
2845 [!__NR_ftruncate64]: Remove conditional code.
2846 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2847 [__NR_ftruncate64]: Make code unconditional.
2848 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2850 include <kernel-features.h>.
2851 [!__NR_ftruncate64]: Remove conditional code.
2852 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2853 [__NR_ftruncate64]: Make code unconditional.
2854 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2856 include <kernel-features.h>.
2857 [!__NR_ftruncate64]: Remove conditional code.
2858 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2859 [__NR_ftruncate64]: Make code unconditional.
2860 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2861
4da0431d
JM
2862 * configure.in (libc_cv_fpie): Weaken to a compile test using
2863 LIBC_TRY_CC_OPTION.
2864 * configure: Regenerated.
2865
11ef492c
AK
28662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2867
2868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2872 Refreshed.
2873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2879 Refreshed.
2880
d66ef399
DM
28812012-05-27 David S. Miller <davem@davemloft.net>
2882
2883 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2884 (___Q_zero): New.
2885 (__Q_simulate_exceptions): Return void. Change to simulate
2886 exceptions by writing into the %fsr.
2887 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2888 (__Qp_handle_exceptions): Likewise.
2889 (numbers): Delete.
2890 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2891 __Qp_handle_exceptions.
2892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2893 __Qp_handle_exceptions.
2894 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2895 as unused and give dummy FP_RND_NEAREST initializer.
2896 (FP_INHIBIT_RESULTS): Define.
2897 (___Q_simulate_exceptions): Update declaration.
2898 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2899 formatting.
2900 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2901 as unused and give dummy FP_RND_NEAREST initializer.
2902 (__Qp_handle_exceptions): Update declaration.
2903 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2904 formatting.
2905
04fb54b5
TS
29062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2907
2908 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2909 the temporary FPU control word.
2910 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2911 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2912 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2913 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2914 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2915 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2916 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2917 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2918 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2919 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2920 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2921
3f99608f
KK
29222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2923
2924 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2925 fields.
2926
65a4de4e
CLT
29272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2928
2929 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2930 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2931 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2932 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2933 Likewise.
2934 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2935 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2936 Likewise.
2937
15749d40
UD
29382012-05-27 Ulrich Drepper <drepper@gmail.com>
2939
2940 * po/h.po: Update from translation team.
2941
25dbcb27
AS
29422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2943
3d3f8e55
AS
2944 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2945
25dbcb27
AS
2946 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2947 handling of denormals.
2948 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2949 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2950 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2951 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2952 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2955 Likewise.
2956
7ad47a80 29572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2958
2959 [BZ #14152]
2960 * math/libm-test.inc (fma_test): Don't always expect underflow
2961 exception.
2962
9c6ea9fa
SP
29632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2964
2965 [BZ #12416]
2966 * elf/tst-execstack.c: Include stackinfo.h.
2967 (do_test): Adjust test case to ensure that pthread_getattr_np
2968 behaviour remains the same after marking stack executable.
2969
a8239222
JM
29702012-05-25 Joseph Myers <joseph@codesourcery.com>
2971
2972 * sysdeps/unix/sysv/linux/kernel-features.h
2973 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2974 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2975 kernel-features.h.
2976 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2977 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2978 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2979 kernel-features.h.
2980 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2981 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2982
918b5606
L
29832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2984
2985 * configure.in: Define the default includes to being none.
2986 * configure: Regenerated.
2987
3a097cc7
RM
29882012-05-25 Roland McGrath <roland@hack.frob.com>
2989
8422c9a5
RM
2990 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2991 * sysdeps/x86_64/setjmp.S: Likewise.
2992 * sysdeps/i386/bsd-setjmp.S: Likewise.
2993 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2994 * sysdeps/i386/setjmp.S: Likewise.
2995 * sysdeps/i386/__longjmp.S: Likewise.
2996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2997 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2998
3a097cc7
RM
2999 * include/stap-probe.h: New file.
3000 * configure.in: Handle --enable-systemtap.
3001 * configure: Regenerated.
3002 * config.h.in (USE_STAP_PROBE): New #undef.
3003 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3004 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3005 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3006
21708942
JM
30072012-05-25 Joseph Myers <joseph@codesourcery.com>
3008
3009 [BZ #13717]
3010 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3011 to 2.4.0 where earlier.
3012 * sysdeps/unix/sysv/linux/configure: Regenerated.
3013 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3014 <kernel-features.h>.
3015 [__ASSUME_32BITUIDS]: Make code unconditional.
3016 [!__ASSUME_32BITUIDS]: Remove conditional code.
3017 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3018 <kernel-features.h>.
3019 [__ASSUME_32BITUIDS]: Make code unconditional.
3020 [!__ASSUME_32BITUIDS]: Remove conditional code.
3021 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3022 [__ASSUME_32BITUIDS]: Make code unconditional.
3023 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3024 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3025 <kernel-features.h>.
3026 [__ASSUME_32BITUIDS]: Make code unconditional.
3027 [!__ASSUME_32BITUIDS]: Remove conditional code.
3028 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3029 <kernel-features.h>.
3030 [__ASSUME_32BITUIDS]: Make code unconditional.
3031 [!__ASSUME_32BITUIDS]: Remove conditional code.
3032 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3033 <kernel-features.h>.
3034 [__ASSUME_32BITUIDS]: Make code unconditional.
3035 [!__ASSUME_32BITUIDS]: Remove conditional code.
3036 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3037 <kernel-features.h>.
3038 [__ASSUME_32BITUIDS]: Make code unconditional.
3039 [!__ASSUME_32BITUIDS]: Remove conditional code.
3040 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3041 <kernel-features.h>.
3042 [__ASSUME_32BITUIDS]: Make code unconditional.
3043 [!__ASSUME_32BITUIDS]: Remove conditional code.
3044 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3045 <kernel-features.h>.
3046 [__ASSUME_32BITUIDS]: Make code unconditional.
3047 [!__ASSUME_32BITUIDS]: Remove conditional code.
3048 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3049 <kernel-features.h>.
3050 [__ASSUME_32BITUIDS]: Make code unconditional.
3051 [!__ASSUME_32BITUIDS]: Remove conditional code.
3052 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3053 <kernel-features.h>.
3054 [__ASSUME_32BITUIDS]: Make code unconditional.
3055 [!__ASSUME_32BITUIDS]: Remove conditional code.
3056 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3057 <kernel-features.h>.
3058 [__ASSUME_32BITUIDS]: Make code unconditional.
3059 [!__ASSUME_32BITUIDS]: Remove conditional code.
3060 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3061 <kernel-features.h>.
3062 [__ASSUME_32BITUIDS]: Make code unconditional.
3063 [!__ASSUME_32BITUIDS]: Remove conditional code.
3064 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3065 <kernel-features.h>.
3066 [__NR_setresgid] (__setresgid): Do not declare.
3067 [__ASSUME_32BITUIDS]: Make code unconditional.
3068 [!__ASSUME_32BITUIDS]: Remove conditional code.
3069 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3070 <kernel-features.h>.
3071 [__NR_setresuid] (__setresuid): Do not declare.
3072 [__ASSUME_32BITUIDS]: Make code unconditional.
3073 [!__ASSUME_32BITUIDS]: Remove conditional code.
3074 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3075 <kernel-features.h>.
3076 [__ASSUME_32BITUIDS]: Make code unconditional.
3077 [!__ASSUME_32BITUIDS]: Remove conditional code.
3078 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3079 <kernel-features.h>.
3080 [__ASSUME_32BITUIDS]: Make code unconditional.
3081 [!__ASSUME_32BITUIDS]: Remove conditional code.
3082 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3083 <kernel-features.h>.
3084 [__ASSUME_32BITUIDS]: Make code unconditional.
3085 [!__ASSUME_32BITUIDS]: Remove conditional code.
3086 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3087 <kernel-features.h>.
3088 [__ASSUME_32BITUIDS]: Make code unconditional.
3089 [!__ASSUME_32BITUIDS]: Remove conditional code.
3090 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3091 <kernel-features.h>.
3092 [__ASSUME_32BITUIDS]: Make code unconditional.
3093 [!__ASSUME_32BITUIDS]: Remove conditional code.
3094 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3095 <kernel-features.h>.
3096 [__ASSUME_32BITUIDS]: Make code unconditional.
3097 [!__ASSUME_32BITUIDS]: Remove conditional code.
3098 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3099 <kernel-features.h>.
3100 [__ASSUME_32BITUIDS]: Make code unconditional.
3101 [!__ASSUME_32BITUIDS]: Remove conditional code.
3102 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3103 <kernel-features.h>.
3104 [__ASSUME_32BITUIDS]: Make code unconditional.
3105 [!__ASSUME_32BITUIDS]: Remove conditional code.
3106 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3107 <kernel-features.h>.
3108 [__ASSUME_32BITUIDS]: Make code unconditional.
3109 [!__ASSUME_32BITUIDS]: Remove conditional code.
3110 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3111 <kernel-features.h>.
3112 [__ASSUME_32BITUIDS]: Make code unconditional.
3113 [!__ASSUME_32BITUIDS]: Remove conditional code.
3114 * sysdeps/unix/sysv/linux/kernel-features.h
3115 (__ASSUME_SETRESUID_SYSCALL): Remove.
3116 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3117 (__ASSUME_32BITUIDS): Likewise.
3118 (__ASSUME_LDT_WORKS): Likewise.
3119 (__ASSUME_O_DIRECTORY): Likewise.
3120 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3121 architecture but not kernel version.
3122 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3123 (__ASSUME_MMAP2_SYSCALL): Likewise.
3124 (__ASSUME_STAT64_SYSCALL): Likewise.
3125 (__ASSUME_IPC64): Likewise.
3126 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3127 <kernel-features.h>.
3128 [__ASSUME_32BITUIDS]: Make code unconditional.
3129 [!__ASSUME_32BITUIDS]: Remove conditional code.
3130 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3131 <kernel-features.h>.
3132 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3133 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3134 132096]: Remove conditional code.
3135 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3136 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3137 <kernel-features.h>.
3138 [__ASSUME_32BITUIDS]: Make code unconditional.
3139 [!__ASSUME_32BITUIDS]: Remove conditional code.
3140 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3141 <kernel-features.h>.
3142 [__ASSUME_32BITUIDS]: Make code unconditional.
3143 [!__ASSUME_32BITUIDS]: Remove conditional code.
3144 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3145 <kernel-features.h>.
3146 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3147 unconditional.
3148 (__setresgid): Do not declare.
3149 [__ASSUME_32BITUIDS]: Make code unconditional.
3150 [!__ASSUME_32BITUIDS]: Remove conditional code.
3151 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3152 <kernel-features.h>.
3153 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3154 unconditional.
3155 (__setresuid): Do not declare.
3156 [__ASSUME_32BITUIDS]: Make code unconditional.
3157 [!__ASSUME_32BITUIDS]: Remove conditional code.
3158 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
3163 <kernel-features.h>.
3164 [__ASSUME_32BITUIDS]: Make code unconditional.
3165 [!__ASSUME_32BITUIDS]: Remove conditional code.
3166
a386f1cc
RH
31672012-05-25 Richard Henderson <rth@twiddle.net>
3168
3169 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3170 dl_hwcap to ifunc resolver.
3171 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3172 elf_ifunc_invoke.
3173 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3174 dl_hwcap to ifunc resolver.
3175 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3176
b6550497
JM
31772012-05-24 Joseph Myers <joseph@codesourcery.com>
3178
3179 [BZ #14153]
3180 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3181 for |x| <= 2**-26, not 2**-57.
3182 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3183 exception.
3184
b0bc23a1
JL
31852012-05-24 Jeff Law <law@redhat.com>
3186
3187 * stdio-common/Makefile (tests): Add bug25.
3188 * stdio-common/bug25.c: New test.
3189
347c92e9
L
31902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3191
3192 [BZ #13576]
3193 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3194 multiple of MALLOC_ALIGNMENT in size.
3195 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3196
6bcc8b3f
JM
31972012-05-24 Joseph Myers <joseph@codesourcery.com>
3198
3199 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3200 Require >= 256.
3201 (FILENAME_MAX): Use macro-int-constant.
3202 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3203 (_IOFBF): Use macro-int-constant.
3204 (_IOLBF): Likewise.
3205 (_IONBF): Likewise.
3206 (SEEK_CUR): Likewise.
3207 (SEEK_END): Likewise.
3208 (SEEK_SET): Likewise.
3209 (TMP_MAX): Likewise.
3210 (EOF): Use macro-int-constant. Require < 0.
3211 (NULL): Use macro-constant. Require == 0.
3212 (stdin): Require type to be FILE *.
3213 (stdout): Likewise.
3214 (stderr): Likewise.
3215 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3216 macro-int-constant.
3217 (EXIT_SUCCESS): Likewise.
3218 (NULL): Use macro-constant. Require == 0.
3219 (RAND_MAX): Use macro-int-constant.
3220 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3221 [C99-based standards] (strtof): Require function.
3222 [C99-based standards] (strtold): Likewise.
3223 [C99-based standards] (strtoll): Likewise.
3224 [C99-based standards] (strtoull): Likewise.
3225 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3226 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3227 [ISO || ISO99 || ISO11] (math.h): Likewise.
3228 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3229 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3230 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3231
d18ea0c5
AS
32322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3233
3234 [BZ #14132]
56d25bb8
AS
3235 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3236 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3237 * intl/dgettext.c (DCGETTEXT): Likewise.
3238 * intl/gettext.c (DCGETTEXT): Likewise.
3239 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3240 * posix/regex_internal.h (gettext): Likewise.
3241 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3242 Remove declaration.
3243 * include/argz.h (__argz_count_internal)
3244 (__argz_stringify_internal): Remove declaration.
3245 (__argz_count, __argz_stringify): Declare hidden proto.
3246 * intl/dcgettext.c: Remove use of INTDEF.
3247 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3248 * string/argz-stringify.c: Likewise.
3249 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3250 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3251 Declare hidden proto.
d18ea0c5
AS
3252 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3253 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3254 Declare hidden proto.
3255 * include/stdio.h (__asprintf_internal): Don't declare.
3256 (__asprintf): Don't define as macro. Declare hidden proto.
3257 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3258 (__fsetlocking): Declare hidden proto.
3259 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3260 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3261 hidden proto.
3262 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3263 (_IO_setlinebuf): Remove use of INTUSE.
3264 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3265 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3266 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3267 Remove declaration.
3268 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3269 (_IO_do_flush): Remove use of INTUSE.
3270 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3271 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3272 (_IO_adjust_column, _IO_least_wmarker)
3273 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3274 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3275 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3276 (_IO_default_doallocate, _IO_wdefault_doallocate)
3277 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3278 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3279 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3280 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3281 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3282 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3283 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3284 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3285 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3286 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3287 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3288 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3289 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3290 proto.
3291 (_IO_flush_all_internal, _IO_adjust_column_internal)
3292 (_IO_default_uflow_internal, _IO_default_finish_internal)
3293 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3294 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3295 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3296 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3297 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3298 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3299 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3300 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3301 (_IO_file_close_internal, _IO_file_close_it_internal)
3302 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3303 (_IO_file_init_internal, _IO_file_attach_internal)
3304 (_IO_file_fopen_internal, _IO_file_read_internal)
3305 (_IO_file_sync_internal, _IO_file_seek_internal)
3306 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3307 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3308 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3309 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3310 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3311 (_IO_list_all_internal, _IO_link_in_internal)
3312 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3313 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3314 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3315 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3316 (_IO_do_write_internal, _IO_padn_internal)
3317 (_IO_getline_info_internal, _IO_getline_internal)
3318 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3319 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3320 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3321 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3322 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3323 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3324 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3325 with libc_hidden_ver, remove use of INTUSE.
3326 * libio/genops.c: Likewise.
3327 * libio/freopen.c: Likewise.
3328 * libio/freopen64.c: Likewise.
3329 * libio/iofclose.c: Likewise.
3330 * libio/iofdopen.c: Likewise.
3331 * libio/iofflush.c: Likewise.
3332 * libio/iofflush_u.c: Likewise.
3333 * libio/iofgets.c: Likewise.
3334 * libio/iofgets_u.c: Likewise.
3335 * libio/iofopen.c: Likewise.
3336 * libio/iofopncook.c: Likewise.
3337 * libio/iofread.c: Likewise.
3338 * libio/iofread_u.c: Likewise.
3339 * libio/ioftell.c: Likewise.
3340 * libio/iofwrite.c: Likewise.
3341 * libio/iogetline.c: Likewise.
3342 * libio/iogets.c: Likewise.
3343 * libio/iogetwline.c: Likewise.
3344 * libio/iopadn.c: Likewise.
3345 * libio/iopopen.c: Likewise.
3346 * libio/ioseekoff.c: Likewise.
3347 * libio/ioseekpos.c: Likewise.
3348 * libio/iosetbuffer.c: Likewise.
3349 * libio/iosetvbuf.c: Likewise.
3350 * libio/ioungetc.c: Likewise.
3351 * libio/ioungetwc.c: Likewise.
3352 * libio/iovdprintf.c: Likewise.
3353 * libio/iovsprintf.c: Likewise.
3354 * libio/iovsscanf.c: Likewise.
3355 * libio/memstream.c: Likewise.
3356 * libio/obprintf.c: Likewise.
3357 * libio/oldfileops.c: Likewise.
3358 * libio/oldiofclose.c: Likewise.
3359 * libio/oldiofdopen.c: Likewise.
3360 * libio/oldiofopen.c: Likewise.
3361 * libio/oldiopopen.c: Likewise.
3362 * libio/oldstdfiles.c: Likewise.
3363 * libio/putc.c: Likewise.
3364 * libio/setbuf.c: Likewise.
3365 * libio/setlinebuf.c: Likewise.
3366 * libio/stdfiles.c: Likewise.
3367 * libio/strops.c: Likewise.
3368 * libio/vasprintf.c: Likewise.
3369 * libio/vscanf.c: Likewise.
3370 * libio/vsnprintf.c: Likewise.
3371 * libio/vswprintf.c: Likewise.
3372 * libio/wfiledoalloc.c: Likewise.
3373 * libio/wfileops.c: Likewise.
3374 * libio/wgenops.c: Likewise.
3375 * libio/wmemstream.c: Likewise.
3376 * libio/wstrops.c: Likewise.
3377 * libio/__fpurge.c: Likewise.
3378 * libio/__fsetlocking.c: Likewise.
3379 * assert/assert.c: Likewise.
3380 * debug/fgets_chk.c: Likewise.
3381 * debug/fgets_u_chk.c: Likewise.
3382 * debug/fread_chk.c: Likewise.
3383 * debug/fread_u_chk.c: Likewise.
3384 * debug/gets_chk.c: Likewise.
3385 * debug/obprintf_chk.c: Likewise.
3386 * debug/vasprintf_chk.c: Likewise.
3387 * debug/vdprintf_chk.c: Likewise.
3388 * debug/vsnprintf_chk.c: Likewise.
3389 * debug/vsprintf_chk.c: Likewise.
3390 * malloc/mtrace.c: Likewise.
3391 * misc/error.c: Likewise.
3392 * misc/syslog.c: Likewise.
3393 * stdio-common/asprintf.c: Likewise.
3394 * stdio-common/fxprintf.c: Likewise.
3395 * stdio-common/getw.c: Likewise.
3396 * stdio-common/isoc99_fscanf.c: Likewise.
3397 * stdio-common/isoc99_scanf.c: Likewise.
3398 * stdio-common/isoc99_vfscanf.c: Likewise.
3399 * stdio-common/isoc99_vscanf.c: Likewise.
3400 * stdio-common/isoc99_vsscanf.c: Likewise.
3401 * stdio-common/printf-prs.c: Likewise.
3402 * stdio-common/printf_fp.c: Likewise.
3403 * stdio-common/printf_fphex.c: Likewise.
3404 * stdio-common/printf_size.c: Likewise.
3405 * stdio-common/putw.c: Likewise.
3406 * stdio-common/scanf.c: Likewise.
3407 * stdio-common/sprintf.c: Likewise.
3408 * stdio-common/tmpfile.c: Likewise.
3409 * stdio-common/vfprintf.c: Likewise.
3410 * stdio-common/vfscanf.c: Likewise.
3411 * stdlib/strfmon_l.c: Likewise.
3412 * sunrpc/openchild.c: Likewise.
3413 * sunrpc/xdr_stdio.c: Likewise.
3414 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3415 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3416
d6c33fda
RM
34172012-05-24 Roland McGrath <roland@hack.frob.com>
3418
c1487492
RM
3419 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3420
3421 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3422 in the third column, to generate for the shared library an IFUNC
3423 that uses _dl_vdso_vsym.
3424 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3425 * Makeconfig (object-suffixes-noshared): New variable.
3426
3427 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3428 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3429 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3430 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3431
d6c33fda
RM
3432 [BZ #14132]
3433 * include/sys/time.h (__gettimeofday): Remove macro.
3434 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3435 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3436 Remove INTDEF.
3437 (__gettimeofday): Add libc_hidden_def.
3438 (gettimeofday): Add libc_hidden_weak.
3439 * sysdeps/mach/gettimeofday.c: Likewise.
3440 * sysdeps/posix/gettimeofday.c: Likewise.
3441 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3442 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3444 (__gettimeofday_internal): Remove strong_alias.
3445 (__gettimeofday): Add libc_hidden_def.
3446 (gettimeofday): Add libc_hidden_weak.
3447 * sysdeps/unix/syscalls.list (gettimeofday):
3448 Remove __gettimeofday_internal alias.
3449
b5a2bbe6
L
34502012-05-24 Daniel Jacobowitz <drow@false.org>
3451 H.J. Lu <hongjiu.lu@intel.com>
3452
3453 [BZ #12495]
3454 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3455 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3456 (largebin_index_32_big): New.
3457 (largebin_index): Use it for 16-byte alignment.
3458 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3459 correction with front_misalign.
3460
cfba4fda
L
34612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3462
7f907421
L
3463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3465 Likewise.
3466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3467 Likewise.
3468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3469 Likewise.
3470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3471 Likewise.
3472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3473 Likewise.
3474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3475 Likewise.
3476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3477 Likewise.
3478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3479 Likewise.
3480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3481 Likewise.
3482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3483 Likewise.
3484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3485 Likewise.
3486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3487 Likewise.
3488
cfba4fda
L
3489 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3490 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3491
80bad0cc
JM
34922012-05-24 Joseph Myers <joseph@codesourcery.com>
3493
7a25eb06
JM
3494 [BZ #10846]
3495 [BZ #14036]
3496 * math/libm-test.inc (exp_test): Add test from bug 14036.
3497 (pow_test): Add test from bug 10846.
3498
795405f9
JM
3499 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3500 and other flags.
3501 (special_function): Do not include flags in test name.
3502 (parse_args): Likewise.
3503 * sysdeps/i386/fpu/libm-test-ulps: Update.
3504 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3505 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3506 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3508
80bad0cc
JM
3509 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3510 exceptions.
3511 * math/libm-test.inc ("Philosophy"): Update comment about
3512 exception testing.
3513 (UNDERFLOW_EXCEPTION): New macro.
3514 (UNDERFLOW_EXCEPTION_OK): Likewise.
3515 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3516 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3517 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3518 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3519 (INVALID_EXCEPTION_OK): Update value.
3520 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3521 (OVERFLOW_EXCEPTION_OK): Likewise.
3522 (IGNORE_ZERO_INF_SIGN): Likewise.
3523 (test_exceptions): Handle underflow exceptions.
3524 (acos_test): Update for underflow exception expectations.
3525 (cexp_test): Likewise.
3526 (clog_test): Likewise.
3527 (clog10_test): Likewise.
3528 (csqrt_test): Likewise.
3529 (ctan_test): Likewise.
3530 (ctanh_test): Likewise.
3531 (exp_test): Likewise.
3532 (exp10_test): Likewise.
3533 (exp2_test): Likewise.
3534 (expm1_test): Likewise.
3535 (fma_test): Likewise.
3536 (j0_test): Likewise.
3537 (jn_test): Likewise.
3538 (nexttoward_test): Likewise.
3539 (pow_test): Likewise.
3540 (scalbn_test): Likewise.
3541 (scalbln_test): Likewise.
3542 (tan_test): Likewise.
3543 (y1_test): Likewise.
3544 * sysdeps/i386/fpu/libm-test-ulps: Update.
3545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3546
9e0e3d0b
DM
35472012-05-23 David S. Miller <davem@davemloft.net>
3548
3549 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3550 (__libc_sigaction): Remove unused local variables.
3551
ccd0a08f
L
35522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3553
3554 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3555
62bdf9a6
PE
35562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3557
f8591f80
PE
3558 mktime: avoid signed integer overflow
3559 * time/mktime.c (__mktime_internal): Do not mishandle the case
3560 where diff == INT_MIN.
3561
94c7d826
PE
3562 mktime: simplify computation of average
3563 * time/mktime.c (ranged_convert): Use new time_t_avg function
3564 instead of rolling our own (probably-slower) code.
3565
ce73d683
PE
3566 mktime: do not assume signed right shift propagates sign bit
3567 * time/mktime.c (isdst_differ): New static function.
3568 (__mktime_internal): No need to normalize tm_isdst now.
3569 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3570 tm_isdst values.
3571
72a22e59
PE
3572 mktime: merge another wrapv change from gnulib
3573 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3574 from some compilers.
3575
68605433
PE
3576 mktime: remove incorrect attempt at unusual arithmetics
3577 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3578 The code didn't really work on such machines anyway.
3579 (TYPE_MINIMUM): Assume two's complement.
3580 (twos_complement_arithmetic): Verify that long_int and time_t
3581 are two's complement (or unsigned, in the latter case).
3582
03cf7fe3
PE
3583 mktime: check signed shifts on long_int and time_t, too
3584 * time/mktime.c (SHR): Check that shifts work as desired
3585 on the types long_int and time_t too, as SHR is used on
3586 such types.
3587
f04dfbc2
PE
3588 mktime: do not assume 'long' is wide enough
3589 * time/mktime.c (verify): Move decl up.
3590 (long_int): New type.
3591 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3592 to remove assumption in the code that 'long' is wide enough to
3593 store year values. This assumption is not true on x32 and on
3594 some non-glibc platforms.
3595
62bdf9a6
PE
3596 mktime: merge wrapv change from gnulib
3597 * time/mktime.c (WRAPV): New macro.
3598 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3599 (guess_time_tm, __mktime_internal): Do not assume that signed
3600 integer overflow wraps around; modern compilers generate code
3601 where this assumption is no longer valid.
3602
5e292e4f
L
36032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3604
3605 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3606 Replace "jmp L(pseudo_end)" with "ret".
3607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3608 Likewise.
3609
8caf8c87
AJ
36102012-05-23 Andreas Jaeger <aj@suse.de>
3611
3612 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3613 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3614
1a09dc56
AJ
36152012-05-23 Andreas Jaeger <aj@suse.de>
3616 Maximilian Attems <max@stro.at>
3617
3618 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3619 New macros.
3620
1c87aba0
L
36212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3622
3623 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3624 code so that pseudo_end is just ret and the stack pointer is
3625 correct also for static library in error case.
3626
40e45bd5
JM
36272012-05-23 Joseph Myers <joseph@codesourcery.com>
3628
c2670533
JM
3629 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3630 move to syscalls.list.
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3635
40e45bd5
JM
3636 * manual/install.texi (Running make install): Do not mention Linux
3637 kernel version for which pt_chown is not needed.
3638 (Linux): Do not mention problems with nscd with 2.0 kernels.
3639 * INSTALL: Regenerated.
3640
be08eda5
AJ
36412012-05-23 Andreas Jaeger <aj@suse.de>
3642
3643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3644 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3645 macro.
3646 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3647 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3648 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3649 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3650 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3651 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3652 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3653 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3654 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3655 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3656 * sysdeps/unix/sysv/linux/bits/in.h
3657 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3658
a6a056bb
RM
36592012-05-22 Roland McGrath <roland@hack.frob.com>
3660
3661 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3662 (PREPARE_VERSION): Just use assert instead, it will be elided
3663 under [NDEBUG] anyway.
3664
c9009328
L
36652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3666
3667 * sysdeps/unix/sysv/linux/Makefile: Include
3668 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3669 (sysdep_routines): Remove sysctl.
c9009328
L
3670 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3671 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3672 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3673 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3674 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3675
73338355
AJ
36762012-05-22 Andreas Jaeger <aj@suse.de>
3677
3678 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3679 that pseudo_end is just ret and the stack pointer is correct also
3680 for static library in error case.
3681
d44638b0
PP
36822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3683
3684 [BZ #14122]
3685 * nss/nsswitch.c (defconfig_entries): New variable.
3686 (__nss_database_lookup): Don't leak defconfig entries.
3687 (nss_parse_service_list): Don't leak on error paths.
3688 (free_database_entries): New function.
3689 (free_defconfig): New function.
3690 (free_mem): Move common code to free_database_entries.
3691
31a39bd8
L
36922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3693
da0331a8
L
3694 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3695 Add arch_prctl.
3696 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3697
31a39bd8
L
3698 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3699 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3701 New macro.
3702 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3703 (INTERNAL_SYSCALL_TYPES): Likewise.
3704 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3705 (LOAD_REGS_TYPES_[1-6]): Likewise.
3706 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3707 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3708
45470df3
AZ
37092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3710
3711 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3712 copysignl for GLIBC_2_0.
3713 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3714 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3715 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3716 logbl for GLIBC_2_0.
3717 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3718 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3719
98a61bcb
L
37202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3721
a4f6e481
L
3722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3723 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3724
f63d5db6
L
3725 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3726 Use "neg %eax".
3727
98a61bcb
L
3728 * time/mktime.c: Update copyright years.
3729
95770f14
PE
37302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3731
6226efbd
PE
3732 mktime: merge comment-quoting-style change from gnulib
3733 * time/mktime.c: Quote 'like this' in comments.
3734 The GNU coding standards suggest that we no longer quote `like this',
3735 as "`" and "'" are typically rendered asymmetrically nowadays.
3736 The typical gnulib style is to quote 'like this' when quoting
3737 code, and "like this" when quoting English.
3738
b99e4f78
PE
3739 * time/mktime.c (compile-command): Add "-I.".
3740
643e01e6
PE
3741 mktime: merge mktime-internal.h change from gnulib
3742 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3743
2554247d
PE
3744 mktime: merge time_r change from gnulib
3745 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3746
826dd0ab
PE
3747 mktime: merge DEBUG change from gnulib
3748 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3749 case system <time.h> has a #define.
3750
bd83aabe
PE
3751 mktime: merge <sys/types.h> change from gnulib
3752 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3753 since <time.t> is now guaranteed to define time_t.
3754
95770f14
PE
3755 mktime: merge HAVE_CONFIG_H change from gnulib
3756 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3757
5e1a27a9
L
37582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3759
0e44a77e
L
3760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3761 Use "neg %eax".
3762
5e1a27a9
L
3763 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3764 __rlim_t cast.
3765 (struct rusage): Use anonymous union to pad each field to
3766 __syscall_slong_t.
3767
46259bec
DM
37682012-05-21 David S. Miller <davem@davemloft.net>
3769
3770 * Makefules (o-iterator): Remove .s cases.
3771 (compile-command.s): Delete.
3772 (COMPILE.s): Delete.
3773 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3774
59f0c22e
JM
37752012-05-21 Joseph Myers <joseph@codesourcery.com>
3776
3777 * configure.in (libc_cv_predef_stack_protector): Only consider
3778 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3779 * configure: Regenerated.
3780
20c07380
L
37812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3782
bbb3154b
L
3783 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3784 New macro. Use R*LP on int and pointer.
3785 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3786 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3787 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3788 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3789
20c07380
L
3790 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3791 [__WORDSIZE_TIME64_COMPAT32] instead of
3792 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3793 (struct utmp): Likewise.
3794 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3795 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3796 Renamed to ...
3797 (__WORDSIZE_TIME64_COMPAT32): This.
3798 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3799 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3800 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3801 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3802 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3803 (__WORDSIZE_TIME64_COMPAT32): New macro.
3804
d8d1017e
AJ
38052012-05-21 Andreas Jaeger <aj@suse.de>
3806
3807 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3808 only if [SHARED]. Add prototype for __wcschr_ia32.
3809
6c7fb145
RM
38102012-05-21 Roland McGrath <roland@hack.frob.com>
3811
3812 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3813 of %rbp unmolested in the jmp_buf while mangling the low bits.
3814 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3815 unmolested high bits of %rbp while demangling the low bits.
3816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3817
66274218
AJ
38182012-05-21 Andreas Jaeger <aj@suse.de>
3819
07c58f8f
AJ
3820 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3821 * sunrpc/svc_simple.c: Use it for registerrpc.
3822 * sunrpc/xcrypt.c: Use it for passwd2des.
3823
66274218
AJ
3824 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3825
61f65140
L
38262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3827
3828 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3829 Don't define if [__SYSCALL_WORDSIZE != 32].
3830 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3831 New macro.
3832
5fefb436
AJ
38332012-05-21 Bruno Haible <bruno@clisp.org>
3834 Andreas Jaeger <aj@suse.de>
3835
3836 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3837 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3838 inptr and inend for must_buffer_ch.
3839 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3840 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3841 * stdio-common/Makefile (tests): Remove bug15.
3842 (bug15-ENV): Remove macro.
3843 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3844 anymore.
3845
d8e272ab
AJ
38462012-05-19 Andreas Jaeger <aj@suse.de>
3847 Roland McGrath <roland@hack.frob.com>
3848
3849 * manual/contrib.texi: Completely rewritten. It contains now an
3850 alphabetical list of contributors and their contributions.
3851
4a56a162
RH
38522012-05-21 Richard Henderson <rth@twiddle.net>
3853
3854 * misc/getauxval.c (__getauxval): Use unsigned long int.
3855 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3856 (getauxval): Use unsigned long int.
3857
d024d23c
L
38582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3859
3860 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3861
cbc00a03
RM
38622012-05-21 Roland McGrath <roland@hack.frob.com>
3863
3864 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3865 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3866 __alignof__ (long double).
3867
478143fa
AZ
38682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3869
3870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3871
c7683a6d
RH
38722012-05-20 Richard Henderson <rth@twiddle.net>
3873
3874 * misc/getauxval.c: New file.
3875 * misc/sys/auxv.h: New file.
3876 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3877 (routines): Add getauxval.
3878 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3879 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3880 * elf/dl-sysdep.c (_dl_auxv): Remove.
3881 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3882 * elf/dl-support.c (_dl_auxv): New variable.
3883 (_dl_aux_init): Initialize it.
3884 * manual/startup.texi (Auxiliary Vector): New node.
3885 * sysdeps/generic/bits/hwcap.h: New file.
3886 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3887 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3888 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3889 * sysdeps/sparc/sysdep.h: ... here. Include it.
3890 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3891 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3893 Update.
c7683a6d
RH
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3897 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3902
a6f1845d
AZ
39032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3904
3905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3906
cbcbe830
DM
39072012-05-19 David S. Miller <davem@davemloft.net>
3908
3909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3910
e0b16cc2
JM
39112012-05-19 Joseph Myers <joseph@codesourcery.com>
3912
3913 [BZ #14123]
3914 * math/s_ccosh.c: Include <float.h>
3915 (__ccosh): Avoid internal overflow calculating sinh and cosh
3916 values before multiplying by sin and cos values.
3917 * math/s_ccoshf.c: Likewise.
3918 * math/s_ccoshl.c: Likewise.
3919 * math/s_csin.c: Likewise.
3920 * math/s_csinf.c: Likewise.
3921 * math/s_csinl.c: Likewise.
3922 * math/s_csinh.c: Likewise.
3923 * math/s_csinhf.c: Likewise.
3924 * math/s_csinhl.c: Likewise.
3925 * math/libm-test.inc (ccos_test): Add more tests.
3926 (ccosh_test): Likewise.
3927 (csin_test): Likewise.
3928 (csinh_test): Likewise.
3929 * sysdeps/i386/fpu/libm-test-ulps: Update.
3930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3931
6ad13e08
L
39322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3933
f66f0ce8
L
3934 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3935 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3936
6ad13e08
L
3937 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3938
b1d072a7
JM
39392012-05-19 Joseph Myers <joseph@codesourcery.com>
3940
3941 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3942 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3943 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3944 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3945 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3946 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3947 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3948 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3949 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3950 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3951 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3952 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3953 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3954 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3955 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3956 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3957 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3958 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3959 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3960 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3961 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3962 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3963 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3964 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3965 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3966 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3967 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3968 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3969 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3970 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3971 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3972
9eae47cb
AJ
39732012-05-18 Andreas Jaeger <aj@suse.de>
3974
3975 * csu/.gitignore: Delete.
3976
bb07f69f
L
39772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3978
3979 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3980 (timex): Use __syscall_slong_t.
3981
e6bdb741
AJ
39822012-05-18 Andreas Jaeger <aj@suse.de>
3983 Carlos O'Donell <carlos_odonell@mentor.com>
3984
3985 * manual/install.texi (Configuring and compiling): Update
3986 description about files modified in the source directory.
d6c33fda 3987 * INSTALL: Regenerated.
e6bdb741 3988
1b74487e
L
39892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3990
3991 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3992 value. Use "or" to set return value to -1.
3993 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3994 negate return value.
3995
a88b64b9
TMQMF
39962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3997
3998 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3999 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4000 failure if the compiler has Graphite support disabled.
4001 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4002 Likewise.
4003 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4004 CFLAGS-memmove.c): Likewise.
4005 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4006 Likewise.
4007
3707636e
L
40082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4009
610b8622
L
4010 * sysdeps/x86_64/x32/_itoa.h: New file.
4011
7cd195df
L
4012 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4013 getdents system call only if kernel and user dirents have the
4014 same d_ino and d_off.
4015
94b07d20
L
4016 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4017 LLONG_MAX != LONG_MAX.
4018 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4019 (_fitoa_word): Likewise.
4020
18298070
L
4021 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4022 years.
4023 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4024 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4025 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4026
553c7ea4
L
4027 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4028 include <bits/wordsize.h>. Check __x86_64__ instead of
4029 __WORDSIZE.
4030 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4031 if __x86_64__ is defined. Use anonymous union on fpstate.
4032
3707636e
L
4033 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4034 anonymous union.
4035
b53ef01a
AS
40362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4037
37fb1dc0
AS
4038 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4039 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4040 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4041 Refer to _rtld_local_ro instead of _rtld_global_ro.
4042 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4043 Likewise.
4044 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4045 Likewise.
4046 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4047 Likewise.
4048 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4049 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4050 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4051
b53ef01a
AS
4052 * sysdeps/powerpc/powerpc32/dl-machine.c
4053 (__elf_machine_runtime_setup) [PROF]: Don't reference
4054 _dl_prof_resolve.
4055
7a185db2
AJ
40562012-05-18 Andreas Jaeger <aj@suse.de>
4057
4058 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4059 function only available for GCCs before 3.4 since GCC 3.4
4060 introduced a builtin.
4061 (lrint): Likewise.
4062 (llrintf): Likewise.
4063 (llrint): Likewise.
4064 (fmaxf): Likewise.
4065 (fmax): Likewise.
4066 (fminf): Likewise.
4067 (fmin): Likewise.
4068 (rint): Likewise.
4069 (rintf): Likewise.
4070 (nearbyint): Likewise.
4071 (nearbyintf): Likewise.
4072 (ceil): Likewise.
4073 (ceilf): Likewise.
4074 (floor): Likewise.
4075 (floorf): Likewise.
4076
3e5aef87
L
40772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4078
428bd707
L
4079 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4080 on both fields and cast pointer to __syscall_ulong_t.
4081
3e5aef87
L
4082 * bits/types.h (__fsword_t): New type.
4083 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4084 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4086 (__FSWORD_T_TYPE): Likewise.
4087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4088 (__FSWORD_T_TYPE): Likewise.
4089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4090 (__FSWORD_T_TYPE): Likewise.
4091 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4092 (__FSWORD_T_TYPE): Likewise.
4093 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4094 __SWORD_TYPE with __fsword_t.
4095 (statfs64): Likewise.
4096
1ba7c3dc
DM
40972012-05-17 David S. Miller <davem@davemloft.net>
4098
4099 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4100
59910343
AJ
41012012-05-17 Andreas Jaeger <aj@suse.de>
4102
4103 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4104 warning.
4105
2e4c1e9e
L
41062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4107
4108 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4109
de7f5ce7
AJ
41102012-05-17 Andreas Jaeger <aj@suse.de>
4111
4112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4113 when it is used.
4114
286abc3d
CM
41152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4116
4117 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4118
477cc68e
L
41192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4122 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4123
1a0994f5
CD
41242012-05-17 Andreas Jaeger <aj@suse.de>
4125 Carlos O'Donell <carlos_odonell@mentor.com>
4126
4127 [BZ #14059]
4128 * sysdeps/x86_64/multiarch/init-arch.h
4129 (bit_YMM_Usable): Rename to...
4130 (bit_AVX_Usable): ... this.
4131 (bit_FMA4_Usable): New macro.
4132 (bit_XMM_state): New macro.
4133 (bit_YMM_state): New macro.
4134 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4135 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4136 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4137 (CPUID_OSXSAVE): New macro.
4138 (CPUID_AVX): New macro.
4139 (CPUID_FMA4): New macro.
4140 (index_YMM_Usable): Rename to...
4141 (index_AVX_Usable): ... this.
4142 (HAS_AVX): Use HAS_ARCH_FEATURE.
4143 (HAS_FMA4): Likewise.
4144 (HAS_YMM_USABLE): Remove.
4145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4146 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4147 are present.
4148 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4149 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4150 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4151 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4152 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4153
0af797de
CM
41542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4155
4156 * math/libm-test.c: Support platforms without multiple rounding modes.
4157 * math/bug-nextafter.c: Support platforms without FP exceptions.
4158 * math/bug-nexttoward.c: Likewise.
4159 * math/test-fenv.c: Likewise.
4160 * math/test-misc.c: Likewise.
4161 * stdlib/bug-getcontext.c: Likewise.
4162
e39745ff
AJ
41632012-05-17 Andreas Jaeger <aj@suse.de>
4164
4165 * manual/examples/search.c (critter_cmp): Change signature to
4166 avoid warnings.
4167 * manual/string.texi (Collation Functions): Likewise.
4168
48970aba
L
41692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4170
4171 * bits/types.h: Fold copyright years.
4172 * bits/typesizes.h: Likewise.
4173 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4174 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4175 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4176 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4177 * time/time.h: Likewise.
4178
bedee953
PP
41792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4180
4181 [BZ #208]
4182 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4183 in instead of returning them. Return void.
4184 (__libc_mallinfo): Accumulate over all arenas.
4185 (__malloc_stats): Adjust for change in int_mallinfo interface.
4186
61653dfb
RM
41872012-05-16 Roland McGrath <roland@hack.frob.com>
4188
30b99d79
RM
4189 [BZ #10375]
4190 * configure.in (NM): Add AC_CHECK_TOOL for it.
4191 (libc_extra_cflags): New substituted variable.
4192 Check for -fstack-protector being used implicitly.
4193 * configure: Regenerated.
4194 * config.make.in (config-extra-cflags): New variable,
4195 gets @libc_extra_cflags@.
4196 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4197
61653dfb
RM
4198 [BZ #10375]
4199 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4200 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4201 * configure: Regenerated.
4202 * config.make.in (CPPUNDEFS): New substituted variable.
4203 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4204 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4205 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4206
661768bb
L
42072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4208
4209 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4210 (mq_attr): Use __syscall_slong_t.
4211
d4261567
L
42122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4213
4214 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4215 Check __x86_64__ instead of __WORDSIZE.
4216 (_STAT_VER_LINUX): Likewise.
4217 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4218 __syscall_ulong_t and __syscall_slong_t.
4219 (stat64): Likewise.
4220
cf3ff365
L
42212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4222
4223 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4224
76cf3e4d
L
42252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4226
4227 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4228
a637753a
L
42292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4230
4231 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4232 __syscall_ulong_t.
4233
d5e05119
L
4234 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4235 include <bits/wordsize.h>. Check __x86_64__ instead of
4236 __WORDSIZE.
4237 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4238 defined.
4239 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4240
f62ee380
L
4241 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4242 include <bits/wordsize.h>. Check __x86_64__ instead of
4243 __WORDSIZE.
4244 (user_regs_struct): Use "__extension__ unsigned long long"
4245 instead of "unsigned long" if __x86_64__ is defined.
4246 (user): Likewise. Pad after pointer field if __ILP32__ is
4247 defined.
4248
4e124ced
JM
42492012-05-16 Joseph Myers <joseph@codesourcery.com>
4250
6a3951a0
JM
4251 * configure.in (makeinfo): Require version 4.5 or later. Allow
4252 versions 5 to 9.
4253 * configure: Regenerated.
4254 * manual/install.texi (texinfo): Increase version requirement to
4255 4.5 or later.
4256 * INSTALL: Regenerated.
4257
4e124ced
JM
4258 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4259
953ca31a
L
42602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4261
4262 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4263
617aca05
L
4264 * sysdeps/x86_64/x32/ffs.c: New file.
4265
5762f7ae
L
4266 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4267 __syscall_ulong_t.
4268 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4269 defined. Use __syscall_ulong_t.
4270 (shminfo): Use __syscall_ulong_t.
4271 (shm_info): Likewise.
4272
a26b6856
L
4273 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4274 __syscall_ulong_t.
4275
cb2b9ef7
L
4276 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4277 <bits/wordsize.h>.
4278 (msgqnum_t): Use __syscall_ulong_t.
4279 (msglen_t): Likewise.
4280 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4281 __syscall_ulong_t.
4282
34683bb0
L
4283 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4284 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4285
84a68786
L
4286 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4287
48baa5f1
L
4288 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4289 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4290
180be88b
L
4291 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4292 __syscall_slong_t.
4293
5e90c8ad
L
4294 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4295 include <bits/wordsize.h>. Check __x86_64__ instead of
4296 __WORDSIZE.
4297
23dfb58b
L
4298 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4299 "unsigned long long int" if __x86_64__ is defined.
4300 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4301
ce5d54b0
L
4302 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4303 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4304 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4305
13dc9eac
L
4306 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4307 <stdint.h>.
4308 (GET_PC): Cast to uintptr_t first.
4309 (GET_FRAME): Likewise.
4310 (GET_STACK): Likewise.
4311
a7895d15
L
4312 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4313 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4314 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4315 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4316 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4317 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4318 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4319 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4320 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4321 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4322 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4323 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4324 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4325 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4326 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4327 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4328 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4329 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4330 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4331 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4332 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4333 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4334 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4335 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4336 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4337 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4338 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4339 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4340 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4341
656416c9
AS
43422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4343
5bd66283
AS
4344 * Makerules (+depfiles): Also collect depfiles from .oS in
4345 $(extra-objs).
4346 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4347 .oS, $(libnldbl-routines)).
4348
656416c9
AS
4349 * Makerules (native-compile-mkdep-flags): Define.
4350 * sunrpc/Makefile (extra-objs): Add $(addprefix
4351 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4352 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4353 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4354 calling $(make-target-directory).
4355
a46f2169
L
43562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4357
4358 * bits/types.h (__snseconds_t): Removed.
4359 * time/time.h (struct timespec): Replace __snseconds_t with
4360 __syscall_slong_t.
4361 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4362 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4363 Likewise.
4364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4365 (__SNSECONDS_T_TYPE): Likewise.
4366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4367 (__SNSECONDS_T_TYPE): Likewise.
4368 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4369 (__SNSECONDS_T_TYPE): Likewise.
4370
6af6528b
L
43712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4372
4373 * sysdeps/mach/hurd/bits/typesizes.h
4374 (__SYSCALL_SLONG_TYPE): New macro.
4375 (__SYSCALL_ULONG_TYPE): Likewise.
4376
de986b56
L
43772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4378
4379 * bits/types.h (__syscall_slong_t): New type.
4380 (__syscall_ulong_t): Likewise.
4381
4382 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4383 (__SYSCALL_ULONG_TYPE): Likewise.
4384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4385 (__SYSCALL_SLONG_TYPE): Likewise.
4386 (__SYSCALL_ULONG_TYPE): Likewise.
4387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4388 (__SYSCALL_SLONG_TYPE): Likewise.
4389 (__SYSCALL_ULONG_TYPE): Likewise.
4390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4391 (__SYSCALL_SLONG_TYPE): Likewise.
4392 (__SYSCALL_ULONG_TYPE): Likewise.
4393
85736dc7
L
43942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4395
4396 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4397 Add sigaltstack-offsets.sym.
4398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4399 <sigaltstack-offsets.h>.
4400 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4401 longjmp_msg pointer.
4402 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4403 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4404 signal stack.
4405 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4406
cc03b296
JM
44072012-05-15 Joseph Myers <joseph@codesourcery.com>
4408
a9538892
JM
4409 * elf/stackguard-macros.h: Remove file.
4410 * sysdeps/generic/stackguard-macros.h: New file.
4411 * sysdeps/i386/stackguard-macros.h: Likewise.
4412 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4413 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4414 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4415 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4416 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4417 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4418 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4419 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4420 <elf/stackguard-macros.h>.
4421
cc03b296
JM
4422 [BZ #14109]
4423 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4424 __aligned__ in attribute.
4425 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4426 (gregset_t): Likewise.
4427
93171016
L
44282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4429
4430 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4431 * sysdeps/x86_64/64/Implies-after: Here. New file.
4432 * sysdeps/x86_64/x32/Implies-after: New file.
4433
d86813a0
L
44342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4435
4436 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4437 and access return value for _dl_profile_fixup. Use R10_LP to
4438 load frame size.
4439
2953ec75
L
44402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4441
4442 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4443
3b550e9e
L
44442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4445
4446 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4447 * sysdeps/x86_64/x32/sysdep.h: New file.
4448
eda41706
L
44492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4450
4451 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4452 * sysdeps/x86_64/setjmp.S: Likewise.
4453
9ea01d93
AZ
44542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4455
4456 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4457 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4458 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4459 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4460 remove unused global constant.
4461
02a91938
CM
44622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4463
4464 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4465 include of <not-cancel.h>.
4466
6540185f
RM
44672012-05-15 Roland McGrath <roland@hack.frob.com>
4468
4469 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4470
509072a0
AJ
44712012-05-15 Jeff Law <law@redhat.com>
4472 Andreas Jaeger <aj@suse.de>
4473
4474 [BZ #13594]
4475 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4476 out from...
4477 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4478 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4479 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4480 code changing __hst_map_handle.map.
4481
ba75122d
RM
44822012-05-15 Roland McGrath <roland@hack.frob.com>
4483
4484 * configure.in (sysnames): Look for Implies-before and Implies-after
4485 files.
4486 * configure: Regenerated.
4487
890d8bd8
L
44882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4491 8-byte data alignment with LP_SIZE alignment.
4492
f6ee6623
L
44932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4494
4495 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4496 into R10_LP.
4497
ea2626f6
L
44982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4499
4500 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4501
085f715e
L
45022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4503
4504 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4505 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4506 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4507 Likewise.
4508 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4509
be8498fc
L
45102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4511
4512 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4513 (stackinfo_sub_sp): Likewise.
4514
70bc83b9
L
45152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4518 RAX_LP.
4519
9bc0b730
L
45202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4521
4522 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4523 into R*_LP.
4524
6d2850e7
L
45252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4526
4527 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4528 sizes into R*_LP.
4529
3cb84561
L
45302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4531
4532 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4533
54e2ed81
L
45342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4535
4536 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4537 into R11_LP and load __x86_64_shared_cache_size_half into
4538 R8_LP.
4539
8a17f349
L
45402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4541
4542 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4543 R8_LP.
4544
777b1eea
AZ
45452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4546
4547 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4548 logb for POWER7.
4549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4550 logbf for POWER7.
4551 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4552 logbl for POWER7.
4553 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4554 powerpc32/power7/fpu/s_logb.c via #include.
4555 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4556 powerpc32/power7/fpu/s_logbf.c via #include.
4557 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4558 powerpc32/power7/fpu/s_logbl.c via #include.
4559
d20d4ac2
JM
45602012-05-15 Joseph Myers <joseph@codesourcery.com>
4561
4562 * README.libm: Remove file.
4563
6cdef1ab
L
45642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4565
4566 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4567 count for x32. Use R*_LP and omit operand-size suffix.
4568
0b254d8f
L
45692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4570
4571 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4572 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4573 * sysdeps/x86_64/x32/shlib-versions: New file.
4574
ceb809dc
RM
45752012-05-14 Roland McGrath <roland@hack.frob.com>
4576
4577 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4578 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4579 Use _dl_fatal_printf instead.
4580
37f1abd4
JM
45812012-05-14 Joseph Myers <joseph@codesourcery.com>
4582
4583 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4584 set if not set by the user. Do not allow for being unset.
4585 * sysdeps/unix/sysv/linux/configure: Regenerated.
4586
11de3a33
L
45872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4588
4589 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4590 the `q' suffix from lea and replace .quad with ASM_ADDR.
4591
e02f153a
L
45922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4595 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4596 instead of $17.
4597 (PTR_DEMANGLE): Likewise.
4598
520ae0fd
L
45992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4600
4601 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4602 (LP_OP): Likewise.
4603 (ASM_ADDR): Likewise.
4604 (RAX_LP): Likewise.
4605 (RBP_LP): Likewise.
4606 (RBX_LP): Likewise.
4607 (RCX_LP): Likewise.
4608 (RDI_LP): Likewise.
4609 (RSI_LP): Likewise.
4610 (RSP_LP): Likewise.
4611 (R8_LP): Likewise.
4612 (R9_LP): Likewise.
4613 (R10_LP): Likewise.
4614 (R10_LP): Likewise.
4615 (R11_LP): Likewise.
4616 (R12_LP): Likewise.
4617 (R13_LP): Likewise.
4618 (R14_LP): Likewise.
4619 (R15_LP): Likewise.
4620
b985be81
L
46212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4622
4623 * sysdeps/x86_64/x32/dl-machine.h: New file.
4624
6a4888ff
AJ
46252012-05-14 Andreas Jaeger <aj@suse.de>
4626
4627 * manual/Makefile (subdir): Remove export of subdir.
4628 (all): Remove target.
4629 (.PHONY): Remove all from list.
4630 (mkinstalldirs): Remove.
4631 (.PHONY): Remove installdirs from list.
4632 ($(inst_infodir)/libc.info): Use make-target-directory.
4633 (installdirs): Remove.
4634 (subdir_%): Remove.
4635 (glibc-targets): Remove.
4636 (lib): Remove.
4637 (stubs): Remove.
4638 ($(objpfx)stubs ../po/manual.pot): Remove.
4639 ($(objpfx)stamp%): Remove.
4640 (make-target-directory): Remove.
4641 (subdir_install): Remove.
4642 (routines): Remove.
4643 (aux): Remove.
4644 (sources): Remove.
4645 (objects): Remove.
4646 (headers): Remove.
4647
4648 [BZ #13750]
4649 * manual/.gitignore: Remove, it's not needed anymore.
4650 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4651 all files in it.
4652 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4653 directory.
4654 (texis): Renamed to $(objpfx)texis.
4655 (texis-path): New, contains path to generated files.
4656 (chapters.%): Use texis-path for complete path, add extra argument
4657 libc-texinfo.sh.
4658 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4659 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4660 (summary,texi, stamp-summary): Use complete path of
4661 files. Generate files in build dir.
4662 (dir-add.texi): Build in build dir.
4663 (libm-err.texi,stamp-libm-err): Likewise.
4664 (version.texi, stamp-version): Likewise.
4665 (.%c.texi): Likewise.
4666 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4667 (mostlyclean): Remove target.
4668 (realclean): Remove target.
4669 (generated): Add new variable with contents from mostlyclean and
4670 realclean, remove entries duplicated in common-mostlyclean, add
4671 stamp-libm-err and stamp-version.
4672 (generated-dirs): Add libc directory.
4673 ($(inst_infodir)/libc.info): Install files from build dir.
4674
4675 * manual/install.texi (Configuring and compiling): Adjust since
4676 the info files are not part of the tar ball anymore.
4677
7ac77294
AJ
46782012-05-14 Andreas Jaeger <aj@suse.de>
4679
4680 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4681 variable.
4682
ffb7875d
JM
46832012-05-14 Joseph Myers <joseph@codesourcery.com>
4684
4685 [BZ #13717]
4686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4687 to 2.2.0 where earlier.
4688 * sysdeps/unix/sysv/linux/configure: Regenerated.
4689 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4690 Remove conditional code.
4691 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4692 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4693 Remove conditional code.
4694 [!__NR_lchown]: Likewise.
4695 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4696 [__NR_lchown]: Likewise.
4697 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4698 comment referencing __ASSUME_LCHOWN_SYSCALL.
4699 * sysdeps/unix/sysv/linux/i386/sigaction.c
4700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4702 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4703 Remove conditional code.
4704 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4705 (__protocol_available): Remove #if 0 code.
4706 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4707 conditional code.
4708 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4709 * sysdeps/unix/sysv/linux/kernel-features.h
4710 (__ASSUME_GETCWD_SYSCALL): Don't define.
4711 (__ASSUME_REALTIME_SIGNALS): Likewise.
4712 (__ASSUME_PREAD_SYSCALL): Likewise.
4713 (__ASSUME_PWRITE_SYSCALL): Likewise.
4714 (__ASSUME_POLL_SYSCALL): Likewise.
4715 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4716 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4717 non-SPARC.
4718 (__ASSUME_SIOCGIFNAME): Don't define.
4719 (__ASSUME_MSG_NOSIGNAL): Likewise.
4720 (__ASSUME_SENDFILE): Define unconditionally.
4721 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4722 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4723 conditional code.
4724 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4725 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4726 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4727 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4728 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4729 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4730 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4732 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4733 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4735 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4736 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4738 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4739 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4741 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4742 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4744 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4745 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4747 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4748 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4750 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4751 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4753 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4755 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4756 Remove conditional code.
4757 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4758 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4759 Remove conditional code.
4760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4761 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4762 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4763 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4764 Remove conditional code.
4765 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4766 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4767 Remove conditional code.
4768 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4769 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4770 Remove conditional code.
4771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4772 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4773 Remove conditional code.
4774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4775 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4776 Remove conditional code.
4777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4778 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4781 * sysdeps/unix/sysv/linux/sigaction.c
4782 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4783 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4784 * sysdeps/unix/sysv/linux/sigpending.c
4785 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4786 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4787 * sysdeps/unix/sysv/linux/sigprocmask.c
4788 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4789 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4790 * sysdeps/unix/sysv/linux/sigsuspend.c
4791 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4792 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4793 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4794 (__libc_missing_rt_sigs): Remove.
4795 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4796 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4797 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4798 Remove conditional code.
4799 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4800 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4801 return 1.
4802 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4803 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4804 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4805 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4806
1bfb7291
AJ
48072012-05-14 Andreas Jaeger <aj@suse.de>
4808
caae5a81
AJ
4809 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4810 it's not used in glibc.
4811 (__coshm1): Likewise.
4812 (__acosh1p): Likewise.
4813 (__sgn): Likewise.
4814
1bfb7291
AJ
4815 * manual/string.texi (Copying and Concatenation): Add missing
4816 variable in concat example.
4817 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4818
c044d724
L
48192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4820
144c5467 4821 [BZ #14103]
c044d724
L
4822 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4823 __builtin_clzl with __builtin_clzll.
4824
2523c62b
L
48252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4826
4827 [BZ #14104]
4828 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4829 libc_freeres_ptr.
4830
d7bb4c42
LD
48312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4832
4833 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4834 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4835 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4836 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4837
9dc4e1fb
MF
48382012-05-14 Mike Frysinger <vapier@gentoo.org>
4839
4840 * NEWS: Update ia64 info.
4841
c7df0112
AS
48422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4843
4844 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4845 used as bcopy.
4846
dc70356c
TS
48472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4848
4849 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4850 * sysdeps/unix/syscalls.list (dup3): Likewise.
4851 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4852 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4853
9fb1a21f
L
48542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4855
4856 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4857 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4858
4822a2a5
L
48592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4860
4861 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4862 thread pointer.
4863 (TLS_IE): Use mov/add instead of movq/addq to load thread
4864 pointer.
4865 (TLS_GD_PREFIX): New.
4866 (TLS_GD): Use it.
4867
842b81d6
DM
48682012-05-11 David S. Miller <davem@davemloft.net>
4869
4870 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4871 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4872 (_FPU_SETCW): Likewise.
4873
1cf463cd
L
48742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4875
4876 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4877 is 32-byte aligned.
4878
60cc4a18
AS
48792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4880
4881 [BZ #11837]
4882 * iconvdata/gb18030.c: Update tables.
4883 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4884 characters specially.
4885 (BODY for TO_LOOP): Add encoding of missing ranges.
4886
febb44a4
TS
48872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4888
4889 [BZ #13673]
4890 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4891 * sysdeps/mach/hurd/dup3.c: Likewise.
4892 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4893 * sysdeps/powerpc/memmove.c:: Likewise.
4894
0a10fb9e
L
48952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4896
4897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4898 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4899
df8a552f
L
49002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4901
4902 * elf/elf.h (R_X86_64_RELATIVE64): New.
4903 (R_X86_64_NUM): Updated.
4904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4905 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4906 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4907 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4908 tst-quad1pie tst-quad2pie
4909 (modules-names): Add tst-quadmod1 tst-quadmod2.
4910 ($(objpfx)tst-quad1): New dependency.
4911 ($(objpfx)tst-quad2): Likewise.
4912 ($(objpfx)tst-quad1pie): Likewise.
4913 ($(objpfx)tst-quad2pie): Likewise.
4914 * sysdeps/x86_64/tst-quad1.c: New file.
4915 * sysdeps/x86_64/tst-quad1pie.c: New file.
4916 * sysdeps/x86_64/tst-quad2.c: Likewise.
4917 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4918 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4919 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4920 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4921 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4922
f34d6f84
ST
49232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4924
f42d41d1
ST
4925 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4926 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4927 * streams/stropts.h (t_scalar_t): Define type.
4928
3c3571fc
ST
4929 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4930 (_PATH_PRESERVE): Set to "/var/lib".
4931 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4932
61f06bd3
ST
4933 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4934 instead of int.
4935
918d4d71
ST
4936 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4937 if __dir_mkfile succeeded.
4938
f34d6f84
ST
4939 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4940 checking for _hurd_dtablesize. Unlock it right after having
4941 finished _hurd_dtable allocation.
4942
10589b4a
TS
49432012-05-10 Thomas Schwinge <thomas@schwinge.name>
4944
674cdbc7
TS
4945 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4946 * sysdeps/mach/hurd/configure: Regenerated.
4947 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4948 special-casing to...
4949 * sysdeps/gnu/configure.in: ... this new file.
4950 * sysdeps/unix/sysv/linux/configure: Regenerated.
4951 * sysdeps/gnu/configure: New generated file.
4952
8e41b99f
TS
4953 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4954 for Linux: use nsec instead of usec, as well as:
4955 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4956 members of type struct timespec.
4957 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4958 New macros.
4959 (struct stat64): Likewise.
4960 (_STATBUF_ST_NSEC): New macro.
4961 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4962
10589b4a
TS
4963 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4964 __strtoul_internal rather than strtoul.
4965
63643c85
PT
49662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4967
4968 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4969 and reject them.
4970
3faebe6a
ST
49712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4972
4973 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4974 which preserves existing values.
4975 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4976
c6474b07
PT
49772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4978
4979 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4980 TIMEOUT values. Return EINVAL for NFDS values either negative or
4981 greater than FD_SETSIZE.
4982
1043890b
ST
49832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4984
4985 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4986 allocated, call __vm_protect to finish enabling the existing space, and
4987 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4988 allocate the remainder.
4989
37ed8b9b
PT
49902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4991
4992 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4993 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4994
db653660
ST
49952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4996
37ed8b9b
PT
4997 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4998 sysdeps/mach/hurd/readlink.c.
b29d4053 4999
db653660
ST
5000 * posix/tst-sysconf.c (posix_options): Only use
5001 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5002 _POSIX_SYNCHRONIZED_IO when they are defined
5003 * sysdeps/mach/hurd/bits/posix_opt.h:
5004 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5005 (_XOPEN_REALTIME): Undefine macro.
5006 (_XOPEN_REALTIME_THREADS): Undefine macro.
5007 (_XOPEN_SHM): Undefine macro.
5008 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5009 macro to -1.
5010 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5011 macro to -1.
5012 (_POSIX_ASYNC_IO): Undefine macro.
5013 (_POSIX_PRIORITIZED_IO): Undefine macro.
5014 (_POSIX_SPIN_LOCKS): Define macro to -1.
5015
ee16e894
ST
5016 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5017 SA_NODEFER, SA_RESETHAND.
5018 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5019 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5020 F_DUPFD_CLOEXEC.
5021
6103ae3b
TS
50222012-05-10 Thomas Schwinge <thomas@schwinge.name>
5023
5024 * elf/Makefile (pldd-modules): Define unconditionally.
5025
80b4e5f3
TS
50262012-05-10 Thomas Schwinge <thomas@schwinge.name>
5027
5028 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5029
edadcbd6
ST
50302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5031
5032 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5033 Return ENOENT when name is empty.
5034 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5035
80694780
TS
50362012-05-10 Thomas Schwinge <thomas@schwinge.name>
5037
1792c087
TS
5038 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5039
80694780
TS
5040 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5041
6b645f0d
ST
50422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5043
80694780
TS
5044 Fix mlock in all cases except non-readable pages.
5045 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5046 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5047
6b645f0d
ST
5048 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5049 (__mkdir): When path is `/', just fail with EEXIST.
5050 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5051
e468f8a3
TS
50522012-05-10 Thomas Schwinge <thomas@schwinge.name>
5053
5054 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5055 <sys/uio.h> (for writev).
5056 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5057 and <sys/param.h> (for MIN).
5058
a4186cff
PT
50592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5060
5061 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5062 REQUESTED_TIME. Properly set the remaining time and return EINTR
5063 if interrupted.
5064
510bbf14
TS
50652012-05-10 Thomas Schwinge <thomas@schwinge.name>
5066
5067 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5068 Depend on against $(link-rpcuserlibs).
5069
5d5722e8
ST
50702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5071
a4186cff
PT
5072 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5073 (__libc_stack_end): Do not use attribute_relro.
5074 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5075 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5076 to libthread-provided value.
a4186cff
PT
5077 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5078 attribute_relro.
5d5722e8 5079
37233df9
TS
50802012-05-10 Thomas Schwinge <thomas@schwinge.name>
5081
be971a2b
TS
5082 [BZ #3748]
5083 * bits/libc-lock.h (__libc_once_get): New macro.
5084 * sysdeps/mach/bits/libc-lock.h: Likewise.
5085 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5086 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5087 instead of using implementation details.
5088
37233df9
TS
5089 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5090 * libio/freopen.c: Likewise.
5091 * libio/freopen64.c: Likewise.
5092 * misc/syslog.c: Likewise.
5093 * nscd/connections.c: Likewise.
5094 * nscd/netgroupcache.c: Likewise.
5095 * sysdeps/posix/getcwd.c: Likewise.
5096
38de94a5
RM
50972012-05-10 Roland McGrath <roland@hack.frob.com>
5098
5099 * math/w_ilogbf.c: Add #include <limits.h>.
5100
67530489
ST
51012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5102
a4186cff 5103 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5104 path instead of returning without unlocking.
5105
67530489
ST
5106 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5107 immediate-write ioctls.
5108 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5109
5aa3a74a
TS
51102012-05-10 Thomas Schwinge <thomas@schwinge.name>
5111
18bad2ae
TS
5112 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5113 __builtin_frame_address instead of making assumptions about the
5114 location of the return address relative to DATA. Force early load of
5115 the return address.
5116 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5117 __builtin_frame_address.
5118
5aa3a74a
TS
5119 dup3 for GNU Hurd.
5120 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5121 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5122 implement dup3 and do some further code clean-ups.
5123 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5124 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5125
ecd0de9a
ST
51262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5127
cd9fa985
ST
5128 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5129
a4186cff
PT
5130 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5131 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5132 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5133 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5134 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5135 d->port.lock.
802ca5a5 5136
a4186cff
PT
5137 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5138 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5139 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5140
bcf55240
TS
51412012-05-10 Thomas Schwinge <thomas@schwinge.name>
5142
6960eb42
TS
5143 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5144 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5145 definitions.
5146
eb43375f
TS
5147 accept4 for GNU Hurd.
5148 * include/sys/socket.h (__libc_accept4): New prototype.
5149 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5150 to implement __libc_accept4.
5151 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5152 __libc_accept4.
5153 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5154
bcf55240
TS
5155 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5156 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5157 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5158 signal-defines.sym.
5159
6178c55b
ST
51602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5161
a4186cff 5162 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5163
6f080c2f
TS
51642012-05-10 Thomas Schwinge <thomas@schwinge.name>
5165
5166 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5167 assertion on O_CLOEXEC flag.
5168 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5169 * hurd/intern-fd.c: Likewise.
5170 * hurd/port2fd.c: Likewise.
5171
bcfe3a54
ST
51722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5173
5174 [BZ #3906]
5175 * bits/in.h (IPV6_PKTINFO): Define new macro.
5176 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5177
89c9aa49
AZ
51782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5179
5180 [BZ #13954]
5181 [BZ #13955]
5182 [BZ #13956]
5183 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5185 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5186 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5188 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5189 * math/libm-test.inc (logb_test) : Additional logb tests.
5190
021db4be
AJ
51912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5192 Andreas Jaeger <aj@suse.de>
5193
5194 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5195 * configure: Regenerated.
5196 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5197 * config.make.in (link-obsolete-rpc): New substituted variable.
5198 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5199 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5200 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5201 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5202 so that libc.a contains the symbols.
5203 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5204 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5205 * sunrpc/auth_none.c: Likewise.
5206 * sunrpc/auth_unix.c: Likewise.
5207 * sunrpc/authdes_prot.c: Likewise.
5208 * sunrpc/authuxprot.c: Likewise.
5209 * sunrpc/clnt_gen.c: Likewise.
5210 * sunrpc/clnt_perr.c: Likewise.
5211 * sunrpc/clnt_raw.c: Likewise.
5212 * sunrpc/clnt_simp.c: Likewise.
5213 * sunrpc/clnt_tcp.c: Likewise.
5214 * sunrpc/clnt_udp.c: Likewise.
5215 * sunrpc/clnt_unix.c: Likewise.
5216 * sunrpc/des_crypt.c: Likewise.
5217 * sunrpc/des_soft.c: Likewise.
5218 * sunrpc/get_myaddr.c: Likewise.
5219 * sunrpc/key_call.c: Likewise.
5220 * sunrpc/key_prot.c: Likewise.
5221 * sunrpc/netname.c: Likewise.
5222 * sunrpc/pm_getmaps.c: Likewise.
5223 * sunrpc/pm_getport.c: Likewise.
5224 * sunrpc/pmap_clnt.c: Likewise.
5225 * sunrpc/pmap_prot.c: Likewise.
5226 * sunrpc/pmap_prot2.c: Likewise.
5227 * sunrpc/pmap_rmt.c: Likewise.
5228 * sunrpc/publickey.c: Likewise.
5229 * sunrpc/rpc_cmsg.c: Likewise.
5230 * sunrpc/rpc_common.c: Likewise.
5231 * sunrpc/rpc_dtable.c: Likewise.
5232 * sunrpc/rpc_prot.c: Likewise.
5233 * sunrpc/rpc_thread.c: Likewise.
5234 * sunrpc/rtime.c: Likewise.
5235 * sunrpc/svc.c: Likewise.
5236 * sunrpc/svc_auth.c: Likewise.
5237 * sunrpc/svc_raw.c: Likewise.
5238 * sunrpc/svc_run.c: Likewise.
5239 * sunrpc/svc_tcp.c: Likewise.
5240 * sunrpc/svc_udp.c: Likewise.
5241 * sunrpc/svc_unix.c: Likewise.
5242 * sunrpc/svcauth_des.c: Likewise.
5243 * sunrpc/xcrypt.c: Likewise.
5244 * sunrpc/xdr.c: Likewise.
5245 * sunrpc/xdr_array.c: Likewise.
5246 * sunrpc/xdr_float.c: Likewise.
5247 * sunrpc/xdr_intXX_t.c: Likewise.
5248 * sunrpc/xdr_mem.c: Likewise.
5249 * sunrpc/xdr_rec.c: Likewise.
5250 * sunrpc/xdr_ref.c: Likewise.
5251 * sunrpc/xdr_sizeof.c: Likewise.
5252 * sunrpc/xdr_stdio.c: Likewise.
5253
b5c086a2
RM
52542012-05-10 Roland McGrath <roland@hack.frob.com>
5255
5256 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5257 change. Update copyright years.
5258
6d74dd09
JM
52592012-05-10 Joseph Myers <joseph@codesourcery.com>
5260
5261 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5262
28e72501
MK
52632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5264 Joseph Myers <joseph@codesourcery.com>
5265 Paul Pluzhnikov <ppluzhnikov@google.com>
5266
5267 [BZ #14012]
5268 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5269 requiring rpcgen.
5270 [cross-compiling] (extra-libs): Likewise.
5271 [cross-compiling] (extra-libs-others): Likewise.
5272 [cross-compiling] (librpcsvc-routines): Likewise.
5273 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5274 [cross-compiling] (omit-deps): Likewise.
5275 (sunrpc-CPPFLAGS): New variable.
5276 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5277 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5278 (cross-rpcgen-objs): New variable.
5279 (extra-objs): Append $(cross-rpcgen-objs).
5280 ($(cross-rpcgen-objs)): New rule.
5281 ($(objpfx)cross-rpcgen): Likewise.
5282 (rpcgen-cmd): Define to use $(built-program-file). Expand
5283 comment.
5284 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5285 ($(objpfx)x%.stmp): Likewise.
5286 * sunrpc/proto.h [IS_IN_build] (_): Define.
5287 [IS_IN_build] (_libc_intl_domainname): Likewise.
5288
c8c59454
L
52892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5290
5291 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5292 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5293 and R_X86_64_TPOFF64.
5294
6f27cd16
JM
52952012-05-10 Joseph Myers <joseph@codesourcery.com>
5296
5297 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5298 sysdeps/unix/sysv/syscalls.list.
5299 (stime): Likewise.
5300 (utime): Likewise.
5301 * sysdeps/unix/sysv/syscalls.list: Remove file.
5302
02467e1c
PE
53032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5304
5305 [BZ #3440]
5306 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5307 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5308 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5309 (__LC_IDENTIFICATION): Make these macros useful in #if
5310 expressions, as required by C99.
5311
da392631
AS
53122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5313
5314 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5315 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5316 after this.
5317
8115f29b
L
53182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5319
5320 * stdlib/longlong.h: Updated from GCC.
5321
bdd74070
AJ
53222012-05-09 Andreas Jaeger <aj@suse.de>
5323
edfe0dbe
AJ
5324 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5325 default is first entry.
5326 (run_mode): Set type.
5327 (main): Remove informal message about syslog.
5328 (options): Fix typo.
5329
bcfe3a54
ST
5330 [BZ #14053]
5331 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5332 to asm.
bcfe3a54
ST
5333 (lrint): Likewise.
5334 (llrintf): Likewise.
5335 (llrint): Likewise.
5336 (rint): Likewise.
5337 (rintf): Likewise.
5338 (nearbyint): Likewise.
5339 (nearbyintf): Likewise.
bdd74070 5340
91d8d69e
AJ
53412012-05-09 Andreas Jaeger <aj@suse.de>
5342 Pedro Alves <palves@redhat.com>
5343
5344 * nscd/nscd.c (run_mode): Use enum.
5345 (main): Cleanup coding style issue.
5346
bb90b80b
AJ
53472012-05-09 Alexandre Oliva <aoliva@redhat.com>
5348 Andreas Jaeger <aj@suse.de>
5349
bcfe3a54
ST
5350 * nscd/nscd.c (go_background): Replaced with...
5351 (run_mode): ... this.
bb90b80b 5352 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5353 (options): Add -F --foreground.
5354 (main): Implement it.
5355 (parse_opt): Parse it.
bb90b80b 5356
1a4b75a1
AJ
53572012-05-09 Andreas Jaeger <aj@suse.de>
5358
5359 [BZ #14083]
5360 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5361 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5362 -Wconversion warning.
5363 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5364 Likewise.
5365
b1cc2472
JM
53662012-05-09 Joseph Myers <joseph@codesourcery.com>
5367
5368 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5369 == 0.
5370 (LC_ALL): Use macro-int-constant.
5371 (LC_COLLATE): Likewise.
5372 (LC_CTYPE): Likewise.
5373 (LC_MESSAGES): Likewise.
5374 (LC_MONETARY): Likewise.
5375 (LC_NUMERIC): Likewise.
5376 (LC_TIME): Likewise.
5377 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5378 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5380 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5381 Specify type.
5382 [C99-based standards] (float_t): Expect type.
5383 [C99-based standards] (double_t): Expect type.
5384 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5385 type.
5386 [C99-based standards] (HUGE_VALL): Likewise.
5387 [C99-based standards] (INFINITY): Likewise.
5388 [C99-based standards] (NAN): Likewise.
5389 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5390 [C99-based standards] (FP_NAN): Likewise.
5391 [C99-based standards] (FP_NORMAL): Likewise.
5392 [C99-based standards] (FP_SUBNORMAL): Likewise.
5393 [C99-based standards] (FP_ZERO): Likewise.
5394 [C99-based standards] (FP_FAST_FMA): Use
5395 optional-macro-int-constant. Specify type. Require == 1.
5396 [C99-based standards] (FP_FAST_FMAF): Likewise.
5397 [C99-based standards] (FP_FAST_FMAL): Likewise.
5398 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5399 [C99-based standards] (FP_ILOGBNAN): Likewise.
5400 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5401 Specify type.
5402 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5403 [C99-based standards] (math_errhandling): Specify type.
5404 [ISO99 || ISO11] (signgam): Do not allow.
5405 [non-C99-based standards] (copysignf): Do not allow.
5406 [non-C99-based standards] (exp2f): Likewise.
5407 [non-C99-based standards] (log2f): Likewise.
5408 [non-C99-based standards] (modff): Allow.
5409 [non-C99-based standards] (erff): Do not allow.
5410 [non-C99-based standards] (erfcf): Likewise.
5411 [non-C99-based standards] (gammaf): Likewise.
5412 [non-C99-based standards] (hypotf): Likewise.
5413 [non-C99-based standards] (j0f): Likewise.
5414 [non-C99-based standards] (j1f): Likewise.
5415 [non-C99-based standards] (jnf): Likewise.
5416 [non-C99-based standards] (lgammaf): Likewise.
5417 [non-C99-based standards] (tgammaf): Likewise.
5418 [non-C99-based standards] (y0f): Likewise.
5419 [non-C99-based standards] (y1f): Likewise.
5420 [non-C99-based standards] (ynf): Likewise.
5421 [non-C99-based standards] (isnanf): Likewise.
5422 [non-C99-based standards] (acoshf): Likewise.
5423 [non-C99-based standards] (asinhf): Likewise.
5424 [non-C99-based standards] (atanhf): Likewise.
5425 [non-C99-based standards] (cbrtf): Likewise.
5426 [non-C99-based standards] (expm1f): Likewise.
5427 [non-C99-based standards] (ilogbf): Likewise.
5428 [non-C99-based standards] (log1pf): Likewise.
5429 [non-C99-based standards] (logbf): Likewise.
5430 [non-C99-based standards] (nextafterf): Likewise.
5431 [non-C99-based standards] (remainderf): Likewise.
5432 [non-C99-based standards] (rintf): Likewise.
5433 [non-C99-based standards] (scalbf): Likewise.
5434 [non-C99-based standards] (copysignl): Likewise.
5435 [non-C99-based standards] (exp2l): Likewise.
5436 [non-C99-based standards] (log2l): Likewise.
5437 [non-C99-based standards] (modfl): Allow.
5438 [non-C99-based standards] (erfl): Do not allow.
5439 [non-C99-based standards] (erfcl): Likewise.
5440 [non-C99-based standards] (gammal): Likewise.
5441 [non-C99-based standards] (hypotl): Likewise.
5442 [non-C99-based standards] (j0l): Likewise.
5443 [non-C99-based standards] (j1l): Likewise.
5444 [non-C99-based standards] (jnl): Likewise.
5445 [non-C99-based standards] (lgammal): Likewise.
5446 [non-C99-based standards] (tgammal): Likewise.
5447 [non-C99-based standards] (y0l): Likewise.
5448 [non-C99-based standards] (y1l): Likewise.
5449 [non-C99-based standards] (ynl): Likewise.
5450 [non-C99-based standards] (isnanl): Likewise.
5451 [non-C99-based standards] (acoshl): Likewise.
5452 [non-C99-based standards] (asinhl): Likewise.
5453 [non-C99-based standards] (atanhl): Likewise.
5454 [non-C99-based standards] (cbrtl): Likewise.
5455 [non-C99-based standards] (expm1l): Likewise.
5456 [non-C99-based standards] (ilogbl): Likewise.
5457 [non-C99-based standards] (log1pl): Likewise.
5458 [non-C99-based standards] (logbl): Likewise.
5459 [non-C99-based standards] (nextafterl): Likewise.
5460 [non-C99-based standards] (remainderl): Likewise.
5461 [non-C99-based standards] (rintl): Likewise.
5462 [non-C99-based standards] (scalbl): Likewise.
5463 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5464 [non-C99-based standards] (FP_*): Do not allow.
5465 [C99-based standards] (FP_*): Change to
5466 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5467 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5468 allow.
5469 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5470 (SIG_ERR): Likewise.
5471 [X/Open-based standards] (SIG_HOLD): Likewise.
5472 (SIG_IGN): Likewise.
5473 (SIGABRT): Use macro-int-constant. Specify type. Require
5474 positive value.
5475 (SIGFPE): Likewise.
5476 (SIGILL): Likewise.
5477 (SIGINT): Likewise.
5478 (SIGSEGV): Likewise.
5479 (SIGTER): Likewise.
5480 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5481 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5482 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5483 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5484 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5485 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5486 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5487 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5488 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5489 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5490 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5491 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5492 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5493 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5494 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5495 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5496 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5497 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5498 [X/Open-based standards] (SIGTRAP): Likewise.
5499 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5500 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5501 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5502 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5503 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5504 allow.
5505
b9f1922d
IW
55062012-05-08 Ian Wienand <ianw@vmware.com>
5507
5508 [BZ #14080]
5509 * time/tzset.c (__tzset_parse_tz): Update default rules for
5510 daylight time changes in the Energy Policy Act of 2005.
5511
1db86e88
AJ
55122012-05-09 Andreas Jaeger <aj@suse.de>
5513
5514 [BZ #13983]
5515 * elf/ldconfig.c (parse_conf): Change string to make clear that
5516 ldconfig only issued a warning if ld.so.conf does not exist.
5517
dee4a4e3
DM
55182012-05-08 David S. Miller <davem@davemloft.net>
5519
ee0db190
DM
5520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5521 movxtod instead of popping the value on the stack.
5522
dee4a4e3
DM
5523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5524
6a43ec98
CD
55252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5526
5527 * config.h.in: Add HAVE_ARM_PCS_VFP.
5528
05c2c961
RMG
55292012-05-08 Roland Mc Grath <roland@hack.frob.com>
5530
bcfe3a54
ST
5531 [BZ #13979]
5532 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5533 checking but the checks are disabled for any reason.
05c2c961 5534
4b30f61a
L
55352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5536
5537 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5538 and ELF64_R_TYPE with ELFW(R_TYPE).
5539
eee2bc67
JM
55402012-05-08 Joseph Myers <joseph@codesourcery.com>
5541
7ea5391a
JM
5542 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5543 (ulimit): Likewise.
5544
eee2bc67
JM
5545 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5546 (settimeofday): Likewise.
5547
abb66a67
MF
55482012-05-08 Mike Frysinger <vapier@gentoo.org>
5549
5550 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5551 a struct th_u2 inside the union, and move tu_block/tu_code into
5552 a new th_u3 union of tu_block/tu_code inside of that. Move
5553 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5554 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5555 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5556 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5557 (th_stuff): Change to th_u1.tu_stuff.
5558 (th_data): Define.
5559 (th_msg): Change to th_u1.th_u2.tu_data.
5560
7f18b530
DM
55612012-05-07 David S. Miller <davem@davemloft.net>
5562
05760585
DM
5563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5564
7f18b530
DM
5565 [BZ #14074]
5566 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5567 (SETUP_PIC_REG): Use it.
5568 (SETUP_PIC_REG_LEAF): Use it.
5569
495fd99f
JM
55702012-05-07 Joseph Myers <joseph@codesourcery.com>
5571
5572 [BZ #13885]
5573 [BZ #13923]
5574 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5575 USE_AS_EXPM1L.
5576 (EXPL_FINITE): Likewise.
5577 (FLDLOG): Likewise.
5578 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5579 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5580 e_expl.S.
5581 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5582 USE_AS_EXPM1L.
5583 (EXPL_FINITE): Likewise.
5584 (FLDLOG): Likewise.
5585 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5586 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5587 e_expl.S.
5588 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5589 test of -max_value argument for long double.
5590 * sysdeps/i386/fpu/libm-test-ulps: Update.
5591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5592
6693d694
DM
55932012-05-06 David S. Miller <davem@davemloft.net>
5594
5595 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5596 quad soft-float symbols whose references which are compiler
5597 generated.
5598 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5599
6c23e11c
JM
56002012-05-06 Joseph Myers <joseph@codesourcery.com>
5601
d8b82cad
JM
5602 [BZ #13884]
5603 [BZ #13914]
5604 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5605 USE_AS_EXP10L.
5606 (EXPL_FINITE): Likewise.
5607 (FLDLOG): Likewise.
5608 (c0): Likewise.
5609 (c1): Likewise.
5610 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5611 Adjust comments for base varying.
5612 (__expl_finite): Change alias to EXPL_FINITE.
5613 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5614 e_expl.S.
5615 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5616 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5618 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5619 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5620 USE_AS_EXP10L.
5621 (EXPL_FINITE): Likewise.
5622 (FLDLOG): Likewise.
5623 (c0): Likewise.
5624 (c1): Likewise.
5625 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5626 Adjust comments for base varying.
5627 (__expl_finite): Change alias to EXPL_FINITE.
5628 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5629 tests for bugs.
5630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5631
6c23e11c
JM
5632 [BZ #14064]
5633 * math/libm-test.inc (check_float_internal): Correct ulp
5634 calculation for subnormal expected results.
5635
29ba805c
AJ
56362012-05-06 Andreas Jaeger <aj@suse.de>
5637
5638 * Makeconfig (+math-flags): New, set to -frounding-math.
5639 (+cflags): Add +math-flags so that all of glibc gets compiled with
5640 it.
5641
5642 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5643
7b17aeda
JM
56442012-05-05 Joseph Myers <joseph@codesourcery.com>
5645
5779f134
JM
5646 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5647 Disable one test.
5648
41498f4d
JM
5649 [BZ #13787]
5650 [BZ #13922]
5651 [BZ #14036]
5652 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5653 (__ieee754_expl): Allow for and saturate large arguments.
5654 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5655 (u_threshold): Likewise.
5656 (__exp): Call __ieee754_exp before checking for overflow and
5657 underflow.
5658 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5659 (u_threshold): Likewise.
5660 (__expf): Call __ieee754_expf before checking for overflow and
5661 underflow.
5662 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5663 (u_threshold): Likewise.
5664 (__expl): Call __ieee754_expl before checking for overflow and
5665 underflow.
5666 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5667 (__ieee754_expl): Allow for and saturate large arguments.
5668 * math/libm-test.inc (exp_test): Add another test. Do not allow
5669 missing overflow exception on overflow.
5670 (expm1_test): Do not allow missing overflow exception on overflow.
5671
6698b8bf
JM
5672 * sysdeps/i386/fpu/e_expl.c: Move to ...
5673 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5674 rather than using inline asm.
5675 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5676 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5677 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5678
7b17aeda
JM
5679 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5680 (nice): Likewise.
5681 (poll): Likewise.
5682 (signal): Likewise.
5683 (time): Likewise.
5684 (times): Likewise.
5685
f7c85819
JM
56862012-05-04 Joseph Myers <joseph@codesourcery.com>
5687
5688 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5689 sysdeps/unix/common/syscalls.list.
5690 (fchmod): Likewise.
5691 (fchown): Likewise.
5692 (ftruncate): Likewise.
5693 (getrusage): Likewise.
5694 (gettimeofday): Likewise.
5695 (setpgid): Likewise.
5696 (setregid): Likewise.
5697 (setreuid): Likewise.
5698 (sigaction): Likewise.
5699 (truncate): Likewise.
5700 (vhangup): Likewise.
5701 * sysdeps/unix/common/syscalls.list: Remove file.
5702 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5703 * sysdeps/unix/sysv/linux/Implies: Likewise.
5704
336270d0
L
57052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5706
5707 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5709 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5710 Moved to ...
5711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5712 Here.
5713 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5714 to ...
5715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5716 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5717 to ...
5718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5719 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5720 to ...
5721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5722 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5723 to ...
5724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5725 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5726 to ...
5727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5728 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5729 to ...
5730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5731 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5732 to ...
5733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5734 Here.
5735 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5736 to ...
5737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5738 Here.
5739 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5740 to ...
5741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5742 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5743 Moved to ...
5744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5745 Here.
5746 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5747 to ...
5748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5749
d128e450
JM
57502012-05-04 Joseph Myers <joseph@codesourcery.com>
5751
fa8ee516
JM
5752 * sysdeps/unix/common/bits/dirent.h: Remove file.
5753 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5754
d128e450
JM
5755 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5756 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5757 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5758 * sysdeps/unix/bsd/isatty.c: Likewise.
5759 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5760 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5761 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5762
ff8faaf0 57632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5764
62881be4 5765 [BZ #13563]
31dc8730
AZ
5766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5767 long double comparison inaccuracies.
5768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5770
6fef930c
AS
57712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5772
5773 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5774 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5775
8f203e6c
JM
57762012-05-04 Joseph Myers <joseph@codesourcery.com>
5777
5778 [BZ #14049]
5779 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5780 nonzero digits before rounding a hex value.
5781 * stdlib/tst-strtod.c (tests): Add another test.
5782
5197d9c2
AK
57832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5784
5785 * sysdeps/s390/fpu/libm-test-ulps: Update.
5786
f0c1dedf
AJ
57872012-05-03 Andreas Jaeger <aj@suse.de>
5788
5789 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5790 does not get optimized out.
5791 (malloc_opt_barrier): New.
5792
a65ef2ae 57932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5794 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5795
2b942cb7 5796 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5797 intermediate file deletion.
2b942cb7 5798 (generated): Add .symlist files.
a65ef2ae 5799
54b71e02
JM
58002012-05-03 Joseph Myers <joseph@codesourcery.com>
5801
5802 [BZ #13775]
5803 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5804 Redirect under this condition.
5805 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5806 [__USE_GNU] (__dprintf_chk): Not under this condition.
5807 [__USE_GNU] (__vdprintf_chk): Likewise.
5808 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5809 under this condition.
5810 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5811 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5812 [__USE_XOPEN2K8] (vdprintf): Likewise.
5813 [__USE_GNU] (__dprintf_chk): Not under this condition.
5814 [__USE_GNU] (__vdprintf_chk): Likewise.
5815 [__USE_GNU] (dprintf): Likewise.
5816 [__USE_GNU] (vdprintf): Likewise.
5817
d3dfcc41
RM
58182012-05-03 Roland McGrath <roland@hack.frob.com>
5819
5820 * elf/Makefile (common-generated): Set this instead of generated for
5821 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5822 $(all-built-dso)-derived lists.
5823
7ac30cc5
AJ
58242012-05-03 Andreas Jaeger <aj@suse.de>
5825
0c51e550
AJ
5826 * sysdeps/i386/fpu/libm-test-ulps: Update.
5827
7ac30cc5
AJ
5828 * FAQ: Removed.
5829 * FAQ.in: Likewise.
5830 * scripts/gen-FAQ.pl: Likewise.
5831 * manual/install.texi (Installation): Point to online location of
5832 FAQ.
5833 * Makefile (files-for-dist): Remove FAQ.
5834 (FAQ): Remove.
5835
d4c2917f
AM
58362012-05-02 Allan McRae <allan@archlinux.org>
5837
5838 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5839 (LDFLAGS-reldepmod5.so): Likewise.
5840 (LDFLAGS-reldep6mod1.so): Likewise.
5841 (LDFLAGS-reldep6mod4.so): Likewise.
5842 (LDFLAGS-reldep8mod3.so): Likewise.
5843 (LDFLAGS-unload4mod1.so): Likewise.
5844 (LDFLAGS-unload4mod2.so): Likewise.
5845 (LDFLAGS-tst-initorder): Likewise.
5846 (LDFLAGS-tst-initordera2.so): Likewise.
5847 (LDFLAGS-tst-initordera3.so): Likewise.
5848 (LDFLAGS-tst-initordera4.so): Likewise.
5849 (LDFLAGS-tst-initorderb2.so): Likewise.
5850 (LDFLAGS-noload): Likewise.
5851 (LDFLAGS-next): Likewise.
5852 (LDFLAGS-order2mod1.so): Likewise.
5853 (LDFLAGS-order2mod2.so): Likewise.
5854 (LDFLAGS-tst-initorder2): Likewise.
5855 (LDFLAGS-tst-initorder2a.so): Likewise.
5856 (LDFLAGS-tst-initorder2b.so): Likewise.
5857 (LDFLAGS-tst-initorder2c.so): Likewise.
5858 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5859
d77f993f
DM
58602012-05-02 David S. Miller <davem@davemloft.net>
5861
5862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5863
171a70b4
PP
58642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5865
5866 [BZ #14055]
5867 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5868
0be196ad
AJ
58692012-05-02 Andreas Jaeger <aj@suse.de>
5870
5871 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5872 since we manipulate rounding mode.
5873 (CPPFLAGS-test-idouble.c): Likewise.
5874 (CPPFLAGS-test-ifloat.c): Likewise.
5875 (CFLAGS-test-ldouble.c): Likewise.
5876 (CFLAGS-test-double.c): Likewise.
5877 (CFLAGS-test-float.c): Likewise.
5878 (CFLAGS-test-misc.c): Likewise.
5879 (CFLAGS-test-test-fenv.c): Likewise.
5880
4f9d04aa
AZ
58812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5882
2b942cb7
RM
5883 [BZ #2550]
5884 [BZ #2570]
5885 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5886 comparisons to determine direction to adjust input.
4f9d04aa 5887
82a79e7d
RM
58882012-05-01 Roland McGrath <roland@hack.frob.com>
5889
f5a01ca9
RM
5890 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5891 output to the target.
5892
90fe4186
RM
5893 * scripts/localplt.awk: New file.
5894 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5895 (check-localplt-CFLAGS): Variable removed.
5896 ($(all-built-dso:=.jmprel)): New static pattern rule.
5897 (generated): Add those targets.
5898 (localplt-built-dso): New variable.
5899 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5900
5901 * elf/check-localplt.c: File removed.
5902
82397ed6
RM
5903 * scripts/check-execstack.awk: New file.
5904 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5905 (check-execstack-CFLAGS): Variable removed.
5906 ($(objpfx)check-execstack.h): Target removed.
5907 ($(objpfx)execstack-default): New target.
5908 (generated): Add that instead of check-execstack.h.
5909 ($(all-built-dso:=.phdr)): New static pattern rule.
5910 (generated): Add those targets.
5911 * elf/check-execstack.c: File removed.
5912
82a79e7d
RM
5913 * scripts/check-textrel.awk: New file.
5914 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5915 (check-textrel-CFLAGS): Variable removed.
5916 (all-built-dso): Use := to define.o
5917 ($(all-built-dso:=.dyn)): New static pattern rule.
5918 (generated): Add those targets.
5919 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5920 * config.make.in (READELF): New substituted variable.
5921 * elf/check-textrel.c: File removed.
5922
62fde54f 59232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5924
615605c9
JM
5925 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5926 allow.
5927 * conform/data/ctype.h-data [C99-based standards] (isblank):
5928 Expect function.
5929 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5930 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5932 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5933 Specify type. Require positive value.
5934 (EILSEQ): Likewise.
5935 (ERANGE): Likewise.
5936 [ISO || POSIX] (EILSEQ): Do not expect.
5937 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5938 Specify type. Require positive value.
5939 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5940 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5941 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5943 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5944 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5945 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5946 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5947 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5948 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5949 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5950 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5951 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5952 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5953 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5954 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5955 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5956 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5957 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5958 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5959 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5960 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5961 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5962 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5963 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5964 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5965 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5966 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5967 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5968 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5969 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5970 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5971 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5972 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5973 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5974 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5975 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5976 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5977 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5978 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5979 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5980 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5981 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5982 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5983 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5984 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5985 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5986 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5987 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5988 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5989 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5990 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5991 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5992 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5993 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5994 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5995 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5996 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5997 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5998 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5999 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6000 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6001 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6002 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6003 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6004 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6005 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6006 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6007 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6008 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6009 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6010 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6011 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6012 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6013 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6014 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6015 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6016 Require >= 2.
6017 (FLT_ROUNDS): Expect as macro, not constant.
6018 (FLT_MANT_DIG): Use macro-int-constant.
6019 (DBL_MANT_DIG): Likewise.
6020 (LDBL_MANT_DIG): Likewise.
6021 (FLT_DIG): Likewise.
6022 (DBL_DIG): Likewise.
6023 (LDBL_DIG): Likewise.
6024 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6025 (DBL_MIN_EXP): Likewise.
6026 (LDBL_MIN_EXP): Likewise.
6027 (FLT_MAX_EXP): Use macro-int-constant.
6028 (DBL_MAX_EXP): Likewise.
6029 (LDBL_MAX_EXP): Likewise.
6030 (FLT_MAX_10_EXP): Likewise.
6031 (DBL_MAX_10_EXP): Likewise.
6032 (LDBL_MAX_10_EXP): Likewise.
6033 (FLT_MAX): Use macro-constant.
6034 (DBL_MAX): Likewise.
6035 (LDBL_MAX): Likewise.
6036 (FLT_EPSILON): Use macro-constant. Give upper bound.
6037 (DBL_EPSILON): Likewise.
6038 (LDBL_EPSILON): Likewise.
6039 (FLT_MIN): Likewise.
6040 (DBL_MIN): Likewise.
6041 (LDBL_MIN): Likewise.
6042 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6043 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6044 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6045 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6046 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6047 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6048 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6049 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6050 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6051 [ISO11] (FLT_TRUE_MIN): Likewise.
6052 [ISO11] (LDBL_TRUE_MIN): Likewise.
6053 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6054 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6055 (SCHAR_MIN): Use macro-int-constant. Specify type.
6056 (SCHAR_MAX): Likewise.
6057 (UCHAR_MAX): Likewise.
6058 (CHAR_MIN): Likewise.
6059 (CHAR_MAX): Likewise.
6060 (MB_LEN_MAX): Use macro-int-constant.
6061 (SHRT_MIN): Use macro-int-constant. Specify type.
6062 (SHRT_MAX): Likewise.
6063 (USHRT_MAX): Likewise.
6064 (INT_MAX): Likewise.
6065 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6066 bound negative.
6067 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6068 bound with "U".
6069 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6070 bound with "L".
6071 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6072 bound negative. Suffix upper bound with "L".
6073 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6074 bound with "UL".
6075 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6076 Specify type.
6077 [C99-based standards] (LLONG_MAX): Likewise.
6078 [C99-based standards] (ULLONG_MAX): Likewise.
6079 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6080 == 0.
6081 [ISO11] (max_align_t): Require type.
6082 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6083
c9140a62
JM
6084 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6085 from $CFLAGS, without defining away __attribute__ calls.
6086 (checknamespace): Use $CFLAGS_namespace.
6087
9af0bf29
JM
6088 * conform/conformtest.pl (@keywords): Only include C99 keywords
6089 for standards based on C99 or C11.
6090
343222a2
JM
6091 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6092 Disable tests.
6093 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6094 UNIX98]: Likewise.
6095
661f8cf0
JM
6096 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6097 usability of symbols in #if.
6098
ee74b9cb
JM
6099 * conform/conformtest.pl: If macro or constant types start
6100 "promoted:", expect the symbol to be of the following type
6101 promoted by the integer promotions.
62fde54f 6102
aafc49b3
JM
6103 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6104 in one place. Also handle "macro-constant".
6105
fefdf574
JM
6106 * conform/conformtest.pl: Only accept expected macro values with
6107 "==". Parse all "macro" lines in one place.
6108 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6109
f2d922fe
JM
6110 * conform/conformtest.pl: Handle braced types on "constant" lines
6111 instead of handling "typed-constant".
6112 * conform/data/signal.h-data: Use "constant" instead of
6113 "typed-constant".
6114
d22956c9
JM
6115 * conform/conformtest.pl: Handle "optional-" at start of lines in
6116 one place rather than duplicating several cases. Handle each
6117 format of "macro" line with initial "optional-".
6118
028e2e38
JM
6119 * conform/conformtest.pl: Only accept expected constant or
6120 optional-constant values with "==". Parse all "constant" lines in
6121 one place. Parse all "optional-constant" lines in one place.
6122 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6123 * conform/data/fmtmsg.h-data: Likewise.
6124 * conform/data/netinet/in.h-data: Likewise.
6125 * conform/data/tar.h-data: Likewise.
6126 * conform/data/limits.h-data: Use "==" form on "constant" and
6127 "optional-constant" lines.
6128
1b8f2850
JM
6129 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6130 Use -std=c99 for XOPEN2K.
6131 (@knownproblems): Remove.
6132 (newtoken): Don't check %isknown.
6133
a05a144b
JM
6134 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6135 Do not expect macro.
6136 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6137 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6138 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6139 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6140 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6141 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6142 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6143 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6144 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6145 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6146 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6147 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6148 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6149 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6150 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6151 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6152 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6153 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6154 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6155 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6156 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6157 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6158 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6159 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6160 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6161 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6162 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6163 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6164 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6165 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6166 [XPG3] (acosh): Likewise.
6167 [XPG3] (asinh): Likewise.
6168 [XPG3] (atanh): Likewise.
6169 [XPG3] (cbrt): Likewise.
6170 [XPG3] (expm1): Likewise.
6171 [XPG3] (ilogb): Likewise.
6172 [XPG3] (log1p): Likewise.
6173 [XPG3] (logb): Likewise.
6174 [XPG3] (nextafter): Likewise.
6175 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6176 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6177 [XPG3] (remainder): Likewise.
6178 [XPG3] (rint): Likewise.
6179 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6180 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6181 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6182 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6183 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6184 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6185 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6186 [UNIX98 || XOPEN2K] (scalb): Expect.
6187 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6188 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6189 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6190 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6191 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6192 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6193 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6194 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6195 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6196 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6197 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6198 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6199 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6200 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6201 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6202 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6203 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6204 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6205 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6206 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6207 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6208 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6209 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6210 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6211 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6212 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6213 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6214 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6215 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6216 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6217 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6218 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6219 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6220 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6221 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6222 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6223 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6224 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6225 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6226 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6227 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6228 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6229 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6230 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6231 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6232 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6233 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6234 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6235 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6236 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6237 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6238 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6239 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6240 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6241 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6242 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6243 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6244 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6245 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6246 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6247 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6248 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6249 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6250 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6251 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6252 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6253 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6254 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6255 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6256 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6257 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6258 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6259 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6260 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6261 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6262 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6263 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6264 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6265 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6266 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6267 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6268 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6269 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6270 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6271 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6272 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6273 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6274 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6275 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6276 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6277 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6278 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6279 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6280 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6281 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6282 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6283 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6284 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6285 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6286 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6287 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6288 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6289 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6290 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6291 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6292 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6293 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6294 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6295 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6296 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6297 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6298 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6299 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6300 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6301 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6302 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6303 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6304 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6305 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6306 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6307 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6308 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6309 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6310 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6311 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6312 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6313 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6314 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6315 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6316 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6317 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6318 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6319 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6320 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6321 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6322 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6323 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6324
73c5ebe3
JM
6325 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6326 _XOPEN_SOURCE_EXTENDED for XPG4.
6327
39c33b6c
JM
6328 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6329
62fde54f
JM
6330 * Makeconfig (localtime): Remove variable.
6331 (inst_localtime-file): Likewise.
6332
0741d64c
AS
63332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6334
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6336 Update.
6337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6338 Update.
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6340 Update.
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6342 Update.
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6344 Update.
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6346 Update.
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6348 Update.
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6350 Update.
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6352 Update.
6353
7cb029ee
JM
63542012-05-01 Joseph Myers <joseph@codesourcery.com>
6355
6356 [BZ #2550]
6357 [BZ #2570]
6358 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6359 comparisons to determine direction to adjust input.
6360 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6361 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6363 Likewise.
6364 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6365 Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6367 Likewise.
6368 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6369 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6370 Likewise.
6371 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6372 Likewise.
6373 * math/libm-test.inc (nexttoward_test): Add more tests.
6374
412bd966
AS
63752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6376
6377 [BZ #14040]
6378 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6379 in version GLIBC_2.1, not GLIBC_2.0.
6380 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6381 Likewise.
6382
9568c0c2
JM
63832012-04-30 Joseph Myers <joseph@codesourcery.com>
6384
adfbc8ac
JM
6385 [BZ #13942]
6386 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6387 (1 - x) * (1 + x).
6388 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6389 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6390 * math/libm-test.inc (acos_test): Add more tests.
6391 (asin_test): Likewise.
6392 * sysdeps/i386/fpu/libm-test-ulps: Update.
6393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6394
5ba3cc69
JM
6395 [BZ #14034]
6396 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6397 of square root.
6398 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6399 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6400 * math/libm-test.inc (acos_test_tonearest): New function.
6401 (acos_test_towardzero): Likewise.
6402 (acos_test_downward): Likewise.
6403 (acos_test_upward): Likewise.
6404 (asin_test_tonearest): Likewise.
6405 (asin_test_towardzero): Likewise.
6406 (asin_test_downward): Likewise.
6407 (asin_test_upward): Likewise.
6408 (main): Call the new functions.
6409 * sysdeps/i386/fpu/libm-test-ulps: Update.
6410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6411
9568c0c2
JM
6412 [BZ #13884]
6413 [BZ #13924]
6414 * math/e_exp10.c: Include <float.h>.
6415 (__ieee754_exp10): Handle underflow here rather than multiplying
6416 large negative argument by M_LN10.
6417 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6418 of __ieee754_expf.
6419 * math/e_exp10l.c: Include <float.h>.
6420 (__ieee754_exp10l): Handle underflow here rather than multiplying
6421 large negative argument by M_LN10l.
6422 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6423 spurious overflow exception on underflow.
6424
5ac3ea17
MP
64252012-04-29 Marek Polacek <polacek@redhat.com>
6426
6427 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6428 (__fortify_function): New macro.
6429 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6430 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6431 __extern_always_inline.
6432 * libio/bits/stdio2.h: Likewise.
6433 * libio/bits/stdio.h: Likewise.
6434 * string/string.h: Likewise.
6435 * string/bits/string3.h: Likewise.
6436 * include/stdio.h: Likewise.
6437 * stdlib/bits/stdlib.h: Likewise.
6438 * stdlib/stdlib.h: Likewise.
6439 * rt/bits/mqueue2.h: Likewise.
6440 * rt/mqueue.h: Likewise.
6441 * posix/bits/unistd.h: Likewise.
6442 * posix/unistd.h: Likewise.
6443 * io/bits/poll2.h: Likewise.
6444 * io/bits/fcntl2.h: Likewise.
6445 * io/fcntl.h: Likewise.
6446 * io/sys/poll.h: Likewise.
6447 * misc/bits/syslog.h: Likewise.
6448 * misc/bits/syslog-ldbl.h: Likewise.
6449 * misc/sys/syslog.h: Likewise.
6450 * socket/bits/socket2.h: Likewise.
6451 * socket/sys/socket.h: Likewise.
6452 * debug/tst-chk1.c: Likewise.
6453 * wcsmbs/bits/wchar2.h: Likewise.
6454 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6455 * wcsmbs/wchar.h: Likewise.
6456
ecf0ebfb
AJ
64572012-04-29 Andreas Jaeger <aj@suse.de>
6458
6459 * Makerules (tests): Remove enable-check-abi protection.
6460 (check-abi-warn): Remove.
6461 (check-abi-%): Remove check-abi-warn usage.
6462
6463 * configure.in: Remove check-abi configure option.
6464 * configure: Regenerated.
6465 * config.make.in (enable-check-abi): Remove.
6466
6d5c57fa
AS
64672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6468
24c5d07e 6469 [BZ #14033]
ded5180a
AS
6470 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6471 double functions to double *_finite functions.
6472
7e0d315d
AS
6473 [BZ #13941]
6474 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6475 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6476 LDBL_MIN_EXP.
6477 * stdio-common/Makefile (tests): Add tst-sprintf3.
6478 * stdio-common/tst-sprintf3.c: New file.
6479
6d5c57fa
AS
6480 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6481 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6482
0749ff8b
JM
64832012-04-28 Joseph Myers <joseph@codesourcery.com>
6484
6485 * conform/conformtest.pl: Remove duplicate typed-constant
6486 handling.
6487
8dbd5d7b
DM
64882012-04-28 David S. Miller <davem@davemloft.net>
6489
6490 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6491 (check-abi-%): Remove AWK script prerequisite and explicit
6492 abilist directory.
6493 (check-abi): Rewrite to just diff the symlist with the abilist.
6494 (config-tls, config-abi-config): Delete, no longer used.
6495 (update-abi-%): Remove AWK script and explicit abilist directory.
6496 (update-abi): Rewrite to simply compare and conditionally copy the
6497 symlist and the sysdep abilist file. Remove update-abi-config
6498 checks.
6499 * abilist/ld.abilist: Remove.
6500 * abilist/libBrokenLocale.abilist: Remove.
6501 * abilist/libanl.abilist: Remove.
6502 * abilist/libcrypt.abilist: Remove.
6503 * abilist/libdl.abilist: Remove.
6504 * abilist/librt.abilist: Remove.
6505 * abilist/libthread_db.abilist: Remove.
6506 * abilist/libutil.abilist: Remove.
6507 * scripts/extract-abilist.awk: Remove.
6508 * scripts/merge-abilist.awk: Remove.
6509 * sysdeps/generic/libcidn.abilist: New file.
6510 * sysdeps/generic/libnss_compat.abilist: New file.
6511 * sysdeps/generic/libnss_db.abilist: New file.
6512 * sysdeps/generic/libnss_dns.abilist: New file.
6513 * sysdeps/generic/libnss_files.abilist: New file.
6514 * sysdeps/generic/libnss_hesiod.abilist: New file.
6515 * sysdeps/generic/libnss_nis.abilist: New file.
6516 * sysdeps/generic/libnss_nisplus.abilist: New file.
6517 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6518 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6519 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6520 file.
6521 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6522 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6523 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6524 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6525 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6526 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6527 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6528 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6529 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6530 file.
6531 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6532 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6533 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6534 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6535 file.
6536 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6537 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6538 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6539 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6540 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6541 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6542 file.
6543 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6544 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6545 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6546 file.
6547 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6549 New file.
6550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6551 New file.
6552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6553 New file.
6554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6555 New file.
6556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6557 New file.
6558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6559 New file.
6560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6561 New file.
6562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6563 New file.
6564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6565 New file.
6566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6567 New file.
6568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6569 New file.
6570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6571 New file.
6572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6573 New file.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6575 file.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6577 New file.
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6579 New file.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6581 file.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6583 New file.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6585 New file.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6587 file.
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6589 New file.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6591 New file.
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6593 New file.
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6595 New file.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6597 New file.
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6599 New file.
6600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6602 file.
6603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6604 New file.
6605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6606 file.
6607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6608 file.
6609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6610 file.
6611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6612 file.
6613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6614 file.
6615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6616 New file.
6617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6618 file.
6619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6620 file.
6621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6622 New file.
6623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6624 file.
6625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6627 file.
6628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6629 New file.
6630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6631 file.
6632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6633 file.
6634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6635 file.
6636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6637 file.
6638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6639 file.
6640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6641 New file.
6642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6643 file.
6644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6645 file.
6646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6647 New file.
6648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6649 file.
6650 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6651 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6652 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6653 file.
6654 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6655 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6656 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6657 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6658 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6659 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6660 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6661 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6662 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6663 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6666 file.
6667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6668 New file.
6669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6670 file.
6671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6672 file.
6673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6674 file.
6675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6676 file.
6677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6678 file.
6679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6680 New file.
6681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6682 New file.
6683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6684 file.
6685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6686 New file.
6687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6688 file.
6689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6691 file.
6692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6693 New file.
6694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6695 file.
6696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6697 file.
6698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6699 file.
6700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6701 file.
6702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6703 file.
6704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6705 New file.
6706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6707 New file.
6708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6709 file.
6710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6711 New file.
6712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6713 file.
6714
41d73a1b
JM
67152012-04-28 Joseph Myers <joseph@codesourcery.com>
6716
6717 * conform/conformtest.pl: Fix typo in handling typed-constant from
6718 allow-header.
6719
28aeeda4
JM
67202012-04-27 Joseph Myers <joseph@codesourcery.com>
6721
adae8f5e
JM
6722 * README: Cut down references to pre-2.6 Linux kernels and
6723 Linuxthreads. Update lists of configurations in libc and ports
6724 and sort alphabetically. Say "or newer" with Linux kernel version
6725 requirements.
6726
28aeeda4
JM
6727 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6728
a462cb63
RA
67292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6730
6731 [BZ #887]
6732 * math/libm-test.inc (logb_test_downward): New test to expose
6733 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6734 rounding mode.
6735
6ad3493e
JM
67362012-04-27 Joseph Myers <joseph@codesourcery.com>
6737
6738 [BZ #14027]
6739 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6740 to be done.
6741 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6742 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6743
2ce4f015
JM
67442012-04-26 Joseph Myers <joseph@codesourcery.com>
6745
5aeb141a
JM
6746 * sysdeps/unix/i386/brk.S: Remove file.
6747 * sysdeps/unix/i386/dl-brk.S: Likewise.
6748 * sysdeps/unix/i386/pipe.S: Likewise.
6749 * sysdeps/unix/i386/sigreturn.S: Likewise.
6750 * sysdeps/unix/i386/syscall.S: Likewise.
6751 * sysdeps/unix/i386/vfork.S: Likewise.
6752 * sysdeps/unix/i386/wait.S: Likewise.
6753
7143acae
JM
6754 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6755 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6756
2ce4f015
JM
6757 * configure.in (arm*-none*): Do not allow without
6758 --enable-hacker-mode.
6759 (netbsd*): Remove case setting base_os.
6760 (386bsd*): Likewise.
6761 (freebsd*): Likewise.
6762 (bsdi*): Likewise.
6763 (osf*): Likewise.
6764 (sunos*): Likewise.
6765 (ultrix*): Likewise.
6766 (newsos*): Likewise.
6767 (dynix*): Likewise.
6768 (*bsd*): Likewise.
6769 (sysv*): Likewise.
6770 (isc*): Likewise.
6771 (esix*): Likewise.
6772 (sco*): Likewise.
6773 (minix*): Likewise.
6774 (irix4*): Likewise.
6775 (irix6*): Likewise.
6776 (solaris[2-9]*): Likewise.
6777 (none): Likewise.
6778 * configure: Regenerated.
6779
0ac229c8
AZ
67802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6781
6782 [BZ #11521]
6783 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6784 overflow or cancellation in calculating denominator.
6785 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6786 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6787 down expression to avoid unexpected rounding in newer GCCs.
6788 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6789
33f244f4
DM
67902012-04-26 David S. Miller <davem@davemloft.net>
6791
6792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6793 long-double compat symbols.
6794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6807
cfa1f3e8
DM
68082012-04-25 David S. Miller <davem@davemloft.net>
6809
6810 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6811 HWCAP_* values only after the memory barriers have been defined.
6812 (atomic_full_barrier): Define.
6813 (atomic_read_barrier): Define.
6814 (atomic_write_barrier): Define.
6815
6e236b92
SP
68162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6817
6818 * shlib-versions: Add libgcc_s version information.
6819 * sysdeps/generic/libgcc_s.h: Remove.
6820 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6821 libgcc_s.h.
6822 * sysdeps/gnu/unwind-resume.c: Likewise.
6823 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6824
aab39a09
DM
68252012-04-25 David S. Miller <davem@davemloft.net>
6826
6827 * sysdeps/unix/sparc/brk.S: Delete.
6828 * sysdeps/unix/sparc/dl-brk.S: Delete.
6829 * sysdeps/unix/sparc/pipe.S: Delete.
6830 * sysdeps/unix/sparc/sysdep.S: Delete.
6831 * sysdeps/unix/sparc/sysdep.h: Delete.
6832 * sysdeps/unix/sparc/vfork.S: Delete.
6833 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6834 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6835 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6836 ret_ERRVAL, r0, r1, MOVE): Define.
6837 (JUMPTARGET): Remove.
6838 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6839 sysdeps/unix/sparc/sysdep.h
6840 (ENTRY, END): Remove.
6841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6842
a3cc4f48
JM
68432012-04-25 Joseph Myers <joseph@codesourcery.com>
6844
2ed8cda2
JM
6845 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6846 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6847 -DIS_IN_build.
6848
35d76d59
JM
6849 * timezone/README: Update upstream location and email address for
6850 tzcode and tzdata.
6851 * timezone/zdump.c: Update from tzcode 2012b.
6852 * timezone/zic.c: Likewise.
6853
a3cc4f48
JM
6854 * configure.in (libc_cv_as_needed): Remove test.
6855 * configure: Regenerated.
6856 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6857 conditional definition.
6858 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6859 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6860 * config.make.in (have-as-needed): Remove variable.
6861
ceab42c3
SP
68622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6863 Paul Pluzhnikov <ppluzhnikov@google.com>
6864
6865 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6866 strings correctly.
6867
3ce2865f
CLT
68682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6869
6870 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6871 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6872 * sysdeps/sh/strlen.S: Likewise.
6873
f37e0d68
JM
68742012-04-24 Joseph Myers <joseph@codesourcery.com>
6875
ae186e9a
JM
6876 * sysdeps/unix/fork.S: Remove file.
6877 * sysdeps/unix/i386/fork.S: Likewise.
6878 * sysdeps/unix/sparc/fork.S: Likewise.
6879
b96914af
JM
6880 * sysdeps/unix/system.c: Remove file.
6881 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6882
f37e0d68
JM
6883 * sysdeps/unix/getegid.S: Remove file.
6884 * sysdeps/unix/geteuid.S: Likewise.
6885
87ef29ca
RM
68862012-04-24 Roland McGrath <roland@hack.frob.com>
6887
83bcd236
RM
6888 * scripts/check-localplt.awk: New file.
6889 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6890 of diff.
6891 * scripts/data/localplt-generic.data: Add a comment.
6892
87ef29ca
RM
6893 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6894 NODE when __dir_mkfile failed.
6895 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6896 Reported by Ludovic Courtès <ludo@gnu.org>.
6897
e5a6e567
AJ
68982012-04-24 Andreas Jaeger <aj@suse.de>
6899
6900 * Makerules (common-clean): Also remove gen-as-const-headers
6901 files.
6902
c1820385
JM
69032012-04-24 Joseph Myers <joseph@codesourcery.com>
6904
6905 * Makerules (native-compile): Do not change working directory for
6906 build. Use $(OUTPUT_OPTION) in command.
6907 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6908
94e02fc4
AZ
69092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6910
6911 [BZ #13886]
6912 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6913 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6914 * math/libm-test.inc (floor_test): Add more tests.
6915 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6916
3a533ca3
JM
69172012-04-24 Joseph Myers <joseph@codesourcery.com>
6918
940ab4b3
JM
6919 * sysdeps/unix/getdents.c: Remove file.
6920 * sysdeps/unix/sysv/getdents.c: Likewise.
6921 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6922
90e037bd
JM
6923 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6924 sysdeps/unix/mman/syscalls.list.
6925 (mmap): Likewise.
6926 (mprotect): Likewise.
6927 (msync): Likewise.
6928 (munmap): Likewise.
6929 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6930 * sysdeps/unix/mman/syscalls.list: Remove.
6931 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6932
3a533ca3
JM
6933 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6934 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6935 * configure: Regenerated.
6936 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6937 $(libgcc_s_suffix).
6938 * config.make.in (libgcc_s_suffix): Remove variable.
6939
1ad743de
JM
69402012-04-23 Joseph Myers <joseph@codesourcery.com>
6941
4ad451e2
JM
6942 * sysdeps/unix/sysv/gethostname.c: Move to ...
6943 * sysdeps/posix/gethostname.c: ... here.
6944
5e37ce39
JM
6945 * sysdeps/unix/execve.S: Remove file.
6946
1ad743de
JM
6947 * sysdeps/unix/_exit.S: Remove file.
6948
4e681b5b
AJ
69492012-04-23 Andreas Jaeger <aj@suse.de>
6950
6951 [BZ #13739]
6952 * manual/Makefile: Remove make dist support, there's no
6953 need for a stand-alone documentation tar ball.
6954 (TEXI2DVI): Define always, it's not in Makeconfig.
6955 (dist): Removed.
6956 (tar-it): Removed.
6957 (edition): Removed.
6958 (glibc-doc-$(edition).tar): Removed
6959 (%.Z): Removed.
6960 (%.gz): Removed.
6961 (%.uu): Removed.
6962 (ETAGS): Remove, it's in Makeconfig.
6963 (move-if-change): Remove, it's in Makeconfig.
6964
c0baea34
PE
69652013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6966
6967 [BZ #13970]
6968 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6969 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6970 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6971 (strtod_l, strtof_l, strtold_l): Remove __wur.
6972 It is not necessarily an error to ignore strtol's return value.
6973 One can reliably look at the stored endptr to decide whether
6974 the number had valid syntax.
6975
7c0616fa
AJ
69762012-04-21 Andreas Jaeger <aj@suse.de>
6977
803cb6b7 6978 [BZ #13739]
7c0616fa
AJ
6979 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6980
b0fe253f
JM
69812012-04-21 Joseph Myers <joseph@codesourcery.com>
6982
6983 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6984 * sysdeps/unix/sysv/Versions: Remove file.
6985
8280f22d
MT
69862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6987
6988 [BZ #13927]
6989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6990
75ce411f 69912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6992
6993 [BZ #7064]
6994 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6995 version from __vm86.
6996
097d59fa
JM
69972012-04-20 Joseph Myers <joseph@codesourcery.com>
6998
a90f3bcb
JM
6999 * sysdeps/unix/common/lxstat.c: Remove file.
7000 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7001
edc7ea78
JM
7002 * sysdeps/unix/sysv/Makefile: Remove file.
7003
cb78c221
JM
7004 * sysdeps/unix/sysv/direct.h: Remove file.
7005
efa6a45f
JM
7006 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7007 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7008 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7009 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7010 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7011 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7012 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7013
9c9f2d0c
JM
7014 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7015
4541c83b
JM
7016 * sysdeps/unix/xmknod.c: Remove file.
7017 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7018
f5d153a0
JM
7019 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7020
aa746595
JM
7021 * sysdeps/unix/sysv/i386/time.S: Remove file.
7022
cce5905e
JM
7023 * sysdeps/unix/fxstat.c: Remove file.
7024 * sysdeps/unix/xstat.c: Likewise.
7025 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7026
37fa3841
JM
7027 * sysdeps/unix/sysv/sigaction.c: Remove file.
7028
ff1962a3
JM
7029 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7030 (sysdep_headers): Remove variable.
7031 [termio.h not in sysdep_headers] (generated): Likewise.
7032 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7033 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7034 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7035 * sysdeps/unix/sysv/tcflow.c: Likewise.
7036 * sysdeps/unix/sysv/tcflush.c: Likewise.
7037 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7038 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7039 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7040 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7041 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7042
e7740d31
JM
7043 * sysdeps/unix/siglist.c: Remove file.
7044
ee06f18b
JM
7045 * sysdeps/unix/getppid.S: Remove file.
7046
097d59fa
JM
7047 * sysdeps/unix/mkdir.c: Remove file.
7048 * sysdeps/unix/rmdir.c: Likewise.
7049
ff3d51ec
AS
70502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7051
7052 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7053 ERR_MAX value.
7054 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7055 errlist-compat value.
7056
50f81fd7
DM
70572012-04-18 David S. Miller <davem@davemloft.net>
7058
7059 * sysdeps/generic/memcopy.h (reg_char): Delete.
7060 * debug/strcat_chk.c: Use char, not reg_char.
7061 * debug/strcpy_chk.c: Likewise.
7062 * debug/strncat_chk.c: Likewise.
7063 * debug/strncpy_chk.c: Likewise.
7064 * string/memchr.c: Likewise.
7065 * string/memrchr.c: Likewise.
7066 * string/rawmemchr.c: Likewise.
7067 * string/strcat.c: Likewise.
7068 * string/strchr.c: Likewise.
7069 * string/strchrnul.c: Likewise.
7070 * string/strcmp.c: Likewise.
7071 * string/strcpy.c: Likewise.
7072 * string/strncat.c: Likewise.
7073 * string/strncmp.c: Likewise.
7074 * string/strncpy.c: Likewise.
7075
8ff41c46
WS
70762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7077
7078 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7079 __builtin_memcopy is called when src and dest ranges are known to not
7080 overlap.
7081
6b652f46
WS
70822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7083
7084 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7085 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7086 fwd_align_merge macro call.
7087 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7088 bwd_align_merge macro call.
7089 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7090
b282631e
WS
70912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7092
7093 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7094 bwd_align_merge macros.
7095 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7096 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7097 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7098
95aa737c
DM
70992012-04-18 David S. Miller <davem@davemloft.net>
7100
7101 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7102
7a99a614
AJ
71032012-04-18 Andreas Jaeger <aj@suse.de>
7104
7105 [BZ# 6794]
7106 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7107 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7108 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7109
7110 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7111 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7112 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7113
7114 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7115 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7116 Adjust for changed ldbl-128 files.
7117
7118 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7119 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7120 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7121
e5270c23
DM
71222012-04-17 David S. Miller <davem@davemloft.net>
7123
7124 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7125
fb5e92c9
AS
71262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7127
7128 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7129 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7130 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7131 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7132 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7133 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7134
76da7265
AZ
71352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7136
7137 [BZ #6794]
7138 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7139 * math/libm-test.inc: Add ilogb errno and exception tests.
7140 * math/w_ilogb.c: New file: ilogb wrapper.
7141 * math/w_ilogbf.c: New file: ilogbf wrapper.
7142 * math/w_ilogbl.c: New file: ilogbl wrapper.
7143 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7144 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7145 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7146 exception being thrown with 0.0 as argument.
7147 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7148 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7149 exception being thrown with 0.0 as argument.
7150 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7151 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7152 exception being thrown with 0.0 as argument.
7153 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7154 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7155 exception being thrown with 0.0 as argument.
7156 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7157 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7158 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7159 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7160 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7161 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7162 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7163 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7164 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7165
0396e69d
PB
71662012-04-17 Petr Baudis <pasky@ucw.cz>
7167
7168 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7169 with altivec.
7170
750b5926
MP
71712012-04-16 Marek Polacek <polacek@redhat.com>
7172
7173 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7174
751728a1
MP
71752012-04-16 Marek Polacek <polacek@redhat.com>
7176
7177 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7178 operands of fdivp instruction.
7179
34a27407
L
71802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7181
7182 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7183 * elf/tst-auditmod3b.c: Likewise.
7184 * elf/tst-auditmod4b.c: Likewise.
7185 * elf/tst-auditmod5b.c: Likewise.
7186 * elf/tst-auditmod6b.c: Likewise.
7187 * elf/tst-auditmod6c.c: Likewise.
7188 * elf/tst-auditmod7b.c: Likewise.
7189 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7190 * sysdeps/x86_64/preconfigure.in: Likewise.
7191 * sysdeps/x86_64/preconfigure: Regenerated.
7192
7e73e17d
L
71932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7194
7195 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7196 __ILP32__.
7197
c7a6ab72
AB
71982012-04-13 Antoine Balestrat <merkil33@gmail.com>
7199
7200 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7201 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7202
a9e8e0e0
CL
72032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7204
7205 [BZ #13973]
7206 * locale/iso-639.def: Fix gl language name. Spotted by
7207 Yaron Shahrabani.
7208
ec98af7d
RM
72092012-04-12 Roland McGrath <roland@hack.frob.com>
7210
7211 [BZ #2074]
7212 * libio/libio.h (__io_write_fn): Update comment.
7213
247c3ede
PB
72142012-04-12 Petr Baudis <pasky@ucw.cz>
7215
7216 [BZ #2074]
7217 * stdio.texi (Hook Functions): The user provided writer function
7218 is not allowed to return -1.
7219
55939d6d
DM
72202012-04-11 David S. Miller <davem@davemloft.net>
7221
7222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7223
90020f5a
MF
72242012-04-11 Mike Frysinger <vapier@gentoo.org>
7225
7226 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7227 Add a leading slash to rtkaio.
7228
288f9098
JM
72292012-04-11 Jim Meyering <meyering@redhat.com>
7230
90020f5a
MF
7231 [BZ #11959]
7232 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7233 It is not necessarily an error to ignore fwrite's return
7234 value. One can reliably use ferror to test for errors after
7235 the fact.
288f9098 7236
4be2b570
L
72372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7238
7239 * bits/types.h (__snseconds_t): New type.
7240 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7241
7242 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7243 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7244 (__SNSECONDS_T_TYPE): Likewise.
7245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7246 (__SNSECONDS_T_TYPE): Likewise.
7247 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7248 (__SNSECONDS_T_TYPE): Likewise.
7249
288f9098 72502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7251
7252 [BZ #2636]
7253 * manual/time.texi (Processor Time): Return type of times is
7254 elapsed real time since an arbitrary point in the past.
7255 (CPU Time): Move CLK_TCK from here...
7256 (Processor Time): ...to here. Correct description.
7257 * manual/conf.texi (Constants for Sysconf): Correct description of
7258 _SC_CLK_TCK.
7259
d7dd4413
DM
72602012-04-10 David S. Miller <davem@davemloft.net>
7261
7262 [BZ #13967]
7263 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7264 where the is a gap between DT_REL(A) and DT_JMPREL.
7265
b46068fc
L
72662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7267
7268 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7269 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7270 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7271
73d65cc3
SP
72722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7273
7274 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7275 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7276 (dl_main): Handle --inhibit-cache.
7277 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7278 _dl_inhibit_cache.
7279 * elf/dl-load.c (_dl_map_object): Use it.
7280 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7281
bcc8d661
JM
72822012-04-09 Joseph Myers <joseph@codesourcery.com>
7283
8f9a2fae
JM
7284 [BZ #13872]
7285 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7286 (__ieee754_powl): Saturate large exponents rather than testing for
7287 overflow of y*log2(x).
7288 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7289 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7290 exceptions.
7291
bcc8d661
JM
7292 [BZ #11521]
7293 * math/s_ctan.c: Include <float.h>.
7294 (__ctan): Avoid internal overflow or cancellation in calculating
7295 denominator.
7296 * math/s_ctanf.c: Likewise.
7297 * math/s_ctanl.c: Likewise.
7298 * math/s_ctanh.c: Likewise.
7299 * math/s_ctanhf.c: Likewise.
7300 * math/s_ctanhl.c: Likewise.
7301 * math/libm-test.inc (ctan_test): Add more tests.
7302 (ctanh_test): Likewise.
7303 * sysdeps/i386/fpu/libm-test-ulps: Update.
7304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7305
823fbbb4
AJ
73062012-04-09 Andreas Jaeger <aj@suse.de>
7307
03879793
AJ
7308 [BZ #6894]
7309 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7310 is an optional BSD extension.
7311
823fbbb4
AJ
7312 [BZ #10254]
7313 * manual/stdio.texi (Opening Streams): Document additional fopen
7314 parameters.
7315
8de131cb
RM
73162012-04-09 Roland McGrath <roland@hack.frob.com>
7317
7318 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7319 %eax without telling the compiler.
7320
c0ed9d7d
CD
73212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7322
7323 [BZ # 13963]
7324 * manual/install.texi: Use sourceware.org.
7325
c483f6b4
JM
73262012-04-09 Joseph Myers <joseph@codesourcery.com>
7327
d7dd9453
JM
7328 [BZ #13873]
7329 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7330 (__ieee754_pow): Generate overflow and underflow using huge*huge
7331 and tiny*tiny rather than just returning constant infinity or zero
7332 for large exponents.
7333 * math/libm-test.inc (pow_test): Require overflow exceptions for
7334 applicable cases of large exponents.
7335
c483f6b4
JM
7336 [BZ #706]
7337 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7338 (__ieee754_pow): Use iterative multiplication algorithm only for
7339 integer exponents with absolute value below 1024. Check for odd
7340 integer exponents when using algorithm for real exponents.
7341 * math/libm-test.inc (pow_test): Add more tests.
7342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7343
d2de7579
JM
73442012-04-08 Joseph Myers <joseph@codesourcery.com>
7345
7346 [BZ #13705]
7347 * math/libm-test.inc (exp_test): Do not allow overflow exception
7348 on underflow test.
7349
f77f1232
AJ
73502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7351
7352 [BZ #13705]
7353 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7354 instead of __kernel_standard_f.
7355
3884932b
MF
73562012-04-08 Mike Frysinger <vapier@gentoo.org>
7357
7358 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7359 * sysdeps/x86_64/memset_chk.S: Likewise.
7360
54472e9c
AJ
73612012-04-08 Andreas Jaeger <aj@suse.de>
7362
6ab0fbfc
AJ
7363 [BZ #10153]
7364 * manual/startup.texi (Environment Access): Describe return value
7365 for putenv and setenv.
7366
61efba8c
AJ
7367 [BZ #6895]
7368 * manual/filesys.texi (Directory Entries): Add description for
7369 DT_LNK.
7370
95c3f29a
AJ
7371 [BZ #6890]
7372 * manual/filesys.texi (Directory Entries): Clarify that it's file
7373 system not operating system in the description of DT_UNKNOWN.
7374
54472e9c
AJ
7375 [BZ #6578]
7376 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7377
624254b1
SC
73782012-04-08 Stephen Compall <s11@member.fsf.org>
7379
7380 [BZ #6649]
7381 * manual/llio.texi (Opening and Closing Files): Add cross
7382 reference to explain mode argument.
7383
1e4920e0
MF
73842012-04-07 Mike Frysinger <vapier@gentoo.org>
7385
7386 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7387 * sysdeps/x86_64/memset_chk.S: Likewise.
7388
5ed848f3
DM
73892012-04-07 David S. Miller <davem@davemloft.net>
7390
7391 * elf/elf.h (R_SPARC_WDISP10): Define.
7392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7393 R_SPARC_SIZE32.
7394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7395 R_SPARC_SIZE64 and R_SPARC_H34.
7396
96154cd8
CD
73972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7398
7399 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7400 conditions and remove no longer applicable assertion.
7401
9904dc47
L
74022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7403
7404 * bits/byteswap.h: Include <features.h>.
7405 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7406 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7407
f8887d0a
L
74082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7409
7410 * bits/byteswap.h (__bswap_16): Removed.
7411 Include <bits/byteswap-16.h> to get __bswap_16.
7412 * sysdeps/i386/bits/byteswap.h: Likewise.
7413 * sysdeps/s390/bits/byteswap.h: Likewise.
7414 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7415 * bits/byteswap-16.h: New file.
7416 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7417 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7418 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7419 * string/Makefile (headers): Add bits/byteswap-16.h.
7420
62470f60
PP
74212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7422
7423 [BZ #13895]
7424 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7425 extra indirection.
7426 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7427 * nss/tst-nss-static.c: New.
7428
4dad7bab
RM
74292012-04-06 Robert Millan <rmh@gnu.org>
7430
7431 [BZ #6486]
7432 * manual/llio.texi (File Position Primitive): lseek
7433 refers to WHENCE when it really means OFFSET.
7434
e9142a17
AJ
74352012-04-06 Andreas Jaeger <aj@suse.de>
7436
2c040eff
AJ
7437 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7438 strncmp declarations.
7439
e9142a17
AJ
7440 * abilist/libc.abilist: Add __poll and __ppoll.
7441
ff9f1c5f
DM
74422012-04-05 David S. Miller <davem@davemloft.net>
7443
dcd2ae90
DM
7444 * scripts/check-local-headers.sh: Accept a host triplet in the
7445 path matched by the exclude regexp.
7446
993eb054
DM
7447 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7448 definition.
7449 * sysdeps/powerpc/powerpc32/dl-machine.h
7450 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7451 * sysdeps/s390/s390-32/dl-machine.h
7452 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7453 * sysdeps/sparc/sparc32/dl-machine.h
7454 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7455 * sysdeps/sparc/sparc64/dl-machine.h
7456 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7457
ff9f1c5f
DM
7458 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7459 lazy binding.
48e2e132 7460 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7461 undefined symbol errors.
7462
48e2e132 7463 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7464 DT_NEEDED entries.
7465
e80d6f94
MM
74662012-04-05 Michael Matz <matz@suse.de>
7467
7468 [BZ #13592]
7469 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7470
349fa79f
AJ
74712012-04-05 Andreas Jaeger <aj@suse.de>
7472
7473 [BZ #13908]
7474 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7475 comment.
7476
f402708f
KK
74772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7478
7479 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7480 which ROUND is no valid rounding mode.
7481
2ecccfc9
KK
74822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7483
7484 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7485 read again.
7486 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7487
8a53f50f
KK
74882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7489
7490 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7491 an exception using FPU order intentionally.
7492
74932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7494
7495 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7496 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7497 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7498 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7499
d653abb7
SJ
75002012-04-05 Simon Josefsson <simon@josefsson.org>
7501
7502 [BZ #12340]
7503 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7504 EINVAL when BUFLEN is too smal.
7505
c3b1bf7d
TS
75062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7507
7508 [BZ #13553]
7509 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7510 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7511
b1aa60f3
AJ
75122012-04-03 Andreas Jaeger <aj@suse.de>
7513
c3b1bf7d 7514 [BZ #13938]
67f60a26
AJ
7515 * manual/setjmp.texi (System V contexts): Fix sentence.
7516
b1aa60f3
AJ
7517 [BZ #13926]
7518 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7519 New macro for this case.
7520 [!__GNUC__] (__bswap_64): New inline function for this case.
7521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7522 * bits/byteswap.h: Likewise.
7523 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7524 ull, guard with __GLIBC_HAVE_LONG_LONG.
7525
7526 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7527 __GLIBC_HAVE_LONG_LONG.
7528
7529 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7530 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7531
39c59c35
TMQMF
75322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7533
7534 [BZ #13691]
7535 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7536 inptr and inend, rather than using last_ch.
7537
135ffda8
DM
75382012-04-02 David S. Miller <davem@davemloft.net>
7539
7540 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7541 * stdio-common/printf-parse.h (read_int): Change return type to
7542 'int', return -1 on INT_MAX overflow.
7543 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7544 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7545 overflows INT_MAX. Check for overflow of in-format-string precision
7546 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7547 SIZE_MAX not INT_MAX for integer overflow test.
7548 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7549 skip the construct in the format string but do not record anything.
7550 * stdio-common/bug22.c: Adjust to test both width/prevision
7551 INT_MAX overflow as well as total length INT_MAX overflow. Check
7552 explicitly for proper errno values.
7553
228c019e
TS
75542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7555
302cadd3
TS
7556 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7557 CHAR_MAX.
7558 * string/test-strcmp.c [! WIDE]: Likewise.
7559 * time/tst-mktime2.c: Likewise for INT_MAX.
7560 * string/test-string.h: #include <sys/param.h> for MIN.
7561
228c019e
TS
7562 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7563 * sysdeps/i386/init-first.c (init): Likewise.
7564 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7565 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7566 * sysdeps/sh/init-first.c (init): Likewise.
7567
cfa633f5
UD
75682012-04-01 Ulrich Drepper <drepper@gmail.com>
7569
7570 * po/ru.po: Update from translation team.
d1635ef8 7571 * po/vi.po: Likewise.
cfa633f5 7572
6cd0a5ea
SP
75732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7574
7575 * resolv/nss_dns/dns-host.c: Merge copyright years.
7576
4b43400f
LD
75772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7578
7579 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7580 Optimize memcpy with prefetch if
7581 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7582 src, dst pointers have unequal 16 byte alignments.
7583
48c41d04
SP
75842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7585
7586 [BZ #13928]
7587 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7588 from a CNAME entry and return the minimum ttl for the query.
7589 (gaih_getanswer_slice): Likewise.
7590
b8dc394d
JL
75912012-03-30 Jeff Law <law@redhat.com>
7592
7593 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7594 due to long keys.
7595 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7596 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7597
2f5a5ed0
JL
7598 * resolv/nss_dns/dns-host.c: Update copyright year.
7599
1d39e359
UD
76002012-03-30 Ulrich Drepper <drepper@gmail.com>
7601
c030f70c 7602 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7603 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7604
1d39e359
UD
7605 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7606 comments for sendmmsg.
7607
76082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7609
7610 [BZ #13691]
7611 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7612 with only 1 character between 0x0041 and 0x01b0.
7613 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7614 * wcsmbs/tst-mbsnrtowcs.c: New file.
7615
20fde227
DM
76162012-03-29 David S. Miller <davem@davemloft.net>
7617
7618 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7619 small copies by hand.
7620
984a4237
JL
76212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7622
7623 [BZ #13761]
7624 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7625 _nss_compat_initgroups_dyn): Fall back to malloc/free
7626 for large group memberships.
7627
18c9d62b
DM
76282012-03-28 David S. Miller <davem@davemloft.net>
7629
88d85d4f
DM
7630 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7631 that branches into memcpy.
7632 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7633 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7634 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7635 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7637 bits.
7638 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7639 implementation too.
7640 * sysdeps/sparc/mempcpy.S: New file.
7641
e5aa83e1
DM
7642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7643 the IFUNC routine in the libc case.
7644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7645
88570753
DM
7646 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7647 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7648 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7649 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7650 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7651 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7652 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7653 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7654
249d7567
DM
7655 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7656 loop to 256 bytes instead of 64 bytes and fix test signedness.
7657
18c9d62b
DM
7658 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7659 * sysdeps/sparc/sparc32/Makefile: rather than here...
7660 * sysdeps/sparc/sparc64/Makefile: and here.
7661
05f3d1f6
UD
76622012-03-28 Ulrich Drepper <drepper@gmail.com>
7663
7664 * malloc/mallocbug.c: Avoid warnings about unused variables.
7665
86ae07a8
JL
76662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7667
7668 [BZ #13760]
7669 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7670 in the right place. Discard and retry query if response is
7671 larger than input buffer size.
7672
41bf21a1
JM
76732012-03-28 Joseph Myers <joseph@codesourcery.com>
7674
d6270972
JM
7675 [BZ #369]
7676 [BZ #2678]
7677 [BZ #3866]
7678 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7679 x for large integer exponent.
7680 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7681 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7682 sign of result as needed afterwards.
7683 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7684 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7685 result for underflowing pow the same as for overflow.
7686 (__kernel_standard_l): Handle powl overflow and underflow here
7687 rather than calling __kernel_standard.
7688 * math/libm-test.inc (pow_test): Add more tests.
7689
414fca03 7690 [BZ #3868]
41bf21a1
JM
7691 [BZ #13879]
7692 [BZ #13910]
7693 [BZ #13911]
7694 [BZ #13912]
7695 [BZ #13913]
7696 [BZ #13915]
7697 [BZ #13916]
7698 [BZ #13917]
7699 [BZ #13918]
7700 [BZ #13919]
7701 [BZ #13920]
7702 [BZ #13921]
7703 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7704 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7705 (__kernel_standard_l): New function.
7706 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7707 __kernel_standard.
7708 * math/w_acosl.c (__acosl): Likewise.
7709 * math/w_asinl.c (__asinl): Likewise.
7710 * math/w_atan2l.c (__atan2l): Likewise.
7711 * math/w_atanhl.c (__atanhl): Likewise.
7712 * math/w_coshl.c (__coshl): Likewise.
7713 * math/w_exp10l.c (__exp10l): Likewise.
7714 * math/w_exp2l.c (__exp2l): Likewise.
7715 * math/w_fmodl.c (__fmodl): Likewise.
7716 * math/w_hypotl.c (__hypotl): Likewise.
7717 * math/w_j0l.c (__j0l, __y0l): Likewise.
7718 * math/w_j1l.c (__j1l, __y1l): Likewise.
7719 * math/w_jnl.c (__jnl, __ynl): Likewise.
7720 * math/w_lgammal.c (__lgammal): Likewise.
7721 * math/w_log10l.c (__log10l): Likewise.
7722 * math/w_log2l.c (__log2l): Likewise.
7723 * math/w_logl.c (__logl): Likewise.
7724 * math/w_powl.c (__powl): Likewise.
7725 * math/w_remainderl.c (__remainderl): Likewise.
7726 * math/w_scalbl.c (sysv_scalbl): Likewise.
7727 * math/w_sinhl.c (__sinhl): Likewise.
7728 * math/w_sqrtl.c (__sqrtl): Likewise.
7729 * math/w_tgammal.c (__tgammal): Likewise.
7730 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7731 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7732 * math/libm-test.inc (acos_test): Add more tests.
7733 (acosh_test): Likewise.
7734 (asin_test): Likewise.
7735 (atanh_test): Likewise.
7736 (exp_test): Likewise.
7737 (exp10_test): Likewise.
7738 (exp2_test): Likewise.
7739 (expm1_test): Likewise.
7740 (lgamma_test): Likewise.
7741 (log_test): Likewise.
7742 (log10_test): Likewise.
7743 (log1p_test): Likewise.
7744 (log2_test): Likewise.
7745 (pow_test): Do not allow some spurious overflow exceptions.
7746 (sqrt_test): Add more tests.
7747 (tgamma_test): Likewise.
7748 (y0_test): Likewise.
7749 (y1_test): Likewise.
7750 (yn_test): Likewise.
7751
dd62fda6
AB
77522012-03-27 Anton Blanchard <anton@samba.org>
7753
7754 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7755 MAP_HUGETLB.
7756 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7757 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7758 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7759
1e3cdfda
AJ
77602012-03-27 David S. Miller <davem@davemloft.net>
7761
b855ab85
DM
7762 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7763
1e3cdfda
AJ
7764 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7765 have-as-vis3 check.
7766
77672012-03-27 Andreas Jaeger <aj@suse.de>
7768
7769 * sysdeps/x86_64/elf/configure.in: Moved to ...
7770 * sysdeps/x86_64/configure.in: ... here.
7771 * sysdeps/x86_64/elf/start.S: Moved to ...
7772 * sysdeps/x86_64/start.S: ... here.
7773 * sysdeps/x86_64/elf/configure: Delete.
7774
7775 * sysdeps/x86_64/configure.in: Merge contents from
7776 sysdeps/i386/configure.in (without i686 check).
7777
7778 * sysdeps/i386/elf/Versions: Merge into ...
7779 * sysdeps/i386/Versions: ... this.
7780 * sysdeps/i386/elf/Versions: Delete file.
7781 * sysdeps/i386/elf/start.S: Moved to ...
7782 * sysdeps/i386/start.S: ...here.
7783 * sysdeps/i386/elf/configure.in: Merge into...
7784 * sysdeps/i386/configure.in: ...here.
7785 * sysdeps/i386/elf/configure.in: Delete file.
7786 * sysdeps/i386/elf/configure: Delete file.
7787
7788 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7789 * debug/backtracesyms.c: ... here.
7790 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7791 * debug/backtracesymsfd.c: ... here.
7792 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7793 * sysdeps/generic/ifunc-sel.h: ... here.
7794
7795 * sysdeps/unix/i386/start.c: Delete file.
7796 * sysdeps/unix/sparc/start.c: Delete file.
7797 * sysdeps/unix/start.c: Delete file.
7798
7799 * sysdeps/sh/elf/configure.in: Moved to ...
7800 * sysdeps/sh/configure.in: ... here.
7801 * sysdeps/sh/elf/start.S: Moved to ...
7802 * sysdeps/sh/start.S: ... here.
7803 * sysdeps/sh/elf/configure: Delete file.
7804
7805 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7806 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7807 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7808 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7809 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7810 * sysdeps/powerpc/powerpc64/start.S: here.
7811 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7812 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7813 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7814 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7815 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7816
7817 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7818 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7819 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7820 * sysdeps/powerpc/powerpc32/start.S: ... here.
7821 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7822 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7823 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7824
7825 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7826 * sysdeps/powerpc/ifunc-sel.h: ... here.
7827 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7828 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7829
7830 * sysdeps/sparc/elf/configure.in: Moved to ...
7831 * sysdeps/sparc/configure.in: ... here.
7832 * sysdeps/sparc/elf/configure: Delete file.
7833 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7834 * sysdeps/sparc/sparc32/start.S: ... here.
7835 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7836 * sysdeps/sparc/sparc64/start.S: ... here.
7837 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7838 * sysdeps/sparc/sparc32/Makefile: ... this.
7839 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7840 * sysdeps/sparc/sparc64/Makefile: ... this.
7841
7842 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7843 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7844 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7845 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7846 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7847 * sysdeps/s390/s390-32/setjmp.S: ... here.
7848 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7849 * sysdeps/s390/s390-32/configure.in: ... here.
7850 * sysdeps/s390/s390-32/elf/configure: Delete file.
7851 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7852 * sysdeps/s390/s390-32/start.S: ... here.
7853
7854 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7855 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7856 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7857 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7858 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7859 * sysdeps/s390/s390-64/setjmp.S: ... here.
7860 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7861 * sysdeps/s390/s390-64/configure.in: ... here
7862 * sysdeps/s390/s390-64/elf/configure: Delete file.
7863 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7864 * sysdeps/s390/s390-64/start.S: ... here.
7865 * sysdeps/s390/s390-64/elf/configure: Delete.
7866
7867 * configure.in: Remove support for elf directories in sysdeps.
7868
7869 * configure: Regenerated.
7870 * sysdeps/i386/configure: Regenerated.
7871 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7872 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7873 * sysdeps/s390/s390-32/configure: Regenerated.
7874 * sysdeps/s390/s390-64/configure: Regenerated.
7875 * sysdeps/sh/configure: Regenerated.
7876 * sysdeps/sparc/configure: Regenerated.
7877 * sysdeps/x86_64/configure: Regenerated.
7878
a3f61311
AS
78792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7880
c876e002
AS
7881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7882
a3f61311
AS
7883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7884 denormal result into account.
7885
ac4c54f0
RM
78862012-03-25 Roland McGrath <roland@hack.frob.com>
7887
7888 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7889 Reported by Allan McRae <allan@archlinux.org>.
7890
6a9b9c02
JL
78912012-03-23 Jeff Law <law@redhat.com>
7892
7893 * nss/getnssent.c (__nss_getent): Fix typo.
7894
4c42a0c1
DM
78952012-03-23 David S. Miller <davem@davemloft.net>
7896
7897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7898
1532c7ac
L
78992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7900
7901 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7902 to pad to uint64_t for each field.
7903 (dl_tls_index): Replace unsigned long with uint64_t.
7904
3ff42526
PP
79052012-03-23 Daniel Jacobowitz <dmj@google.com>
7906 Paul Pluzhnikov <ppluzhnikov@google.com>
7907
7908 [BZ #6528]
7909 * grp/Makefile (otherlibs): Don't set it.
7910 * inet/Makefile (otherlibs): Likewise.
7911 * login/Makefile (otherlibs): Likewise.
7912 * nscd/Makefile (otherlibs): Likewise.
7913 * posix/Makefile (otherlibs): Likewise.
7914 * pwd/Makefile (otherlibs): Likewise.
7915 * rt/Makefile (otherlibs): Likewise.
7916 * sunrpc/Makefile (otherlibs): Likewise.
7917 * nss/Makefile (otherlibs): Likewise.
7918 Add libnss_files to routines and static-only-routines.
7919 ($(objpfx)getent): Remove rule.
7920 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7921 static-only-routines.
7922
7c69cd14
JM
79232012-03-22 Joseph Myers <joseph@codesourcery.com>
7924
7925 [BZ #13892]
7926 * math/s_cexp.c: Include <float.h>.
7927 (__cexp): Handle exp result overflowing not necessarily
7928 overflowing both real and imaginary parts of result.
7929 * math/s_cexpf.c: Likewise.
7930 * math/s_cexpl.c: Likewise.
7931 * math/libm-test.inc (cexp_test): Add more tests.
7932 * sysdeps/i386/fpu/libm-test-ulps: Update.
7933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7934
81b035fe
L
79352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7936
7937 * include/link.h (ELFW): New macro.
7938 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7939 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7940
1da7940c
L
79412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7942
7943 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7944 with uint64_t.
7945
b749dbb9
L
79462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7947
7948 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7949 declaration.
7950 (struct La_x32_retval): Likewise.
7951
2ff87f3f
L
79522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7953
7954 * sysdeps/x86_64/preconfigure.in: New file.
7955 * sysdeps/x86_64/preconfigure: New generated file.
7956
c0df8e69
JM
79572012-03-22 Joseph Myers <joseph@codesourcery.com>
7958
48e44791
JM
7959 [BZ #13824]
7960 * math/e_exp2l.c: Include <float.h>.
7961 (__ieee754_exp2l): Handle overflow and underflow cases
7962 separately. Only pass fractional part of argument to
7963 __ieee754_expl.
7964 * math/libm-test.inc (exp2_test): Add more tests.
7965
c0df8e69
JM
7966 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7967 negating x to take absolute value.
7968 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7969 Likewise.
7970 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7971 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7972 Likewise.
7973 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7974 computing low part if x was negated.
7975 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7976
c8e43ba7
L
79772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7978
7979 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7980 la_x32_gnu_pltexit.
7981 (pltexit): Cast int_retval to ptrdiff_t.
7982 * elf/tst-auditmod3b.c: Likewise.
7983 * elf/tst-auditmod4b.c: Likewise.
7984 * elf/tst-auditmod5b.c: Likewise.
7985 * elf/tst-auditmod6b.c: Likewise.
7986 * elf/tst-auditmod6c.c: Likewise.
7987 * elf/tst-auditmod7b.c: Likewise.
7988
7989 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7990 and x32_gnu_pltexit.
7991
7992 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7993 __ELF_NATIVE_CLASS.
7994 (La_x32_regs): New macro.
7995 (La_x32_retval): Likewise.
7996 (la_x32_gnu_pltenter): New function prototype.
7997 (la_x32_gnu_pltexit): Likewise.
7998
7998fa78
AS
79992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8000
dcb33988
AS
8001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8002 exponent.
8003
233fc563
AS
8004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8005
7998fa78
AS
8006 * configure.in (libc_cv_cc_nofma): Check for option to disable
8007 generation of FMA instructions.
8008 * configure: Regenerate.
8009 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8010 * sysdeps/ieee754/dbl-64/Makefile: New file.
8011 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8012 Remove brandred-fma4.
8013 (CFLAGS-brandred-fma4.c): Remove.
8014 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8015 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8016 define.
8017 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8018 define.
8019
8e95c99a
L
80202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8021
8022 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8023 LLONG_MAX != LONG_MAX.
8024 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8025 (_fitoa_word): Likewise.
8026 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8027 LLONG_MAX != LONG_MAX.
8028 * stdio-common/_itowa.h: Include <_itoa.h>.
8029 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8030 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8031 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8032 only if not defined.
8033 (_ITOA_WORD_TYPE): Likewise.
8034 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8035 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8036
6f4db457
DM
80372012-03-21 David S. Miller <davem@davemloft.net>
8038
8039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8040
7785fe5a
L
80412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8042
8043 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8044 of x86_64 when setting libc_cv_slibdir, libdir and
8045 libc_cv_localedir.
8046 * sysdeps/unix/sysv/linux/configure: Regenerated.
8047
4535cd55
JM
80482012-03-21 Joseph Myers <joseph@codesourcery.com>
8049
8050 * manual/lang.texi (Old Varargs): Remove section.
8051 (How Variadic): Update menu.
8052 (va_start): Do not mention varargs.h.
8053
17228132
TS
80542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8055 Joseph Myers <joseph@codesourcery.com>
8056
8057 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8058 link test.
8059 * configure: Regenerated.
8060
8149f976
TS
80612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8062
05f3d1f6
UD
8063 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8064 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8065 conformtest.pl
8149f976 8066
1a4ac776
JM
80672012-03-21 Joseph Myers <joseph@codesourcery.com>
8068
be22ce65
JM
8069 * NOTES: Remove.
8070 * Makefile (files-for-dist): Remove NOTES.
8071 (NOTES): Remove rule.
8072 * README: Don't refer to NOTES.
8073 * manual/creature.texi: Don't include macros.texi.
8074 * manual/intro.texi (creature.texi): Remove comment referring to
8075 NOTES.
8076
40b601fb
JM
8077 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8078 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8079 * configure: Regenerated.
8080 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8081 LIBC_TRY_CC_OPTION.
8082 (libc_cv_as_i686): Likewise.
8083 (libc_cv_cc_avx): Likewise.
8084 (libc_cv_cc_sse2avx): Likewise.
8085 (libc_cv_cc_fma4): Likewise.
8086 (libc_cv_cc_novzeroupper): Likewise.
8087 * sysdeps/i386/configure: Regenerated.
8088
1a4ac776
JM
8089 [BZ #13883]
8090 * sysdeps/i386/fpu/s_cexp.S: Remove.
8091 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8092 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8093 * math/libm-test.inc (cexp_test): Add more tests.
8094 * sysdeps/i386/fpu/libm-test-ulps: Update.
8095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8096
a458e7fe
AM
80972012-03-21 Allan McRae <allan@archlinux.org>
8098
8099 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8100
0cb7efc5
JM
81012012-03-21 Joseph Myers <joseph@codesourcery.com>
8102
8103 [BZ #13871]
8104 * math/w_exp2.c: Do not include <float.h>.
8105 (o_threshold, u_threshold): Remove.
8106 (__exp2): Calculate result before checking finiteness and calling
8107 __kernel_standard.
8108 * math/w_exp2f.c: Likewise.
8109 * math/w_exp2l.c: Likewise.
8110 * math/libm-test.inc (exp2_test): Require overflow exception for
8111 1e6 input.
2460d3aa
JM
8112
8113 [BZ #3866]
8114 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8115 range of signed 64-bit integers before using fistpll. Remove
8116 checks for whether integers fit in mantissa bits.
8117 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8118 the range of signed 32-bit integers before using fistpl. Remove
8119 checks for whether integers fit in mantissa bits.
8120 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8121 (__ieee754_powl): Test for y outside the range of signed 64-bit
8122 integers before using fistpll. Reduce 64-bit values to 63-bit
8123 ones as needed.
8124 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8125 divide-by-zero is raised for zero to large negative powers.
8126 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8127 (__ieee754_powl): Test for y outside the range of signed 64-bit
8128 integers before using fistpll. Reduce 64-bit values to 63-bit
8129 ones as needed.
8130 * math/libm-test.inc (pow_test): Add more tests.
8131
eb96ffb0
L
81322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8133
8134 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8135 <stdio-common/_itoa.h>.
8136 * debug/segfault.c: Likewise.
8137 * elf/dl-cache.c: Likewise.
8138 * elf/dl-minimal.c: Likewise.
8139 * elf/dl-misc.c: Likewise.
8140 * elf/dl-sysdep.c: Likewise.
8141 * elf/dl-version.c: Likewise.
8142 * elf/rtld.c: Likewise.
8143 * hurd/hurdsock.c: Likewise.
8144 * hurd/lookup-retry.c: Likewise.
8145 * malloc/malloc.c: Likewise.
8146 * malloc/mtrace.c: Likewise.
8147 * nscd/nscd_getgr_r.c: Likewise.
8148 * nscd/nscd_getpw_r.c: Likewise.
8149 * nscd/nscd_getserv_r.c: Likewise.
8150 * posix/getopt_init.c: Likewise.
8151 * posix/wordexp.c: Likewise.
8152 * stdio-common/_itoa.c: Likewise.
8153 * stdio-common/printf_fphex.c: Likewise.
8154 * stdio-common/vfprintf.c: Likewise.
8155 * string/_strerror.c: Likewise.
8156 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8157 * sysdeps/i386/i686/hp-timing.h: Likewise.
8158 * sysdeps/mach/_strerror.c: Likewise.
8159 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8160 * sysdeps/mach/hurd/sethostid.c: Likewise.
8161 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8162 * sysdeps/mach/xpg-strerror.c: Likewise.
8163 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8164 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8165 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8166 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8167 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8168 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8169 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8170 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8171 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8172 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8173 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8174 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8175 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8176 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8177 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8178 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8179 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8180 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8181 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8182 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8183 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8184
8185 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8186
8187 * stdio-common/_itoa.h: Moved to ...
8188 * sysdeps/generic/_itoa.h: Here.
8189
8190 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8191
8192 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8193 instead of "_itoa.h" and "_itowa.h".
8194 * stdio-common/vfprintf.: Likewise.
8195
d1af992d
L
81962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8197
8198 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8199 <bits/wordsize.h>.
8200 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8201 (__signbit): Likwise.
8202 (llrintf): Likwise.
8203 (llrint): Likwise.
8204
114883e0
L
82052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8206
8207 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8208 __WORDSIZE != 64.
8209
c135cc1b
JM
82102012-03-20 Joseph Myers <joseph@codesourcery.com>
8211
8212 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8213 OVERFLOW_EXCEPTION_OK.
8214 * math/libm-test.inc ("Philosophy"): Update comment about
8215 exception testing.
8216 (OVERFLOW_EXCEPTION): Define.
8217 (OVERFLOW_EXCEPTION_OK): Likewise.
8218 (INVALID_EXCEPTION_OK): Renumber.
8219 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8220 (IGNORE_ZERO_INF_SIGN): Likewise.
8221 (test_exceptions): Handle FE_OVERFLOW.
8222 (exp10_test): Expect overflow exceptions.
8223 (exp2_test): Likewise.
8224 (expm1_test): Likewise.
8225 (nextafter_test): Likewise.
8226 (pow_test): Likewise.
8227 (scalbn_test): Likewise.
8228 (scalbln_test): Likewise.
8229
95443d88
L
82302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8231
8232 * sysdeps/x86_64/bits/atomic.h
8233 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8234 64bit integer.
8235 (atomic_exchange_acq): Likewise.
8236 (__arch_exchange_and_add_body): Likewise.
8237 (__arch_add_body): Likewise.
8238 (atomic_add_negative): Likewise.
8239 (atomic_add_zero): Likewise.
8240
490df6c4
L
82412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8242
c2722551 8243 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8244 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8245
5e52b189
L
82462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8247
8248 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8249 Check __x86_64__ instead of __WORDSIZE.
8250
a9879d4c
L
82512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8252
8253 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8254
5df98260
DM
82552012-03-19 David S. Miller <davem@davemloft.net>
8256
e1497744
DM
8257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8258
5df98260
DM
8259 * sysdeps/sparc/fpu/fenv_private.h: New file.
8260 * sysdeps/sparc/fpu/math_private.h: Use it.
8261 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8262 Remove.
8263 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8264 (libc_feholdexcept_setroundl): Remove.
8265 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8266 Remove.
8267 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8268 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8269
b4c35121
L
82702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8273 int64_t instead of long int.
8274 (INSERT_WORDS64): Likwise.
8275
56965fd7
L
82762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8277
8278 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8279 _Unwind_GetCFA return to _Unwind_Ptr first.
8280
83d1aec8
JM
82812012-03-19 Joseph Myers <joseph@codesourcery.com>
8282
1897ad44
JM
8283 [BZ #13629]
8284 * math/s_clog.c: Include <float.h>.
8285 (__clog): Scale large or subnormal inputs.
8286 * math/s_clogf.c: Likewise.
8287 * math/s_clogl.c: Likewise.
8288 * math/s_clog10.c: Include <float.h>.
8289 (M_LOG10_2): Define.
8290 (__clog10): Scale large or subnormal inputs.
8291 * math/s_clog10f.c: Likewise.
8292 * math/s_clog10l.c: Likewise.
8293 * math/libm-test.inc (clog_test): Add more tests.
8294 (clog10_test): Likewise.
8295 * sysdeps/i386/fpu/libm-test-ulps: Update.
8296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8297
7726d6a9
JM
8298 [BZ #11451]
8299 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8300 x and y.
8301 * math/libm-test.inc (atan2_test): Add another test.
8302
83d1aec8
JM
8303 * Makerules (common-objdir-compile): Remove.
8304 * sysdeps/unix/Makefile (config-generated): Do not add
8305 $(unix-generated) to variable.
8306 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8307 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8308 Remove rule.
8309 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8310 Likewise.
8311 [generic bits/local_lim.h] (before-compile): Do not append to
8312 variable.
8313 [generic bits/local_lim.h] (common-generated): Likewise.
8314 [generic sys/param.h] (before-compile): Do not append to variable.
8315 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8316 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8317 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8318 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8319 include.
8320 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8321 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8322 [generic sys/param.h] ($(addprefix
8323 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8324 [generic sys/param.h] (common-generated): Do not append to
8325 variable.
8326 [generic sys/param.h] (sysdep_headers): Likewise.
8327 [generic bits/errno.h] (before-compile): Do not append to
8328 variable.
8329 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8330 rule.
8331 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8332 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8333 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8334 [generic bits/errno.h] (common-generated): Do not append to
8335 variable.
8336 [generic bits/ioctls.h] (before-compile): Do not append to
8337 variable.
8338 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8339 rule.
8340 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8341 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8342 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8343 rule.
8344 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8345 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8346 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8347 [generic bits/ioctls.h] (common-generated): Do not append to
8348 variable.
8349 [generic sys/syscall.h] (syscall.h): Remove variable.
8350 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8351 rule.
8352 [generic sys/syscall.h] (before-compile): Do not append to
8353 variable.
8354 [generic sys/syscall.h] (common-generated): Likewise.
8355 * sysdeps/unix/errnos-tmpl.c: Remove file.
8356 * sysdeps/unix/errnos.awk: Likewise.
8357 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8358 * sysdeps/unix/ioctls.awk: Likewise.
8359 * sysdeps/unix/mk-local_lim.c: Likewise.
8360 * sysdeps/unix/snarf-ioctls: Likewise.
8361
4851a949
RH
83622012-03-19 Richard Henderson <rth@twiddle.net>
8363
bd37f2ee
RH
8364 * sysdeps/i386/fpu/fenv_private.h: New file.
8365 * sysdeps/i386/fpu/math_private.h: Use it.
8366 (math_opt_barrier, math_force_eval): Remove.
8367 (libc_feholdexcept_setround_53bit): Remove.
8368 (libc_feupdateenv_53bit): Remove.
8369 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8370 (math_opt_barrier, math_force_eval): Remove.
8371 (libc_feholdexcept): Remove.
8372 (libc_feholdexcept_setround): Remove.
8373 (libc_fetestexcept, libc_fesetenv): Remove.
8374 (libc_feupdateenv_test): Remove.
8375 (libc_feupdateenv, libc_feholdsetround): Remove.
8376 (libc_feresetround): Remove.
8377
d0adc922
RH
8378 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8379 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8380
0fe0f1f8
RH
8381 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8382 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8383 (libc_feupdateenv_testl): New.
8384 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8385 (libc_feupdateenv_testf): New.
8386 (libc_feupdateenv): Use libc_feupdateenv_test.
8387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8388 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8389
eb92c487
RH
8390 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8391 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8392 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8393 (libc_feresetround_noex): New.
8394 (libc_feresetround_noexf): New.
8395 (libc_feresetround_noexl): New.
8396 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8397 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8398 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8399 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8400 SET_RESTORE_ROUND.
8401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8402 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8403 (__cos): Likewise.
8404 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8405 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8406 SET_RESTORE_ROUND_NOEX.
8407 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8408 SET_RESTORE_ROUND_NOEXF.
8409 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8410 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8411 (libc_feholdsetroundf): New.
8412 (libc_feresetround, libc_feresetroundf): New.
8413
7d2e8012
RH
8414 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8415 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8416 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8417
b4dabbb4
RH
8418 * sysdeps/generic/math_private.h: Include <fenv.h>.
8419 (default_libc_feholdexcept): New.
8420 (default_libc_feholdexcept_setround): New.
8421 (default_libc_fesetenv, default_libc_feupdateenv): New.
8422 (libc_feholdexcept): Only define if undefined.
8423 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8424 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8425 (libc_feholdexcept_setroundl): Likewise.
8426 (libc_feholdexcept_setround_53bit): Likewise.
8427 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8428 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8429 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8430 (libc_feupdateenv_53bit): Likewise.
8431 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8432 (libc_feholdexcept): Convert from macro to inline function.
8433 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8434 (libc_fesetenv, libc_feupdateenv): Likewise.
8435
4851a949
RH
8436 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8437 not previously defined.
8438 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8439 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8440 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8441 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8442 * sysdeps/ieee754/flt-32/math_private.h: New file.
8443 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8444 math_private.h below SET_FLOAT_WORD.
8445 (__isnan, __isinf_ns, __finite): Remove.
8446 (__isnanf, __isinf_nsf, __finitef): Remove.
8447
e79d442e
AS
84482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8449
8450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8451
90b80344
DM
84522012-03-17 David S. Miller <davem@davemloft.net>
8453
8454 [BZ #6471]
8455 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8456 for 2.16.
8457
edc21804
DM
84582012-03-16 David S. Miller <davem@davemloft.net>
8459
77e927af
DM
8460 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8461 warnings.
8462
374976dd
DM
8463 [BZ #6471]
8464 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8465 properly.
8466 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8467 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8468 sysdep_routines when subdir is sysvipc.
8469 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8470 __getshmlba helper.
8471
edc21804
DM
8472 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8473
473c3ef3
L
84742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8475
8476 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8477 [__LP64__].
8478
eb0f39b6
L
84792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8480
8481 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8482 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8483 (__lround): Renamed to ...
8484 (__llround): This. Replace long int with long long int.
8485 Define lround functions as aliases of llround functions.
8486 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8487
6b6cd74b
L
84882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8489
8490 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8491 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8492 adresses to uintptr_t. Replace "long int" and "unsigned long
8493 int" with "greg_t" on va_arg.
8494
f1a77b01
L
84952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8498 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8499
8500 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8501 Move e_machine check before EI_CLASS check. Handle x32
8502 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8503 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8504 SKIP_EM_IA_64 and include
8505 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8506
8507 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8508 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8509 (add_system_dir): New macro.
8510
8511 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8512 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8513
11b90b9f
JM
85142012-03-16 Joseph Myers <joseph@codesourcery.com>
8515
c36e1d23
JM
8516 [BZ #2551]
8517 [BZ #2552]
8518 [BZ #2553]
8519 [BZ #2554]
8520 [BZ #2562]
8521 [BZ #2563]
8522 [BZ #2565]
8523 [BZ #2566]
8524 [BZ #2576]
8525 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8526 (y0): Likewise.
8527 * math/w_j0f.c (j0f): Likewise.
8528 (y0f): Likewise.
8529 * math/w_j0l.c (__j0l): Likewise.
8530 (__y0l): Likewise.
8531 * math/w_j1.c (j1): Likewise.
8532 (y1): Likewise.
8533 * math/w_j1f.c (j1f): Likewise.
8534 (y1f): Likewise.
8535 * math/w_j1l.c (__j1l): Likewise.
8536 (__y1l): Likewise.
8537 * math/w_jn.c (jn): Likewise.
8538 (yn): Likewise.
8539 * math/w_jnf.c (jnf): Likewise.
8540 (ynf): Likewise.
8541 * math/w_jnl.c (__jnl): Likewise.
8542 (__ynl): Likewise.
8543 * math/libm-test.inc (j0_test): Add more tests.
8544 (j1_test): Likewise.
8545 (jn_test): Likewise. Add trailing semicolon to existing test.
8546 (y0_test): Likewise.
8547 (y1_test): Likewise.
8548 * sysdeps/i386/fpu/libm-test-ulps: Update.
8549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8550
11b90b9f
JM
8551 [BZ #13851]
8552 [BZ #13854]
8553 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8554 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8555 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8556 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8557 (__tanl): Set errno for infinite argument.
8558 * sysdeps/i386/fpu/mptan.c: Remove.
8559 * sysdeps/i386/fpu/s_tan.S: Likewise.
8560 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8561 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8562 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8563 * math/libm-test.inc (tan_test): Add more tests and enable more
8564 tests for double and long double.
8565 * sysdeps/i386/fpu/libm-test-ulps: Update.
8566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8567
6a1bd2a1
JK
85682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8569
8570 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8571 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8572
10a803e0
RM
85732012-03-16 Roland McGrath <roland@hack.frob.com>
8574
8575 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8576 * configure.in: Use it for both main tree and add-ons.
8577 * configure: Regenerated.
8578
f196c7f7
L
85792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8582
8848d99d
JM
85832012-03-16 Joseph Myers <joseph@codesourcery.com>
8584
96cbe7f4
JM
8585 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8586 in comment.
8587
8848d99d
JM
8588 [BZ #13851]
8589 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8590 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8592 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8594 infinite argument.
8595 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8596 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8597 != 0 for prec == 2.
8598 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8599 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8600 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8601 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8602 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8603 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8604 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8605 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8606 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8607 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8608 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8609 * math/libm-test.inc (cos_test): Add more tests and enable more
8610 tests for long double.
8611 (sin_test): Likewise.
8612 (sincos_test): Likewise.
8613 * sysdeps/i386/fpu/libm-test-ulps: Update.
8614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8615
dd7f4703
DM
86162012-03-16 David S. Miller <davem@davemloft.net>
8617
8618 * sysdeps/sparc/fpu/math_private.h: New file.
8619
006f1daa
DM
86202012-03-15 David S. Miller <davem@davemloft.net>
8621
c0c83bc8
DM
8622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8623 file.
e6a62e18 8624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8626 file.
e6a62e18
DM
8627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8632 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8633 sysdep routines.
8634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8635
88cb87d9
DM
8636 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8637 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8638
006f1daa 8639 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8641 sparc-ifunc.h
006f1daa 8642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8644 Likewise.
8645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8646 Likewise.
006f1daa
DM
8647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8651 Likewise.
006f1daa
DM
8652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8657 Likewise.
8658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8659 Likewise.
006f1daa
DM
8660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8682 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8684
11e0098e
AS
86852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8686
8687 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8688 scaling.
8689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8690
e85b09d0
AJ
86912012-03-15 Andreas Jaeger <aj@suse.de>
8692
8693 [BZ #13852]
8694 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8695 ieee754/flt-32 implementation for sin, cos and sincos.
8696 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8697 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8698 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8699 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8700 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8701 ieee754/flt-32 implementation for tan.
8702
8703 * math/libm-test.inc (cos_test): Enable some large input tests for
8704 float as well
8705 (sin_test): Likewise.
8706 (sincos_test): Likewise.
8707 (tan_test): Add tests for large input.
8708
8709 * sysdeps/i386/fpu/libm-test-ulps: Update.
8710
81c64153
AJ
87112012-03-15 Andreas Jaeger <aj@suse.de>
8712
8713 [BZ #13658]
8714 * math/libm-test.inc (cos_test): Add more test cases.
8715 (sin_test): Likewise.
8716 (sincos_test): Likewise.
8717
7bbfa5c6
AJ
87182012-03-15 Andreas Jaeger <aj@suse.de>
8719
8720 [BZ #13837]
8721 * math/libm-test.inc (cos_test): Add a test case for large input
8722 value.
8723 (sin_test): Likewise.
8724 (sincos_test): Likewise.
8725
87262012-03-15 Andreas Jaeger <aj@suse.de>,
8727 Joseph Myers <joseph@codesourcery.com>
8728
8729 [BZ #13658]
0671f479 8730 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8731 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8732 * sysdeps/i386/fpu/branred.c: Likewise.
8733 * sysdeps/i386/fpu/dosincos.c: Likewise.
8734 * sysdeps/i386/fpu/mpa.c: Likewise.
8735 * sysdeps/i386/fpu/s_cos.S: Likewise.
8736 * sysdeps/i386/fpu/s_sin.S: Likewise.
8737 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8738 * sysdeps/i386/fpu/sincos32.c: Likewise.
8739
8740 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8741 Define.
8742 (libc_feupdateenv_53bit): Define.
8743 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8744 Define.
8745 (libc_feupdateenv_53bit): Define.
8746
8747 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8748 53 bit (without extend i386 double precision).
8749
8750 * math/libm-test.inc (sincos_test): Add tests for large input.
8751 (sin): Likewise.
8752 (cos): Likewise.
8753
8754 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8755
9cad04ea
AS
87562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8757
8758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8759
f7062b9a
DM
87602012-03-15 David S. Miller <davem@davemloft.net>
8761
8762 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8763 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8764 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8765 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8778 file.
f7062b9a 8779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8781 file.
f7062b9a 8782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8784 file.
f7062b9a 8785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8787 file.
f7062b9a
DM
8788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8789 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8790 fmin/fmax sysdep routines.
8791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8792
7bd951ff
DM
87932012-03-14 David S. Miller <davem@davemloft.net>
8794
559398ab
DM
8795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8799 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8800 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8801 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8802 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8815 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8818 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8821 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8823 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8824 routines.
8825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8826 file.
559398ab 8827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8829 file.
559398ab 8830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8832 file.
559398ab 8833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8835 file.
559398ab 8836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8838 file.
559398ab 8839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8841 file.
8842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8843 file.
8844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8845 file.
8846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8847 file.
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8849 New file.
8850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8851 file.
8852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8853 file.
559398ab 8854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8856 file.
559398ab 8857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8859 file.
559398ab 8860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8862 file.
559398ab 8863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8865 VIS3 routines.
559398ab
DM
8866
8867 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8868 New file.
8869
5a1c1e32
DM
8870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8871
eae47a36
DM
8872 * sysdeps/sparc/configure.in: New file.
8873 * sysdeps/sparc/configure: Generate.
8874 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8875 * configure: Regenerate.
8876 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8877 * config.make.in (have-as-vis3): New.
8878 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8879 available use -Av9d instead of -Av9a.
8880 * sysdeps/sparc/sparc64/Makefile: Likewise.
8881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8883 New file.
8884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8885 file.
8886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8887 New file.
8888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8889 file.
eae47a36
DM
8890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8891 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8892 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8893 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8894 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8895
c0c83bc8
DM
8896 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8897 fzeros/fnegs to load 0x80000000 into a float register instead of
8898 using the stack.
7bd951ff
DM
8899 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8900
bd951ccb
JM
89012012-03-14 Joseph Myers <joseph@codesourcery.com>
8902
8903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8904 bits/syscall.h.
8905 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8906 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8907 ($(inst_includedir)/bits/syscall.h): Remove rule.
8908 ($(objpfx)bits/syscall.d): Include instead of
8909 $(objpfx)syscall-list.d.
8910 (generated): Change syscall-list.h and syscall-list.d to
8911 bits/syscall.h and bits/syscall.d.
8912
bb4e6db2
RM
89132012-03-14 Roland McGrath <roland@hack.frob.com>
8914
8915 [BZ #13846]
8916 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8917
aa4a2ae1
JM
89182012-03-14 Joseph Myers <joseph@codesourcery.com>
8919
e456826d
JM
8920 [BZ #13841]
8921 * math/s_csqrt.c: Include <float.h>.
8922 (__csqrt): Scale large or subnormal inputs.
8923 * math/s_csqrtf.c: Likewise.
8924 * math/s_csqrtl.c: Likewise.
8925 * math/libm-test.inc (csqrt_test): Add more tests.
8926 * sysdeps/i386/fpu/libm-test-ulps: Update.
8927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8928
aa4a2ae1
JM
8929 [BZ #13840]
8930 * math/libm-test.inc (hypot_test): Add more tests.
8931
7c10fd35
DM
89322012-03-13 David S. Miller <davem@davemloft.net>
8933
8934 [BZ #13840]
8935 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8936 double-precision for the calculation instead of scaling.
8937
f453b98b
JM
89382012-03-13 Joseph Myers <joseph@codesourcery.com>
8939
8940 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8941 manipulate bits before adding and subtracting TWO52[sx].
8942 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8943 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8944 Likewise.
8945 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8946
09a3453f
DM
89472012-03-13 David S. Miller <davem@davemloft.net>
8948
8e59da90
DM
8949 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8950 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8952 rtld-global-offsets.h
8953 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8954
2a8ab7f2
DM
8955 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8956 large parameters.
8957
10f62770
DM
8958 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8959
5f0bdb18
DM
8960 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8961 'err' in the ifdef scope in which it is actually used.
8962
09a3453f
DM
8963 * nss/nss_db/db-init.c: Include string.h
8964
b4b2eb5e
DM
89652012-03-12 David S. Miller <davem@davemloft.net>
8966
98bb2f1c
DM
8967 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8968 masking out of the most significant byte of random value used.
8969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8970 Fix coding style in previous change.
8971
b4b2eb5e
DM
8972 * sysdeps/unix/sysv/linux/kernel-features.h
8973 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8974 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8975 expression.
8976 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8977 later.
8978
6e226b09
DM
89792012-03-11 David S. Miller <davem@davemloft.net>
8980
a1bcbd40
DM
8981 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8982 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8983 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8984 for 'resultvar' otherwise things get truncated on 64-bit.
8985
cb9d6174
DM
8986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8987 Fix masking out of the most significant byte of random value used.
8988
6e226b09
DM
8989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8990
058c132d
AS
89912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8992
8993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8994
2d2cd515
DM
89952012-03-09 David S. Miller <davem@davemloft.net>
8996
8997 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8998 variables with appropriate CPP guards.
8999 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9000 frame pointer, not the stack pointer. Correct layout comments. Fix test
9001 on resulting framesize and the management of the outregs buffer for pltexit.
9002 Preserve floating point return values across _dl_call_pltexit call.
9003 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9004 framesize and the management of the outregs buffer for pltexit.
9005 Preserve floating point return values across _dl_call_pltexit
9006 call.
9007 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9008 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9009 (print_exit): Fix format string for return register value.
9010
9a07f9d0
JM
90112012-03-10 Joseph Myers <joseph@codesourcery.com>
9012
9013 * sunrpc/Makefile (others): Add rpcgen.
9014 ($(objpfx)rpcgen): Remove special build rule and dependency on
9015 libc.
9016 * sunrpc/rpcgen.c: New file.
9017
547b5e30
PE
90182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9019
c524201a
PE
9020 [BZ #13673]
9021 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9022 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9023 * sysdeps/i386/crti.S: Likewise.
9024 * sysdeps/i386/crtn.S: Likewise.
9025 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9026 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9027 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9028 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9029 * sysdeps/sh/crti.S: Likewise.
9030 * sysdeps/sh/crtn.S: Likewise.
9031 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9032
7b6235f2
PE
9033 [BZ #13673]
9034 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9035 with URL.
9036 * locale/programs/locfile-kw.gperf: Likewise.
9037 * locale/programs/charmap-kw.h: Regenerated.
9038 * locale/programs/locfile-kw.h: Likewise.
9039
547b5e30
PE
9040 [BZ #13673]
9041 * intl/plural.y: Replace FSF snail mail address with URL.
9042 * intl/plural.c: Regenerated.
9043
5f0a5dae
RH
90442012-03-09 Richard Henderson <rth@twiddle.net>
9045
9046 * include/math_private.h: Remove file.
9047 * math/math_private.h: Move file ...
9048 * sysdeps/generic/math_private.h: ... here.
9049
b8c03620
RH
9050 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9051 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9052 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9053
4e234f5d 9054 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9055 and <math_private.h>.
9056 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9057 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9058 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9059 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9060 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9096 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9097 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9098 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9099 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9100 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9101 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9102 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9103 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9104 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9105 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9108 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9109 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9144 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9145 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9146 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9147 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9148 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9149 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9150 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9151 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9152 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9153 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9154 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9155 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9156 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9157 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9158 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9159 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9160 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9161 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9162 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9163 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9164 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9165 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9166 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9167 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9168 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9169 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9170 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9171 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9172 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9173 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9174 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9175 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9176 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9177 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9178 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9179 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9180 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9181 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9182 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9183 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9184 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9185 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9186 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9187 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9188 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9189 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9190 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9191 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9192 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9193 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9194 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9195 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9196 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9197 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9198 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9199 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9200 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9201 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9202 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9203 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9204 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9205 * sysdeps/ieee754/k_standard.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9256 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9273 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9321 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9325 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9326 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9328 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9333 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9338 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9354 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9355 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9356 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9366 * sysdeps/ieee754/s_lib_version.c: Likewise.
9367 * sysdeps/ieee754/s_matherr.c: Likewise.
9368 * sysdeps/ieee754/s_signgam.c: Likewise.
9369 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9370 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9371 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9372 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9373 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9374 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9375 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9376 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9377 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9378 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9379 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9380 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9381 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9382 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9383 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9384 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9385 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9386 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9387 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9390
1991fa03
JM
93912012-03-09 Joseph Myers <joseph@codesourcery.com>
9392
9393 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9394 * sunrpc/rpc_main.c: Likewise.
9395 * sunrpc/rpc_svcout.c: Likewise.
9396
60d6f5a6
DM
93972012-03-09 David S. Miller <davem@davemloft.net>
9398
9399 * include/math_private.h: New file.
9400
4962050e
JM
94012012-03-09 Joseph Myers <joseph@codesourcery.com>
9402
02a6f887
JM
9403 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9404 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9405 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9406 from <bits/socket_type.h>.
9407 (enum __socket_type): Don't define here.
9408 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9410 bits/socket_type.h.
9411
c6e013c1
JM
9412 [BZ #13566]
9413 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9414 checking __USE_GNU.
9415
4962050e
JM
9416 * Makerules ($(inst_includedir)/%.h): New rule.
9417 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9418 (install-others): Remove variable setting.
9419 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9420
38842f45
RH
94212012-03-08 Richard Henderson <rth@twiddle.net>
9422
67bb6da6
RH
9423 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9424 from macro to inline function; merge with the
9425 !__LIBC_INTERNAL_MATH_INLINES version.
9426 (__ieee754_sqrtf): Likewise.
9427
15194b4b
RH
9428 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9429 to inline function.
9430 (__rintf, __floor, __floorf): Likewise.
9431
64e21ede
RH
9432 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9433 macro to inline function.
9434 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9435
38842f45
RH
9436 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9437 not <math/math_private.h>.
9438
c64bf5fe
DM
94392012-03-08 David S. Miller <davem@davemloft.net>
9440
9441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9442 copyright year.
9443 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9444
82d86f28
TS
94452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9446
9447 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9448 normalization.
9449 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9450 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9451
aea5d727
UD
94522012-03-08 Ulrich Drepper <drepper@gmail.com>
9453
9454 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9455 be defined individually, they must be defined as a block. Define
9456 S for printing a string instead of hidint the different by using a
9457 macro for adding the 'l'.
9458 * stdio-common/tst-fphex-wide.c: Adjust.
9459
70bca0a3
MP
94602012-03-07 Marek Polacek <polacek@redhat.com>
9461
9462 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9463
65b81130
MP
94642012-03-08 Marek Polacek <polacek@redhat.com>
9465
9466 [BZ #13806]
9467 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9468 * stdio-common/tst-fphex.c: Define a few macros to make the
9469 test reusable. Use them.
9470 * stdio-common/tst-fphex-wide.c: New file.
9471
07037eeb
JM
94722012-03-08 Joseph Myers <joseph@codesourcery.com>
9473
a7a93d50
JM
9474 [BZ #6911]
9475 * manual/macros.texi (gnusystems): New macro.
9476 (nongnusystems): Likewise.
9477 (gnulinuxhurdsystems): Likewise.
9478 (gnuhurdsystems): Likewise..
9479 (gnulinuxsystems): Likewise.
9480 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9481 variants of the GNU system, not "GNU system".
9482 * manual/conf.texi: Likewise.
9483 * manual/errno.texi: Likewise. Update example of errno macro
9484 expansion.
9485 * manual/filesys.texi: Likewise.
9486 (getumask): Document as specific to GNU/Hurd.
9487 * manual/install.texi: Likewise. Reword some references to
9488 GNU/Linux.
9489 * manual/intro.texi: Likewise.
9490 * manual/io.texi: Likewise.
9491 (File Name Portability): Detail which constraints are inapplicable
9492 to all GNU systems and which are only inapplicable to GNU/Hurd.
9493 * manual/job.texi: Likewise.
9494 * manual/llio.texi: Likewise.
9495 (O_NOCTTY): Document as present on GNU/Linux.
9496 * manual/maint.texi: Likewise.
9497 * manual/memory.texi: Likewise.
9498 * manual/pattern.texi: Likewise.
9499 * manual/pipe.texi: Likewise.
9500 * manual/process.texi: Likewise.
9501 * manual/resource.texi: Likewise.
9502 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9503 child on GNU/Hurd.
9504 * manual/setjmp.texi: Likewise.
9505 * manual/signal.texi: Likewise.
9506 * manual/startup.texi: Likewise.
9507 * manual/stdio.texi: Likewise.
9508 * manual/terminal.texi: Likewise.
9509 (ONLCR): Document as POSIX.
9510 (OXTABS): Document availability on GNU/Linux as XTABS.
9511 (ONOEOT): Document availability separately from other bits.
9512 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9513 * manual/time.texi: Likewise.
9514 * manual/users.texi: Likewise.
9515 * INSTALL: Regenerated.
9516 * sysdeps/gnu/errlist.c: Regenerated.
9517
07037eeb
JM
9518 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9519 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9520 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9521 puts.
9522 * configure: Regenerated.
9523
d1d3431a
JM
95242012-03-07 Joseph Myers <joseph@codesourcery.com>
9525
af6a1e37
JM
9526 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9527 default includes instead of AC_HEADER_CHECK.
9528 * sysdeps/i386/configure: Regenerated.
9529
d1d3431a
JM
9530 [BZ #10716]
9531 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9532 * math/s_cacoshf.c (__cacoshf): Likewise.
9533 * math/s_cacoshl.c (__cacoshl): Likewise.
9534 * math/s_casinh.c (__casinh): Set signs of result from argument.
9535 * math/s_casinhf.c (__casinhf): Likewise.
9536 * math/s_casinhl.c (__casinhl): Likewise.
9537 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9538 (casinh_test): Add more tests.
9539 * sysdeps/i386/fpu/libm-test-ulps: Update.
9540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9541
482ff4da
UD
95422012-03-07 Ulrich Drepper <drepper@gmail.com>
9543
872fda05
UD
9544 * po/zh_TW.po: Update from translation team.
9545
a4300c7a
UD
9546 * login/Makefile (distribute): Remove variable.
9547 * catgets/Makefile: Likewise.
9548 * mach/Makefile: Likewise.
9549 * malloc/Makefile: Likewise.
9550 * misc/Makefile: Likewise.
9551 * iconv/Makefile: Likewise.
9552 * nscd/Makefile: Likewise.
9553 * hurd/Makefile: Likewise.
9554 * manual/Makefile: Likewise.
9555 * locale/Makefile: Likewise.
9556 * intl/Makefile: Likewise.
9557 * conform/Makefile: Likewise.
9558 * nss/Makefile: Likewise.
9559 * time/Makefile: Likewise.
9560 * soft-fp/Makefile: Likewise.
9561 * dirent/Makefile: Likewise.
9562 * gmon/Makefile: Likewise.
9563 * po/Makefile: Likewise.
9564 * rt/Makefile: Likewise.
9565 * socket/Makefile: Likewise.
9566 * math/Makefile: Likewise.
9567 * signal/Makefile: Likewise.
9568 * debug/Makefile: Likewise.
9569 * elf/Makefile: Likewise.
9570 * timezone/Makefile: Likewise.
9571 * stdlib/Makefile: Likewise.
9572 * iconvdata/Makefile: Likewise.
9573 * sunrpc/Makefile: Likewise.
9574 * io/Makefile: Likewise.
9575 * argp/Makefile: Likewise.
9576 * inet/Makefile: Likewise.
9577 * hesiod/Makefile: Likewise.
9578 * grp/Makefile: Likewise.
9579 * csu/Makefile: Likewise.
9580 * wctype/Makefile: Likewise.
9581 * crypt/Makefile: Likewise.
9582 * libio/Makefile: Likewise.
9583 * string/Makefile: Likewise.
9584 * nis/Makefile: Likewise.
9585 * resolv/Makefile: Likewise.
9586 * stdio-common/Makefile: Likewise.
9587 * wcsmbs/Makefile: Likewise.
9588 * dlfcn/Makefile: Likewise.
9589 * posix/Makefile: Likewise.
9590
3b7c4e74 9591 [BZ #6959]
482ff4da
UD
9592 * timezone/Makefile: Don't install timezone files, just the programs
9593 and scripts.
9594
f72ed77d
UD
95952012-03-06 Ulrich Drepper <drepper@gmail.com>
9596
a000466f
UD
9597 * nss/databases.def: Add missing gshadow entry.
9598
f72ed77d
UD
9599 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9600
a53b7a4e
MP
96012012-03-06 Marek Polacek <polacek@redhat.com>
9602
9603 [BZ #13726]
9604 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9605 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9606 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9607 * stdio-common/tst-long-dbl-fphex.c: New file.
9608
e9258400
DM
96092012-03-06 David S. Miller <davem@davemloft.net>
9610
9611 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9612 (set_obp_int): New function.
9613 (get_obp_int): New function.
9614 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9615 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9616 Avoid unused variable warnings on 'val' and use builtin_expect.
9617 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9618 __builtin_expect.
e9258400
DM
9619 (INLINE_CLONE_SYSCALL): Likewise.
9620
3bd2c723
DM
96212012-03-05 David S. Miller <davem@davemloft.net>
9622
9623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9624
bbb78d03
AS
96252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9626
884c5db4
AS
9627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9628
bbb78d03
AS
9629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9630 only for |x| >= 40.
9631 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9632
1c9f702a 96332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9634
9635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9636 Replace gettimeofday with __vdso_gettimeofday.
9637
7be16f82
RM
9638 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9639 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9640 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9641
9642 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9643 time with __vdso_time.
9644
ed58a00f
JM
96452012-03-05 Joseph Myers <joseph@codesourcery.com>
9646
9647 * manual/lang.texi (size_t): Note types to which size_t may be
9648 equivalent with the GNU C Library, but do not describe when
9649 differences between them are significant.
9650
30ee4ced
AJ
96512012-03-05 Andreas Jaeger <aj@suse.de>
9652
9653 * sysdeps/i386/fpu/libm-test-ulps: Update.
9654
b7cd39e8
JM
96552012-03-05 Joseph Myers <joseph@codesourcery.com>
9656
9657 [BZ #3976]
9658 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9659 (__ieee754_pow): Save and restore rounding mode and use
9660 round-to-nearest for main computations.
9661 * math/libm-test.inc (pow_test_tonearest): New function.
9662 (pow_test_towardzero): Likewise.
9663 (pow_test_downward): Likewise.
9664 (pow_test_upward): Likewise.
9665 (main): Call the new functions.
9666 * sysdeps/i386/fpu/libm-test-ulps: Update.
9667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9668
9669 [BZ #3976]
9670 * math/libm-test.inc (cosh_test_tonearest): New function.
9671 (cosh_test_towardzero): Likewise.
9672 (cosh_test_downward): Likewise.
9673 (cosh_test_upward): Likewise.
9674 (sinh_test_tonearest): Likewise.
9675 (sinh_test_towardzero): Likewise.
9676 (sinh_test_downward): Likewise.
9677 (sinh_test_upward): Likewise.
9678 (main): Call the new functions.
9679 * sysdeps/i386/fpu/libm-test-ulps: Update.
9680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9681
6c6a98c9
TV
96822012-03-05 Tom de Vries <tom@codesourcery.com>
9683
9684 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9685 default stack guard is set in last bytes.
9686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9687
21bb2d2e 96882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9689
21bb2d2e 9690 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9691
21bb2d2e
AJ
9692 [BZ #13656]
9693 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9694 possibly allocate from heap instead of stack.
9695 * stdio-common/bug-vfprintf-nargs.c: New file.
9696 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9697
c6922934
AS
96982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9699
9700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9701
bc957d53
MP
97022012-03-03 Marek Polacek <polacek@redhat.com>
9703
9704 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9705 * math/math_private.h: Likewise.
9706 * stdlib/tst-strtod.c: Likewise.
9707 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9708 * sysdeps/x86_64/bits/atomic.h: Likewise.
9709
6358490d
DM
97102012-03-02 David S. Miller <davem@davemloft.net>
9711
9712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9716 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9717 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9718 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9719 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9720
01ae168d
RM
97212012-03-02 Roland McGrath <roland@hack.frob.com>
9722
d9a17c07
RM
9723 [BZ #13792]
9724 * manual/examples/README: New file, says the example source files
9725 can be used under GPL>=2.
9726 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9727 line containing just "*/".
9728 * manual/examples/add.c: Add copyright header (GPL>=2).
9729 * manual/examples/argp-ex1.c: Likewise.
9730 * manual/examples/argp-ex2.c: Likewise.
9731 * manual/examples/argp-ex3.c: Likewise.
9732 * manual/examples/argp-ex4.c: Likewise.
9733 * manual/examples/atexit.c: Likewise.
9734 * manual/examples/db.c: Likewise.
9735 * manual/examples/dir.c: Likewise.
9736 * manual/examples/dir2.c: Likewise.
9737 * manual/examples/execinfo.c: Likewise.
9738 * manual/examples/filecli.c: Likewise.
9739 * manual/examples/filesrv.c: Likewise.
9740 * manual/examples/fmtmsgexpl.c: Likewise.
9741 * manual/examples/genpass.c: Likewise.
9742 * manual/examples/inetcli.c: Likewise.
9743 * manual/examples/inetsrv.c: Likewise.
9744 * manual/examples/isockad.c: Likewise.
9745 * manual/examples/longopt.c: Likewise.
9746 * manual/examples/memopen.c: Likewise.
9747 * manual/examples/memstrm.c: Likewise.
9748 * manual/examples/mkfsock.c: Likewise.
9749 * manual/examples/mkisock.c: Likewise.
9750 * manual/examples/mygetpass.c: Likewise.
9751 * manual/examples/pipe.c: Likewise.
9752 * manual/examples/popen.c: Likewise.
9753 * manual/examples/rprintf.c: Likewise.
9754 * manual/examples/search.c: Likewise.
9755 * manual/examples/select.c: Likewise.
9756 * manual/examples/setjmp.c: Likewise.
9757 * manual/examples/sigh1.c: Likewise.
9758 * manual/examples/sigusr.c: Likewise.
9759 * manual/examples/stpcpy.c: Likewise.
9760 * manual/examples/strdupa.c: Likewise.
9761 * manual/examples/strftim.c: Likewise.
9762 * manual/examples/strncat.c: Likewise.
9763 * manual/examples/subopt.c: Likewise.
9764 * manual/examples/swapcontext.c: Likewise.
9765 * manual/examples/termios.c: Likewise.
9766 * manual/examples/testopt.c: Likewise.
9767 * manual/examples/testpass.c: Likewise.
9768 * manual/examples/timeval_subtract.c: Likewise.
9769
01ae168d
RM
9770 [BZ #13792]
9771 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9772 function to ...
9773 * manual/timeval_subtract.c.texi: ... here, new file.
9774
49efa33d
DM
97752012-03-02 David S. Miller <davem@davemloft.net>
9776
9777 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9778
28afd92d
JM
97792012-03-02 Joseph Myers <joseph@codesourcery.com>
9780
804360ed
JM
9781 [BZ #3976]
9782 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9783 (__sin): Save and restore rounding mode and use round-to-nearest
9784 for all computations.
9785 (__cos): Save and restore rounding mode and use round-to-nearest
9786 for all computations.
9787 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9788 <fenv.h>.
9789 (tan): Save and restore rounding mode and use round-to-nearest for
9790 all computations.
9791 * math/libm-test.inc (cos_test_tonearest): New function.
9792 (cos_test_towardzero): Likewise.
9793 (cos_test_downward): Likewise.
9794 (cos_test_upward): Likewise.
9795 (sin_test_tonearest): Likewise.
9796 (sin_test_towardzero): Likewise.
9797 (sin_test_downward): Likewise.
9798 (sin_test_upward): Likewise.
9799 (tan_test_tonearest): Likewise.
9800 (tan_test_towardzero): Likewise.
9801 (tan_test_downward): Likewise.
9802 (tan_test_upward): Likewise.
9803 (main): Call the new functions.
9804 * sysdeps/i386/fpu/libm-test-ulps: Update.
9805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9806
a6d06d7b
JM
9807 [BZ #10135]
9808 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9809 small n, then large n, before computing and testing k+n.
9810 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9812 Likewise.
9813 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9814 Likewise.
9815 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9816 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9819 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9820 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9821 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9822 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9823 * math/libm-test.inc (scalbn_test): Add more tests.
9824 (scalbln_test): Likewise.
9825
07e12bb3
JM
9826 * manual/filesys.texi (mode_t): Describe constraints on size and
9827 signedness, not exact equivalence to a particular type.
9828 (ino_t): Likewise.
9829 (ino64_t): Likewise.
9830 (dev_t): Likewise.
9831 (nlink_t): Likewise.
9832 (blkcnt_t): Likewise.
9833 (blkcnt64_t): Likewise.
9834 * manual/llio.texi (off_t): Likewise.
9835
28afd92d
JM
9836 [BZ #3976]
9837 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9838 (__ieee754_exp): Save and restore rounding mode and use
9839 round-to-nearest for all computations.
9840 * math/libm-test.inc (exp_test_tonearest): New function.
9841 (exp_test_towardzero): Likewise.
9842 (exp_test_downward): Likewise.
9843 (exp_test_upward): Likewise.
9844 (main): Call the new functions.
9845 * sysdeps/i386/fpu/libm-test-ulps: Update.
9846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9847
b1eeb65d
CD
98482012-03-01 Chris Demetriou <cgd@google.com>
9849
9850 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9851 have predictable order.
9852
53362a4b
DM
98532012-03-01 David S. Miller <davem@davemloft.net>
9854
3c969083
DM
9855 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9856
759707de
DM
9857 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9858 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9859 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9860 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9861
dfdb8ff2
DM
9862 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9863 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9864 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9866 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9867 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9868 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9869 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9870 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9871
ead89f96
DM
9872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9873
7f66bd07
DM
9874 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9875 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9876 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9877
53362a4b
DM
9878 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9879 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9880 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9881 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9882 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9883 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9885 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9886 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9887 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9888 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9892 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9893 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9894 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9895 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9896 * sysdeps/sparc/elf/configure: Regenerated.
9897
7b1902cb
JM
98982012-03-01 Joseph Myers <joseph@codesourcery.com>
9899
bec039bc
JM
9900 * configure.in (AS, LD): Require binutils 2.20 or later.
9901 * configure: Regenerated.
9902 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9903 as required minimum version.
9904 * INSTALL: Regenerated.
9905
7b1902cb
JM
9906 [BZ #2541]
9907 [BZ #4108]
9908 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9909 before squaring exponent.
9910 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9911 bottom long double and 27 bits of top long double before squaring
9912 exponent.
9913 * math/libm-test.inc (erfc_test): Add more tests.
9914 * sysdeps/i386/fpu/libm-test-ulps: Update.
9915 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9917
f775c276
KT
99182012-03-01 Kai Tietz <ktietz@redhat.com>
9919
9920 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9921 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9922 containing bit-fields.
9923 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9924 * soft-fp/single.h (_FP_UNION_S): Likewise.
9925 * soft-fp/double.h (_FP_UNION_D): Likewise.
9926
5b8a4d4a
JM
99272012-02-29 Joseph Myers <joseph@codesourcery.com>
9928
0bab47b6
JM
9929 [BZ #13786]
9930 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9931 not include ../strcmp.S.
9932 [USE_AS_STRNCASECMP_L]: Likewise.
9933 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9934 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9935 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9936 (__strncasecmp_l_ia32): Define as alias to
9937 __strncasecmp_l_nonascii.
9938
0fcad3e2
JM
9939 [BZ #5794]
9940 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9941 * sysdeps/i386/fpu/libm-test-ulps: Update.
9942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9943
5b8a4d4a
JM
9944 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9946
8fdceb2e
JL
99472012-02-29 Jeff Law <law@redhat.com>
9948
9949 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9950 out of bounds read.
9951
1f393a11
MP
99522012-02-29 Marek Polacek <polacek@redhat.com>
9953
9954 [BZ #13706]
9955 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9956 * elf/Makefile: Add rules to run tst-unused-dep.out.
9957
8847f037
DM
99582012-02-28 David S. Miller <davem@davemloft.net>
9959
9960 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9961 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9962 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9963 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9964 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9965 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9966
169d7f11
JM
99672012-02-29 Joseph Myers <joseph@codesourcery.com>
9968
9969 * math/libm-test.inc (llround_test): Move one test from
9970 lround_test. Use TEST_f_L in moved test.
9971 (lround_test): Move misplaced test to llround_test. Add testcase
9972 from bug 2561.
9973
39adf059
UD
99742012-02-28 Ulrich Drepper <drepper@gmail.com>
9975
9976 * sysdeps/x86_64/fpu/e_expf.S: New file.
9977 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9978
71b5d1c5
SB
99792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9980
9981 [BZ #13637]
9982 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9983 of remain_len that may cause incomplete multi-byte character and
9984 false match.
9985 * posix/bug-regex33.c: New file.
9986 * posix/Makefile (tests): Add bug-regex33.
9987
1f77f049
JM
99882012-02-28 Joseph Myers <joseph@codesourcery.com>
9989
9990 * manual/macros.texi: New file.
9991 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9992 * manual/libc.texinfo: Include macros.texi.
9993 * manual/creatute.texi: Likewise.
9994 * manual/install.texi: Likewise.
9995 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9996 @glibcadj{} in references to the GNU C Library.
9997 * manual/charset.texi: Likewise.
9998 * manual/conf.texi: Likewise.
9999 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10000 when not using those macros.
10001 * manual/creature.texi: Likewise.
10002 * manual/crypt.texi: Likewise.
10003 * manual/errno.texi: Likewise.
10004 * manual/filesys.texi: Likewise.
10005 * manual/header.texi: Likewise.
10006 * manual/install.texi: Likewise.
10007 * manual/intro.texi: Likewise.
10008 * manual/io.texi: Likewise.
10009 * manual/job.texi: Likewise.
10010 * manual/lang.texi: Likewise.
10011 * manual/libc.texiinfo: Likewise.
10012 * manual/llio.texi: Likewise.
10013 * manual/locale.texi: Likewise.
10014 * manual/maint.texi: Likewise.
10015 * manual/math.texi: Likewise.
10016 * manual/memory.texi: Likewise.
10017 * manual/message.texi: Likewise.
10018 * manual/nss.texi: Likewise.
10019 * manual/pattern.texi: Likewise.
10020 * manual/process.texi: Likewise.
10021 * manual/resource.texi: Likewise.
10022 * manual/search.texi: Likewise.
10023 * manual/setjmp.texi: Likewise.
10024 * manual/signal.texi: Likewise.
10025 * manual/socket.texi: Likewise.
10026 * manual/startup.texi: Likewise.
10027 * manual/stdio.texi: Likewise.
10028 * manual/string.texi: Likewise.
10029 * manual/sysinfo.texi: Likewise.
10030 * manual/syslog.texi: Likewise.
10031 * manual/terminal.texi: Likewise.
10032 * manual/time.texi: Likewise.
10033 * manual/users.texi: Likewise.
10034 * INSTALL: Regenerated.
10035 * NOTES: Regenerated.
d40c5d54 10036 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10037
450bf206
AS
100382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10039
10040 * include/dirent.h: Include <dirstream.h> before
10041 <dirent/dirent.h>.
10042
741a235b
DM
100432012-02-28 David S. Miller <davem@davemloft.net>
10044
10045 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10046 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10047 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10048 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10049
d6b5aa58
DM
100502012-02-27 David S. Miller <davem@davemloft.net>
10051
1aff59a3
DM
10052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10054 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10055 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10056
d6b5aa58
DM
10057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10058 frame pointer instead of stack pointer relative arg slot.
10059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10060 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10061 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10062
433f48bf
CD
100632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10064
10065 [BZ #3992]
10066 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10067
d674b76d
DM
100682012-02-27 David S. Miller <davem@davemloft.net>
10069
10070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10074 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10075 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10076 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10077 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10078
0e7727f7
JM
100792012-02-27 Joseph Myers <joseph@codesourcery.com>
10080
10081 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10082 later. Allow versions 5-9.
43be4ca2 10083 * configure: Regenerated.
0e7727f7
JM
10084 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10085 required minimum version and 4.6 as recommended version. Do not
10086 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10087 * INSTALL: Regenerated.
0e7727f7 10088
a78bc654
DM
100892012-02-27 David S. Miller <davem@davemloft.net>
10090
428d5830
DM
10091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10095 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10096 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10097 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10098 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10099
a78bc654
DM
10100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10101 manipulate bits before adding and subtracting TWO112[sx].
10102 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10103
4579f81c
RM
101042012-02-27 Roland McGrath <roland@hack.frob.com>
10105
36c8acb4
RM
10106 [BZ #13775]
10107 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10108 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10109 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10110 being in POSIX, because they are in 1003.1-2008.
10111
84ad622b
RM
10112 * rt/tst-aio.c: Include <fcntl.h>.
10113 * rt/tst-aio7.c: Likewise.
10114 * rt/tst-aio64.c: Likewise.
10115
4579f81c
RM
10116 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10117
abd923db
JM
101182012-02-27 Joseph Myers <joseph@codesourcery.com>
10119
10120 * manual/install.texi (--with-headers): Describe headers as
10121 interface headers, not private headers.
10122 (Specific advice for GNU/Linux systems): Describe use of headers
10123 from "make headers_install", not private headers from older
10124 kernels.
43be4ca2 10125 * INSTALL: Regenerated.
abd923db
JM
10126 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10127 Change to 2.6.19.
10128 * sysdeps/unix/sysv/linux/configure: Regenerated.
10129
6664049b
JM
10130 * manual/llio.texi (fclean): Remove documentation.
10131
bb8b6697
JM
10132 * manual/Makefile (libc-texi-generated): New variable. Include
10133 version.texi.
10134 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10135 $(libc-texi-generated), not duplicated list of files.
10136 (version.texi, stamp-version): New rules.
10137 (realclean): Remove $(libc-texi-generated), not individual files
10138 from that list. Do not remove dir-add.texinfo.
10139 * manual/libc.texinfo: Comment out uses of edition numbers and
10140 references to printed manual. Remove last-updated dates.
10141 (EDITION): Comment out.
10142 (ISBN): Likewise.
10143 (VERSION, UPDATED): Remove.
10144 (version.texi): Include.
10145
12e5c3b9
AS
101462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10147
10148 * sysdeps/posix/spawni.c: Include <signal.h>.
10149 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10150 * sysdeps/pthread/aio_fsync.c: Likewise.
10151
4efeffc1 101522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10153
ba63ba08
UD
10154 * conform/Makefile (tests): Run only when not cross-compiling and
10155 when fast-check is not defined.
10156
d94a4670
UD
10157 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10158 * conform/data/limits.h-data: Fixes for POSIX2008.
10159 * conform/run-conformtest.sh: Run all tests.
10160 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10161 headers.
10162 * include/bits/dlfcn.h: Likewise.
10163 * include/langinfo.h: Likewise.
10164 * include/monetary.h: Likewise.
10165 * include/sys/poll.h: Likewise.
10166
10167 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10168 for __USE_GNU.
10169 * posix/spawn.h: Define __need_sigset_t.
10170 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10171 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10172 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10173 to get sigevent_t only.
10174 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10175 only for __USE_GNU.
10176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10177 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10178 process_vm_writev only for __USE_GNU.
10179 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10180
10181 * conform/Makefile: For now ignore errors from run-conformtest.
10182 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10183 POSIX to avoid namespace pollution. Don't prepend headers.
10184 * conform/data/aio.h-data: Fixes for POSIX testing.
10185 * conform/data/fcntl.h-data: Likewise.
10186 * conform/data/glob.h-data: Likewise.
10187 * conform/data/grp.h-data: Likewise.
10188 * conform/data/pthread.h-data: Likewise.
10189 * conform/data/pwd.h-data: Likewise.
10190 * conform/data/signal.h-data: Likewise.
10191 * conform/data/spawn.h-data: Likewise.
10192 * conform/data/stdio.h-data: Likewise.
10193 * conform/data/stdlib.h-data: Likewise.
10194 * conform/data/stropts.h-data: Likewise.
10195 * conform/data/sys/mman.h-data: Likewise.
10196 * conform/data/sys/stat.h-data: Likewise.
10197 * conform/data/sys/types.h-data: Likewise.
10198 * conform/data/sys/wait.h-data: Likewise.
10199 * conform/data/time.h-data: Likewise.
10200 * conform/data/unistd.h-data: Likewise.
10201 * conform/data/utime.h-data: Likewise.
10202
10203 * io/sys/stat.h: fchmod was always in POSIX.
10204 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10205 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10206 * rt/aio.h: Define __need_timespec before including <time.h>.
10207 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10208 struct. Add forward declaration of pthread_attr_t and use it in
10209 sigevent.
10210 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10211 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10212 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10213 always remove CLK_TCK definition.
10214
c20105c3
AS
102152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10216
10217 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10218
7a270350
UD
102192012-02-25 Ulrich Drepper <drepper@gmail.com>
10220
31341567
UD
10221 * conform/run-conformtest.sh: New file.
10222 * conform/Makefile: Run run-conformtest for tests.
10223 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10224 support.
10225
10226 * conform/data/uchar.h-data: New file.
10227 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10228 * conform/data/arpa/inet.h-data: Likewise.
10229 * conform/data/assert.h-data: Likewise.
10230 * conform/data/complex.h-data: Likewise.
10231 * conform/data/cpio.h-data: Likewise.
10232 * conform/data/ctype.h-data: Likewise.
10233 * conform/data/dirent.h-data: Likewise.
10234 * conform/data/dlfcn.h-data: Likewise.
10235 * conform/data/errno.h-data: Likewise.
10236 * conform/data/fcntl.h-data: Likewise.
10237 * conform/data/float.h-data: Likewise.
10238 * conform/data/fmtmsg.h-data: Likewise.
10239 * conform/data/fnmatch.h-data: Likewise.
10240 * conform/data/ftw.h-data: Likewise.
10241 * conform/data/glob.h-data: Likewise.
10242 * conform/data/grp.h-data: Likewise.
10243 * conform/data/iconv.h-data: Likewise.
10244 * conform/data/inttypes.h-data: Likewise.
10245 * conform/data/langinfo.h-data: Likewise.
10246 * conform/data/libgen.h-data: Likewise.
10247 * conform/data/limits.h-data: Likewise.
10248 * conform/data/locale.h-data: Likewise.
10249 * conform/data/math.h-data: Likewise.
10250 * conform/data/monetary.h-data: Likewise.
10251 * conform/data/mqueue.h-data: Likewise.
10252 * conform/data/ndbm.h-data: Likewise.
10253 * conform/data/net/if.h-data: Likewise.
10254 * conform/data/netdb.h-data: Likewise.
10255 * conform/data/netinet/in.h-data: Likewise.
10256 * conform/data/nl_types.h-data: Likewise.
10257 * conform/data/poll.h-data: Likewise.
10258 * conform/data/pthread.h-data: Likewise.
10259 * conform/data/pwd.h-data: Likewise.
10260 * conform/data/regex.h-data: Likewise.
10261 * conform/data/sched.h-data: Likewise.
10262 * conform/data/search.h-data: Likewise.
10263 * conform/data/semaphore.h-data: Likewise.
10264 * conform/data/setjmp.h-data: Likewise.
10265 * conform/data/signal.h-data: Likewise.
10266 * conform/data/spawn.h-data: Likewise.
10267 * conform/data/stdarg.h-data: Likewise.
10268 * conform/data/stdio.h-data: Likewise.
10269 * conform/data/stdlib.h-data: Likewise.
10270 * conform/data/string.h-data: Likewise.
10271 * conform/data/strings.h-data: Likewise.
10272 * conform/data/stropts.h-data: Likewise.
10273 * conform/data/sys/ipc.h-data: Likewise.
10274 * conform/data/sys/mman.h-data: Likewise.
10275 * conform/data/sys/msg.h-data: Likewise.
10276 * conform/data/sys/resource.h-data: Likewise.
10277 * conform/data/sys/select.h-data: Likewise.
10278 * conform/data/sys/sem.h-data: Likewise.
10279 * conform/data/sys/shm.h-data: Likewise.
10280 * conform/data/sys/socket.h-data: Likewise.
10281 * conform/data/sys/stat.h-data: Likewise.
10282 * conform/data/sys/statvfs.h-data: Likewise.
10283 * conform/data/sys/time.h-data: Likewise.
10284 * conform/data/sys/timeb.h-data: Likewise.
10285 * conform/data/sys/times.h-data: Likewise.
10286 * conform/data/sys/types.h-data: Likewise.
10287 * conform/data/sys/uio.h-data: Likewise.
10288 * conform/data/sys/un.h-data: Likewise.
10289 * conform/data/sys/utsname.h-data: Likewise.
10290 * conform/data/sys/wait.h-data: Likewise.
10291 * conform/data/syslog.h-data: Likewise.
10292 * conform/data/tar.h-data: Likewise.
10293 * conform/data/termios.h-data: Likewise.
10294 * conform/data/utime.h-data: Likewise.
10295 * conform/data/utmpx.h-data: Likewise.
10296 * conform/data/varargs.h-data: Likewise.
10297 * conform/data/wchar.h-data: Likewise.
10298 * conform/data/wctype.h-data: Likewise.
10299 * conform/data/wordexp.h-data: Likewise.
10300
10301 * include/stropts.h: New file.
10302 * include/uchar.h: New file.
10303 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10304 * include/assert.h: Likewise.
10305 * include/ctype.h: Likewise.
10306 * include/dirent.h: Likewise.
10307 * include/dlfcn.h: Likewise.
10308 * include/fcntl.h: Likewise.
10309 * include/fnmatch.h: Likewise.
10310 * include/glob.h: Likewise.
10311 * include/grp.h: Likewise.
10312 * include/libio.h: Likewise.
10313 * include/locale.h: Likewise.
10314 * include/math.h: Likewise.
10315 * include/net/if.h: Likewise.
10316 * include/netdb.h: Likewise.
10317 * include/netinet/in.h: Likewise.
10318 * include/pthread.h: Likewise.
10319 * include/pwd.h: Likewise.
10320 * include/regex.h: Likewise.
10321 * include/sched.h: Likewise.
10322 * include/search.h: Likewise.
10323 * include/setjmp.h: Likewise.
10324 * include/signal.h: Likewise.
10325 * include/stdio.h: Likewise.
10326 * include/stdlib.h: Likewise.
10327 * include/string.h: Likewise.
10328 * include/sys/cdefs.h: Likewise.
10329 * include/sys/mman.h: Likewise.
10330 * include/sys/msg.h: Likewise.
10331 * include/sys/resource.h: Likewise.
10332 * include/sys/select.h: Likewise.
10333 * include/sys/socket.h: Likewise.
10334 * include/sys/stat.h: Likewise.
10335 * include/sys/statvfs.h: Likewise.
10336 * include/sys/time.h: Likewise.
10337 * include/sys/times.h: Likewise.
10338 * include/sys/uio.h: Likewise.
10339 * include/sys/utsname.h: Likewise.
10340 * include/sys/wait.h: Likewise.
10341 * include/termios.h: Likewise.
10342 * include/time.h: Likewise.
10343 * include/ulimit.h: Likewise.
10344 * include/unistd.h: Likewise.
10345 * include/utime.h: Likewise.
10346 * include/wchar.h: Likewise.
10347 * include/wctype.h: Likewise.
10348 * include/wordexp.h: Likewise.
10349
10350 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10351
7a270350
UD
10352 * time/time.h: TIME_UTC must be a macro.
10353 Make timespec_get available for ISO C11 only as well.
10354
7724defc
UD
103552012-02-24 Ulrich Drepper <drepper@gmail.com>
10356
10357 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10358 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10359
6b1d1d46
JM
103602012-02-24 Joseph Myers <joseph@codesourcery.com>
10361
10362 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10363
0f8bbd69
JM
103642012-02-24 Joseph Myers <joseph@codesourcery.com>
10365
10366 * manual/texinfo.tex: Update to version 2012-01-19.16.
10367
66ab80bc
JM
103682012-02-24 Joseph Myers <joseph@codesourcery.com>
10369
10370 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10371
74981cc5
RM
103722012-02-24 Roland McGrath <roland@hack.frob.com>
10373
ee968201
RM
10374 [BZ #13738]
10375 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10376 * manual/fdl-1.3.texi: New file.
10377 * manual/fdl-1.1.texi: File removed.
10378
74981cc5
RM
10379 [BZ #13738]
10380 * manual/libc.texinfo (FDL_VERSION): New @set.
10381 Use it for mention of FDL in cover text.
10382 (Documentation License): Use it in @include file name.
10383
7bb764bc
JM
103842012-02-22 Joseph Myers <joseph@codesourcery.com>
10385 Roland McGrath <roland@hack.frob.com>
10386
10387 [BZ #5461]
10388 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10389 not LONG_LONG_MAX and LONG_LONG_MIN.
10390 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10391 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10392 name.
10393 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10394
6cbeae47
JM
103952012-02-22 Joseph Myers <joseph@codesourcery.com>
10396
10397 [BZ #2547]
10398 [BZ #11365]
10399 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10400 manipulate bits before adding and subtracting TWO23[sx].
10401 * math/libm-test.inc (nearbyint_test): Add more tests.
10402
fe45ce09
JM
104032012-02-22 Joseph Myers <joseph@codesourcery.com>
10404
10405 [BZ #2548]
10406 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10407 bits before adding and subtracting TWO23[sx].
10408 * math/libm-test.inc (rint_test): Add more tests.
10409 (rint_test_tonearest): Likewise.
10410 (rint_test_towardzero): Likewise.
10411 (rint_test_downward): Likewise.
10412 (rint_test_upward: Likewise.
10413
ff3b3d82
JM
104142012-02-22 Joseph Myers <joseph@codesourcery.com>
10415
10416 [BZ #10110]
10417 * include/stdc-predef.h: New file. Extracted from features.h.
10418 * include/features.h: Include stdc-predef.h.
10419 * Makefile (headers): Add stdc-predef.h.
10420 * CONFORMANCE (Compiler limitations): Update.
10421
ef0aab35
JM
104222012-02-22 Joseph Myers <joseph@codesourcery.com>
10423
10424 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10425
58639409
DM
104262012-02-21 David S. Miller <davem@davemloft.net>
10427
10428 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10429 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10430
c0e70b25
DM
104312012-02-20 David S. Miller <davem@davemloft.net>
10432
10433 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10434 using a normal save/restore sequence, rather than allocating a
10435 dummy stack frame just to store a frame pointer and restore.
10436 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10437
fb06851d
JM
104382012-02-21 Joseph Myers <joseph@codesourcery.com>
10439
10440 * manual/install.texi: Fix stray word in line-wrapped comment.
10441
7a8b71c3
DM
104422012-02-20 David S. Miller <davem@davemloft.net>
10443
d510c123
DM
10444 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10445 both binutils and gcc support GOTDATA.
10446
0722d7c2
DM
10447 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10448 "rd %pc" in the PIC register setup sequences.
10449
3d2b3019
DM
10450 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10451 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10452 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10453 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10454 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10456 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10457 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10459 (SYSCALL_ERROR_HANDLER): Likewise.
10460 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10461 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10463 (SYSCALL_ERROR_HANDLER): Likewise.
10464
c80098a9
DM
10465 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10466 (HAVE_GCC_GOTDATA): New.
10467 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10468 relocation support in both binutils and gcc.
10469 * sysdeps/sparc/elf/configure: Regenerate.
10470
3a2545a0
DM
10471 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10472 * sysdeps/sparc/sparc32/elf/configure: Delete.
10473 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10474 * sysdeps/sparc/sparc64/elf/configure: Delete.
10475 * sysdeps/sparc/elf/configure.in: New file.
10476 * sysdeps/sparc/elf/configure: Generate.
10477
7a8b71c3
DM
10478 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10479 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10480 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10481 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10482 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10483
f1e86fca
JM
104842012-02-21 Joseph Myers <joseph@codesourcery.com>
10485
10486 * manual/install.texi: Do not mention specific glibc version
10487 numbers.
10488 * manual/libc.texinfo (VERSION, UPDATED): Update.
10489 (@copying): Use @copyright{} and range of years.
10490
0e7dfaef
JM
104912012-02-21 Joseph Myers <joseph@codesourcery.com>
10492
10493 [BZ #13695]
10494 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10495 [crti.S not in sysdirs] (generated): Do not append.
10496 [crti.S not in sysdirs] (omit-deps): Likewise.
10497 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10498 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10499 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10500 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10501 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10502 Likewise.
10503 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10504 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10505 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10506 * csu/defs.awk: Remove file.
10507 * sysdeps/generic/initfini.c: Likewise.
10508 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10509 variable.
10510 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10511 Likewise.
10512
599af3ca
JM
105132012-02-20 Joseph Myers <joseph@codesourcery.com>
10514
10515 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10516 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10517 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10518 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10520 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10521 <bits/epoll.h>.
10522 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10523 (__EPOLL_PACKED): Define to empty if not defined by
10524 <bits/epoll.h>.
10525 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10527 bits/epoll.h.
10528
0e499750
JM
105292012-02-20 Joseph Myers <joseph@codesourcery.com>
10530
10531 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10532 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10533 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10534 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10535 <bits/timerfd.h>.
10536 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10538 bits/timerfd.h.
10539
5ad91f6e
JM
105402012-02-20 Joseph Myers <joseph@codesourcery.com>
10541
10542 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10543 in C locale.
10544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10545 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10546 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10548
06b99b02
AJ
105492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10550
10551 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10552 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10553
7638c0fd
AS
105542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10555
10556 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10557 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10558 defined.
10559 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10560 Likewise.
10561 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10562 entry for 2.16.
10563
92221550
AJ
105642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10565
10566 * math/w_acos.c: Use non-signaling floating-point comparisons.
10567 * math/w_acosf.c: Likewise.
10568 * math/w_acosh.c: Likewise.
10569 * math/w_acoshf.c: Likewise.
10570 * math/w_acoshl.c: Likewise.
10571 * math/w_acosl.c: Likewise.
10572 * math/w_asin.c: Likewise.
10573 * math/w_asinf.c: Likewise.
10574 * math/w_asinl.c: Likewise.
10575 * math/w_atanh.c: Likewise.
10576 * math/w_atanhf.c: Likewise.
10577 * math/w_atanhl.c: Likewise.
10578 * math/w_exp2.c: Likewise.
10579 * math/w_exp2f.c: Likewise.
10580 * math/w_exp2l.c: Likewise.
10581 * math/w_j0.c: Likewise.
10582 * math/w_j0f.c: Likewise.
10583 * math/w_j0l.c: Likewise.
10584 * math/w_j1.c: Likewise.
10585 * math/w_j1f.c: Likewise.
10586 * math/w_j1l.c: Likewise.
10587 * math/w_jn.c: Likewise.
10588 * math/w_jnf.c: Likewise.
10589 * math/w_log.c: Likewise.
10590 * math/w_log10.c: Likewise.
10591 * math/w_log10f.c: Likewise.
10592 * math/w_log10l.c: Likewise.
10593 * math/w_log2.c: Likewise.
10594 * math/w_log2f.c: Likewise.
10595 * math/w_log2l.c: Likewise.
10596 * math/w_logf.c: Likewise.
10597 * math/w_logl.c: Likewise.
10598 * math/w_sqrt.c: Likewise.
10599 * math/w_sqrtf.c: Likewise.
10600 * math/w_sqrtl.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10603 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10604 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10605 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10606
ebaf36eb
JM
106072012-02-19 Joseph Myers <joseph@codesourcery.com>
10608
10609 [BZ #9739]
10610 * manual/string.texi (strnlen): Use correct parameter name in
10611 equivalent expression.
10612
71c254a6
JM
106132012-02-19 Joseph Myers <joseph@codesourcery.com>
10614
10615 [BZ #11174]
10616 * manual/users.texi (seteuid): Consistently use neweuid for
10617 argument name.
10618
16d2c631
JM
106192012-02-19 Joseph Myers <joseph@codesourcery.com>
10620
10621 [BZ #13704]
10622 * manual/nss.texi (Services in the NSS configuration): Correct
10623 list of services in example configuration file.
10624
cd837b09
NB
106252012-02-19 Nick Bowler <nbowler@draconx.ca>
10626
10627 [BZ #11322]
10628 * manual/arith.texi: Remove statements about negative zero
10629 behaving identically to zero.
10630
02c4bbad
JM
106312012-02-18 Joseph Myers <joseph@codesourcery.com>
10632
10633 [BZ #5993]
10634 * manual/install.texi: Do not document upgrading from libc5.
10635
366842e7
JM
106362012-02-18 Joseph Myers <joseph@codesourcery.com>
10637
10638 [BZ #4596]
10639 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10640
dd54084d
DM
106412012-02-18 David S. Miller <davem@davemloft.net>
10642
10643 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10644 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10645 %o7 across the call.
10646 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10647 instead.
10648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10649 SETUP_PIC_REG_LEAF.
10650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10651 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10652 * sysdeps/sparc/crtn.S: Likewise.
10653
2bcc53a3
UD
106542012-02-17 Ulrich Drepper <drepper@gmail.com>
10655
10656 * aout/Makefile: Remove.
10657
09c093b5
RK
106582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10659
10660 [BZ #13058]
10661 * manual/examples/argp-ex1.c (main): Format definition in GNU
10662 style.
10663 * manual/examples/argp-ex2.c (main): Likewise.
10664 * manual/examples/argp-ex3.c (main): Likewise.
10665 * manual/examples/argp-ex4.c (main): Likewise.
10666 * manual/examples/longopt.c (main): Use new-style prototype
10667 definition.
10668 * manual/examples/strncat.c (main): Specify return type and use
10669 (void) for arguments.
10670 * manual/examples/subopt.c (main): Use char **argv argument.
10671
2ee633a2
JM
106722012-02-17 Joseph Myers <joseph@codesourcery.com>
10673
10674 [BZ #5077]
10675 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10676 rounding modes.
10677
0520adde
FB
106782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10679
10680 [BZ #6907]
10681 * manual/string.texi (strchr): Change when strchrnul is
10682 recommended.
10683
3f4081cd
DGM
106842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10685
10686 [BZ #174]
10687 * manual/locale.texi (setlocale): Document LOCPATH.
10688
d1b10e78
JM
106892012-02-17 Joseph Myers <joseph@codesourcery.com>
10690
10691 [BZ #10210]
10692 * manual/process.texi (execle): Move @dots{} before last argument.
10693
79c6869c
PB
106942012-02-17 Paul Bolle <pebolle@tiscali.nl>
10695
10696 [BZ #12047]
10697 * manual/charset.texi (Generic Charset Conversion): Fix typo
10698 (LC_TYPE -> LC_CTYPE).
10699
cc6e48bc
NB
107002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10701
10702 [BZ #5805]
10703 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10704 (scalbnf): Likewise.
10705 (scalbnl): Likewise.
10706 (scalbln): Likewise.
10707 (scalblnf): Likewise.
10708 (scalblnl): Likewise.
10709 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10710 (vwarnx): Likewise.
10711 (verr): Likewise.
10712 (verrx): Likewise.
10713 * manual/filesys.texi (telldir): Use braces around return type.
10714 * manual/llio.texi (mmap): Add space after comma.
10715 (mmap64): Likewise.
10716 * manual/math.texi (jn): Use @var{} on parameter names.
10717 (jnf): Likewise.
10718 (jnl): Likewise.
10719 (yn): Likewise.
10720 (ynf): Likewise.
10721 (ynl): Likewise.
10722 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10723 line.
10724 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10725 "...".
10726 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10727 (sched_get_priority_max): Likewise.
10728 * manual/signal.texi (sigvec): Add space after comma.
10729 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10730 names.
10731 (if_indextoname): Likewise.
10732 (if_freenameindex): Likewise.
10733 (sendto): Use ',' instead of '.' in prototype.
10734 * manual/startup.texi (syscall): Use @dots{} instead of literal
10735 "...".
10736 * manual/stdio.texi (__fpending): Separate initial words of
10737 paragraph from @deftypefun line.
10738 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10739 "...".
10740 (vsyslog): Use @var{} on parameter names.
10741 * manual/terminal.texi (stty): Use @var{} on parameter names.
10742 * manual/users.texi (getutmp): Use @var{} on parameter names.
10743 (getutmpx): Likewise.
10744
5b23062f
JM
107452012-02-17 Joseph Myers <joseph@codesourcery.com>
10746
10747 [BZ #6884]
10748 * manual/stdio.texi (fopen): Fix typos in description of
10749 ",ccs=STRING".
10750
8dee4833
AJ
107512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10752
10753 [BZ #4026]
10754 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10755 get clock_id definition.
10756
9078ce93
TS
107572012-02-17 Thomas Schwinge <thomas@schwinge.name>
10758
10759 [BZ #4822]
10760 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10761 (madvise): Cast every argument to void on its own.
10762
3835c55f
JM
107632012-02-17 Joseph Myers <joseph@codesourcery.com>
10764
10765 [BZ #9902]
10766 * manual/startup.texi (Exit Status): Fix typo.
10767
35c47e37
JM
107682012-02-17 Joseph Myers <joseph@codesourcery.com>
10769
10770 [BZ #10140]
10771 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10772 * manual/examples/argp-ex2.c: Likewise.
10773 * manual/examples/argp-ex3.c: Likewise.
10774
e3b69ca7
RH
107752012-02-16 Richard Henderson <rth@redhat.com>
10776
10777 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10778 * sysdeps/s390/s390-32/initfini.c: Remove.
10779 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10780 * sysdeps/s390/s390-64/initfini.c: Remove.
10781
df83af67
KK
107822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10783
10784 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10785 compiler output for sysdeps/generic/initfini.c.
10786 * sysdeps/sh/elf/initfini.c: Remove file.
10787
f63f3380
DM
107882012-02-16 David S. Miller <davem@davemloft.net>
10789
fb59b3a4
DM
10790 [BZ #11494]
10791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10792
f63f3380
DM
10793 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10794 * sysdeps/sparc/crti.S: New file.
10795 * sysdeps/sparc/crtn.S: New file.
10796 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10797 * sysdeps/sparc/sparc64/Makefile: Likewise.
10798
df6a4a4a
MF
107992012-02-15 Mike Frysinger <vapier@gentoo.org>
10800
6dd8f3dc 10801 [BZ #3335]
df6a4a4a
MF
10802 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10803
1cac7236
RM
108042012-02-15 Roland McGrath <roland@hack.frob.com>
10805
d2c736f8
RM
10806 [BZ #4822]
10807 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10808
1cac7236
RM
10809 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10810 (write, read, close): Likewise.
10811 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10812
8e475601
JM
108132012-02-15 Joseph Myers <joseph@codesourcery.com>
10814
10815 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10816 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10817 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10818 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10819 <bits/signalfd.h>.
10820 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10822 bits/signalfd.h.
10823
ed656b40
MP
108242012-02-14 Marek Polacek <polacek@redhat.com>
10825
10826 * sysdeps/x86_64/crti.S: New file.
10827 * sysdeps/x86_64/crtn.S: New file.
10828 * sysdeps/x86_64/elf/initfini.c: Remove file.
10829
2a979d3a
JM
108302012-02-13 Joseph Myers <joseph@codesourcery.com>
10831
10832 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10833 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10834 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10835 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10836 <bits/inotify.h>.
10837 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10839 bits/inotify.h.
10840
2a418ac3
JM
108412012-02-13 Joseph Myers <joseph@codesourcery.com>
10842
10843 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10844 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10845 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10846 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10847 <bits/eventfd.h>.
10848 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10850 bits/eventfd.h.
10851
fb779be7
TS
108522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10853
e19e83c5
RM
10854 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10855 __feraiseexcept instead of feraiseexcept.
7c35ffed 10856
fb779be7
TS
10857 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10858 nanosleep invocations.
10859 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10860 strings, and add error checking for a nanosleep invocations.
10861
59ba27a6
PE
108622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10863
10864 Replace FSF snail mail address with URLs, as per GNU coding standards.
10865 Most of the snail mail addresses were wrong anyway, and omitting
10866 them makes the source code easier to maintain. Almost all of the
10867 changes are to license notices and to locale LC_IDENTIFICATION
10868 addresses, except for this one:
10869 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10870 not its snail mail address.
10871
57b957eb
RH
108722012-02-09 Richard Henderson <rth@twiddle.net>
10873
af850b1c
RH
10874 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10875 of kernel-features.h.
10876
57b957eb
RH
10877 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10878
6b73181a
MP
108792012-02-08 Marek Polacek <polacek@redhat.com>
10880
10881 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10882 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10883 * sysdeps/gnu/_G_config.h: Likewise.
10884 * sysdeps/generic/_G_config.h: Likewise.
10885
26ecc33a
AS
108862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10887
6c6dbc63
AS
10888 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10889 tests.
10890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10891
e216c012
AS
10892 * sysdeps/powerpc/powerpc32/crti.S: New file.
10893 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10894 * sysdeps/powerpc/powerpc64/crti.S: New file.
10895 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10896
26ecc33a
AS
10897 * Makeconfig (have-initfini): Don't set.
10898 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10899 * configure.in (nopic_initfini): Don't substitute.
10900 * config.h.in (HAVE_INITFINI): Don't #undef.
10901 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10902 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10903
3add8e13
JM
109042012-02-08 Joseph Myers <joseph@codesourcery.com>
10905
10906 Support crti.S and crtn.S provided directly by architectures.
10907 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10908 [crti.S in sysdirs] (omit-deps): Likewise.
10909 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10910 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10911 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10912 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10913 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10914 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10915 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10916 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10917 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10918 compiler output for sysdeps/generic/initfini.c.
10919 * sysdeps/i386/elf/Makefile: Remove file.
10920 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10921
a22f12b4
MP
109222012-02-07 Marek Polacek <polacek@redhat.com>
10923
10924 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10925 * sysdeps/gnu/_G_config.h: Likewise.
10926 * sysdeps/mach/hurd/_G_config.h: Likewise.
10927
148cf100
MP
109282012-02-07 Marek Polacek <polacek@redhat.com>
10929
10930 * math/Makefile (tests): Add tst-CMPLX2.
10931 * math/tst-CMPLX2.c: New file.
10932
cfdc0dd7
AS
109332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10934
84ba42c4
AS
10935 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10936
cfdc0dd7
AS
10937 * math/libm-test.inc (jn_test): Add missing L suffix.
10938
622c86f4
MP
109392012-02-06 Marek Polacek <polacek@redhat.com>
10940
10941 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10942 * sysdeps/i386/fpu/e_powf.S: Likewise.
10943 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10944 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10945 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10946 * sysdeps/i386/fpu/e_pow.S: Likewise.
10947 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10948 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10949 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10950 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10951 * sysdeps/i386/fpu/e_log2.S: Likewise.
10952 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10953 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10954 * sysdeps/i386/fpu/e_powl.S: Likewise.
10955 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10956 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10957 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10958 * sysdeps/i386/fpu/e_logl.S: Likewise.
10959 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10960 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10961 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10962 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10963 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10964 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10965 * sysdeps/i386/fpu/e_log.S: Likewise.
10966 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10967 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10968 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10969 * sysdeps/i386/fpu/e_logf.S: Likewise.
10970 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10971 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10972 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10973 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10974 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10975 * sysdeps/i386/fpu/e_log10.S: Likewise.
10976 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10977 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10978 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10979 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10980 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10981 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10982 * sysdeps/i386/asm-syntax.h: Likewise.
10983 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10984 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10985 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10986 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10987 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10988 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10989 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10990 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10991 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10992 * sysdeps/powerpc/sysdep.h: Likewise.
10993 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10994 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10995
d4a54ac6
JM
109962012-02-06 Joseph Myers <joseph@codesourcery.com>
10997
10998 [BZ #411]
10999 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11000
314054ea
JM
110012012-02-06 Joseph Myers <joseph@codesourcery.com>
11002
11003 * sysdeps/i386/sysdep.h: Include <features.h>.
11004 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11005 version.
11006
d8e0ca50
JM
110072012-02-05 Joseph Myers <joseph@codesourcery.com>
11008
11009 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11010 Define.
11011 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11012 LOAD_PIC_REG_STR.
11013
b1da7dd9
JM
110142012-02-03 Joseph Myers <joseph@codesourcery.com>
11015
11016 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11017 (SETUP_PIC_REG): Use GET_PC_THUNK.
11018 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11019 macro.
11020
9a1d9254
JM
110212012-02-03 Joseph Myers <joseph@codesourcery.com>
11022
11023 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11024 for non-PIC compilation.
11025 (SETUP_PIC_REG): Add .p2align directive.
11026 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11027 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11028 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11029 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11030 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11031 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11032 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11033 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11034 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11035 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11036 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11037 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11038 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11039 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11040 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11041 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11042 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11043 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11044 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11045 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11047 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11048 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11049 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11050 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11052 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11053 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11054 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11055 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11056 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11057 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11058 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11059 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11060 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11061 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11062 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11063 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11064 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11065 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11066 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11067
65dc3b75
JM
110682012-02-03 Joseph Myers <joseph@codesourcery.com>
11069
11070 * math/tst-CMPLX.c: Include <stdio.h>.
11071
d55bf177
JM
110722012-01-31 Joseph Myers <joseph@codesourcery.com>
11073
11074 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11075 float.
11076 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11077 * sysdeps/sparc/bits/mathdef.h: Likewise.
11078
69db4f8f
MP
110792012-01-31 Marek Polacek <polacek@redhat.com>
11080
11081 * libio/libio.h: Don't define _PARAMS.
11082 * locale/programs/config.h: Don't define PARAMS.
11083 * stdlib/strtol_l.c: Likewise.
11084 (__strtol_l): Remove PARAMS from the prototype.
11085
41b81892
UD
110862012-01-31 Ulrich Drepper <drepper@gmail.com>
11087
3b49edc0
UD
11088 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11089 names. Just use the correct names. Remove unnecessary wrapper
11090 functions.
11091 * malloc/arena.c: Likewise.
11092 * malloc/hooks.c: Likewise.
11093
41b81892
UD
11094 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11095 ARENA_TEST says not to. Simplify test for creation of a new arena.
11096 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11097
27a25b6e
UD
110982012-01-30 Ulrich Drepper <drepper@gmail.com>
11099
11100 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11101 into tail calls.
11102 (update_get_addr): New function.
11103 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11104 GET_ADDR_MODULE parameter.
11105
c8a89e7d
JM
111062012-01-30 Joseph Myers <joseph@codesourcery.com>
11107
11108 * crypt/cert.c: Remove __STDC__ conditionals.
11109 * crypt/crypt-entry.c: Likewise.
11110 * crypt/crypt_util.c: Likewise.
11111 * libio/filedoalloc.c: Likewise.
11112 * libio/fileops.c: Likewise.
11113 * libio/genops.c: Likewise.
11114 * libio/iofclose.c: Likewise.
11115 * libio/iofdopen.c: Likewise.
11116 * libio/iofopen.c: Likewise.
11117 * libio/iofopen64.c: Likewise.
11118 * libio/iogetdelim.c: Likewise.
11119 * libio/iopopen.c: Likewise.
11120 * libio/obprintf.c: Likewise.
11121 * libio/oldfileops.c: Likewise.
11122 * libio/oldiofclose.c: Likewise.
11123 * libio/oldiofdopen.c: Likewise.
11124 * libio/oldiofopen.c: Likewise.
11125 * libio/oldiopopen.c: Likewise.
11126 * libio/wfiledoalloc.c: Likewise.
11127 * libio/wgenops.c: Likewise.
11128 * locale/programs/xmalloc.c: Likewise.
11129 * misc/syslog.c: Likewise.
11130 * stdio-common/xbug.c: Likewise.
11131 * string/memchr.c: Likewise.
11132 * string/memcmp.c: Likewise.
11133 * string/memrchr.c: Likewise.
11134 * string/rawmemchr.c: Likewise.
11135 * sysdeps/posix/getcwd.c: Likewise.
11136 * time/strftime_l.c: Likewise.
11137
3b100462
JM
111382012-01-30 Joseph Myers <joseph@codesourcery.com>
11139
11140 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11141 * config.make.in (config-cflags-sse2avx): Define.
11142 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11143 Fix typo.
11144
607998af
CM
111452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11146
11147 * scripts/config.guess: Update from upstream config git repository.
11148 * scripts/config.sub: Likewise.
11149
3601428f
CM
111502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11151
3ac8b282
CM
11152 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11153 (EM_NUM): Update.
11154 (R_TILEPRO_*, R_TILEGX_*): New macros.
11155
e034841e
CM
11156 * scripts/firstversions.awk: Fix bug in version range handling.
11157
540d7568
CM
11158 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11159
3601428f
CM
11160 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11161
463de862
CM
11162 * include/sys/epoll.h: New file.
11163 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11164 libc_hidden_def.
11165
73139a76
UD
111662012-01-28 Ulrich Drepper <drepper@gmail.com>
11167
96bc5b45
UD
11168 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11169 Avoid unnecessary __WORDSIZE == 64 test.
11170 (fmaxf): Use VEX format if possible.
11171 (fmax): Likewise.
11172 (fminf): Likewise.
11173 (fmin): Likewise.
11174
56f6f6a2
UD
11175 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11176 * math/math_private.h: Remove libc_fegetround* and
11177 libc_fesetround*.
11178 * sysdeps/i386/configure.in: Check for -msse2avx.
11179 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11180 also if SSE2AVX is defined.
11181 Remove libc_fegetround* and libc_fesetround*.
11182 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11183 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11185 of HAS_YMM_USABLE.
11186 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11187 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11191
73139a76
UD
11192 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11193
d73f93a4
AZ
111942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11195
11196 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11197 size is not set.
11198 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11199
6ee65ed6
UD
112002012-01-27 Ulrich Drepper <drepper@gmail.com>
11201
11202 [BZ #13618]
11203 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11204 relocation.
11205 * Makeconfig (libm): Define.
11206 * elf/Makefile: Add rules to build and run tst-relsort1.
11207 * elf/tst-relsort1.c: New file.
11208 * elf/tst-relsort1mod1.c: New file.
11209 * elf/tst-relsort1mod2.c: New file.
11210
8db21882
JM
112112012-01-27 Joseph Myers <joseph@codesourcery.com>
11212
11213 * math/s_ldexp.c: Remove __STDC__ conditionals.
11214 * math/s_ldexpf.c: Likewise.
11215 * math/s_ldexpl.c: Likewise.
11216 * math/s_nextafter.c: Likewise.
11217 * math/s_nexttowardf.c: Likewise.
11218 * math/s_significand.c: Likewise.
11219 * math/s_significandf.c: Likewise.
11220 * math/s_significandl.c: Likewise.
11221 * math/w_jnl.c: Likewise.
11222 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11223 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11224 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11225 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11226 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11229 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11230 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11231 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11232 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11234 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11235 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11236 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11237 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11238 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11239 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11241 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11242 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11243 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11244 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11245 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11246 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11247 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11248 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11249 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11250 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11251 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11252 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11253 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11254 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11255 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11256 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11257 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11258 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11259 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11260 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11261 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11262 * sysdeps/ieee754/k_standard.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11322 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11323 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11324 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11329 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11332 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11337 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11338 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11342 * sysdeps/ieee754/s_matherr.c: Likewise.
11343 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11344 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11345 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11346 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11347
965a54a4
JM
113482012-01-26 Joseph Myers <joseph@codesourcery.com>
11349
11350 * crypt/md5.h: Remove __STDC__ conditionals.
11351 * libio/libioP.h: Likewise.
11352 * locale/programs/config.h: Likewise.
11353 * sysdeps/generic/sysdep.h: Likewise.
11354 * sysdeps/i386/asm-syntax.h: Likewise.
11355 * sysdeps/s390/asm-syntax.h: Likewise.
11356 * sysdeps/unix/sysdep.h: Likewise.
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11359
7071ad79
JM
113602012-01-26 Joseph Myers <joseph@codesourcery.com>
11361
11362 * libio/libio.h: Remove __STDC__ conditionals.
11363 * malloc/obstack.h: Likewise.
11364 * math/complex.h: Likewise.
11365 * math/math.h: Likewise.
11366 * sysdeps/generic/_G_config.h: Likewise.
11367 * sysdeps/gnu/_G_config.h: Likewise.
11368 * sysdeps/mach/hurd/_G_config.h: Likewise.
11369 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11370 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11371 * sysdeps/sparc/bits/mathdef.h: Likewise.
11372
afc5ed09
UD
113732012-01-26 Ulrich Drepper <drepper@gmail.com>
11374
11375 [BZ #13583]
11376 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11377 Clean up HAS_* macros.
afc5ed09 11378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11379 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11380 possible.
11381 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11382 HAS_AVX.
11383 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11384 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11385 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11386 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11387 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11388
bdb6de1d
JM
113892012-01-25 Joseph Myers <joseph@codesourcery.com>
11390
11391 * elf/tst-unique3.cc (gets): Remove declaration.
11392 * elf/tst-unique3lib.cc (gets): Likewise.
11393 * elf/tst-unique3lib2.cc (gets): Likewise.
11394 * elf/tst-unique4.cc (gets): Likewise.
11395
b15549e6
UD
113962012-01-24 Ulrich Drepper <drepper@gmail.com>
11397
11398 * include/stdio.h: Add C++ protection. Add gets declarations and
11399 definitions.
11400 * debug/tst-chk1.c: Don't declare gets here.
11401 * stdio-common/tst-gets.c: Likewise.
11402
a037381f
JM
114032012-01-24 Joseph Myers <joseph@codesourcery.com>
11404
11405 * posix/glob: Remove directory.
11406
f1d4aa75
JM
114072012-01-24 Joseph Myers <joseph@codesourcery.com>
11408
11409 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11410
81c0c964
PT
114112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11412
11413 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11414 of the non-standard EPFNOSUPPORT.
11415
0ea698ae
ST
114162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11417
11418 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11419 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11420 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11421
d220b117
UD
114222012-01-21 Ulrich Drepper <drepper@gmail.com>
11423
11424 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11425
3e1aa84e
UD
114262012-01-20 Ulrich Drepper <drepper@gmail.com>
11427
11428 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11429 transient errors.
11430 * nscd/grpcache.c (cache_addgr): Likewise.
11431 * nscd/hstcache.c (cache_addhst): Likewise.
11432 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11433 * nscd/pwdcache.c (cache_addpw): Likewise.
11434 * nscd/servicescache.c (cache_addserv): Likewise.
11435
400aa020
UD
114362012-01-16 Ulrich Drepper <drepper@gmail.com>
11437
d77e7869
UD
11438 * malloc/malloc.c: Various cleanups.
11439 * malloc/hooks.c: Likewise.
11440
400aa020
UD
11441 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11442 * stdlib/bug-fmtmsg1.c: New file.
11443
11444 * stdlib/fmtmsg.c (init): Add missing unlock.
11445 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11446
e0a309cf
MP
114472012-01-12 Marek Polacek <polacek@redhat.com>
11448
11449 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11450 and _GNU_SOURCE.
11451
929d11c7
WS
114522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11453
11454 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11455 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11456 macro to ensure uniqueness of label name.
11457 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11458 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11459
41d0e869
UD
114602012-01-11 Ulrich Drepper <drepper@gmail.com>
11461
0cc5ed3b
UD
11462 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11463
41d0e869
UD
11464 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11465 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11466 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11468
a47a831a
UD
114692012-01-10 Ulrich Drepper <drepper@gmail.com>
11470
daa891c0
UD
11471 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11472
11473 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11474 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11475 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11476
e58ef0f2
UD
11477 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11478
a47a831a 11479 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11480 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11481 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11482 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11483
11484 * math/bits/math-finite.h: Add ldexp support.
11485
a0bfc9c7
MP
114862012-01-10 Marek Polacek <polacek@redhat.com>
11487
11488 * locale/programs/localedef.h (show_archive_content): Add noreturn
11489 attribute.
11490
d6e97a1d
UD
114912012-01-09 Ulrich Drepper <drepper@gmail.com>
11492
11493 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11494
d5835c26
UD
114952012-01-08 Ulrich Drepper <drepper@gmail.com>
11496
e5f484c6
UD
11497 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11498
d5835c26
UD
11499 * io/Makefile (headers): Add bits/poll2.h.
11500
d1f741e9
WS
115012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11502
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11504 typo #include statement.
11505
ec09c1c4
UD
115062012-01-08 Ulrich Drepper <drepper@gmail.com>
11507
11508 * include/sys/cdefs.h: Define __attribute_alloc_size.
11509 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11510 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11511 * elf/pldd.c: Likewise.
11512 * iconv/iconv_charmap.c: Likewise.
11513 * iconv/iconvconfig.c: Likewise.
11514 * iconv/strtab.c: Likewise.
11515 * locale/programs/locale.c: Likewise.
11516 * locale/programs/localedef.h: Likewise.
11517 * locale/programs/simple-hash.c: Likewise.
11518 * nscd/nscd.h: Likewise.
11519 * nss/makedb.c: Likewise.
11520 * sysdeps/generic/ldconfig.h: Likewise.
11521 * locale/programs/localedef.c: Remove xmalloc prototype.
11522 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11523
20b38e03
PP
115242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11525
11526 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11527 appropriate.
11528
a0da5fe1
UD
115292012-01-08 Ulrich Drepper <drepper@gmail.com>
11530
1d5a644a 11531 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11532 * math/tst-CMPLX.c: New file.
1d5a644a 11533
8784a6db
UD
11534 * math/complex.h (CMPLXL): Fix typo.
11535
d9a216c0
UD
11536 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11537 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11538 GLIBC_2.16.
11539 * debug/tst-chk1.c: Add poll and ppoll tests.
11540 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11541 * include/sys/poll.h: Add hidden proto for ppoll.
11542 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11543 * sysdeps/mach/hurd/ppoll.c: Likewise.
11544 * io/ppoll.c: Likewise.
11545 * debug/poll_chk.c: New file.
11546 * debug/ppoll_chk.c: New file.
11547 * include/bits/poll2.h: New file.
11548 * io/bits/poll2.h: New file.
11549
ac097f5c
UD
11550 [BZ #1350]
11551 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11552
2119dcfa
UD
11553 * configure.in: static is always set to yes. Remove.
11554 * config.make.in: Don't set build-static.
11555 * Makeconfig: Remove use of build-static.
11556 * dlfcn/Makefile: Likewise.
11557 * elf/Makefile: Likewise.
11558 * math/Makefile: Likewise.
11559 * misc/Makefile: Likewise.
11560 * nptl/Makefile: Likewise.
11561 * sysdeps/mach/hurd/Makefile: Likewise.
11562
121766a9
UD
11563 * configure.in: PWD_P is not used anymore.
11564 * config.make.in: Remove PWD_P entry.
11565
51a1d39c 11566 * configure.in: Remove last remnants of RANLIB.
8720d066 11567 No need to check for signed size_t anymore.
215f4bdc
UD
11568 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11569 and IA-64.
3857022a 11570 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11571 * aclocal.m4: Likewise.
11572
d3ed7225
UD
11573 * wcsmbs/mbrtoc16.c: Implement using towc function.
11574 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11575 * wcsmbs/wcsmbsload.c: Likewise.
11576 * iconv/gconv_simple.c: Likewise.
11577 * iconv/gconv_int.h: Likewise.
11578 * iconv/gconv_builtin.h: Likewise.
11579 * iconv/iconv_prog.c: Remove CHAR16 handling.
11580
11581 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11582
11583 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11584
a0da5fe1
UD
11585 * configure.in: Remove --with-elf and --enable-bounded options.
11586 Dont set base_machine for ia64. More non-ELF conditions removed.
11587 Remove testing and setting of leading underscore information.
11588 * config.make.in (build-bounded): Set to no.
11589 * config.h.in: Remove NO_UNDERSCORES entry.
11590 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11591 them.
11592 * csu/start.c: Remove !NO_UNDERSCORE code.
11593 * locale/localeinfo.h: Likewise.
11594 * sysdeps/generic/machine-gmon.h: Likewise.
11595 * sysdeps/generic/sysdep.h: Likewise.
11596 * sysdeps/i386/sysdep.h: Likewise.
11597 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11598 * sysdeps/mach/sysdep.h: Likewise.
11599 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11600 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11601 * sysdeps/sh/sysdep.h: Likewise.
11602 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11603 * sysdeps/unix/i386/sysdep.S: Likewise.
11604 * sysdeps/unix/sparc/start.c: Likewise.
11605 * sysdeps/unix/sparc/sysdep.S: Likewise.
11606 * sysdeps/unix/sparc/sysdep.h: Likewise.
11607 * sysdeps/unix/start.c: Likewise.
11608 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11609 * sysdeps/x86_64/sysdep.h: Likewise.
11610
df78418a
UD
116112012-01-07 Ulrich Drepper <drepper@gmail.com>
11612
a784e502
UD
11613 [BZ #13553]
11614 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11615 for non-gcc.
11616 * argp/argp-fmtstream.h: Use const instead __const.
11617 * argp/argp.h: Likewise.
11618 * assert/assert.h: Likewise.
11619 * bits/fenv.h: Likewise.
11620 * bits/sched.h: Likewise.
11621 * bits/sigset.h: Likewise.
11622 * bits/sigthread.h: Likewise.
11623 * catgets/nl_types.h: Likewise.
11624 * conform/data/pthread.h-data: Likewise.
11625 * crypt/crypt-private.h: Likewise.
11626 * crypt/crypt.h: Likewise.
11627 * crypt/crypt_util.c: Likewise.
11628 * ctype/ctype.h: Likewise.
11629 * debug/execinfo.h: Likewise.
11630 * debug/mbsnrtowcs_chk.c: Likewise.
11631 * debug/mbsrtowcs_chk.c: Likewise.
11632 * debug/wcsnrtombs_chk.c: Likewise.
11633 * debug/wcsrtombs_chk.c: Likewise.
11634 * debug/wcstombs_chk.c: Likewise.
11635 * dirent/dirent.h: Likewise.
11636 * dlfcn/dlfcn.h: Likewise.
11637 * elf/neededtest4.c: Likewise.
11638 * grp/grp.h: Likewise.
11639 * gshadow/gshadow.h: Likewise.
11640 * iconv/gconv.h: Likewise.
11641 * iconv/gconv_int.h: Likewise.
11642 * iconv/gconv_simple.c: Likewise.
11643 * iconv/iconv.h: Likewise.
11644 * iconv/loop.c: Likewise.
11645 * iconv/skeleton.c: Likewise.
11646 * include/aio.h: Likewise.
11647 * include/aliases.h: Likewise.
11648 * include/argz.h: Likewise.
11649 * include/arpa/inet.h: Likewise.
11650 * include/assert.h: Likewise.
11651 * include/dirent.h: Likewise.
11652 * include/dlfcn.h: Likewise.
11653 * include/execinfo.h: Likewise.
11654 * include/fcntl.h: Likewise.
11655 * include/fenv.h: Likewise.
11656 * include/glob.h: Likewise.
11657 * include/grp.h: Likewise.
11658 * include/libintl.h: Likewise.
11659 * include/mntent.h: Likewise.
11660 * include/netdb.h: Likewise.
11661 * include/pwd.h: Likewise.
11662 * include/rpc/netdb.h: Likewise.
11663 * include/sched.h: Likewise.
11664 * include/search.h: Likewise.
11665 * include/shadow.h: Likewise.
11666 * include/signal.h: Likewise.
11667 * include/stdio.h: Likewise.
11668 * include/stdlib.h: Likewise.
11669 * include/string.h: Likewise.
11670 * include/sys/socket.h: Likewise.
11671 * include/sys/stat.h: Likewise.
11672 * include/sys/statfs.h: Likewise.
11673 * include/sys/statvfs.h: Likewise.
11674 * include/sys/syslog.h: Likewise.
11675 * include/sys/time.h: Likewise.
11676 * include/sys/uio.h: Likewise.
11677 * include/time.h: Likewise.
11678 * include/unistd.h: Likewise.
11679 * include/utmp.h: Likewise.
11680 * include/wchar.h: Likewise.
11681 * include/wctype.h: Likewise.
11682 * inet/aliases.h: Likewise.
11683 * inet/arpa/inet.h: Likewise.
11684 * inet/netinet/ether.h: Likewise.
11685 * inet/netinet/in.h: Likewise.
11686 * intl/libintl.h: Likewise.
11687 * io/bits/fcntl2.h: Likewise.
11688 * io/fcntl.h: Likewise.
11689 * io/ftw.h: Likewise.
11690 * io/sys/poll.h: Likewise.
11691 * io/sys/stat.h: Likewise.
11692 * io/sys/statfs.h: Likewise.
11693 * io/sys/statvfs.h: Likewise.
11694 * io/utime.h: Likewise.
11695 * libio/bits/stdio.h: Likewise.
11696 * libio/bits/stdio2.h: Likewise.
11697 * libio/libio.h: Likewise.
11698 * libio/libioP.h: Likewise.
11699 * libio/stdio.h: Likewise.
11700 * locale/lc-ctype.c: Likewise.
11701 * locale/locale.h: Likewise.
11702 * login/utmp.h: Likewise.
11703 * malloc/arena.c: Likewise.
11704 * malloc/malloc.c: Likewise.
11705 * malloc/malloc.h: Likewise.
11706 * malloc/mcheck.c: Likewise.
11707 * malloc/mtrace.c: Likewise.
11708 * math/bits/mathcalls.h: Likewise.
11709 * math/fenv.h: Likewise.
11710 * math/math_private.h: Likewise.
11711 * misc/bits/error.h: Likewise.
11712 * misc/bits/syslog.h: Likewise.
11713 * misc/err.h: Likewise.
11714 * misc/error.h: Likewise.
11715 * misc/fstab.h: Likewise.
11716 * misc/mntent.h: Likewise.
11717 * misc/regexp.h: Likewise.
11718 * misc/search.h: Likewise.
11719 * misc/sgtty.h: Likewise.
11720 * misc/sys/mman.h: Likewise.
11721 * misc/sys/syslog.h: Likewise.
11722 * misc/sys/uio.h: Likewise.
11723 * misc/sys/xattr.h: Likewise.
11724 * misc/ttyent.h: Likewise.
11725 * nis/rpcsvc/ypclnt.h: Likewise.
11726 * nss/nss.h: Likewise.
11727 * posix/bits/unistd.h: Likewise.
11728 * posix/fnmatch.h: Likewise.
11729 * posix/glob.h: Likewise.
11730 * posix/sched.h: Likewise.
11731 * posix/spawn.h: Likewise.
11732 * posix/sys/wait.h: Likewise.
11733 * posix/unistd.h: Likewise.
11734 * posix/wordexp.h: Likewise.
11735 * pwd/pwd.h: Likewise.
11736 * resolv/netdb.h: Likewise.
11737 * resource/sys/resource.h: Likewise.
11738 * rt/aio.h: Likewise.
11739 * rt/bits/mqueue2.h: Likewise.
11740 * rt/mqueue.h: Likewise.
11741 * shadow/shadow.h: Likewise.
11742 * signal/signal.h: Likewise.
11743 * socket/send.c: Likewise.
11744 * socket/sendto.c: Likewise.
11745 * socket/sys/socket.h: Likewise.
11746 * stdio-common/printf.h: Likewise.
11747 * stdlib/bits/stdlib.h: Likewise.
11748 * stdlib/fmtmsg.h: Likewise.
11749 * stdlib/monetary.h: Likewise.
11750 * stdlib/stdlib.h: Likewise.
11751 * stdlib/ucontext.h: Likewise.
11752 * streams/stropts.h: Likewise.
11753 * string/argz.h: Likewise.
11754 * string/bits/string2.h: Likewise.
11755 * string/string.h: Likewise.
11756 * string/strings.h: Likewise.
11757 * sunrpc/rpc/auth.h: Likewise.
11758 * sunrpc/rpc/auth_des.h: Likewise.
11759 * sunrpc/rpc/clnt.h: Likewise.
11760 * sunrpc/rpc/netdb.h: Likewise.
11761 * sunrpc/rpc/pmap_clnt.h: Likewise.
11762 * sunrpc/rpc/xdr.h: Likewise.
11763 * sysdeps/generic/inttypes.h: Likewise.
11764 * sysdeps/generic/net/if.h: Likewise.
11765 * sysdeps/generic/sys/swap.h: Likewise.
11766 * sysdeps/gnu/net/if.h: Likewise.
11767 * sysdeps/gnu/utmpx.h: Likewise.
11768 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11769 * sysdeps/i386/i486/bits/string.h: Likewise.
11770 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11771 * sysdeps/s390/bits/string.h: Likewise.
11772 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11773 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11774 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11775 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11776 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11777 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11778 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11779 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11780 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11781 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11782 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11783 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11784 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11785 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11786 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11787 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11788 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11790 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11791 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11792 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11793 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11794 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11795 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11796 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11797 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11798 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11800 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11801 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11802 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11803 * sysvipc/sys/ipc.h: Likewise.
11804 * sysvipc/sys/msg.h: Likewise.
11805 * sysvipc/sys/sem.h: Likewise.
11806 * sysvipc/sys/shm.h: Likewise.
11807 * termios/termios.h: Likewise.
11808 * time/sys/time.h: Likewise.
11809 * time/time.h: Likewise.
11810 * wcsmbs/bits/wchar2.h: Likewise.
11811 * wcsmbs/uchar.h: Likewise.
11812 * wcsmbs/wchar.h: Likewise.
11813 * wctype/wctype.h: Likewise.
11814
0269750c
UD
11815 [BZ #13551]
11816 * Makeconfig: Remove all but ELF support including AIX support.
11817 * Makerules: Likewise.
11818 * config.h.in: Likewise.
11819 * config.make.in: Likewise.
11820 * configure: Likewise.
11821 * configure.in: Likewise.
11822 * csu/Makefile: Likewise.
11823 * csu/version.c: Likewise.
11824 * debug/Makefile: Likewise.
11825 * dlfcn/Makefile: Likewise.
11826 * elf/Makefile: Likewise.
11827 * extra-lib.mk: Likewise.
11828 * iconv/Makefile: Likewise.
11829 * include/libc-symbols.h: Likewise.
11830 * include/shlib-compat.h: Likewise.
11831 * resolv/Makefile: Likewise.
11832 * resolv/res_libc.c: Likewise.
11833 * rt/Makefile: Likewise.
11834 * sysdeps/i386/asm-syntax.h: Likewise.
11835 * sysdeps/i386/sysdep.h: Likewise.
11836 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11837 * sysdeps/mach/sysdep.h: Likewise.
11838 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11839 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11840 * sysdeps/s390/asm-syntax.h: Likewise.
11841 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11843 * sysdeps/sh/sysdep.h: Likewise.
11844 * sysdeps/unix/sparc/sysdep.h: Likewise.
11845 * sysdeps/wordsize-32/divdi3.c: Likewise.
11846 * sysdeps/x86_64/sysdep.h: Likewise.
11847
00bbd29b
UD
11848 * argp/Versions: Remove _argp_unlock_xxx.
11849
11850 [BZ #13559]
11851 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11852 * abilist/libBrokenLocale.abilist: Likewise.
11853 * abilist/libanl.abilist: Likewise.
11854 * abilist/libc.abilist: Likewise.
11855 * abilist/libcrypt.abilist: Likewise.
11856 * abilist/libdl.abilist: Likewise.
11857 * abilist/libm.abilist: Likewise.
11858 * abilist/libnsl.abilist: Likewise.
11859 * abilist/libpthread.abilist: Likewise.
11860 * abilist/libresolv.abilist: Likewise.
11861 * abilist/librt.abilist: Likewise.
11862 * abilist/libthread_db.abilist: Likewise.
11863 * abilist/libutil.abilist: Likewise.
11864 * abilist/libnss_db.abilist: New file.
11865
11866 * scripts/abilist.awk: Add support for indirect functions.
11867
a2693a0e
UD
11868 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11869
3f05895f
UD
11870 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11871
ecb6fb48
UD
11872 * shlib-versions: Remove entries for ports architectures.
11873
664f8cb9
UD
11874 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11875 files in ports.
11876 * elf/stackguard-macros.h: Remove support for IA-64.
11877 * elf/tst-auditmod1.c: Likewise.
11878 * sysdeps/generic/ldsodefs.h: Likewise.
11879
7ae81d88
UD
11880 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11881 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11882 configure files.
11883
bdeba135
UD
11884 [BZ #13552]
11885 * configure.in: Remove --enable-omitfp support.
11886 * FAQ.in: Adjust.
11887 * config.make.in: Likewise.
11888 * Makeconfig: Likewise.
11889 * manual/install.texi: Likewise.
11890
d75a0a62
UD
11891 In case anyone cares, the IA-64 architecture could move to ports.
11892 * sysdeps/ia64/*: Removed.
11893 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11894 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11895
dcc9756b
UD
11896 [BZ #13555]
11897 * configure.in: Remove entries for unsupported architectures.
11898
d3761ebc 11899 [BZ #13533]
9954432e
UD
11900 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11901 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11902 routines.
11903 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11904 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11905 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11906 fall back to using wcrtomb.
11907 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11908 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11909 renaming.
11910 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11911 * wcsmbs/tst-c16c32-1.c: New file.
11912
11913 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11914 local variable.
11915
c3a87236
UD
11916 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11917
28926a1b
UD
11918 * elf/tst-unique3.cc: Add explicit declaration of gets.
11919 * elf/tst-unique3lib.cc: Likewise.
11920 * elf/tst-unique3lib2.cc: Likewise.
11921 * elf/tst-unique4.cc: Likewise.
11922
df78418a
UD
11923 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11924
8ecd6b2a
JM
119252012-01-06 Joseph Myers <joseph@codesourcery.com>
11926
11927 [BZ #13566]
11928 * assert/assert.h (static_assert): Don't define for C++.
11929 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11930 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11931
9f115170
UD
119322012-01-03 Ulrich Drepper <drepper@gmail.com>
11933
5e0d0300
UD
11934 * iconv/loop.c (single loop): Fix assertion in storing of
11935 remaining bytes.
11936
9f115170
UD
11937 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11938
81fb02b0
UD
119392012-01-01 Ulrich Drepper <drepper@gmail.com>
11940
11941 * posix/getconf.c: Update copyright year.
11942 * nss/getent.c: Likewise.
a316c1f6 11943 * nss/makedb.c: Likewise.
81fb02b0
UD
11944 * iconv/iconvconfig.c: Likewise.
11945 * iconv/iconv_prog.c: Likewise.
11946 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11947 * elf/pldd.c: Likewise.
11948 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11949 * catgets/gencat.c: Likewise.
11950 * csu/version.c: Likewise.
11951 * elf/ldd.bash.in: Likewise.
11952 * elf/sprof.c (print_version): Likewise.
11953 * locale/programs/locale.c: Likewise.
11954 * locale/programs/localedef.c: Likewise.
a316c1f6 11955 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11956 * nscd/nscd.c (print_version): Likewise.
11957 * debug/xtrace.sh: Likewise.
11958 * malloc/memusage.sh: Likewise.
11959 * malloc/mtrace.pl: Likewise.
11960 * debug/catchsegv.sh: Likewise.
11961
2ba92745
JJ
119622011-12-30 Jakub Jelinek <jakub@redhat.com>
11963
11964 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11965 pure attribute.
11966
dadebdae
UD
119672011-12-24 Ulrich Drepper <drepper@gmail.com>
11968
d3761ebc 11969 [BZ #13533]
db6af3eb
UD
11970 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11971 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11972 transformations.
11973 * iconv/gconv_int.h: Likewise.
11974 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11975 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11976 from libc for GLIBC_2.16.
11977 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11978 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11979 * wcsmbs/uchar.h: Really define mbstate_t.
11980 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11981 * wcsmbs/c16rtomb.c: New file.
11982 * wcsmbs/mbrtoc16.c: New file.
11983 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11984 for C/POSIX locale.
11985 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11986 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11987
dadebdae
UD
11988 * wcsmbs/wchar.h: Add missing __restrict.
11989
67371b56
UD
119902011-12-23 Ulrich Drepper <drepper@gmail.com>
11991
74033a25
UD
11992 [BZ #13532]
11993 * time/Makefile (routines): Add timespec_get.
11994 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11995 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11996 timespec for ISO C11.
11997 * time/timespec_get.c: New file.
11998 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11999 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12000
380d7e87
UD
12001 [BZ #13531]
12002 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12003 * stdlib/stdlib.h: Declare aligned_alloc.
12004 * Versions.def: Add GLIBC_2.16 for libc.
12005 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12006
4e9e7a35
UD
12007 [BZ 13527]
12008 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12009 ISO C11.
12010
380d7e87 12011 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12012 code.
12013
03a71829
UD
12014 [BZ #13528]
12015 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12016
839e283e
UD
12017 [BZ #13529]
12018 * assert/assert.h (static_assert): Define.
12019
ce5294e2 12020 * version.h: Update for 2.16 development version.
90fa7312 12021
8d44e150 12022 [BZ #13526]
d7809905
UD
12023 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12024 _ISOC11_SOURCE.
12025
c0da14cd
UD
12026 * version.h (RELEASE): Bump for 2.15 release.
12027 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12028
530a3249
MP
12029 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12030 Patch by Marek Polacek <mpolacek@redhat.com>.
12031
67371b56
UD
12032 * bits/byteswap.h: Protect long long constants with __extension__.
12033 * sysdeps/i386/bits/byteswap.h: Likewise.
12034 * sysdeps/ia64/bits/byteswap.h: Likewise.
12035 * sysdeps/s390/bits/byteswap.h: Likewise.
12036 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12037
15db4de1
LD
120382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12039
12040 [BZ #13540]
bbe315ea
LD
12041 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12042 destination buffer.
15db4de1
LD
12043 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12044
2b2596b1
MP
120452011-12-23 Marek Polacek <polacek@redhat.com>
12046
12047 * elf/dl-addr.c (determine_info): Add inline keyword.
12048 * elf/tst-auditmod4b.c (check_avx): Likewise.
12049 * elf/tst-auditmod6b.c (check_avx): Likewise.
12050 * elf/tst-auditmod6c.c (check_avx): Likewise.
12051 * elf/tst-auditmod7b.c (check_avx): Likewise.
12052
70c6c246
UD
120532011-12-23 Ulrich Drepper <drepper@gmail.com>
12054
12055 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12056 !__SSE_MATH__.
12057
c044cf14
LD
120582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12059
15db4de1 12060 [BZ #13540]
c044cf14
LD
12061 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12062 processing for last bytes.
12063
6b13d9d9
BH
120642011-08-06 Bruno Haible <bruno@clisp.org>
12065
d455f537
BH
12066 [BZ #13061]
12067 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12068 U+0385, not to U+1FEE.
12069
6b13d9d9
BH
12070 [BZ #13062]
12071 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12072 entry for U+00A5 U+0301.
12073
db910efd
UD
120742011-12-22 Ulrich Drepper <drepper@gmail.com>
12075
27deeafc
UD
12076 [BZ #13166]
12077 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12078 buffer for the output is too small.
12079
aed9d171
UD
12080 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12081 optimization.
12082
db910efd
UD
12083 [BZ #13185]
12084 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12085 SSE flags if possible.
12086
2bd779ae
LD
120872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12088
e7f9dac3 12089 [BZ #13540]
2bd779ae
LD
12090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12091 processing for last bytes.
12092
154bfc16
JM
120932011-12-22 Joseph Myers <joseph@codesourcery.com>
12094
12095 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12096 (syscall-list-default-options, syscall-list-default-condition)
12097 (syscall-list-includes): Define.
12098 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12099 list of ABIs and options and #if conditions for each ABI. Do not
12100 handle common syscalls between ABIs specially.
12101 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12102 Remove.
12103 (syscall-list-variants, syscall-list-32bit-options)
12104 (syscall-list-32bit-condition, syscall-list-64bit-options)
12105 (syscall-list-64bit-condition): Define.
12106 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12107 (syscall-list-variants, syscall-list-32bit-options)
12108 (syscall-list-32bit-condition, syscall-list-64bit-options)
12109 (syscall-list-64bit-condition): Define.
12110 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12111 Remove.
12112 (syscall-list-variants, syscall-list-32bit-options)
12113 (syscall-list-32bit-condition, syscall-list-64bit-options)
12114 (syscall-list-64bit-condition): Define.
12115 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12116 Remove.
12117 (syscall-list-variants, syscall-list-32bit-options)
12118 (syscall-list-32bit-condition, syscall-list-64bit-options)
12119 (syscall-list-64bit-condition): Define.
12120
21eaf3a5
UD
121212011-12-22 Ulrich Drepper <drepper@gmail.com>
12122
16c6f992
UD
12123 * locale/iso-639.def: Add brx entry.
12124
41043168
UD
12125 [BZ #13328]
12126 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12127 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12128
21eaf3a5
UD
12129 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12130 __feraiseexcept_renamed.
12131
e3a851a2
UD
121322011-12-21 Ulrich Drepper <drepper@gmail.com>
12133
4920765e
UD
12134 [BZ #13538]
12135 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12136 EPOLLET with unsigned values.
12137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12138 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12139
e3a851a2
UD
12140 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12141 to large cancellation.
12142 * math/s_cacoshf.c: Likewise.
12143 * math/s_cacoshl.c: Likewise.
12144
b27e24b8
RK
121452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12146
12147 [BZ #13305]
aebefeee 12148 [BZ #12786]
b27e24b8
RK
12149 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12150 * math/s_cacoshf.c: Likewise.
12151 * math/s_cacoshl.c: Likewise.
12152
ee190f67
UD
121532011-12-21 Ulrich Drepper <drepper@gmail.com>
12154
12155 [BZ #13439]
12156 * iconv/gconv.h: Define __GCONV_SWAP.
12157 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12158 * iconvdata/utf-16.c: Likewise.
12159 * iconvdata/utf-32.c: Likewise.
12160
707f25df
AS
121612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12162
12163 [BZ #13524]
12164 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12165 numerator after shifting it by one limb.
12166
d2daaa1e
RÁE
121672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12168
12169 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12170 under [__USE_EXTERN_INLINES].
12171
a4647e72
UD
121722011-12-17 Ulrich Drepper <drepper@gmail.com>
12173
12174 [BZ #13446]
12175 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12176
f0b264f1
AZ
121772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12178
12179 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12180 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12181 optimized code.
12182 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12183 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12184 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12185 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12186 for strncasecmp/strncasecmp_l compilation.
12187 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12188 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12189
8ef4f244
MP
121902011-12-08 Marek Polacek <mpolacek@redhat.com>
12191
12192 [BZ #13484]
12193 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12194 of __asm__.
12195
97ac2654
UD
121962011-12-17 Ulrich Drepper <drepper@gmail.com>
12197
12198 [BZ #13506]
12199 * time/tzfile.c (__tzfile_read): Check values from file header.
12200
91d2a845
WS
122012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12202
12203 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12204 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12205 * powerpc/powerpc32/dl-start.S: Likewise.
12206 * powerpc/powerpc32/elf/start.S: Likewise.
12207 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12208 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12209 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12210 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12211 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12212 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12213 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12214 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12215 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12216 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12217 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12218 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12219 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12220 * powerpc/powerpc32/memset.S: Likewise.
12221 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12222 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12223 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12224 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12225 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12226 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12227 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12228 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12229 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12230 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12231 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12232 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12233 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12234
a1267ba1
AZ
122352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12236
12237 * math/libm-test.inc: Added more nearbyint tests.
12238 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12239 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12240 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12241 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12242
ad8ac1bd
RL
122432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12244
12245 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12246 FD_CLOEXEC.
12247
1d3e4b61
UD
122482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12249
12250 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12251 Add wcscpy-ssse3 wcscpy-c.
12252 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12253 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12254 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12255 * sysdeps/x86_64/wcschr.S: New file.
12256 * sysdeps/x86_64/wcsrchr.S: New file.
12257 * string/test-strcmp.c: Remove checking of wcscmp function for
12258 wrong alignments.
12259 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12260 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12261 wcsrchr-sse2 wcsrchr-c.
12262 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12263 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12264 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12265 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12266 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12267 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12268 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12269 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12270 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12271 * wcsmbc/wcschr.c (WCSCHR): New macro.
12272
5b330a2d
UD
122732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12274
12275 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12276 * wcsmbs/test-wcsrchr.c: New file.
12277 * string/test-strrchr.c: Add wcsrchr support.
12278 (WIDE): New macro.
12279 * wcsmbs/test-wcscpy.c: New file.
12280 * string/test-strcpy.c: Add wcscpy support.
12281 (WIDE): New macro.
26428b7c 12282
f039c043
UD
122832011-12-10 Ulrich Drepper <drepper@gmail.com>
12284
12285 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12286 the inner loop.
12287
850fb039
AS
122882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12289
12290 [BZ #13472]
12291 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12292
4efbd5cb
UD
122932011-12-04 Ulrich Drepper <drepper@gmail.com>
12294
52ff5dd0 12295 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12296 Minor optimizations.
52ff5dd0 12297
4efbd5cb
UD
12298 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12299 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12300 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12301
8a426e12
UD
123022011-12-03 Ulrich Drepper <drepper@gmail.com>
12303
aff2453d
UD
12304 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12305 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12306 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12307 for gcc to avoid warnings.
12308 * inet/Makefile (tests): Add tst-checks.
12309 * inet/tst-checks.c: New file.
12310
12311 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12312 warning.
12313
12314 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12315 __wmemcmp_sse2.
12316
12317 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12318 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12319
8a426e12
UD
12320 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12321
9bea3473
UD
123222011-12-02 Ulrich Drepper <drepper@gmail.com>
12323
3a965496
UD
12324 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12325 problem.
12326
9bea3473
UD
12327 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12328
f101631b
UD
123292011-11-29 Joseph Myers <joseph@codesourcery.com>
12330
12331 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12332 conditional on GCC version.
12333 (__arch_compare_and_exchange_val_8_acq)
12334 (__arch_compare_and_exchange_val_16_acq)
12335 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12336 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12337 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12338
a98275aa
UD
123392011-12-02 Joseph Myers <joseph@codesourcery.com>
12340
12341 * sysdeps/sh/backtrace.c: New file.
12342
d4cc29a2
AS
123432011-12-02 Andreas Schwab <schwab@redhat.com>
12344
12345 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12346 parenthesis.
12347
6257af2d
AS
123482011-12-01 Andreas Schwab <schwab@redhat.com>
12349
12350 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12351 falling back to utime.
12352
b5f44c1a
AS
123532011-11-30 Andreas Schwab <schwab@redhat.com>
12354
12355 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12356 expectations for float.
12357
f3a6cc0a
AS
123582011-11-29 Andreas Schwab <schwab@redhat.com>
12359
12360 * locale/weight.h (findidx): Add parameter len.
12361 * locale/weightwc.h (findidx): Likewise.
12362 * posix/fnmatch_loop.c (FCT): Adjust caller.
12363 * posix/regcomp.c (build_equiv_class): Likewise.
12364 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12365 * posix/regexec.c (check_node_accept_bytes): Likewise.
12366 * string/strcoll_l.c (STRCOLL): Likewise.
12367 * string/strxfrm_l.c (STRXFRM): Likewise.
12368
9d65ea3a
UD
123692011-11-17 Ulrich Drepper <drepper@gmail.com>
12370
12371 * Makefile.in: Remove CVSOPT handling.
12372 * configure.in: Remove use of AC_REVISION.
12373 * iconvdata/Makefile (distribute): No need to filter out CVS.
12374 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12375 handling.
12376
5583a086
AS
123772011-11-16 Andreas Schwab <schwab@redhat.com>
12378
12379 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12380 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12381 [USE_AS_STRNCASECMP_L]: Likewise.
12382 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12383 NO_TLS_DIRECT_SEG_REFS.
12384 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12385 Fix argument offsets for non-PIC.
12386 [USE_AS_STRNCASECMP_L]: Likewise.
12387 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12388 NO_TLS_DIRECT_SEG_REFS.
12389
d62a8200
UD
123902011-11-15 Ulrich Drepper <drepper@gmail.com>
12391
9d65ea3a 12392 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12393 O_CLOEXEC.
12394 * locale/loadlocale.c (_nl_load_locale): Likewise.
12395
09f93bd3
AS
123962011-11-15 Andreas Schwab <schwab@redhat.com>
12397
446514f9
AS
12398 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12399 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12400 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12401 (SYSCALL_GETTIME): Set errno on error.
12402
09f93bd3
AS
12403 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12404 count references to noai6ai_cached.
12405
312be3f9
UD
124062011-11-15 Ulrich Drepper <drepper@gmail.com>
12407
12408 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12409
12410 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12411 FD_CLOEXEC for /proc/self/maps.
12412
12413 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12414 FD_CLOEXEC for /proc/meminfo.
12415
12416 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12417 gai.conf.
12418
12419 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12420 FD_CLOEXEC for given file.
12421
12422 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12423
12424 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12425 FD_CLOEXEC for /etc/hosts.
12426 (_gethtent): Likewise.
12427
12428 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12429
12430 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12431 cancellation and set FD_CLOEXEC for /etc/netgroup.
12432
12433 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12434 reading /etc/publickey.
12435
12436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12437 allow cancellation when reading /etc/group.
12438
12439 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12440 cancellation.
12441 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12442
12443 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12444 when using data file.
12445
12446 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12447
12448 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12449 (write_nis_obj): Use "c" and "e" in fopen.
12450
12451 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12452
12453 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12454
12455 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12456
12457 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12458
12459 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12460 locale.alias.
12461
12462 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12463
12464 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12465
12466 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12467
12468 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12469 file parsing and set FD_CLOEXEC.
12470
82af0fa8
UD
124712011-11-14 Ulrich Drepper <drepper@gmail.com>
12472
12473 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12474
a5fb313c
AS
124752011-11-14 Andreas Schwab <schwab@redhat.com>
12476
12477 * malloc/arena.c (arena_get2): Don't call reused_arena when
12478 _int_new_arena failed.
12479
6abf3465
UD
124802011-11-14 Ulrich Drepper <drepper@gmail.com>
12481
12482 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12483 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12485 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12487 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12488 to compile strcasecmp and strncasecmp.
12489 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12490 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12491
12492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12493
76e3966e
UD
124942011-11-13 Ulrich Drepper <drepper@gmail.com>
12495
12496 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12497 locale-defines.sym to gen-as-const-headers.
12498 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12499 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12501 to compile strcasecmp and strncasecmp.
12502 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12503 strcasecmp_l and strncasecmp_l.
12504 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12505 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12506 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12507 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12508 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12509 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12510 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12511 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12512 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12513 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12514 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12515
ab26144e
UD
125162011-11-12 Ulrich Drepper <drepper@gmail.com>
12517
7edb22ef
UD
12518 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12519 result of SYSDEP_GETTIME_CPU to retval.
12520 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12521 parameter list to macro. Remove trailing semicolon. Adjust users.
12522
9694fc44
UD
12523 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12524 variable.
12525
8ad89ef8
UD
12526 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12527 mantissa words.
12528 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12529
0c822ef9
UD
12530 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12531 from unused variable.
12532
874e0564
UD
12533 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12534 DWARF definitions.
12535 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12536 for assembling.
12537
3a2edc79
UD
12538 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12539 over namespaces.
12540
f3c2577f
UD
12541 * sunrpc/rpc_prot.c (rejected): Fix case value.
12542
294ce126
UD
12543 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12544 unsigned long long int to avoid warnings in shift.
12545
5e2b63c6
UD
12546 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12547 of use of trans.
12548 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12549 variable tmp.
12550
e7f4b08e
UD
12551 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12552 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12553 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12554
ab26144e
UD
12555 * nis/nis_table.c (nis_list): Use variable of correct type for
12556 result of __follow_path call.
12557
8a6d5255
AZ
125582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12559
12560 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12561 of math functions ceil, trunc, floor, round, and sqrt, when
12562 avaliable on the platform.
12563 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12564 name clash.
12565 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12566 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12567 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12568
aaddc98c
MP
125692011-10-30 Marek Polacek <mpolacek@redhat.com>
12570
12571 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12572 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12573
95b7042b
RM
125742011-11-11 Roland McGrath <roland@hack.frob.com>
12575
12576 * include/unistd.h: Fix __readlink return type.
12577 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12578
57769839
UD
125792011-11-11 Ulrich Drepper <drepper@gmail.com>
12580
12581 * stdlib/ucontext.h: Undo last change for makecontext.
12582
edc5984d
AS
125832011-11-11 Andreas Schwab <schwab@redhat.com>
12584
98591e58
AS
12585 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12586
edc5984d
AS
12587 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12588 * setjmp/setjmp.h: Mark functions as non-leaf.
12589 * setjmp/bits/setjmp2.h: Likewise.
12590 * stdlib/ucontext.h: Likewise.
12591
77cdc054
AS
125922011-11-10 Andreas Schwab <schwab@redhat.com>
12593
12594 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12595 (reused_arena): Don't check arena limit.
12596 (arena_get2): Atomically check arena limit.
12597
fe72eebd
UD
125982011-11-08 Ulrich Drepper <drepper@gmail.com>
12599
5f078c32
UD
12600 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12601 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12602
fe72eebd
UD
12603 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12604 instructions.
12605
ae1bc2fa
AS
126062011-11-07 Andreas Schwab <schwab@redhat.com>
12607
7583a88d
AS
12608 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12609 handler when locking.
12610
ae1bc2fa
AS
12611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12612 Fix size of allocated buffer.
12613
10fb0bfa
AS
126142011-11-04 Andreas Schwab <schwab@redhat.com>
12615
998832a4
AS
12616 [BZ #10103]
12617 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12618 declarations for long double functions.
12619 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12620
10fb0bfa
AS
12621 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12622
3d7ba52b
AS
126232011-11-03 Andreas Schwab <schwab@redhat.com>
12624
a9ae54a1
AS
12625 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12626 installed.
12627
3d7ba52b
AS
12628 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12629 is disabled.
12630
bc8db248
ST
126312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12632
12633 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12634
45b96dd6
AS
126352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12636
647776f6
AS
12637 * include/alloca.h (stackinfo_alloca_round): Define.
12638 (extend_alloca): Use it.
12639 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12640 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12641 here.
12642
d91a8b93
AS
12643 * scripts/check-local-headers.sh: Ignore libaudit.h.
12644
45b96dd6
AS
12645 * nscd/Makefile (extra-objs): Make recursively expanded.
12646
432d41ce
UD
126472011-11-01 Ulrich Drepper <drepper@gmail.com>
12648
34372fc6
UD
12649 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12650 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12651
fadb59f8
UD
12652 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12653 * posix/tst-rfc3484-2.c: Likewise.
12654 * posix/tst-rfc3484-3.c: Likewise.
12655
78239589
UD
12656 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12657 process_vm_writev.
12658 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12659 process_vm_writev.
12660 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12661 process_vm_writev from libc using GLIBC_2.15 version.
12662
432d41ce
UD
12663 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12664
02f9c6cf
PP
126652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12666
12667 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12668 stack usage.
12669
3a2c0242
UD
126702011-10-31 Ulrich Drepper <drepper@gmail.com>
12671
f4ec4833
UD
12672 [BZ #13367]
12673 * nss/getent.c (initgroups_keys): Show error message in case no group
12674 names are given.
12675
3a2c0242
UD
12676 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12677 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12678 __bump_nl_timestamp.
12679 * nscd/connections (nscd_init): When host database is served open
12680 netlink socket and request notification about configuration changes.
12681 (main_loop_poll): Track netlink file descriptor and bump timestamp
12682 in case data becomes available.
12683 (main_loop_epoll): Likewise.
12684 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12685 (database_pers_head): Add extra_data fileds.
12686 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12687 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12688 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12689 Adjust caller.
12690 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12691 in6ai data, call __free_in6ai.
12692 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12693 Add -DHAVE_NETLINK.
12694 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12695 interface information. Reuse previous data if netlink timestamp
12696 is not changed.
12697 (__bump_nl_timestamp): New function.
12698 (__free_in6ai): New function.
12699
636064eb
UD
127002011-10-30 Ulrich Drepper <drepper@gmail.com>
12701
12702 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12703 close_not_cancel_no_status here.
12704 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12705
9beb2334
UD
127062011-10-29 Ulrich Drepper <drepper@gmail.com>
12707
6ef76f3b
UD
12708 [BZ #13276]
12709 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12710 return value.
12711
0ffc4f3e 12712 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12713 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12714 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12715
cb95113e
UD
127162011-07-03 Andreas Jaeger <aj@suse.de>
12717
12718 [BZ #10709]
12719 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12720 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12721 * math/libm-test.inc (sin_test): Add test case.
12722
a1b560ff
UD
127232011-10-29 Ulrich Drepper <drepper@gmail.com>
12724
c9aaface
UD
12725 [BZ #13337]
12726 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12727 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12728
d272e7f1
UD
12729 * elf/chroot_canon.c (chroot_canon): Cleanups.
12730
1bc33071
UD
12731 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12732
1760874d
TJ
12733 [BZ #13335]
12734 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12735 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12736
51d91b18
UD
12737 * string/test-strchr.c: Make usable for strchrnul testing.
12738 * string/test-strchrnul.c: New file.
12739 * string/Makefile (strop-tests): Add strchrnul.
12740
a1b560ff 12741 * po/it.po: Update from translation team.
b611fb81 12742 * po/es.po: Likewise.
a1b560ff 12743
a5b81e1f
UD
127442011-10-28 Ulrich Drepper <drepper@gmail.com>
12745
fd52bc6d
UD
12746 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12747 the three constants needed as parameters. Drop the others.
12748 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12749 __m128i_strloadu_tolower.
52e4b9eb
UD
12750 Create and initialize variable zero and use it in all the places
12751 where _mm_setzero_si128 was used.
fd52bc6d 12752
a5b81e1f
UD
12753 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12754 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12755 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12756 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12757 anymore.
12758 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12759 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12760 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12761 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12762 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12763 __mpranred, __mptan.
12764 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12765 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12766 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12767 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12768 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12769 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12770 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12771 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12772 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12773
b4343346
AS
127742011-10-28 Andreas Schwab <schwab@redhat.com>
12775
0c92d8a8
AS
12776 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12777 redefine if SHARED.
12778 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12779
b4343346
AS
12780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12781 wide char related routines to wcsmbs subdir.
12782
3871f58f
AS
127832011-10-27 Andreas Schwab <schwab@redhat.com>
12784
12785 [BZ #13344]
12786 * misc/sys/cdefs.h (__THROWNL): Define.
12787 * posix/unistd.h: Use __THREADNL instead of __THREAD
12788 for memory synchronization functions.
12789
94d44d9f
RM
127902011-10-26 Roland McGrath <roland@hack.frob.com>
12791
21b64b15 12792 [BZ #13349]
94d44d9f
RM
12793 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12794 doesn't exist.
12795 * manual/stdio.texi (Obstack Streams): Node removed.
12796
f6ce9294
AS
127972011-10-26 Andreas Schwab <schwab@redhat.com>
12798
80479147
AS
12799 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12800 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12801 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12802
f6ce9294
AS
12803 * math/math_private.h (math_force_eval): Allow non-addressable
12804 arguments.
12805 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12806
618280a1
UD
128072011-10-25 Ulrich Drepper <drepper@gmail.com>
12808
e0016b11
UD
12809 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12810 file is not needed.
12811
12812 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12814 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12815 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12816 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12817 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12818 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12819 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12820 Add AVX variants.
12821 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12822 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12823 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12824 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12825 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12826 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12827 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12828 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12829 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12830 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12831 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12832 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12833 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12834 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12835 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12836 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12837 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12838 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12839 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12840
12841 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12842 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12843
618280a1
UD
12844 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12845 place. Use VEX encoding when compiling for AVX.
12846
37822576
AS
128472011-10-25 Andreas Schwab <schwab@redhat.com>
12848
1f1e1947
AS
12849 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12850 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12851
37822576
AS
12852 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12853
31ea014d
UD
128542011-10-25 Ulrich Drepper <drepper@gmail.com>
12855
d7826aa1 12856 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12857 useless if() expression.
d7826aa1
UD
12858 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12867 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12868 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12869 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12870 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12871 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12872 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12873 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12874 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12876 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12877
31ea014d
UD
12878 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12879
16437fec
AS
128802011-10-25 Andreas Schwab <schwab@redhat.com>
12881
12882 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12883 condition.
12884 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12885
31d3cc00
UD
128862011-10-25 Ulrich Drepper <drepper@gmail.com>
12887
12888 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12889 .text section. Avoid duplicate constants.
12890 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12898 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12900 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12902 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12905 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12907 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12913 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12914 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12915 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12916 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12917 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12918 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12919 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12920 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12921 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12922 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12923 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12924 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12925 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12926 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12927 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12928 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12929 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12930 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12931 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12932 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12933 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12934 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12935
58985aa9
UD
129362011-10-24 Ulrich Drepper <drepper@gmail.com>
12937
202c9deb
UD
12938 * sysdeps/x86_64/dla.h: Move to ...
12939 * sysdeps/x86_64/fpu/dla.h: ...here.
12940 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12941 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12942
af968f62
UD
12943 * config.make.in: Add have-mfma4 entry.
12944 * configure.in: Substitute libc_cv_cc_fma4.
12945 * math/Makefile (dbl-only-routines): Add sincostab.
12946 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12947 Use __sincostab not sincos.
12948 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12949 name is a macro.
12950 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12954 using __copysign.
12955 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12956 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12957 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12958 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12959 and __inv.
12960 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12961 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12962 __copysign.
12963 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12964 define aliases when function name is a macro.
12965 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12966 sysdeps/ieee754/dbl-64/sincos.tbl.
12967 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12968 fma4-enabled routines.
12969 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12970 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12971 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12972 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12973 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12974 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12975 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12976 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12977 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12978 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12979 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12980 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12981 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12982 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12983 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12984 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12985 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12986 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12987 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12988 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12989 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12990 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12991 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12992 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12993 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12994 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12996 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12997 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12998 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12999
58985aa9
UD
13000 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13001 rename.
13002 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13007 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13010
a201fbcf
AS
130112011-10-24 Andreas Schwab <schwab@redhat.com>
13012
13013 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13014
fc2ee42a
LD
130152011-10-23 Ulrich Drepper <drepper@gmail.com>
13016
bb3129bd
UD
13017 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13018
0275fff8
UD
13019 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13020 prediction.
13021 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13022
2fa2ae85
UD
13023 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13024 Remove unused variable magic_bits.
13025 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13026
fc2ee42a
LD
13027 * string/strnlen.c: Define and use STRNLEN macro.
13028 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13029 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13030 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13031 * wcsmbs/wcslen.c: Define and use WCSLEN.
13032 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13033 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13034 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13035 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13036 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13037 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13038 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13039
ce7dd29f
LD
130402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13041
13042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13043 strnlen-sse2-no-bsf.
13044 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13045 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13046 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13047 Add strnlen support.
13048 (USE_AS_STRNLEN): New macro.
13049 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13050 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13051 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13052 * sysdeps/x86_64/wcslen.S: New file.
13053
979c70a3
MZ
130542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13055
13056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13057 XMM-moves are used for copying on small sizes.
13058
2d09f82f
LD
130592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13060
13061 * wcsmbs/Makefile (strop-tests): Add wcschr.
13062 * wcsmbs/test-wcschr.c: New file.
13063 * string/test-strchr.c: Update.
13064 Add wcschr support.
13065 (WIDE): New macro.
13066
619fccca
LD
130672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13068
2d09f82f 13069 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13070 * wcsmbs/test-wcslen.c: New file.
13071 * string/test-strlen.c: Update.
13072 Add wcslen support.
13073 (WIDE): New macro.
13074
09f699ea
UD
130752011-10-23 Ulrich Drepper <drepper@gmail.com>
13076
13077 * po/it.po: Update from translation team.
13078
95584d3b
LD
130792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13080
13081 * sysdeps/x86_64/wcscmp.S: Update.
13082 Fix wrong comparison semantics.
13083 wcscmp shall use signed comparison not unsigned.
13084 Don't use substraction to avoid overflow bug.
13085 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13086 * wcsmbc/wcscmp.c: Likewise.
13087 * string/test-strcmp.c: Likewise.
13088 Add new tests to check cases with negative values.
13089
c8b3296b
UD
130902011-10-23 Ulrich Drepper <drepper@gmail.com>
13091
13092 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13093 * sysdeps/x86_64/dla.h: ...here. New file.
13094 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13095 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13103
246ad57a
AS
131042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13105
13106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13107 __ynl_finite aliases.
13108
a1a87169
UD
131092011-10-22 Ulrich Drepper <drepper@gmail.com>
13110
0d355eb7
UD
13111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13112
a1a87169
UD
13113 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13114 define DLA_FMA.
13115 [DLA_FMA] (EMULV): Use DLA_FMA.
13116 [DLA_FMA] (MUL12): Use EMULV.
13117 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13118 that are not needed.
13119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13126
ee2aafe0
AS
131272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13128
13129 * math/s_nan.c: Undef __nan.
13130 * math/s_nanf.c: Undef __nanf.
13131 * math/s_nanl.c: Undef __nanl.
13132 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13133 "math_private.h".
13134
bc62c2fb
UD
131352011-10-22 Ulrich Drepper <drepper@gmail.com>
13136
77425c63
UD
13137 * math/s_catan.c: Add branch predictions.
13138 * math/s_catanf.c: Likewise.
13139 * math/s_catanh.c: Likewise.
13140 * math/s_catanhf.c: Likewise.
13141 * math/s_catanhl.c: Likewise.
13142 * math/s_catanl.c: Likewise.
13143 * math/s_cexp.c: Likewise.
13144 * math/s_cexpf.c: Likewise.
13145 * math/s_cexpl.c: Likewise.
13146 * math/s_clog.c: Likewise.
13147 * math/s_clog10.c: Likewise.
13148 * math/s_clog10f.c: Likewise.
13149 * math/s_clog10l.c: Likewise.
13150 * math/s_clogf.c: Likewise.
13151 * math/s_clogl.c: Likewise.
13152 * math/s_csqrt.c: Likewise.
13153 * math/s_csqrtf.c: Likewise.
13154 * math/s_csqrtl.c: Likewise.
13155 * math/s_ctanf.c: Likewise.
13156 * math/s_ctanh.c: Likewise.
13157 * math/s_ctanhf.c: Likewise.
13158 * math/s_ctanhl.c: Likewise.
13159 * math/s_ctanl.c: Likewise.
13160
bc62c2fb
UD
13161 * math/math_private.h: Define __nan, __nanf, __nanl.
13162 * math/s_cacosh.c: Include <math_private.h>.
13163 * math/s_cacoshl.c: Likewise.
13164 * math/s_casinh.c: Likewise.
13165 * math/s_casinhf.c: Likewise.
13166 * math/s_casinhl.c: Likewise.
13167 * math/s_ccos.c: Rely entire on ccosh.
13168 * math/s_ccosf.c: Rely entire on ccoshf.
13169 * math/s_ccosl.c: Rely entirely on ccoshl.
13170 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13171 Remove tests for FE_INVALID.
13172 * math/s_ccoshf.c: Likewise.
13173 * math/s_ccoshl.c: Likewise.
13174 * math/s_csin.c: Likewise.
13175 * math/s_csinf.c: Likewise.
13176 * math/s_csinh.c Likewise.
13177 * math/s_csinhf.c: Likewise.
13178 * math/s_csinhl.c: Likewise.
13179 * math/s_csinl.c: Likewise.
13180 * math/s_ctan.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13182 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13183 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13184
8ec250a4
UD
131852011-10-21 Ulrich Drepper <drepper@gmail.com>
13186
c196fed8
UD
13187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13188 compilation problems.
13189
8ec250a4
UD
13190 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13191 __builtin_expect.
13192
8d4f46c6
UD
131932011-10-20 Ulrich Drepper <drepper@gmail.com>
13194
ed72b654
UD
13195 * sysdeps/i386/configure.in: Test for -mfma4 option.
13196 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13197 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13198 COMMON_CPUID_INDEX_80000001.
13199 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13200 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13201 use it if FMA3 is not supported.
13202 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13203
8d4f46c6
UD
13204 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13205 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13206
d45c60c2
AS
132072011-10-20 Andreas Schwab <schwab@redhat.com>
13208
13209 [BZ #12892]
13210 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13211 it would create a cycle with a link time dependency.
13212
d9a4d2ab
UD
132132011-10-19 Ulrich Drepper <drepper@gmail.com>
13214
855d1560
UD
13215 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13216 instruction.
13217 * string/Makefile (strop-tests): Add rawmemchr.
13218 * string/test-rawmemchr.c: New file.
13219
d9a4d2ab
UD
13220 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13221 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13222 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13223 when compiling str{,n}casecmp and when AVX is available. Hook up
13224 new optimized code in initializers.
13225
8f3b1ffe
AS
132262011-10-19 Andreas Schwab <schwab@redhat.com>
13227
13228 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13229 __feraiseexcept instead of feraiseexcept.
13230
d38f1dba
UD
132312011-10-18 Ulrich Drepper <drepper@gmail.com>
13232
d9a8d0ab
UD
13233 * math/math_private.h: Define defaults for libc_fetestexcept and
13234 libc_feupdateenv.
13235 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13236 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13237 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13238 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13240 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13241 libc_fetestexcept and libc_feupdateenv.
13242
4855e3dd
UD
13243 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13244 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13245 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13246 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13247 libc_feholdexcept_setround.
13248
581d30e3
UD
13249 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13250 Add s_nearbyint-c and s_nearbyintf-c.
13251 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13252 nearbyintf inlines.
13253 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13254 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13255 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13256 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13257
d38f1dba
UD
13258 * math/math_private.h: Define defaults for libc_fegetround,
13259 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13260 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13261 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13262 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13263 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13264 standard functions.
13265 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13266 Remove comments and hacks for old compiler versions.
13267 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13268 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13269 libc_feholdexceptl.
13270
caa6c9d8
AS
132712011-10-18 Andreas Schwab <schwab@redhat.com>
13272
13273 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13274 (__feraiseexcept_renamed): Add __NTH.
13275 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13276 namespace violations.
13277
97c066e6
UD
132782011-10-17 Ulrich Drepper <drepper@gmail.com>
13279
99ce7b04
UD
13280 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13281
1004d182
UD
13282 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13283
228a984d
UD
13284 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13285 recently added interfaces.
13286 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13287
c8553a6a
UD
13288 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13289 about macro parameter expansion.
13290
ed22dcf6
UD
13291 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13292 __NO_MATH_INLINES is defined. Cleanups.
13293
13294 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13295 and __floorf is target has SSE4.1.
13296 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13297 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13298 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13299 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13300
b171c137
UD
13301 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13302 name.
13303 (floorf): Likewise.
13304
97c066e6
UD
13305 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13306
629f62ef
AS
133072011-10-17 Andreas Schwab <schwab@redhat.com>
13308
49a43d80
AS
13309 * misc/sys/cdefs.h: Fix last change.
13310
629f62ef
AS
13311 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13312 database lookup.
13313
e453f6cd
UD
133142011-10-16 Ulrich Drepper <drepper@gmail.com>
13315
aa78043a
UD
13316 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13317
ad0f5cad
UD
13318 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13319 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13324 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13325 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13326 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13327 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13328 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13329 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13330 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13331 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13332 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13333 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13334 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13335 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13336 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13337 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13338 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13339 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13340
13341 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13342 ceil, ceilf, floor, floorf.
13343
13344 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13345 Perform IRELATIVE relocations last.
13346
e453f6cd
UD
13347 * elf/do-rel.h: Add another parameter nrelative, replacing the
13348 local variable with the same name. Change name of the function
13349 to end in Rel or Rela (uppercase).
13350 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13351 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13352 elf_dynamic_do_##reloc function.
13353
fd5bdc09
UD
133542011-10-15 Ulrich Drepper <drepper@gmail.com>
13355
79b195b5
UD
13356 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13357 is sufficient, at least on modern CPUs.
13358
d4a28569
UD
13359 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13360
b61099b5
UD
13361 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13362 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13363
bcf01e6d
UD
13364 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13365 __expl_finite.
13366 * math/bits/math-finite.h: Add entries for exp.
13367 * math/e_expl.c: Add __*_finite alias.
13368 * sysdeps/i386/fpu/e_exp.S: Likewise.
13369 * sysdeps/i386/fpu/e_expf.S: Likewise.
13370 * sysdeps/i386/fpu/e_expl.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13372 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13376 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13378
ba1a0d59
UD
13379 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13380 is sufficient, at least on modern CPUs.
13381
fd5bdc09
UD
13382 * ctype/ctype-info.c (__ctype_init): Define.
13383 * include/ctype.h (__ctype_init): Declare.
13384 (__ctype_b_loc): The variable is always initialized.
13385 (__ctype_toupper_loc): Likewise.
13386 (__ctype_tolower_loc): Likewise.
13387 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13388 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13389
7872cfb0
AS
133902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13391
b468825a
AS
13392 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13393
7872cfb0
AS
13394 * configure.in: Also look in $cxxmachine/include for C++ system
13395 headers.
13396
be13f7bf
LD
133972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13398
13399 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13400 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13401 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13402 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13404 (USE_AS_WMEMCMP): New macro.
13405 Fixing indents.
13406 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13407 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13408 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13409 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13410 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13411 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13412 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13413 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13414 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13415 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13416 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13417 (USE_AS_WMEMCMP): New macro.
13418 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13419 * sysdeps/string/test-memcmp.c: Update.
13420 Fix simple_wmemcmp.
13421 Add new tests.
13422 * wcsmbs/wmemcmp.c: Update.
13423 (WMEMCMP): New macro.
13424 Fix overflow bug.
13425
556a2007
AJ
134262011-10-12 Andreas Jaeger <aj@suse.de>
13427
13428 [BZ #13268]
13429 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13430
538faaa7
UD
134312011-10-15 Ulrich Drepper <drepper@gmail.com>
13432
ab6737ff
UD
13433 * libio/iofwide.c (do_length): Avoid warning.
13434
538faaa7
UD
13435 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13436
396a21b1
UD
134372011-10-14 Ulrich Drepper <drepper@gmail.com>
13438
cdf2901f
UD
13439 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13440
38ad40ce
UD
13441 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13442 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13443 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13444 * sysdeps/i386/i686/fpu/e_log.S: New file.
13445 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13446 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13447
396a21b1
UD
13448 * ctype/ctype.h: Add support for inlined isXXX functions when
13449 compiling C++ code.
13450
6b1f68c9
AS
134512011-10-14 Andreas Schwab <schwab@redhat.com>
13452
349290c0
AS
13453 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13454
6b1f68c9
AS
13455 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13456
f2282d42
RM
134572011-10-13 Roland McGrath <roland@hack.frob.com>
13458
13459 [BZ #13291]
13460 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13461
5298ffa8
AS
134622011-10-13 Andreas Schwab <schwab@redhat.com>
13463
714fad23
AS
13464 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13465 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13466 feraiseexcept.
13467
81dcc7fb
AS
13468 * sysdeps/x86_64/memrchr.S: Check for zero size.
13469
5298ffa8
AS
13470 * string/stratcliff.c: Add memrchr tests.
13471
951fbcec
LD
134722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13473
13474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13475 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13476 rawmemchr-sse2 rawmemchr-sse2-bsf.
13477 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13478 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13479 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13480 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13481 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13482 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13483 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13484 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13485 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13486 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13487 * string/memrchr.c (MEMRCHR): New macro.
13488
0ac5ae23
UD
134892011-10-12 Ulrich Drepper <drepper@gmail.com>
13490
13491 Add integration with gcc's -ffinite-math-only and optimize wrapper
13492 functions in libm.
13493 * Versions.def: Define GLIBC_2.15 version for libm.
13494 * math/Makefile (headers): Add bits/math-finite.h.
13495 * math/bits/math-finite.h: New file.
13496 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13497 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13498 * math/e_acoshl.c: Add __*_finite alias.
13499 * math/e_acosl.c: Likewise.
13500 * math/e_asinl.c: Likewise.
13501 * math/e_atan2l.c: Likewise.
13502 * math/e_atanhl.c: Likewise.
13503 * math/e_coshl.c: Likewise.
13504 * math/e_exp10.c: Likewise.
13505 * math/e_exp10f.c: Likewise.
13506 * math/e_exp10l.c: Likewise.
13507 * math/e_exp2l.c: Likewise.
13508 * math/e_fmodl.c: Likewise.
13509 * math/e_gammal_r.c: Likewise.
13510 * math/e_hypotl.c: Likewise.
13511 * math/e_j0l.c: Likewise.
13512 * math/e_j1l.c: Likewise.
13513 * math/e_jnl.c: Likewise.
13514 * math/e_lgammal_r.c: Likewise.
13515 * math/e_log10l.c: Likewise.
13516 * math/e_log2l.c: Likewise.
13517 * math/e_logl.c: Likewise.
13518 * math/e_powl.c: Likewise.
13519 * math/e_sinhl.c: Likewise.
13520 * math/e_sqrtl.c: Likewise.
13521 * math/e_scalb.c: Completely rewritten and optimized.
13522 * math/e_scalbf.c: Likewise.
13523 * math/e_scalbl.c: Likewise.
13524 * math/w_acos.c: Likewise.
13525 * math/w_acosf.c: Likewise.
13526 * math/w_acosl.c: Likewise.
13527 * math/w_acosh.c: Likewise.
13528 * math/w_acoshf.c: Likewise.
13529 * math/w_acoshl.c: Likewise.
13530 * math/w_asin.c: Likewise.
13531 * math/w_asinf.c: Likewise.
13532 * math/w_asinl.c: Likewise.
13533 * math/w_atan2.c: Likewise.
13534 * math/w_atan2f.c: Likewise.
13535 * math/w_atan2l.c: Likewise.
13536 * math/w_atanh.c: Likewise.
13537 * math/w_atanhf.c: Likewise.
13538 * math/w_atanhl.c: Likewise.
13539 * math/w_exp10.c: Likewise.
13540 * math/w_exp10f.c: Likewise.
13541 * math/w_exp10l.c: Likewise.
13542 * math/w_fmod.c: Likewise.
13543 * math/w_fmodf.c: Likewise.
13544 * math/w_fmodl.c: Likewise.
13545 * math/w_j0.c: Likewise.
13546 * math/w_j0f.c: Likewise.
13547 * math/w_j0l.c: Likewise.
13548 * math/w_j1.c: Likewise.
13549 * math/w_j1f.c: Likewise.
13550 * math/w_j1l.c: Likewise.
13551 * math/w_jn.c: Likewise.
13552 * math/w_jnf.c: Likewise.
13553 * math/w_log.c: Likewise.
13554 * math/w_logf.c: Likewise.
13555 * math/w_logl.c: Likewise.
13556 * math/w_log10.c: Likewise.
13557 * math/w_log10f.c: Likewise.
13558 * math/w_log10l.c: Likewise.
13559 * math/w_log2.c: Likewise.
13560 * math/w_log2f.c: Likewise.
13561 * math/w_log2l.c: Likewise.
13562 * math/w_pow.c: Likewise.
13563 * math/w_powf.c: Likewise.
13564 * math/w_powl.c: Likewise.
13565 * math/w_remainder.c: Likewise.
13566 * math/w_remainderf.c: Likewise.
13567 * math/w_remainderl.c: Likewise.
13568 * math/w_scalb.c: Likewise.
13569 * math/w_scalbf.c: Likewise.
13570 * math/w_scalbl.c: Likewise.
13571 * math/w_sqrt.c: Likewise.
13572 * math/w_sqrtf.c: Likewise.
13573 * math/w_sqrtl.c: Likewise.
13574 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13575 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13576 used.
13577 * math/math_private.h: Declare __kernel_standard_f.
13578 * math/w_cosh.c: Remove cruft and optimize a bit.
13579 * math/w_coshf.c: Likewise.
13580 * math/w_coshl.c: Likewise.
13581 * math/w_exp2.c: Likewise.
13582 * math/w_exp2f.c: Likewise.
13583 * math/w_exp2l.c: Likewise.
13584 * math/w_hypot.c: Likewise.
13585 * math/w_hypotf.c: Likewise.
13586 * math/w_hypotl.c: Likewise.
13587 * math/w_lgamma.c: Likewise.
13588 * math/w_lgamma_r.c: Likewise.
13589 * math/w_lgammaf.c: Likewise.
13590 * math/w_lgammaf_r.c: Likewise.
13591 * math/w_lgammal.c: Likewise.
13592 * math/w_lgammal_r.c: Likewise.
13593 * math/w_sinh.c: Likewise.
13594 * math/w_sinhf.c: Likewise.
13595 * math/w_sinhl.c: Likewise.
13596 * math/w_tgamma.c: Likewise.
13597 * math/w_tgammaf.c: Likewise.
13598 * math/w_tgammal.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13600 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13601 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13602 Minor optimizations. Pretty printing. Remove cruft.
13603 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13604 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13605 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13606 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13607 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13608 * sysdeps/i386/fpu/e_asin.S: Likewise.
13609 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13610 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13611 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13612 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13613 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13614 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13615 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13616 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13617 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13618 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13619 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13620 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13621 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13622 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13623 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13624 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13625 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13626 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13627 * sysdeps/i386/fpu/e_log.S: Likewise.
13628 * sysdeps/i386/fpu/e_log10.S: Likewise.
13629 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13630 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13631 * sysdeps/i386/fpu/e_log2.S: Likewise.
13632 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13633 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13634 * sysdeps/i386/fpu/e_logf.S: Likewise.
13635 * sysdeps/i386/fpu/e_logl.S: Likewise.
13636 * sysdeps/i386/fpu/e_pow.S: Likewise.
13637 * sysdeps/i386/fpu/e_powf.S: Likewise.
13638 * sysdeps/i386/fpu/e_powl.S: Likewise.
13639 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13640 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13641 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13642 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13643 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13644 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13645 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13646 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13647 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13648 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13661 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13669 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13670 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13671 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13672 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13673 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13674 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13675 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13676 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13677 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13678 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13679 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13680 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13681 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13682 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13683 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13684 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13685 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13686 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13687 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13688 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13689 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13728 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13731 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13733 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13734 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13736 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13739 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13740 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13741 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13742 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13743 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13744 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13745 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13746 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13747 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13748 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13749 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13750 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13751 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13752 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13753 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13754 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13756 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13758 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13759 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13760 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13761 (__isnanf): Likewise.
13762 (__isinf_ns): Likewise.
13763 (__isinf_nsf): Likewise.
13764 (__finite): Likewise.
13765 (__finitef): Likewise.
13766 (__ieee754_sqrt): Define as macro.
13767 (__ieee754_sqrtf): Define as macro.
13768 (__ieee754_sqrtl): Define as macro.
13769 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13770 inlined copy.
13771 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13772 __FINITE_MATH_ONLY__ consistent.
13773 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13774
12cc2fcd
AS
137752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13776
a843a204
AS
13777 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13778 of rawmemchr.
13779
12cc2fcd
AS
13780 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13781
c853acd5
UD
137822011-10-09 Ulrich Drepper <drepper@gmail.com>
13783
13784 * po/ja.po: Update from translation team.
13785
c658d255
RM
137862011-10-08 Roland McGrath <roland@hack.frob.com>
13787
110946e4
RM
13788 * locale/programs/locarchive.c (prepare_address_space): New function.
13789 (create_archive, enlarge_archive, open_archive): Use it.
13790
50604220
RM
13791 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13792 inside [SHARED], where it is used.
13793
c658d255
RM
13794 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13795
13796 * nss/getent.c (netgroup_keys): Remove unused variable.
13797 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13798
6a621eb7
UD
137992011-10-08 Ulrich Drepper <drepper@gmail.com>
13800
7edb55ce
UD
13801 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13802 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13804 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13805 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13806 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13807 * math/Makefile (libm-calls): Add s_isinf_ns.
13808 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13809 * math/multc3.c: Likewise.
13810 * math/s_casin.c: Likewise.
13811 * math/s_casinf.c: Likewise.
13812 * math/s_casinl.c: Likewise.
13813 * math/s_ccos.c: Likewise.
13814 * math/s_ccosf.c: Likewise.
13815 * math/s_ccosl.c: Likewise.
13816 * math/s_ctan.c: Likewise.
13817 * math/s_ctanf.c: Likewise.
13818 * math/s_ctanh.c: Likewise.
13819 * math/s_ctanhf.c: Likewise.
13820 * math/s_ctanhl.c: Likewise.
13821 * math/s_ctanl.c: Likewise.
13822 * math/w_fmod.c: Likewise.
13823 * math/w_fmodf.c: Likewise.
13824 * math/w_fmodl.c: Likewise.
13825 * math/w_remainder.c: Likewise.
13826 * math/w_remainderf.c: Likewise.
13827 * math/w_remainderl.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13829 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13830 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13832 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13833 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13834 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13835 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13836
187da0ae
UD
13837 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13838 of the number.
13839 * stdio-common/printf_fphex.c: Likewise.
13840 * stdio-common/printf_size.c: Likewise.
13841
9277c064
UD
13842 * math/e_exp10.c: Include math_private.h using <...> not "...".
13843 * math/e_exp10f.c: Likewise.
13844 * math/e_exp10l.c: Likewise.
13845 * math/e_exp2l.c: Likewise.
13846 * math/e_j0l.c: Likewise.
13847 * math/e_j1l.c: Likewise.
13848 * math/e_jnl.c: Likewise.
13849 * math/e_lgammal_r.c: Likewise.
13850 * math/e_rem_pio2l.c: Likewise.
13851 * math/e_scalb.c: Likewise.
13852 * math/e_scalbf.c: Likewise.
13853 * math/e_scalbl.c: Likewise.
13854 * math/k_cosl.c: Likewise.
13855 * math/k_sinl.c: Likewise.
13856 * math/k_tanl.c: Likewise.
13857 * math/s_cacoshf.c: Likewise.
13858 * math/s_catan.c: Likewise.
13859 * math/s_catanf.c: Likewise.
13860 * math/s_catanh.c: Likewise.
13861 * math/s_catanhf.c: Likewise.
13862 * math/s_catanhl.c: Likewise.
13863 * math/s_catanl.c: Likewise.
13864 * math/s_ccosh.c: Likewise.
13865 * math/s_ccoshf.c: Likewise.
13866 * math/s_ccoshl.c: Likewise.
13867 * math/s_cexp.c: Likewise.
13868 * math/s_cexpf.c: Likewise.
13869 * math/s_cexpl.c: Likewise.
13870 * math/s_clog.c: Likewise.
13871 * math/s_clog10.c: Likewise.
13872 * math/s_clog10f.c: Likewise.
13873 * math/s_clog10l.c: Likewise.
13874 * math/s_clogf.c: Likewise.
13875 * math/s_clogl.c: Likewise.
13876 * math/s_csin.c: Likewise.
13877 * math/s_csinf.c: Likewise.
13878 * math/s_csinh.c: Likewise.
13879 * math/s_csinhf.c: Likewise.
13880 * math/s_csinhl.c: Likewise.
13881 * math/s_csinl.c: Likewise.
13882 * math/s_csqrt.c: Likewise.
13883 * math/s_csqrtf.c: Likewise.
13884 * math/s_csqrtl.c: Likewise.
13885 * math/s_ctan.c: Likewise.
13886 * math/s_ctanf.c: Likewise.
13887 * math/s_ctanh.c: Likewise.
13888 * math/s_ctanhf.c: Likewise.
13889 * math/s_ctanhl.c: Likewise.
13890 * math/s_ctanl.c: Likewise.
13891 * math/s_ldexp.c: Likewise.
13892 * math/s_ldexpf.c: Likewise.
13893 * math/s_ldexpl.c: Likewise.
13894 * math/s_significand.c: Likewise.
13895 * math/s_significandf.c: Likewise.
13896 * math/s_significandl.c: Likewise.
13897 * math/w_acos.c: Likewise.
13898 * math/w_acosf.c: Likewise.
13899 * math/w_acosh.c: Likewise.
13900 * math/w_acoshf.c: Likewise.
13901 * math/w_acoshl.c: Likewise.
13902 * math/w_acosl.c: Likewise.
13903 * math/w_asin.c: Likewise.
13904 * math/w_asinf.c: Likewise.
13905 * math/w_asinl.c: Likewise.
13906 * math/w_atan2.c: Likewise.
13907 * math/w_atan2f.c: Likewise.
13908 * math/w_atan2l.c: Likewise.
13909 * math/w_atanh.c: Likewise.
13910 * math/w_atanhf.c: Likewise.
13911 * math/w_atanhl.c: Likewise.
13912 * math/w_cosh.c: Likewise.
13913 * math/w_coshf.c: Likewise.
13914 * math/w_coshl.c: Likewise.
13915 * math/w_dremf.c: Likewise.
13916 * math/w_exp10.c: Likewise.
13917 * math/w_exp10f.c: Likewise.
13918 * math/w_exp10l.c: Likewise.
13919 * math/w_exp2.c: Likewise.
13920 * math/w_exp2f.c: Likewise.
13921 * math/w_fmod.c: Likewise.
13922 * math/w_fmodf.c: Likewise.
13923 * math/w_fmodl.c: Likewise.
13924 * math/w_hypot.c: Likewise.
13925 * math/w_hypotf.c: Likewise.
13926 * math/w_hypotl.c: Likewise.
13927 * math/w_j0.c: Likewise.
13928 * math/w_j0f.c: Likewise.
13929 * math/w_j0l.c: Likewise.
13930 * math/w_j1.c: Likewise.
13931 * math/w_j1f.c: Likewise.
13932 * math/w_j1l.c: Likewise.
13933 * math/w_jn.c: Likewise.
13934 * math/w_jnf.c: Likewise.
13935 * math/w_jnl.c: Likewise.
13936 * math/w_lgamma.c: Likewise.
13937 * math/w_lgamma_r.c: Likewise.
13938 * math/w_lgammaf.c: Likewise.
13939 * math/w_lgammaf_r.c: Likewise.
13940 * math/w_lgammal.c: Likewise.
13941 * math/w_lgammal_r.c: Likewise.
13942 * math/w_log.c: Likewise.
13943 * math/w_log10.c: Likewise.
13944 * math/w_log10f.c: Likewise.
13945 * math/w_log10l.c: Likewise.
13946 * math/w_log2.c: Likewise.
13947 * math/w_log2f.c: Likewise.
13948 * math/w_log2l.c: Likewise.
13949 * math/w_logf.c: Likewise.
13950 * math/w_logl.c: Likewise.
13951 * math/w_pow.c: Likewise.
13952 * math/w_powf.c: Likewise.
13953 * math/w_powl.c: Likewise.
13954 * math/w_remainder.c: Likewise.
13955 * math/w_remainderf.c: Likewise.
13956 * math/w_remainderl.c: Likewise.
13957 * math/w_scalb.c: Likewise.
13958 * math/w_scalbf.c: Likewise.
13959 * math/w_scalbl.c: Likewise.
13960 * math/w_sinh.c: Likewise.
13961 * math/w_sinhf.c: Likewise.
13962 * math/w_sinhl.c: Likewise.
13963 * math/w_sqrt.c: Likewise.
13964 * math/w_sqrtf.c: Likewise.
13965 * math/w_sqrtl.c: Likewise.
13966 * math/w_tgamma.c: Likewise.
13967 * math/w_tgammaf.c: Likewise.
13968 * math/w_tgammal.c: Likewise.
13969
6a621eb7
UD
13970 * po/ja.po: Update from translation team.
13971
bf582445
AJ
139722011-09-29 Andreas Jaeger <aj@suse.de>
13973
f9efbf3a
AJ
13974 [BZ #13179]
13975 * sunrpc/netname.c (netname2host): Fix logic.
13976
bf582445
AJ
13977 [BZ #6779]
13978 [BZ #6783]
13979 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13980 correctly.
13981 * math/w_remainder.c (__remainder): Likewise.
13982 * math/w_remainderf.c (__remainderf): Likewise.
13983 * math/libm-test.inc (remainder_test): Add test cases.
13984
48693bea
AK
139852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13986
13987 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13988 sdiv_qrnnd.
13989
42622229
LD
139902011-10-07 Ulrich Drepper <drepper@gmail.com>
13991
13992 * string/test-memcmp.c: Avoid unncessary #defines.
13993 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13994
093ecf92
LD
139952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13996
13997 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13998 Use new sse2 version for core i3 - i7 as it's faster
13999 than sse42 version.
14000 (bit_Prefer_PMINUB_for_stringop): New.
14001 * sysdeps/x86_64/rawmemchr.S: Update.
14002 Replace with faster SSE2 version.
14003 * sysdeps/x86_64/memrchr.S: New file.
14004 * sysdeps/x86_64/memchr.S: Update.
14005 Replace with faster SSE2 version.
14006
fde56e5c
MP
140072011-09-12 Marek Polacek <mpolacek@redhat.com>
14008
14009 * elf/dl-load.c (lose): Add cast to avoid warning.
14010
21fd49a9
UD
140112011-10-07 Ulrich Drepper <drepper@gmail.com>
14012
5a06e643
UD
14013 * po/ca.po: Update from translation team.
14014
684ae515
UD
14015 * inet/getnetgrent_r.c: Hook up nscd.
14016 * nscd/Makefile (routines): Add nscd_netgroup.
14017 (nscd-modules): Add netgroupcache.
14018 (CFLAGS-netgroupcache.c): Define.
14019 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14020 (cache_search): Add const to second parameter.
14021 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14022 INNETGR.
14023 (dbs): Add netgrdb entry.
14024 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14025 (verify_persistent_db): Handle netgrdb.
14026 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14027 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14028 GETFDNETGR.
14029 (netgroup_response_header): Define.
14030 (innetgroup_response_header): Define.
14031 (datahead): Add netgroup_response_header and innetgroup_response_header
14032 elements.
14033 * nscd/nscd.conf: Add entries for netgroup cache.
14034 * nscd/nscd.h (dbtype): Add netgrdb.
14035 (_PATH_NSCD_NETGROUP_DB): Define.
14036 (netgroup_iov_disabled): Declare.
14037 (xmalloc, xcalloc, xrealloc): Move declarations here.
14038 (cache_search): Adjust prototype.
14039 Add netgroup-related prototypes.
14040 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14041 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14042 (__nscd_innetgr): Declare.
14043 * nscd/selinux.c (perms): Use access_vector_t as element type and
14044 add netgroup-related initializers.
14045 * nscd/netgroupcache.c: New file.
14046 * nscd/nscd_netgroup.c: New file.
14047 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14048 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14049 For four parameters use innetgr.
14050 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14051 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14052 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14053 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14054
21fd49a9
UD
14055 * nscd/connections.c (register_traced_file): Don't register file
14056 for disabled databases.
14057
054c0457
UD
140582011-10-06 Ulrich Drepper <drepper@gmail.com>
14059
32b63198
UD
14060 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14061
054c0457
UD
14062 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14063 from tree and freeing node.
14064
64031225
JO
140652011-09-25 Jiri Olsa <jolsa@redhat.com>
14066
14067 * nss/nsswitch.c (__nss_database_lookup): Handle
14068 nss_parse_service_list out of memory case.
14069
0490345c
JO
140702011-09-15 Jiri Olsa <jolsa@redhat.com>
14071
14072 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14073 out of memory case.
14074
3a62d00d
AS
140752011-10-04 Andreas Schwab <schwab@redhat.com>
14076
14077 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14078 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14079 pass it down.
14080 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14081 elf_machine_rela, elf_machine_lazy_rel.
14082 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14083 (ELF_DYNAMIC_DO_REL): Likewise.
14084 (ELF_DYNAMIC_DO_RELA): Likewise.
14085 (ELF_DYNAMIC_RELOCATE): Likewise.
14086 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14087 to ELF_DYNAMIC_DO_REL.
14088 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14089 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14090 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14091 elf_machine_rela.
14092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14093 skip_ifunc, don't call ifunc function if non-zero.
14094 (elf_machine_rela): Likewise.
14095 (elf_machine_lazy_rel): Likewise.
14096 (elf_machine_lazy_rela): Likewise.
14097 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14098 (elf_machine_lazy_rel): Likewise.
14099 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14100 Likewise.
14101 (elf_machine_lazy_rel): Likewise.
14102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14103 Likewise.
14104 (elf_machine_lazy_rel): Likewise.
14105 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14106 (elf_machine_lazy_rel): Likewise.
14107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14108 (elf_machine_lazy_rel): Likewise.
14109 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14110 (elf_machine_lazy_rel): Likewise.
14111 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14112 (elf_machine_lazy_rel): Likewise.
14113 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14114 (elf_machine_lazy_rel): Likewise.
14115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14116 (elf_machine_lazy_rel): Likewise.
14117
68577918
UD
141182011-09-28 Ulrich Drepper <drepper@gmail.com>
14119
14120 * nss/nss_files/files-init.c (_nss_files_init): Use static
14121 initialization for all the *_traced_file variables.
14122
68822d74
AS
141232011-09-28 Andreas Schwab <schwab@redhat.com>
14124
14125 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14126
2056100b
RM
141272011-09-27 Roland McGrath <roland@hack.frob.com>
14128
14129 [BZ #13226]
14130 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14131
32c76b63
AS
141322011-09-27 Andreas Schwab <schwab@redhat.com>
14133
14134 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14135 Reread the line before reparsing it.
14136
bf972c9d
AS
141372011-09-26 Andreas Schwab <schwab@redhat.com>
14138
14139 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14140
e057a1b5
JM
141412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14142 Maxim Kuvyrkov <maxim@codesourcery.com>
14143 Joseph Myers <joseph@codesourcery.com>
14144
14145 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14146 if needed for __stack_chk_guard.
14147
bc7e1c36
RM
141482011-09-19 Roland McGrath <roland@hack.frob.com>
14149
ecb1482f
RM
14150 * sysdeps/posix/spawni.c (script_execute): Always define it.
14151 It will be optimized away if unused.
14152 (maybe_script_execute): New function.
14153 (__spawni): Call it.
14154
bc7e1c36
RM
14155 * Makerules: Don't include tls.make.
14156 (config-tls): Always set to thread.
14157 * tls.make.c: File removed.
14158
1c3b002b
MF
141592011-09-19 Mike Frysinger <vapier@gentoo.org>
14160
14161 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14162 * config.make.in (CPPFLAGS-config): New substituted variable.
14163
2840865d
UD
141642011-09-15 Ulrich Drepper <drepper@gmail.com>
14165
88738eb6
UD
14166 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14167
cbf645a6 14168 [BZ #13192]
2840865d
UD
14169 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14170 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14171
b402e91a
RM
141722011-09-15 Roland McGrath <roland@hack.frob.com>
14173
14174 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14175 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14176 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14177 (CALL_FAIL): Likewise.
14178 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14179 (CALL_FAIL): Macro removed.
14180 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14181
4c1a1f71
UD
141822011-09-15 Ulrich Drepper <drepper@gmail.com>
14183
14184 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14185 for __FINITE_MATH_ONLY__ == 1.
14186
edc121be
AS
141872011-09-15 Andreas Schwab <schwab@redhat.com>
14188
14189 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14190 __ieee754_sqrt instead of sqrt.
14191 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14192 __ieee754_sqrtf instead of sqrtf.
14193 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14194 __floorf instead of floorf.
14195 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14196 __floorf, __truncf instead of floorf, truncf.
14197
cd205654
UD
141982011-09-14 Ulrich Drepper <drepper@gmail.com>
14199
ee4d0315
UD
14200 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14201
cd205654
UD
14202 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14203 __extern_always_inline.
14204 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14205 32-bit.
14206
48b67d71
AS
142072011-09-14 Andreas Schwab <schwab@redhat.com>
14208
14209 * elf/rtld.c (dl_main): Also relocate in dependency order when
14210 doing symbol dependency testing.
14211
1ae12c75
AS
142122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14213
14214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14215 Always define `refsym'.
14216
995a80df
AS
142172011-09-13 Andreas Schwab <schwab@redhat.com>
14218
e529793b
AS
14219 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14220 (__FD_ELT): Renamed from __FDELT.
14221 * misc/bits/select2.h (__FD_ELT): Likewise.
14222 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14223 __FD_MASK instead of __FDELT, __FDMASK.
14224 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14225 Likewise.
14226 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14227 Likewise.
14228
52d4fef8
AS
14229 * elf/Makefile (gen-ldd): Fix pattern.
14230
995a80df
AS
14231 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14232 (init_tls): Likewise.
14233
8682f8b0
UD
142342011-09-12 Ulrich Drepper <drepper@gmail.com>
14235
14236 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14237
de82006d
AS
142382011-09-12 Andreas Schwab <schwab@redhat.com>
14239
a7c8e6a1
AS
14240 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14241 `struct cmsghdr *' instead of `void *'.
14242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14243 Likewise.
14244
0f31fe77
AS
142452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14246
14247 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14248 if non-absolute.
14249 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14250 ldd_rewrite_script.
0f31fe77 14251
32b4c839
UD
142522011-09-11 Ulrich Drepper <drepper@gmail.com>
14253
83cd1420
UD
14254 * configure.in: Remove --with-tls option.
14255 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14256 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14257 out in case it is missing.
14258 * sysdeps/ia64/elf/configure.in: Likewise.
14259 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14260 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14261 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14262 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14263 * sysdeps/sh/elf/configure.in: Likewise.
14264 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14265 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14266 * sysdeps/x86_64/elf/configure.in: Likewise.
14267 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14268 * sysdeps/mach/hurd/tls.h: Likewise.
14269
633f745d
UD
14270 [BZ #13067]
14271 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14272
f318beb8
UD
14273 [BZ #13090]
14274 * configure.in: Fix use of AC_INIT.
14275
32b4c839
UD
14276 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14277
3ce1f295
UD
142782011-09-10 Ulrich Drepper <drepper@gmail.com>
14279
bb016596
UD
14280 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14281 __set_errno.
8e58439c
UD
14282 * malloc/hooks.c: Likewise.
14283
aebae053 14284 [BZ #11929]
02d46fc4
UD
14285 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14286 variables statically.
14287 (narenas): Initialize.
14288 (list_lock): Initialize.
bb016596
UD
14289 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14290 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14291 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14292 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14293 Add initializers to main_arena and mp_.
14294 (malloc_state): Remove pagesize member. Change all users to use
14295 GLRO(dl_pagesize).
14296
14297 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14298 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14299 is always initialized.
14300
22a89187
UD
14301 * malloc/malloc.c: Removed unused configurations and dead code.
14302 * malloc/arena.c: Likewise.
14303 * malloc/hooks.c: Likewise.
02d46fc4 14304 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14305
d063d164
UD
14306 * include/tls.h: Removed. USE___THREAD must always be defined.
14307 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14308 * elf/dl-libc.c: Likewise.
14309 * elf/dl-tsd.c: Likewise.
14310 * include/errno.h: Likewise.
14311 * include/netdb.h: Likewise.
14312 * include/resolv.h: Likewise.
14313 * inet/herrno-loc.c: Likewise.
14314 * inet/herrno.c: Likewise.
14315 * malloc/arena.c: Likewise.
14316 * malloc/hooks.c: Likewise.
14317 * malloc/malloc.c: Likewise.
14318 * resolv/res-state.c: Likewise.
14319 * resolv/res_libc.c: Likewise.
14320 * sysdeps/i386/dl-machine.h: Likewise.
14321 * sysdeps/ia64/dl-machine.h: Likewise.
14322 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14323 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14324 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14325 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14326 * sysdeps/sh/dl-machine.h: Likewise.
14327 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14328 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14329 * sysdeps/unix/i386/sysdep.S: Likewise.
14330 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14331 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14332 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14333 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14334 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14335 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14336 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14340 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14341 * sysdeps/x86_64/dl-machine.h: Likewise.
14342 * tls.make.c: Likewise.
14343
3ce1f295
UD
14344 * configure.in: Remove --with-__thread option. Make tests for
14345 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14346 tls_model attribute fail if no support is available. Remove
14347 USE_IN_LIBIO.
14348 * Makeconfig: Adjust for dropped configure option. All features are
14349 now mandatory.
14350 * Makerules: Likewise.
14351 * Versions.def: Likewise.
14352 * argp/argp-fmtstream.c: Likewise.
14353 * argp/argp-fmtstream.h: Likewise.
14354 * argp/argp-help.c: Likewise.
14355 * assert/assert.c: Likewise.
14356 * config.h.in: Likewise.
14357 * config.make.in: Likewise.
14358 * configure: Likewise.
14359 * configure.in: Likewise.
14360 * csu/Versions: Likewise.
14361 * csu/init.c: Likewise.
14362 * elf/tst-audit2.c: Likewise.
14363 * elf/tst-tls10.c: Likewise.
14364 * elf/tst-tls10.h: Likewise.
14365 * elf/tst-tls11.c: Likewise.
14366 * elf/tst-tls12.c: Likewise.
14367 * elf/tst-tls14.c: Likewise.
14368 * elf/tst-tlsmod11.c: Likewise.
14369 * elf/tst-tlsmod12.c: Likewise.
14370 * elf/tst-tlsmod13.c: Likewise.
14371 * elf/tst-tlsmod13a.c: Likewise.
14372 * elf/tst-tlsmod14a.c: Likewise.
14373 * elf/tst-tlsmod15b.c: Likewise.
14374 * elf/tst-tlsmod16a.c: Likewise.
14375 * elf/tst-tlsmod16b.c: Likewise.
14376 * elf/tst-tlsmod7.c: Likewise.
14377 * elf/tst-tlsmod8.c: Likewise.
14378 * elf/tst-tlsmod9.c: Likewise.
14379 * gmon/gmon.c: Likewise.
14380 * grp/fgetgrent_r.c: Likewise.
14381 * grp/putgrent.c: Likewise.
14382 * hurd/fopenport.c: Likewise.
14383 * include/libc-symbols.h: Likewise.
14384 * include/tls.h: Likewise.
14385 * intl/gettextP.h: Likewise.
14386 * intl/loadinfo.h: Likewise.
14387 * locale/global-locale.c: Likewise.
14388 * locale/localeinfo.h: Likewise.
14389 * mach/devstream.c: Likewise.
14390 * malloc/arena.c: Likewise.
14391 * malloc/set-freeres.c: Likewise.
14392 * misc/err.c: Likewise.
14393 * misc/getttyent.c: Likewise.
14394 * misc/mntent_r.c: Likewise.
14395 * posix/getopt.c: Likewise.
14396 * posix/wordexp.c: Likewise.
14397 * pwd/fgetpwent_r.c: Likewise.
14398 * resolv/Versions: Likewise.
14399 * resolv/res_hconf.c: Likewise.
14400 * shadow/fgetspent_r.c: Likewise.
14401 * shadow/putspent.c: Likewise.
14402 * stdio-common/printf_fphex.c: Likewise.
14403 * stdio-common/tmpfile.c: Likewise.
14404 * stdlib/abort.c: Likewise.
14405 * stdlib/fmtmsg.c: Likewise.
14406 * sunrpc/auth_unix.c: Likewise.
14407 * sunrpc/clnt_perr.c: Likewise.
14408 * sunrpc/clnt_tcp.c: Likewise.
14409 * sunrpc/clnt_udp.c: Likewise.
14410 * sunrpc/clnt_unix.c: Likewise.
14411 * sunrpc/openchild.c: Likewise.
14412 * sunrpc/svc_simple.c: Likewise.
14413 * sunrpc/svc_tcp.c: Likewise.
14414 * sunrpc/svc_udp.c: Likewise.
14415 * sunrpc/svc_unix.c: Likewise.
14416 * sunrpc/xdr.c: Likewise.
14417 * sunrpc/xdr_array.c: Likewise.
14418 * sunrpc/xdr_rec.c: Likewise.
14419 * sunrpc/xdr_ref.c: Likewise.
14420 * sunrpc/xdr_stdio.c: Likewise.
14421
1248c1c4
PB
144222011-09-09 Ulrich Drepper <drepper@gmail.com>
14423
14424 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14425
144262011-07-03 Andreas Jaeger <aj@suse.de>
14427
14428 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14429 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14430 regenerate with gen-libm-tests.pl.
14431
144322010-05-12 Petr Baudis <pasky@suse.cz>
14433
14434 [BZ #11589]
14435 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14436 around j0() zero points by switching to j1().
14437 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14440 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14441
f22e1074
UD
144422011-09-09 Ulrich Drepper <drepper@gmail.com>
14443
f19009c1
UD
14444 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14445 instead of 0.
14446 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14447 instead of 0. .
14448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14449 Patch in part by Pavel Roskin <proski@gnu.org>.
14450
3f8cc204
UD
14451 [BZ #13138]
14452 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14453 realloc.
14454 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14455 Free memory block if necessary.
14456
f22e1074
UD
14457 [BZ #12847]
14458 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14459 be NULL. Don't lock in this case.
14460
0a2349f9
RM
144612011-09-09 Roland McGrath <roland@hack.frob.com>
14462
14463 * elf/elf.h (ELFOSABI_GNU): New macro.
14464 (ELFOSABI_LINUX): Define to that.
14465
f3cdd467
DZ
144662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14467
14468 * string/strncat.c (strncat): Undef the symbol in case it has been
14469 defined in bits/string.h.
14470
74718d13
UD
144712011-09-09 Ulrich Drepper <drepper@gmail.com>
14472
633e9e0f
UD
14473 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14474
0a2349f9 14475 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14476 link map.
14477
f9924780
AJ
144782011-08-17 Andreas Jaeger <aj@suse.de>
14479
14480 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14481
7f5517aa
PP
144822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14483 Ian Lance Taylor <iant@google.com>
14484
14485 * math/libm-test.inc (lround_test): New testcase.
14486 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14487
762011fe
UD
144882011-09-08 Ulrich Drepper <drepper@gmail.com>
14489
92963737
UD
14490 * Makefile: Remove support for automatic cvs check-ins.
14491 * Makerules: Likewise.
14492 * config.make.in: Likewise.
14493 * configure.in: Likewise.
14494 * intl/Makefile: Likewise.
14495 * locale/Makefile: Likewise.
14496 * po/Makefile: Likewise.
14497 * posix/Makefile: Likewise.
14498 * sysdeps/gnu/Makefile: Likewise.
14499 * sysdeps/mach/hurd/Makefile: Likewise.
14500 * sysdeps/sparc/sparc32/Makefile: Likewise.
14501
b0727fd8
JS
14502 [BZ #13118]
14503 * posix/Makefile (bug-regex32-ENV): Define.
14504 Patch by John Stanley <jpsinthemix@verizon.net>.
14505
a0f33f99
UD
14506 * misc/Makefile (headers): Add bits/select2.h.
14507 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14508 * misc/bits/select2.h: New file.
14509 * include/bits/select2.h: New file.
14510 * debug/Makefile (routines): Add fdelt_chk.
14511 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14512 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14513 FD_ISSET.
14514 * debug/fdelt_chk.c: New file.
14515
762011fe
UD
14516 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14517 * wcsmbs/test-wmemcmp.c: Likewise.
14518 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14519 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14520
145212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14522
14523 * string/Makefile (strop-tests): Add memcmp.
14524 * string/test-wmemcmp.c: New file.
14525 * string/test-memcmp.c: Add wmemcmp support.
14526
7f513ec8
RM
145272011-09-08 Roland McGrath <roland@hack.frob.com>
14528
0442afb4
RM
14529 [BZ #13153]
14530 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14531 2011-07-19 change.
14532
7f513ec8
RM
14533 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14534 garbage value in a __mach_port_mod_refs call in the cases of the
14535 task-self and thread-self ports.
14536
a12b2239
ST
145372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14538
14539 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14540
610f9ab4
AS
145412011-09-08 Andreas Schwab <schwab@redhat.com>
14542
7f513ec8 14543 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14544
48882a1a
LD
145452011-09-07 Ulrich Drepper <drepper@gmail.com>
14546
b49865be
UD
14547 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14548
fdc86bc9
UD
14549 * elf/dl-libc.c (dlerror_run): Pass back error code from
14550 dl_catch_error.
14551
c966526a
UD
14552 [BZ #13123]
14553 * elf/dl-load.c (lose): Free l_origin if it is valid.
14554
48882a1a
LD
14555 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14556 names.
14557 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14558 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14560 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14561 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14562 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14563
77a2a8b4
AZ
145642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14565
14566 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14567 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14568 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14569 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14570 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14571 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14572 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14573 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14574 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14575 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14576
24f579d8
AM
145772011-08-15 Alan Modra <amodra@gmail.com>
14578
14579 [BZ #13092]
14580 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14581 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14582 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14583 ppc_mcount to static-only-routines.
14584 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14585 __mcount_internal.
14586 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14587 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14588
3d4837df
UD
145892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14590
14591 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14592 for finite and infinity parameters.
14593
22700377
WS
145942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14595
14596 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14597 and add nop instructions for throughput optimization.
14598 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14599
5025581e
WS
146002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14601
14602 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14603 aligned copy for power7 with vector-scalar instructions.
14604 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14605
08a300c9
L
146062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14607
14608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14609 AVX check.
14610
59178ef9
AS
146112011-09-07 Andreas Schwab <schwab@redhat.com>
14612
14613 [BZ #13144]
14614 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14615 last change.
14616
e38ba7ab
UD
146172011-09-07 Ulrich Drepper <drepper@gmail.com>
14618
14619 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14620 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14621 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14622 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14623 clock_gettime.
14624
d53a73ac
UD
146252011-09-06 Ulrich Drepper <drepper@gmail.com>
14626
fc8bffcc
UD
14627 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14628 Forgot to demangle the pointer.
14629
ceaa0c5d
UD
14630 * sysdeps/i386/sysdep.h: Define atom_text_section.
14631 * sysdeps/x86_64/sysdep.h: Likewise.
14632 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14633 section with atom_text_section.
14634 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14635 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14636 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14637 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14638 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14639
a77d3c17
UD
14640 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14641 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14642 already be defined. Change to take two parameters and don't assign
14643 result to variable. Adjust all users.
14644 Define INTERNAL_GETTIME if not already defined.
14645 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14646 call.
14647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14648 HAVE_CLOCK_GETTIME_VSYSCALL.
14649 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14650
d53a73ac
UD
14651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14652 gettimeofday vsyscall, just use time.
14653
a8f84144
AS
146542011-09-06 Andreas Schwab <schwab@redhat.com>
14655
14656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14657 <errno.h>.
14658
ef606249
UD
146592011-09-06 Ulrich Drepper <drepper@gmail.com>
14660
14661 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14662 syscall on x86-64.
14663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14664 syscall.
14665 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14666 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14667 syscall if possible.
14668
6585cb60
UD
146692011-09-05 Ulrich Drepper <drepper@gmail.com>
14670
14671 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14672 e_ident. Don't pass to find_mapsXX.
14673 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14674
a5f524e4
LD
146752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14676
14677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14678 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14679 * sysdeps/x86_64/multiarch/strchr.S: Update.
14680 Check bit_slow_BSF bit.
14681 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14682 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14683 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14684
554881ef
UD
146852011-09-05 Ulrich Drepper <drepper@gmail.com>
14686
d96de963
UD
14687 [BZ #13134]
14688 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14689 before glibc 2.15.
14690 (tryshell): Define.
14691 (__spawni): Change last parameter to be flag. Test
14692 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14693 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14694 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14695 * posix/spawni.c: Likewise.
14696 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14697 * posix/spawnp.c: Likewise. Change normal version to use
14698 SPAWN_XFLAGS_USE_PATH.
14699 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14700 SPAWN_XFLAGS_TRY_SHELL.
14701
d48e5868
UD
14702 [BZ #13150]
14703 * posix/glob.h: Remove gcc 1.x support.
14704
554881ef
UD
14705 [BZ #13068]
14706 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14707
693fb948
LD
147082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14709
14710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14711 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14712 strrchr-sse2-bsf
14713 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14714 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14715 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14716 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14717 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14718 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14719
1b48c537
UD
147202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14721
49d42c37
UD
14722 * sysdeps/x86_64/wcscmp.S: New file.
14723
1b48c537
UD
14724 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14725 wcscmp-c wcscmp-sse2
14726 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14727 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14728 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14729 * wcsmbs/wcscmp.c: Allow renaming.
14730
15c95c5d
DM
147312011-09-05 David S. Miller <davem@davemloft.net>
14732
14733 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14734 stack slot, rather than the struct return pointer slot.
14735 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14736 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14738 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14739
2f0ad8f3
UD
147402011-09-05 Ulrich Drepper <drepper@gmail.com>
14741
d88ae418
UD
14742 * po/ja.po: Update from translation team.
14743
2f0ad8f3
UD
14744 [BZ #13144]
14745 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14746 kernel in 64-bit binaries.
14747
5f4318d1
DM
147482011-09-01 David S. Miller <davem@davemloft.net>
14749
14750 * elf/elf.h (HWCAP_SPARC_*): Move to..
14751 * sysdeps/sparc/sysdep.h: this new file and add new values.
14752 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14753 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14754 _DL_HWCAP_COUNT to 24.
14755 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14756 entries.
14757 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14758 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14759 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14760 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14761 instead of magic constants.
14762 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14763
3ba57516
DM
147642011-08-31 David S. Miller <davem@davemloft.net>
14765
14766 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14768 Reimplement to do errno handling inline.
14769 (SYSCALL_ERROR_HANDLER): New macro.
14770 (__SYSCALL_STRING): Do not do errno handling in asm.
14771 (__CLONE_SYSCALL_STRING): Delete.
14772 (__INTERNAL_SYSCALL_STRING): Delete.
14773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14774 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14775 (PSEUDO): Reimplement to do errno handling inline.
14776 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14777 (SYSCALL_ERROR_HANDLER): New macro.
14778 (__SYSCALL_STRING): Do not do errno handling in asm.
14779 (__CLONE_SYSCALL_STRING): Delete.
14780 (__INTERNAL_SYSCALL_STRING): Delete.
14781 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14782 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14783 i386.
14784 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14785 (inline_syscall*): Add 'err' argument.
14786 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14787 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14788 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14789 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14790
14791 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14792 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14793
2bc17433
AS
147942011-08-30 Andreas Schwab <schwab@redhat.com>
14795
14796 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14797
fbeb5f4d
JO
147982011-08-29 Jiri Olsa <jolsa@redhat.com>
14799
14800 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14801 directive.
14802
ad69cc26
DM
148032011-08-24 David S. Miller <davem@davemloft.net>
14804
14805 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14806
39dd69df
AS
148072011-08-24 Andreas Schwab <schwab@redhat.com>
14808
14809 * elf/Makefile: Add rules to build and run unload8 test.
14810 * elf/unload8.c: New file.
14811 * elf/unload8mod1.c: New file.
14812 * elf/unload8mod1x.c: New file.
14813 * elf/unload8mod2.c: New file.
14814 * elf/unload8mod3.c: New file.
14815
14816 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14817 it wasn't used.
14818
2c0b250a
DM
148192011-08-23 David S. Miller <davem@davemloft.net>
14820
14821 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14822 subtract stack bias.
14823 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14824 %sp not %fp in calculations.
14825 (_JMPBUF_UNWINDS_ADJ): Likewise.
14826
22044b48
DM
14827 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14828 (aio_suspend): Call it to force an exception region around the
14829 AIO_MISC_WAIT() invocation.
14830
2cae4995
AS
148312011-08-23 Andreas Schwab <schwab@redhat.com>
14832
14833 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14834 backslash.
14835
873a772e
AJ
148362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14837
14838 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14839 protection macro.
14840 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14841 and <dl-machine.h>.
14842 (Elf64_FuncDesc): Remove.
14843
25ad0df1
DM
148442011-08-22 David S. Miller <davem@davemloft.net>
14845
14846 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14847 sigaltstack check, add missing cfi directives.
14848 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14849 missing cfi directives, and sigaltstack handling.
14850
e888bcbe
AS
148512011-08-16 Andreas Schwab <schwab@redhat.com>
14852
14853 [BZ #11724]
14854 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14855 object is seen twice.
14856 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14857
14858 * elf/Makefile (distribute): Add tst-initorder2.c.
14859 (tests): Add tst-initorder2.
14860 (modules-names): Add tst-initorder2a tst-initorder2b
14861 tst-initorder2c tst-initorder2d. Add rules to build them.
14862 ($(objpfx)tst-initorder2.out): New rule.
14863 * elf/tst-initorder2.c: New file.
14864 * elf/tst-initorder2.exp: New file.
14865
87162f46
AS
148662011-08-22 Andreas Schwab <schwab@redhat.com>
14867
70538b7f
AS
14868 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14869
f55ffe58
AS
14870 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14871 dependencies back to end of function.
14872
87162f46
AS
14873 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14874 $(elfobjdir)/ld.so.
14875
91b392a4
UD
148762011-08-21 Ulrich Drepper <drepper@gmail.com>
14877
14878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14879 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14880 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14881 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14882 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14883 of __vdso_gettimeofday.
14884 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14885 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14886 attribute_hidden.
14887 (_libc_vdso_platform_setup): Remove initialization of
14888 __vdso_gettimeofday and __vdso_time.
14889
5c43483f
UD
148902011-08-20 Ulrich Drepper <drepper@gmail.com>
14891
775a77e7
UD
14892 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14893 and fgetc_unlocked.
14894 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14895 getc_unlocked.
89f447ed 14896
49c74ba9
UD
14897 * elf/dl-open.c (add_to_global): Report additions to the global scope
14898 for LD_DEBUG=scopes.
14899 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14900 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14901
5c43483f
UD
14902 [BZ #13114]
14903 * stdio-common/Makefile (tests): Add bug24.
14904 * stdio-common/bug24.c: New file.
14905
a101b025
AJ
149062011-08-19 Andreas Jaeger <aj@suse.de>
14907
14908 [BZ #13114]
14909 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14910 non-existant file when using close-on-exec mode.
14911
c88f1766
UD
149122011-08-20 Ulrich Drepper <drepper@gmail.com>
14913
0276a718
UD
14914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14915 the very first instruction.
14916
c88f1766
UD
14917 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14918 the CFI state in the end.
14919 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14920 inclusion of dl-trampoline.h.
14921 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14922
51ccffa0
AS
149232011-08-19 Andreas Schwab <schwab@redhat.com>
14924
94d7165f
AS
14925 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14926 expectations for long double.
14927
51ccffa0
AS
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14929 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14930
fd708658 149312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14932
14933 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14934 artificual limit depends upon the system page size.
14935
44f0a71e
UD
149362011-08-17 Ulrich Drepper <drepper@gmail.com>
14937
14938 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14939 * resolv/Makefile: Define CFLAGS-libresolv.
14940
8de79a24
AS
149412011-08-17 Andreas Schwab <schwab@redhat.com>
14942
14943 * nss/makedb.c (compute_tables): Make variables used in nested
14944 function static.
14945
27724598
UD
149462011-08-17 Ulrich Drepper <drepper@gmail.com>
14947
c5305d88
UD
14948 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14949 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14950 if buffer was too small.
14951
27724598
UD
14952 * elf/pldd.c (main): Attach to all threads in the process.
14953 Rewrite /proc handling to use *at functions.
14954
076fe015
UD
149552011-08-16 Ulrich Drepper <drepper@gmail.com>
14956
174baab3
UD
14957 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14958 specifies first scope to show.
14959 (dl_open_worker): Update callers. Move printing scope of new
14960 object to before the relocation.
44f0a71e 14961 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14962 * sysdeps/generic/ldsodefs.h: Update declaration.
14963
076fe015
UD
14964 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14965 string for the scope number.
14966
a60df2c3
UD
149672011-08-14 Ulrich Drepper <drepper@gmail.com>
14968
14969 * nscd/servicescache.c (cache_addserv): Make sure written is always
14970 initialized.
14971
5e4287d1
RM
149722011-08-14 Roland McGrath <roland@hack.frob.com>
14973
85ae0589
RM
14974 * sysdeps/i386/i486/bits/atomic.h
14975 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14976 statement expression, so as to suppress "set but not used" warning.
14977 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14978
69f63097
RM
14979 * string/strncat.c (STRNCAT): Use prototype definition.
14980
675456ef
RM
14981 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14982 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14983 -Iprograms here.
14984 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14985 (localedef-modules): Add localedef.
14986 (locale-modules): Add locale.
14987
5e4287d1
RM
14988 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14989 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14990 to avoid a warning.
14991
9c96ff23
DM
149922011-08-14 David S. Miller <davem@davemloft.net>
14993
14994 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14995 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14996
f9ddf089
UD
149972011-08-13 Ulrich Drepper <drepper@gmail.com>
14998
44f0a71e 14999 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15000 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15001 * elf/rtld.c (dl_main): Set l_name of vDSO.
15002 Call _dl_show_scope when DL_DEBUG_SCOPES.
15003 (process_dl_debug): Recognize scopes flag and also set it for all.
15004 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15005 Declare _dl_show_scope.
15006
1dc27704
UD
15007 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15008 (do_dlopen): Pass caller_dlopen to dl_open.
15009 (__libc_dlopen_mode): Initialize caller_dlopen.
15010
f9ddf089
UD
15011 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15012 of libc. Make tolower call locale-independent. Optimize a bit by
15013 using isdigit instead of isalnum.
15014 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15015
9ac533d3
UD
150162011-08-12 Ulrich Drepper <drepper@gmail.com>
15017
15018 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15019 was a dependency or dynamically loaded.
15020
89edf2e9
UD
150212011-08-11 Ulrich Drepper <drepper@gmail.com>
15022
8e999d29
UD
15023 * intl/l10nflist.c: Allow architecture-specific pop function.
15024 * sysdeps/x86_64/l10nflist.c: New file.
15025
89edf2e9
UD
15026 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15027 classification.
15028
14d96785
AS
150292011-08-10 Andreas Schwab <schwab@redhat.com>
15030
15031 * include/dirent.h: Add libc_hidden_proto for scandirat and
15032 scandirat64. Don't declare __scandirat64.
15033 * dirent/scandirat.c: Add libc_hidden_def.
15034 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15035 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15036
6761ac04
DM
150372011-08-10 David S. Miller <davem@davemloft.net>
15038
15039 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15040 enum.
15041 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15043 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15044
c55fbd1e
UD
150452011-08-09 Ulrich Drepper <drepper@gmail.com>
15046
15047 * Versions.def [libc]: Add GLIBC_2.15.
15048 * dirent/Makefile (routines): Add scandirat and scandirat64.
15049 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15050 GLIBC_2.15.
15051 * dirent/dirent.h: Declare scandirat and scandirat64.
15052 * dirent/scandirat.c: New file.
15053 * dirent/scandirat64.c: New file.
15054 * sysdeps/wordsize-64/scandirat.c: New file.
15055 * sysdeps/wordsize-64/scandirat64.c: New file.
15056 * dirent/opendir.c: Define opendirat.
15057 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15058 using scandirat.
15059 * dirent/scandir64.c: Adjust for scandir.c change.
15060 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15061 __scandirat64, and __scandir_cancel_handler.
15062 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15063 additional parameter and use openat instead of open (outside of ld.so).
15064 Add new __opendir as wrapper around __opendirat.
15065 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15066 here without requiring old scandirat implementation.
15067
879165f2
UD
150682011-08-08 Ulrich Drepper <drepper@gmail.com>
15069
15070 * dirent/scandir.c (cancel_handler): Renamed to
15071 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15072 defined. Adjust users.
15073 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15074 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15075
cb7e923b
UD
150762011-08-04 Ulrich Drepper <drepper@gmail.com>
15077
16292edd
UD
15078 * string/test-string.h (IMPL): Use __STRING to expand name and then
15079 stringify it.
15080
cb7e923b
UD
15081 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15082 of cleanups.
15083
cff82933
LD
150842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15085
15086 * string/Makefile: Update.
15087 (strop-tests): Append strncat.
15088 * string/test-wcscmp.c: New file.
15089 New comprehensive test for wcscmp.
15090 * string/test-strcmp.c: Update.
15091 (WIDE): New define.
15092
9be9bfcc
AS
150932011-07-22 Andreas Schwab <schwab@redhat.com>
15094
15095 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15096 line.
15097
2e96f1c7
AS
150982011-07-26 Andreas Schwab <schwab@redhat.com>
15099
15100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15101 encoding to ACE if AI_IDN.
15102
85188888
JJ
151032011-08-01 Jakub Jelinek <jakub@redhat.com>
15104
15105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15106 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15107
5fa16e9b
LD
151082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15109
15110 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15111 Fix overflow bug in strncat.
15112 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15113
15114 * string/test-strncat.c: Update.
15115 Add new tests for checking overflow bugs.
15116
151172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15118
15119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15120 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15121 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15122 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15123 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15124 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15125 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15126 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15127 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15128
15129 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15130 (USE_AS_STRCAT): Define.
15131 Add strcat and strncat support.
15132 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15133
8c1a459f
AS
151342011-07-25 Andreas Schwab <schwab@redhat.com>
15135
15136 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15137 __n bigger than INT_MAX+1.
15138 (__strncmp_g): Likewise.
15139
bba33c28
UD
151402011-07-23 Ulrich Drepper <drepper@gmail.com>
15141
798be72d
UD
15142 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15143 * libio/stido.h: Likewise.
15144
8accd4dc
UD
15145 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15146 (AF_NFC): Define.
15147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15148 (AF_NFC): Define.
15149
cbff0d96
UD
15150 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15151 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15152 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15153 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15155
9191c04a
UD
15156 [BZ #13021]
15157 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15158 installed.
15159
bba33c28
UD
15160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15161 typo.
15162 (_dl_x86_64_save_sse): Likewise.
15163
90f139dd
UD
151642011-07-22 Ulrich Drepper <drepper@gmail.com>
15165
1aae088a
UD
15166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15167 OSXSAVE.
15168 (_dl_x86_64_save_sse): Likewise.
15169
8e2045f5
UD
15170 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15171
90f139dd
UD
15172 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15173
1d002f25
AS
151742011-07-21 Andreas Schwab <schwab@redhat.com>
15175
15176 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15177 change.
15178 (_dl_x86_64_save_sse): Use correct AVX check.
15179
21137f89
UD
151802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15181
15182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15183 bug in strncpy/strncat.
15184 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15185
a65c0b7a
UD
151862011-07-21 Ulrich Drepper <drepper@gmail.com>
15187
15188 * string/tester.c (test_strcat): Add tests for different alignments
15189 of source and destination.
15190 (test_strncat): Likewise.
15191
6986b98a
UD
151922011-07-20 Ulrich Drepper <drepper@gmail.com>
15193
90bb2039
UD
15194 [BZ #12852]
15195 * posix/glob.c (glob): Check passed in values before using them in
15196 expressions to avoid some overflows.
15197 (glob_in_dir): Likewise.
15198
5644ef54
UD
15199 [BZ #13007]
15200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15201 check for AVX enablement so that we don't crash with old kernels and
15202 new hardware.
15203 * elf/tst-audit4.c: Add same checks here.
15204 * elf/tst-audit6.c: Likewise.
15205
15206 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15207
bfc9dc9b
AS
152082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15209
15210 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15211
702e64bb
UD
152122011-07-20 Ulrich Drepper <drepper@gmail.com>
15213
15214 * po/cs.po: Update from translation team.
15215 * po/bg.po: Likewise.
15216
295e904f
MP
152172011-07-12 Marek Polacek <mpolacek@redhat.com>
15218
15219 * misc/sys/cdefs.h: Add support for const attribute.
15220 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15221 to gnu_dev_{major,minor,makedev} functions.
15222
3ff94596
MP
152232011-07-20 Marek Polacek <mpolacek@redhat.com>
15224
15225 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15226
28b59fca
AS
152272011-07-20 Andreas Schwab <schwab@redhat.com>
15228
15229 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15230 strlen results.
15231
19df733e
AK
152322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15233
15234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15235 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15236 register in order to avoid conflicts with the soft frame pointer
15237 being held in r11 when necessary.
15238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15239 (INTERNAL_VSYSCALL_NCS): Likewise.
15240
c8835729
MP
152412011-07-14 Marek Polacek <mpolacek@redhat.com>
15242
15243 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15244 * elf/dl-fini.c (_dl_fini): Adjust caller.
15245 * elf/dl-close.c (_dl_close_worker): Likewise.
15246 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15247
b902330c
MP
152482011-07-15 Marek Polacek <mpolacek@redhat.com>
15249
8991e135
MP
15250 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15251 "aux_cache->nlibs < 0".
15252
b902330c
MP
15253 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15254 in the reload-count case.
15255
99710781
LD
152562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15257
15258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15259 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15260 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15261 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15262 * sysdeps/x86_64/multiarch/strcat.S: New file.
15263 * sysdeps/x86_64/multiarch/strncat.S: New file.
15264 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15265 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15266 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15267 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15268 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15269 (USE_AS_STRCAT): Define.
15270 Add strcat and strncat support.
15271 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15272 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15273 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15274 * string/strncat.c: Update.
15275 (USE_AS_STRNCAT): Define.
15276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15277 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15278 and i7.
15279 * sysdeps/x86_64/multiarch/init-arch.h
15280 (bit_Prefer_PMINUB_for_stringop): New.
15281 (index_Prefer_PMINUB_for_stringop): Likewise.
15282 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15283 bit_Prefer_PMINUB_for_stringop.
15284
7dc6bd90
UD
152852011-07-19 Ulrich Drepper <drepper@gmail.com>
15286
15287 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15288 buffer64.
15289 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15290 of casting of buffer.
15291 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15292 buffer32 and buffer64.
15293 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15294 writes instead of casting of buffer.
15295 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15296 buffer32.
15297 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15298 casting of buffer.
15299
e0e72284
AS
153002011-07-19 Andreas Schwab <schwab@redhat.com>
15301
15302 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15303
feb1eb0b
UD
153042011-07-19 Ulrich Drepper <drepper@gmail.com>
15305
15306 * nscd/nscd.c (termination_handler): Don't do anything for a database
15307 if it has not yet been initialized.
15308
298711ff
UD
153092011-07-18 Ulrich Drepper <drepper@gmail.com>
15310
15311 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15312
153132011-07-15 Marek Polacek <mpolacek@redhat.com>
15314
15315 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15316
f9d68389
UD
153172011-07-18 Ulrich Drepper <drepper@gmail.com>
15318
15319 * po/nl.po: Update from translation team.
15320 * po/sv.po: Likewise.
15321
db290cf5
RM
153222011-07-16 Roland McGrath <roland@hack.frob.com>
15323
15324 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15325 now disallowed by GCC.
5c550700 15326
fd5e21c7
RM
15327 * configure.in (use-default-link): Default to yes if a test -shared
15328 link meets our qualifications.
15329 * configure: Regenerated.
15330
5c550700
RM
15331 * config.make.in (output-format): New variable.
15332 * configure.in: Check for ld --print-output-format support.
15333 * configure: Regenerated.
15334 * Makerules ($(common-objpfx)format.lds)
15335 [$(output-format) != unknown]: Just use $(output-format),
15336 instead of the linker-script munging.
15337
9fa2c032
RM
153382011-07-14 Roland McGrath <roland@hack.frob.com>
15339
a6928d51
RM
15340 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15341 of $(common-objpfx)shlib.lds.
15342 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15343
661607b3
RM
15344 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15345 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15346
9fa2c032
RM
15347 * configure.in (-z relro check): Adjust test code to add a large
15348 writable data section after it.
15349 * configure: Regenerated.
15350
defe9061
RM
153512011-07-11 Roland McGrath <roland@hack.frob.com>
15352
15353 * configure.in (-z relro check): Fix test code to make the variable
15354 truly const.
15355 * configure: Regenerated.
15356
319b9ad4
UD
153572011-07-11 Ulrich Drepper <drepper@gmail.com>
15358
15359 * nscd/nscd.h (struct traced_file): Define.
15360 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15361 elements. Add traced_files.
15362 (inotify_fd): Declare.
15363 (register_traced_file): Declare.
15364 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15365 (inotify_fd): Export.
15366 (resolv_conf_descr): Remove.
15367 (nscd_init): Move inotify descriptor creation to main.
15368 Don't register files for notification here.
15369 (register_traced_file): New function.
15370 (invalidate_cache): Don't use reset_res to determine whether to call
15371 res_init, go through the list of registered files.
15372 (main_loop_poll): The inotify descriptors are now stored in the
15373 structures for the traced files.
15374 (main_loop_epoll): Likewise
15375 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15376 to __nss_disable_nscd.
15377 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15378 for a database anymore. Check the records for all the registered
15379 files instead.
15380 * nss/Makefile (libnss_files-routines): Add files-init.
15381 (libnss_db-routines): Add db-init.
15382 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15383 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15384 * nss/nss_db/db-init.c: New file.
15385 * nss/nss_files/files-init.c: New file.
15386 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15387 __nss_lookup_function.
15388 (__nss_lookup_function): Call nss_load_library.
15389 (nss_load_all_libraries): New function.
15390 (__nss_disable_nscd): Take parameter with callback function for files
15391 to register. Set is_nscd. Load all the DSOs for the NSS modules
15392 used for the cached services.
15393 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15394 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15395 options for features to all the files in nscd.
15396
15397 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15398
23bee3e8
RM
153992011-07-10 Roland McGrath <roland@hack.frob.com>
15400
15401 * csu/elf-init.c (__libc_csu_init): Comment typo.
15402
46a5b7f0
UD
154032011-07-09 Ulrich Drepper <drepper@gmail.com>
15404
15405 * po/pl.po: Update from translation team.
15406 * po/ja.po: Likewise.
15407 * po/ru.po: Likewise.
15408 * po/ko.po: Likewise.
15409 * po/fr.po: Likewise.
15410
d30cf5bb
RM
154112011-07-09 Roland McGrath <roland@hack.frob.com>
15412
113ddea4
RM
15413 * configure.in (.ctors/.dtors header and trailer check):
15414 Use an empirical test on a built program.
15415 * configure: Regenerated.
15416
574920b4
RM
15417 * configure.in (-z relro check): Use an empirical test on a built DSO.
15418 Detect, but do not require, on ia64.
15419 * configure: Regenerated.
15420
d30cf5bb
RM
15421 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15422 Update tests that use readelf to use $READELF instead.
15423 * configure: Regenerated.
15424
8538fdb3
UD
154252011-07-08 Ulrich Drepper <drepper@gmail.com>
15426
15427 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15428 if the result is not used.
15429
04d08991
AJ
154302011-07-05 Andreas Jaeger <aj@suse.de>
15431
15432 [BZ#9696]
15433 * stdlib/tst-strtod.c: Add testcase.
15434
de283087
AD
154352011-07-07 Ulrich Drepper <drepper@gmail.com>
15436
4e5f31c8 15437 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15438 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15439 The latter has a higher limit. Take additional parameter to pass to
15440 the new function.
15441 (__pathconf): Pass file to __statfs_link_max.
15442 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15443 __statfs_link_max.
15444 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15445 __statfs_link_max.
15446
de283087
AD
15447 [BZ #12868]
15448 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15449 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15450 Handle Lustre.
15451 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15452 (__statfs_filesize_max): Likewise.
15453 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15454
c75fa153
AJ
154552011-07-05 Andreas Jaeger <aj@suse.de>
15456
15457 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15458
1a544854
UD
154592011-07-06 Marek Polacek <mpolacek@redhat.com>
15460
15461 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15462 `status' variable.
15463 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15464 Likewise.
15465
6f0eec67
UD
154662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15467
15468 * Makefile (strop-tests): Add strncat.
15469 * string/test-strncat.c: New file.
15470
aae30307
UD
154712011-06-30 Marek Polacek <mpolacek@redhat.com>
15472
15473 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15474
c0cfb5eb
UD
154752011-06-21 Andreas Jaeger <aj@suse.de>
15476
15477 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15478 Copy rule from iconvdata/Makefile.
15479
01636b21
UD
154802011-07-06 Ulrich Drepper <drepper@gmail.com>
15481
15482 [BZ #12922]
15483 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15484 but no long options are defined, just return 'W'.
15485
9895c8bc
UD
154862011-06-22 Marek Polacek <mpolacek@redhat.com>
15487
15488 [BZ #9696]
15489 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15490
5d4cf042
UD
154912011-07-06 Ulrich Drepper <drepper@gmail.com>
15492
15493 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15494 netgroups to read.
960e5535 15495 (innetgr): Likewise.
5d4cf042 15496
751eb97e
RM
154972011-07-05 Roland McGrath <roland@hack.frob.com>
15498
15499 * config.make.in (install_root): Default to $(DESTDIR).
15500
f15f1e45
UD
155012011-07-05 Ulrich Drepper <drepper@gmail.com>
15502
15503 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15504
4e34ac6a
RM
155052011-07-02 Roland McGrath <roland@hack.frob.com>
15506
5e9b6af4
RM
15507 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15508
84f9ea0f
RM
15509 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15510 containing directory rather than embedding absolute directory names.
15511
ea5ee9f7
RM
15512 * scripts/check-local-headers.sh: Rewritten using awk.
15513 Match by word, not by line. Print error messages for matches.
15514 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15515
1b74661a
RM
15516 * Makerules [shlib-lds-flags empty]:
15517 ($(common-objpfx)libc_pic.opts): New target.
15518 ($(common-objpfx)libc_pic.os.clean): New target.
15519 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15520
15521 * config.make.in (OBJCOPY): New variable.
15522 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15523 * configure: Regenerated.
15524
f781ef40
RM
15525 * config.make.in (use-default-link): New variable.
15526 * configure.in (use_default_link): Grok --with-default-link to set it.
15527 * configure: Regenerated.
15528 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15529 (shlib-lds, shlib-lds-flags): Define to empty.
15530
2d4fa81e
RM
15531 * Makerules (shlib-lds): New variable.
15532 (shlib-lds-flags): New variable.
15533 (build-shlib, build-moduile, build-module-asneeded): Use it.
15534 ($(common-objpfx)libc.so): Use $(shlib-lds).
15535 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15536 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15537
31fffa6b
RM
15538 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15539 DT_FLAGS/DT_FLAGS_1 with zero flags.
15540
4e34ac6a
RM
15541 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15542 linker script munging.
15543
fcfc776b
UD
155442011-07-02 Ulrich Drepper <drepper@gmail.com>
15545
15546 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15547 as 128-bit value.
15548 * crypt/sha512.c (sha512_process_block): Perform total addition using
15549 128-bit if possible.
15550 (__sha512_finish_ctx): Likewise.
15551 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15552 as 64-bit value.
15553 * crypt/sha256.c (SWAP64): Define.
15554 (sha256_process_block): Perform total addition using 64-bit if
15555 possible.
15556 (__sha256_finish_ctx): Likewise.
15557
99231d9a
UD
155582011-07-01 Ulrich Drepper <drepper@gmail.com>
15559
15560 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15561 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15562 * nscd/hstcache.c (cache_addhst): Likewise.
15563 * nscd/grpcache.c (cache_addgr): Likewise.
15564 * nscd/aicache.c (addhstaiX): Likewise
15565 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15566
445b4a53
TK
155672011-07-01 Thorsten Kukuk <kukuk@suse.de>
15568
15569 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15570 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15571 * nscd/hstcache.c (cache_addhst): Likewise.
15572 * nscd/grpcache.c (cache_addgr): Likewise.
15573 * nscd/aicache.c (addhstaiX): Likewise
15574
6d4d8e8e
AS
155752011-07-01 Andreas Schwab <schwab@redhat.com>
15576
15577 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15578 domain only when needed.
15579
89f654c5
AS
155802011-06-30 Andreas Schwab <schwab@redhat.com>
15581
15582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15583 is always restored.
15584
cf3b23ff
UD
155852011-06-29 Ulrich Drepper <drepper@gmail.com>
15586
15587 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15588 are re-adding the entry.
15589 * nscd/servicescache.c (cache_addserv): Likewise.
15590
751626f9
AJ
155912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15592
15593 * sysdeps/generic/dl-irel.h: fix protection against multiple
15594 inclusions.
15595 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15596
9113ea1f
UD
155972011-06-28 Ulrich Drepper <drepper@gmail.com>
15598
5c0b8d90
UD
15599 [BZ #12935]
15600 * malloc/memusage.sh: Fix quoting in message.
15601 * debug/xtrace.sh: Likewise.
15602
9113ea1f
UD
15603 * configure.in: Remove support for --experimental-malloc option, make
15604 it the default.
15605 * config.make.in: Likewise.
15606 * malloc/Makefile: Likewise.
15607
a4172181
AS
156082011-06-27 Andreas Schwab <schwab@redhat.com>
15609
15610 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15611 two-byte characters.
15612
78a7eee7
RM
156132011-06-27 Roland McGrath <roland@hack.frob.com>
15614
62bede13
RM
15615 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15616 AC_CACHE_CHECK invocation.
15617 * configure: Regenerated.
15618
78a7eee7
RM
15619 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15620
5ce33a62
UD
156212011-06-27 Ulrich Drepper <drepper@gmail.com>
15622
034807a9
UD
15623 [BZ #12350]
15624 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15625 bit from old_res_options.
15626
4902da17
UD
15627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15628
5ce33a62
UD
15629 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15630 value type for setfct.
15631
c2344f56
L
156322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15633
15634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15635 __gettimeofday instead of gettimeofday.
15636
68468076
UD
156372011-06-26 Ulrich Drepper <drepper@gmail.com>
15638
15639 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15640
acb0d739
L
156412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15642
15643 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15644
15645 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15646 info.
15647
8912479f
L
156482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15649
15650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15651 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15652 strcpy-sse2-unaligned strncpy-sse2-unaligned
15653 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15654 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15655 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15656 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15657 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15658 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15659 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15660 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15661 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15662 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15663 (STRCPY): Support SSE2 and SSSE3 versions.
15664
d5495a11
UD
156652011-06-24 Ulrich Drepper <drepper@gmail.com>
15666
15667 [BZ #12874]
15668 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15669 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15670 kernels which artificially limit size of requests.
15671
0b1cbaae
L
156722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15673
15674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15675 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15676 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15677 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15678 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15679 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15680 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15681 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15684 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15685 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15686 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15687 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15688 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15690 Enable unaligned load optimization for Intel Core i3, i5 and i7
15691 processors.
15692 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15693 Define.
15694 (index_Fast_Unaligned_Load): Define.
15695 (HAS_FAST_UNALIGNED_LOAD): Define.
15696
07f494a0
MP
156972011-06-23 Marek Polacek <mpolacek@redhat.com>
15698
15699 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15700
fa3fc0fe
UD
157012011-06-22 Ulrich Drepper <drepper@gmail.com>
15702
15703 [BZ #12907]
15704 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15705 until it is clear that the information is realy needed.
15706 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15707
e12df166
AS
157082011-06-22 Andreas Schwab <schwab@redhat.com>
15709
15710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15711
852eb34d
UD
157122011-06-22 Ulrich Drepper <drepper@gmail.com>
15713
84e2a551
UD
15714 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15715 /sys/devices/system/cpu/online if it is usable.
15716
852eb34d
UD
15717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15718 reading the information from the /proc filesystem to once a second.
15719
6e502e19
UD
157202011-06-21 Andreas Jaeger <aj@suse.de>
15721
15722 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15723 NULL after inclusion of kernel headers.
15724
75d39ff2
UD
157252011-06-21 Ulrich Drepper <drepper@gmail.com>
15726
51f9aa6a
UD
15727 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15728 calls to internal_setent.
15729
c0244a9d
UD
15730 [BZ #12885]
15731 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15732 addresses using gethostbyname4_r ignore IPv4 addresses.
15733
c5e3c2ae
UD
15734 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15735 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15736
75d39ff2
UD
15737 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15738
42675c6f
DM
157392011-06-20 David S. Miller <davem@davemloft.net>
15740
15741 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15742 inclusions.
15743 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15744
15745 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15746 (elf_irel): Use it.
15747 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15748 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15749 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15750 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15751 * sysdeps/x86_64/dl-irel.h: Likewise.
15752
15753 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15754 * elf/dl-sym.c: Likewise.
15755
57912a71
UD
157562011-06-15 Ulrich Drepper <drepper@gmail.com>
15757
15758 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15759 need to dereference resplen2.
15760
ee22793d
AS
157612011-06-14 Andreas Schwab <schwab@redhat.com>
15762
15763 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15764
a9e836b0
UD
157652011-06-15 Ulrich Drepper <drepper@gmail.com>
15766
77fb9117
UD
15767 * Makeconfig: Define vardbdir and inst_vardbdir.
15768 * nss/Makefile: Add rules to install db-Makefile.
15769
40c1b22c
UD
15770 * nss/nss_db/db-XXX.c: Cleanup.
15771
9f2da732
UD
15772 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15773 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15774 GLIBC_PRIVATE.
15775 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15776 * nss/makedb.c: Implement -g option to specify that value strings
15777 are generated and should not be added to table iterated over for
15778 get*ent calls.
15779 * nss/nss_db/db-initgroups.c: New file.
15780
82e9a1f7
UD
15781 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15782 interface.
15783
c41af17e
UD
15784 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15785 (internal_getgrouplist): Adjust to name change.
15786 Update use_initgroups_entry if this is not the first call.
15787 * nss/databases.def: Add initgroups entry.
15788
a9e836b0
UD
15789 * nss/makedb.c (compute_tables): Check result of multiple hash table
15790 sizes to minimize maximum chain length.
15791
2666d441
UD
157922011-06-14 Ulrich Drepper <drepper@gmail.com>
15793
15794 * Versions.def: Add entry for libnss_db.
15795 * shlib-versions: Likewise.
15796 * nss/Makefile: Add rules to build libnss_db.
15797 * nss/Versions: Add libnss_db information. Organize libnss_files
15798 entries better.
15799 * nss/db-Makefile: Add gshadow support. Change rules for the new
15800 makedb progra. Some minor improvements to generate smaller files.
15801 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15802 here from...
15803 * nss/makedb.c: ...here.
15804 Improve database format to be smaller and require less memory at
15805 runtime.
15806 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15807 db anymore.
15808 * nss/nss_db/db-netgrp.c: Likewise.
15809 * nss/nss_db/db-open.c: Likewise.
15810 * nss/nss_files/flies-XXX.x: Adjust comments.
15811 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15812 * nss/nss_files/files-grp.c: Likewise.
15813 * nss/nss_files/files-hosts.c: Likewise.
15814 * nss/nss_files/files-network.c: Likewise.
15815 * nss/nss_files/files-proto.c: Likewise.
15816 * nss/nss_files/files-pwd.c: Likewise.
15817 * nss/nss_files/files-rpc.c: Likewise.
15818 * nss/nss_files/files-service.c: Likewise.
15819 * nss/nss_files/files-sgrp.c: Likewise.
15820 * nss/nss_files/files-spwd.c: Likewise.
15821 * nss/nss_db/db-alias.c: Removed.
15822 * nss/nss_db/dummy-db.h: Removed.
15823
9ee76b5a
UD
158242011-06-02 Ulrich Drepper <drepper@gmail.com>
15825
15826 * nss/makedb.c: Rewritten to not use database library.
15827 * nss/Makefile: Update to build new makedb program.
15828
c71ca1f8
AJ
158292011-06-14 Andreas Jaeger <aj@suse.de>
15830
15831 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15832 memset declaration.
15833
3154bfb8
UD
158342011-06-10 Andreas Schwab <schwab@redhat.com>
15835
15836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15837 tmpbuf.
15838
b350afab
RM
158392011-06-10 Roland McGrath <roland@hack.frob.com>
15840
decd4e50
RM
15841 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15842 * elf/Makefile ($(objpfx)ld.so): Likewise.
15843
5615eaf2
RM
15844 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15845 Don't list ld.so twice in dependencies.
15846
15847 * posix/bug-regex31.c: Include <stdlib.h>.
15848
15849 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15850
15851 * nis/nss_compat/compat-spwd.c
15852 (getspent_next_nss_netgr): Remove unused variable.
15853 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15854
15855 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15856 nonmembers" output to use the right array.
15857
15858 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15859
15860 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15861
15862 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15863 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15864 * catgets/gencat.c (read_input_file): Likewise.
15865 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15866
15867 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15868 variable definition inside #if's controlling its use.
15869
15870 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15871
15872 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15873
15874 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15875
15876 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15877 unreachable code.
15878
15879 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15880
b68e08db
RM
15881 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15882 * configure: Regenerated.
15883
b350afab
RM
15884 * Makerules: Revert last change.
15885 * elf/Makefile: Likewise.
15886
28368601
RM
158872011-06-09 Roland McGrath <roland@hack.frob.com>
15888
15889 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15890 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15891 (reloc-link): Likewise.
15892
11988f8f
UD
158932011-06-09 Ulrich Drepper <drepper@gmail.com>
15894
15895 * elf/Makefile: Add rules to build pldd.
15896 * elf/pldd.c: New file.
15897 * elf/pldd-xx.c: New file.
15898
e80fab37
UD
158992011-06-07 Ulrich Drepper <drepper@gmail.com>
15900
15901 * version.h: Update for 2.15 development version.
15902
9b849836
DM
159032011-06-07 David S. Miller <davem@davemloft.net>
15904
15905 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15906 ifuncs.
15907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15908 elf_machine_lazy_rel): Likewise.
15909 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15910 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15911 elf_machine_lazy_rel): Likewise.
15912 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15913 dl_hwcap via passed in argument.
15914 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15915 Likewise.
15916
5a31b283
AK
159172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15918
15919 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15920
069e52f8
RM
159212011-06-06 Roland McGrath <roland@hack.frob.com>
15922
15923 [BZ #12849]
15924 * manual/fdl-1.1.texi: New file, verbatim from:
15925 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15926 * manual/lgpl-2.1.texi: New file, verbatim from:
15927 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15928 * manual/Makefile (licenses): New variable, list those new file names.
15929 (texis): Use it.
15930 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15931
15932 * manual/fdl.texi: File removed.
15933 * manual/lesser.texi: File removed.
15934 * manual/libc.texinfo (Copying, Documentation License):
15935 Use new @include file names, put @appendix directive before @include.
15936
f16846a5
JJ
159372011-06-04 Jakub Jelinek <jakub@redhat.com>
15938
15939 [BZ #12841]
15940 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15941 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15942 (mq_open): Add __NTH.
15943
3d29045b
L
159442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15945
15946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15947 Assume Intel Core i3/i5/i7 processor if AVX is available.
15948
8c297311
UD
159492011-05-31 Ulrich Drepper <drepper@gmail.com>
15950
15951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15952 typo.
15953
c8fc0c91
UD
159542011-05-31 Andreas Schwab <schwab@redhat.com>
15955
15956 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15957 memory. Use alloca_account. Fix memory leak when retrying.
15958
5b27a807
UD
159592011-05-31 Ulrich Drepper <drepper@gmail.com>
15960
356f8bc6
UD
15961 * version.h (RELEASE): Bump for 2.14 release.
15962 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15963
5b27a807
UD
15964 * config.make.in (RANLIB): Remove entry.
15965
01f16ab0
UD
159662011-05-30 Ulrich Drepper <drepper@gmail.com>
15967
41fce8bd
UD
15968 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15969 (libc.pot): Work around missing support for .ksh extension in xgettext.
15970
4769ae77
UD
15971 [BZ #12684]
15972 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15973 if both request failed.
15974 (send_dg): In case of server errors clear resplen or *resplen2.
15975
6b1e7d19
UD
15976 [BZ #12454]
15977 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15978 when there are multiple maps.
15979 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15980 (_dl_fini): Remove test here.
15981
01f16ab0
UD
15982 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15983
b1ebd700
UD
159842011-05-29 Ulrich Drepper <drepper@gmail.com>
15985
7ae22829
UD
15986 [BZ #12350]
15987 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15988 bit from old_res_options.
15989 (gaih_inet): Likewise.
15990
553149f6 15991 [BZ #11099]
18a84741 15992 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15993 as signed.
15994
652ffab1
UD
15995 * resolv/res_init.c (res_setoptions): Make the code more compact.
15996
16985fd0
UD
15997 [BZ #11558]
15998 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15999 set RES_USEVC.
16000
0464f746
UD
16001 [BZ #11634]
16002 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16003
7d17596c
UD
16004 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16005
cf6bbbd7
UD
16006 [BZ #11781]
16007 * malloc/malloc.h: Declare malloc hook variables as volatile.
16008
13f1ab36
UD
16009 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16010 in last patch.
16011
b1ebd700
UD
16012 [BZ #11799]
16013 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16014 raise in the comment.
80e2212d
UD
16015 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16016 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16017 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16018
ce67228d
UD
160192011-05-28 Ulrich Drepper <drepper@gmail.com>
16020
8887a920
UD
16021 [BZ #12811]
16022 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16023 grow the buffers more if it already has to be sufficient.
16024 (build_wcs_upper_buffer): Likewise.
16025 * posix/regexec.c (check_matching): Likewise.
16026 (clean_state_log_if_needed): Likewise.
16027 (extend_buffers): Don't enlarge buffers beyond size of the input
16028 buffer.
16029 Patches mostly by Emil Wojak <emil@wojak.eu>.
16030 * posix/bug-regex32.c: New file.
16031 * posix/Makefile (tests): Add bug-regex32.
16032
4f031072
UD
16033 * locale/findlocale.c (_nl_find_locale): Return right away if
16034 _nl_explode_name failed.
16035 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16036
d0478f0c
UD
16037 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16038
de81b246
UD
16039 * debug/xtrace.sh: Unify messages.
16040 * malloc/memusage.sh: Likewise.
16041
c738465a
UD
16042 [BZ #12813]
16043 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16044 time symbol from vDSO. Substitute with vsyscall if not available.
16045 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16046 __vdso_time.
16047
f1f929d7
UD
16048 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16049 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16050 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16051 Add sendmmsg and internal_sendmmsg.
16052 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16053 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16054 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16055
ce67228d
UD
16056 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16057 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16058 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16059
e57420c6
UD
160602011-05-27 Ulrich Drepper <drepper@gmail.com>
16061
a8509ca5
UD
16062 [BZ #12813]
16063 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16064 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16065 available.
16066 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16067 __vdso_getcpu.
16068
e57420c6
UD
16069 [BZ #12814]
16070 * iconvdata/Makefile (tests): Add bug-iconv9.
16071 * iconvdata/bug-iconv9.c: New file.
16072
4d07db15
AS
160732011-05-27 Andreas Schwab <schwab@redhat.com>
16074
16075 [BZ #12814]
16076 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16077
ea486f69
JJ
160782011-05-25 Jakub Jelinek <jakub@redhat.com>
16079
16080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16081 (struct user_regs_struct): Change intcs field back to cs.
16082
6f038433
UD
160832011-05-25 Ulrich Drepper <drepper@gmail.com>
16084
16085 * po/ja.po: Update from translation team.
16086
67f86a25
UD
160872011-05-23 Ulrich Drepper <drepper@gmail.com>
16088
16089 [BZ #12795]
16090 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16091 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16092
def7fbd6
AS
160932011-05-20 Andreas Schwab <schwab@redhat.com>
16094
16095 * stdlib/longlong.h: Update from GCC.
16096
f50ef8f1
AS
160972011-05-23 Andreas Schwab <schwab@redhat.com>
16098
16099 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16100 parameter name.
16101 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16102 Add parameter name.
16103 (__sysconf): Pass it down.
16104
de7ce8f1
UD
161052011-05-22 Ulrich Drepper <drepper@gmail.com>
16106
f2962a71
UD
16107 [BZ #12671]
16108 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16109 some situations.
16110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16111 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16112 add in in __libc_use_alloca calls. Adjust callers.
16113 (glob): Use malloc in some situations.
16114
de7ce8f1
UD
16115 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16116 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16117 pltexit.
16118
aec84f53
UD
161192011-05-21 Ulrich Drepper <drepper@gmail.com>
16120
05bb4a68
UD
16121 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16122 and CLOCK_BOOTTIME_ALARM.
16123
7ea72f99
UD
16124 [BZ #12782]
16125 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16126 is returned.
16127
7e4afad5
UD
16128 * string/_strerror.c (__strerror_r): Print negative errors as signed
16129 numbers.
16130
8e211fec
UD
16131 [BZ #12777]
16132 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16133 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16134 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16135
f7d82dc9
UD
16136 * configure.in: Fix typo in redirection and correct removal of test
16137 files in two cases.
16138
cc9e536d
UD
16139 [BZ #12788]
16140 * locale/setlocale.c (new_composite_name): Fix test to check for
16141 identical name of all categories.
16142
aec84f53
UD
16143 [BZ #12792]
16144 * libio/filedoalloc.c (local_isatty): New function.
16145 (_IO_file_doallocate): Use local_isatty.
16146 * stdio-common/perror.c (perror): In case a new stream is used
16147 forward the stream error.
16148 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16149 error flag.
16150
78e64fdc
RT
161512011-05-20 Ulrich Drepper <drepper@gmail.com>
16152
34a9094f
UD
16153 [BZ #11869]
16154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16155 alloca.
16156 * include/alloca.h (extend_alloca_account): Define.
16157
78e64fdc
RT
16158 [BZ #11857]
16159 * posix/regex.h: Fix comments with documentation of user-accessible
16160 fields after compilation and describe correct free'ing of pattern
16161 after re_compile_pattern.
16162 Patch by Reuben Thomas <rrt@sc3d.org>.
16163
457bddfc
RA
161642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16165
16166 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16167 and -mno-altivec to prevent the compiler from using Altivec and/or
16168 VSX instructions when the corresponding registers are not available.
16169
a4527b51
AS
161702011-05-19 Andreas Schwab <schwab@redhat.com>
16171
16172 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16173
ed690b2f
UD
161742011-05-19 Ulrich Drepper <drepper@gmail.com>
16175
16176 * libio/freopen.c (freopen): Use __dup2, not dup2.
16177 * libio/freopen64.c (freopen64): Likewise.
16178
8db73634
L
161792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16180
16181 [BZ #12775]
16182 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16183 * math/Makefile (tests): Add test-powl.
16184 (CFLAGS-test-powl.c): Define.
16185 * math/test-powl.c: New file.
16186
0a197a9d
L
161872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16188
16189 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16190
ee30c380
UD
161912011-05-17 Ulrich Drepper <drepper@gmail.com>
16192
16193 [BZ #11837]
16194 * iconvdata/gb18030.c: Update to GB18020-2005.
16195
6ce75379
UD
161962011-05-16 Ulrich Drepper <drepper@gmail.com>
16197
a4b89fd8
AR
16198 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16199 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16200 Patch by Aharon Robbins <arnold@skeeve.com>.
16201
ea389b12
UD
16202 [BZ #11892]
16203 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16204 on the stack.
16205
68a3f91f
UD
16206 [BZ #11895]
16207 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16208 through underflows.
16209
15cc7dd1
UD
16210 [BZ #12766]
16211 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16212 point to strings before performing equality test for error_one_per_line
16213 mode.
16214
f3799213
UD
16215 [BZ #11697]
16216 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16217
d79a9c94
UD
16218 [BZ #11820]
16219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16220 (struct user_fpregs_struct): Avoid __uint*_t types.
16221
56e5eb46
UD
16222 [BZ #6420]
16223 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16224 symbol info. Use it instead of calling _dl_addr locally.
16225 (lock_and_info): New function.
16226 (tr_freehook): Call lock_and_info and pass symbol info as additional
16227 parameter to tr_where.
16228 (tr_mallochook): Likewise.
16229 (tr_reallochook): Likewise.
16230 (tr_memalignhook): Likewise.
16231
6ce75379
UD
16232 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16233 used and couldn't be at all thread-safe.
16234
f8a3b5bf
UD
162352011-05-15 Ulrich Drepper <drepper@gmail.com>
16236
94b7cc37
UD
16237 * libio/freopen.c (freopen): Don't close old file descriptor
16238 before the new one is opened. Instead dup the new file descriptor
16239 to the old one after the new stream is created.
16240 * libio/freopen64.c (freopen64): Likewise.
16241 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16242 * libio/fileops.c (_IO_new_file_close_it): Handle new
16243 _IO_FLAGS2_NOCLOSE flag.
16244 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16245 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16246 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16247 _IO_FLAGS2_NOCLOSE flag.
16248 * include/unistd.h: Add hidden_proto for dup3.
16249 Define __have_dup3.
16250 * io/dup3.c: Define hidden symbol.
16251 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16252
bd25564e
UD
16253 [BZ #7101]
16254 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16255 when an incomplete long option is used.
16256 * posix/tst-getopt_long1.c: New file.
16257 * posix/Makefile (tests): Add tst-getopt_long1.
16258
c84cfef4
UD
16259 [BZ #10138]
16260 * scripts/config.guess: Update from autoconf-2.68.
16261 * scripts/config.sub: Likewise.
16262
3b85df27
UD
16263 [BZ #10157]
16264 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16265 tests into ...
16266 (has_cpuclock): ...this. New function.
16267 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16268 macro here based on has_cpuclock code.
16269
15a856b1
UD
16270 [BZ #10149]
16271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16272 First byte (not low byte) is now always NUL.
16273 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16274
05f399e6
UD
16275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16276 Use non-cancelable interfaces.
16277
10a52685 16278 [BZ #9809]
94ecc67d
UD
16279 * locale/iso-639.def: Add entry for Sorani.
16280
f8a3b5bf
UD
16281 [BZ #11901]
16282 * include/stdlib.h: Move include protection to the right place.
16283 Define abort_msg_s. Declare __abort_msg with it.
16284 * stdlib/abort.c (__abort_msg): Adjust type.
16285 * assert/assert.c (__assert_fail_base): New function. Majority
16286 of code from __assert_fail. Allocate memory for __abort_msg with
16287 mmap.
16288 (__assert_fail): Now call __assert_fail_base.
16289 * assert/assert-perr.c: Remove bulk of implementation. Use
16290 __assert_fail_base.
16291 * include/assert.hL Declare __assert_fail_base.
16292 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16293 mmap.
16294 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16295
1af4e298
UD
162962011-05-14 Ulrich Drepper <drepper@gmail.com>
16297
f8a3b5bf 16298 [BZ #11952]
d26dfc60
MG
16299 [BZ #12453]
16300 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16301 until all modules are registered in the DTV.
16302 * elf/Makefile: Add rules to build and run tst-tls19.
16303 * elf/tst-tls19.c: New file.
16304 * elf/tst-tls19mod1.c: New file.
16305 * elf/tst-tls19mod2.c: New file.
16306 * elf/tst-tls19mod3.c: New file.
16307 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16308
2fc54d6f
UD
16309 [BZ #12083]
16310 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16311 correctly.
16312
98d76b46
UD
16313 [BZ #12601]
16314 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16315 two-byte sequence errors.
16316 * iconvdata/Makefile (tests): Add bug-iconv8.
16317 * iconvdata/bug-iconv8.c: New file.
16318
da3c19ef
UD
16319 [BZ #12626]
16320 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16321 buf2 definition.
16322
ca408c15
UD
16323 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16324
d6f67f7d
UD
16325 [BZ #12432]
16326 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16327 (dummy_getcfa): New function.
16328 (init): Get _Unwind_GetCFA address, use dummy if not found.
16329 (backtrace_helper): In recursion check, also check whether CFA changes.
16330 (__backtrace): Completely initialize arg.
16331
1af4e298 16332 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16333 storing incomplete byte sequence in state object. Avoid testing for
16334 guaranteed too small input if we know there is enough data available.
1af4e298 16335
da62f81b
AS
163362011-05-11 Andreas Schwab <schwab@redhat.com>
16337
16338 * Makeconfig (+link-pie): Indent.
16339 * Rules (binaries-pie): Define if $(have-fpie) and
16340 $(build-shared).
16341 (binaries-shared): Also filter out $(binaries-pie).
16342 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16343 * nscd/Makefile (others-pie): Add nscd.
16344 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16345 ($(objpfx)nscd): Remove command override.
16346 * login/Makefile (others-pie): Add pt_chown.
16347 ($(objpfx)pt_chown): Remove command override.
16348 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16349 remove command overrides.
16350
fcabc0f8
UD
163512011-05-13 Ulrich Drepper <drepper@gmail.com>
16352
20030ae6
UD
16353 * libio/tst_putwc.c: Fix error messages.
16354
fcabc0f8
UD
16355 [BZ #12724]
16356 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16357 currently writing and seek to current position when not.
16358 * libio/Makefile (tests): Add bug-fclose1.
16359 * libio/bug-fclose1.c: New file.
16360
320a5dc0
PB
163612011-05-12 Ulrich Drepper <drepper@gmail.com>
16362
16363 [BZ #12511]
16364 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16365 don't set DF_1_NODELETE here.
16366 (do_lookup_x): When entering new entry test for copy relocation
16367 and if necessary set DF_1_NODELETE flag.
16368 * elf/tst-unique4.cc: New file.
16369 * elf/tst-unique4.h: New file.
16370 * elf/tst-unique4lib.cc: New file.
16371 * elf/Makefile: Add rules to build and run tst-unique4.
16372 Patch by Piotr Bury <pbury@goahead.com>.
16373
22836f52
UD
163742011-05-11 Ulrich Drepper <drepper@gmail.com>
16375
f574184a
UD
16376 [BZ #12052]
16377 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16378
e1fb097f
UD
16379 [BZ #12625]
16380 * misc/mntent_r.c (addmntent): Flush the stream after the output
16381
22836f52
UD
16382 [BZ #12393]
16383 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16384 (is_trusted_path_normalize): Skip initial colon. Append slash
16385 to empty buffer. Duplicate is_trusted_path code but allow
16386 constructed patch to be prefix.
16387 (is_dst): Allow $ORIGIN followed by /.
16388 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16389 Correct testing of result of is_trusted_path_normalize
16390 (decompose_rpath): Fix warning.
16391
7b3b0b2a
UD
163922011-05-10 Ulrich Drepper <drepper@gmail.com>
16393
16394 [BZ #11257]
16395 * grp/initgroups.c (internal_getgrouplist): When we found the service
16396 list through the initgroups entry in nsswitch.conf do not always
16397 continue on a successful lookup. Don't always use the
eac80ce2 16398 __nss_group_database value if it is set.
7b3b0b2a
UD
16399 * nss/nsswitch.conf (initgroups): Change action for successful db
16400 lookup to continue for compatibility.
16401
2a81eaa5
UD
164022011-05-09 Ulrich Drepper <drepper@gmail.com>
16403
be97a69e
UD
16404 [BZ #11532]
16405 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16406 and CP774 modules.
16407 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16408 and CP774 modules.
16409 * iconvdata/tst-tables.sh: Likewise.
16410 * iconvdata/cp770.c: New file.
16411 * iconvdata/cp771.c: New file.
16412 * iconvdata/cp772.c: New file.
16413 * iconvdata/cp773.c: New file.
16414 * iconvdata/cp774.c: New file.
16415 * iconvdata/testdata/CP770: New file.
16416 * iconvdata/testdata/CP770..UTF8: New file.
16417 * iconvdata/testdata/CP771: New file.
16418 * iconvdata/testdata/CP771..UTF8: New file.
16419 * iconvdata/testdata/CP772: New file.
16420 * iconvdata/testdata/CP772..UTF8: New file.
16421 * iconvdata/testdata/CP773: New file.
16422 * iconvdata/testdata/CP773..UTF8: New file.
16423 * iconvdata/testdata/CP774: New file.
16424 * iconvdata/testdata/CP774..UTF8: New file.
16425
16426 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16427 END CHARMAP line.
16428 * iconvdata/gen-8bit-gap.sh: Likewise.
16429 * iconvdata/gen-8bit.sh: Likewise.
16430
c1e9e399
UD
16431 * locale/iso-639.def: Add ary entry.
16432
24c55fb3 16433 [BZ #11258]
96b4b1b0
UD
16434 * locale/C-translit.h.in: Add U20A1 transliteration.
16435
bdc2f971
KB
16436 [BZ #12178]
16437 * locale/iso-639.def: Add wae entry.
16438 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16439
2952b117
UD
16440 [BZ #12545]
16441 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16442 for n.
16443
2a81eaa5
UD
16444 [BZ #12711]
16445 * locale/C-translit.h.in: Add entry for U20B9.
16446 Patch by pravin.d.s@gmail.com.
16447
28377d1b
UD
164482011-05-08 Ulrich Drepper <drepper@gmail.com>
16449
7fb90fb8
UD
16450 [BZ #12713]
16451 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16452 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16453 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16454 in rtld. Use *stat64.
7fb90fb8 16455 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16456 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16457 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16458 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16459 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16460 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16461 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16462 __fstatat64 macros.
7fb90fb8
UD
16463 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16464 * dirent/rewinddir.c: Add libc_hidden_def.
16465 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16466 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16467
28377d1b
UD
16468 * include/dirent.h (__alloc_dir): Add flags parameter.
16469 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16470 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16471 __alloc_dir.
16472 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16473 from fdopendir if O_CLOEXEC is already set.
16474
66bdbaa4
AM
164752011-03-15 Alan Modra <amodra@gmail.com>
16476
16477 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16478 l_tls_firstbyte_offset non-zero. Save padding offset in
16479 l_tls_firstbyte_offset for later use.
16480 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16481 freeing static tls block.
16482
95721191
JN
164832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16484
16485 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16486 where #ifdef was intended. The intent is to prevent ARG_MAX from
16487 being defined by the kernel headers.
16488
f87dfb1f
UD
164892011-05-07 Ulrich Drepper <drepper@gmail.com>
16490
16491 [BZ #12734]
16492 * resolv/resolv.h: Define RES_NOTLDQUERY.
16493 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16494 no-tld-query and set RES_NOTLDQUERY.
16495 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16496 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16497 modern BIND to search name as TLD unless forbidden.
16498
47c3cd7a
UD
164992011-05-07 Petr Baudis <pasky@suse.cz>
16500 Ulrich Drepper <drepper@gmail.com>
16501
16502 [BZ #12393]
16503 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16504 (is_trusted_path): ...to here.
c1e9ea35 16505 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16506 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16507 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16508
8a35c912
PP
165092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16510
16511 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16512 __BEGIN/__END_DECLS.
16513
acd41f47
UD
165142011-05-06 Ulrich Drepper <drepper@gmail.com>
16515
16516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16517 NSS_STATUS_NOTFOUND if no record was found.
16518
597df647
AS
165192011-05-05 Andreas Schwab <schwab@redhat.com>
16520
16521 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16522 (headers-not-in-tirpc): Remove rpc/netdb.h
16523 * resolv/netdb.h: Revert last change.
16524
b9af1301
PP
165252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16526
16527 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16528 circular dependency between libgcc.a and libc.a.
16529
4e34d5f5
AS
165302011-05-05 Andreas Schwab <schwab@redhat.com>
16531
16532 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16533 * nis/Makefile: Don't install rpcsvc/*.
16534 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16535 instead of <rpc/types.h>.
16536 (MAXHOSTNAMELEN): Define.
16537
00ee369c
AS
165382011-05-03 Andreas Schwab <schwab@redhat.com>
16539
16540 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16541
0b592a30
MB
165422011-04-28 Maciej Babinski <mbabinski@google.com>
16543
16544 [BZ #12714]
16545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16546 gethostbyname4_r when IPv6 results are possible.
16547
6e04cbbe
UD
165482011-05-02 Ulrich Drepper <drepper@gmail.com>
16549
16550 [BZ #12723]
16551 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16552 _PC_PIPE_BUF handling.
16553
e4ecafe0
BH
165542011-04-30 Bruno Haible <bruno@clisp.org>
16555
16556 [BZ #12717]
16557 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16558 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16559 to 'int'.
16560 * inet/getnameinfo.c (getnameinfo): Likewise.
16561
125ee683
UD
165622011-04-29 Ulrich Drepper <drepper@gmail.com>
16563
16564 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16565 to groups setting in database lookup.
16566 * nss/nsswitch.conf: Add initgroups entry.
16567
b722481a
EB
165682011-04-22 Ulrich Drepper <drepper@gmail.com>
16569
16570 [BZ #12685]
16571 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16572 mode string.
16573 Patch by Eric Blake <eblake@redhat.com>.
16574
4df46dbd
L
165752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16576
16577 * sunrpc/Makefile (need-export-routines): Add svc_run.
16578 (routines): Remove svc_run.
16579 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16580 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16581 * sunrpc/svc_run.c (svc_run): Likewise.
16582 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16583
e84142d2
UD
165842011-04-21 Ulrich Drepper <drepper@gmail.com>
16585
16586 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16587 problem in reallocation in last patch.
16588
877175d8
UD
165892011-04-20 Ulrich Drepper <drepper@gmail.com>
16590
16591 * sunrpc/Makefile: Move inclusion of Rules.
16592
ab8eed78
UD
165932011-04-19 Ulrich Drepper <drepper@gmail.com>
16594
16595 * nss/nss_files/files-initgroups.c: New file.
16596 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16597 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16598 _nss_files_initgroups_dyn.
16599
e3d8f584
RS
166002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16601
16602 * elf/elf.h (R_ARM_IRELATIVE): Define.
16603
af190f45
UD
166042011-04-19 Ulrich Drepper <drepper@gmail.com>
16605
16606 * po/ru.po: Update from translation team.
16607
53cf59ef
UD
166082011-04-17 Ulrich Drepper <drepper@gmail.com>
16609
16610 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16611 dependencies.
16612
4c559bcd
MF
166132011-02-06 Mike Frysinger <vapier@gentoo.org>
16614
16615 [BZ #12653]
16616 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16617 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16618 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16619 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16620 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16621
4420675c
AS
166222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16623
16624 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16625 differing bytes.
16626 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16627 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16628 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16629
75ea32ab
UD
166302011-04-17 Ulrich Drepper <drepper@gmail.com>
16631
16632 [BZ #12420]
16633 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16634 storing it.
16635 * stdlib/bug-getcontext.c: New file.
16636 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16637
27390476
AK
166382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16639
16640 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16641 instructions into .machine "z9-109".
16642 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16643 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16644
10442705
AK
166452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16646
16647 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16648 between environment variables and auxiliary vector.
16649
7b57bfe5
UD
166502011-04-16 Ulrich Drepper <drepper@gmail.com>
16651
16652 * Makefile: Add rules to build linkobj/libc.so.
16653 * include/libc-symbols.h: Define libc_hidden_nolink.
16654 * include/rpc/auth.h: Mark functions which are to be hidden.
16655 * include/rpc/auth_des.h: Likewise.
16656 * include/rpc/auth_unix.h: Likewise.
16657 * include/rpc/clnt.h: Likewise.
16658 * include/rpc/des_crypt.h: Likewise.
16659 * include/rpc/key_prot.h: Likewise.
16660 * include/rpc/pmap_clnt.h: Likewise.
16661 * include/rpc/pmap_prot.h: Likewise.
16662 * include/rpc/pmap_rmt.h: Likewise.
16663 * include/rpc/rpc_msg.h: Likewise.
16664 * include/rpc/svc.h: Likewise.
16665 * include/rpc/svc_auth.h: Likewise.
16666 * include/rpc/xdr.h: Likewise.
16667 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16668 * nss/Makefile: Likewise.
16669 * sunrpc/Makefile: Don't install headers. Build library with normal
16670 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16671 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16672 for the compat linking library. Remove use of INTDEF/INTUSE.
16673 * sunrpc/auth_none.c: Likewise.
16674 * sunrpc/auth_unix.c: Likewise.
16675 * sunrpc/authdes_prot.c: Likewise.
16676 * sunrpc/authuxprot.c: Likewise.
16677 * sunrpc/clnt_gen.c: Likewise.
16678 * sunrpc/clnt_perr.c: Likewise.
16679 * sunrpc/clnt_raw.c: Likewise.
16680 * sunrpc/clnt_simp.c: Likewise.
16681 * sunrpc/clnt_tcp.c: Likewise.
16682 * sunrpc/clnt_udp.c: Likewise.
16683 * sunrpc/clnt_unix.c: Likewise.
16684 * sunrpc/des_crypt.c: Likewise.
16685 * sunrpc/des_soft.c: Likewise.
16686 * sunrpc/get_myaddr.c: Likewise.
16687 * sunrpc/key_call.c: Likewise.
16688 * sunrpc/key_prot.c: Likewise.
16689 * sunrpc/netname.c: Likewise.
16690 * sunrpc/pm_getmaps.c: Likewise.
16691 * sunrpc/pm_getport.c: Likewise.
16692 * sunrpc/pmap_clnt.c: Likewise.
16693 * sunrpc/pmap_prot.c: Likewise.
16694 * sunrpc/pmap_prot2.c: Likewise.
16695 * sunrpc/pmap_rmt.c: Likewise.
16696 * sunrpc/publickey.c: Likewise.
16697 * sunrpc/rpc_cmsg.c: Likewise.
16698 * sunrpc/rpc_common.c: Likewise.
16699 * sunrpc/rpc_dtable.c: Likewise.
16700 * sunrpc/rpc_prot.c: Likewise.
16701 * sunrpc/rpc_thread.c: Likewise.
16702 * sunrpc/rtime.c: Likewise.
16703 * sunrpc/svc.c: Likewise.
16704 * sunrpc/svc_auth.c: Likewise.
16705 * sunrpc/svc_authux.c: Likewise.
16706 * sunrpc/svc_raw.c: Likewise.
16707 * sunrpc/svc_run.c: Likewise.
16708 * sunrpc/svc_simple.c: Likewise.
16709 * sunrpc/svc_tcp.c: Likewise.
16710 * sunrpc/svc_udp.c: Likewise.
16711 * sunrpc/svc_unix.c: Likewise.
16712 * sunrpc/svcauth_des.c: Likewise.
16713 * sunrpc/xcrypt.c: Likewise.
16714 * sunrpc/xdr.c: Likewise.
16715 * sunrpc/xdr_array.c: Likewise.
16716 * sunrpc/xdr_float.c: Likewise.
16717 * sunrpc/xdr_intXX_t.c: Likewise.
16718 * sunrpc/xdr_mem.c: Likewise.
16719 * sunrpc/xdr_rec.c: Likewise.
16720 * sunrpc/xdr_ref.c: Likewise.
16721 * sunrpc/xdr_sizeof.c: Likewise.
16722 * sunrpc/xdr_stdio.c: Likewise.
16723
e6c61494
UD
167242011-04-10 Ulrich Drepper <drepper@gmail.com>
16725
16726 [BZ #12650]
16727 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16728 * sysdeps/ia64/dl-tls.h: Likewise.
16729 * sysdeps/powerpc/dl-tls.h: Likewise.
16730 * sysdeps/s390/dl-tls.h: Likewise.
16731 * sysdeps/sh/dl-tls.h: Likewise.
16732 * sysdeps/sparc/dl-tls.h: Likewise.
16733 * sysdeps/x86_64/dl-tls.h: Likewise.
16734 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16735
34fe483e
AS
167362011-03-14 Andreas Schwab <schwab@redhat.com>
16737
16738 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16739 rpath element also skip the following colon.
16740 (expand_dynamic_string_token): Add is_path parameter and pass
16741 down to DL_DST_REQUIRED and _dl_dst_substitute.
16742 (decompose_rpath): Call expand_dynamic_string_token with
16743 non-zero is_path. Ignore empty rpaths.
16744 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16745 with zero is_path.
16746
f12a32e6
AS
167472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16748
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16750 Make cancelable.
16751
38a7d692
UD
167522011-04-09 Ulrich Drepper <drepper@gmail.com>
16753
16754 [BZ #12655]
16755 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16756 Patch by Filipe David Manana <fdmanana@apache.org>.
16757
e451d22b
AS
167582011-04-07 Andreas Schwab <schwab@redhat.com>
16759
16760 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16761 Maintain aligned stack.
16762 (CHECK_RSP): Remove unused macro.
16763
dedc7c7b
UD
167642011-04-03 Ulrich Drepper <drepper@gmail.com>
16765
16766 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16767 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16768
94521213
UD
167692011-04-02 Ulrich Drepper <drepper@gmail.com>
16770
16771 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16772
8cb700c0 16773 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16774
0354e355
L
167752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16776
16777 [BZ #12518]
16778 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16779 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16780 * sysdeps/x86_64/memmove.c: New file.
16781 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16782 (memcpy): Renamed to ...
16783 (__new_memcpy): This.
16784 (memcpy): Provide GLIBC_2_14 memcpy.
16785 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16786 (memcpy): Provide GLIBC_2_2_5 memcpy.
16787
8593482f
UD
167882011-04-01 Ulrich Drepper <drepper@gmail.com>
16789
16790 [BZ #12631]
16791 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16792
81a5726b
AS
167932011-03-30 Andreas Schwab <schwab@redhat.com>
16794
16795 * misc/syncfs.c: New file.
16796 * misc/Makefile (routines): Add syncfs.
16797 * posix/unistd.h: Declare syncfs.
16798 * sysdeps/unix/syscalls.list: Add syncfs.
16799
00e5419f
AS
168002011-04-01 Andreas Schwab <schwab@redhat.com>
16801
16802 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16803 open_by_handle_at.
16804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16807 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16809 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16810 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16811
748876bf
UD
168122011-04-01 Ulrich Drepper <drepper@gmail.com>
16813
658e451d
UD
16814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16815 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16816 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16818 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16820 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16821
748876bf
UD
16822 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16823 sync_file_range.c with -fexceptions.
16824 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16825 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16826 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16827 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16828 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16829 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16831 sync_file_range as cancellation point
16832 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16833 now a wrapper around __call_sync_file_range with cancellation handling.
16834 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16835 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16836 function name to __call_sync_file_range.
16837 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16838 Add call_sync_file_range.
748876bf 16839
6e63d5e1
AS
168402011-04-01 Andreas Schwab <schwab@redhat.com>
16841
16842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16843 bits/timex.h.
6e63d5e1 16844
46998f74
UD
168452011-04-01 Ulrich Drepper <drepper@gmail.com>
16846
4c1423ed
UD
16847 * iconv/iconv.h: Fix typo in comment.
16848 * io/fcntl.h: Likewise.
16849 * libio/stdio.h: Likewise.
16850 * posix/spawn.h: Likewise.
16851 * posix/unistd.h: Likewise.
16852 * stdlib/stdlib.h: Likewise.
16853 * time/time.h: Likewise.
16854 * wcsmbs/wchar.h: Likewise.
16855
158648c0
UD
16856 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16857 open_by_handle): Add.
16858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16859 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16860 Augment a few comments.
16861 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16866 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16867 open_by_handle.
16868
46998f74
UD
16869 * io/fcntl.h (AT_EMPTY_PATH): Define.
16870
83fe108b
UD
168712011-03-30 Ulrich Drepper <drepper@gmail.com>
16872
16873 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16874 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16875 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16876 to...
16877 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16878 * Versions.def: Add GLIBC_2.14.
16879 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16880 Export.
83fe108b 16881
bb242059
UD
168822011-03-22 Ulrich Drepper <drepper@gmail.com>
16883
16884 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16885 round counter.
16886 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16887
c97a1282
L
168882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16889
16890 [BZ #12597]
16891 * string/test-strncmp.c (do_page_test): New function.
16892 (check2): Likewise.
16893 (test_main): Call check2.
16894 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16895
2a115601
UD
168962011-03-20 Ulrich Drepper <drepper@gmail.com>
16897
16898 [BZ #12587]
16899 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16900 Handle cache information in CPU leaf 4.
16901 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16902
8126d904
UD
169032011-03-18 Ulrich Drepper <drepper@gmail.com>
16904
042c49c6 16905 [BZ #12583]
8126d904
UD
16906 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16907 character representation.
16908 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16909
ccfe366e
RA
169102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16911
16912 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16913 END(__isnan) to END(__isnanf) to match function entry point/label
16914 EALIGN(__isnanf,...).
16915
c6e13027
JJ
169162011-03-10 Jakub Jelinek <jakub@redhat.com>
16917
16918 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16919
33f85a3f
UD
169202011-03-10 Ulrich Drepper <drepper@gmail.com>
16921
028478fa
UD
16922 [BZ #12510]
16923 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16924 copy from the symbol referenced in the relocation to initialize the
16925 used variable.
16926 Patch by Piotr Bury <pbury@goahead.com>.
16927 * elf/Makefile: Add rules to build and tst-unique3.
16928 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16929 * elf/tst-unique3.cc: New file.
16930 * elf/tst-unique3.h: New file.
16931 * elf/tst-unique3lib.cc: New file.
16932 * elf/tst-unique3lib2.cc: New file.
16933
33f85a3f
UD
16934 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16935
03592fc7
MF
169362011-03-10 Mike Frysinger <vapier@gentoo.org>
16937
16938 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16939 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16940 to _start.
03592fc7 16941
6a5ee102
UD
169422011-03-06 Ulrich Drepper <drepper@gmail.com>
16943
16944 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16945 to-be-loaded object along a path to loader is ld.so.
16946
7e4ba49c
HJ
169472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16948 Ulrich Drepper <drepper@gmail.com>
16949
16950 * sysdeps/x86_64/memset.S: After aligning destination, code
16951 branches to different locations depending on the value of
16952 misalignment, when multiarch is enabled. Fix this.
16953
169542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16955
16956 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16957 Set _x86_64_preferred_memory_instruction for AMD processsors.
16958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16959 Set bit_Prefer_SSE_for_memop for AMD processors.
16960
13a804de
UD
169612011-03-04 Ulrich Drepper <drepper@gmail.com>
16962
16963 * libio/fmemopen.c (fmemopen): Optimize a bit.
16964
9d25c392
AS
169652011-03-03 Andreas Schwab <schwab@redhat.com>
16966
16967 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16968
a5543c6a
RM
169692011-03-03 Roland McGrath <roland@redhat.com>
16970
16971 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16972
012d35f7
DM
169732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16974
7e4ba49c 16975 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16976 __bzero_ultra1 instead of __memset_ultra1.
16977
4bff6e01
AS
169782011-02-23 Andreas Schwab <schwab@redhat.com>
16979 Ulrich Drepper <drepper@gmail.com>
16980
16981 [BZ #12509]
16982 * include/link.h (struct link_map): Add l_orig_initfini.
16983 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16984 returning unsuccessfully.
16985 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16986 close of a file loaded at startup, restore the original l_initfini
16987 list.
16988 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16989 list, store the pointer.
16990 * elf/Makefile ($(objpfx)noload-mem): New rule.
16991 (noload-ENV): Define.
16992 (tests): Add $(objpfx)noload-mem.
16993 * elf/noload.c: Include <memcheck.h>.
16994 (main): Call mtrace. Close all opened handles.
16995
f2092faf
AS
169962011-02-17 Andreas Schwab <schwab@redhat.com>
16997
16998 [BZ #12454]
16999 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17000 dependencies are missing.
17001
6c8a2e88
ST
170022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17003
f2092faf 17004 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17005 Hurd needs munmap.
17006 * sysdeps/mach/hurd/ifreq.h: New file.
17007
84a42118
PB
170082011-01-27 Petr Baudis <pasky@suse.cz>
17009 Ulrich Drepper <drepper@gmail.com>
17010
071f805e 17011 [BZ 12445]#
84a42118
PB
17012 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17013 to extend_alloca().
17014 * stdio-common/bug23.c: New file.
17015 * stdio-common/Makefile (tests): Add bug23.
17016
e23fe25b
AS
170172010-09-28 Andreas Schwab <schwab@redhat.com>
17018 Ulrich Drepper <drepper@gmail.com>
17019
17020 [BZ #12489]
17021 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17022 before performing relro protection. At old place add assertion
17023 to make sure nothing changed.
17024
d3f02e10
NS
170252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17026 Glauber de Oliveira Costa <glommer@gmail.com>
17027
17028 * elf/elf.h: Add new ARM TLS relocs.
17029
d55fd7a5
RA
170302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17031
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17033 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17034 cast from r3.
17035 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17036 'tests' variable.
17037 * sysdeps/wordsize-64/tst-writev.c: New file.
17038
2206397e
RA
170392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17040
17041 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17042 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17043 insns in _dl_start to prevent a TOC reference before relocs are
17044 resolved.
17045
e9433893
UD
170462011-02-15 Ulrich Drepper <drepper@gmail.com>
17047
17048 [BZ #12469]
17049 * Makeconfig: Remove RANLIB definition.
17050 * Makerules: Don't use RANLIB.
17051 * aclocal.m4: Remove ranlib test.
17052 * configure.in: No need to check for ranlib.
17053 * elf/rtld-Rules: Don't use RANLIB.
17054
f75286c6
ST
170552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17056
8e31c82d
ST
17057 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17058 protection macro.
17059 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17060 inclusion protection macro.
17061
f75286c6
ST
17062 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17063 SIGRTMIN and SIGRTMAX and print information in that case only when
17064 SIGRTMIN is defined.
17065
c1d0e639
JJ
170662011-02-11 Jakub Jelinek <jakub@redhat.com>
17067
17068 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17069 arginfo fn returning -1.
17070
17071 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17072 and thousands string is zero terminated.
17073
edf9294e
AS
170742011-02-03 Andreas Schwab <schwab@redhat.com>
17075
17076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17077 sysdeps/unix/sysv/linux/bits/socket.h.
17078
2b7e92df
ST
170792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17080
edf9294e
AS
17081 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17082 (__CPU_COUNT): Remove old macros.
17083 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17084 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17085 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17086 (__sched_cpualloc, __sched_cpufree): Add declarations.
17087
a4c7ea7b
UD
170882011-02-05 Ulrich Drepper <drepper@gmail.com>
17089
17090 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17091 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17092 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17093 (readdhstai): Return value of addhstaiX call.
17094 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17095 (addgrbyX): Return value returned by cache_addgr.
17096 (readdgrbyname): Return value returned by addgrbyX.
17097 (readdgrbygid): Likewise.
17098 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17099 (addpwbyX): Return value returned by cache_addpw.
17100 (readdpwbyname): Return value returned by addhstbyX.
17101 (readdpwbyuid): Likewise.
17102 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17103 (addservbyX): Return value returned by cache_addserv.
17104 (readdservbyname): Return value returned by addservbyX:
17105 (readdservbyport): Likewise.
17106 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17107 (addhstbyX): Return value returned by cache_addhst.
17108 (readdhstbyname): Return value returned by addhstbyX.
17109 (readdhstbyaddr): Likewise.
17110 (readdhstbynamev6): Likewise.
17111 (readdhstbyaddrv6): Likewise.
17112 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17113 (readdinitgroups): Return value returned by addinitgroupsX.
17114 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17115 (prune_cache): Keep track of timeout value of re-added entries.
17116 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17117 * nscd/nscd.h: Adjust prototypes of readd* functions.
17118
a0bf67cc
RM
171192011-02-04 Roland McGrath <roland@redhat.com>
17120
17121 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17122 (nis_stats): Likewise.
17123 * nis/nis_modify.c (nis_modify): Likewise.
17124 * nis/nis_remove.c (nis_remove): Likewise.
17125 * nis/nis_add.c (nis_add): Likewise.
17126
17127 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17128
17129 * posix/fnmatch_loop.c: Add some consts.
17130
17131 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17132
435b95eb
L
171332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17134
17135 [BZ #12460]
17136 * config.make.in (config-cflags-novzeroupper): Define.
17137 * configure.in: Substitute libc_cv_cc_novzeroupper.
17138 * elf/Makefile (AVX-CFLAGS): Define.
17139 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17140 (CFLAGS-tst-auditmod4a.c): Likewise.
17141 (CFLAGS-tst-auditmod4b.c): Likewise.
17142 (CFLAGS-tst-auditmod6b.c): Likewise.
17143 (CFLAGS-tst-auditmod6c.c): Likewise.
17144 (CFLAGS-tst-auditmod7b.c): Likewise.
17145 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17146
8517b15e
UD
171472011-02-02 Ulrich Drepper <drepper@gmail.com>
17148
17149 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17150 function to the callback.
17151 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17152
10a656fe
AS
171532011-02-02 Andreas Schwab <schwab@redhat.com>
17154
17155 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17156 of errno.
17157
968dad0a
UD
171582011-01-19 Ulrich Drepper <drepper@gmail.com>
17159
9f94d2ea 17160 [BZ #11724]
968dad0a
UD
17161 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17162 of constructors.
17163 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17164 of destructors.
17165 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17166
17167 [BZ #11724]
17168 * elf/Makefile: Add rules to build and run new test.
17169 * elf/tst-initorder.c: New file.
17170 * elf/tst-initorder.exp: New file.
17171 * elf/tst-initordera1.c: New file.
17172 * elf/tst-initordera2.c: New file.
17173 * elf/tst-initordera3.c: New file.
17174 * elf/tst-initordera4.c: New file.
17175 * elf/tst-initorderb1.c: New file.
17176 * elf/tst-initorderb2.c: New file.
17177 * elf/tst-order-a1.c: New file.
17178 * elf/tst-order-a2.c: New file.
17179 * elf/tst-order-a3.c: New file.
17180 * elf/tst-order-a4.c: New file.
17181 * elf/tst-order-b1.c: New file.
17182 * elf/tst-order-b2.c: New file.
17183 * elf/tst-order-main.c: New file.
17184 New test case by George Gensure <werkt0@gmail.com>.
17185
86e92359
UD
171862010-10-01 Andreas Schwab <schwab@redhat.com>
17187
17188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17189 decoding ACE if AI_CANONIDN.
17190
5d5732b0
UD
171912011-01-18 Ulrich Drepper <drepper@gmail.com>
17192
17193 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17194
a77e8cbc
UD
171952011-01-17 Ulrich Drepper <drepper@gmail.com>
17196
6392473f
UD
17197 * version.h (RELEASE): Bump for 2.13 release.
17198 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17199
620a0529
UD
17200 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17201
18ba70a5
UD
17202 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17203 MADV_NOHUGEPAGE.
32465c3e
UD
17204 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17205 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17206 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17207 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17208 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17209 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17210
c0dafcf1
UD
17211 * posix/getconf.c: Update copyright year.
17212 * catgets/gencat.c: Likewise.
17213 * csu/version.c: Likewise.
17214 * debug/catchsegv.sh: Likewise.
17215 * debug/xtrace.sh: Likewise.
17216 * elf/ldconfig.c: Likewise.
17217 * elf/ldd.bash.in: Likewise.
17218 * elf/sprof.c (print_version): Likewise.
17219 * iconv/iconv_prog.c: Likewise.
17220 * iconv/iconvconfig.c: Likewise.
17221 * locale/programs/locale.c: Likewise.
17222 * locale/programs/localedef.c: Likewise.
17223 * malloc/memusage.sh: Likewise.
17224 * malloc/mtrace.pl: Likewise.
17225 * nscd/nscd.c (print_version): Likewise.
17226 * nss/getent.c: Likewise.
17227
a77e8cbc
UD
17228 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17229 PF_CAIF, and PF_ALG.
17230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17231
77e8bddf
AS
172322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17233
1f20b93a
AS
17234 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17235 (modules-names): Use them.
17236 (ifunc-test-modules, ifunc-pie-tests): Define.
17237 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17238 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17239 (test-extras): Likewise.
17240 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17241 $(compile-command.c).
17242 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17243 (all-built-dso): Define.
17244 (check-textrel.out, check-execstack.out): Depend on it.
17245
77e8bddf
AS
17246 * configure.in: Don't override --enable-multi-arch.
17247
bc425b33
UD
172482011-01-15 Ulrich Drepper <drepper@gmail.com>
17249
17250 [BZ #6812]
17251 * nscd/hstcache.c (tryagain): Define.
17252 (cache_addhst): Return tryagain not notfound for temporary errors.
17253 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17254 failed.
17255
794c3ad3
UD
172562011-01-14 Ulrich Drepper <drepper@gmail.com>
17257
70181fdd
UD
17258 [BZ #10563]
17259 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17260 to make the syscall.
17261 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17262
794c3ad3
UD
17263 [BZ #12378]
17264 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17265 and fall back to matching as normal character if the string ends before
17266 the matching ']' is found. This is what POSIX requires.
17267 * posix/testfnm.c: Adjust test result.
17268 * posix/globtest.sh: Adjust test result. Add new test.
17269 * posix/tst-fnmatch.input: Likewise.
17270 * posix/tst-fnmatch2.c: Add new test.
17271
68dc9497
AS
172722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17273
17274 * elf/Makefile (check-execstack): Revert last change. Depend on
17275 check-execstack.h.
17276 (check-execstack.h): New target.
17277 (generated): Add check-execstack.h.
17278 * elf/check-execstack.c: Include "check-execstack.h".
17279 (main): Revert last change.
17280 (handle_file): Return zero if GNU_STACK is absent and
17281 DEFAULT_STACK_PERMS doesn't include PF_X.
17282
451f001b
UD
172832011-01-13 Ulrich Drepper <drepper@gmail.com>
17284
cfa28e56
UD
17285 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17286 in child fails because the descriptor is already closed.
8cf8ce17
UD
17287 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17288 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17289 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17290
1086d70d
UD
17291 [BZ #12397]
17292 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17293 syscall.
17294
451f001b
UD
17295 [BZ #10484]
17296 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17297 temporary buffer used to handle multi lookups locally.
a85b5cb4 17298 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17299
08769175
UD
173002011-01-12 Ulrich Drepper <drepper@gmail.com>
17301
17302 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17303 loader is ld.so.
17304
5e49c52e
UD
173052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17306
17307 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17308 alignment for SSE2.
17309
60522a5f
UD
173102011-01-12 Ulrich Drepper <drepper@gmail.com>
17311
17312 [BZ #12394]
17313 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17314 characters. When rounding increased number of integer digits recompute
17315 number of groups.
17316 * stdio-common/tst-grouping.c: New file.
17317 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17318
f257bbd7
UD
173192011-01-09 Ulrich Drepper <drepper@gmail.com>
17320
17321 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17322 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17323
17324 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17325 void.
17326 * bits/select.h: Likewise.
17327
fa9c15cb
UD
173282011-01-08 Ulrich Drepper <drepper@gmail.com>
17329
17330 * po/ja.po: Update from translation team.
17331
16c2895f
DM
173322011-01-04 David S. Miller <davem@sunset.davemloft.net>
17333
17334 [BZ #11155]
17335 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17336 implementation just like for lxstat, fxstatat, et al.
17337
2543fef2
JM
173382010-12-27 Jim Meyering <meyering@redhat.com>
17339
17340 [BZ #12348]
17341 * posix/regexec.c (build_trtable): Return failure indication upon
17342 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17343
98727dbe
UD
173442010-12-25 Ulrich Drepper <drepper@gmail.com>
17345
5bd6dc5c
UD
17346 [BZ #12201]
17347 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17348 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17349 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17350 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17351
97983464
UD
17352 [BZ #12207]
17353 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17354
98727dbe
UD
17355 [BZ #12204]
17356 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17357 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17358
4a531bb0
L
173592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17360
17361 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17362 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17363 script has SORT_BY_INIT_PRIORITY.
17364 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17365 NO_CTORS_DTORS_SECTIONS is defined.
17366 * elf/soinit.c: Likewise.
17367 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17368 NO_CTORS_DTORS_SECTIONS is defined.
17369 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17370 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17371 * sysdeps/sh/init-first.c: Likewise.
17372 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17373
07eb4b71
UD
173742010-12-24 Ulrich Drepper <drepper@gmail.com>
17375
17376 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17377 always use the slow path.
17378
30950a5f
RA
173792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17380
17381 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17382 similar rule which adds the sysdep directories to the header search in
17383 order to pick up the correct platform stackinfo.h.
17384 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17385 perform test if it is, otherwise return successfully without testing.
17386 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17387 DEFAULT_STACK_PERMS define in stackinfo.h.
17388 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17389 defined in stackinfo.h.
17390 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17391 DEFAULT_STACK_PERMS defined in stackinfo.h.
17392 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17393 * sysdeps/ia64/stackinfo.h: Likewise.
17394 * sysdeps/s390/stackinfo.h: Likewise.
17395 * sysdeps/sh/stackinfo.h: Likewise.
17396 * sysdeps/sparc/stackinfo.h: Likewise.
17397 * sysdeps/x86_64/stackinfo.h: Likewise.
17398 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17399 PF_X for powerpc64. Retain PF_X for powerpc32.
17400
db753e2c
UD
174012010-12-19 Ulrich Drepper <drepper@gmail.com>
17402
14b697f7
UD
17403 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17404 accurately.
db753e2c
UD
17405 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17406 GETDENTS_64BIT_ALIGNED.
17407
28300719
UD
174082010-12-14 Ulrich Drepper <dreper@gmail.com>
17409
14b697f7 17410 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17411
4f197237
AS
174122010-12-10 Andreas Schwab <schwab@redhat.com>
17413
dbb0472f
AS
17414 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17415 _GNU_SOURCE.
17416
4f197237
AS
17417 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17418 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17419 Remove __restrict.
17420 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17421 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17422
fb88ac72
UD
174232010-12-09 Ulrich Drepper <drepper@gmail.com>
17424
17425 [BZ #11655]
17426 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17427 are initialized.
17428
42acbb92
JJ
174292010-12-09 Jakub Jelinek <jakub@redhat.com>
17430
17431 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17432
c038d98d
UD
174332010-12-03 Ulrich Drepper <drepper@gmail.com>
17434
17435 * po/it.po: Update from translation team.
17436
3a4a2499
L
174372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17438
17439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17440 unused codes.
17441
1e24cf6e
UD
174422010-11-30 Ulrich Drepper <drepper@gmail.com>
17443
17444 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17445
a7690819
AS
174462010-11-24 Andreas Schwab <schwab@redhat.com>
17447
17448 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17449 specially.
17450 (gaih_getanswer_slice): Likewise.
17451
3bf8d1b1
JJ
174522010-10-20 Jakub Jelinek <jakub@redhat.com>
17453
17454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17455
6db52fbb
PB
174562010-05-31 Petr Baudis <pasky@suse.cz>
17457
17458 [BZ #11149]
17459 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17460 silently even in the chroot mode.
17461
eaca7569
UD
174622010-11-22 Ulrich Drepper <drepper@gmail.com>
17463
17464 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17465 last patch a bit. Pretty printing
17466
3056dcdb
UD
174672010-05-31 Petr Baudis <pasky@suse.cz>
17468
17469 [BZ #10085]
17470 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17471 initialization of skip_initgroups_dyn.
17472
cf7c9078
UD
174732010-11-19 Ulrich Drepper <drepper@gmail.com>
17474
17475 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17476 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17477
a1fb5e3e
UD
174782010-11-16 Ulrich Drepper <drepper@gmail.com>
17479
17480 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17481
3540d66b
AS
174822010-11-11 Andreas Schwab <schwab@redhat.com>
17483
17484 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17485 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17486 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17487 ($(objpfx)tst-fnmatch-mem): New rule.
17488 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17489 * posix/tst-fnmatch.c (main): Call mtrace.
17490
13b69574
L
174912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17492
17493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17494 Support Intel processor model 6 and model 0x2c.
17495
da93d214
LM
174962010-11-10 Luis Machado <luisgpm@br.ibm.com>
17497
17498 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17499 signed comparison.
17500
8ca52c6e
L
175012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17502
17503 [BZ #12205]
17504 * string/test-strncasecmp.c (check_result): New function.
17505 (do_one_test): Use it.
17506 (check1): New function.
17507 (test_main): Use it.
17508 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17509 Support strcasecmp and strncasecmp.
17510
69da074d
UD
175112010-11-08 Ulrich Drepper <drepper@gmail.com>
17512
17513 [BZ #12194]
17514 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17515 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17516
ff02d528
L
175172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17518
17519 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17520 IFUNC support.
17521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17522 memset-x86-64.
17523 * sysdeps/x86_64/multiarch/bzero.S: New file.
17524 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17525 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17526 * sysdeps/x86_64/multiarch/memset.S: New file.
17527 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17529 Set bit_Prefer_SSE_for_memop for Intel processors.
17530 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17531 Define.
17532 (index_Prefer_SSE_for_memop): Define.
17533 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17534
344d0b54
LM
175352010-11-04 Luis Machado <luisgpm@br.ibm.com>
17536
17537 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17538 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17539
c0dde15b
UD
175402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17541
17542 [BZ #12191]
17543 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17544 (__x86_64_raw_data_cache_size_half): Likewise.
17545 (__x86_64_raw_shared_cache_size): Likewise.
17546 (__x86_64_raw_shared_cache_size_half): Likewise.
17547
17548 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17549 (__x86_64_raw_data_cache_size_half): Likewise.
17550 (__x86_64_raw_shared_cache_size): Likewise.
17551 (__x86_64_raw_shared_cache_size_half): Likewise.
17552 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17553 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17554 and __x86_64_raw_shared_cache_size_half. Round
17555 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17556 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17557 to multiple of 256 bytes.
17558
0e516e0e
MS
175592010-11-03 Ulrich Drepper <drepper@gmail.com>
17560
17561 [BZ #12167]
17562 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17563 of inacessible symlinks. Verify result of symlink before returning it.
17564 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17565 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17566
0e012e87
ER
175672010-10-28 Erich Ritz <erichritz@gmail.com>
17568
17569 * math/math.h (isinf): Fix typo in comment.
17570
de0ff7bc
UD
175712010-11-01 Ulrich Drepper <drepper@gmail.com>
17572
17573 * po/da.po: Update from translation team.
17574
fa41c84d
UD
175752010-10-26 Ulrich Drepper <drepper@gmail.com>
17576
17577 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17578 is added to the list.
17579
f0967738
AK
175802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17581 Ulrich Drepper <drepper@gmail.com>
17582
17583 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17584 the global list here. Move code to...
17585 (_dl_add_to_namespace_list): ...here. New function.
17586 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17587 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17588 * elf/dl-load.c (lose): Don't remove the element from the list.
17589 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17590 (_dl_map_object): Likewise.
17591
175922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17593
17594 [BZ #12159]
17595 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17596 into all bytes of SSE register.
17597 Patch by Richard Li <richardpku@gmail.com>.
17598
f0967738 175992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17600
17601 [BZ #12140]
17602 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17603 perturbing.
17604
d0b9e94f
MB
176052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17606
17607 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17608 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17609 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17610 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17612 submachine.
17613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17614
8e9f92e9
AS
176152010-10-22 Andreas Schwab <schwab@redhat.com>
17616
17617 * include/dlfcn.h (__RTLD_SECURE): Define.
17618 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17619 mode & __RTLD_SECURE instead.
17620 (open_path): Rename preloaded parameter to secure.
17621 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17622 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17623 * elf/dl-deps.c (openaux): Likewise.
17624 * elf/rtld.c (struct map_args): Remove is_preloaded.
17625 (map_doit): Don't use it.
17626 (dl_main): Likewise.
17627 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17628 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17629
bc96fbda
AS
176302010-09-09 Andreas Schwab <schwab@redhat.com>
17631
17632 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17633 (sysd-rules-targets): Remove duplicates.
17634 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17635 rtld-%.$o dependency.
17636
22cd1c9b
AS
176372010-10-18 Andreas Schwab <schwab@redhat.com>
17638
17639 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17640 _dl_map_object do it.
17641
18edac48
UD
176422010-10-19 Ulrich Drepper <drepper@gmail.com>
17643
17644 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17645 fast fma builtins, define the macros in the C99 standard.
17646 (FP_FAST_FMAF): Likewise.
17647 (FP_FAST_FMAL): Likewise.
17648 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17649
17650 * bits/mathdef.h: Update copyright year.
17651 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17652
d2050124
MM
176532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17654
17655 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17656 builtins, define the macros in the C99 standard.
17657 (FP_FAST_FMAF): Likewise.
17658 (FP_FAST_FMAL): Likewise.
17659 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17660 multiply/add.
17661 (FP_FAST_FMAF): Likewise.
17662
475facd1
JJ
176632010-10-15 Jakub Jelinek <jakub@redhat.com>
17664
17665 [BZ #3268]
17666 * math/libm-test.inc (fma_test): Some new testcases.
17667 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17668 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17669 y and infinite z. Do multiplication by C already in long double.
17670 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17672 y and infinite z. Do bitwise or of inexact bit into u.d.
17673 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17674 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17675 * sysdeps/i386/fpu/s_fma.S: Removed.
17676 * sysdeps/i386/fpu/s_fmal.S: Removed.
17677
7c08a05c
JJ
176782010-10-16 Jakub Jelinek <jakub@redhat.com>
17679
17680 [BZ #3268]
17681 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17683 computation is not scheduled after fetestexcept. Fix value
17684 of minimum denormal long double.
17685
f3f7372d
JJ
176862010-10-14 Jakub Jelinek <jakub@redhat.com>
17687
17688 [BZ #3268]
17689 * math/libm-test.inc (fma_test): Add some more tests.
17690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17691 correctly.
17692
14d43591
AS
176932010-10-15 Andreas Schwab <schwab@redhat.com>
17694
17695 * scripts/data/localplt-s390-linux-gnu.data: New file.
17696 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17697
5e908464
JJ
176982010-10-13 Jakub Jelinek <jakub@redhat.com>
17699
17700 [BZ #3268]
17701 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17702 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17703 instead of dbl-64.
17704 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17705 inlines.
17706 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17708 if one of x and y is very large and the other is subnormal.
17709 * sysdeps/s390/fpu/s_fmaf.c: New file.
17710 * sysdeps/s390/fpu/s_fma.c: New file.
17711 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17712 * sysdeps/powerpc/fpu/s_fma.S: New file.
17713 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17714 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17715 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17716
177172010-10-12 Jakub Jelinek <jakub@redhat.com>
17718
17719 [BZ #3268]
17720 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17721 fma tests.
17722 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17723 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17724 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17725 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17726 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17727 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17729
b833d51f
UD
177302010-10-12 Ulrich Drepper <drepper@redhat.com>
17731
17732 [BZ #12078]
17733 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17734 * posix/bug-regex31.input: Add test case.
17735
1751705d
UD
177362010-10-11 Ulrich Drepper <drepper@gmail.com>
17737
e9b9cbf5
UD
17738 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17739 * posix/bug-regex31.input: New file.
17740
17741 [BZ #12078]
17742 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17743 (parse_sub_exp): Fix last change, use postorder.
17744
ef06edbe
UD
17745 * posix/bug-regex31.c: New file.
17746 * posix/Makefile: Add rules to build and run bug-regex31.
17747
a129c80d
UD
17748 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17749
17750 [BZ #12078]
17751 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17752
b76b818e
UD
17753 [BZ #12108]
17754 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17755 to have entries in sys_siglist.
17756
1751705d
UD
17757 [BZ #12093]
17758 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17759 be NULL.
17760
9ff8d36f
JJ
177612010-10-07 Jakub Jelinek <jakub@redhat.com>
17762
17763 [BZ #3268]
17764 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17765 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17766 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17767 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17768 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17769 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17770 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17771 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17772 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17773 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17774 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17775 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17776 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17777 * math/ftestexcept.c (fetestexcept): Likewise.
17778 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17779 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17780 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17781 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17782 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17783 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17785
af325969
UD
177862010-10-11 Ulrich Drepper <drepper@gmail.com>
17787
c579b202 17788 [BZ #12107]
af325969
UD
17789 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17790 newline.
17791
67a67b95
UD
177922010-10-06 Ulrich Drepper <drepper@gmail.com>
17793
17794 * string/bug-strstr1.c: New file.
17795 * string/Makefile: Add rules to build and run bug-strstr1.
17796
5fb308bc
EB
177972010-10-05 Eric Blake <eblake@redhat.com>
17798
17799 [BZ #12092]
17800 * string/str-two-way.h (two_way_long_needle): Always clear memory
17801 when skipping input due to the shift table.
17802
45db99c7
UD
178032010-10-03 Ulrich Drepper <drepper@gmail.com>
17804
3b111893
UD
17805 [BZ #12005]
17806 * malloc/mcheck.c: Handle large requests.
17807
45db99c7
UD
17808 [BZ #12077]
17809 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17810 for strncmp and strncasecmp.
17811 * string/stratcliff.c: Add tests for strcmp and strncmp.
17812 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17813
cf7a1eb8
NI
178142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17815
17816 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17817 __set_fpscr.
17818
6484ba5e
AJ
178192010-09-30 Andreas Jaeger <aj@suse.de>
17820
17821 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17822 (CGROUP_SUPER_MAGIC): Define.
17823 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17824 Handle btrfs and cgroup file systems.
17825 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17826 Likewise.
17827
91c42559
LM
178282010-09-27 Luis Machado <luisgpm@br.ibm.com>
17829
17830 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17831 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17832
87a97932
AK
178332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17834
17835 [BZ #12067]
17836 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17837 trying to locate the ELF header.
17838
c21cc9bc
AS
178392010-09-27 Andreas Schwab <schwab@redhat.com>
17840
17841 [BZ #11611]
17842 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17843 Mask out sign-bit copies when constructing f_fsid.
17844
315970f6
PB
178452010-09-24 Petr Baudis <pasky@suse.cz>
17846
17847 * debug/stack_chk_fail_local.c: Add missing licence exception.
17848 * debug/warning-nop.c: Likewise.
17849
1ac7a2c7
JM
178502010-09-15 Joseph Myers <joseph@codesourcery.com>
17851
17852 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17853 implementing getdents64 using getdents syscall, set d_type if
17854 __ASSUME_GETDENTS32_D_TYPE.
17855
56801c50
AS
178562010-09-16 Andreas Schwab <schwab@redhat.com>
17857
17858 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17859 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17860
dda51327
UD
178612010-09-21 Ulrich Drepper <drepper@redhat.com>
17862
17863 [BZ #12037]
17864 * posix/unistd.h: Undo change of feature selection for ftruncate from
17865 2010-01-11.
17866
8ffcee4a
UD
178672010-09-20 Ulrich Drepper <drepper@redhat.com>
17868
a545ecd9 17869 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17870 detection.
17871
e24f0a8b
AS
178722010-09-20 Andreas Schwab <schwab@redhat.com>
17873
17874 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17875 fanotify_mark.
17876 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17877
7291c56f
AS
178782010-09-14 Andreas Schwab <schwab@redhat.com>
17879
17880 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17881 variables after CHECK_SP call.
17882 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17883
bc5fb037
AS
178842010-09-13 Andreas Schwab <schwab@redhat.com>
17885 Ulrich Drepper <drepper@redhat.com>
17886
17887 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17888 re-relocationg ld.so.
17889 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17890 _dl_init_paths call.
17891 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17892 here anymore.
17893
e66e7419
UD
178942010-09-14 Ulrich Drepper <drepper@redhat.com>
17895
17896 * resolv/res_init.c (__res_vinit): Count the default server we added.
17897
c044aa75
CLT
178982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17899 Ulrich Drepper <drepper@redhat.com>
17900
17901 [BZ #11968]
17902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17903 (____longjmp_chk): Use %ebx for saving value across system call.
17904 Add unwind info.
17905
32cf4069
AS
179062010-09-06 Andreas Schwab <schwab@redhat.com>
17907
17908 * manual/Makefile: Don't mix pattern rules with normal rules.
17909
817328ee
AS
179102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17911
17912 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17913 operation.
17914 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17915 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17916 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17917 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17919 Likewise.
17920
29fddf61
UD
179212010-09-04 Ulrich Drepper <drepper@redhat.com>
17922
17923 [BZ #11979]
17924 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17925 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17926
0959ffc9
UD
179272010-09-02 Ulrich Drepper <drepper@redhat.com>
17928
17929 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17930 * sysdeps/x86_64/addmul_1.S: Likewise.
17931 * sysdeps/x86_64/lshift.S: Likewise.
17932 * sysdeps/x86_64/mul_1.S: Likewise.
17933 * sysdeps/x86_64/rshift.S: Likewise.
17934 * sysdeps/x86_64/sub_n.S: Likewise.
17935 * sysdeps/x86_64/submul_1.S: Likewise.
17936
ece29840
ST
179372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17938
0959ffc9
UD
17939 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17940 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17941 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17942 * bits/sched.h [__need_schedparam]
ece29840 17943 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17944 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17945 (__defined_schedparam): Define to 1.
ece29840
ST
17946 (__sched_param): New structure, identical to sched_param.
17947 (__need_schedparam): Undefine.
17948
e53a31fe
MF
179492010-08-31 Mike Frysinger <vapier@gentoo.org>
17950
fdc0c10d
MF
17951 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17952 (epoll_create1): Declare.
17953
e53a31fe
MF
17954 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17955
a726d796
AS
179562010-08-31 Andreas Schwab <schwab@redhat.com>
17957
17958 [BZ #7066]
17959 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17960 shifting retval into place.
17961
2f3e3dc7
UD
179622010-09-01 Ulrich Drepper <drepper@redhat.com>
17963
f2933da9
UD
17964 * nis/rpcsvc/nis.h: Update copyright notice.
17965 * nis/rpcsvc/nis.x: Likewise.
17966 * nis/rpcsvc/nis_callback.h: Likewise.
17967 * nis/rpcsvc/nis_callback.x: Likewise.
17968 * nis/rpcsvc/nis_object.x: Likewise.
17969 * nis/rpcsvc/nis_tags.h: Likewise.
17970 * nis/rpcsvc/yp.h: Likewise.
17971 * nis/rpcsvc/yp.x: Likewise.
17972 * nis/rpcsvc/ypupd.h: Likewise.
17973 * nis/yp_xdr.c: Likewise.
17974 * nis/ypupdate_xdr.c: Likewise.
17975
2f3e3dc7
UD
17976 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17977 mainly the body of pmap_getport. Add parameters to specify timeouts.
17978 (pmap_getport): Use __libc_rpc_getport.
17979 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17980 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17981 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17982
f3dcc2f9
AS
179832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17984
17985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17986 fanotify_mark.
17987
6d34eb5b
RM
179882010-08-27 Roland McGrath <roland@redhat.com>
17989
17990 * sysdeps/i386/i686/multiarch/Makefile
17991 (CFLAGS-varshift.c): New variable.
17992
9ea3de11
UD
179932010-08-27 Ulrich Drepper <drepper@redhat.com>
17994
c96d23fc
UD
17995 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17996 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17997
9ea3de11
UD
17998 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17999
18000 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18001
623aac7f
L
180022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18003
18004 * sysdeps/x86_64/strlen.S: Unroll the loop.
18005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18006 strlen-sse2 strlen-sse2-bsf.
18007 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18008 __strlen_no_bsf if bit_Slow_BSF is set.
18009 (__strlen_sse42): Removed.
18010 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18011 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18012
8b2b7715
RM
180132010-08-25 Roland McGrath <roland@redhat.com>
18014
18015 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18016 * sysdeps/x86_64/multiarch/varshift.c: New file.
18017 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18018 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18019 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18020 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18021
e73015f2
L
180222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18023
18024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18025 strlen-sse2 strlen-sse2-bsf.
18026 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18027 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18028 (__strlen_sse2): Removed.
18029 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18030 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18032 bit_Slow_BSF for Atom.
18033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18034 (index_Slow_BSF): Define.
18035 (HAS_SLOW_BSF): Define.
18036
df24a73e
UD
180372010-08-25 Ulrich Drepper <drepper@redhat.com>
18038
18039 [BZ #10851]
18040 * resolv/res_init.c (__res_vinit): When no server address at all
18041 is given default to loopback.
18042
f2ac4868
RM
180432010-08-24 Roland McGrath <roland@redhat.com>
18044
09055553
RM
18045 * configure.in: Remove config-name.h generation.
18046 * configure: Regenerated.
18047 * config-name.in: File removed.
18048 * scripts/config-uname.sh: New file.
18049 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18050 ($(objdir)config-name.h): New target.
18051
f2ac4868
RM
18052 * sunrpc/rpc_parse.h: Avoid nested comment.
18053
73f27d5e
RH
180542010-08-24 Richard Henderson <rth@redhat.com>
18055 Ulrich Drepper <drepper@redhat.com>
18056 H.J. Lu <hongjiu.lu@intel.com>
18057
18058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18060 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18061 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18062 _mm_alignr_epi8 with _mm_loadu_si128.
18063 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18064 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18065 (__m128i_shift_right): Removed.
18066 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18067 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18068 * sysdeps/x86_64/multiarch/varshift.h: New file.
18069 * sysdeps/x86_64/multiarch/varshift.S: New file.
18070
84b9230c
MF
180712010-08-21 Mike Frysinger <vapier@gentoo.org>
18072
18073 * configure.in: Move assembler checks to before sysdep dir checking.
18074
9bbd0ddc
PB
180752010-08-20 Petr Baudis <pasky@suse.cz>
18076
18077 * LICENSES: Sync the sunrpc license.
18078
9da4bb31
UD
180792010-08-19 Ulrich Drepper <drepper@redhat.com>
18080
a7ab6ec8
UD
18081 * sunrpc/auth_des.c: Update copyright notice once again.
18082 * sunrpc/auth_none.c: Likewise.
18083 * sunrpc/auth_unix.c: Likewise.
18084 * sunrpc/authdes_prot.c: Likewise.
18085 * sunrpc/authuxprot.c: Likewise.
18086 * sunrpc/bindrsvprt.c: Likewise.
18087 * sunrpc/clnt_gen.c: Likewise.
18088 * sunrpc/clnt_perr.c: Likewise.
18089 * sunrpc/clnt_raw.c: Likewise.
18090 * sunrpc/clnt_simp.c: Likewise.
18091 * sunrpc/clnt_tcp.c: Likewise.
18092 * sunrpc/clnt_udp.c: Likewise.
18093 * sunrpc/clnt_unix.c: Likewise.
18094 * sunrpc/des_crypt.c: Likewise.
18095 * sunrpc/des_soft.c: Likewise.
18096 * sunrpc/get_myaddr.c: Likewise.
18097 * sunrpc/getrpcport.c: Likewise.
18098 * sunrpc/key_call.c: Likewise.
18099 * sunrpc/key_prot.c: Likewise.
18100 * sunrpc/openchild.c: Likewise.
18101 * sunrpc/pm_getmaps.c: Likewise.
18102 * sunrpc/pm_getport.c: Likewise.
18103 * sunrpc/pmap_clnt.c: Likewise.
18104 * sunrpc/pmap_prot.c: Likewise.
18105 * sunrpc/pmap_prot2.c: Likewise.
18106 * sunrpc/pmap_rmt.c: Likewise.
18107 * sunrpc/rpc/auth.h: Likewise.
18108 * sunrpc/rpc/auth_unix.h: Likewise.
18109 * sunrpc/rpc/clnt.h: Likewise.
18110 * sunrpc/rpc/des_crypt.h: Likewise.
18111 * sunrpc/rpc/key_prot.h: Likewise.
18112 * sunrpc/rpc/netdb.h: Likewise.
18113 * sunrpc/rpc/pmap_clnt.h: Likewise.
18114 * sunrpc/rpc/pmap_prot.h: Likewise.
18115 * sunrpc/rpc/pmap_rmt.h: Likewise.
18116 * sunrpc/rpc/rpc.h: Likewise.
18117 * sunrpc/rpc/rpc_des.h: Likewise.
18118 * sunrpc/rpc/rpc_msg.h: Likewise.
18119 * sunrpc/rpc/svc.h: Likewise.
18120 * sunrpc/rpc/svc_auth.h: Likewise.
18121 * sunrpc/rpc/types.h: Likewise.
18122 * sunrpc/rpc/xdr.h: Likewise.
18123 * sunrpc/rpc_clntout.c: Likewise.
18124 * sunrpc/rpc_cmsg.c: Likewise.
18125 * sunrpc/rpc_common.c: Likewise.
18126 * sunrpc/rpc_cout.c: Likewise.
18127 * sunrpc/rpc_dtable.c: Likewise.
18128 * sunrpc/rpc_hout.c: Likewise.
18129 * sunrpc/rpc_main.c: Likewise.
18130 * sunrpc/rpc_parse.c: Likewise.
18131 * sunrpc/rpc_parse.h: Likewise.
18132 * sunrpc/rpc_prot.c: Likewise.
18133 * sunrpc/rpc_sample.c: Likewise.
18134 * sunrpc/rpc_scan.c: Likewise.
18135 * sunrpc/rpc_scan.h: Likewise.
18136 * sunrpc/rpc_svcout.c: Likewise.
18137 * sunrpc/rpc_tblout.c: Likewise.
18138 * sunrpc/rpc_util.c: Likewise.
18139 * sunrpc/rpc_util.h: Likewise.
18140 * sunrpc/rpcinfo.c: Likewise.
18141 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18142 * sunrpc/rpcsvc/key_prot.x: Likewise.
18143 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18144 * sunrpc/rpcsvc/mount.x: Likewise.
18145 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18146 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18147 * sunrpc/rpcsvc/rex.x: Likewise.
18148 * sunrpc/rpcsvc/rstat.x: Likewise.
18149 * sunrpc/rpcsvc/rusers.x: Likewise.
18150 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18151 * sunrpc/rpcsvc/spray.x: Likewise.
18152 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18153 * sunrpc/rtime.c: Likewise.
18154 * sunrpc/svc.c: Likewise.
18155 * sunrpc/svc_auth.c: Likewise.
18156 * sunrpc/svc_authux.c: Likewise.
18157 * sunrpc/svc_raw.c: Likewise.
18158 * sunrpc/svc_run.c: Likewise.
18159 * sunrpc/svc_simple.c: Likewise.
18160 * sunrpc/svc_tcp.c: Likewise.
18161 * sunrpc/svc_udp.c: Likewise.
18162 * sunrpc/svc_unix.c: Likewise.
18163 * sunrpc/svcauth_des.c: Likewise.
18164 * sunrpc/xcrypt.c: Likewise.
18165 * sunrpc/xdr.c: Likewise.
18166 * sunrpc/xdr_array.c: Likewise.
18167 * sunrpc/xdr_float.c: Likewise.
18168 * sunrpc/xdr_mem.c: Likewise.
18169 * sunrpc/xdr_rec.c: Likewise.
18170 * sunrpc/xdr_ref.c: Likewise.
18171 * sunrpc/xdr_sizeof.c: Likewise.
18172 * sunrpc/xdr_stdio.c: Likewise.
18173
9da4bb31
UD
18174 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18175 handling.
18176
bdaa77bc
AS
181772010-08-19 Andreas Schwab <schwab@redhat.com>
18178
18179 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18180
fe2f79db
LM
181812010-08-19 Luis Machado <luisgpm@br.ibm.com>
18182
18183 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18184 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18185 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18186 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18187 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18188 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18189 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18190 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18191 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18192 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18193 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18194 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18195 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18196 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18197
b9b42ee0
AB
181982010-07-26 Anton Blanchard <anton@samba.org>
18199
18200 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18201 * malloc/arena.c (heap_trim): Likewise.
18202
1c06ba31
UD
182032010-08-16 Ulrich Drepper <drepper@redhat.com>
18204
18205 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18206 here. Not...
18207 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18208 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18209
f8392f40
L
182102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18211
18212 * sysdeps/i386/elf/Makefile: New file.
18213
3162f12e
AS
182142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18215
18216 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18217 from fanotify_init.
18218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18219 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18220
28c90b2c
UD
182212010-08-15 Ulrich Drepper <drepper@redhat.com>
18222
18223 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18224 of strncasecmp_l.
1feccb6c 18225 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18226
ca6bb004
UD
182272010-08-14 Ulrich Drepper <drepper@redhat.com>
18228
e9f82e0d
UD
18229 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18230 strncase_l-nonascii.
18231 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18232 Add strncase_l-ssse3.
18233 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18234 * sysdeps/x86_64/strcmp.S: Likewise.
18235 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18236 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18237 * sysdeps/x86_64/strncase.S: New file.
18238 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18239 * sysdeps/x86_64/strncase_l.S: New file.
18240 * string/Makefile (strop-tests): Add strncasecmp.
18241 * string/test-strncasecmp.c: New file.
18242
18243 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18244 warning.
18245
ca6bb004
UD
18246 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18247 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18248
052fa7b3
AS
182492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18250
18251 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18252
962dba78
UD
182532010-08-12 Ulrich Drepper <drepper@redhat.com>
18254
18255 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18256 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18258
bebff237
AM
182592010-05-01 Alan Modra <amodra@gmail.com>
18260
18261 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18262 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18263 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18264 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18265 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18266 tidying. Don't tail-call __sigjmp_save for static lib.
18267 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18268 save location.
18269 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18270 (CALL_MCOUNT): Add eh info, and nop after bl.
18271 (TAIL_CALL_SYSCALL_ERROR): New macro.
18272 (PSEUDO_RET): Use it.
18273 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18274 Correct save location of integer regs and cr.
18275 (_dl_profile_resolve): Correct cr save location. Delete nops
18276 after bl when SHARED. Reduce cfi size a little by better
18277 placement of cfi directives.
18278 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18279 make a stack frame. Instead use parm save area as a temp.
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18281 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18283 Don't make a stack frame for parent, use parm save area.
18284 Increase child stack frame to 112 bytes. Don't save unused reg,
18285 and adjust reg usage. Set up cfi on error recovery and
18286 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18288 (__makecontext): Add dummy nop after jump to exit.
18289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18290 Use correct parm save area and cr save, reduce stack frame.
18291 Correct cfi for possible PSEUDO_RET frame setup.
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18293 Branch to local label emitted by PSEUDO_RET rather than
18294 __syscall_error.
18295
02637374
AS
182962010-08-12 Andreas Schwab <schwab@redhat.com>
18297
18298 [BZ #11904]
18299 * locale/programs/locale.c (print_assignment): New function.
18300 (show_locale_vars): Use it.
18301
c3e2f19b
UD
183022010-08-11 Ulrich Drepper <drepper@redhat.com>
18303
3cdaa6ad
UD
18304 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18305 field.
18306 (struct statfs64): Likewise.
18307 (_STATFS_F_FLAGS): Define.
18308 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18310 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18311 (ST_VALID): Define locally.
18312 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18313 __statvfs_getflags, use the provided value.
18314 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18315 __ASSUME_STATFS_F_FLAGS.
18316
754f7da3
UD
18317 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18318
10b3bedc
UD
18319 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18320 Add sys/fanotify.h.
18321 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18322 fanotify_mask for GLIBC_2.13.
18323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18324 fanotify_init and fanotify_mark.
18325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18326 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18327
c08fb0d7
UD
18328 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18329 Add prlimit.
18330 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18331 prlimit64 for GLIBC_2.13.
18332 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18333 prlimit64.
18334 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18335 syscall.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18337 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18338 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18339 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18340 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18341 add prlimit alias.
18342 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18343
15bac72b
UD
18344 [BZ #11903]
18345 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18346 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18347
c3e2f19b
UD
18348 * nss/Makefile: Add rules to build and run tst-nss-test1.
18349 * shlib-versions: Add entry for libnss_test1.
18350 * nss/nss_test1.c: New file.
18351 * nss/tst-nss-test1.c: New file.
18352
18353 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18354 (__nss_configure_lookup): Set appropriate entry in
18355 __nss_configure_lookup to true.
18356 * nss/nsswitch.h: Define enum with indeces of databases in
18357 databases and __nss_database_custom arrays. Declare
18358 __nss_database_custom.
18359 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18360 to avoid using nscd when custom rules are installed.
18361 * nss/getXXbyYY_r.c: Likewise.
18362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18363
18364 * nss/nss_files/files-parse.c: Whitespace fixes.
18365
f15ce4d8
UD
183662010-08-09 Ulrich Drepper <drepper@redhat.com>
18367
18368 [BZ #11883]
18369 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18370 * posix/fnmatch_loop.c: Likewise.
18371
d22e4cc9
AK
183722010-07-17 Andi Kleen <ak@linux.intel.com>
18373
18374 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18375 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18376 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18377 * Versions.def [GLIBC_2.13]: Add.
18378
805bc17d
UD
183792010-08-06 Ulrich Drepper <drepper@redhat.com>
18380
18381 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18382 Also fail if tpwd after pwuid call is NULL.
18383
5a42321d
ST
183842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18385
18386 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18387 when converting to ms.
18388
fd3ebeda
ST
183892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18390
18391 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18392 EOPNOTSUPP errors with ENOTTY.
18393 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18394 EOPNOTSUPP errors with ENOTTY.
18395
73507d3a
UD
183962010-07-31 Ulrich Drepper <drepper@redhat.com>
18397
18398 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18399 Add strcasecmp_l-ssse3.
18400 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18401 strcasecmp.
18402 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18403 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18404 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18405
fe36dd02
UD
184062010-07-30 Ulrich Drepper <drepper@redhat.com>
18407
66f6765a
UD
18408 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18409
42e08a54
UD
18410 * string/Makefile (strop-tests): Add strcasecmp.
18411 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18412 strcasecmp_l-nonascii.
18413 (gen-as-const-headers): Add locale-defines.sym.
18414 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18415 * sysdeps/x86_64/strcasecmp.S: New file.
18416 * sysdeps/x86_64/strcasecmp_l.S: New file.
18417 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18418 * sysdeps/x86_64/locale-defines.sym: New file.
18419 * string/test-strcasecmp.c: New file.
18420
fe36dd02
UD
18421 * string/test-strcasestr.c: Test both ends of the range of characters.
18422 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18423
48cbc0d6
RM
184242010-07-29 Roland McGrath <roland@redhat.com>
18425
76e6d6bc 18426 [BZ #11856]
48cbc0d6
RM
18427 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18428
880113d9
UD
184292010-07-27 Ulrich Drepper <drepper@redhat.com>
18430
18431 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18432 for ld.so.
18433
deb9cabb
AS
184342010-07-27 Andreas Schwab <schwab@redhat.com>
18435
18436 * manual/memory.texi (Malloc Tunable Parameters): Document
18437 M_PERTURB.
18438
1c7570ff
RM
184392010-07-26 Roland McGrath <roland@redhat.com>
18440
18441 [BZ #11840]
18442 * configure.in (-fgnu89-inline check): Set and substitute
18443 gnu89_inline, not libc_cv_gnu89_inline.
18444 * configure: Regenerated.
18445 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18446
24fb0f88
UD
184472010-07-26 Ulrich Drepper <drepper@redhat.com>
18448
18449 * string/test-strnlen.c: New file.
18450 * string/Makefile (strop-tests): Add strnlen.
18451 * string/tester.c (test_strnlen): Add a few more test cases.
18452 * string/tst-strlen.c: Better error reporting.
18453
18454 * sysdeps/x86_64/strnlen.S: New file.
18455
8e96b93a
UD
184562010-07-24 Ulrich Drepper <drepper@redhat.com>
18457
18458 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18459 lower-latency instructions.
18460
dbc676d4
UD
184612010-07-23 Ulrich Drepper <drepper@redhat.com>
18462
18463 * string/test-strcasestr.c: New file.
18464 * string/test-strstr.c: New file.
18465 * string/Makefile (strop-tests): Add strstr and strcasestr.
18466 * string/str-two-way.h: Don't undefine MAX.
18467 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18468
f6a31e0e
AS
184692010-07-21 Andreas Schwab <schwab@redhat.com>
18470
18471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18472 strcasestr-nonascii.
18473 (CFLAGS-strcasestr-nonascii.c): Define.
18474 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18475 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18476 Remove unused attribute.
18477
5dbc3b6c
RM
184782010-07-20 Roland McGrath <roland@redhat.com>
18479
18480 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18481 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18482 ld.so.cache was broken. With it, there is no way to disable dsocaps
18483 like LD_HWCAP_MASK can disable hwcaps.
18484
23d101d8
EPM
184852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18486
18487 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18488
cc9f2e47
UD
184892010-07-16 Ulrich Drepper <drepper@redhat.com>
18490
18491 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18492 call in strcasestr.
18493 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18494 __strcasestr_sse42_nonascii.
18495 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18496 strcasestr-nonascii.c.
18497 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18498
77c1b069
LM
184992010-06-15 Luis Machado <luisgpm@br.ibm.com>
18500
18501 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18502 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18503 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18504 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18505
440566c3
UD
185062010-07-09 Ulrich Drepper <drepper@redhat.com>
18507
18508 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18509 fcntl.
18510
5be9d05d
AS
185112010-07-06 Andreas Schwab <schwab@redhat.com>
18512
c30b7ee2 18513 [BZ #11577]
5be9d05d
AS
18514 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18515 dl_signal_cerror.
18516
8a492a67
UD
185172010-07-06 Ulrich Drepper <drepper@redhat.com>
18518
18519 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18520 _PC_PIPE_BUF using F_GETPIPE_SZ.
18521
713df3d5
RM
185222010-07-05 Roland McGrath <roland@redhat.com>
18523
18524 * manual/arith.texi (Rounding Functions): Fix rint description
18525 implicit in round description.
18526
702e8f14
UD
185272010-07-02 Ulrich Drepper <drepper@redhat.com>
18528
18529 * elf/Makefile: Fix linking for a few tests to make recent linker
18530 happy.
18531
52ed8be9
AS
185322010-06-30 Andreas Schwab <schwab@redhat.com>
18533
18534 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18535 $(common-objpfx)libc_nonshared.a.
18536
f47c9a11
LM
185372010-06-21 Luis Machado <luisgpm@br.ibm.com>
18538
18539 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18540 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18541 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18542 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18543 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18544 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18545 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18546 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18561 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18562 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18563 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18564 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18565 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18566 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18567 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18568 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18569 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18570 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18571 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18572 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18587
6fb8cbcb
L
185882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18589
18590 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18591 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18592 * string/memmove.c (memmove): Renamed to ...
18593 (MEMMOVE): ...this. Default to memmove.
18594 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18595 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18596 (END_CHK): Define.
18597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18598 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18599 mempcpy-ssse3-back memmove-ssse3-back.
18600 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18601 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18602 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18603 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18604 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18605 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18606 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18607 * sysdeps/x86_64/multiarch/memmove.c: New file.
18608 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18609 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18610 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18611 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18612 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18613 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18614 Define.
18615 (index_Fast_Copy_Backward): Define.
18616 (HAS_ARCH_FEATURE): Define.
18617 (HAS_FAST_REP_STRING): Define.
18618 (HAS_FAST_COPY_BACKWARD): Define.
18619
4e733bac 186202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18621
18622 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18623 Restore proper fallback handling.
18624
63c4ed22
UD
186252010-06-19 Ulrich Drepper <drepper@redhat.com>
18626
ac2b484c
UD
18627 [BZ #11701]
18628 * posix/group_member.c (__group_member): Correct checking loop.
18629
63c4ed22
UD
18630 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18631 OOM in getpwuid_r correctly. Return error number when the caller
18632 should return, otherwise -1.
18633 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18634 call returning > 0 value.
18635 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18636
765ade4b
AS
186372010-06-07 Andreas Schwab <schwab@redhat.com>
18638
18639 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18640 libc_nonshared.a from targets in modules-names.
18641
80da2e09
KS
186422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18643
18644 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18645 requires it.
18646
158db122
LM
186472010-06-10 Luis Machado <luisgpm@br.ibm.com>
18648
18649 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18650 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18653
caa78cf8
AS
186542010-06-02 Andreas Schwab <schwab@redhat.com>
18655
18656 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18657
b2ef2c01
UD
186582010-06-14 Ulrich Drepper <drepper@redhat.com>
18659
18660 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18661 and F_GETPIPE_SZ.
18662 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18666 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18667 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18668
fbd643b6
RM
186692010-06-14 Roland McGrath <roland@redhat.com>
18670
18671 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18672
f32f2869
JJ
186732010-06-07 Jakub Jelinek <jakub@redhat.com>
18674
18675 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18676 __REDIRECT followed by __THROW.
18677 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18678 * posix/getopt.h (getopt): Likewise.
18679
2a50c078
EPM
186802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18681
18682 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18683 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18684 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18685 in AT_FLAGS.
18686 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18687 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18688
eb5ad2eb
LM
186892010-05-28 Luis Machado <luisgpm@br.ibm.com>
18690
18691 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18692
3c88fe1e
L
186932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18694
18695 [BZ #11640]
18696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18697 Properly check family and model.
18698
d2f73151
TY
186992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18700
18701 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18702
ebd2e13d
LM
187032010-05-24 Luis Machado <luisgpm@br.ibm.com>
18704
18705 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18706
b32b8b45
UD
187072010-05-21 Ulrich Drepper <drepper@redhat.com>
18708
18709 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18710 symbol reference.
18711
9acbe24d
AS
187122010-05-19 Andreas Schwab <schwab@redhat.com>
18713
18714 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18715 symbol reference.
18716
f0ccf6ea
AS
187172010-05-21 Andreas Schwab <schwab@redhat.com>
18718
3d04ff3a
AS
18719 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18720 and internal_recvmmsg.
18721 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18722 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18723 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18724 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18725
f0ccf6ea
AS
18726 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18727 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18728 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18729
5b08ac57
AS
187302010-05-20 Andreas Schwab <schwab@redhat.com>
18731
18732 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18733
4828935d
LM
187342010-05-17 Luis Machado <luisgpm@br.ibm.com>
18735
18736 POWER7 optimizations.
18737 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18738 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18739
373d545e
UD
187402010-05-19 Ulrich Drepper <drepper@redhat.com>
18741
18742 * version.h: Update for 2.13 development version.
18743
21a2b1ae
AS
187442010-05-12 Andrew Stubbs <ams@codesourcery.com>
18745
18746 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18747 exceptions. Return 0.
18748
3f7dcb2b
RM
187492010-05-07 Roland McGrath <roland@redhat.com>
18750
18751 * elf/ldconfig.c (main): Add a const.
18752
5f24d53a 187532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18754
a160f8d8
UD
18755 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18756 (args_options): Add no-idn option.
18757 (ahosts_keys_int): Add idn_flags to ai_flags.
18758 (parse_option): Handle 'i' option to clear idn_flags.
18759
5f24d53a
UD
18760 * malloc/malloc.c (_int_free): Possible race in the most recently
18761 added check. Only act on the data if no current modification
18762 happened.
265bb1ce
UD
18763
18764See ChangeLog.17 for earlier changes.