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