]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Regenerated
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a0da5fe1
UD
12012-01-08 Ulrich Drepper <drepper@gmail.com>
2
ac097f5c
UD
3 [BZ #1350]
4 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5
2119dcfa
UD
6 * configure.in: static is always set to yes. Remove.
7 * config.make.in: Don't set build-static.
8 * Makeconfig: Remove use of build-static.
9 * dlfcn/Makefile: Likewise.
10 * elf/Makefile: Likewise.
11 * math/Makefile: Likewise.
12 * misc/Makefile: Likewise.
13 * nptl/Makefile: Likewise.
14 * sysdeps/mach/hurd/Makefile: Likewise.
15
121766a9
UD
16 * configure.in: PWD_P is not used anymore.
17 * config.make.in: Remove PWD_P entry.
18
51a1d39c 19 * configure.in: Remove last remnants of RANLIB.
8720d066 20 No need to check for signed size_t anymore.
215f4bdc
UD
21 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22 and IA-64.
3857022a 23 Remove __builtin_expect test because we require at least gcc 3.4.
8720d066 24
51a1d39c
UD
25 * aclocal.m4: Likewise.
26
d3ed7225
UD
27 * wcsmbs/mbrtoc16.c: Implement using towc function.
28 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29 * wcsmbs/wcsmbsload.c: Likewise.
30 * iconv/gconv_simple.c: Likewise.
31 * iconv/gconv_int.h: Likewise.
32 * iconv/gconv_builtin.h: Likewise.
33 * iconv/iconv_prog.c: Remove CHAR16 handling.
34
35 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36
37 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38
a0da5fe1
UD
39 * configure.in: Remove --with-elf and --enable-bounded options.
40 Dont set base_machine for ia64. More non-ELF conditions removed.
41 Remove testing and setting of leading underscore information.
42 * config.make.in (build-bounded): Set to no.
43 * config.h.in: Remove NO_UNDERSCORES entry.
44 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45 them.
46 * csu/start.c: Remove !NO_UNDERSCORE code.
47 * locale/localeinfo.h: Likewise.
48 * sysdeps/generic/machine-gmon.h: Likewise.
49 * sysdeps/generic/sysdep.h: Likewise.
50 * sysdeps/i386/sysdep.h: Likewise.
51 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52 * sysdeps/mach/sysdep.h: Likewise.
53 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55 * sysdeps/sh/sysdep.h: Likewise.
56 * sysdeps/sparc/sparc32/alloca.S: Likewise.
57 * sysdeps/unix/i386/sysdep.S: Likewise.
58 * sysdeps/unix/sparc/start.c: Likewise.
59 * sysdeps/unix/sparc/sysdep.S: Likewise.
60 * sysdeps/unix/sparc/sysdep.h: Likewise.
61 * sysdeps/unix/start.c: Likewise.
62 * sysdeps/unix/x86_64/sysdep.S: Likewise.
63 * sysdeps/x86_64/sysdep.h: Likewise.
64
df78418a
UD
652012-01-07 Ulrich Drepper <drepper@gmail.com>
66
a784e502
UD
67 [BZ #13553]
68 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69 for non-gcc.
70 * argp/argp-fmtstream.h: Use const instead __const.
71 * argp/argp.h: Likewise.
72 * assert/assert.h: Likewise.
73 * bits/fenv.h: Likewise.
74 * bits/sched.h: Likewise.
75 * bits/sigset.h: Likewise.
76 * bits/sigthread.h: Likewise.
77 * catgets/nl_types.h: Likewise.
78 * conform/data/pthread.h-data: Likewise.
79 * crypt/crypt-private.h: Likewise.
80 * crypt/crypt.h: Likewise.
81 * crypt/crypt_util.c: Likewise.
82 * ctype/ctype.h: Likewise.
83 * debug/execinfo.h: Likewise.
84 * debug/mbsnrtowcs_chk.c: Likewise.
85 * debug/mbsrtowcs_chk.c: Likewise.
86 * debug/wcsnrtombs_chk.c: Likewise.
87 * debug/wcsrtombs_chk.c: Likewise.
88 * debug/wcstombs_chk.c: Likewise.
89 * dirent/dirent.h: Likewise.
90 * dlfcn/dlfcn.h: Likewise.
91 * elf/neededtest4.c: Likewise.
92 * grp/grp.h: Likewise.
93 * gshadow/gshadow.h: Likewise.
94 * iconv/gconv.h: Likewise.
95 * iconv/gconv_int.h: Likewise.
96 * iconv/gconv_simple.c: Likewise.
97 * iconv/iconv.h: Likewise.
98 * iconv/loop.c: Likewise.
99 * iconv/skeleton.c: Likewise.
100 * include/aio.h: Likewise.
101 * include/aliases.h: Likewise.
102 * include/argz.h: Likewise.
103 * include/arpa/inet.h: Likewise.
104 * include/assert.h: Likewise.
105 * include/dirent.h: Likewise.
106 * include/dlfcn.h: Likewise.
107 * include/execinfo.h: Likewise.
108 * include/fcntl.h: Likewise.
109 * include/fenv.h: Likewise.
110 * include/glob.h: Likewise.
111 * include/grp.h: Likewise.
112 * include/libintl.h: Likewise.
113 * include/mntent.h: Likewise.
114 * include/netdb.h: Likewise.
115 * include/pwd.h: Likewise.
116 * include/rpc/netdb.h: Likewise.
117 * include/sched.h: Likewise.
118 * include/search.h: Likewise.
119 * include/shadow.h: Likewise.
120 * include/signal.h: Likewise.
121 * include/stdio.h: Likewise.
122 * include/stdlib.h: Likewise.
123 * include/string.h: Likewise.
124 * include/sys/socket.h: Likewise.
125 * include/sys/stat.h: Likewise.
126 * include/sys/statfs.h: Likewise.
127 * include/sys/statvfs.h: Likewise.
128 * include/sys/syslog.h: Likewise.
129 * include/sys/time.h: Likewise.
130 * include/sys/uio.h: Likewise.
131 * include/time.h: Likewise.
132 * include/unistd.h: Likewise.
133 * include/utmp.h: Likewise.
134 * include/wchar.h: Likewise.
135 * include/wctype.h: Likewise.
136 * inet/aliases.h: Likewise.
137 * inet/arpa/inet.h: Likewise.
138 * inet/netinet/ether.h: Likewise.
139 * inet/netinet/in.h: Likewise.
140 * intl/libintl.h: Likewise.
141 * io/bits/fcntl2.h: Likewise.
142 * io/fcntl.h: Likewise.
143 * io/ftw.h: Likewise.
144 * io/sys/poll.h: Likewise.
145 * io/sys/stat.h: Likewise.
146 * io/sys/statfs.h: Likewise.
147 * io/sys/statvfs.h: Likewise.
148 * io/utime.h: Likewise.
149 * libio/bits/stdio.h: Likewise.
150 * libio/bits/stdio2.h: Likewise.
151 * libio/libio.h: Likewise.
152 * libio/libioP.h: Likewise.
153 * libio/stdio.h: Likewise.
154 * locale/lc-ctype.c: Likewise.
155 * locale/locale.h: Likewise.
156 * login/utmp.h: Likewise.
157 * malloc/arena.c: Likewise.
158 * malloc/malloc.c: Likewise.
159 * malloc/malloc.h: Likewise.
160 * malloc/mcheck.c: Likewise.
161 * malloc/mtrace.c: Likewise.
162 * math/bits/mathcalls.h: Likewise.
163 * math/fenv.h: Likewise.
164 * math/math_private.h: Likewise.
165 * misc/bits/error.h: Likewise.
166 * misc/bits/syslog.h: Likewise.
167 * misc/err.h: Likewise.
168 * misc/error.h: Likewise.
169 * misc/fstab.h: Likewise.
170 * misc/mntent.h: Likewise.
171 * misc/regexp.h: Likewise.
172 * misc/search.h: Likewise.
173 * misc/sgtty.h: Likewise.
174 * misc/sys/mman.h: Likewise.
175 * misc/sys/syslog.h: Likewise.
176 * misc/sys/uio.h: Likewise.
177 * misc/sys/xattr.h: Likewise.
178 * misc/ttyent.h: Likewise.
179 * nis/rpcsvc/ypclnt.h: Likewise.
180 * nss/nss.h: Likewise.
181 * posix/bits/unistd.h: Likewise.
182 * posix/fnmatch.h: Likewise.
183 * posix/glob.h: Likewise.
184 * posix/sched.h: Likewise.
185 * posix/spawn.h: Likewise.
186 * posix/sys/wait.h: Likewise.
187 * posix/unistd.h: Likewise.
188 * posix/wordexp.h: Likewise.
189 * pwd/pwd.h: Likewise.
190 * resolv/netdb.h: Likewise.
191 * resource/sys/resource.h: Likewise.
192 * rt/aio.h: Likewise.
193 * rt/bits/mqueue2.h: Likewise.
194 * rt/mqueue.h: Likewise.
195 * shadow/shadow.h: Likewise.
196 * signal/signal.h: Likewise.
197 * socket/send.c: Likewise.
198 * socket/sendto.c: Likewise.
199 * socket/sys/socket.h: Likewise.
200 * stdio-common/printf.h: Likewise.
201 * stdlib/bits/stdlib.h: Likewise.
202 * stdlib/fmtmsg.h: Likewise.
203 * stdlib/monetary.h: Likewise.
204 * stdlib/stdlib.h: Likewise.
205 * stdlib/ucontext.h: Likewise.
206 * streams/stropts.h: Likewise.
207 * string/argz.h: Likewise.
208 * string/bits/string2.h: Likewise.
209 * string/string.h: Likewise.
210 * string/strings.h: Likewise.
211 * sunrpc/rpc/auth.h: Likewise.
212 * sunrpc/rpc/auth_des.h: Likewise.
213 * sunrpc/rpc/clnt.h: Likewise.
214 * sunrpc/rpc/netdb.h: Likewise.
215 * sunrpc/rpc/pmap_clnt.h: Likewise.
216 * sunrpc/rpc/xdr.h: Likewise.
217 * sysdeps/generic/inttypes.h: Likewise.
218 * sysdeps/generic/net/if.h: Likewise.
219 * sysdeps/generic/sys/swap.h: Likewise.
220 * sysdeps/gnu/net/if.h: Likewise.
221 * sysdeps/gnu/utmpx.h: Likewise.
222 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
223 * sysdeps/i386/i486/bits/string.h: Likewise.
224 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
225 * sysdeps/s390/bits/string.h: Likewise.
226 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
227 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
228 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
229 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
230 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
231 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
232 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
233 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
234 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
235 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
236 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
237 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
238 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
239 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
240 * sysdeps/unix/sysv/linux/readv.c: Likewise.
241 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
242 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
244 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
245 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
247 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
248 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
249 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
250 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
251 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
252 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
253 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
254 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
255 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
256 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
257 * sysvipc/sys/ipc.h: Likewise.
258 * sysvipc/sys/msg.h: Likewise.
259 * sysvipc/sys/sem.h: Likewise.
260 * sysvipc/sys/shm.h: Likewise.
261 * termios/termios.h: Likewise.
262 * time/sys/time.h: Likewise.
263 * time/time.h: Likewise.
264 * wcsmbs/bits/wchar2.h: Likewise.
265 * wcsmbs/uchar.h: Likewise.
266 * wcsmbs/wchar.h: Likewise.
267 * wctype/wctype.h: Likewise.
268
0269750c
UD
269 [BZ #13551]
270 * Makeconfig: Remove all but ELF support including AIX support.
271 * Makerules: Likewise.
272 * config.h.in: Likewise.
273 * config.make.in: Likewise.
274 * configure: Likewise.
275 * configure.in: Likewise.
276 * csu/Makefile: Likewise.
277 * csu/version.c: Likewise.
278 * debug/Makefile: Likewise.
279 * dlfcn/Makefile: Likewise.
280 * elf/Makefile: Likewise.
281 * extra-lib.mk: Likewise.
282 * iconv/Makefile: Likewise.
283 * include/libc-symbols.h: Likewise.
284 * include/shlib-compat.h: Likewise.
285 * resolv/Makefile: Likewise.
286 * resolv/res_libc.c: Likewise.
287 * rt/Makefile: Likewise.
288 * sysdeps/i386/asm-syntax.h: Likewise.
289 * sysdeps/i386/sysdep.h: Likewise.
290 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
291 * sysdeps/mach/sysdep.h: Likewise.
292 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
293 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
294 * sysdeps/s390/asm-syntax.h: Likewise.
295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
297 * sysdeps/sh/sysdep.h: Likewise.
298 * sysdeps/unix/sparc/sysdep.h: Likewise.
299 * sysdeps/wordsize-32/divdi3.c: Likewise.
300 * sysdeps/x86_64/sysdep.h: Likewise.
301
00bbd29b
UD
302 * argp/Versions: Remove _argp_unlock_xxx.
303
304 [BZ #13559]
305 * abilist/ld.abilist: Update. Adjust for removal of tls option.
306 * abilist/libBrokenLocale.abilist: Likewise.
307 * abilist/libanl.abilist: Likewise.
308 * abilist/libc.abilist: Likewise.
309 * abilist/libcrypt.abilist: Likewise.
310 * abilist/libdl.abilist: Likewise.
311 * abilist/libm.abilist: Likewise.
312 * abilist/libnsl.abilist: Likewise.
313 * abilist/libpthread.abilist: Likewise.
314 * abilist/libresolv.abilist: Likewise.
315 * abilist/librt.abilist: Likewise.
316 * abilist/libthread_db.abilist: Likewise.
317 * abilist/libutil.abilist: Likewise.
318 * abilist/libnss_db.abilist: New file.
319
320 * scripts/abilist.awk: Add support for indirect functions.
321
a2693a0e
UD
322 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
323
3f05895f
UD
324 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
325
ecb6fb48
UD
326 * shlib-versions: Remove entries for ports architectures.
327
664f8cb9
UD
328 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
329 files in ports.
330 * elf/stackguard-macros.h: Remove support for IA-64.
331 * elf/tst-auditmod1.c: Likewise.
332 * sysdeps/generic/ldsodefs.h: Likewise.
333
7ae81d88
UD
334 * sysdeps/unix/sysv/linux/configure.in: Ports should define
335 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
336 configure files.
337
bdeba135
UD
338 [BZ #13552]
339 * configure.in: Remove --enable-omitfp support.
340 * FAQ.in: Adjust.
341 * config.make.in: Likewise.
342 * Makeconfig: Likewise.
343 * manual/install.texi: Likewise.
344
d75a0a62
UD
345 In case anyone cares, the IA-64 architecture could move to ports.
346 * sysdeps/ia64/*: Removed.
347 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 348 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 349
dcc9756b
UD
350 [BZ #13555]
351 * configure.in: Remove entries for unsupported architectures.
352
d3761ebc 353 [BZ #13533]
9954432e
UD
354 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
355 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
356 routines.
357 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
358 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
359 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
360 fall back to using wcrtomb.
361 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
362 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
363 renaming.
364 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
365 * wcsmbs/tst-c16c32-1.c: New file.
366
367 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
368 local variable.
369
c3a87236
UD
370 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
371
28926a1b
UD
372 * elf/tst-unique3.cc: Add explicit declaration of gets.
373 * elf/tst-unique3lib.cc: Likewise.
374 * elf/tst-unique3lib2.cc: Likewise.
375 * elf/tst-unique4.cc: Likewise.
376
df78418a
UD
377 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
378
8ecd6b2a
JM
3792012-01-06 Joseph Myers <joseph@codesourcery.com>
380
381 [BZ #13566]
382 * assert/assert.h (static_assert): Don't define for C++.
383 * libio/stdio.h (gets): Do declare for C++ <= C++11.
384 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
385
9f115170
UD
3862012-01-03 Ulrich Drepper <drepper@gmail.com>
387
5e0d0300
UD
388 * iconv/loop.c (single loop): Fix assertion in storing of
389 remaining bytes.
390
9f115170
UD
391 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
392
81fb02b0
UD
3932012-01-01 Ulrich Drepper <drepper@gmail.com>
394
395 * posix/getconf.c: Update copyright year.
396 * nss/getent.c: Likewise.
a316c1f6 397 * nss/makedb.c: Likewise.
81fb02b0
UD
398 * iconv/iconvconfig.c: Likewise.
399 * iconv/iconv_prog.c: Likewise.
400 * elf/ldconfig.c: Likewise.
a316c1f6
UD
401 * elf/pldd.c: Likewise.
402 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
403 * catgets/gencat.c: Likewise.
404 * csu/version.c: Likewise.
405 * elf/ldd.bash.in: Likewise.
406 * elf/sprof.c (print_version): Likewise.
407 * locale/programs/locale.c: Likewise.
408 * locale/programs/localedef.c: Likewise.
a316c1f6 409 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
410 * nscd/nscd.c (print_version): Likewise.
411 * debug/xtrace.sh: Likewise.
412 * malloc/memusage.sh: Likewise.
413 * malloc/mtrace.pl: Likewise.
414 * debug/catchsegv.sh: Likewise.
415
2ba92745
JJ
4162011-12-30 Jakub Jelinek <jakub@redhat.com>
417
418 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
419 pure attribute.
420
dadebdae
UD
4212011-12-24 Ulrich Drepper <drepper@gmail.com>
422
d3761ebc 423 [BZ #13533]
db6af3eb
UD
424 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
425 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
426 transformations.
427 * iconv/gconv_int.h: Likewise.
428 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
429 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
430 from libc for GLIBC_2.16.
431 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
432 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
433 * wcsmbs/uchar.h: Really define mbstate_t.
434 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
435 * wcsmbs/c16rtomb.c: New file.
436 * wcsmbs/mbrtoc16.c: New file.
437 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
438 for C/POSIX locale.
439 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
440 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
441
dadebdae
UD
442 * wcsmbs/wchar.h: Add missing __restrict.
443
67371b56
UD
4442011-12-23 Ulrich Drepper <drepper@gmail.com>
445
74033a25
UD
446 [BZ #13532]
447 * time/Makefile (routines): Add timespec_get.
448 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
449 * time/time.h: Define TIME_UTC and declare timespec_get. Define
450 timespec for ISO C11.
451 * time/timespec_get.c: New file.
452 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
453 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
454
380d7e87
UD
455 [BZ #13531]
456 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
457 * stdlib/stdlib.h: Declare aligned_alloc.
458 * Versions.def: Add GLIBC_2.16 for libc.
459 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
460
4e9e7a35
UD
461 [BZ 13527]
462 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
463 ISO C11.
464
380d7e87 465 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
466 code.
467
03a71829
UD
468 [BZ #13528]
469 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
470
839e283e
UD
471 [BZ #13529]
472 * assert/assert.h (static_assert): Define.
473
ce5294e2 474 * version.h: Update for 2.16 development version.
90fa7312 475
8d44e150 476 [BZ #13526]
d7809905
UD
477 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
478 _ISOC11_SOURCE.
479
c0da14cd
UD
480 * version.h (RELEASE): Bump for 2.15 release.
481 * include/features.h (__GLIBC_MINOR__): Bump to 15.
482
530a3249
MP
483 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
484 Patch by Marek Polacek <mpolacek@redhat.com>.
485
67371b56
UD
486 * bits/byteswap.h: Protect long long constants with __extension__.
487 * sysdeps/i386/bits/byteswap.h: Likewise.
488 * sysdeps/ia64/bits/byteswap.h: Likewise.
489 * sysdeps/s390/bits/byteswap.h: Likewise.
490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
491
15db4de1
LD
4922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
493
494 [BZ #13540]
bbe315ea
LD
495 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
496 destination buffer.
15db4de1
LD
497 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
498
2b2596b1
MP
4992011-12-23 Marek Polacek <polacek@redhat.com>
500
501 * elf/dl-addr.c (determine_info): Add inline keyword.
502 * elf/tst-auditmod4b.c (check_avx): Likewise.
503 * elf/tst-auditmod6b.c (check_avx): Likewise.
504 * elf/tst-auditmod6c.c (check_avx): Likewise.
505 * elf/tst-auditmod7b.c (check_avx): Likewise.
506
70c6c246
UD
5072011-12-23 Ulrich Drepper <drepper@gmail.com>
508
509 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
510 !__SSE_MATH__.
511
c044cf14
LD
5122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
513
15db4de1 514 [BZ #13540]
c044cf14
LD
515 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
516 processing for last bytes.
517
6b13d9d9
BH
5182011-08-06 Bruno Haible <bruno@clisp.org>
519
d455f537
BH
520 [BZ #13061]
521 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
522 U+0385, not to U+1FEE.
523
6b13d9d9
BH
524 [BZ #13062]
525 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
526 entry for U+00A5 U+0301.
527
db910efd
UD
5282011-12-22 Ulrich Drepper <drepper@gmail.com>
529
27deeafc
UD
530 [BZ #13166]
531 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
532 buffer for the output is too small.
533
aed9d171
UD
534 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
535 optimization.
536
db910efd
UD
537 [BZ #13185]
538 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
539 SSE flags if possible.
540
2bd779ae
LD
5412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
542
e7f9dac3 543 [BZ #13540]
2bd779ae
LD
544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
545 processing for last bytes.
546
154bfc16
JM
5472011-12-22 Joseph Myers <joseph@codesourcery.com>
548
549 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
550 (syscall-list-default-options, syscall-list-default-condition)
551 (syscall-list-includes): Define.
552 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
553 list of ABIs and options and #if conditions for each ABI. Do not
554 handle common syscalls between ABIs specially.
555 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
556 Remove.
557 (syscall-list-variants, syscall-list-32bit-options)
558 (syscall-list-32bit-condition, syscall-list-64bit-options)
559 (syscall-list-64bit-condition): Define.
560 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
561 (syscall-list-variants, syscall-list-32bit-options)
562 (syscall-list-32bit-condition, syscall-list-64bit-options)
563 (syscall-list-64bit-condition): Define.
564 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
565 Remove.
566 (syscall-list-variants, syscall-list-32bit-options)
567 (syscall-list-32bit-condition, syscall-list-64bit-options)
568 (syscall-list-64bit-condition): Define.
569 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
570 Remove.
571 (syscall-list-variants, syscall-list-32bit-options)
572 (syscall-list-32bit-condition, syscall-list-64bit-options)
573 (syscall-list-64bit-condition): Define.
574
21eaf3a5
UD
5752011-12-22 Ulrich Drepper <drepper@gmail.com>
576
16c6f992
UD
577 * locale/iso-639.def: Add brx entry.
578
41043168
UD
579 [BZ #13328]
580 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
581 Proposed by Mariusz_Cukr <marcukr@op.pl>.
582
21eaf3a5
UD
583 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
584 __feraiseexcept_renamed.
585
e3a851a2
UD
5862011-12-21 Ulrich Drepper <drepper@gmail.com>
587
4920765e
UD
588 [BZ #13538]
589 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
590 EPOLLET with unsigned values.
591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
592 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
593
e3a851a2
UD
594 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
595 to large cancellation.
596 * math/s_cacoshf.c: Likewise.
597 * math/s_cacoshl.c: Likewise.
598
b27e24b8
RK
5992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
600
601 [BZ #13305]
aebefeee 602 [BZ #12786]
b27e24b8
RK
603 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
604 * math/s_cacoshf.c: Likewise.
605 * math/s_cacoshl.c: Likewise.
606
ee190f67
UD
6072011-12-21 Ulrich Drepper <drepper@gmail.com>
608
609 [BZ #13439]
610 * iconv/gconv.h: Define __GCONV_SWAP.
611 * iconvdata/unicode.c: The swap bit must be stored in __flags.
612 * iconvdata/utf-16.c: Likewise.
613 * iconvdata/utf-32.c: Likewise.
614
707f25df
AS
6152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
616
617 [BZ #13524]
618 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
619 numerator after shifting it by one limb.
620
d2daaa1e
RÁE
6212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
622
623 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
624 under [__USE_EXTERN_INLINES].
625
a4647e72
UD
6262011-12-17 Ulrich Drepper <drepper@gmail.com>
627
628 [BZ #13446]
629 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
630
f0b264f1
AZ
6312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632
633 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
634 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
635 optimized code.
636 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
637 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
638 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
639 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
640 for strncasecmp/strncasecmp_l compilation.
641 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
642 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
643
8ef4f244
MP
6442011-12-08 Marek Polacek <mpolacek@redhat.com>
645
646 [BZ #13484]
647 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
648 of __asm__.
649
97ac2654
UD
6502011-12-17 Ulrich Drepper <drepper@gmail.com>
651
652 [BZ #13506]
653 * time/tzfile.c (__tzfile_read): Check values from file header.
654
91d2a845
WS
6552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
656
657 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
658 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
659 * powerpc/powerpc32/dl-start.S: Likewise.
660 * powerpc/powerpc32/elf/start.S: Likewise.
661 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
662 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
663 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
664 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
665 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
666 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
667 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
668 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
669 * powerpc/powerpc32/fpu/s_round.S: Likewise.
670 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
671 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
672 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
673 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
674 * powerpc/powerpc32/memset.S: Likewise.
675 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
676 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
677 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
678 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
679 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
680 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
681 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
682 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
683 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
684 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
685 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
686 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
687 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
688
a1267ba1
AZ
6892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690
691 * math/libm-test.inc: Added more nearbyint tests.
692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
693 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
694 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
695 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
696
ad8ac1bd
RL
6972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
698
699 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
700 FD_CLOEXEC.
701
1d3e4b61
UD
7022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
703
704 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
705 Add wcscpy-ssse3 wcscpy-c.
706 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
707 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
708 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
709 * sysdeps/x86_64/wcschr.S: New file.
710 * sysdeps/x86_64/wcsrchr.S: New file.
711 * string/test-strcmp.c: Remove checking of wcscmp function for
712 wrong alignments.
713 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
714 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
715 wcsrchr-sse2 wcsrchr-c.
716 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
717 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
718 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
719 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
720 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
721 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
722 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
723 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
724 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
725 * wcsmbc/wcschr.c (WCSCHR): New macro.
726
5b330a2d
UD
7272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
728
729 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
730 * wcsmbs/test-wcsrchr.c: New file.
731 * string/test-strrchr.c: Add wcsrchr support.
732 (WIDE): New macro.
733 * wcsmbs/test-wcscpy.c: New file.
734 * string/test-strcpy.c: Add wcscpy support.
735 (WIDE): New macro.
26428b7c 736
f039c043
UD
7372011-12-10 Ulrich Drepper <drepper@gmail.com>
738
739 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
740 the inner loop.
741
850fb039
AS
7422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
743
744 [BZ #13472]
745 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
746
4efbd5cb
UD
7472011-12-04 Ulrich Drepper <drepper@gmail.com>
748
52ff5dd0 749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 750 Minor optimizations.
52ff5dd0 751
4efbd5cb
UD
752 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
753 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
754 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
755
8a426e12
UD
7562011-12-03 Ulrich Drepper <drepper@gmail.com>
757
aff2453d
UD
758 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
759 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
760 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
761 for gcc to avoid warnings.
762 * inet/Makefile (tests): Add tst-checks.
763 * inet/tst-checks.c: New file.
764
765 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
766 warning.
767
768 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
769 __wmemcmp_sse2.
770
771 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
772 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
773
8a426e12
UD
774 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
775
9bea3473
UD
7762011-12-02 Ulrich Drepper <drepper@gmail.com>
777
3a965496
UD
778 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
779 problem.
780
9bea3473
UD
781 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
782
f101631b
UD
7832011-11-29 Joseph Myers <joseph@codesourcery.com>
784
785 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
786 conditional on GCC version.
787 (__arch_compare_and_exchange_val_8_acq)
788 (__arch_compare_and_exchange_val_16_acq)
789 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
790 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
791 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
792
a98275aa
UD
7932011-12-02 Joseph Myers <joseph@codesourcery.com>
794
795 * sysdeps/sh/backtrace.c: New file.
796
d4cc29a2
AS
7972011-12-02 Andreas Schwab <schwab@redhat.com>
798
799 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
800 parenthesis.
801
6257af2d
AS
8022011-12-01 Andreas Schwab <schwab@redhat.com>
803
804 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
805 falling back to utime.
806
b5f44c1a
AS
8072011-11-30 Andreas Schwab <schwab@redhat.com>
808
809 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
810 expectations for float.
811
f3a6cc0a
AS
8122011-11-29 Andreas Schwab <schwab@redhat.com>
813
814 * locale/weight.h (findidx): Add parameter len.
815 * locale/weightwc.h (findidx): Likewise.
816 * posix/fnmatch_loop.c (FCT): Adjust caller.
817 * posix/regcomp.c (build_equiv_class): Likewise.
818 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
819 * posix/regexec.c (check_node_accept_bytes): Likewise.
820 * string/strcoll_l.c (STRCOLL): Likewise.
821 * string/strxfrm_l.c (STRXFRM): Likewise.
822
9d65ea3a
UD
8232011-11-17 Ulrich Drepper <drepper@gmail.com>
824
825 * Makefile.in: Remove CVSOPT handling.
826 * configure.in: Remove use of AC_REVISION.
827 * iconvdata/Makefile (distribute): No need to filter out CVS.
828 * scripts/list-sources.sh: Remove CVS, subversion and monotone
829 handling.
830
5583a086
AS
8312011-11-16 Andreas Schwab <schwab@redhat.com>
832
833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
834 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
835 [USE_AS_STRNCASECMP_L]: Likewise.
836 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
837 NO_TLS_DIRECT_SEG_REFS.
838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
839 Fix argument offsets for non-PIC.
840 [USE_AS_STRNCASECMP_L]: Likewise.
841 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
842 NO_TLS_DIRECT_SEG_REFS.
843
d62a8200
UD
8442011-11-15 Ulrich Drepper <drepper@gmail.com>
845
9d65ea3a 846 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
847 O_CLOEXEC.
848 * locale/loadlocale.c (_nl_load_locale): Likewise.
849
09f93bd3
AS
8502011-11-15 Andreas Schwab <schwab@redhat.com>
851
446514f9
AS
852 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
853 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
854 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
855 (SYSCALL_GETTIME): Set errno on error.
856
09f93bd3
AS
857 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
858 count references to noai6ai_cached.
859
312be3f9
UD
8602011-11-15 Ulrich Drepper <drepper@gmail.com>
861
862 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
863
864 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
865 FD_CLOEXEC for /proc/self/maps.
866
867 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
868 FD_CLOEXEC for /proc/meminfo.
869
870 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
871 gai.conf.
872
873 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
874 FD_CLOEXEC for given file.
875
876 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
877
878 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
879 FD_CLOEXEC for /etc/hosts.
880 (_gethtent): Likewise.
881
882 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
883
884 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
885 cancellation and set FD_CLOEXEC for /etc/netgroup.
886
887 * nss/nss_files/files-key.c (search): Don't allow cancellation when
888 reading /etc/publickey.
889
890 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
891 allow cancellation when reading /etc/group.
892
893 * nss/nss_files/files-alias.c (internal_setent): Don't allow
894 cancellation.
895 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
896
897 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
898 when using data file.
899
900 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
901
902 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
903 (write_nis_obj): Use "c" and "e" in fopen.
904
905 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
906
907 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
908
909 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
910
911 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
912
913 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
914 locale.alias.
915
916 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
917
918 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
919
920 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
921
922 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
923 file parsing and set FD_CLOEXEC.
924
82af0fa8
UD
9252011-11-14 Ulrich Drepper <drepper@gmail.com>
926
927 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
928
a5fb313c
AS
9292011-11-14 Andreas Schwab <schwab@redhat.com>
930
931 * malloc/arena.c (arena_get2): Don't call reused_arena when
932 _int_new_arena failed.
933
6abf3465
UD
9342011-11-14 Ulrich Drepper <drepper@gmail.com>
935
936 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
937 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
938 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
939 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
940 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
942 to compile strcasecmp and strncasecmp.
943 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
944 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
945
946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
947
76e3966e
UD
9482011-11-13 Ulrich Drepper <drepper@gmail.com>
949
950 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
951 locale-defines.sym to gen-as-const-headers.
952 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
953 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
955 to compile strcasecmp and strncasecmp.
956 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
957 strcasecmp_l and strncasecmp_l.
958 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
959 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
960 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
961 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
962 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
964 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
965 * sysdeps/i386/i686/multiarch/strncase.S: New file.
966 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
967 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
968 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
969
ab26144e
UD
9702011-11-12 Ulrich Drepper <drepper@gmail.com>
971
7edb22ef
UD
972 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
973 result of SYSDEP_GETTIME_CPU to retval.
974 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
975 parameter list to macro. Remove trailing semicolon. Adjust users.
976
9694fc44
UD
977 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
978 variable.
979
8ad89ef8
UD
980 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
981 mantissa words.
982 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
983
0c822ef9
UD
984 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
985 from unused variable.
986
874e0564
UD
987 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
988 DWARF definitions.
989 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
990 for assembling.
991
3a2edc79
UD
992 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
993 over namespaces.
994
f3c2577f
UD
995 * sunrpc/rpc_prot.c (rejected): Fix case value.
996
294ce126
UD
997 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
998 unsigned long long int to avoid warnings in shift.
999
5e2b63c6
UD
1000 * posix/regex_internal.c (re_string_reconstruct): Actually use result
1001 of use of trans.
1002 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
1003 variable tmp.
1004
e7f4b08e
UD
1005 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
1006 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1007 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1008
ab26144e
UD
1009 * nis/nis_table.c (nis_list): Use variable of correct type for
1010 result of __follow_path call.
1011
8a6d5255
AZ
10122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1013
1014 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
1015 of math functions ceil, trunc, floor, round, and sqrt, when
1016 avaliable on the platform.
1017 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
1018 name clash.
1019 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1020 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1021 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1022
aaddc98c
MP
10232011-10-30 Marek Polacek <mpolacek@redhat.com>
1024
1025 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
1026 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1027
95b7042b
RM
10282011-11-11 Roland McGrath <roland@hack.frob.com>
1029
1030 * include/unistd.h: Fix __readlink return type.
1031 Reported by Chris Metcalf <cmetcalf@tilera.com>.
1032
57769839
UD
10332011-11-11 Ulrich Drepper <drepper@gmail.com>
1034
1035 * stdlib/ucontext.h: Undo last change for makecontext.
1036
edc5984d
AS
10372011-11-11 Andreas Schwab <schwab@redhat.com>
1038
98591e58
AS
1039 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
1040
edc5984d
AS
1041 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
1042 * setjmp/setjmp.h: Mark functions as non-leaf.
1043 * setjmp/bits/setjmp2.h: Likewise.
1044 * stdlib/ucontext.h: Likewise.
1045
77cdc054
AS
10462011-11-10 Andreas Schwab <schwab@redhat.com>
1047
1048 * malloc/arena.c (_int_new_arena): Don't increment narenas.
1049 (reused_arena): Don't check arena limit.
1050 (arena_get2): Atomically check arena limit.
1051
fe72eebd
UD
10522011-11-08 Ulrich Drepper <drepper@gmail.com>
1053
5f078c32
UD
1054 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
1055 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
1056
fe72eebd
UD
1057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
1058 instructions.
1059
ae1bc2fa
AS
10602011-11-07 Andreas Schwab <schwab@redhat.com>
1061
7583a88d
AS
1062 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
1063 handler when locking.
1064
ae1bc2fa
AS
1065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1066 Fix size of allocated buffer.
1067
10fb0bfa
AS
10682011-11-04 Andreas Schwab <schwab@redhat.com>
1069
998832a4
AS
1070 [BZ #10103]
1071 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
1072 declarations for long double functions.
1073 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
1074
10fb0bfa
AS
1075 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
1076
3d7ba52b
AS
10772011-11-03 Andreas Schwab <schwab@redhat.com>
1078
a9ae54a1
AS
1079 * nscd/nscd.c (main): Don't start AVC thread until credentials are
1080 installed.
1081
3d7ba52b
AS
1082 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
1083 is disabled.
1084
bc8db248
ST
10852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1086
1087 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
1088
45b96dd6
AS
10892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
1090
647776f6
AS
1091 * include/alloca.h (stackinfo_alloca_round): Define.
1092 (extend_alloca): Use it.
1093 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
1094 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
1095 here.
1096
d91a8b93
AS
1097 * scripts/check-local-headers.sh: Ignore libaudit.h.
1098
45b96dd6
AS
1099 * nscd/Makefile (extra-objs): Make recursively expanded.
1100
432d41ce
UD
11012011-11-01 Ulrich Drepper <drepper@gmail.com>
1102
34372fc6
UD
1103 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
1104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1105
fadb59f8
UD
1106 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
1107 * posix/tst-rfc3484-2.c: Likewise.
1108 * posix/tst-rfc3484-3.c: Likewise.
1109
78239589
UD
1110 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1111 process_vm_writev.
1112 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
1113 process_vm_writev.
1114 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
1115 process_vm_writev from libc using GLIBC_2.15 version.
1116
432d41ce
UD
1117 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
1118
02f9c6cf
PP
11192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1120
1121 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
1122 stack usage.
1123
3a2c0242
UD
11242011-10-31 Ulrich Drepper <drepper@gmail.com>
1125
f4ec4833
UD
1126 [BZ #13367]
1127 * nss/getent.c (initgroups_keys): Show error message in case no group
1128 names are given.
1129
3a2c0242
UD
1130 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
1131 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
1132 __bump_nl_timestamp.
1133 * nscd/connections (nscd_init): When host database is served open
1134 netlink socket and request notification about configuration changes.
1135 (main_loop_poll): Track netlink file descriptor and bump timestamp
1136 in case data becomes available.
1137 (main_loop_epoll): Likewise.
1138 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
1139 (database_pers_head): Add extra_data fileds.
1140 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
1141 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
1142 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
1143 Adjust caller.
1144 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
1145 in6ai data, call __free_in6ai.
1146 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
1147 Add -DHAVE_NETLINK.
1148 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
1149 interface information. Reuse previous data if netlink timestamp
1150 is not changed.
1151 (__bump_nl_timestamp): New function.
1152 (__free_in6ai): New function.
1153
636064eb
UD
11542011-10-30 Ulrich Drepper <drepper@gmail.com>
1155
1156 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
1157 close_not_cancel_no_status here.
1158 (__check_pf): Reorganize code a bit to not call close twice if OOM.
1159
9beb2334
UD
11602011-10-29 Ulrich Drepper <drepper@gmail.com>
1161
6ef76f3b
UD
1162 [BZ #13276]
1163 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
1164 return value.
1165
0ffc4f3e 1166 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
1167 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
1168 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
1169
cb95113e
UD
11702011-07-03 Andreas Jaeger <aj@suse.de>
1171
1172 [BZ #10709]
1173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
1174 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
1175 * math/libm-test.inc (sin_test): Add test case.
1176
a1b560ff
UD
11772011-10-29 Ulrich Drepper <drepper@gmail.com>
1178
c9aaface
UD
1179 [BZ #13337]
1180 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
1181 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1182
d272e7f1
UD
1183 * elf/chroot_canon.c (chroot_canon): Cleanups.
1184
1bc33071
UD
1185 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
1186
1760874d
TJ
1187 [BZ #13335]
1188 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
1189 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1190
51d91b18
UD
1191 * string/test-strchr.c: Make usable for strchrnul testing.
1192 * string/test-strchrnul.c: New file.
1193 * string/Makefile (strop-tests): Add strchrnul.
1194
a1b560ff 1195 * po/it.po: Update from translation team.
b611fb81 1196 * po/es.po: Likewise.
a1b560ff 1197
a5b81e1f
UD
11982011-10-28 Ulrich Drepper <drepper@gmail.com>
1199
fd52bc6d
UD
1200 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
1201 the three constants needed as parameters. Drop the others.
1202 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
1203 __m128i_strloadu_tolower.
52e4b9eb
UD
1204 Create and initialize variable zero and use it in all the places
1205 where _mm_setzero_si128 was used.
fd52bc6d 1206
a5b81e1f
UD
1207 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
1208 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
1209 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
1210 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
1211 anymore.
1212 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
1213 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
1214 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
1215 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
1216 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
1217 __mpranred, __mptan.
1218 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
1219 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
1220 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
1221 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
1222 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
1223 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
1224 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
1225 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
1226 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
1227
b4343346
AS
12282011-10-28 Andreas Schwab <schwab@redhat.com>
1229
0c92d8a8
AS
1230 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
1231 redefine if SHARED.
1232 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
1233
b4343346
AS
1234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
1235 wide char related routines to wcsmbs subdir.
1236
3871f58f
AS
12372011-10-27 Andreas Schwab <schwab@redhat.com>
1238
1239 [BZ #13344]
1240 * misc/sys/cdefs.h (__THROWNL): Define.
1241 * posix/unistd.h: Use __THREADNL instead of __THREAD
1242 for memory synchronization functions.
1243
94d44d9f
RM
12442011-10-26 Roland McGrath <roland@hack.frob.com>
1245
21b64b15 1246 [BZ #13349]
94d44d9f
RM
1247 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
1248 doesn't exist.
1249 * manual/stdio.texi (Obstack Streams): Node removed.
1250
f6ce9294
AS
12512011-10-26 Andreas Schwab <schwab@redhat.com>
1252
80479147
AS
1253 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
1254 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1256
f6ce9294
AS
1257 * math/math_private.h (math_force_eval): Allow non-addressable
1258 arguments.
1259 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
1260
618280a1
UD
12612011-10-25 Ulrich Drepper <drepper@gmail.com>
1262
e0016b11
UD
1263 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
1264 file is not needed.
1265
1266 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
1267 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1268 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1269 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1270 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1271 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1272 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1273 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
1274 Add AVX variants.
1275 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
1276 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
1277 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
1278 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
1279 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
1280 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
1281 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
1282 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
1283 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
1284 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
1285 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
1286 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
1287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
1288 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
1289 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
1290 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
1291 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
1292 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
1293 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
1294
1295 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
1296 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
1297
618280a1
UD
1298 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
1299 place. Use VEX encoding when compiling for AVX.
1300
37822576
AS
13012011-10-25 Andreas Schwab <schwab@redhat.com>
1302
1f1e1947
AS
1303 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
1304 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1305
37822576
AS
1306 * string/test-strchr.c (do_test): Don't generate NUL bytes.
1307
31ea014d
UD
13082011-10-25 Ulrich Drepper <drepper@gmail.com>
1309
d7826aa1 1310 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 1311 useless if() expression.
d7826aa1
UD
1312 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1313 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1314 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1315 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1316 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1317 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1318 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1319 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1320 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1321 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1322 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1323 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1324 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1325 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1326 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1327 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1328 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1330 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1331
31ea014d
UD
1332 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
1333
16437fec
AS
13342011-10-25 Andreas Schwab <schwab@redhat.com>
1335
1336 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
1337 condition.
1338 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1339
31d3cc00
UD
13402011-10-25 Ulrich Drepper <drepper@gmail.com>
1341
1342 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
1343 .text section. Avoid duplicate constants.
1344 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1346 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1352 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1353 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
1354 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1355 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1356 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1357 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1358 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1359 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1360 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1361 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1362 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1364 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1365 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1366 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1367 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
1368 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
1369 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
1370 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
1371 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
1372 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
1373 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1374 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
1375 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1376 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1377 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
1378 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
1379 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1380 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1381 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
1382 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
1383 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
1384 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
1385 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
1386 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
1387 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1388 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1389
58985aa9
UD
13902011-10-24 Ulrich Drepper <drepper@gmail.com>
1391
202c9deb
UD
1392 * sysdeps/x86_64/dla.h: Move to ...
1393 * sysdeps/x86_64/fpu/dla.h: ...here.
1394 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
1395 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 1396
af968f62
UD
1397 * config.make.in: Add have-mfma4 entry.
1398 * configure.in: Substitute libc_cv_cc_fma4.
1399 * math/Makefile (dbl-only-routines): Add sincostab.
1400 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
1401 Use __sincostab not sincos.
1402 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
1403 name is a macro.
1404 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1405 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
1408 using __copysign.
1409 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
1410 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
1411 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
1412 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
1413 and __inv.
1414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
1415 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
1416 __copysign.
1417 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
1418 define aliases when function name is a macro.
1419 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
1420 sysdeps/ieee754/dbl-64/sincos.tbl.
1421 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
1422 fma4-enabled routines.
1423 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
1424 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
1425 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
1426 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
1427 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
1428 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
1429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
1430 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
1431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
1432 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
1433 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
1434 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
1435 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
1436 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
1437 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
1438 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
1439 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
1440 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
1441 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
1442 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
1443 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
1444 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
1445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
1446 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
1447 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
1448 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
1449 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
1450 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
1451 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
1452 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
1453
58985aa9
UD
1454 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
1455 rename.
1456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1464
a201fbcf
AS
14652011-10-24 Andreas Schwab <schwab@redhat.com>
1466
1467 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
1468
fc2ee42a
LD
14692011-10-23 Ulrich Drepper <drepper@gmail.com>
1470
bb3129bd
UD
1471 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
1472
0275fff8
UD
1473 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
1474 prediction.
1475 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
1476
2fa2ae85
UD
1477 * string/strnlen.c: Don't define STRNLEN, reverse logic.
1478 Remove unused variable magic_bits.
1479 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
1480
fc2ee42a
LD
1481 * string/strnlen.c: Define and use STRNLEN macro.
1482 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
1483 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
1484 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
1485 * wcsmbs/wcslen.c: Define and use WCSLEN.
1486 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
1487 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
1488 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
1489 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
1490 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
1491 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
1492 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1493
ce7dd29f
LD
14942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1495
1496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1497 strnlen-sse2-no-bsf.
1498 Rename strlen-no-bsf to strlen-sse2-no-bsf.
1499 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
1500 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
1501 Add strnlen support.
1502 (USE_AS_STRNLEN): New macro.
1503 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
1504 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
1505 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
1506 * sysdeps/x86_64/wcslen.S: New file.
1507
979c70a3
MZ
15082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1509
1510 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1511 XMM-moves are used for copying on small sizes.
1512
2d09f82f
LD
15132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1514
1515 * wcsmbs/Makefile (strop-tests): Add wcschr.
1516 * wcsmbs/test-wcschr.c: New file.
1517 * string/test-strchr.c: Update.
1518 Add wcschr support.
1519 (WIDE): New macro.
1520
619fccca
LD
15212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1522
2d09f82f 1523 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
1524 * wcsmbs/test-wcslen.c: New file.
1525 * string/test-strlen.c: Update.
1526 Add wcslen support.
1527 (WIDE): New macro.
1528
09f699ea
UD
15292011-10-23 Ulrich Drepper <drepper@gmail.com>
1530
1531 * po/it.po: Update from translation team.
1532
95584d3b
LD
15332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1534
1535 * sysdeps/x86_64/wcscmp.S: Update.
1536 Fix wrong comparison semantics.
1537 wcscmp shall use signed comparison not unsigned.
1538 Don't use substraction to avoid overflow bug.
1539 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1540 * wcsmbc/wcscmp.c: Likewise.
1541 * string/test-strcmp.c: Likewise.
1542 Add new tests to check cases with negative values.
1543
c8b3296b
UD
15442011-10-23 Ulrich Drepper <drepper@gmail.com>
1545
1546 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
1547 * sysdeps/x86_64/dla.h: ...here. New file.
1548 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
1549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1553 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1555 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1557
246ad57a
AS
15582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
1559
1560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
1561 __ynl_finite aliases.
1562
a1a87169
UD
15632011-10-22 Ulrich Drepper <drepper@gmail.com>
1564
0d355eb7
UD
1565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1566
a1a87169
UD
1567 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
1568 define DLA_FMA.
1569 [DLA_FMA] (EMULV): Use DLA_FMA.
1570 [DLA_FMA] (MUL12): Use EMULV.
1571 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
1572 that are not needed.
1573 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1578 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1580
ee2aafe0
AS
15812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
1582
1583 * math/s_nan.c: Undef __nan.
1584 * math/s_nanf.c: Undef __nanf.
1585 * math/s_nanl.c: Undef __nanl.
1586 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
1587 "math_private.h".
1588
bc62c2fb
UD
15892011-10-22 Ulrich Drepper <drepper@gmail.com>
1590
77425c63
UD
1591 * math/s_catan.c: Add branch predictions.
1592 * math/s_catanf.c: Likewise.
1593 * math/s_catanh.c: Likewise.
1594 * math/s_catanhf.c: Likewise.
1595 * math/s_catanhl.c: Likewise.
1596 * math/s_catanl.c: Likewise.
1597 * math/s_cexp.c: Likewise.
1598 * math/s_cexpf.c: Likewise.
1599 * math/s_cexpl.c: Likewise.
1600 * math/s_clog.c: Likewise.
1601 * math/s_clog10.c: Likewise.
1602 * math/s_clog10f.c: Likewise.
1603 * math/s_clog10l.c: Likewise.
1604 * math/s_clogf.c: Likewise.
1605 * math/s_clogl.c: Likewise.
1606 * math/s_csqrt.c: Likewise.
1607 * math/s_csqrtf.c: Likewise.
1608 * math/s_csqrtl.c: Likewise.
1609 * math/s_ctanf.c: Likewise.
1610 * math/s_ctanh.c: Likewise.
1611 * math/s_ctanhf.c: Likewise.
1612 * math/s_ctanhl.c: Likewise.
1613 * math/s_ctanl.c: Likewise.
1614
bc62c2fb
UD
1615 * math/math_private.h: Define __nan, __nanf, __nanl.
1616 * math/s_cacosh.c: Include <math_private.h>.
1617 * math/s_cacoshl.c: Likewise.
1618 * math/s_casinh.c: Likewise.
1619 * math/s_casinhf.c: Likewise.
1620 * math/s_casinhl.c: Likewise.
1621 * math/s_ccos.c: Rely entire on ccosh.
1622 * math/s_ccosf.c: Rely entire on ccoshf.
1623 * math/s_ccosl.c: Rely entirely on ccoshl.
1624 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
1625 Remove tests for FE_INVALID.
1626 * math/s_ccoshf.c: Likewise.
1627 * math/s_ccoshl.c: Likewise.
1628 * math/s_csin.c: Likewise.
1629 * math/s_csinf.c: Likewise.
1630 * math/s_csinh.c Likewise.
1631 * math/s_csinhf.c: Likewise.
1632 * math/s_csinhl.c: Likewise.
1633 * math/s_csinl.c: Likewise.
1634 * math/s_ctan.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
1636 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
1637 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
1638
8ec250a4
UD
16392011-10-21 Ulrich Drepper <drepper@gmail.com>
1640
c196fed8
UD
1641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
1642 compilation problems.
1643
8ec250a4
UD
1644 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
1645 __builtin_expect.
1646
8d4f46c6
UD
16472011-10-20 Ulrich Drepper <drepper@gmail.com>
1648
ed72b654
UD
1649 * sysdeps/i386/configure.in: Test for -mfma4 option.
1650 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
1651 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
1652 COMMON_CPUID_INDEX_80000001.
1653 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
1654 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
1655 use it if FMA3 is not supported.
1656 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1657
8d4f46c6
UD
1658 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
1659 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1660
d45c60c2
AS
16612011-10-20 Andreas Schwab <schwab@redhat.com>
1662
1663 [BZ #12892]
1664 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
1665 it would create a cycle with a link time dependency.
1666
d9a4d2ab
UD
16672011-10-19 Ulrich Drepper <drepper@gmail.com>
1668
855d1560
UD
1669 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
1670 instruction.
1671 * string/Makefile (strop-tests): Add rawmemchr.
1672 * string/test-rawmemchr.c: New file.
1673
d9a4d2ab
UD
1674 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
1675 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
1676 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
1677 when compiling str{,n}casecmp and when AVX is available. Hook up
1678 new optimized code in initializers.
1679
8f3b1ffe
AS
16802011-10-19 Andreas Schwab <schwab@redhat.com>
1681
1682 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
1683 __feraiseexcept instead of feraiseexcept.
1684
d38f1dba
UD
16852011-10-18 Ulrich Drepper <drepper@gmail.com>
1686
d9a8d0ab
UD
1687 * math/math_private.h: Define defaults for libc_fetestexcept and
1688 libc_feupdateenv.
1689 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
1690 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
1691 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1692 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1693 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1694 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1695 libc_fetestexcept and libc_feupdateenv.
1696
4855e3dd
UD
1697 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
1698 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
1699 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
1700 * sysdeps/x86_64/fpu/math_private.h: Define special version of
1701 libc_feholdexcept_setround.
1702
581d30e3
UD
1703 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
1704 Add s_nearbyint-c and s_nearbyintf-c.
1705 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
1706 nearbyintf inlines.
1707 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
1708 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
1709 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
1710 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
1711
d38f1dba
UD
1712 * math/math_private.h: Define defaults for libc_fegetround,
1713 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
1714 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
1715 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
1716 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
1717 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
1718 standard functions.
1719 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1720 Remove comments and hacks for old compiler versions.
1721 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1722 libc_fegetround, libc_fesetround, libc_feholdexcept, and
1723 libc_feholdexceptl.
1724
caa6c9d8
AS
17252011-10-18 Andreas Schwab <schwab@redhat.com>
1726
1727 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
1728 (__feraiseexcept_renamed): Add __NTH.
1729 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
1730 namespace violations.
1731
97c066e6
UD
17322011-10-17 Ulrich Drepper <drepper@gmail.com>
1733
99ce7b04
UD
1734 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
1735
1004d182
UD
1736 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
1737
228a984d
UD
1738 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
1739 recently added interfaces.
1740 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
1741
c8553a6a
UD
1742 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
1743 about macro parameter expansion.
1744
ed22dcf6
UD
1745 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
1746 __NO_MATH_INLINES is defined. Cleanups.
1747
1748 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
1749 and __floorf is target has SSE4.1.
1750 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
1751 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
1752 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
1753 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
1754
b171c137
UD
1755 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
1756 name.
1757 (floorf): Likewise.
1758
97c066e6
UD
1759 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
1760
629f62ef
AS
17612011-10-17 Andreas Schwab <schwab@redhat.com>
1762
49a43d80
AS
1763 * misc/sys/cdefs.h: Fix last change.
1764
629f62ef
AS
1765 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
1766 database lookup.
1767
e453f6cd
UD
17682011-10-16 Ulrich Drepper <drepper@gmail.com>
1769
aa78043a
UD
1770 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
1771
ad0f5cad
UD
1772 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
1773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1774 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1775 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1777 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1779 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1780 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1781 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
1782 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
1783 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
1784 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
1785 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
1786 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
1787 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
1788 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
1789 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
1790 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
1791 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
1792 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
1793 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
1794
1795 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
1796 ceil, ceilf, floor, floorf.
1797
1798 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
1799 Perform IRELATIVE relocations last.
1800
e453f6cd
UD
1801 * elf/do-rel.h: Add another parameter nrelative, replacing the
1802 local variable with the same name. Change name of the function
1803 to end in Rel or Rela (uppercase).
1804 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
1805 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
1806 elf_dynamic_do_##reloc function.
1807
fd5bdc09
UD
18082011-10-15 Ulrich Drepper <drepper@gmail.com>
1809
79b195b5
UD
1810 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
1811 is sufficient, at least on modern CPUs.
1812
d4a28569
UD
1813 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
1814
b61099b5
UD
1815 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
1816 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
1817
bcf01e6d
UD
1818 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
1819 __expl_finite.
1820 * math/bits/math-finite.h: Add entries for exp.
1821 * math/e_expl.c: Add __*_finite alias.
1822 * sysdeps/i386/fpu/e_exp.S: Likewise.
1823 * sysdeps/i386/fpu/e_expf.S: Likewise.
1824 * sysdeps/i386/fpu/e_expl.c: Likewise.
1825 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1826 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1829 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
1830 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1831 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1832
ba1a0d59
UD
1833 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
1834 is sufficient, at least on modern CPUs.
1835
fd5bdc09
UD
1836 * ctype/ctype-info.c (__ctype_init): Define.
1837 * include/ctype.h (__ctype_init): Declare.
1838 (__ctype_b_loc): The variable is always initialized.
1839 (__ctype_toupper_loc): Likewise.
1840 (__ctype_tolower_loc): Likewise.
1841 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
1842 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
1843
7872cfb0
AS
18442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
1845
b468825a
AS
1846 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
1847
7872cfb0
AS
1848 * configure.in: Also look in $cxxmachine/include for C++ system
1849 headers.
1850
be13f7bf
LD
18512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1852
1853 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
1854 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
1855 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
1856 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
1857 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
1858 (USE_AS_WMEMCMP): New macro.
1859 Fixing indents.
1860 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
1861 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
1862 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
1863 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
1864 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1865 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
1866 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
1867 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
1868 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
1869 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
1870 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
1871 (USE_AS_WMEMCMP): New macro.
1872 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
1873 * sysdeps/string/test-memcmp.c: Update.
1874 Fix simple_wmemcmp.
1875 Add new tests.
1876 * wcsmbs/wmemcmp.c: Update.
1877 (WMEMCMP): New macro.
1878 Fix overflow bug.
1879
556a2007
AJ
18802011-10-12 Andreas Jaeger <aj@suse.de>
1881
1882 [BZ #13268]
1883 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
1884
538faaa7
UD
18852011-10-15 Ulrich Drepper <drepper@gmail.com>
1886
ab6737ff
UD
1887 * libio/iofwide.c (do_length): Avoid warning.
1888
538faaa7
UD
1889 * ctype/ctype.h (__isctype_f): Add missing __THROW.
1890
396a21b1
UD
18912011-10-14 Ulrich Drepper <drepper@gmail.com>
1892
cdf2901f
UD
1893 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
1894
38ad40ce
UD
1895 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
1896 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
1897 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
1898 * sysdeps/i386/i686/fpu/e_log.S: New file.
1899 * sysdeps/i386/i686/fpu/e_logf.S: New file.
1900 * sysdeps/i386/i686/fpu/e_logl.S: New file.
1901
396a21b1
UD
1902 * ctype/ctype.h: Add support for inlined isXXX functions when
1903 compiling C++ code.
1904
6b1f68c9
AS
19052011-10-14 Andreas Schwab <schwab@redhat.com>
1906
349290c0
AS
1907 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1908
6b1f68c9
AS
1909 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
1910
f2282d42
RM
19112011-10-13 Roland McGrath <roland@hack.frob.com>
1912
1913 [BZ #13291]
1914 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
1915
5298ffa8
AS
19162011-10-13 Andreas Schwab <schwab@redhat.com>
1917
714fad23
AS
1918 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
1919 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
1920 feraiseexcept.
1921
81dcc7fb
AS
1922 * sysdeps/x86_64/memrchr.S: Check for zero size.
1923
5298ffa8
AS
1924 * string/stratcliff.c: Add memrchr tests.
1925
951fbcec
LD
19262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1927
1928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1929 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
1930 rawmemchr-sse2 rawmemchr-sse2-bsf.
1931 * sysdeps/i386/i686/multiarch/memchr.S: New file.
1932 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
1933 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
1934 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
1935 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
1936 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
1937 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
1938 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
1939 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
1940 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
1941 * string/memrchr.c (MEMRCHR): New macro.
1942
0ac5ae23
UD
19432011-10-12 Ulrich Drepper <drepper@gmail.com>
1944
1945 Add integration with gcc's -ffinite-math-only and optimize wrapper
1946 functions in libm.
1947 * Versions.def: Define GLIBC_2.15 version for libm.
1948 * math/Makefile (headers): Add bits/math-finite.h.
1949 * math/bits/math-finite.h: New file.
1950 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
1951 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
1952 * math/e_acoshl.c: Add __*_finite alias.
1953 * math/e_acosl.c: Likewise.
1954 * math/e_asinl.c: Likewise.
1955 * math/e_atan2l.c: Likewise.
1956 * math/e_atanhl.c: Likewise.
1957 * math/e_coshl.c: Likewise.
1958 * math/e_exp10.c: Likewise.
1959 * math/e_exp10f.c: Likewise.
1960 * math/e_exp10l.c: Likewise.
1961 * math/e_exp2l.c: Likewise.
1962 * math/e_fmodl.c: Likewise.
1963 * math/e_gammal_r.c: Likewise.
1964 * math/e_hypotl.c: Likewise.
1965 * math/e_j0l.c: Likewise.
1966 * math/e_j1l.c: Likewise.
1967 * math/e_jnl.c: Likewise.
1968 * math/e_lgammal_r.c: Likewise.
1969 * math/e_log10l.c: Likewise.
1970 * math/e_log2l.c: Likewise.
1971 * math/e_logl.c: Likewise.
1972 * math/e_powl.c: Likewise.
1973 * math/e_sinhl.c: Likewise.
1974 * math/e_sqrtl.c: Likewise.
1975 * math/e_scalb.c: Completely rewritten and optimized.
1976 * math/e_scalbf.c: Likewise.
1977 * math/e_scalbl.c: Likewise.
1978 * math/w_acos.c: Likewise.
1979 * math/w_acosf.c: Likewise.
1980 * math/w_acosl.c: Likewise.
1981 * math/w_acosh.c: Likewise.
1982 * math/w_acoshf.c: Likewise.
1983 * math/w_acoshl.c: Likewise.
1984 * math/w_asin.c: Likewise.
1985 * math/w_asinf.c: Likewise.
1986 * math/w_asinl.c: Likewise.
1987 * math/w_atan2.c: Likewise.
1988 * math/w_atan2f.c: Likewise.
1989 * math/w_atan2l.c: Likewise.
1990 * math/w_atanh.c: Likewise.
1991 * math/w_atanhf.c: Likewise.
1992 * math/w_atanhl.c: Likewise.
1993 * math/w_exp10.c: Likewise.
1994 * math/w_exp10f.c: Likewise.
1995 * math/w_exp10l.c: Likewise.
1996 * math/w_fmod.c: Likewise.
1997 * math/w_fmodf.c: Likewise.
1998 * math/w_fmodl.c: Likewise.
1999 * math/w_j0.c: Likewise.
2000 * math/w_j0f.c: Likewise.
2001 * math/w_j0l.c: Likewise.
2002 * math/w_j1.c: Likewise.
2003 * math/w_j1f.c: Likewise.
2004 * math/w_j1l.c: Likewise.
2005 * math/w_jn.c: Likewise.
2006 * math/w_jnf.c: Likewise.
2007 * math/w_log.c: Likewise.
2008 * math/w_logf.c: Likewise.
2009 * math/w_logl.c: Likewise.
2010 * math/w_log10.c: Likewise.
2011 * math/w_log10f.c: Likewise.
2012 * math/w_log10l.c: Likewise.
2013 * math/w_log2.c: Likewise.
2014 * math/w_log2f.c: Likewise.
2015 * math/w_log2l.c: Likewise.
2016 * math/w_pow.c: Likewise.
2017 * math/w_powf.c: Likewise.
2018 * math/w_powl.c: Likewise.
2019 * math/w_remainder.c: Likewise.
2020 * math/w_remainderf.c: Likewise.
2021 * math/w_remainderl.c: Likewise.
2022 * math/w_scalb.c: Likewise.
2023 * math/w_scalbf.c: Likewise.
2024 * math/w_scalbl.c: Likewise.
2025 * math/w_sqrt.c: Likewise.
2026 * math/w_sqrtf.c: Likewise.
2027 * math/w_sqrtl.c: Likewise.
2028 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
2029 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
2030 used.
2031 * math/math_private.h: Declare __kernel_standard_f.
2032 * math/w_cosh.c: Remove cruft and optimize a bit.
2033 * math/w_coshf.c: Likewise.
2034 * math/w_coshl.c: Likewise.
2035 * math/w_exp2.c: Likewise.
2036 * math/w_exp2f.c: Likewise.
2037 * math/w_exp2l.c: Likewise.
2038 * math/w_hypot.c: Likewise.
2039 * math/w_hypotf.c: Likewise.
2040 * math/w_hypotl.c: Likewise.
2041 * math/w_lgamma.c: Likewise.
2042 * math/w_lgamma_r.c: Likewise.
2043 * math/w_lgammaf.c: Likewise.
2044 * math/w_lgammaf_r.c: Likewise.
2045 * math/w_lgammal.c: Likewise.
2046 * math/w_lgammal_r.c: Likewise.
2047 * math/w_sinh.c: Likewise.
2048 * math/w_sinhf.c: Likewise.
2049 * math/w_sinhl.c: Likewise.
2050 * math/w_tgamma.c: Likewise.
2051 * math/w_tgammaf.c: Likewise.
2052 * math/w_tgammal.c: Likewise.
2053 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2054 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2055 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
2056 Minor optimizations. Pretty printing. Remove cruft.
2057 * sysdeps/i386/fpu/e_acosf.S: Likewise.
2058 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2059 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2060 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2061 * sysdeps/i386/fpu/e_acosl.c: Likewise.
2062 * sysdeps/i386/fpu/e_asin.S: Likewise.
2063 * sysdeps/i386/fpu/e_asinf.S: Likewise.
2064 * sysdeps/i386/fpu/e_atan2.S: Likewise.
2065 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
2066 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
2067 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2068 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2069 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2070 * sysdeps/i386/fpu/e_exp10.S: Likewise.
2071 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
2072 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
2073 * sysdeps/i386/fpu/e_exp2.S: Likewise.
2074 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
2075 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
2076 * sysdeps/i386/fpu/e_fmod.S: Likewise.
2077 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
2078 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
2079 * sysdeps/i386/fpu/e_hypot.S: Likewise.
2080 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
2081 * sysdeps/i386/fpu/e_log.S: Likewise.
2082 * sysdeps/i386/fpu/e_log10.S: Likewise.
2083 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2084 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2085 * sysdeps/i386/fpu/e_log2.S: Likewise.
2086 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2087 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2088 * sysdeps/i386/fpu/e_logf.S: Likewise.
2089 * sysdeps/i386/fpu/e_logl.S: Likewise.
2090 * sysdeps/i386/fpu/e_pow.S: Likewise.
2091 * sysdeps/i386/fpu/e_powf.S: Likewise.
2092 * sysdeps/i386/fpu/e_powl.S: Likewise.
2093 * sysdeps/i386/fpu/e_remainder.S: Likewise.
2094 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
2095 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
2096 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2097 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2098 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2099 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
2100 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
2101 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
2102 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2105 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2106 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2107 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2108 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2109 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2113 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2115 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2116 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2118 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2119 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2120 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2122 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2123 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2124 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2125 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2126 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2127 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2128 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2129 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2130 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2131 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2132 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2133 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2134 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2135 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2136 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2137 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2138 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2139 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2140 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2141 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2142 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2143 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2144 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2146 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2147 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2148 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2149 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2152 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2154 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2155 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2157 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2158 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2159 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2167 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2182 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
2185 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2187 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2188 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2190 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2192 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2193 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2194 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2195 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2196 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2197 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2198 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2199 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2200 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2201 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2202 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
2203 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
2204 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
2205 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
2206 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2207 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2208 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2209 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2210 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
2211 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2212 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
2213 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
2214 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
2215 (__isnanf): Likewise.
2216 (__isinf_ns): Likewise.
2217 (__isinf_nsf): Likewise.
2218 (__finite): Likewise.
2219 (__finitef): Likewise.
2220 (__ieee754_sqrt): Define as macro.
2221 (__ieee754_sqrtf): Define as macro.
2222 (__ieee754_sqrtl): Define as macro.
2223 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
2224 inlined copy.
2225 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
2226 __FINITE_MATH_ONLY__ consistent.
2227 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
2228
12cc2fcd
AS
22292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
2230
a843a204
AS
2231 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
2232 of rawmemchr.
2233
12cc2fcd
AS
2234 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
2235
c853acd5
UD
22362011-10-09 Ulrich Drepper <drepper@gmail.com>
2237
2238 * po/ja.po: Update from translation team.
2239
c658d255
RM
22402011-10-08 Roland McGrath <roland@hack.frob.com>
2241
110946e4
RM
2242 * locale/programs/locarchive.c (prepare_address_space): New function.
2243 (create_archive, enlarge_archive, open_archive): Use it.
2244
50604220
RM
2245 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
2246 inside [SHARED], where it is used.
2247
c658d255
RM
2248 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
2249
2250 * nss/getent.c (netgroup_keys): Remove unused variable.
2251 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2252
6a621eb7
UD
22532011-10-08 Ulrich Drepper <drepper@gmail.com>
2254
7edb55ce
UD
2255 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
2256 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
2257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
2258 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
2259 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
2260 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
2261 * math/Makefile (libm-calls): Add s_isinf_ns.
2262 * math/divtc3.c: Use __isinf_nsl instead of isinf.
2263 * math/multc3.c: Likewise.
2264 * math/s_casin.c: Likewise.
2265 * math/s_casinf.c: Likewise.
2266 * math/s_casinl.c: Likewise.
2267 * math/s_ccos.c: Likewise.
2268 * math/s_ccosf.c: Likewise.
2269 * math/s_ccosl.c: Likewise.
2270 * math/s_ctan.c: Likewise.
2271 * math/s_ctanf.c: Likewise.
2272 * math/s_ctanh.c: Likewise.
2273 * math/s_ctanhf.c: Likewise.
2274 * math/s_ctanhl.c: Likewise.
2275 * math/s_ctanl.c: Likewise.
2276 * math/w_fmod.c: Likewise.
2277 * math/w_fmodf.c: Likewise.
2278 * math/w_fmodl.c: Likewise.
2279 * math/w_remainder.c: Likewise.
2280 * math/w_remainderf.c: Likewise.
2281 * math/w_remainderl.c: Likewise.
2282 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
2283 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
2284 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
2285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
2286 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
2287 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
2288 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
2289 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
2290
187da0ae
UD
2291 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
2292 of the number.
2293 * stdio-common/printf_fphex.c: Likewise.
2294 * stdio-common/printf_size.c: Likewise.
2295
9277c064
UD
2296 * math/e_exp10.c: Include math_private.h using <...> not "...".
2297 * math/e_exp10f.c: Likewise.
2298 * math/e_exp10l.c: Likewise.
2299 * math/e_exp2l.c: Likewise.
2300 * math/e_j0l.c: Likewise.
2301 * math/e_j1l.c: Likewise.
2302 * math/e_jnl.c: Likewise.
2303 * math/e_lgammal_r.c: Likewise.
2304 * math/e_rem_pio2l.c: Likewise.
2305 * math/e_scalb.c: Likewise.
2306 * math/e_scalbf.c: Likewise.
2307 * math/e_scalbl.c: Likewise.
2308 * math/k_cosl.c: Likewise.
2309 * math/k_sinl.c: Likewise.
2310 * math/k_tanl.c: Likewise.
2311 * math/s_cacoshf.c: Likewise.
2312 * math/s_catan.c: Likewise.
2313 * math/s_catanf.c: Likewise.
2314 * math/s_catanh.c: Likewise.
2315 * math/s_catanhf.c: Likewise.
2316 * math/s_catanhl.c: Likewise.
2317 * math/s_catanl.c: Likewise.
2318 * math/s_ccosh.c: Likewise.
2319 * math/s_ccoshf.c: Likewise.
2320 * math/s_ccoshl.c: Likewise.
2321 * math/s_cexp.c: Likewise.
2322 * math/s_cexpf.c: Likewise.
2323 * math/s_cexpl.c: Likewise.
2324 * math/s_clog.c: Likewise.
2325 * math/s_clog10.c: Likewise.
2326 * math/s_clog10f.c: Likewise.
2327 * math/s_clog10l.c: Likewise.
2328 * math/s_clogf.c: Likewise.
2329 * math/s_clogl.c: Likewise.
2330 * math/s_csin.c: Likewise.
2331 * math/s_csinf.c: Likewise.
2332 * math/s_csinh.c: Likewise.
2333 * math/s_csinhf.c: Likewise.
2334 * math/s_csinhl.c: Likewise.
2335 * math/s_csinl.c: Likewise.
2336 * math/s_csqrt.c: Likewise.
2337 * math/s_csqrtf.c: Likewise.
2338 * math/s_csqrtl.c: Likewise.
2339 * math/s_ctan.c: Likewise.
2340 * math/s_ctanf.c: Likewise.
2341 * math/s_ctanh.c: Likewise.
2342 * math/s_ctanhf.c: Likewise.
2343 * math/s_ctanhl.c: Likewise.
2344 * math/s_ctanl.c: Likewise.
2345 * math/s_ldexp.c: Likewise.
2346 * math/s_ldexpf.c: Likewise.
2347 * math/s_ldexpl.c: Likewise.
2348 * math/s_significand.c: Likewise.
2349 * math/s_significandf.c: Likewise.
2350 * math/s_significandl.c: Likewise.
2351 * math/w_acos.c: Likewise.
2352 * math/w_acosf.c: Likewise.
2353 * math/w_acosh.c: Likewise.
2354 * math/w_acoshf.c: Likewise.
2355 * math/w_acoshl.c: Likewise.
2356 * math/w_acosl.c: Likewise.
2357 * math/w_asin.c: Likewise.
2358 * math/w_asinf.c: Likewise.
2359 * math/w_asinl.c: Likewise.
2360 * math/w_atan2.c: Likewise.
2361 * math/w_atan2f.c: Likewise.
2362 * math/w_atan2l.c: Likewise.
2363 * math/w_atanh.c: Likewise.
2364 * math/w_atanhf.c: Likewise.
2365 * math/w_atanhl.c: Likewise.
2366 * math/w_cosh.c: Likewise.
2367 * math/w_coshf.c: Likewise.
2368 * math/w_coshl.c: Likewise.
2369 * math/w_dremf.c: Likewise.
2370 * math/w_exp10.c: Likewise.
2371 * math/w_exp10f.c: Likewise.
2372 * math/w_exp10l.c: Likewise.
2373 * math/w_exp2.c: Likewise.
2374 * math/w_exp2f.c: Likewise.
2375 * math/w_fmod.c: Likewise.
2376 * math/w_fmodf.c: Likewise.
2377 * math/w_fmodl.c: Likewise.
2378 * math/w_hypot.c: Likewise.
2379 * math/w_hypotf.c: Likewise.
2380 * math/w_hypotl.c: Likewise.
2381 * math/w_j0.c: Likewise.
2382 * math/w_j0f.c: Likewise.
2383 * math/w_j0l.c: Likewise.
2384 * math/w_j1.c: Likewise.
2385 * math/w_j1f.c: Likewise.
2386 * math/w_j1l.c: Likewise.
2387 * math/w_jn.c: Likewise.
2388 * math/w_jnf.c: Likewise.
2389 * math/w_jnl.c: Likewise.
2390 * math/w_lgamma.c: Likewise.
2391 * math/w_lgamma_r.c: Likewise.
2392 * math/w_lgammaf.c: Likewise.
2393 * math/w_lgammaf_r.c: Likewise.
2394 * math/w_lgammal.c: Likewise.
2395 * math/w_lgammal_r.c: Likewise.
2396 * math/w_log.c: Likewise.
2397 * math/w_log10.c: Likewise.
2398 * math/w_log10f.c: Likewise.
2399 * math/w_log10l.c: Likewise.
2400 * math/w_log2.c: Likewise.
2401 * math/w_log2f.c: Likewise.
2402 * math/w_log2l.c: Likewise.
2403 * math/w_logf.c: Likewise.
2404 * math/w_logl.c: Likewise.
2405 * math/w_pow.c: Likewise.
2406 * math/w_powf.c: Likewise.
2407 * math/w_powl.c: Likewise.
2408 * math/w_remainder.c: Likewise.
2409 * math/w_remainderf.c: Likewise.
2410 * math/w_remainderl.c: Likewise.
2411 * math/w_scalb.c: Likewise.
2412 * math/w_scalbf.c: Likewise.
2413 * math/w_scalbl.c: Likewise.
2414 * math/w_sinh.c: Likewise.
2415 * math/w_sinhf.c: Likewise.
2416 * math/w_sinhl.c: Likewise.
2417 * math/w_sqrt.c: Likewise.
2418 * math/w_sqrtf.c: Likewise.
2419 * math/w_sqrtl.c: Likewise.
2420 * math/w_tgamma.c: Likewise.
2421 * math/w_tgammaf.c: Likewise.
2422 * math/w_tgammal.c: Likewise.
2423
6a621eb7
UD
2424 * po/ja.po: Update from translation team.
2425
bf582445
AJ
24262011-09-29 Andreas Jaeger <aj@suse.de>
2427
f9efbf3a
AJ
2428 [BZ #13179]
2429 * sunrpc/netname.c (netname2host): Fix logic.
2430
bf582445
AJ
2431 [BZ #6779]
2432 [BZ #6783]
2433 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
2434 correctly.
2435 * math/w_remainder.c (__remainder): Likewise.
2436 * math/w_remainderf.c (__remainderf): Likewise.
2437 * math/libm-test.inc (remainder_test): Add test cases.
2438
48693bea
AK
24392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2440
2441 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
2442 sdiv_qrnnd.
2443
42622229
LD
24442011-10-07 Ulrich Drepper <drepper@gmail.com>
2445
2446 * string/test-memcmp.c: Avoid unncessary #defines.
2447 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2448
093ecf92
LD
24492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2450
2451 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
2452 Use new sse2 version for core i3 - i7 as it's faster
2453 than sse42 version.
2454 (bit_Prefer_PMINUB_for_stringop): New.
2455 * sysdeps/x86_64/rawmemchr.S: Update.
2456 Replace with faster SSE2 version.
2457 * sysdeps/x86_64/memrchr.S: New file.
2458 * sysdeps/x86_64/memchr.S: Update.
2459 Replace with faster SSE2 version.
2460
fde56e5c
MP
24612011-09-12 Marek Polacek <mpolacek@redhat.com>
2462
2463 * elf/dl-load.c (lose): Add cast to avoid warning.
2464
21fd49a9
UD
24652011-10-07 Ulrich Drepper <drepper@gmail.com>
2466
5a06e643
UD
2467 * po/ca.po: Update from translation team.
2468
684ae515
UD
2469 * inet/getnetgrent_r.c: Hook up nscd.
2470 * nscd/Makefile (routines): Add nscd_netgroup.
2471 (nscd-modules): Add netgroupcache.
2472 (CFLAGS-netgroupcache.c): Define.
2473 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
2474 (cache_search): Add const to second parameter.
2475 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
2476 INNETGR.
2477 (dbs): Add netgrdb entry.
2478 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
2479 (verify_persistent_db): Handle netgrdb.
2480 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
2481 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
2482 GETFDNETGR.
2483 (netgroup_response_header): Define.
2484 (innetgroup_response_header): Define.
2485 (datahead): Add netgroup_response_header and innetgroup_response_header
2486 elements.
2487 * nscd/nscd.conf: Add entries for netgroup cache.
2488 * nscd/nscd.h (dbtype): Add netgrdb.
2489 (_PATH_NSCD_NETGROUP_DB): Define.
2490 (netgroup_iov_disabled): Declare.
2491 (xmalloc, xcalloc, xrealloc): Move declarations here.
2492 (cache_search): Adjust prototype.
2493 Add netgroup-related prototypes.
2494 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
2495 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
2496 (__nscd_innetgr): Declare.
2497 * nscd/selinux.c (perms): Use access_vector_t as element type and
2498 add netgroup-related initializers.
2499 * nscd/netgroupcache.c: New file.
2500 * nscd/nscd_netgroup.c: New file.
2501 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
2502 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
2503 For four parameters use innetgr.
2504 * nss/nss_files/files-init.c: Add definition and callback for netgr.
2505 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
2506 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
2507 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
2508
21fd49a9
UD
2509 * nscd/connections.c (register_traced_file): Don't register file
2510 for disabled databases.
2511
054c0457
UD
25122011-10-06 Ulrich Drepper <drepper@gmail.com>
2513
32b63198
UD
2514 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
2515
054c0457
UD
2516 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
2517 from tree and freeing node.
2518
64031225
JO
25192011-09-25 Jiri Olsa <jolsa@redhat.com>
2520
2521 * nss/nsswitch.c (__nss_database_lookup): Handle
2522 nss_parse_service_list out of memory case.
2523
0490345c
JO
25242011-09-15 Jiri Olsa <jolsa@redhat.com>
2525
2526 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
2527 out of memory case.
2528
3a62d00d
AS
25292011-10-04 Andreas Schwab <schwab@redhat.com>
2530
2531 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
2532 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
2533 pass it down.
2534 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
2535 elf_machine_rela, elf_machine_lazy_rel.
2536 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
2537 (ELF_DYNAMIC_DO_REL): Likewise.
2538 (ELF_DYNAMIC_DO_RELA): Likewise.
2539 (ELF_DYNAMIC_RELOCATE): Likewise.
2540 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
2541 to ELF_DYNAMIC_DO_REL.
2542 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
2543 (dl_main): In trace mode always set __RTLD_NOIFUNC.
2544 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
2545 elf_machine_rela.
2546 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
2547 skip_ifunc, don't call ifunc function if non-zero.
2548 (elf_machine_rela): Likewise.
2549 (elf_machine_lazy_rel): Likewise.
2550 (elf_machine_lazy_rela): Likewise.
2551 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
2552 (elf_machine_lazy_rel): Likewise.
2553 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2554 Likewise.
2555 (elf_machine_lazy_rel): Likewise.
2556 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2557 Likewise.
2558 (elf_machine_lazy_rel): Likewise.
2559 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
2560 (elf_machine_lazy_rel): Likewise.
2561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
2562 (elf_machine_lazy_rel): Likewise.
2563 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2564 (elf_machine_lazy_rel): Likewise.
2565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2566 (elf_machine_lazy_rel): Likewise.
2567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2568 (elf_machine_lazy_rel): Likewise.
2569 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2570 (elf_machine_lazy_rel): Likewise.
2571
68577918
UD
25722011-09-28 Ulrich Drepper <drepper@gmail.com>
2573
2574 * nss/nss_files/files-init.c (_nss_files_init): Use static
2575 initialization for all the *_traced_file variables.
2576
68822d74
AS
25772011-09-28 Andreas Schwab <schwab@redhat.com>
2578
2579 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2580
2056100b
RM
25812011-09-27 Roland McGrath <roland@hack.frob.com>
2582
2583 [BZ #13226]
2584 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
2585
32c76b63
AS
25862011-09-27 Andreas Schwab <schwab@redhat.com>
2587
2588 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2589 Reread the line before reparsing it.
2590
bf972c9d
AS
25912011-09-26 Andreas Schwab <schwab@redhat.com>
2592
2593 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
2594
e057a1b5
JM
25952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
2596 Maxim Kuvyrkov <maxim@codesourcery.com>
2597 Joseph Myers <joseph@codesourcery.com>
2598
2599 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
2600 if needed for __stack_chk_guard.
2601
bc7e1c36
RM
26022011-09-19 Roland McGrath <roland@hack.frob.com>
2603
ecb1482f
RM
2604 * sysdeps/posix/spawni.c (script_execute): Always define it.
2605 It will be optimized away if unused.
2606 (maybe_script_execute): New function.
2607 (__spawni): Call it.
2608
bc7e1c36
RM
2609 * Makerules: Don't include tls.make.
2610 (config-tls): Always set to thread.
2611 * tls.make.c: File removed.
2612
1c3b002b
MF
26132011-09-19 Mike Frysinger <vapier@gentoo.org>
2614
2615 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
2616 * config.make.in (CPPFLAGS-config): New substituted variable.
2617
2840865d
UD
26182011-09-15 Ulrich Drepper <drepper@gmail.com>
2619
88738eb6
UD
2620 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
2621
cbf645a6 2622 [BZ #13192]
2840865d
UD
2623 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
2624 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
2625
b402e91a
RM
26262011-09-15 Roland McGrath <roland@hack.frob.com>
2627
2628 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
2629 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
2630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2631 (CALL_FAIL): Likewise.
2632 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
2633 (CALL_FAIL): Macro removed.
2634 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
2635
4c1a1f71
UD
26362011-09-15 Ulrich Drepper <drepper@gmail.com>
2637
2638 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
2639 for __FINITE_MATH_ONLY__ == 1.
2640
edc121be
AS
26412011-09-15 Andreas Schwab <schwab@redhat.com>
2642
2643 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
2644 __ieee754_sqrt instead of sqrt.
2645 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
2646 __ieee754_sqrtf instead of sqrtf.
2647 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2648 __floorf instead of floorf.
2649 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
2650 __floorf, __truncf instead of floorf, truncf.
2651
cd205654
UD
26522011-09-14 Ulrich Drepper <drepper@gmail.com>
2653
ee4d0315
UD
2654 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
2655
cd205654
UD
2656 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
2657 __extern_always_inline.
2658 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
2659 32-bit.
2660
48b67d71
AS
26612011-09-14 Andreas Schwab <schwab@redhat.com>
2662
2663 * elf/rtld.c (dl_main): Also relocate in dependency order when
2664 doing symbol dependency testing.
2665
1ae12c75
AS
26662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
2667
2668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2669 Always define `refsym'.
2670
995a80df
AS
26712011-09-13 Andreas Schwab <schwab@redhat.com>
2672
e529793b
AS
2673 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
2674 (__FD_ELT): Renamed from __FDELT.
2675 * misc/bits/select2.h (__FD_ELT): Likewise.
2676 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
2677 __FD_MASK instead of __FDELT, __FDMASK.
2678 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2679 Likewise.
2680 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2681 Likewise.
2682
52d4fef8
AS
2683 * elf/Makefile (gen-ldd): Fix pattern.
2684
995a80df
AS
2685 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
2686 (init_tls): Likewise.
2687
8682f8b0
UD
26882011-09-12 Ulrich Drepper <drepper@gmail.com>
2689
2690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
2691
de82006d
AS
26922011-09-12 Andreas Schwab <schwab@redhat.com>
2693
a7c8e6a1
AS
2694 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
2695 `struct cmsghdr *' instead of `void *'.
2696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
2697 Likewise.
2698
0f31fe77
AS
26992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2700
2701 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
2702 if non-absolute.
2703 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
2704 ldd_rewrite_script.
0f31fe77 2705
32b4c839
UD
27062011-09-11 Ulrich Drepper <drepper@gmail.com>
2707
83cd1420
UD
2708 * configure.in: Remove --with-tls option.
2709 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
2710 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
2711 out in case it is missing.
2712 * sysdeps/ia64/elf/configure.in: Likewise.
2713 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
2714 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
2715 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
2716 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
2717 * sysdeps/sh/elf/configure.in: Likewise.
2718 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
2719 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2720 * sysdeps/x86_64/elf/configure.in: Likewise.
2721 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
2722 * sysdeps/mach/hurd/tls.h: Likewise.
2723
633f745d
UD
2724 [BZ #13067]
2725 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
2726
f318beb8
UD
2727 [BZ #13090]
2728 * configure.in: Fix use of AC_INIT.
2729
32b4c839
UD
2730 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
2731
3ce1f295
UD
27322011-09-10 Ulrich Drepper <drepper@gmail.com>
2733
bb016596
UD
2734 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
2735 __set_errno.
8e58439c
UD
2736 * malloc/hooks.c: Likewise.
2737
02d46fc4
UD
2738 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
2739 variables statically.
2740 (narenas): Initialize.
2741 (list_lock): Initialize.
bb016596
UD
2742 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
2743 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
2744 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
2745 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
2746 Add initializers to main_arena and mp_.
2747 (malloc_state): Remove pagesize member. Change all users to use
2748 GLRO(dl_pagesize).
2749
2750 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
2751 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
2752 is always initialized.
2753
22a89187
UD
2754 * malloc/malloc.c: Removed unused configurations and dead code.
2755 * malloc/arena.c: Likewise.
2756 * malloc/hooks.c: Likewise.
02d46fc4 2757 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 2758
d063d164
UD
2759 * include/tls.h: Removed. USE___THREAD must always be defined.
2760 * bits/libc-tsd.h: Don't handle !USE___THREAD.
2761 * elf/dl-libc.c: Likewise.
2762 * elf/dl-tsd.c: Likewise.
2763 * include/errno.h: Likewise.
2764 * include/netdb.h: Likewise.
2765 * include/resolv.h: Likewise.
2766 * inet/herrno-loc.c: Likewise.
2767 * inet/herrno.c: Likewise.
2768 * malloc/arena.c: Likewise.
2769 * malloc/hooks.c: Likewise.
2770 * malloc/malloc.c: Likewise.
2771 * resolv/res-state.c: Likewise.
2772 * resolv/res_libc.c: Likewise.
2773 * sysdeps/i386/dl-machine.h: Likewise.
2774 * sysdeps/ia64/dl-machine.h: Likewise.
2775 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2776 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2777 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2778 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2779 * sysdeps/sh/dl-machine.h: Likewise.
2780 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2781 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2782 * sysdeps/unix/i386/sysdep.S: Likewise.
2783 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2784 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2785 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2786 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2787 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2788 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2789 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2793 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2794 * sysdeps/x86_64/dl-machine.h: Likewise.
2795 * tls.make.c: Likewise.
2796
3ce1f295
UD
2797 * configure.in: Remove --with-__thread option. Make tests for
2798 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
2799 tls_model attribute fail if no support is available. Remove
2800 USE_IN_LIBIO.
2801 * Makeconfig: Adjust for dropped configure option. All features are
2802 now mandatory.
2803 * Makerules: Likewise.
2804 * Versions.def: Likewise.
2805 * argp/argp-fmtstream.c: Likewise.
2806 * argp/argp-fmtstream.h: Likewise.
2807 * argp/argp-help.c: Likewise.
2808 * assert/assert.c: Likewise.
2809 * config.h.in: Likewise.
2810 * config.make.in: Likewise.
2811 * configure: Likewise.
2812 * configure.in: Likewise.
2813 * csu/Versions: Likewise.
2814 * csu/init.c: Likewise.
2815 * elf/tst-audit2.c: Likewise.
2816 * elf/tst-tls10.c: Likewise.
2817 * elf/tst-tls10.h: Likewise.
2818 * elf/tst-tls11.c: Likewise.
2819 * elf/tst-tls12.c: Likewise.
2820 * elf/tst-tls14.c: Likewise.
2821 * elf/tst-tlsmod11.c: Likewise.
2822 * elf/tst-tlsmod12.c: Likewise.
2823 * elf/tst-tlsmod13.c: Likewise.
2824 * elf/tst-tlsmod13a.c: Likewise.
2825 * elf/tst-tlsmod14a.c: Likewise.
2826 * elf/tst-tlsmod15b.c: Likewise.
2827 * elf/tst-tlsmod16a.c: Likewise.
2828 * elf/tst-tlsmod16b.c: Likewise.
2829 * elf/tst-tlsmod7.c: Likewise.
2830 * elf/tst-tlsmod8.c: Likewise.
2831 * elf/tst-tlsmod9.c: Likewise.
2832 * gmon/gmon.c: Likewise.
2833 * grp/fgetgrent_r.c: Likewise.
2834 * grp/putgrent.c: Likewise.
2835 * hurd/fopenport.c: Likewise.
2836 * include/libc-symbols.h: Likewise.
2837 * include/tls.h: Likewise.
2838 * intl/gettextP.h: Likewise.
2839 * intl/loadinfo.h: Likewise.
2840 * locale/global-locale.c: Likewise.
2841 * locale/localeinfo.h: Likewise.
2842 * mach/devstream.c: Likewise.
2843 * malloc/arena.c: Likewise.
2844 * malloc/set-freeres.c: Likewise.
2845 * misc/err.c: Likewise.
2846 * misc/getttyent.c: Likewise.
2847 * misc/mntent_r.c: Likewise.
2848 * posix/getopt.c: Likewise.
2849 * posix/wordexp.c: Likewise.
2850 * pwd/fgetpwent_r.c: Likewise.
2851 * resolv/Versions: Likewise.
2852 * resolv/res_hconf.c: Likewise.
2853 * shadow/fgetspent_r.c: Likewise.
2854 * shadow/putspent.c: Likewise.
2855 * stdio-common/printf_fphex.c: Likewise.
2856 * stdio-common/tmpfile.c: Likewise.
2857 * stdlib/abort.c: Likewise.
2858 * stdlib/fmtmsg.c: Likewise.
2859 * sunrpc/auth_unix.c: Likewise.
2860 * sunrpc/clnt_perr.c: Likewise.
2861 * sunrpc/clnt_tcp.c: Likewise.
2862 * sunrpc/clnt_udp.c: Likewise.
2863 * sunrpc/clnt_unix.c: Likewise.
2864 * sunrpc/openchild.c: Likewise.
2865 * sunrpc/svc_simple.c: Likewise.
2866 * sunrpc/svc_tcp.c: Likewise.
2867 * sunrpc/svc_udp.c: Likewise.
2868 * sunrpc/svc_unix.c: Likewise.
2869 * sunrpc/xdr.c: Likewise.
2870 * sunrpc/xdr_array.c: Likewise.
2871 * sunrpc/xdr_rec.c: Likewise.
2872 * sunrpc/xdr_ref.c: Likewise.
2873 * sunrpc/xdr_stdio.c: Likewise.
2874
1248c1c4
PB
28752011-09-09 Ulrich Drepper <drepper@gmail.com>
2876
2877 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2878
28792011-07-03 Andreas Jaeger <aj@suse.de>
2880
2881 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
2882 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
2883 regenerate with gen-libm-tests.pl.
2884
28852010-05-12 Petr Baudis <pasky@suse.cz>
2886
2887 [BZ #11589]
2888 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
2889 around j0() zero points by switching to j1().
2890 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2891 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2893 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2894
f22e1074
UD
28952011-09-09 Ulrich Drepper <drepper@gmail.com>
2896
f19009c1
UD
2897 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
2898 instead of 0.
2899 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
2900 instead of 0. .
2901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2902 Patch in part by Pavel Roskin <proski@gnu.org>.
2903
3f8cc204
UD
2904 [BZ #13138]
2905 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
2906 realloc.
2907 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
2908 Free memory block if necessary.
2909
f22e1074
UD
2910 [BZ #12847]
2911 * libio/genops.c (INTDEF): For string streams the _lock pointer can
2912 be NULL. Don't lock in this case.
2913
0a2349f9
RM
29142011-09-09 Roland McGrath <roland@hack.frob.com>
2915
2916 * elf/elf.h (ELFOSABI_GNU): New macro.
2917 (ELFOSABI_LINUX): Define to that.
2918
f3cdd467
DZ
29192011-07-29 Denis Zaitceff <zaitceff@gmail.com>
2920
2921 * string/strncat.c (strncat): Undef the symbol in case it has been
2922 defined in bits/string.h.
2923
74718d13
UD
29242011-09-09 Ulrich Drepper <drepper@gmail.com>
2925
633e9e0f
UD
2926 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
2927
0a2349f9 2928 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
2929 link map.
2930
f9924780
AJ
29312011-08-17 Andreas Jaeger <aj@suse.de>
2932
2933 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
2934
7f5517aa
PP
29352011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2936 Ian Lance Taylor <iant@google.com>
2937
2938 * math/libm-test.inc (lround_test): New testcase.
2939 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
2940
762011fe
UD
29412011-09-08 Ulrich Drepper <drepper@gmail.com>
2942
92963737
UD
2943 * Makefile: Remove support for automatic cvs check-ins.
2944 * Makerules: Likewise.
2945 * config.make.in: Likewise.
2946 * configure.in: Likewise.
2947 * intl/Makefile: Likewise.
2948 * locale/Makefile: Likewise.
2949 * po/Makefile: Likewise.
2950 * posix/Makefile: Likewise.
2951 * sysdeps/gnu/Makefile: Likewise.
2952 * sysdeps/mach/hurd/Makefile: Likewise.
2953 * sysdeps/sparc/sparc32/Makefile: Likewise.
2954
b0727fd8
JS
2955 [BZ #13118]
2956 * posix/Makefile (bug-regex32-ENV): Define.
2957 Patch by John Stanley <jpsinthemix@verizon.net>.
2958
a0f33f99
UD
2959 * misc/Makefile (headers): Add bits/select2.h.
2960 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
2961 * misc/bits/select2.h: New file.
2962 * include/bits/select2.h: New file.
2963 * debug/Makefile (routines): Add fdelt_chk.
2964 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
2965 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
2966 FD_ISSET.
2967 * debug/fdelt_chk.c: New file.
2968
762011fe
UD
2969 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
2970 * wcsmbs/test-wmemcmp.c: Likewise.
2971 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 2972 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
2973
29742011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2975
2976 * string/Makefile (strop-tests): Add memcmp.
2977 * string/test-wmemcmp.c: New file.
2978 * string/test-memcmp.c: Add wmemcmp support.
2979
7f513ec8
RM
29802011-09-08 Roland McGrath <roland@hack.frob.com>
2981
0442afb4
RM
2982 [BZ #13153]
2983 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
2984 2011-07-19 change.
2985
7f513ec8
RM
2986 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
2987 garbage value in a __mach_port_mod_refs call in the cases of the
2988 task-self and thread-self ports.
2989
a12b2239
ST
29902011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2991
2992 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
2993
610f9ab4
AS
29942011-09-08 Andreas Schwab <schwab@redhat.com>
2995
7f513ec8 2996 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 2997
48882a1a
LD
29982011-09-07 Ulrich Drepper <drepper@gmail.com>
2999
b49865be
UD
3000 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
3001
fdc86bc9
UD
3002 * elf/dl-libc.c (dlerror_run): Pass back error code from
3003 dl_catch_error.
3004
c966526a
UD
3005 [BZ #13123]
3006 * elf/dl-load.c (lose): Free l_origin if it is valid.
3007
48882a1a
LD
3008 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
3009 names.
3010 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3011 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3012 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3013 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3014 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3015 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
3016
77a2a8b4
AZ
30172011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3018
3019 * sysdeps/powerpc/fpu/e_hypot.c: New file.
3020 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
3021 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
3022 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
3023 * sysdeps/powerpc/fpu/k_cosf.c: New file.
3024 * sysdeps/powerpc/fpu/k_sinf.c: New file.
3025 * sysdeps/powerpc/fpu/s_cosf.c: New file.
3026 * sysdeps/powerpc/fpu/s_sinf.c: New file.
3027 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
3028 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
3029
24f579d8
AM
30302011-08-15 Alan Modra <amodra@gmail.com>
3031
3032 [BZ #13092]
3033 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
3034 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
3035 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
3036 ppc_mcount to static-only-routines.
3037 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
3038 __mcount_internal.
3039 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
3040 __mcount_internal with usual JUMPTARGET. Remove useless nop.
3041
3d4837df
UD
30422011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
3043
3044 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
3045 for finite and infinity parameters.
3046
22700377
WS
30472011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3048
3049 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
3050 and add nop instructions for throughput optimization.
3051 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3052
5025581e
WS
30532011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
3054
3055 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
3056 aligned copy for power7 with vector-scalar instructions.
3057 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3058
08a300c9
L
30592011-07-24 H.J. Lu <hongjiu.lu@intel.com>
3060
3061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
3062 AVX check.
3063
59178ef9
AS
30642011-09-07 Andreas Schwab <schwab@redhat.com>
3065
3066 [BZ #13144]
3067 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
3068 last change.
3069
e38ba7ab
UD
30702011-09-07 Ulrich Drepper <drepper@gmail.com>
3071
3072 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3073 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
3074 syscall wrapper around clock_gettime in __vdso_clock_gettime.
3075 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
3076 clock_gettime.
3077
d53a73ac
UD
30782011-09-06 Ulrich Drepper <drepper@gmail.com>
3079
fc8bffcc
UD
3080 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
3081 Forgot to demangle the pointer.
3082
ceaa0c5d
UD
3083 * sysdeps/i386/sysdep.h: Define atom_text_section.
3084 * sysdeps/x86_64/sysdep.h: Likewise.
3085 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
3086 section with atom_text_section.
3087 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3089 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3090 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3091 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
3092
a77d3c17
UD
3093 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
3094 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
3095 already be defined. Change to take two parameters and don't assign
3096 result to variable. Adjust all users.
3097 Define INTERNAL_GETTIME if not already defined.
3098 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
3099 call.
3100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
3101 HAVE_CLOCK_GETTIME_VSYSCALL.
3102 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
3103
d53a73ac
UD
3104 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
3105 gettimeofday vsyscall, just use time.
3106
a8f84144
AS
31072011-09-06 Andreas Schwab <schwab@redhat.com>
3108
3109 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
3110 <errno.h>.
3111
ef606249
UD
31122011-09-06 Ulrich Drepper <drepper@gmail.com>
3113
3114 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
3115 syscall on x86-64.
3116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
3117 syscall.
3118 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3119 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
3120 syscall if possible.
3121
6585cb60
UD
31222011-09-05 Ulrich Drepper <drepper@gmail.com>
3123
3124 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
3125 e_ident. Don't pass to find_mapsXX.
3126 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
3127
a5f524e4
LD
31282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3129
3130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3131 strchr-sse2-no-bsf strrchr-sse2-no-bsf
3132 * sysdeps/x86_64/multiarch/strchr.S: Update.
3133 Check bit_slow_BSF bit.
3134 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3135 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
3136 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
3137
554881ef
UD
31382011-09-05 Ulrich Drepper <drepper@gmail.com>
3139
d96de963
UD
3140 [BZ #13134]
3141 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
3142 before glibc 2.15.
3143 (tryshell): Define.
3144 (__spawni): Change last parameter to be flag. Test
3145 SPAWN_XFLAGS_USE_PATH flag to use path or not.
3146 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
3147 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
3148 * posix/spawni.c: Likewise.
3149 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
3150 * posix/spawnp.c: Likewise. Change normal version to use
3151 SPAWN_XFLAGS_USE_PATH.
3152 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
3153 SPAWN_XFLAGS_TRY_SHELL.
3154
d48e5868
UD
3155 [BZ #13150]
3156 * posix/glob.h: Remove gcc 1.x support.
3157
554881ef
UD
3158 [BZ #13068]
3159 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
3160
693fb948
LD
31612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3162
3163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3164 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
3165 strrchr-sse2-bsf
3166 * sysdeps/i386/i686/multiarch/strchr.S: New file.
3167 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
3168 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
3169 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
3170 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
3171 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
3172
1b48c537
UD
31732011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3174
49d42c37
UD
3175 * sysdeps/x86_64/wcscmp.S: New file.
3176
1b48c537
UD
3177 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
3178 wcscmp-c wcscmp-sse2
3179 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
3180 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
3181 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
3182 * wcsmbs/wcscmp.c: Allow renaming.
3183
15c95c5d
DM
31842011-09-05 David S. Miller <davem@davemloft.net>
3185
3186 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
3187 stack slot, rather than the struct return pointer slot.
3188 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
3189 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
3190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
3191 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
3192
2f0ad8f3
UD
31932011-09-05 Ulrich Drepper <drepper@gmail.com>
3194
d88ae418
UD
3195 * po/ja.po: Update from translation team.
3196
2f0ad8f3
UD
3197 [BZ #13144]
3198 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
3199 kernel in 64-bit binaries.
3200
5f4318d1
DM
32012011-09-01 David S. Miller <davem@davemloft.net>
3202
3203 * elf/elf.h (HWCAP_SPARC_*): Move to..
3204 * sysdeps/sparc/sysdep.h: this new file and add new values.
3205 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
3206 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
3207 _DL_HWCAP_COUNT to 24.
3208 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3209 entries.
3210 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
3211 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
3212 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
3213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
3214 instead of magic constants.
3215 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3216
3ba57516
DM
32172011-08-31 David S. Miller <davem@davemloft.net>
3218
3219 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
3220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
3221 Reimplement to do errno handling inline.
3222 (SYSCALL_ERROR_HANDLER): New macro.
3223 (__SYSCALL_STRING): Do not do errno handling in asm.
3224 (__CLONE_SYSCALL_STRING): Delete.
3225 (__INTERNAL_SYSCALL_STRING): Delete.
3226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
3227 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
3228 (PSEUDO): Reimplement to do errno handling inline.
3229 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
3230 (SYSCALL_ERROR_HANDLER): New macro.
3231 (__SYSCALL_STRING): Do not do errno handling in asm.
3232 (__CLONE_SYSCALL_STRING): Delete.
3233 (__INTERNAL_SYSCALL_STRING): Delete.
3234 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
3235 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
3236 i386.
3237 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
3238 (inline_syscall*): Add 'err' argument.
3239 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
3240 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
3241 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
3242 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
3243
3244 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
3245 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3246
2bc17433
AS
32472011-08-30 Andreas Schwab <schwab@redhat.com>
3248
3249 * elf/rtld.c (dl_main): Relocate objects in dependency order.
3250
fbeb5f4d
JO
32512011-08-29 Jiri Olsa <jolsa@redhat.com>
3252
3253 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
3254 directive.
3255
ad69cc26
DM
32562011-08-24 David S. Miller <davem@davemloft.net>
3257
3258 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
3259
39dd69df
AS
32602011-08-24 Andreas Schwab <schwab@redhat.com>
3261
3262 * elf/Makefile: Add rules to build and run unload8 test.
3263 * elf/unload8.c: New file.
3264 * elf/unload8mod1.c: New file.
3265 * elf/unload8mod1x.c: New file.
3266 * elf/unload8mod2.c: New file.
3267 * elf/unload8mod3.c: New file.
3268
3269 * elf/dl-close.c (_dl_close_worker): Reset private search list if
3270 it wasn't used.
3271
2c0b250a
DM
32722011-08-23 David S. Miller <davem@davemloft.net>
3273
3274 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
3275 subtract stack bias.
3276 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
3277 %sp not %fp in calculations.
3278 (_JMPBUF_UNWINDS_ADJ): Likewise.
3279
22044b48
DM
3280 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
3281 (aio_suspend): Call it to force an exception region around the
3282 AIO_MISC_WAIT() invocation.
3283
2cae4995
AS
32842011-08-23 Andreas Schwab <schwab@redhat.com>
3285
3286 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
3287 backslash.
3288
873a772e
AJ
32892011-07-04 Aurelien Jarno <aurelien@aurel32.net>
3290
3291 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
3292 protection macro.
3293 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
3294 and <dl-machine.h>.
3295 (Elf64_FuncDesc): Remove.
3296
25ad0df1
DM
32972011-08-22 David S. Miller <davem@davemloft.net>
3298
3299 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
3300 sigaltstack check, add missing cfi directives.
3301 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
3302 missing cfi directives, and sigaltstack handling.
3303
e888bcbe
AS
33042011-08-16 Andreas Schwab <schwab@redhat.com>
3305
3306 [BZ #11724]
3307 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
3308 object is seen twice.
3309 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3310
3311 * elf/Makefile (distribute): Add tst-initorder2.c.
3312 (tests): Add tst-initorder2.
3313 (modules-names): Add tst-initorder2a tst-initorder2b
3314 tst-initorder2c tst-initorder2d. Add rules to build them.
3315 ($(objpfx)tst-initorder2.out): New rule.
3316 * elf/tst-initorder2.c: New file.
3317 * elf/tst-initorder2.exp: New file.
3318
87162f46
AS
33192011-08-22 Andreas Schwab <schwab@redhat.com>
3320
70538b7f
AS
3321 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
3322
f55ffe58
AS
3323 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
3324 dependencies back to end of function.
3325
87162f46
AS
3326 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3327 $(elfobjdir)/ld.so.
3328
91b392a4
UD
33292011-08-21 Ulrich Drepper <drepper@gmail.com>
3330
3331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
3332 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
3333 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
3334 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
3335 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
3336 of __vdso_gettimeofday.
3337 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
3338 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
3339 attribute_hidden.
3340 (_libc_vdso_platform_setup): Remove initialization of
3341 __vdso_gettimeofday and __vdso_time.
3342
5c43483f
UD
33432011-08-20 Ulrich Drepper <drepper@gmail.com>
3344
775a77e7
UD
3345 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
3346 and fgetc_unlocked.
3347 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
3348 getc_unlocked.
89f447ed 3349
49c74ba9
UD
3350 * elf/dl-open.c (add_to_global): Report additions to the global scope
3351 for LD_DEBUG=scopes.
3352 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 3353 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 3354
5c43483f
UD
3355 [BZ #13114]
3356 * stdio-common/Makefile (tests): Add bug24.
3357 * stdio-common/bug24.c: New file.
3358
a101b025
AJ
33592011-08-19 Andreas Jaeger <aj@suse.de>
3360
3361 [BZ #13114]
3362 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
3363 non-existant file when using close-on-exec mode.
3364
c88f1766
UD
33652011-08-20 Ulrich Drepper <drepper@gmail.com>
3366
0276a718
UD
3367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
3368 the very first instruction.
3369
c88f1766
UD
3370 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
3371 the CFI state in the end.
3372 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
3373 inclusion of dl-trampoline.h.
3374 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
3375
51ccffa0
AS
33762011-08-19 Andreas Schwab <schwab@redhat.com>
3377
94d7165f
AS
3378 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
3379 expectations for long double.
3380
51ccffa0
AS
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
3382 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
3383
fd708658 33842011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
3385
3386 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
3387 artificual limit depends upon the system page size.
3388
44f0a71e
UD
33892011-08-17 Ulrich Drepper <drepper@gmail.com>
3390
3391 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
3392 * resolv/Makefile: Define CFLAGS-libresolv.
3393
8de79a24
AS
33942011-08-17 Andreas Schwab <schwab@redhat.com>
3395
3396 * nss/makedb.c (compute_tables): Make variables used in nested
3397 function static.
3398
27724598
UD
33992011-08-17 Ulrich Drepper <drepper@gmail.com>
3400
c5305d88
UD
3401 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
3402 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
3403 if buffer was too small.
3404
27724598
UD
3405 * elf/pldd.c (main): Attach to all threads in the process.
3406 Rewrite /proc handling to use *at functions.
3407
076fe015
UD
34082011-08-16 Ulrich Drepper <drepper@gmail.com>
3409
174baab3
UD
3410 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
3411 specifies first scope to show.
3412 (dl_open_worker): Update callers. Move printing scope of new
3413 object to before the relocation.
44f0a71e 3414 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
3415 * sysdeps/generic/ldsodefs.h: Update declaration.
3416
076fe015
UD
3417 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
3418 string for the scope number.
3419
a60df2c3
UD
34202011-08-14 Ulrich Drepper <drepper@gmail.com>
3421
3422 * nscd/servicescache.c (cache_addserv): Make sure written is always
3423 initialized.
3424
5e4287d1
RM
34252011-08-14 Roland McGrath <roland@hack.frob.com>
3426
85ae0589
RM
3427 * sysdeps/i386/i486/bits/atomic.h
3428 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
3429 statement expression, so as to suppress "set but not used" warning.
3430 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
3431
69f63097
RM
3432 * string/strncat.c (STRNCAT): Use prototype definition.
3433
675456ef
RM
3434 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
3435 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
3436 -Iprograms here.
3437 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
3438 (localedef-modules): Add localedef.
3439 (locale-modules): Add locale.
3440
5e4287d1
RM
3441 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
3442 * elf/rtld.c (dl_main): Invert order of assignment in last change,
3443 to avoid a warning.
3444
9c96ff23
DM
34452011-08-14 David S. Miller <davem@davemloft.net>
3446
3447 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
3448 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
3449
f9ddf089
UD
34502011-08-13 Ulrich Drepper <drepper@gmail.com>
3451
44f0a71e 3452 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
3453 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
3454 * elf/rtld.c (dl_main): Set l_name of vDSO.
3455 Call _dl_show_scope when DL_DEBUG_SCOPES.
3456 (process_dl_debug): Recognize scopes flag and also set it for all.
3457 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
3458 Declare _dl_show_scope.
3459
1dc27704
UD
3460 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
3461 (do_dlopen): Pass caller_dlopen to dl_open.
3462 (__libc_dlopen_mode): Initialize caller_dlopen.
3463
f9ddf089
UD
3464 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
3465 of libc. Make tolower call locale-independent. Optimize a bit by
3466 using isdigit instead of isalnum.
3467 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
3468
9ac533d3
UD
34692011-08-12 Ulrich Drepper <drepper@gmail.com>
3470
3471 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
3472 was a dependency or dynamically loaded.
3473
89edf2e9
UD
34742011-08-11 Ulrich Drepper <drepper@gmail.com>
3475
8e999d29
UD
3476 * intl/l10nflist.c: Allow architecture-specific pop function.
3477 * sysdeps/x86_64/l10nflist.c: New file.
3478
89edf2e9
UD
3479 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
3480 classification.
3481
14d96785
AS
34822011-08-10 Andreas Schwab <schwab@redhat.com>
3483
3484 * include/dirent.h: Add libc_hidden_proto for scandirat and
3485 scandirat64. Don't declare __scandirat64.
3486 * dirent/scandirat.c: Add libc_hidden_def.
3487 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
3488 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
3489
6761ac04
DM
34902011-08-10 David S. Miller <davem@davemloft.net>
3491
3492 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
3493 enum.
3494 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3495 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3496 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3497
c55fbd1e
UD
34982011-08-09 Ulrich Drepper <drepper@gmail.com>
3499
3500 * Versions.def [libc]: Add GLIBC_2.15.
3501 * dirent/Makefile (routines): Add scandirat and scandirat64.
3502 * dirent/Versions [libc]: Export scandirat and scandirat64 for
3503 GLIBC_2.15.
3504 * dirent/dirent.h: Declare scandirat and scandirat64.
3505 * dirent/scandirat.c: New file.
3506 * dirent/scandirat64.c: New file.
3507 * sysdeps/wordsize-64/scandirat.c: New file.
3508 * sysdeps/wordsize-64/scandirat64.c: New file.
3509 * dirent/opendir.c: Define opendirat.
3510 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
3511 using scandirat.
3512 * dirent/scandir64.c: Adjust for scandir.c change.
3513 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
3514 __scandirat64, and __scandir_cancel_handler.
3515 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
3516 additional parameter and use openat instead of open (outside of ld.so).
3517 Add new __opendir as wrapper around __opendirat.
3518 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
3519 here without requiring old scandirat implementation.
3520
879165f2
UD
35212011-08-08 Ulrich Drepper <drepper@gmail.com>
3522
3523 * dirent/scandir.c (cancel_handler): Renamed to
3524 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
3525 defined. Adjust users.
3526 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
3527 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
3528
cb7e923b
UD
35292011-08-04 Ulrich Drepper <drepper@gmail.com>
3530
16292edd
UD
3531 * string/test-string.h (IMPL): Use __STRING to expand name and then
3532 stringify it.
3533
cb7e923b
UD
3534 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
3535 of cleanups.
3536
cff82933
LD
35372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3538
3539 * string/Makefile: Update.
3540 (strop-tests): Append strncat.
3541 * string/test-wcscmp.c: New file.
3542 New comprehensive test for wcscmp.
3543 * string/test-strcmp.c: Update.
3544 (WIDE): New define.
3545
9be9bfcc
AS
35462011-07-22 Andreas Schwab <schwab@redhat.com>
3547
3548 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
3549 line.
3550
2e96f1c7
AS
35512011-07-26 Andreas Schwab <schwab@redhat.com>
3552
3553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3554 encoding to ACE if AI_IDN.
3555
85188888
JJ
35562011-08-01 Jakub Jelinek <jakub@redhat.com>
3557
3558 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
3559 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
3560
5fa16e9b
LD
35612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3562
3563 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
3564 Fix overflow bug in strncat.
3565 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3566
3567 * string/test-strncat.c: Update.
3568 Add new tests for checking overflow bugs.
3569
35702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3571
3572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3573 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
3574 * sysdeps/i386/i686/multiarch/strcat.S: New file.
3575 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
3576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
3577 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
3578 * sysdeps/i386/i686/multiarch/strncat.S: New file.
3579 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
3580 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
3581
3582 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
3583 (USE_AS_STRCAT): Define.
3584 Add strcat and strncat support.
3585 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3586
8c1a459f
AS
35872011-07-25 Andreas Schwab <schwab@redhat.com>
3588
3589 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
3590 __n bigger than INT_MAX+1.
3591 (__strncmp_g): Likewise.
3592
bba33c28
UD
35932011-07-23 Ulrich Drepper <drepper@gmail.com>
3594
798be72d
UD
3595 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
3596 * libio/stido.h: Likewise.
3597
8accd4dc
UD
3598 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
3599 (AF_NFC): Define.
3600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
3601 (AF_NFC): Define.
3602
cbff0d96
UD
3603 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
3604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3605 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3606 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3608
9191c04a
UD
3609 [BZ #13021]
3610 * scripts/test-installation.pl: Don't expect libnss_test1 to be
3611 installed.
3612
bba33c28
UD
3613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
3614 typo.
3615 (_dl_x86_64_save_sse): Likewise.
3616
90f139dd
UD
36172011-07-22 Ulrich Drepper <drepper@gmail.com>
3618
1aae088a
UD
3619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
3620 OSXSAVE.
3621 (_dl_x86_64_save_sse): Likewise.
3622
8e2045f5
UD
3623 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
3624
90f139dd
UD
3625 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
3626
1d002f25
AS
36272011-07-21 Andreas Schwab <schwab@redhat.com>
3628
3629 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
3630 change.
3631 (_dl_x86_64_save_sse): Use correct AVX check.
3632
21137f89
UD
36332011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3634
3635 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
3636 bug in strncpy/strncat.
3637 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3638
a65c0b7a
UD
36392011-07-21 Ulrich Drepper <drepper@gmail.com>
3640
3641 * string/tester.c (test_strcat): Add tests for different alignments
3642 of source and destination.
3643 (test_strncat): Likewise.
3644
6986b98a
UD
36452011-07-20 Ulrich Drepper <drepper@gmail.com>
3646
90bb2039
UD
3647 [BZ #12852]
3648 * posix/glob.c (glob): Check passed in values before using them in
3649 expressions to avoid some overflows.
3650 (glob_in_dir): Likewise.
3651
5644ef54
UD
3652 [BZ #13007]
3653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
3654 check for AVX enablement so that we don't crash with old kernels and
3655 new hardware.
3656 * elf/tst-audit4.c: Add same checks here.
3657 * elf/tst-audit6.c: Likewise.
3658
3659 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 3660
bfc9dc9b
AS
36612011-07-09 Andreas Schwab <schwab@linux-m68k.org>
3662
3663 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
3664
702e64bb
UD
36652011-07-20 Ulrich Drepper <drepper@gmail.com>
3666
3667 * po/cs.po: Update from translation team.
3668 * po/bg.po: Likewise.
3669
295e904f
MP
36702011-07-12 Marek Polacek <mpolacek@redhat.com>
3671
3672 * misc/sys/cdefs.h: Add support for const attribute.
3673 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
3674 to gnu_dev_{major,minor,makedev} functions.
3675
3ff94596
MP
36762011-07-20 Marek Polacek <mpolacek@redhat.com>
3677
3678 * intl/dcigettext.c (get_output_charset): Add missing bracket.
3679
28b59fca
AS
36802011-07-20 Andreas Schwab <schwab@redhat.com>
3681
3682 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
3683 strlen results.
3684
19df733e
AK
36852011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3686
3687 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3688 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
3689 register in order to avoid conflicts with the soft frame pointer
3690 being held in r11 when necessary.
3691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3692 (INTERNAL_VSYSCALL_NCS): Likewise.
3693
c8835729
MP
36942011-07-14 Marek Polacek <mpolacek@redhat.com>
3695
3696 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
3697 * elf/dl-fini.c (_dl_fini): Adjust caller.
3698 * elf/dl-close.c (_dl_close_worker): Likewise.
3699 * sysdeps/generic/ldsodefs.h: Adjust declaration.
3700
b902330c
MP
37012011-07-15 Marek Polacek <mpolacek@redhat.com>
3702
8991e135
MP
3703 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
3704 "aux_cache->nlibs < 0".
3705
b902330c
MP
3706 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
3707 in the reload-count case.
3708
99710781
LD
37092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3710
3711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3712 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
3713 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
3714 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
3715 * sysdeps/x86_64/multiarch/strcat.S: New file.
3716 * sysdeps/x86_64/multiarch/strncat.S: New file.
3717 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
3718 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
3719 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
3720 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
3721 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
3722 (USE_AS_STRCAT): Define.
3723 Add strcat and strncat support.
3724 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3725 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3726 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
3727 * string/strncat.c: Update.
3728 (USE_AS_STRNCAT): Define.
3729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3730 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
3731 and i7.
3732 * sysdeps/x86_64/multiarch/init-arch.h
3733 (bit_Prefer_PMINUB_for_stringop): New.
3734 (index_Prefer_PMINUB_for_stringop): Likewise.
3735 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
3736 bit_Prefer_PMINUB_for_stringop.
3737
7dc6bd90
UD
37382011-07-19 Ulrich Drepper <drepper@gmail.com>
3739
3740 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
3741 buffer64.
3742 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
3743 of casting of buffer.
3744 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
3745 buffer32 and buffer64.
3746 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
3747 writes instead of casting of buffer.
3748 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
3749 buffer32.
3750 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
3751 casting of buffer.
3752
e0e72284
AS
37532011-07-19 Andreas Schwab <schwab@redhat.com>
3754
3755 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
3756
feb1eb0b
UD
37572011-07-19 Ulrich Drepper <drepper@gmail.com>
3758
3759 * nscd/nscd.c (termination_handler): Don't do anything for a database
3760 if it has not yet been initialized.
3761
298711ff
UD
37622011-07-18 Ulrich Drepper <drepper@gmail.com>
3763
3764 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3765
37662011-07-15 Marek Polacek <mpolacek@redhat.com>
3767
3768 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3769
f9d68389
UD
37702011-07-18 Ulrich Drepper <drepper@gmail.com>
3771
3772 * po/nl.po: Update from translation team.
3773 * po/sv.po: Likewise.
3774
db290cf5
RM
37752011-07-16 Roland McGrath <roland@hack.frob.com>
3776
3777 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
3778 now disallowed by GCC.
5c550700 3779
fd5e21c7
RM
3780 * configure.in (use-default-link): Default to yes if a test -shared
3781 link meets our qualifications.
3782 * configure: Regenerated.
3783
5c550700
RM
3784 * config.make.in (output-format): New variable.
3785 * configure.in: Check for ld --print-output-format support.
3786 * configure: Regenerated.
3787 * Makerules ($(common-objpfx)format.lds)
3788 [$(output-format) != unknown]: Just use $(output-format),
3789 instead of the linker-script munging.
3790
9fa2c032
RM
37912011-07-14 Roland McGrath <roland@hack.frob.com>
3792
a6928d51
RM
3793 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
3794 of $(common-objpfx)shlib.lds.
3795 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
3796
661607b3
RM
3797 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
3798 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
3799
9fa2c032
RM
3800 * configure.in (-z relro check): Adjust test code to add a large
3801 writable data section after it.
3802 * configure: Regenerated.
3803
defe9061
RM
38042011-07-11 Roland McGrath <roland@hack.frob.com>
3805
3806 * configure.in (-z relro check): Fix test code to make the variable
3807 truly const.
3808 * configure: Regenerated.
3809
319b9ad4
UD
38102011-07-11 Ulrich Drepper <drepper@gmail.com>
3811
3812 * nscd/nscd.h (struct traced_file): Define.
3813 (struct database_dyn): Remove inotify_descr, reset_res, and filename
3814 elements. Add traced_files.
3815 (inotify_fd): Declare.
3816 (register_traced_file): Declare.
3817 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
3818 (inotify_fd): Export.
3819 (resolv_conf_descr): Remove.
3820 (nscd_init): Move inotify descriptor creation to main.
3821 Don't register files for notification here.
3822 (register_traced_file): New function.
3823 (invalidate_cache): Don't use reset_res to determine whether to call
3824 res_init, go through the list of registered files.
3825 (main_loop_poll): The inotify descriptors are now stored in the
3826 structures for the traced files.
3827 (main_loop_epoll): Likewise
3828 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
3829 to __nss_disable_nscd.
3830 * nscd/cache.c (prune_cache): There is no single inotify descriptor
3831 for a database anymore. Check the records for all the registered
3832 files instead.
3833 * nss/Makefile (libnss_files-routines): Add files-init.
3834 (libnss_db-routines): Add db-init.
3835 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
3836 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
3837 * nss/nss_db/db-init.c: New file.
3838 * nss/nss_files/files-init.c: New file.
3839 * nss/nsswitch.c (nss_load_library): New function. Broken out of
3840 __nss_lookup_function.
3841 (__nss_lookup_function): Call nss_load_library.
3842 (nss_load_all_libraries): New function.
3843 (__nss_disable_nscd): Take parameter with callback function for files
3844 to register. Set is_nscd. Load all the DSOs for the NSS modules
3845 used for the cached services.
3846 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
3847 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
3848 options for features to all the files in nscd.
3849
3850 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
3851
23bee3e8
RM
38522011-07-10 Roland McGrath <roland@hack.frob.com>
3853
3854 * csu/elf-init.c (__libc_csu_init): Comment typo.
3855
46a5b7f0
UD
38562011-07-09 Ulrich Drepper <drepper@gmail.com>
3857
3858 * po/pl.po: Update from translation team.
3859 * po/ja.po: Likewise.
3860 * po/ru.po: Likewise.
3861 * po/ko.po: Likewise.
3862 * po/fr.po: Likewise.
3863
d30cf5bb
RM
38642011-07-09 Roland McGrath <roland@hack.frob.com>
3865
113ddea4
RM
3866 * configure.in (.ctors/.dtors header and trailer check):
3867 Use an empirical test on a built program.
3868 * configure: Regenerated.
3869
574920b4
RM
3870 * configure.in (-z relro check): Use an empirical test on a built DSO.
3871 Detect, but do not require, on ia64.
3872 * configure: Regenerated.
3873
d30cf5bb
RM
3874 * configure.in (READELF): Find it with AC_CHECK_TOOL.
3875 Update tests that use readelf to use $READELF instead.
3876 * configure: Regenerated.
3877
8538fdb3
UD
38782011-07-08 Ulrich Drepper <drepper@gmail.com>
3879
3880 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
3881 if the result is not used.
3882
04d08991
AJ
38832011-07-05 Andreas Jaeger <aj@suse.de>
3884
3885 [BZ#9696]
3886 * stdlib/tst-strtod.c: Add testcase.
3887
de283087
AD
38882011-07-07 Ulrich Drepper <drepper@gmail.com>
3889
4e5f31c8 3890 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 3891 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
3892 The latter has a higher limit. Take additional parameter to pass to
3893 the new function.
3894 (__pathconf): Pass file to __statfs_link_max.
3895 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
3896 __statfs_link_max.
3897 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
3898 __statfs_link_max.
3899
de283087
AD
3900 [BZ #12868]
3901 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
3902 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3903 Handle Lustre.
3904 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
3905 (__statfs_filesize_max): Likewise.
3906 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
3907
c75fa153
AJ
39082011-07-05 Andreas Jaeger <aj@suse.de>
3909
3910 * resolv/res_comp.c (dn_skipname): Remove unused variable.
3911
1a544854
UD
39122011-07-06 Marek Polacek <mpolacek@redhat.com>
3913
3914 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
3915 `status' variable.
3916 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
3917 Likewise.
3918
6f0eec67
UD
39192011-07-04 H.J. Lu <hongjiu.lu@intel.com>
3920
3921 * Makefile (strop-tests): Add strncat.
3922 * string/test-strncat.c: New file.
3923
aae30307
UD
39242011-06-30 Marek Polacek <mpolacek@redhat.com>
3925
3926 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
3927
c0cfb5eb
UD
39282011-06-21 Andreas Jaeger <aj@suse.de>
3929
3930 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
3931 Copy rule from iconvdata/Makefile.
3932
01636b21
UD
39332011-07-06 Ulrich Drepper <drepper@gmail.com>
3934
3935 [BZ #12922]
3936 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
3937 but no long options are defined, just return 'W'.
3938
9895c8bc
UD
39392011-06-22 Marek Polacek <mpolacek@redhat.com>
3940
3941 [BZ #9696]
3942 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
3943
5d4cf042
UD
39442011-07-06 Ulrich Drepper <drepper@gmail.com>
3945
3946 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
3947 netgroups to read.
960e5535 3948 (innetgr): Likewise.
5d4cf042 3949
751eb97e
RM
39502011-07-05 Roland McGrath <roland@hack.frob.com>
3951
3952 * config.make.in (install_root): Default to $(DESTDIR).
3953
f15f1e45
UD
39542011-07-05 Ulrich Drepper <drepper@gmail.com>
3955
3956 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
3957
4e34ac6a
RM
39582011-07-02 Roland McGrath <roland@hack.frob.com>
3959
5e9b6af4
RM
3960 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
3961
84f9ea0f
RM
3962 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
3963 containing directory rather than embedding absolute directory names.
3964
ea5ee9f7
RM
3965 * scripts/check-local-headers.sh: Rewritten using awk.
3966 Match by word, not by line. Print error messages for matches.
3967 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
3968
1b74661a
RM
3969 * Makerules [shlib-lds-flags empty]:
3970 ($(common-objpfx)libc_pic.opts): New target.
3971 ($(common-objpfx)libc_pic.os.clean): New target.
3972 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
3973
3974 * config.make.in (OBJCOPY): New variable.
3975 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
3976 * configure: Regenerated.
3977
f781ef40
RM
3978 * config.make.in (use-default-link): New variable.
3979 * configure.in (use_default_link): Grok --with-default-link to set it.
3980 * configure: Regenerated.
3981 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
3982 (shlib-lds, shlib-lds-flags): Define to empty.
3983
2d4fa81e
RM
3984 * Makerules (shlib-lds): New variable.
3985 (shlib-lds-flags): New variable.
3986 (build-shlib, build-moduile, build-module-asneeded): Use it.
3987 ($(common-objpfx)libc.so): Use $(shlib-lds).
3988 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
3989 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
3990
31fffa6b
RM
3991 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
3992 DT_FLAGS/DT_FLAGS_1 with zero flags.
3993
4e34ac6a
RM
3994 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
3995 linker script munging.
3996
fcfc776b
UD
39972011-07-02 Ulrich Drepper <drepper@gmail.com>
3998
3999 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
4000 as 128-bit value.
4001 * crypt/sha512.c (sha512_process_block): Perform total addition using
4002 128-bit if possible.
4003 (__sha512_finish_ctx): Likewise.
4004 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
4005 as 64-bit value.
4006 * crypt/sha256.c (SWAP64): Define.
4007 (sha256_process_block): Perform total addition using 64-bit if
4008 possible.
4009 (__sha256_finish_ctx): Likewise.
4010
99231d9a
UD
40112011-07-01 Ulrich Drepper <drepper@gmail.com>
4012
4013 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
4014 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4015 * nscd/hstcache.c (cache_addhst): Likewise.
4016 * nscd/grpcache.c (cache_addgr): Likewise.
4017 * nscd/aicache.c (addhstaiX): Likewise
4018 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
4019
445b4a53
TK
40202011-07-01 Thorsten Kukuk <kukuk@suse.de>
4021
4022 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
4023 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4024 * nscd/hstcache.c (cache_addhst): Likewise.
4025 * nscd/grpcache.c (cache_addgr): Likewise.
4026 * nscd/aicache.c (addhstaiX): Likewise
4027
6d4d8e8e
AS
40282011-07-01 Andreas Schwab <schwab@redhat.com>
4029
4030 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
4031 domain only when needed.
4032
89f654c5
AS
40332011-06-30 Andreas Schwab <schwab@redhat.com>
4034
4035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
4036 is always restored.
4037
cf3b23ff
UD
40382011-06-29 Ulrich Drepper <drepper@gmail.com>
4039
4040 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
4041 are re-adding the entry.
4042 * nscd/servicescache.c (cache_addserv): Likewise.
4043
751626f9
AJ
40442011-06-30 Aurelien Jarno <aurelien@aurel32.net>
4045
4046 * sysdeps/generic/dl-irel.h: fix protection against multiple
4047 inclusions.
4048 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
4049
9113ea1f
UD
40502011-06-28 Ulrich Drepper <drepper@gmail.com>
4051
5c0b8d90
UD
4052 [BZ #12935]
4053 * malloc/memusage.sh: Fix quoting in message.
4054 * debug/xtrace.sh: Likewise.
4055
9113ea1f
UD
4056 * configure.in: Remove support for --experimental-malloc option, make
4057 it the default.
4058 * config.make.in: Likewise.
4059 * malloc/Makefile: Likewise.
4060
a4172181
AS
40612011-06-27 Andreas Schwab <schwab@redhat.com>
4062
4063 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
4064 two-byte characters.
4065
78a7eee7
RM
40662011-06-27 Roland McGrath <roland@hack.frob.com>
4067
62bede13
RM
4068 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
4069 AC_CACHE_CHECK invocation.
4070 * configure: Regenerated.
4071
78a7eee7
RM
4072 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
4073
5ce33a62
UD
40742011-06-27 Ulrich Drepper <drepper@gmail.com>
4075
034807a9
UD
4076 [BZ #12350]
4077 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
4078 bit from old_res_options.
4079
4902da17
UD
4080 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
4081
5ce33a62
UD
4082 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
4083 value type for setfct.
4084
c2344f56
L
40852011-06-23 H.J. Lu <hongjiu.lu@intel.com>
4086
4087 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4088 __gettimeofday instead of gettimeofday.
4089
68468076
UD
40902011-06-26 Ulrich Drepper <drepper@gmail.com>
4091
4092 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
4093
acb0d739
L
40942011-06-24 H.J. Lu <hongjiu.lu@intel.com>
4095
4096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
4097
4098 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
4099 info.
4100
8912479f
L
41012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4102
4103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4104 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4105 strcpy-sse2-unaligned strncpy-sse2-unaligned
4106 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
4107 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
4108 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
4109 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
4110 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
4111 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
4112 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
4113 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
4114 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
4115 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
4116 (STRCPY): Support SSE2 and SSSE3 versions.
4117
d5495a11
UD
41182011-06-24 Ulrich Drepper <drepper@gmail.com>
4119
4120 [BZ #12874]
4121 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
4122 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
4123 kernels which artificially limit size of requests.
4124
0b1cbaae
L
41252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4126
4127 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4128 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4129 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
4130 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
4131 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
4132 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
4133 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
4134 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
4135 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
4136 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
4137 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
4138 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
4139 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
4140 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
4141 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
4142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4143 Enable unaligned load optimization for Intel Core i3, i5 and i7
4144 processors.
4145 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
4146 Define.
4147 (index_Fast_Unaligned_Load): Define.
4148 (HAS_FAST_UNALIGNED_LOAD): Define.
4149
07f494a0
MP
41502011-06-23 Marek Polacek <mpolacek@redhat.com>
4151
4152 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
4153
fa3fc0fe
UD
41542011-06-22 Ulrich Drepper <drepper@gmail.com>
4155
4156 [BZ #12907]
4157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
4158 until it is clear that the information is realy needed.
4159 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
4160
e12df166
AS
41612011-06-22 Andreas Schwab <schwab@redhat.com>
4162
4163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
4164
852eb34d
UD
41652011-06-22 Ulrich Drepper <drepper@gmail.com>
4166
84e2a551
UD
4167 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4168 /sys/devices/system/cpu/online if it is usable.
4169
852eb34d
UD
4170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
4171 reading the information from the /proc filesystem to once a second.
4172
6e502e19
UD
41732011-06-21 Andreas Jaeger <aj@suse.de>
4174
4175 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
4176 NULL after inclusion of kernel headers.
4177
75d39ff2
UD
41782011-06-21 Ulrich Drepper <drepper@gmail.com>
4179
51f9aa6a
UD
4180 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
4181 calls to internal_setent.
4182
c0244a9d
UD
4183 [BZ #12885]
4184 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
4185 addresses using gethostbyname4_r ignore IPv4 addresses.
4186
c5e3c2ae
UD
4187 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
4188 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
4189
75d39ff2
UD
4190 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
4191
42675c6f
DM
41922011-06-20 David S. Miller <davem@davemloft.net>
4193
4194 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
4195 inclusions.
4196 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
4197
4198 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
4199 (elf_irel): Use it.
4200 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
4201 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
4202 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
4203 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
4204 * sysdeps/x86_64/dl-irel.h: Likewise.
4205
4206 * elf/dl-runtime.c: Use elf_ifunc_invoke.
4207 * elf/dl-sym.c: Likewise.
4208
57912a71
UD
42092011-06-15 Ulrich Drepper <drepper@gmail.com>
4210
4211 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
4212 need to dereference resplen2.
4213
ee22793d
AS
42142011-06-14 Andreas Schwab <schwab@redhat.com>
4215
4216 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
4217
a9e836b0
UD
42182011-06-15 Ulrich Drepper <drepper@gmail.com>
4219
77fb9117
UD
4220 * Makeconfig: Define vardbdir and inst_vardbdir.
4221 * nss/Makefile: Add rules to install db-Makefile.
4222
40c1b22c
UD
4223 * nss/nss_db/db-XXX.c: Cleanup.
4224
9f2da732
UD
4225 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
4226 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
4227 GLIBC_PRIVATE.
4228 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
4229 * nss/makedb.c: Implement -g option to specify that value strings
4230 are generated and should not be added to table iterated over for
4231 get*ent calls.
4232 * nss/nss_db/db-initgroups.c: New file.
4233
82e9a1f7
UD
4234 * nss/getent.c: Add support for initgroups lookups through getgrouplist
4235 interface.
4236
c41af17e
UD
4237 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
4238 (internal_getgrouplist): Adjust to name change.
4239 Update use_initgroups_entry if this is not the first call.
4240 * nss/databases.def: Add initgroups entry.
4241
a9e836b0
UD
4242 * nss/makedb.c (compute_tables): Check result of multiple hash table
4243 sizes to minimize maximum chain length.
4244
2666d441
UD
42452011-06-14 Ulrich Drepper <drepper@gmail.com>
4246
4247 * Versions.def: Add entry for libnss_db.
4248 * shlib-versions: Likewise.
4249 * nss/Makefile: Add rules to build libnss_db.
4250 * nss/Versions: Add libnss_db information. Organize libnss_files
4251 entries better.
4252 * nss/db-Makefile: Add gshadow support. Change rules for the new
4253 makedb progra. Some minor improvements to generate smaller files.
4254 * nss/nss_db/nss_db.h: Move NSS database header data structures to
4255 here from...
4256 * nss/makedb.c: ...here.
4257 Improve database format to be smaller and require less memory at
4258 runtime.
4259 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
4260 db anymore.
4261 * nss/nss_db/db-netgrp.c: Likewise.
4262 * nss/nss_db/db-open.c: Likewise.
4263 * nss/nss_files/flies-XXX.x: Adjust comments.
4264 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
4265 * nss/nss_files/files-grp.c: Likewise.
4266 * nss/nss_files/files-hosts.c: Likewise.
4267 * nss/nss_files/files-network.c: Likewise.
4268 * nss/nss_files/files-proto.c: Likewise.
4269 * nss/nss_files/files-pwd.c: Likewise.
4270 * nss/nss_files/files-rpc.c: Likewise.
4271 * nss/nss_files/files-service.c: Likewise.
4272 * nss/nss_files/files-sgrp.c: Likewise.
4273 * nss/nss_files/files-spwd.c: Likewise.
4274 * nss/nss_db/db-alias.c: Removed.
4275 * nss/nss_db/dummy-db.h: Removed.
4276
9ee76b5a
UD
42772011-06-02 Ulrich Drepper <drepper@gmail.com>
4278
4279 * nss/makedb.c: Rewritten to not use database library.
4280 * nss/Makefile: Update to build new makedb program.
4281
c71ca1f8
AJ
42822011-06-14 Andreas Jaeger <aj@suse.de>
4283
4284 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
4285 memset declaration.
4286
3154bfb8
UD
42872011-06-10 Andreas Schwab <schwab@redhat.com>
4288
4289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
4290 tmpbuf.
4291
b350afab
RM
42922011-06-10 Roland McGrath <roland@hack.frob.com>
4293
decd4e50
RM
4294 * Makerules (shlib.lds): Fail if the linker script comes out empty.
4295 * elf/Makefile ($(objpfx)ld.so): Likewise.
4296
5615eaf2
RM
4297 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
4298 Don't list ld.so twice in dependencies.
4299
4300 * posix/bug-regex31.c: Include <stdlib.h>.
4301
4302 * nscd/hstcache.c (cache_addhst): Remove unused variable.
4303
4304 * nis/nss_compat/compat-spwd.c
4305 (getspent_next_nss_netgr): Remove unused variable.
4306 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4307
4308 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
4309 nonmembers" output to use the right array.
4310
4311 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
4312
4313 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
4314
4315 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
4316 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
4317 * catgets/gencat.c (read_input_file): Likewise.
4318 * locale/programs/locarchive.c (enlarge_archive): Likewise.
4319
4320 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
4321 variable definition inside #if's controlling its use.
4322
4323 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
4324
4325 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
4326
4327 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
4328
4329 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
4330 unreachable code.
4331
4332 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
4333
b68e08db
RM
4334 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
4335 * configure: Regenerated.
4336
b350afab
RM
4337 * Makerules: Revert last change.
4338 * elf/Makefile: Likewise.
4339
28368601
RM
43402011-06-09 Roland McGrath <roland@hack.frob.com>
4341
4342 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
4343 * elf/Makefile ($(objpfx)librtld.os): Likewise.
4344 (reloc-link): Likewise.
4345
11988f8f
UD
43462011-06-09 Ulrich Drepper <drepper@gmail.com>
4347
4348 * elf/Makefile: Add rules to build pldd.
4349 * elf/pldd.c: New file.
4350 * elf/pldd-xx.c: New file.
4351
e80fab37
UD
43522011-06-07 Ulrich Drepper <drepper@gmail.com>
4353
4354 * version.h: Update for 2.15 development version.
4355
9b849836
DM
43562011-06-07 David S. Miller <davem@davemloft.net>
4357
4358 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
4359 ifuncs.
4360 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4361 elf_machine_lazy_rel): Likewise.
4362 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4363 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4364 elf_machine_lazy_rel): Likewise.
4365 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
4366 dl_hwcap via passed in argument.
4367 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
4368 Likewise.
4369
5a31b283
AK
43702011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4371
4372 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
4373
069e52f8
RM
43742011-06-06 Roland McGrath <roland@hack.frob.com>
4375
4376 [BZ #12849]
4377 * manual/fdl-1.1.texi: New file, verbatim from:
4378 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
4379 * manual/lgpl-2.1.texi: New file, verbatim from:
4380 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
4381 * manual/Makefile (licenses): New variable, list those new file names.
4382 (texis): Use it.
4383 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
4384
4385 * manual/fdl.texi: File removed.
4386 * manual/lesser.texi: File removed.
4387 * manual/libc.texinfo (Copying, Documentation License):
4388 Use new @include file names, put @appendix directive before @include.
4389
f16846a5
JJ
43902011-06-04 Jakub Jelinek <jakub@redhat.com>
4391
4392 [BZ #12841]
4393 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
4394 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
4395 (mq_open): Add __NTH.
4396
3d29045b
L
43972011-06-02 H.J. Lu <hongjiu.lu@intel.com>
4398
4399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4400 Assume Intel Core i3/i5/i7 processor if AVX is available.
4401
8c297311
UD
44022011-05-31 Ulrich Drepper <drepper@gmail.com>
4403
4404 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4405 typo.
4406
c8fc0c91
UD
44072011-05-31 Andreas Schwab <schwab@redhat.com>
4408
4409 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
4410 memory. Use alloca_account. Fix memory leak when retrying.
4411
5b27a807
UD
44122011-05-31 Ulrich Drepper <drepper@gmail.com>
4413
356f8bc6
UD
4414 * version.h (RELEASE): Bump for 2.14 release.
4415 * include/features.h (__GLIBC_MINOR__): Bump to 14.
4416
5b27a807
UD
4417 * config.make.in (RANLIB): Remove entry.
4418
01f16ab0
UD
44192011-05-30 Ulrich Drepper <drepper@gmail.com>
4420
41fce8bd
UD
4421 * po/Makefile (po-sed-cmd): Add ksh to extensions.
4422 (libc.pot): Work around missing support for .ksh extension in xgettext.
4423
4769ae77
UD
4424 [BZ #12684]
4425 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
4426 if both request failed.
4427 (send_dg): In case of server errors clear resplen or *resplen2.
4428
6b1e7d19
UD
4429 [BZ #12454]
4430 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
4431 when there are multiple maps.
4432 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
4433 (_dl_fini): Remove test here.
4434
01f16ab0
UD
4435 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
4436
b1ebd700
UD
44372011-05-29 Ulrich Drepper <drepper@gmail.com>
4438
7ae22829
UD
4439 [BZ #12350]
4440 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
4441 bit from old_res_options.
4442 (gaih_inet): Likewise.
4443
553149f6 4444 [BZ #11099]
18a84741 4445 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
4446 as signed.
4447
652ffab1
UD
4448 * resolv/res_init.c (res_setoptions): Make the code more compact.
4449
16985fd0
UD
4450 [BZ #11558]
4451 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
4452 set RES_USEVC.
4453
0464f746
UD
4454 [BZ #11634]
4455 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
4456
7d17596c
UD
4457 * malloc/malloc.h: Mark malloc hook variables as deprecated.
4458
cf6bbbd7
UD
4459 [BZ #11781]
4460 * malloc/malloc.h: Declare malloc hook variables as volatile.
4461
13f1ab36
UD
4462 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
4463 in last patch.
4464
b1ebd700
UD
4465 [BZ #11799]
4466 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 4467 raise in the comment.
80e2212d
UD
4468 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4469 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4470 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 4471
ce67228d
UD
44722011-05-28 Ulrich Drepper <drepper@gmail.com>
4473
8887a920
UD
4474 [BZ #12811]
4475 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
4476 grow the buffers more if it already has to be sufficient.
4477 (build_wcs_upper_buffer): Likewise.
4478 * posix/regexec.c (check_matching): Likewise.
4479 (clean_state_log_if_needed): Likewise.
4480 (extend_buffers): Don't enlarge buffers beyond size of the input
4481 buffer.
4482 Patches mostly by Emil Wojak <emil@wojak.eu>.
4483 * posix/bug-regex32.c: New file.
4484 * posix/Makefile (tests): Add bug-regex32.
4485
4f031072
UD
4486 * locale/findlocale.c (_nl_find_locale): Return right away if
4487 _nl_explode_name failed.
4488 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4489
d0478f0c
UD
4490 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
4491
de81b246
UD
4492 * debug/xtrace.sh: Unify messages.
4493 * malloc/memusage.sh: Likewise.
4494
c738465a
UD
4495 [BZ #12813]
4496 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
4497 time symbol from vDSO. Substitute with vsyscall if not available.
4498 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
4499 __vdso_time.
4500
f1f929d7
UD
4501 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
4502 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
4503 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
4504 Add sendmmsg and internal_sendmmsg.
4505 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
4506 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
4507 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
4508
ce67228d
UD
4509 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
4510 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
4511 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
4512
e57420c6
UD
45132011-05-27 Ulrich Drepper <drepper@gmail.com>
4514
a8509ca5
UD
4515 [BZ #12813]
4516 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
4517 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
4518 available.
4519 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
4520 __vdso_getcpu.
4521
e57420c6
UD
4522 [BZ #12814]
4523 * iconvdata/Makefile (tests): Add bug-iconv9.
4524 * iconvdata/bug-iconv9.c: New file.
4525
4d07db15
AS
45262011-05-27 Andreas Schwab <schwab@redhat.com>
4527
4528 [BZ #12814]
4529 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
4530
ea486f69
JJ
45312011-05-25 Jakub Jelinek <jakub@redhat.com>
4532
4533 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4534 (struct user_regs_struct): Change intcs field back to cs.
4535
6f038433
UD
45362011-05-25 Ulrich Drepper <drepper@gmail.com>
4537
4538 * po/ja.po: Update from translation team.
4539
67f86a25
UD
45402011-05-23 Ulrich Drepper <drepper@gmail.com>
4541
4542 [BZ #12795]
4543 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
4544 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
4545
def7fbd6
AS
45462011-05-20 Andreas Schwab <schwab@redhat.com>
4547
4548 * stdlib/longlong.h: Update from GCC.
4549
f50ef8f1
AS
45502011-05-23 Andreas Schwab <schwab@redhat.com>
4551
4552 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
4553 parameter name.
4554 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
4555 Add parameter name.
4556 (__sysconf): Pass it down.
4557
de7ce8f1
UD
45582011-05-22 Ulrich Drepper <drepper@gmail.com>
4559
f2962a71
UD
4560 [BZ #12671]
4561 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
4562 some situations.
4563 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4564 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
4565 add in in __libc_use_alloca calls. Adjust callers.
4566 (glob): Use malloc in some situations.
4567
de7ce8f1
UD
4568 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
4569 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
4570 pltexit.
4571
aec84f53
UD
45722011-05-21 Ulrich Drepper <drepper@gmail.com>
4573
05bb4a68
UD
4574 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
4575 and CLOCK_BOOTTIME_ALARM.
4576
7ea72f99
UD
4577 [BZ #12782]
4578 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
4579 is returned.
4580
7e4afad5
UD
4581 * string/_strerror.c (__strerror_r): Print negative errors as signed
4582 numbers.
4583
8e211fec
UD
4584 [BZ #12777]
4585 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
4586 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
4587 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
4588
f7d82dc9
UD
4589 * configure.in: Fix typo in redirection and correct removal of test
4590 files in two cases.
4591
cc9e536d
UD
4592 [BZ #12788]
4593 * locale/setlocale.c (new_composite_name): Fix test to check for
4594 identical name of all categories.
4595
aec84f53
UD
4596 [BZ #12792]
4597 * libio/filedoalloc.c (local_isatty): New function.
4598 (_IO_file_doallocate): Use local_isatty.
4599 * stdio-common/perror.c (perror): In case a new stream is used
4600 forward the stream error.
4601 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
4602 error flag.
4603
78e64fdc
RT
46042011-05-20 Ulrich Drepper <drepper@gmail.com>
4605
34a9094f
UD
4606 [BZ #11869]
4607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
4608 alloca.
4609 * include/alloca.h (extend_alloca_account): Define.
4610
78e64fdc
RT
4611 [BZ #11857]
4612 * posix/regex.h: Fix comments with documentation of user-accessible
4613 fields after compilation and describe correct free'ing of pattern
4614 after re_compile_pattern.
4615 Patch by Reuben Thomas <rrt@sc3d.org>.
4616
457bddfc
RA
46172011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
4618
4619 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4620 and -mno-altivec to prevent the compiler from using Altivec and/or
4621 VSX instructions when the corresponding registers are not available.
4622
a4527b51
AS
46232011-05-19 Andreas Schwab <schwab@redhat.com>
4624
4625 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
4626
ed690b2f
UD
46272011-05-19 Ulrich Drepper <drepper@gmail.com>
4628
4629 * libio/freopen.c (freopen): Use __dup2, not dup2.
4630 * libio/freopen64.c (freopen64): Likewise.
4631
8db73634
L
46322011-05-17 H.J. Lu <hongjiu.lu@intel.com>
4633
4634 [BZ #12775]
4635 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
4636 * math/Makefile (tests): Add test-powl.
4637 (CFLAGS-test-powl.c): Define.
4638 * math/test-powl.c: New file.
4639
0a197a9d
L
46402011-05-16 H.J. Lu <hongjiu.lu@intel.com>
4641
4642 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
4643
ee30c380
UD
46442011-05-17 Ulrich Drepper <drepper@gmail.com>
4645
4646 [BZ #11837]
4647 * iconvdata/gb18030.c: Update to GB18020-2005.
4648
6ce75379
UD
46492011-05-16 Ulrich Drepper <drepper@gmail.com>
4650
a4b89fd8
AR
4651 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
4652 RE_SYNTAX_POSIX_AWK): Update to match recent development.
4653 Patch by Aharon Robbins <arnold@skeeve.com>.
4654
ea389b12
UD
4655 [BZ #11892]
4656 * stdlib/putenv.c (putenv): Don't always create copy of the variable
4657 on the stack.
4658
68a3f91f
UD
4659 [BZ #11895]
4660 * misc/pselect.c (__pselect): Handle timeout value errors hidden
4661 through underflows.
4662
15cc7dd1
UD
4663 [BZ #12766]
4664 * misc/error.c (error_at_line): Ensure file_name and old_file_name
4665 point to strings before performing equality test for error_one_per_line
4666 mode.
4667
f3799213
UD
4668 [BZ #11697]
4669 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
4670
d79a9c94
UD
4671 [BZ #11820]
4672 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4673 (struct user_fpregs_struct): Avoid __uint*_t types.
4674
56e5eb46
UD
4675 [BZ #6420]
4676 * malloc/mtrace.c (tr_where): Add additional parameter to point to
4677 symbol info. Use it instead of calling _dl_addr locally.
4678 (lock_and_info): New function.
4679 (tr_freehook): Call lock_and_info and pass symbol info as additional
4680 parameter to tr_where.
4681 (tr_mallochook): Likewise.
4682 (tr_reallochook): Likewise.
4683 (tr_memalignhook): Likewise.
4684
6ce75379
UD
4685 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
4686 used and couldn't be at all thread-safe.
4687
f8a3b5bf
UD
46882011-05-15 Ulrich Drepper <drepper@gmail.com>
4689
94b7cc37
UD
4690 * libio/freopen.c (freopen): Don't close old file descriptor
4691 before the new one is opened. Instead dup the new file descriptor
4692 to the old one after the new stream is created.
4693 * libio/freopen64.c (freopen64): Likewise.
4694 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
4695 * libio/fileops.c (_IO_new_file_close_it): Handle new
4696 _IO_FLAGS2_NOCLOSE flag.
4697 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
4698 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
4699 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
4700 _IO_FLAGS2_NOCLOSE flag.
4701 * include/unistd.h: Add hidden_proto for dup3.
4702 Define __have_dup3.
4703 * io/dup3.c: Define hidden symbol.
4704 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
4705
bd25564e
UD
4706 [BZ #7101]
4707 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
4708 when an incomplete long option is used.
4709 * posix/tst-getopt_long1.c: New file.
4710 * posix/Makefile (tests): Add tst-getopt_long1.
4711
c84cfef4
UD
4712 [BZ #10138]
4713 * scripts/config.guess: Update from autoconf-2.68.
4714 * scripts/config.sub: Likewise.
4715
3b85df27
UD
4716 [BZ #10157]
4717 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
4718 tests into ...
4719 (has_cpuclock): ...this. New function.
4720 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
4721 macro here based on has_cpuclock code.
4722
15a856b1
UD
4723 [BZ #10149]
4724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4725 First byte (not low byte) is now always NUL.
4726 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
4727
05f399e6
UD
4728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4729 Use non-cancelable interfaces.
4730
10a52685 4731 [BZ #9809]
94ecc67d
UD
4732 * locale/iso-639.def: Add entry for Sorani.
4733
f8a3b5bf
UD
4734 [BZ #11901]
4735 * include/stdlib.h: Move include protection to the right place.
4736 Define abort_msg_s. Declare __abort_msg with it.
4737 * stdlib/abort.c (__abort_msg): Adjust type.
4738 * assert/assert.c (__assert_fail_base): New function. Majority
4739 of code from __assert_fail. Allocate memory for __abort_msg with
4740 mmap.
4741 (__assert_fail): Now call __assert_fail_base.
4742 * assert/assert-perr.c: Remove bulk of implementation. Use
4743 __assert_fail_base.
4744 * include/assert.hL Declare __assert_fail_base.
4745 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
4746 mmap.
4747 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
4748
1af4e298
UD
47492011-05-14 Ulrich Drepper <drepper@gmail.com>
4750
f8a3b5bf 4751 [BZ #11952]
d26dfc60
MG
4752 [BZ #12453]
4753 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
4754 until all modules are registered in the DTV.
4755 * elf/Makefile: Add rules to build and run tst-tls19.
4756 * elf/tst-tls19.c: New file.
4757 * elf/tst-tls19mod1.c: New file.
4758 * elf/tst-tls19mod2.c: New file.
4759 * elf/tst-tls19mod3.c: New file.
4760 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
4761
2fc54d6f
UD
4762 [BZ #12083]
4763 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
4764 correctly.
4765
98d76b46
UD
4766 [BZ #12601]
4767 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
4768 two-byte sequence errors.
4769 * iconvdata/Makefile (tests): Add bug-iconv8.
4770 * iconvdata/bug-iconv8.c: New file.
4771
da3c19ef
UD
4772 [BZ #12626]
4773 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
4774 buf2 definition.
4775
ca408c15
UD
4776 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
4777
d6f67f7d
UD
4778 [BZ #12432]
4779 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
4780 (dummy_getcfa): New function.
4781 (init): Get _Unwind_GetCFA address, use dummy if not found.
4782 (backtrace_helper): In recursion check, also check whether CFA changes.
4783 (__backtrace): Completely initialize arg.
4784
1af4e298 4785 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
4786 storing incomplete byte sequence in state object. Avoid testing for
4787 guaranteed too small input if we know there is enough data available.
1af4e298 4788
da62f81b
AS
47892011-05-11 Andreas Schwab <schwab@redhat.com>
4790
4791 * Makeconfig (+link-pie): Indent.
4792 * Rules (binaries-pie): Define if $(have-fpie) and
4793 $(build-shared).
4794 (binaries-shared): Also filter out $(binaries-pie).
4795 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
4796 * nscd/Makefile (others-pie): Add nscd.
4797 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
4798 ($(objpfx)nscd): Remove command override.
4799 * login/Makefile (others-pie): Add pt_chown.
4800 ($(objpfx)pt_chown): Remove command override.
4801 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
4802 remove command overrides.
4803
fcabc0f8
UD
48042011-05-13 Ulrich Drepper <drepper@gmail.com>
4805
20030ae6
UD
4806 * libio/tst_putwc.c: Fix error messages.
4807
fcabc0f8
UD
4808 [BZ #12724]
4809 * libio/fileops.c (_IO_new_file_close_it): Always flush when
4810 currently writing and seek to current position when not.
4811 * libio/Makefile (tests): Add bug-fclose1.
4812 * libio/bug-fclose1.c: New file.
4813
320a5dc0
PB
48142011-05-12 Ulrich Drepper <drepper@gmail.com>
4815
4816 [BZ #12511]
4817 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
4818 don't set DF_1_NODELETE here.
4819 (do_lookup_x): When entering new entry test for copy relocation
4820 and if necessary set DF_1_NODELETE flag.
4821 * elf/tst-unique4.cc: New file.
4822 * elf/tst-unique4.h: New file.
4823 * elf/tst-unique4lib.cc: New file.
4824 * elf/Makefile: Add rules to build and run tst-unique4.
4825 Patch by Piotr Bury <pbury@goahead.com>.
4826
22836f52
UD
48272011-05-11 Ulrich Drepper <drepper@gmail.com>
4828
f574184a
UD
4829 [BZ #12052]
4830 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
4831
e1fb097f
UD
4832 [BZ #12625]
4833 * misc/mntent_r.c (addmntent): Flush the stream after the output
4834
22836f52
UD
4835 [BZ #12393]
4836 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
4837 (is_trusted_path_normalize): Skip initial colon. Append slash
4838 to empty buffer. Duplicate is_trusted_path code but allow
4839 constructed patch to be prefix.
4840 (is_dst): Allow $ORIGIN followed by /.
4841 (_dl_dst_substitute): Correct clearing of check_for_trusted.
4842 Correct testing of result of is_trusted_path_normalize
4843 (decompose_rpath): Fix warning.
4844
7b3b0b2a
UD
48452011-05-10 Ulrich Drepper <drepper@gmail.com>
4846
4847 [BZ #11257]
4848 * grp/initgroups.c (internal_getgrouplist): When we found the service
4849 list through the initgroups entry in nsswitch.conf do not always
4850 continue on a successful lookup. Don't always use the
eac80ce2 4851 __nss_group_database value if it is set.
7b3b0b2a
UD
4852 * nss/nsswitch.conf (initgroups): Change action for successful db
4853 lookup to continue for compatibility.
4854
2a81eaa5
UD
48552011-05-09 Ulrich Drepper <drepper@gmail.com>
4856
be97a69e
UD
4857 [BZ #11532]
4858 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
4859 and CP774 modules.
4860 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
4861 and CP774 modules.
4862 * iconvdata/tst-tables.sh: Likewise.
4863 * iconvdata/cp770.c: New file.
4864 * iconvdata/cp771.c: New file.
4865 * iconvdata/cp772.c: New file.
4866 * iconvdata/cp773.c: New file.
4867 * iconvdata/cp774.c: New file.
4868 * iconvdata/testdata/CP770: New file.
4869 * iconvdata/testdata/CP770..UTF8: New file.
4870 * iconvdata/testdata/CP771: New file.
4871 * iconvdata/testdata/CP771..UTF8: New file.
4872 * iconvdata/testdata/CP772: New file.
4873 * iconvdata/testdata/CP772..UTF8: New file.
4874 * iconvdata/testdata/CP773: New file.
4875 * iconvdata/testdata/CP773..UTF8: New file.
4876 * iconvdata/testdata/CP774: New file.
4877 * iconvdata/testdata/CP774..UTF8: New file.
4878
4879 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
4880 END CHARMAP line.
4881 * iconvdata/gen-8bit-gap.sh: Likewise.
4882 * iconvdata/gen-8bit.sh: Likewise.
4883
c1e9e399
UD
4884 * locale/iso-639.def: Add ary entry.
4885
24c55fb3 4886 [BZ #11258]
96b4b1b0
UD
4887 * locale/C-translit.h.in: Add U20A1 transliteration.
4888
bdc2f971
KB
4889 [BZ #12178]
4890 * locale/iso-639.def: Add wae entry.
4891 Patch by Kevin Bortis <bortis@translate-wae.ch>.
4892
2952b117
UD
4893 [BZ #12545]
4894 * locale/programs/localedef.c (construct_output_path): Use ssize_t
4895 for n.
4896
2a81eaa5
UD
4897 [BZ #12711]
4898 * locale/C-translit.h.in: Add entry for U20B9.
4899 Patch by pravin.d.s@gmail.com.
4900
28377d1b
UD
49012011-05-08 Ulrich Drepper <drepper@gmail.com>
4902
7fb90fb8
UD
4903 [BZ #12713]
4904 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
4905 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
4906 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
4907 in rtld. Use *stat64.
7fb90fb8 4908 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 4909 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 4910 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
4911 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
4912 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
4913 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
4914 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
4915 __fstatat64 macros.
7fb90fb8
UD
4916 * include/dirent.h: Add libc_hidden_proto for rewinddir.
4917 * dirent/rewinddir.c: Add libc_hidden_def.
4918 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 4919 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 4920
28377d1b
UD
4921 * include/dirent.h (__alloc_dir): Add flags parameter.
4922 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
4923 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
4924 __alloc_dir.
4925 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
4926 from fdopendir if O_CLOEXEC is already set.
4927
66bdbaa4
AM
49282011-03-15 Alan Modra <amodra@gmail.com>
4929
4930 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
4931 l_tls_firstbyte_offset non-zero. Save padding offset in
4932 l_tls_firstbyte_offset for later use.
4933 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
4934 freeing static tls block.
4935
95721191
JN
49362011-03-05 Jonathan Nieder <jrnieder@gmail.com>
4937
4938 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
4939 where #ifdef was intended. The intent is to prevent ARG_MAX from
4940 being defined by the kernel headers.
4941
f87dfb1f
UD
49422011-05-07 Ulrich Drepper <drepper@gmail.com>
4943
4944 [BZ #12734]
4945 * resolv/resolv.h: Define RES_NOTLDQUERY.
4946 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
4947 no-tld-query and set RES_NOTLDQUERY.
4948 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
4949 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
4950 modern BIND to search name as TLD unless forbidden.
4951
47c3cd7a
UD
49522011-05-07 Petr Baudis <pasky@suse.cz>
4953 Ulrich Drepper <drepper@gmail.com>
4954
4955 [BZ #12393]
4956 * elf/dl-load.c (fillin_rpath): Move trusted path check...
4957 (is_trusted_path): ...to here.
c1e9ea35 4958 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 4959 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 4960 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 4961
8a35c912
PP
49622011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4963
4964 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
4965 __BEGIN/__END_DECLS.
4966
acd41f47
UD
49672011-05-06 Ulrich Drepper <drepper@gmail.com>
4968
4969 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
4970 NSS_STATUS_NOTFOUND if no record was found.
4971
597df647
AS
49722011-05-05 Andreas Schwab <schwab@redhat.com>
4973
4974 * sunrpc/Makefile (headers): Add rpc/netdb.h.
4975 (headers-not-in-tirpc): Remove rpc/netdb.h
4976 * resolv/netdb.h: Revert last change.
4977
b9af1301
PP
49782011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4979
4980 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
4981 circular dependency between libgcc.a and libc.a.
4982
4e34d5f5
AS
49832011-05-05 Andreas Schwab <schwab@redhat.com>
4984
4985 * resolv/netdb.h: Don't include <rpc/netdb.h>.
4986 * nis/Makefile: Don't install rpcsvc/*.
4987 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
4988 instead of <rpc/types.h>.
4989 (MAXHOSTNAMELEN): Define.
4990
00ee369c
AS
49912011-05-03 Andreas Schwab <schwab@redhat.com>
4992
4993 * elf/ldconfig.c (add_dir): Don't crash on empty path.
4994
0b592a30
MB
49952011-04-28 Maciej Babinski <mbabinski@google.com>
4996
4997 [BZ #12714]
4998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
4999 gethostbyname4_r when IPv6 results are possible.
5000
6e04cbbe
UD
50012011-05-02 Ulrich Drepper <drepper@gmail.com>
5002
5003 [BZ #12723]
5004 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
5005 _PC_PIPE_BUF handling.
5006
e4ecafe0
BH
50072011-04-30 Bruno Haible <bruno@clisp.org>
5008
5009 [BZ #12717]
5010 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
5011 * resolv/netdb.h (getnameinfo): Change type of flags parameter
5012 to 'int'.
5013 * inet/getnameinfo.c (getnameinfo): Likewise.
5014
125ee683
UD
50152011-04-29 Ulrich Drepper <drepper@gmail.com>
5016
5017 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
5018 to groups setting in database lookup.
5019 * nss/nsswitch.conf: Add initgroups entry.
5020
b722481a
EB
50212011-04-22 Ulrich Drepper <drepper@gmail.com>
5022
5023 [BZ #12685]
5024 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
5025 mode string.
5026 Patch by Eric Blake <eblake@redhat.com>.
5027
4df46dbd
L
50282011-04-20 H.J. Lu <hongjiu.lu@intel.com>
5029
5030 * sunrpc/Makefile (need-export-routines): Add svc_run.
5031 (routines): Remove svc_run.
5032 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
5033 * sunrpc/clnt_perr.c (clnt_perrno): Export.
5034 * sunrpc/svc_run.c (svc_run): Likewise.
5035 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5036
e84142d2
UD
50372011-04-21 Ulrich Drepper <drepper@gmail.com>
5038
5039 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
5040 problem in reallocation in last patch.
5041
877175d8
UD
50422011-04-20 Ulrich Drepper <drepper@gmail.com>
5043
5044 * sunrpc/Makefile: Move inclusion of Rules.
5045
ab8eed78
UD
50462011-04-19 Ulrich Drepper <drepper@gmail.com>
5047
5048 * nss/nss_files/files-initgroups.c: New file.
5049 * nss/Makefile (libnss_files-routines): Add files-initgroups.
5050 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
5051 _nss_files_initgroups_dyn.
5052
e3d8f584
RS
50532011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
5054
5055 * elf/elf.h (R_ARM_IRELATIVE): Define.
5056
af190f45
UD
50572011-04-19 Ulrich Drepper <drepper@gmail.com>
5058
5059 * po/ru.po: Update from translation team.
5060
53cf59ef
UD
50612011-04-17 Ulrich Drepper <drepper@gmail.com>
5062
5063 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
5064 dependencies.
5065
4c559bcd
MF
50662011-02-06 Mike Frysinger <vapier@gentoo.org>
5067
5068 [BZ #12653]
5069 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
5070 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
5071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5073 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5074
4420675c
AS
50752011-03-28 Andreas Schwab <schwab@linux-m68k.org>
5076
5077 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
5078 differing bytes.
5079 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5080 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5082
75ea32ab
UD
50832011-04-17 Ulrich Drepper <drepper@gmail.com>
5084
5085 [BZ #12420]
5086 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
5087 storing it.
5088 * stdlib/bug-getcontext.c: New file.
5089 * stdlib/Makefile: Add rules to build and run bug-getcontext.
5090
27390476
AK
50912011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5092
5093 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
5094 instructions into .machine "z9-109".
5095 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5096 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5097
10442705
AK
50982011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5099
5100 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
5101 between environment variables and auxiliary vector.
5102
7b57bfe5
UD
51032011-04-16 Ulrich Drepper <drepper@gmail.com>
5104
5105 * Makefile: Add rules to build linkobj/libc.so.
5106 * include/libc-symbols.h: Define libc_hidden_nolink.
5107 * include/rpc/auth.h: Mark functions which are to be hidden.
5108 * include/rpc/auth_des.h: Likewise.
5109 * include/rpc/auth_unix.h: Likewise.
5110 * include/rpc/clnt.h: Likewise.
5111 * include/rpc/des_crypt.h: Likewise.
5112 * include/rpc/key_prot.h: Likewise.
5113 * include/rpc/pmap_clnt.h: Likewise.
5114 * include/rpc/pmap_prot.h: Likewise.
5115 * include/rpc/pmap_rmt.h: Likewise.
5116 * include/rpc/rpc_msg.h: Likewise.
5117 * include/rpc/svc.h: Likewise.
5118 * include/rpc/svc_auth.h: Likewise.
5119 * include/rpc/xdr.h: Likewise.
5120 * nis/Makefile: Link all DSOs against linkobj/libc.so.
5121 * nss/Makefile: Likewise.
5122 * sunrpc/Makefile: Don't install headers. Build library with normal
5123 entry points. Don't build rpcinfo. Link RPC tests appropriately.
5124 * sunrpc/auth_des.c: Hide exported symbols by default, export some
5125 for the compat linking library. Remove use of INTDEF/INTUSE.
5126 * sunrpc/auth_none.c: Likewise.
5127 * sunrpc/auth_unix.c: Likewise.
5128 * sunrpc/authdes_prot.c: Likewise.
5129 * sunrpc/authuxprot.c: Likewise.
5130 * sunrpc/clnt_gen.c: Likewise.
5131 * sunrpc/clnt_perr.c: Likewise.
5132 * sunrpc/clnt_raw.c: Likewise.
5133 * sunrpc/clnt_simp.c: Likewise.
5134 * sunrpc/clnt_tcp.c: Likewise.
5135 * sunrpc/clnt_udp.c: Likewise.
5136 * sunrpc/clnt_unix.c: Likewise.
5137 * sunrpc/des_crypt.c: Likewise.
5138 * sunrpc/des_soft.c: Likewise.
5139 * sunrpc/get_myaddr.c: Likewise.
5140 * sunrpc/key_call.c: Likewise.
5141 * sunrpc/key_prot.c: Likewise.
5142 * sunrpc/netname.c: Likewise.
5143 * sunrpc/pm_getmaps.c: Likewise.
5144 * sunrpc/pm_getport.c: Likewise.
5145 * sunrpc/pmap_clnt.c: Likewise.
5146 * sunrpc/pmap_prot.c: Likewise.
5147 * sunrpc/pmap_prot2.c: Likewise.
5148 * sunrpc/pmap_rmt.c: Likewise.
5149 * sunrpc/publickey.c: Likewise.
5150 * sunrpc/rpc_cmsg.c: Likewise.
5151 * sunrpc/rpc_common.c: Likewise.
5152 * sunrpc/rpc_dtable.c: Likewise.
5153 * sunrpc/rpc_prot.c: Likewise.
5154 * sunrpc/rpc_thread.c: Likewise.
5155 * sunrpc/rtime.c: Likewise.
5156 * sunrpc/svc.c: Likewise.
5157 * sunrpc/svc_auth.c: Likewise.
5158 * sunrpc/svc_authux.c: Likewise.
5159 * sunrpc/svc_raw.c: Likewise.
5160 * sunrpc/svc_run.c: Likewise.
5161 * sunrpc/svc_simple.c: Likewise.
5162 * sunrpc/svc_tcp.c: Likewise.
5163 * sunrpc/svc_udp.c: Likewise.
5164 * sunrpc/svc_unix.c: Likewise.
5165 * sunrpc/svcauth_des.c: Likewise.
5166 * sunrpc/xcrypt.c: Likewise.
5167 * sunrpc/xdr.c: Likewise.
5168 * sunrpc/xdr_array.c: Likewise.
5169 * sunrpc/xdr_float.c: Likewise.
5170 * sunrpc/xdr_intXX_t.c: Likewise.
5171 * sunrpc/xdr_mem.c: Likewise.
5172 * sunrpc/xdr_rec.c: Likewise.
5173 * sunrpc/xdr_ref.c: Likewise.
5174 * sunrpc/xdr_sizeof.c: Likewise.
5175 * sunrpc/xdr_stdio.c: Likewise.
5176
e6c61494
UD
51772011-04-10 Ulrich Drepper <drepper@gmail.com>
5178
5179 [BZ #12650]
5180 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
5181 * sysdeps/ia64/dl-tls.h: Likewise.
5182 * sysdeps/powerpc/dl-tls.h: Likewise.
5183 * sysdeps/s390/dl-tls.h: Likewise.
5184 * sysdeps/sh/dl-tls.h: Likewise.
5185 * sysdeps/sparc/dl-tls.h: Likewise.
5186 * sysdeps/x86_64/dl-tls.h: Likewise.
5187 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
5188
34fe483e
AS
51892011-03-14 Andreas Schwab <schwab@redhat.com>
5190
5191 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
5192 rpath element also skip the following colon.
5193 (expand_dynamic_string_token): Add is_path parameter and pass
5194 down to DL_DST_REQUIRED and _dl_dst_substitute.
5195 (decompose_rpath): Call expand_dynamic_string_token with
5196 non-zero is_path. Ignore empty rpaths.
5197 (_dl_map_object_from_fd): Call expand_dynamic_string_token
5198 with zero is_path.
5199
f12a32e6
AS
52002011-04-08 Andreas Schwab <schwab@linux-m68k.org>
5201
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5203 Make cancelable.
5204
38a7d692
UD
52052011-04-09 Ulrich Drepper <drepper@gmail.com>
5206
5207 [BZ #12655]
5208 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
5209 Patch by Filipe David Manana <fdmanana@apache.org>.
5210
e451d22b
AS
52112011-04-07 Andreas Schwab <schwab@redhat.com>
5212
5213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
5214 Maintain aligned stack.
5215 (CHECK_RSP): Remove unused macro.
5216
dedc7c7b
UD
52172011-04-03 Ulrich Drepper <drepper@gmail.com>
5218
5219 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
5220 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
5221
94521213
UD
52222011-04-02 Ulrich Drepper <drepper@gmail.com>
5223
5224 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
5225
8cb700c0 5226 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 5227
0354e355
L
52282011-03-26 H.J. Lu <hongjiu.lu@intel.com>
5229
5230 [BZ #12518]
5231 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5232 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
5233 * sysdeps/x86_64/memmove.c: New file.
5234 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
5235 (memcpy): Renamed to ...
5236 (__new_memcpy): This.
5237 (memcpy): Provide GLIBC_2_14 memcpy.
5238 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
5239 (memcpy): Provide GLIBC_2_2_5 memcpy.
5240
8593482f
UD
52412011-04-01 Ulrich Drepper <drepper@gmail.com>
5242
5243 [BZ #12631]
5244 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
5245
81a5726b
AS
52462011-03-30 Andreas Schwab <schwab@redhat.com>
5247
5248 * misc/syncfs.c: New file.
5249 * misc/Makefile (routines): Add syncfs.
5250 * posix/unistd.h: Declare syncfs.
5251 * sysdeps/unix/syscalls.list: Add syncfs.
5252
00e5419f
AS
52532011-04-01 Andreas Schwab <schwab@redhat.com>
5254
5255 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
5256 open_by_handle_at.
5257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5258 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5260 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5262 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5264
748876bf
UD
52652011-04-01 Ulrich Drepper <drepper@gmail.com>
5266
658e451d
UD
5267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
5268 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5269 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
5270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5271 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5273 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5274
748876bf
UD
5275 * io/Makefile: Compile fallocate.c, fallocate64.c, and
5276 sync_file_range.c with -fexceptions.
5277 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
5278 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
5279 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5280 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5281 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5282 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
5284 sync_file_range as cancellation point
5285 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
5286 now a wrapper around __call_sync_file_range with cancellation handling.
5287 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
5288 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
5289 function name to __call_sync_file_range.
5290 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
5291 Add call_sync_file_range.
748876bf 5292
6e63d5e1
AS
52932011-04-01 Andreas Schwab <schwab@redhat.com>
5294
5295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 5296 bits/timex.h.
6e63d5e1 5297
46998f74
UD
52982011-04-01 Ulrich Drepper <drepper@gmail.com>
5299
4c1423ed
UD
5300 * iconv/iconv.h: Fix typo in comment.
5301 * io/fcntl.h: Likewise.
5302 * libio/stdio.h: Likewise.
5303 * posix/spawn.h: Likewise.
5304 * posix/unistd.h: Likewise.
5305 * stdlib/stdlib.h: Likewise.
5306 * time/time.h: Likewise.
5307 * wcsmbs/wchar.h: Likewise.
5308
158648c0
UD
5309 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
5310 open_by_handle): Add.
5311 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
5312 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
5313 Augment a few comments.
5314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5318 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5319 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
5320 open_by_handle.
5321
46998f74
UD
5322 * io/fcntl.h (AT_EMPTY_PATH): Define.
5323
83fe108b
UD
53242011-03-30 Ulrich Drepper <drepper@gmail.com>
5325
5326 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
5327 * sysdeps/unix/sysv/linux/bits/time.h: New file.
5328 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
5329 to...
5330 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
5331 * Versions.def: Add GLIBC_2.14.
5332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
5333 Export.
83fe108b 5334
bb242059
UD
53352011-03-22 Ulrich Drepper <drepper@gmail.com>
5336
5337 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
5338 round counter.
5339 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5340
c97a1282
L
53412011-03-20 H.J. Lu <hongjiu.lu@intel.com>
5342
5343 [BZ #12597]
5344 * string/test-strncmp.c (do_page_test): New function.
5345 (check2): Likewise.
5346 (test_main): Call check2.
5347 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
5348
2a115601
UD
53492011-03-20 Ulrich Drepper <drepper@gmail.com>
5350
5351 [BZ #12587]
5352 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
5353 Handle cache information in CPU leaf 4.
5354 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5355
8126d904
UD
53562011-03-18 Ulrich Drepper <drepper@gmail.com>
5357
042c49c6 5358 [BZ #12583]
8126d904
UD
5359 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
5360 character representation.
5361 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
5362
ccfe366e
RA
53632011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
5364
5365 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
5366 END(__isnan) to END(__isnanf) to match function entry point/label
5367 EALIGN(__isnanf,...).
5368
c6e13027
JJ
53692011-03-10 Jakub Jelinek <jakub@redhat.com>
5370
5371 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
5372
33f85a3f
UD
53732011-03-10 Ulrich Drepper <drepper@gmail.com>
5374
028478fa
UD
5375 [BZ #12510]
5376 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
5377 copy from the symbol referenced in the relocation to initialize the
5378 used variable.
5379 Patch by Piotr Bury <pbury@goahead.com>.
5380 * elf/Makefile: Add rules to build and tst-unique3.
5381 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
5382 * elf/tst-unique3.cc: New file.
5383 * elf/tst-unique3.h: New file.
5384 * elf/tst-unique3lib.cc: New file.
5385 * elf/tst-unique3lib2.cc: New file.
5386
33f85a3f
UD
5387 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
5388
03592fc7
MF
53892011-03-10 Mike Frysinger <vapier@gentoo.org>
5390
5391 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
5392 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
5393 to _start.
03592fc7 5394
6a5ee102
UD
53952011-03-06 Ulrich Drepper <drepper@gmail.com>
5396
5397 * elf/dl-load.c (_dl_map_object): If we are looking for the first
5398 to-be-loaded object along a path to loader is ld.so.
5399
7e4ba49c
HJ
54002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5401 Ulrich Drepper <drepper@gmail.com>
5402
5403 * sysdeps/x86_64/memset.S: After aligning destination, code
5404 branches to different locations depending on the value of
5405 misalignment, when multiarch is enabled. Fix this.
5406
54072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5408
5409 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
5410 Set _x86_64_preferred_memory_instruction for AMD processsors.
5411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5412 Set bit_Prefer_SSE_for_memop for AMD processors.
5413
13a804de
UD
54142011-03-04 Ulrich Drepper <drepper@gmail.com>
5415
5416 * libio/fmemopen.c (fmemopen): Optimize a bit.
5417
9d25c392
AS
54182011-03-03 Andreas Schwab <schwab@redhat.com>
5419
5420 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
5421
a5543c6a
RM
54222011-03-03 Roland McGrath <roland@redhat.com>
5423
5424 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
5425
012d35f7
DM
54262011-02-28 Aurelien Jarno <aurelien@aurel32.net>
5427
7e4ba49c 5428 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
5429 __bzero_ultra1 instead of __memset_ultra1.
5430
4bff6e01
AS
54312011-02-23 Andreas Schwab <schwab@redhat.com>
5432 Ulrich Drepper <drepper@gmail.com>
5433
5434 [BZ #12509]
5435 * include/link.h (struct link_map): Add l_orig_initfini.
5436 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
5437 returning unsuccessfully.
5438 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
5439 close of a file loaded at startup, restore the original l_initfini
5440 list.
5441 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
5442 list, store the pointer.
5443 * elf/Makefile ($(objpfx)noload-mem): New rule.
5444 (noload-ENV): Define.
5445 (tests): Add $(objpfx)noload-mem.
5446 * elf/noload.c: Include <memcheck.h>.
5447 (main): Call mtrace. Close all opened handles.
5448
f2092faf
AS
54492011-02-17 Andreas Schwab <schwab@redhat.com>
5450
5451 [BZ #12454]
5452 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
5453 dependencies are missing.
5454
6c8a2e88
ST
54552011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5456
f2092faf 5457 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
5458 Hurd needs munmap.
5459 * sysdeps/mach/hurd/ifreq.h: New file.
5460
84a42118
PB
54612011-01-27 Petr Baudis <pasky@suse.cz>
5462 Ulrich Drepper <drepper@gmail.com>
5463
071f805e 5464 [BZ 12445]#
84a42118
PB
5465 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
5466 to extend_alloca().
5467 * stdio-common/bug23.c: New file.
5468 * stdio-common/Makefile (tests): Add bug23.
5469
e23fe25b
AS
54702010-09-28 Andreas Schwab <schwab@redhat.com>
5471 Ulrich Drepper <drepper@gmail.com>
5472
5473 [BZ #12489]
5474 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
5475 before performing relro protection. At old place add assertion
5476 to make sure nothing changed.
5477
d3f02e10
NS
54782011-02-17 Nathan Sidwell <nathan@codesourcery.com>
5479 Glauber de Oliveira Costa <glommer@gmail.com>
5480
5481 * elf/elf.h: Add new ARM TLS relocs.
5482
d55fd7a5
RA
54832011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
5484
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5486 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
5487 cast from r3.
5488 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
5489 'tests' variable.
5490 * sysdeps/wordsize-64/tst-writev.c: New file.
5491
2206397e
RA
54922011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
5493
5494 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
5495 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
5496 insns in _dl_start to prevent a TOC reference before relocs are
5497 resolved.
5498
e9433893
UD
54992011-02-15 Ulrich Drepper <drepper@gmail.com>
5500
5501 [BZ #12469]
5502 * Makeconfig: Remove RANLIB definition.
5503 * Makerules: Don't use RANLIB.
5504 * aclocal.m4: Remove ranlib test.
5505 * configure.in: No need to check for ranlib.
5506 * elf/rtld-Rules: Don't use RANLIB.
5507
f75286c6
ST
55082011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5509
8e31c82d
ST
5510 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
5511 protection macro.
5512 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
5513 inclusion protection macro.
5514
f75286c6
ST
5515 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
5516 SIGRTMIN and SIGRTMAX and print information in that case only when
5517 SIGRTMIN is defined.
5518
c1d0e639
JJ
55192011-02-11 Jakub Jelinek <jakub@redhat.com>
5520
5521 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
5522 arginfo fn returning -1.
5523
5524 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
5525 and thousands string is zero terminated.
5526
edf9294e
AS
55272011-02-03 Andreas Schwab <schwab@redhat.com>
5528
5529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
5530 sysdeps/unix/sysv/linux/bits/socket.h.
5531
2b7e92df
ST
55322011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5533
edf9294e
AS
5534 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
5535 (__CPU_COUNT): Remove old macros.
5536 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
5537 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
5538 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
5539 (__sched_cpualloc, __sched_cpufree): Add declarations.
5540
a4c7ea7b
UD
55412011-02-05 Ulrich Drepper <drepper@gmail.com>
5542
5543 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
5544 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
5545 * nscd/aicache.c (addhstaiX): Return timeout of added value.
5546 (readdhstai): Return value of addhstaiX call.
5547 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
5548 (addgrbyX): Return value returned by cache_addgr.
5549 (readdgrbyname): Return value returned by addgrbyX.
5550 (readdgrbygid): Likewise.
5551 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
5552 (addpwbyX): Return value returned by cache_addpw.
5553 (readdpwbyname): Return value returned by addhstbyX.
5554 (readdpwbyuid): Likewise.
5555 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
5556 (addservbyX): Return value returned by cache_addserv.
5557 (readdservbyname): Return value returned by addservbyX:
5558 (readdservbyport): Likewise.
5559 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
5560 (addhstbyX): Return value returned by cache_addhst.
5561 (readdhstbyname): Return value returned by addhstbyX.
5562 (readdhstbyaddr): Likewise.
5563 (readdhstbynamev6): Likewise.
5564 (readdhstbyaddrv6): Likewise.
5565 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
5566 (readdinitgroups): Return value returned by addinitgroupsX.
5567 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
5568 (prune_cache): Keep track of timeout value of re-added entries.
5569 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
5570 * nscd/nscd.h: Adjust prototypes of readd* functions.
5571
a0bf67cc
RM
55722011-02-04 Roland McGrath <roland@redhat.com>
5573
5574 * nis/nis_server.c (nis_servstate): Use the right name for 0.
5575 (nis_stats): Likewise.
5576 * nis/nis_modify.c (nis_modify): Likewise.
5577 * nis/nis_remove.c (nis_remove): Likewise.
5578 * nis/nis_add.c (nis_add): Likewise.
5579
5580 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
5581
5582 * posix/fnmatch_loop.c: Add some consts.
5583
5584 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
5585
435b95eb
L
55862011-02-02 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 [BZ #12460]
5589 * config.make.in (config-cflags-novzeroupper): Define.
5590 * configure.in: Substitute libc_cv_cc_novzeroupper.
5591 * elf/Makefile (AVX-CFLAGS): Define.
5592 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
5593 (CFLAGS-tst-auditmod4a.c): Likewise.
5594 (CFLAGS-tst-auditmod4b.c): Likewise.
5595 (CFLAGS-tst-auditmod6b.c): Likewise.
5596 (CFLAGS-tst-auditmod6c.c): Likewise.
5597 (CFLAGS-tst-auditmod7b.c): Likewise.
5598 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
5599
8517b15e
UD
56002011-02-02 Ulrich Drepper <drepper@gmail.com>
5601
5602 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
5603 function to the callback.
5604 Patch partly by Jiri Olsa <jolsa@redhat.com>.
5605
10a656fe
AS
56062011-02-02 Andreas Schwab <schwab@redhat.com>
5607
5608 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
5609 of errno.
5610
968dad0a
UD
56112011-01-19 Ulrich Drepper <drepper@gmail.com>
5612
9f94d2ea 5613 [BZ #11724]
968dad0a
UD
5614 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
5615 of constructors.
5616 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
5617 of destructors.
5618 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
5619
5620 [BZ #11724]
5621 * elf/Makefile: Add rules to build and run new test.
5622 * elf/tst-initorder.c: New file.
5623 * elf/tst-initorder.exp: New file.
5624 * elf/tst-initordera1.c: New file.
5625 * elf/tst-initordera2.c: New file.
5626 * elf/tst-initordera3.c: New file.
5627 * elf/tst-initordera4.c: New file.
5628 * elf/tst-initorderb1.c: New file.
5629 * elf/tst-initorderb2.c: New file.
5630 * elf/tst-order-a1.c: New file.
5631 * elf/tst-order-a2.c: New file.
5632 * elf/tst-order-a3.c: New file.
5633 * elf/tst-order-a4.c: New file.
5634 * elf/tst-order-b1.c: New file.
5635 * elf/tst-order-b2.c: New file.
5636 * elf/tst-order-main.c: New file.
5637 New test case by George Gensure <werkt0@gmail.com>.
5638
86e92359
UD
56392010-10-01 Andreas Schwab <schwab@redhat.com>
5640
5641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5642 decoding ACE if AI_CANONIDN.
5643
5d5732b0
UD
56442011-01-18 Ulrich Drepper <drepper@gmail.com>
5645
5646 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
5647
a77e8cbc
UD
56482011-01-17 Ulrich Drepper <drepper@gmail.com>
5649
6392473f
UD
5650 * version.h (RELEASE): Bump for 2.13 release.
5651 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
5652
620a0529
UD
5653 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
5654
18ba70a5
UD
5655 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
5656 MADV_NOHUGEPAGE.
32465c3e
UD
5657 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
5658 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5659 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5660 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5661 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5662 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5663
c0dafcf1
UD
5664 * posix/getconf.c: Update copyright year.
5665 * catgets/gencat.c: Likewise.
5666 * csu/version.c: Likewise.
5667 * debug/catchsegv.sh: Likewise.
5668 * debug/xtrace.sh: Likewise.
5669 * elf/ldconfig.c: Likewise.
5670 * elf/ldd.bash.in: Likewise.
5671 * elf/sprof.c (print_version): Likewise.
5672 * iconv/iconv_prog.c: Likewise.
5673 * iconv/iconvconfig.c: Likewise.
5674 * locale/programs/locale.c: Likewise.
5675 * locale/programs/localedef.c: Likewise.
5676 * malloc/memusage.sh: Likewise.
5677 * malloc/mtrace.pl: Likewise.
5678 * nscd/nscd.c (print_version): Likewise.
5679 * nss/getent.c: Likewise.
5680
a77e8cbc
UD
5681 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
5682 PF_CAIF, and PF_ALG.
5683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5684
77e8bddf
AS
56852011-01-16 Andreas Schwab <schwab@linux-m68k.org>
5686
1f20b93a
AS
5687 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
5688 (modules-names): Use them.
5689 (ifunc-test-modules, ifunc-pie-tests): Define.
5690 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
5691 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
5692 (test-extras): Likewise.
5693 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
5694 $(compile-command.c).
5695 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
5696 (all-built-dso): Define.
5697 (check-textrel.out, check-execstack.out): Depend on it.
5698
77e8bddf
AS
5699 * configure.in: Don't override --enable-multi-arch.
5700
bc425b33
UD
57012011-01-15 Ulrich Drepper <drepper@gmail.com>
5702
5703 [BZ #6812]
5704 * nscd/hstcache.c (tryagain): Define.
5705 (cache_addhst): Return tryagain not notfound for temporary errors.
5706 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
5707 failed.
5708
794c3ad3
UD
57092011-01-14 Ulrich Drepper <drepper@gmail.com>
5710
70181fdd
UD
5711 [BZ #10563]
5712 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
5713 to make the syscall.
5714 * sysdeps/unix/sysv/linux/setgroups.c: New file.
5715
794c3ad3
UD
5716 [BZ #12378]
5717 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
5718 and fall back to matching as normal character if the string ends before
5719 the matching ']' is found. This is what POSIX requires.
5720 * posix/testfnm.c: Adjust test result.
5721 * posix/globtest.sh: Adjust test result. Add new test.
5722 * posix/tst-fnmatch.input: Likewise.
5723 * posix/tst-fnmatch2.c: Add new test.
5724
68dc9497
AS
57252010-12-28 Andreas Schwab <schwab@linux-m68k.org>
5726
5727 * elf/Makefile (check-execstack): Revert last change. Depend on
5728 check-execstack.h.
5729 (check-execstack.h): New target.
5730 (generated): Add check-execstack.h.
5731 * elf/check-execstack.c: Include "check-execstack.h".
5732 (main): Revert last change.
5733 (handle_file): Return zero if GNU_STACK is absent and
5734 DEFAULT_STACK_PERMS doesn't include PF_X.
5735
451f001b
UD
57362011-01-13 Ulrich Drepper <drepper@gmail.com>
5737
cfa28e56
UD
5738 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
5739 in child fails because the descriptor is already closed.
8cf8ce17
UD
5740 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
5741 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
5742 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 5743
1086d70d
UD
5744 [BZ #12397]
5745 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
5746 syscall.
5747
451f001b
UD
5748 [BZ #10484]
5749 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
5750 temporary buffer used to handle multi lookups locally.
a85b5cb4 5751 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 5752
08769175
UD
57532011-01-12 Ulrich Drepper <drepper@gmail.com>
5754
5755 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
5756 loader is ld.so.
5757
5e49c52e
UD
57582011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
5759
5760 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
5761 alignment for SSE2.
5762
60522a5f
UD
57632011-01-12 Ulrich Drepper <drepper@gmail.com>
5764
5765 [BZ #12394]
5766 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
5767 characters. When rounding increased number of integer digits recompute
5768 number of groups.
5769 * stdio-common/tst-grouping.c: New file.
5770 * stdio-common/Makefile: Add rules to build and run tst-grouping.
5771
f257bbd7
UD
57722011-01-09 Ulrich Drepper <drepper@gmail.com>
5773
5774 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
5775 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
5776
5777 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
5778 void.
5779 * bits/select.h: Likewise.
5780
fa9c15cb
UD
57812011-01-08 Ulrich Drepper <drepper@gmail.com>
5782
5783 * po/ja.po: Update from translation team.
5784
16c2895f
DM
57852011-01-04 David S. Miller <davem@sunset.davemloft.net>
5786
5787 [BZ #11155]
5788 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
5789 implementation just like for lxstat, fxstatat, et al.
5790
2543fef2
JM
57912010-12-27 Jim Meyering <meyering@redhat.com>
5792
5793 [BZ #12348]
5794 * posix/regexec.c (build_trtable): Return failure indication upon
5795 calloc failure. Otherwise, re_search_internal could infloop on OOM.
5796
98727dbe
UD
57972010-12-25 Ulrich Drepper <drepper@gmail.com>
5798
5bd6dc5c
UD
5799 [BZ #12201]
5800 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
5801 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
5802 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
5803 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
5804
97983464
UD
5805 [BZ #12207]
5806 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
5807
98727dbe
UD
5808 [BZ #12204]
5809 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
5810 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
5811
4a531bb0
L
58122010-12-15 H.J. Lu <hongjiu.lu@intel.com>
5813
5814 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
5815 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
5816 script has SORT_BY_INIT_PRIORITY.
5817 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
5818 NO_CTORS_DTORS_SECTIONS is defined.
5819 * elf/soinit.c: Likewise.
5820 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
5821 NO_CTORS_DTORS_SECTIONS is defined.
5822 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5823 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
5824 * sysdeps/sh/init-first.c: Likewise.
5825 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5826
07eb4b71
UD
58272010-12-24 Ulrich Drepper <drepper@gmail.com>
5828
5829 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
5830 always use the slow path.
5831
30950a5f
RA
58322010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
5833
5834 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
5835 similar rule which adds the sysdep directories to the header search in
5836 order to pick up the correct platform stackinfo.h.
5837 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
5838 perform test if it is, otherwise return successfully without testing.
5839 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
5840 DEFAULT_STACK_PERMS define in stackinfo.h.
5841 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
5842 defined in stackinfo.h.
5843 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
5844 DEFAULT_STACK_PERMS defined in stackinfo.h.
5845 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
5846 * sysdeps/ia64/stackinfo.h: Likewise.
5847 * sysdeps/s390/stackinfo.h: Likewise.
5848 * sysdeps/sh/stackinfo.h: Likewise.
5849 * sysdeps/sparc/stackinfo.h: Likewise.
5850 * sysdeps/x86_64/stackinfo.h: Likewise.
5851 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
5852 PF_X for powerpc64. Retain PF_X for powerpc32.
5853
db753e2c
UD
58542010-12-19 Ulrich Drepper <drepper@gmail.com>
5855
14b697f7
UD
5856 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
5857 accurately.
db753e2c
UD
5858 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
5859 GETDENTS_64BIT_ALIGNED.
5860
28300719
UD
58612010-12-14 Ulrich Drepper <dreper@gmail.com>
5862
14b697f7 5863 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 5864
4f197237
AS
58652010-12-10 Andreas Schwab <schwab@redhat.com>
5866
dbb0472f
AS
5867 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
5868 _GNU_SOURCE.
5869
4f197237
AS
5870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
5871 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
5872 Remove __restrict.
5873 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
5874 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
5875
fb88ac72
UD
58762010-12-09 Ulrich Drepper <drepper@gmail.com>
5877
5878 [BZ #11655]
5879 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
5880 are initialized.
5881
42acbb92
JJ
58822010-12-09 Jakub Jelinek <jakub@redhat.com>
5883
5884 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
5885
c038d98d
UD
58862010-12-03 Ulrich Drepper <drepper@gmail.com>
5887
5888 * po/it.po: Update from translation team.
5889
3a4a2499
L
58902010-12-01 H.J. Lu <hongjiu.lu@intel.com>
5891
5892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
5893 unused codes.
5894
1e24cf6e
UD
58952010-11-30 Ulrich Drepper <drepper@gmail.com>
5896
5897 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
5898
a7690819
AS
58992010-11-24 Andreas Schwab <schwab@redhat.com>
5900
5901 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
5902 specially.
5903 (gaih_getanswer_slice): Likewise.
5904
3bf8d1b1
JJ
59052010-10-20 Jakub Jelinek <jakub@redhat.com>
5906
5907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
5908
6db52fbb
PB
59092010-05-31 Petr Baudis <pasky@suse.cz>
5910
5911 [BZ #11149]
5912 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
5913 silently even in the chroot mode.
5914
eaca7569
UD
59152010-11-22 Ulrich Drepper <drepper@gmail.com>
5916
5917 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
5918 last patch a bit. Pretty printing
5919
3056dcdb
UD
59202010-05-31 Petr Baudis <pasky@suse.cz>
5921
5922 [BZ #10085]
5923 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
5924 initialization of skip_initgroups_dyn.
5925
cf7c9078
UD
59262010-11-19 Ulrich Drepper <drepper@gmail.com>
5927
5928 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
5929 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5930
a1fb5e3e
UD
59312010-11-16 Ulrich Drepper <drepper@gmail.com>
5932
5933 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
5934
3540d66b
AS
59352010-11-11 Andreas Schwab <schwab@redhat.com>
5936
5937 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
5938 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
5939 (tst-fnmatch-ENV): Set MALLOC_TRACE.
5940 ($(objpfx)tst-fnmatch-mem): New rule.
5941 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
5942 * posix/tst-fnmatch.c (main): Call mtrace.
5943
13b69574
L
59442010-11-11 H.J. Lu <hongjiu.lu@intel.com>
5945
5946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5947 Support Intel processor model 6 and model 0x2c.
5948
da93d214
LM
59492010-11-10 Luis Machado <luisgpm@br.ibm.com>
5950
5951 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
5952 signed comparison.
5953
8ca52c6e
L
59542010-11-09 H.J. Lu <hongjiu.lu@intel.com>
5955
5956 [BZ #12205]
5957 * string/test-strncasecmp.c (check_result): New function.
5958 (do_one_test): Use it.
5959 (check1): New function.
5960 (test_main): Use it.
5961 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
5962 Support strcasecmp and strncasecmp.
5963
69da074d
UD
59642010-11-08 Ulrich Drepper <drepper@gmail.com>
5965
5966 [BZ #12194]
5967 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
5968 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5969
ff02d528
L
59702010-11-07 H.J. Lu <hongjiu.lu@intel.com>
5971
5972 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
5973 IFUNC support.
5974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5975 memset-x86-64.
5976 * sysdeps/x86_64/multiarch/bzero.S: New file.
5977 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
5978 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
5979 * sysdeps/x86_64/multiarch/memset.S: New file.
5980 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
5981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5982 Set bit_Prefer_SSE_for_memop for Intel processors.
5983 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
5984 Define.
5985 (index_Prefer_SSE_for_memop): Define.
5986 (HAS_PREFER_SSE_FOR_MEMOP): Define.
5987
344d0b54
LM
59882010-11-04 Luis Machado <luisgpm@br.ibm.com>
5989
5990 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
5991 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
5992
c0dde15b
UD
59932010-11-03 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 [BZ #12191]
5996 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5997 (__x86_64_raw_data_cache_size_half): Likewise.
5998 (__x86_64_raw_shared_cache_size): Likewise.
5999 (__x86_64_raw_shared_cache_size_half): Likewise.
6000
6001 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6002 (__x86_64_raw_data_cache_size_half): Likewise.
6003 (__x86_64_raw_shared_cache_size): Likewise.
6004 (__x86_64_raw_shared_cache_size_half): Likewise.
6005 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
6006 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
6007 and __x86_64_raw_shared_cache_size_half. Round
6008 __x86_64_data_cache_size_half, __x86_64_data_cache_size
6009 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
6010 to multiple of 256 bytes.
6011
0e516e0e
MS
60122010-11-03 Ulrich Drepper <drepper@gmail.com>
6013
6014 [BZ #12167]
6015 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
6016 of inacessible symlinks. Verify result of symlink before returning it.
6017 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6018 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
6019
0e012e87
ER
60202010-10-28 Erich Ritz <erichritz@gmail.com>
6021
6022 * math/math.h (isinf): Fix typo in comment.
6023
de0ff7bc
UD
60242010-11-01 Ulrich Drepper <drepper@gmail.com>
6025
6026 * po/da.po: Update from translation team.
6027
fa41c84d
UD
60282010-10-26 Ulrich Drepper <drepper@gmail.com>
6029
6030 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
6031 is added to the list.
6032
f0967738
AK
60332010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6034 Ulrich Drepper <drepper@gmail.com>
6035
6036 * elf/dl-object.c (_dl_new_object): Don't append the new object to
6037 the global list here. Move code to...
6038 (_dl_add_to_namespace_list): ...here. New function.
6039 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
6040 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
6041 * elf/dl-load.c (lose): Don't remove the element from the list.
6042 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
6043 (_dl_map_object): Likewise.
6044
60452010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
6046
6047 [BZ #12159]
6048 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
6049 into all bytes of SSE register.
6050 Patch by Richard Li <richardpku@gmail.com>.
6051
f0967738 60522010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
6053
6054 [BZ #12140]
6055 * malloc/malloc.c (_int_free): Fill correct number of bytes when
6056 perturbing.
6057
d0b9e94f
MB
60582010-10-20 Michael B. Brutman <brutman@us.ibm.com>
6059
6060 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
6061 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
6062 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
6063 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
6065 submachine.
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
6067
8e9f92e9
AS
60682010-10-22 Andreas Schwab <schwab@redhat.com>
6069
6070 * include/dlfcn.h (__RTLD_SECURE): Define.
6071 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
6072 mode & __RTLD_SECURE instead.
6073 (open_path): Rename preloaded parameter to secure.
6074 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
6075 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
6076 * elf/dl-deps.c (openaux): Likewise.
6077 * elf/rtld.c (struct map_args): Remove is_preloaded.
6078 (map_doit): Don't use it.
6079 (dl_main): Likewise.
6080 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
6081 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
6082
bc96fbda
AS
60832010-09-09 Andreas Schwab <schwab@redhat.com>
6084
6085 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
6086 (sysd-rules-targets): Remove duplicates.
6087 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
6088 rtld-%.$o dependency.
6089
22cd1c9b
AS
60902010-10-18 Andreas Schwab <schwab@redhat.com>
6091
6092 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
6093 _dl_map_object do it.
6094
18edac48
UD
60952010-10-19 Ulrich Drepper <drepper@gmail.com>
6096
6097 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
6098 fast fma builtins, define the macros in the C99 standard.
6099 (FP_FAST_FMAF): Likewise.
6100 (FP_FAST_FMAL): Likewise.
6101 * sysdeps/x86_64/bits/mathdef.h: Likewise.
6102
6103 * bits/mathdef.h: Update copyright year.
6104 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6105
d2050124
MM
61062010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
6107
6108 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
6109 builtins, define the macros in the C99 standard.
6110 (FP_FAST_FMAF): Likewise.
6111 (FP_FAST_FMAL): Likewise.
6112 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
6113 multiply/add.
6114 (FP_FAST_FMAF): Likewise.
6115
475facd1
JJ
61162010-10-15 Jakub Jelinek <jakub@redhat.com>
6117
6118 [BZ #3268]
6119 * math/libm-test.inc (fma_test): Some new testcases.
6120 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
6121 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
6122 y and infinite z. Do multiplication by C already in long double.
6123 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
6124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
6125 y and infinite z. Do bitwise or of inexact bit into u.d.
6126 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
6127 * sysdeps/i386/fpu/s_fmaf.S: Removed.
6128 * sysdeps/i386/fpu/s_fma.S: Removed.
6129 * sysdeps/i386/fpu/s_fmal.S: Removed.
6130
7c08a05c
JJ
61312010-10-16 Jakub Jelinek <jakub@redhat.com>
6132
6133 [BZ #3268]
6134 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
6135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
6136 computation is not scheduled after fetestexcept. Fix value
6137 of minimum denormal long double.
6138
f3f7372d
JJ
61392010-10-14 Jakub Jelinek <jakub@redhat.com>
6140
6141 [BZ #3268]
6142 * math/libm-test.inc (fma_test): Add some more tests.
6143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
6144 correctly.
6145
14d43591
AS
61462010-10-15 Andreas Schwab <schwab@redhat.com>
6147
6148 * scripts/data/localplt-s390-linux-gnu.data: New file.
6149 * scripts/data/localplt-s390x-linux-gnu.data: New file.
6150
5e908464
JJ
61512010-10-13 Jakub Jelinek <jakub@redhat.com>
6152
6153 [BZ #3268]
6154 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
6155 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
6156 instead of dbl-64.
6157 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
6158 inlines.
6159 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
6160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
6161 if one of x and y is very large and the other is subnormal.
6162 * sysdeps/s390/fpu/s_fmaf.c: New file.
6163 * sysdeps/s390/fpu/s_fma.c: New file.
6164 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
6165 * sysdeps/powerpc/fpu/s_fma.S: New file.
6166 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
6167 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
6168 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
6169
61702010-10-12 Jakub Jelinek <jakub@redhat.com>
6171
6172 [BZ #3268]
6173 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
6174 fma tests.
6175 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
6176 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
6177 * sysdeps/i386/i686/multiarch/s_fma.c: Include
6178 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
6179 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
6180 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
6182
b833d51f
UD
61832010-10-12 Ulrich Drepper <drepper@redhat.com>
6184
6185 [BZ #12078]
6186 * posix/regcomp.c (parse_branch): One more memory leak plugged.
6187 * posix/bug-regex31.input: Add test case.
6188
1751705d
UD
61892010-10-11 Ulrich Drepper <drepper@gmail.com>
6190
e9b9cbf5
UD
6191 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
6192 * posix/bug-regex31.input: New file.
6193
6194 [BZ #12078]
6195 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
6196 (parse_sub_exp): Fix last change, use postorder.
6197
ef06edbe
UD
6198 * posix/bug-regex31.c: New file.
6199 * posix/Makefile: Add rules to build and run bug-regex31.
6200
a129c80d
UD
6201 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
6202
6203 [BZ #12078]
6204 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
6205
b76b818e
UD
6206 [BZ #12108]
6207 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
6208 to have entries in sys_siglist.
6209
1751705d
UD
6210 [BZ #12093]
6211 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
6212 be NULL.
6213
9ff8d36f
JJ
62142010-10-07 Jakub Jelinek <jakub@redhat.com>
6215
6216 [BZ #3268]
6217 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
6218 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
6219 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6220 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
6221 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6222 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
6223 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
6224 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
6225 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
6226 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
6227 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
6228 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
6229 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6230 * math/ftestexcept.c (fetestexcept): Likewise.
6231 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
6232 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6233 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6234 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
6235 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
6236 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
6237 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6238
af325969
UD
62392010-10-11 Ulrich Drepper <drepper@gmail.com>
6240
c579b202 6241 [BZ #12107]
af325969
UD
6242 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
6243 newline.
6244
67a67b95
UD
62452010-10-06 Ulrich Drepper <drepper@gmail.com>
6246
6247 * string/bug-strstr1.c: New file.
6248 * string/Makefile: Add rules to build and run bug-strstr1.
6249
5fb308bc
EB
62502010-10-05 Eric Blake <eblake@redhat.com>
6251
6252 [BZ #12092]
6253 * string/str-two-way.h (two_way_long_needle): Always clear memory
6254 when skipping input due to the shift table.
6255
45db99c7
UD
62562010-10-03 Ulrich Drepper <drepper@gmail.com>
6257
3b111893
UD
6258 [BZ #12005]
6259 * malloc/mcheck.c: Handle large requests.
6260
45db99c7
UD
6261 [BZ #12077]
6262 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
6263 for strncmp and strncasecmp.
6264 * string/stratcliff.c: Add tests for strcmp and strncmp.
6265 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
6266
cf7a1eb8
NI
62672010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6268
6269 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
6270 __set_fpscr.
6271
6484ba5e
AJ
62722010-09-30 Andreas Jaeger <aj@suse.de>
6273
6274 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
6275 (CGROUP_SUPER_MAGIC): Define.
6276 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6277 Handle btrfs and cgroup file systems.
6278 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6279 Likewise.
6280
91c42559
LM
62812010-09-27 Luis Machado <luisgpm@br.ibm.com>
6282
6283 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
6284 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
6285
87a97932
AK
62862010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6287
6288 [BZ #12067]
6289 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
6290 trying to locate the ELF header.
6291
c21cc9bc
AS
62922010-09-27 Andreas Schwab <schwab@redhat.com>
6293
6294 [BZ #11611]
6295 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
6296 Mask out sign-bit copies when constructing f_fsid.
6297
315970f6
PB
62982010-09-24 Petr Baudis <pasky@suse.cz>
6299
6300 * debug/stack_chk_fail_local.c: Add missing licence exception.
6301 * debug/warning-nop.c: Likewise.
6302
1ac7a2c7
JM
63032010-09-15 Joseph Myers <joseph@codesourcery.com>
6304
6305 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
6306 implementing getdents64 using getdents syscall, set d_type if
6307 __ASSUME_GETDENTS32_D_TYPE.
6308
56801c50
AS
63092010-09-16 Andreas Schwab <schwab@redhat.com>
6310
6311 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
6312 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
6313
dda51327
UD
63142010-09-21 Ulrich Drepper <drepper@redhat.com>
6315
6316 [BZ #12037]
6317 * posix/unistd.h: Undo change of feature selection for ftruncate from
6318 2010-01-11.
6319
8ffcee4a
UD
63202010-09-20 Ulrich Drepper <drepper@redhat.com>
6321
a545ecd9 6322 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
6323 detection.
6324
e24f0a8b
AS
63252010-09-20 Andreas Schwab <schwab@redhat.com>
6326
6327 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
6328 fanotify_mark.
6329 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6330
7291c56f
AS
63312010-09-14 Andreas Schwab <schwab@redhat.com>
6332
6333 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
6334 variables after CHECK_SP call.
6335 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
6336
bc5fb037
AS
63372010-09-13 Andreas Schwab <schwab@redhat.com>
6338 Ulrich Drepper <drepper@redhat.com>
6339
6340 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
6341 re-relocationg ld.so.
6342 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
6343 _dl_init_paths call.
6344 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
6345 here anymore.
6346
e66e7419
UD
63472010-09-14 Ulrich Drepper <drepper@redhat.com>
6348
6349 * resolv/res_init.c (__res_vinit): Count the default server we added.
6350
c044aa75
CLT
63512010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
6352 Ulrich Drepper <drepper@redhat.com>
6353
6354 [BZ #11968]
6355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6356 (____longjmp_chk): Use %ebx for saving value across system call.
6357 Add unwind info.
6358
32cf4069
AS
63592010-09-06 Andreas Schwab <schwab@redhat.com>
6360
6361 * manual/Makefile: Don't mix pattern rules with normal rules.
6362
817328ee
AS
63632010-09-05 Andreas Schwab <schwab@linux-m68k.org>
6364
6365 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
6366 operation.
6367 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6368 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6369 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6370 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6372 Likewise.
6373
29fddf61
UD
63742010-09-04 Ulrich Drepper <drepper@redhat.com>
6375
6376 [BZ #11979]
6377 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
6378 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
6379
0959ffc9
UD
63802010-09-02 Ulrich Drepper <drepper@redhat.com>
6381
6382 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
6383 * sysdeps/x86_64/addmul_1.S: Likewise.
6384 * sysdeps/x86_64/lshift.S: Likewise.
6385 * sysdeps/x86_64/mul_1.S: Likewise.
6386 * sysdeps/x86_64/rshift.S: Likewise.
6387 * sysdeps/x86_64/sub_n.S: Likewise.
6388 * sysdeps/x86_64/submul_1.S: Likewise.
6389
ece29840
ST
63902010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6391
0959ffc9
UD
6392 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
6393 Define __sched_param instead of SCHED_* and sched_param when
ece29840 6394 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 6395 * bits/sched.h [__need_schedparam]
ece29840 6396 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
6397 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
6398 (__defined_schedparam): Define to 1.
ece29840
ST
6399 (__sched_param): New structure, identical to sched_param.
6400 (__need_schedparam): Undefine.
6401
e53a31fe
MF
64022010-08-31 Mike Frysinger <vapier@gentoo.org>
6403
fdc0c10d
MF
6404 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
6405 (epoll_create1): Declare.
6406
e53a31fe
MF
6407 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
6408
a726d796
AS
64092010-08-31 Andreas Schwab <schwab@redhat.com>
6410
6411 [BZ #7066]
6412 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
6413 shifting retval into place.
6414
2f3e3dc7
UD
64152010-09-01 Ulrich Drepper <drepper@redhat.com>
6416
f2933da9
UD
6417 * nis/rpcsvc/nis.h: Update copyright notice.
6418 * nis/rpcsvc/nis.x: Likewise.
6419 * nis/rpcsvc/nis_callback.h: Likewise.
6420 * nis/rpcsvc/nis_callback.x: Likewise.
6421 * nis/rpcsvc/nis_object.x: Likewise.
6422 * nis/rpcsvc/nis_tags.h: Likewise.
6423 * nis/rpcsvc/yp.h: Likewise.
6424 * nis/rpcsvc/yp.x: Likewise.
6425 * nis/rpcsvc/ypupd.h: Likewise.
6426 * nis/yp_xdr.c: Likewise.
6427 * nis/ypupdate_xdr.c: Likewise.
6428
2f3e3dc7
UD
6429 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
6430 mainly the body of pmap_getport. Add parameters to specify timeouts.
6431 (pmap_getport): Use __libc_rpc_getport.
6432 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
6433 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
6434 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
6435
f3dcc2f9
AS
64362010-08-31 Andreas Schwab <schwab@linux-m68k.org>
6437
6438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
6439 fanotify_mark.
6440
6d34eb5b
RM
64412010-08-27 Roland McGrath <roland@redhat.com>
6442
6443 * sysdeps/i386/i686/multiarch/Makefile
6444 (CFLAGS-varshift.c): New variable.
6445
9ea3de11
UD
64462010-08-27 Ulrich Drepper <drepper@redhat.com>
6447
c96d23fc
UD
6448 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
6449 * sysdeps/i386/i686/multiarch/varshift.c: New file.
6450
9ea3de11
UD
6451 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
6452
6453 * sysdeps/x86_64/strlen.S: Minimal code improvement.
6454
623aac7f
L
64552010-08-26 H.J. Lu <hongjiu.lu@intel.com>
6456
6457 * sysdeps/x86_64/strlen.S: Unroll the loop.
6458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6459 strlen-sse2 strlen-sse2-bsf.
6460 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
6461 __strlen_no_bsf if bit_Slow_BSF is set.
6462 (__strlen_sse42): Removed.
6463 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
6464 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
6465
8b2b7715
RM
64662010-08-25 Roland McGrath <roland@redhat.com>
6467
6468 * sysdeps/x86_64/multiarch/varshift.S: File removed.
6469 * sysdeps/x86_64/multiarch/varshift.c: New file.
6470 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
6471 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
6472 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
6473 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6474
e73015f2
L
64752010-08-25 H.J. Lu <hongjiu.lu@intel.com>
6476
6477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6478 strlen-sse2 strlen-sse2-bsf.
6479 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
6480 __strlen_sse2_bsf if bit_Slow_BSF is unset.
6481 (__strlen_sse2): Removed.
6482 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
6483 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
6484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6485 bit_Slow_BSF for Atom.
6486 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
6487 (index_Slow_BSF): Define.
6488 (HAS_SLOW_BSF): Define.
6489
df24a73e
UD
64902010-08-25 Ulrich Drepper <drepper@redhat.com>
6491
6492 [BZ #10851]
6493 * resolv/res_init.c (__res_vinit): When no server address at all
6494 is given default to loopback.
6495
f2ac4868
RM
64962010-08-24 Roland McGrath <roland@redhat.com>
6497
09055553
RM
6498 * configure.in: Remove config-name.h generation.
6499 * configure: Regenerated.
6500 * config-name.in: File removed.
6501 * scripts/config-uname.sh: New file.
6502 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
6503 ($(objdir)config-name.h): New target.
6504
f2ac4868
RM
6505 * sunrpc/rpc_parse.h: Avoid nested comment.
6506
73f27d5e
RH
65072010-08-24 Richard Henderson <rth@redhat.com>
6508 Ulrich Drepper <drepper@redhat.com>
6509 H.J. Lu <hongjiu.lu@intel.com>
6510
6511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
6512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
6513 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
6514 Replace _mm_srli_si128 with __m128i_shift_right. Replace
6515 _mm_alignr_epi8 with _mm_loadu_si128.
6516 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
6517 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
6518 (__m128i_shift_right): Removed.
6519 * sysdeps/i386/i686/multiarch/varshift.h: New file.
6520 * sysdeps/i386/i686/multiarch/varshift.S: New file.
6521 * sysdeps/x86_64/multiarch/varshift.h: New file.
6522 * sysdeps/x86_64/multiarch/varshift.S: New file.
6523
84b9230c
MF
65242010-08-21 Mike Frysinger <vapier@gentoo.org>
6525
6526 * configure.in: Move assembler checks to before sysdep dir checking.
6527
9bbd0ddc
PB
65282010-08-20 Petr Baudis <pasky@suse.cz>
6529
6530 * LICENSES: Sync the sunrpc license.
6531
9da4bb31
UD
65322010-08-19 Ulrich Drepper <drepper@redhat.com>
6533
a7ab6ec8
UD
6534 * sunrpc/auth_des.c: Update copyright notice once again.
6535 * sunrpc/auth_none.c: Likewise.
6536 * sunrpc/auth_unix.c: Likewise.
6537 * sunrpc/authdes_prot.c: Likewise.
6538 * sunrpc/authuxprot.c: Likewise.
6539 * sunrpc/bindrsvprt.c: Likewise.
6540 * sunrpc/clnt_gen.c: Likewise.
6541 * sunrpc/clnt_perr.c: Likewise.
6542 * sunrpc/clnt_raw.c: Likewise.
6543 * sunrpc/clnt_simp.c: Likewise.
6544 * sunrpc/clnt_tcp.c: Likewise.
6545 * sunrpc/clnt_udp.c: Likewise.
6546 * sunrpc/clnt_unix.c: Likewise.
6547 * sunrpc/des_crypt.c: Likewise.
6548 * sunrpc/des_soft.c: Likewise.
6549 * sunrpc/get_myaddr.c: Likewise.
6550 * sunrpc/getrpcport.c: Likewise.
6551 * sunrpc/key_call.c: Likewise.
6552 * sunrpc/key_prot.c: Likewise.
6553 * sunrpc/openchild.c: Likewise.
6554 * sunrpc/pm_getmaps.c: Likewise.
6555 * sunrpc/pm_getport.c: Likewise.
6556 * sunrpc/pmap_clnt.c: Likewise.
6557 * sunrpc/pmap_prot.c: Likewise.
6558 * sunrpc/pmap_prot2.c: Likewise.
6559 * sunrpc/pmap_rmt.c: Likewise.
6560 * sunrpc/rpc/auth.h: Likewise.
6561 * sunrpc/rpc/auth_unix.h: Likewise.
6562 * sunrpc/rpc/clnt.h: Likewise.
6563 * sunrpc/rpc/des_crypt.h: Likewise.
6564 * sunrpc/rpc/key_prot.h: Likewise.
6565 * sunrpc/rpc/netdb.h: Likewise.
6566 * sunrpc/rpc/pmap_clnt.h: Likewise.
6567 * sunrpc/rpc/pmap_prot.h: Likewise.
6568 * sunrpc/rpc/pmap_rmt.h: Likewise.
6569 * sunrpc/rpc/rpc.h: Likewise.
6570 * sunrpc/rpc/rpc_des.h: Likewise.
6571 * sunrpc/rpc/rpc_msg.h: Likewise.
6572 * sunrpc/rpc/svc.h: Likewise.
6573 * sunrpc/rpc/svc_auth.h: Likewise.
6574 * sunrpc/rpc/types.h: Likewise.
6575 * sunrpc/rpc/xdr.h: Likewise.
6576 * sunrpc/rpc_clntout.c: Likewise.
6577 * sunrpc/rpc_cmsg.c: Likewise.
6578 * sunrpc/rpc_common.c: Likewise.
6579 * sunrpc/rpc_cout.c: Likewise.
6580 * sunrpc/rpc_dtable.c: Likewise.
6581 * sunrpc/rpc_hout.c: Likewise.
6582 * sunrpc/rpc_main.c: Likewise.
6583 * sunrpc/rpc_parse.c: Likewise.
6584 * sunrpc/rpc_parse.h: Likewise.
6585 * sunrpc/rpc_prot.c: Likewise.
6586 * sunrpc/rpc_sample.c: Likewise.
6587 * sunrpc/rpc_scan.c: Likewise.
6588 * sunrpc/rpc_scan.h: Likewise.
6589 * sunrpc/rpc_svcout.c: Likewise.
6590 * sunrpc/rpc_tblout.c: Likewise.
6591 * sunrpc/rpc_util.c: Likewise.
6592 * sunrpc/rpc_util.h: Likewise.
6593 * sunrpc/rpcinfo.c: Likewise.
6594 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
6595 * sunrpc/rpcsvc/key_prot.x: Likewise.
6596 * sunrpc/rpcsvc/klm_prot.x: Likewise.
6597 * sunrpc/rpcsvc/mount.x: Likewise.
6598 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
6599 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
6600 * sunrpc/rpcsvc/rex.x: Likewise.
6601 * sunrpc/rpcsvc/rstat.x: Likewise.
6602 * sunrpc/rpcsvc/rusers.x: Likewise.
6603 * sunrpc/rpcsvc/sm_inter.x: Likewise.
6604 * sunrpc/rpcsvc/spray.x: Likewise.
6605 * sunrpc/rpcsvc/yppasswd.x: Likewise.
6606 * sunrpc/rtime.c: Likewise.
6607 * sunrpc/svc.c: Likewise.
6608 * sunrpc/svc_auth.c: Likewise.
6609 * sunrpc/svc_authux.c: Likewise.
6610 * sunrpc/svc_raw.c: Likewise.
6611 * sunrpc/svc_run.c: Likewise.
6612 * sunrpc/svc_simple.c: Likewise.
6613 * sunrpc/svc_tcp.c: Likewise.
6614 * sunrpc/svc_udp.c: Likewise.
6615 * sunrpc/svc_unix.c: Likewise.
6616 * sunrpc/svcauth_des.c: Likewise.
6617 * sunrpc/xcrypt.c: Likewise.
6618 * sunrpc/xdr.c: Likewise.
6619 * sunrpc/xdr_array.c: Likewise.
6620 * sunrpc/xdr_float.c: Likewise.
6621 * sunrpc/xdr_mem.c: Likewise.
6622 * sunrpc/xdr_rec.c: Likewise.
6623 * sunrpc/xdr_ref.c: Likewise.
6624 * sunrpc/xdr_sizeof.c: Likewise.
6625 * sunrpc/xdr_stdio.c: Likewise.
6626
9da4bb31
UD
6627 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
6628 handling.
6629
bdaa77bc
AS
66302010-08-19 Andreas Schwab <schwab@redhat.com>
6631
6632 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
6633
fe2f79db
LM
66342010-08-19 Luis Machado <luisgpm@br.ibm.com>
6635
6636 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
6637 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
6638 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
6639 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
6640 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
6641 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
6642 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
6643 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
6644 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
6645 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
6646 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
6647 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
6648 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
6649 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
6650
b9b42ee0
AB
66512010-07-26 Anton Blanchard <anton@samba.org>
6652
6653 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
6654 * malloc/arena.c (heap_trim): Likewise.
6655
1c06ba31
UD
66562010-08-16 Ulrich Drepper <drepper@redhat.com>
6657
6658 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
6659 here. Not...
6660 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
6661 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
6662
f8392f40
L
66632010-08-12 H.J. Lu <hongjiu.lu@intel.com>
6664
6665 * sysdeps/i386/elf/Makefile: New file.
6666
3162f12e
AS
66672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6668
6669 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
6670 from fanotify_init.
6671 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6672 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6673
28c90b2c
UD
66742010-08-15 Ulrich Drepper <drepper@redhat.com>
6675
6676 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
6677 of strncasecmp_l.
1feccb6c 6678 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 6679
ca6bb004
UD
66802010-08-14 Ulrich Drepper <drepper@redhat.com>
6681
e9f82e0d
UD
6682 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6683 strncase_l-nonascii.
6684 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6685 Add strncase_l-ssse3.
6686 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
6687 * sysdeps/x86_64/strcmp.S: Likewise.
6688 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
6689 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
6690 * sysdeps/x86_64/strncase.S: New file.
6691 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
6692 * sysdeps/x86_64/strncase_l.S: New file.
6693 * string/Makefile (strop-tests): Add strncasecmp.
6694 * string/test-strncasecmp.c: New file.
6695
6696 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
6697 warning.
6698
ca6bb004
UD
6699 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
6700 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
6701
052fa7b3
AS
67022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6703
6704 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
6705
962dba78
UD
67062010-08-12 Ulrich Drepper <drepper@redhat.com>
6707
6708 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
6709 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6710 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6711
bebff237
AM
67122010-05-01 Alan Modra <amodra@gmail.com>
6713
6714 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
6715 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
6716 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
6717 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
6718 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
6719 tidying. Don't tail-call __sigjmp_save for static lib.
6720 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
6721 save location.
6722 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
6723 (CALL_MCOUNT): Add eh info, and nop after bl.
6724 (TAIL_CALL_SYSCALL_ERROR): New macro.
6725 (PSEUDO_RET): Use it.
6726 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6727 Correct save location of integer regs and cr.
6728 (_dl_profile_resolve): Correct cr save location. Delete nops
6729 after bl when SHARED. Reduce cfi size a little by better
6730 placement of cfi directives.
6731 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
6732 make a stack frame. Instead use parm save area as a temp.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
6734 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6736 Don't make a stack frame for parent, use parm save area.
6737 Increase child stack frame to 112 bytes. Don't save unused reg,
6738 and adjust reg usage. Set up cfi on error recovery and
6739 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6741 (__makecontext): Add dummy nop after jump to exit.
6742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
6743 Use correct parm save area and cr save, reduce stack frame.
6744 Correct cfi for possible PSEUDO_RET frame setup.
6745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
6746 Branch to local label emitted by PSEUDO_RET rather than
6747 __syscall_error.
6748
02637374
AS
67492010-08-12 Andreas Schwab <schwab@redhat.com>
6750
6751 [BZ #11904]
6752 * locale/programs/locale.c (print_assignment): New function.
6753 (show_locale_vars): Use it.
6754
c3e2f19b
UD
67552010-08-11 Ulrich Drepper <drepper@redhat.com>
6756
3cdaa6ad
UD
6757 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
6758 field.
6759 (struct statfs64): Likewise.
6760 (_STATFS_F_FLAGS): Define.
6761 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
6762 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6763 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
6764 (ST_VALID): Define locally.
6765 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
6766 __statvfs_getflags, use the provided value.
6767 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6768 __ASSUME_STATFS_F_FLAGS.
6769
754f7da3
UD
6770 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
6771
10b3bedc
UD
6772 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
6773 Add sys/fanotify.h.
6774 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
6775 fanotify_mask for GLIBC_2.13.
6776 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
6777 fanotify_init and fanotify_mark.
6778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6779 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
6780
c08fb0d7
UD
6781 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
6782 Add prlimit.
6783 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
6784 prlimit64 for GLIBC_2.13.
6785 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
6786 prlimit64.
6787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
6788 syscall.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6791 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
6792 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
6793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
6794 add prlimit alias.
6795 * sysdeps/unix/sysv/linux/prlimit.c: New file.
6796
15bac72b
UD
6797 [BZ #11903]
6798 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
6799 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
6800
c3e2f19b
UD
6801 * nss/Makefile: Add rules to build and run tst-nss-test1.
6802 * shlib-versions: Add entry for libnss_test1.
6803 * nss/nss_test1.c: New file.
6804 * nss/tst-nss-test1.c: New file.
6805
6806 * nss/nsswitch.c (__nss_database_custom): Define new variable.
6807 (__nss_configure_lookup): Set appropriate entry in
6808 __nss_configure_lookup to true.
6809 * nss/nsswitch.h: Define enum with indeces of databases in
6810 databases and __nss_database_custom arrays. Declare
6811 __nss_database_custom.
6812 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
6813 to avoid using nscd when custom rules are installed.
6814 * nss/getXXbyYY_r.c: Likewise.
6815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6816
6817 * nss/nss_files/files-parse.c: Whitespace fixes.
6818
f15ce4d8
UD
68192010-08-09 Ulrich Drepper <drepper@redhat.com>
6820
6821 [BZ #11883]
6822 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
6823 * posix/fnmatch_loop.c: Likewise.
6824
d22e4cc9
AK
68252010-07-17 Andi Kleen <ak@linux.intel.com>
6826
6827 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
6828 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
6829 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
6830 * Versions.def [GLIBC_2.13]: Add.
6831
805bc17d
UD
68322010-08-06 Ulrich Drepper <drepper@redhat.com>
6833
6834 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6835 Also fail if tpwd after pwuid call is NULL.
6836
5a42321d
ST
68372010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6838
6839 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
6840 when converting to ms.
6841
fd3ebeda
ST
68422010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6843
6844 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
6845 EOPNOTSUPP errors with ENOTTY.
6846 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
6847 EOPNOTSUPP errors with ENOTTY.
6848
73507d3a
UD
68492010-07-31 Ulrich Drepper <drepper@redhat.com>
6850
6851 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6852 Add strcasecmp_l-ssse3.
6853 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
6854 strcasecmp.
6855 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
6856 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
6857 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
6858
fe36dd02
UD
68592010-07-30 Ulrich Drepper <drepper@redhat.com>
6860
66f6765a
UD
6861 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
6862
42e08a54
UD
6863 * string/Makefile (strop-tests): Add strcasecmp.
6864 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6865 strcasecmp_l-nonascii.
6866 (gen-as-const-headers): Add locale-defines.sym.
6867 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
6868 * sysdeps/x86_64/strcasecmp.S: New file.
6869 * sysdeps/x86_64/strcasecmp_l.S: New file.
6870 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
6871 * sysdeps/x86_64/locale-defines.sym: New file.
6872 * string/test-strcasecmp.c: New file.
6873
fe36dd02
UD
6874 * string/test-strcasestr.c: Test both ends of the range of characters.
6875 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
6876
48cbc0d6
RM
68772010-07-29 Roland McGrath <roland@redhat.com>
6878
76e6d6bc 6879 [BZ #11856]
48cbc0d6
RM
6880 * manual/locale.texi (Yes-or-No Questions): Fix example code.
6881
880113d9
UD
68822010-07-27 Ulrich Drepper <drepper@redhat.com>
6883
6884 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
6885 for ld.so.
6886
deb9cabb
AS
68872010-07-27 Andreas Schwab <schwab@redhat.com>
6888
6889 * manual/memory.texi (Malloc Tunable Parameters): Document
6890 M_PERTURB.
6891
1c7570ff
RM
68922010-07-26 Roland McGrath <roland@redhat.com>
6893
6894 [BZ #11840]
6895 * configure.in (-fgnu89-inline check): Set and substitute
6896 gnu89_inline, not libc_cv_gnu89_inline.
6897 * configure: Regenerated.
6898 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
6899
24fb0f88
UD
69002010-07-26 Ulrich Drepper <drepper@redhat.com>
6901
6902 * string/test-strnlen.c: New file.
6903 * string/Makefile (strop-tests): Add strnlen.
6904 * string/tester.c (test_strnlen): Add a few more test cases.
6905 * string/tst-strlen.c: Better error reporting.
6906
6907 * sysdeps/x86_64/strnlen.S: New file.
6908
8e96b93a
UD
69092010-07-24 Ulrich Drepper <drepper@redhat.com>
6910
6911 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
6912 lower-latency instructions.
6913
dbc676d4
UD
69142010-07-23 Ulrich Drepper <drepper@redhat.com>
6915
6916 * string/test-strcasestr.c: New file.
6917 * string/test-strstr.c: New file.
6918 * string/Makefile (strop-tests): Add strstr and strcasestr.
6919 * string/str-two-way.h: Don't undefine MAX.
6920 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
6921
f6a31e0e
AS
69222010-07-21 Andreas Schwab <schwab@redhat.com>
6923
6924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6925 strcasestr-nonascii.
6926 (CFLAGS-strcasestr-nonascii.c): Define.
6927 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
6928 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
6929 Remove unused attribute.
6930
5dbc3b6c
RM
69312010-07-20 Roland McGrath <roland@redhat.com>
6932
6933 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
6934 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
6935 ld.so.cache was broken. With it, there is no way to disable dsocaps
6936 like LD_HWCAP_MASK can disable hwcaps.
6937
23d101d8
EPM
69382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6939
6940 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
6941
cc9f2e47
UD
69422010-07-16 Ulrich Drepper <drepper@redhat.com>
6943
6944 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
6945 call in strcasestr.
6946 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
6947 __strcasestr_sse42_nonascii.
6948 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
6949 strcasestr-nonascii.c.
6950 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
6951
77c1b069
LM
69522010-06-15 Luis Machado <luisgpm@br.ibm.com>
6953
6954 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
6955 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
6956 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
6957 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
6958
440566c3
UD
69592010-07-09 Ulrich Drepper <drepper@redhat.com>
6960
6961 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
6962 fcntl.
6963
5be9d05d
AS
69642010-07-06 Andreas Schwab <schwab@redhat.com>
6965
c30b7ee2 6966 [BZ #11577]
5be9d05d
AS
6967 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
6968 dl_signal_cerror.
6969
8a492a67
UD
69702010-07-06 Ulrich Drepper <drepper@redhat.com>
6971
6972 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
6973 _PC_PIPE_BUF using F_GETPIPE_SZ.
6974
713df3d5
RM
69752010-07-05 Roland McGrath <roland@redhat.com>
6976
6977 * manual/arith.texi (Rounding Functions): Fix rint description
6978 implicit in round description.
6979
702e8f14
UD
69802010-07-02 Ulrich Drepper <drepper@redhat.com>
6981
6982 * elf/Makefile: Fix linking for a few tests to make recent linker
6983 happy.
6984
52ed8be9
AS
69852010-06-30 Andreas Schwab <schwab@redhat.com>
6986
6987 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6988 $(common-objpfx)libc_nonshared.a.
6989
f47c9a11
LM
69902010-06-21 Luis Machado <luisgpm@br.ibm.com>
6991
6992 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
6993 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
6994 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6995 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6996 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
6997 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
6998 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6999 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
7001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
7005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
7014 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
7015 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
7016 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
7017 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
7018 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
7019 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
7020 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
7021 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
7022 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
7023 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
7024 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
7025 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
7026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
7028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
7032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
7034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
7040
6fb8cbcb
L
70412010-06-25 H.J. Lu <hongjiu.lu@intel.com>
7042
7043 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
7044 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
7045 * string/memmove.c (memmove): Renamed to ...
7046 (MEMMOVE): ...this. Default to memmove.
7047 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
7048 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
7049 (END_CHK): Define.
7050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7051 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
7052 mempcpy-ssse3-back memmove-ssse3-back.
7053 * sysdeps/x86_64/multiarch/bcopy.S: New file .
7054 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
7055 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
7056 * sysdeps/x86_64/multiarch/memcpy.S: New file.
7057 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
7058 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
7059 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
7060 * sysdeps/x86_64/multiarch/memmove.c: New file.
7061 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
7062 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
7063 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
7064 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
7065 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
7066 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
7067 Define.
7068 (index_Fast_Copy_Backward): Define.
7069 (HAS_ARCH_FEATURE): Define.
7070 (HAS_FAST_REP_STRING): Define.
7071 (HAS_FAST_COPY_BACKWARD): Define.
7072
4e733bac 70732010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
7074
7075 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7076 Restore proper fallback handling.
7077
63c4ed22
UD
70782010-06-19 Ulrich Drepper <drepper@redhat.com>
7079
ac2b484c
UD
7080 [BZ #11701]
7081 * posix/group_member.c (__group_member): Correct checking loop.
7082
63c4ed22
UD
7083 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
7084 OOM in getpwuid_r correctly. Return error number when the caller
7085 should return, otherwise -1.
7086 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
7087 call returning > 0 value.
7088 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
7089
765ade4b
AS
70902010-06-07 Andreas Schwab <schwab@redhat.com>
7091
7092 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
7093 libc_nonshared.a from targets in modules-names.
7094
80da2e09
KS
70952010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
7096
7097 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
7098 requires it.
7099
158db122
LM
71002010-06-10 Luis Machado <luisgpm@br.ibm.com>
7101
7102 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
7103 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
7104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
7105 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
7106
caa78cf8
AS
71072010-06-02 Andreas Schwab <schwab@redhat.com>
7108
7109 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
7110
b2ef2c01
UD
71112010-06-14 Ulrich Drepper <drepper@redhat.com>
7112
7113 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
7114 and F_GETPIPE_SZ.
7115 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7120 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
7121
fbd643b6
RM
71222010-06-14 Roland McGrath <roland@redhat.com>
7123
7124 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
7125
f32f2869
JJ
71262010-06-07 Jakub Jelinek <jakub@redhat.com>
7127
7128 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
7129 __REDIRECT followed by __THROW.
7130 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
7131 * posix/getopt.h (getopt): Likewise.
7132
2a50c078
EPM
71332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7134
7135 * hurd/lookup-at.c (__file_name_lookup_at): Accept
7136 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
7137 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
7138 in AT_FLAGS.
7139 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
7140 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
7141
eb5ad2eb
LM
71422010-05-28 Luis Machado <luisgpm@br.ibm.com>
7143
7144 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
7145
3c88fe1e
L
71462010-05-26 H.J. Lu <hongjiu.lu@intel.com>
7147
7148 [BZ #11640]
7149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7150 Properly check family and model.
7151
d2f73151
TY
71522010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
7153
7154 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
7155
ebd2e13d
LM
71562010-05-24 Luis Machado <luisgpm@br.ibm.com>
7157
7158 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
7159
b32b8b45
UD
71602010-05-21 Ulrich Drepper <drepper@redhat.com>
7161
7162 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
7163 symbol reference.
7164
9acbe24d
AS
71652010-05-19 Andreas Schwab <schwab@redhat.com>
7166
7167 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
7168 symbol reference.
7169
f0ccf6ea
AS
71702010-05-21 Andreas Schwab <schwab@redhat.com>
7171
3d04ff3a
AS
7172 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
7173 and internal_recvmmsg.
7174 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
7175 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
7176 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
7177 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
7178
f0ccf6ea
AS
7179 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
7180 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7181 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7182
5b08ac57
AS
71832010-05-20 Andreas Schwab <schwab@redhat.com>
7184
7185 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
7186
4828935d
LM
71872010-05-17 Luis Machado <luisgpm@br.ibm.com>
7188
7189 POWER7 optimizations.
7190 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
7191 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
7192
373d545e
UD
71932010-05-19 Ulrich Drepper <drepper@redhat.com>
7194
7195 * version.h: Update for 2.13 development version.
7196
21a2b1ae
AS
71972010-05-12 Andrew Stubbs <ams@codesourcery.com>
7198
7199 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
7200 exceptions. Return 0.
7201
3f7dcb2b
RM
72022010-05-07 Roland McGrath <roland@redhat.com>
7203
7204 * elf/ldconfig.c (main): Add a const.
7205
5f24d53a 72062010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 7207
a160f8d8
UD
7208 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
7209 (args_options): Add no-idn option.
7210 (ahosts_keys_int): Add idn_flags to ai_flags.
7211 (parse_option): Handle 'i' option to clear idn_flags.
7212
5f24d53a
UD
7213 * malloc/malloc.c (_int_free): Possible race in the most recently
7214 added check. Only act on the data if no current modification
7215 happened.
265bb1ce
UD
7216
7217See ChangeLog.17 for earlier changes.