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