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