1 2010-09-13 Andreas Schwab <schwab@redhat.com>
3 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
4 (sysd-rules-targets): Remove duplicates.
5 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9 Ulrich Drepper <drepper@redhat.com>
12 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13 (____longjmp_chk): Use %ebx for saving value across system call.
16 2010-09-06 Andreas Schwab <schwab@redhat.com>
18 * manual/Makefile: Don't mix pattern rules with normal rules.
20 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
40 * sysdeps/x86_64/addmul_1.S: Likewise.
41 * sysdeps/x86_64/lshift.S: Likewise.
42 * sysdeps/x86_64/mul_1.S: Likewise.
43 * sysdeps/x86_64/rshift.S: Likewise.
44 * sysdeps/x86_64/sub_n.S: Likewise.
45 * sysdeps/x86_64/submul_1.S: Likewise.
47 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50 Define __sched_param instead of SCHED_* and sched_param when
51 <bits/sched.h> is included with __need_schedparam defined.
52 * bits/sched.h [__need_schedparam]
53 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55 (__defined_schedparam): Define to 1.
56 (__sched_param): New structure, identical to sched_param.
57 (__need_schedparam): Undefine.
59 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62 (epoll_create1): Declare.
64 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
66 2010-08-31 Andreas Schwab <schwab@redhat.com>
69 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70 shifting retval into place.
72 2010-09-01 Ulrich Drepper <drepper@redhat.com>
74 * nis/rpcsvc/nis.h: Update copyright notice.
75 * nis/rpcsvc/nis.x: Likewise.
76 * nis/rpcsvc/nis_callback.h: Likewise.
77 * nis/rpcsvc/nis_callback.x: Likewise.
78 * nis/rpcsvc/nis_object.x: Likewise.
79 * nis/rpcsvc/nis_tags.h: Likewise.
80 * nis/rpcsvc/yp.h: Likewise.
81 * nis/rpcsvc/yp.x: Likewise.
82 * nis/rpcsvc/ypupd.h: Likewise.
83 * nis/yp_xdr.c: Likewise.
84 * nis/ypupdate_xdr.c: Likewise.
86 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
87 mainly the body of pmap_getport. Add parameters to specify timeouts.
88 (pmap_getport): Use __libc_rpc_getport.
89 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
90 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
91 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
93 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
98 2010-08-27 Roland McGrath <roland@redhat.com>
100 * sysdeps/i386/i686/multiarch/Makefile
101 (CFLAGS-varshift.c): New variable.
103 2010-08-27 Ulrich Drepper <drepper@redhat.com>
105 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
106 * sysdeps/i386/i686/multiarch/varshift.c: New file.
108 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
110 * sysdeps/x86_64/strlen.S: Minimal code improvement.
112 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
114 * sysdeps/x86_64/strlen.S: Unroll the loop.
115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
116 strlen-sse2 strlen-sse2-bsf.
117 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
118 __strlen_no_bsf if bit_Slow_BSF is set.
119 (__strlen_sse42): Removed.
120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
121 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
123 2010-08-25 Roland McGrath <roland@redhat.com>
125 * sysdeps/x86_64/multiarch/varshift.S: File removed.
126 * sysdeps/x86_64/multiarch/varshift.c: New file.
127 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
128 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
129 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
130 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
132 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
135 strlen-sse2 strlen-sse2-bsf.
136 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
137 __strlen_sse2_bsf if bit_Slow_BSF is unset.
138 (__strlen_sse2): Removed.
139 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
140 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
142 bit_Slow_BSF for Atom.
143 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
144 (index_Slow_BSF): Define.
145 (HAS_SLOW_BSF): Define.
147 2010-08-25 Ulrich Drepper <drepper@redhat.com>
150 * resolv/res_init.c (__res_vinit): When no server address at all
151 is given default to loopback.
153 2010-08-24 Roland McGrath <roland@redhat.com>
155 * configure.in: Remove config-name.h generation.
156 * configure: Regenerated.
157 * config-name.in: File removed.
158 * scripts/config-uname.sh: New file.
159 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
160 ($(objdir)config-name.h): New target.
162 * sunrpc/rpc_parse.h: Avoid nested comment.
164 2010-08-24 Richard Henderson <rth@redhat.com>
165 Ulrich Drepper <drepper@redhat.com>
166 H.J. Lu <hongjiu.lu@intel.com>
168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
170 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
171 Replace _mm_srli_si128 with __m128i_shift_right. Replace
172 _mm_alignr_epi8 with _mm_loadu_si128.
173 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
174 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
175 (__m128i_shift_right): Removed.
176 * sysdeps/i386/i686/multiarch/varshift.h: New file.
177 * sysdeps/i386/i686/multiarch/varshift.S: New file.
178 * sysdeps/x86_64/multiarch/varshift.h: New file.
179 * sysdeps/x86_64/multiarch/varshift.S: New file.
181 2010-08-21 Mike Frysinger <vapier@gentoo.org>
183 * configure.in: Move assembler checks to before sysdep dir checking.
185 2010-08-20 Petr Baudis <pasky@suse.cz>
187 * LICENSES: Sync the sunrpc license.
189 2010-08-19 Ulrich Drepper <drepper@redhat.com>
191 * sunrpc/auth_des.c: Update copyright notice once again.
192 * sunrpc/auth_none.c: Likewise.
193 * sunrpc/auth_unix.c: Likewise.
194 * sunrpc/authdes_prot.c: Likewise.
195 * sunrpc/authuxprot.c: Likewise.
196 * sunrpc/bindrsvprt.c: Likewise.
197 * sunrpc/clnt_gen.c: Likewise.
198 * sunrpc/clnt_perr.c: Likewise.
199 * sunrpc/clnt_raw.c: Likewise.
200 * sunrpc/clnt_simp.c: Likewise.
201 * sunrpc/clnt_tcp.c: Likewise.
202 * sunrpc/clnt_udp.c: Likewise.
203 * sunrpc/clnt_unix.c: Likewise.
204 * sunrpc/des_crypt.c: Likewise.
205 * sunrpc/des_soft.c: Likewise.
206 * sunrpc/get_myaddr.c: Likewise.
207 * sunrpc/getrpcport.c: Likewise.
208 * sunrpc/key_call.c: Likewise.
209 * sunrpc/key_prot.c: Likewise.
210 * sunrpc/openchild.c: Likewise.
211 * sunrpc/pm_getmaps.c: Likewise.
212 * sunrpc/pm_getport.c: Likewise.
213 * sunrpc/pmap_clnt.c: Likewise.
214 * sunrpc/pmap_prot.c: Likewise.
215 * sunrpc/pmap_prot2.c: Likewise.
216 * sunrpc/pmap_rmt.c: Likewise.
217 * sunrpc/rpc/auth.h: Likewise.
218 * sunrpc/rpc/auth_unix.h: Likewise.
219 * sunrpc/rpc/clnt.h: Likewise.
220 * sunrpc/rpc/des_crypt.h: Likewise.
221 * sunrpc/rpc/key_prot.h: Likewise.
222 * sunrpc/rpc/netdb.h: Likewise.
223 * sunrpc/rpc/pmap_clnt.h: Likewise.
224 * sunrpc/rpc/pmap_prot.h: Likewise.
225 * sunrpc/rpc/pmap_rmt.h: Likewise.
226 * sunrpc/rpc/rpc.h: Likewise.
227 * sunrpc/rpc/rpc_des.h: Likewise.
228 * sunrpc/rpc/rpc_msg.h: Likewise.
229 * sunrpc/rpc/svc.h: Likewise.
230 * sunrpc/rpc/svc_auth.h: Likewise.
231 * sunrpc/rpc/types.h: Likewise.
232 * sunrpc/rpc/xdr.h: Likewise.
233 * sunrpc/rpc_clntout.c: Likewise.
234 * sunrpc/rpc_cmsg.c: Likewise.
235 * sunrpc/rpc_common.c: Likewise.
236 * sunrpc/rpc_cout.c: Likewise.
237 * sunrpc/rpc_dtable.c: Likewise.
238 * sunrpc/rpc_hout.c: Likewise.
239 * sunrpc/rpc_main.c: Likewise.
240 * sunrpc/rpc_parse.c: Likewise.
241 * sunrpc/rpc_parse.h: Likewise.
242 * sunrpc/rpc_prot.c: Likewise.
243 * sunrpc/rpc_sample.c: Likewise.
244 * sunrpc/rpc_scan.c: Likewise.
245 * sunrpc/rpc_scan.h: Likewise.
246 * sunrpc/rpc_svcout.c: Likewise.
247 * sunrpc/rpc_tblout.c: Likewise.
248 * sunrpc/rpc_util.c: Likewise.
249 * sunrpc/rpc_util.h: Likewise.
250 * sunrpc/rpcinfo.c: Likewise.
251 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
252 * sunrpc/rpcsvc/key_prot.x: Likewise.
253 * sunrpc/rpcsvc/klm_prot.x: Likewise.
254 * sunrpc/rpcsvc/mount.x: Likewise.
255 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
256 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
257 * sunrpc/rpcsvc/rex.x: Likewise.
258 * sunrpc/rpcsvc/rstat.x: Likewise.
259 * sunrpc/rpcsvc/rusers.x: Likewise.
260 * sunrpc/rpcsvc/sm_inter.x: Likewise.
261 * sunrpc/rpcsvc/spray.x: Likewise.
262 * sunrpc/rpcsvc/yppasswd.x: Likewise.
263 * sunrpc/rtime.c: Likewise.
264 * sunrpc/svc.c: Likewise.
265 * sunrpc/svc_auth.c: Likewise.
266 * sunrpc/svc_authux.c: Likewise.
267 * sunrpc/svc_raw.c: Likewise.
268 * sunrpc/svc_run.c: Likewise.
269 * sunrpc/svc_simple.c: Likewise.
270 * sunrpc/svc_tcp.c: Likewise.
271 * sunrpc/svc_udp.c: Likewise.
272 * sunrpc/svc_unix.c: Likewise.
273 * sunrpc/svcauth_des.c: Likewise.
274 * sunrpc/xcrypt.c: Likewise.
275 * sunrpc/xdr.c: Likewise.
276 * sunrpc/xdr_array.c: Likewise.
277 * sunrpc/xdr_float.c: Likewise.
278 * sunrpc/xdr_mem.c: Likewise.
279 * sunrpc/xdr_rec.c: Likewise.
280 * sunrpc/xdr_ref.c: Likewise.
281 * sunrpc/xdr_sizeof.c: Likewise.
282 * sunrpc/xdr_stdio.c: Likewise.
284 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
287 2010-08-19 Andreas Schwab <schwab@redhat.com>
289 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
291 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
293 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
294 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
295 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
296 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
297 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
298 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
299 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
300 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
301 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
302 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
303 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
304 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
305 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
306 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
308 2010-07-26 Anton Blanchard <anton@samba.org>
310 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
311 * malloc/arena.c (heap_trim): Likewise.
313 2010-08-16 Ulrich Drepper <drepper@redhat.com>
315 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
318 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
320 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
322 * sysdeps/i386/elf/Makefile: New file.
324 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
326 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
328 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
329 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
331 2010-08-15 Ulrich Drepper <drepper@redhat.com>
333 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
335 * sysdeps/multiarch/strcmp.S: Likewise.
337 2010-08-14 Ulrich Drepper <drepper@redhat.com>
339 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
341 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
342 Add strncase_l-ssse3.
343 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
344 * sysdeps/x86_64/strcmp.S: Likewise.
345 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
346 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
347 * sysdeps/x86_64/strncase.S: New file.
348 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
349 * sysdeps/x86_64/strncase_l.S: New file.
350 * string/Makefile (strop-tests): Add strncasecmp.
351 * string/test-strncasecmp.c: New file.
353 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
356 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
357 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
359 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
361 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
363 2010-08-12 Ulrich Drepper <drepper@redhat.com>
365 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
366 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
367 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
369 2010-05-01 Alan Modra <amodra@gmail.com>
371 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
372 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
373 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
374 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
375 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
376 tidying. Don't tail-call __sigjmp_save for static lib.
377 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
379 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
380 (CALL_MCOUNT): Add eh info, and nop after bl.
381 (TAIL_CALL_SYSCALL_ERROR): New macro.
382 (PSEUDO_RET): Use it.
383 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
384 Correct save location of integer regs and cr.
385 (_dl_profile_resolve): Correct cr save location. Delete nops
386 after bl when SHARED. Reduce cfi size a little by better
387 placement of cfi directives.
388 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
389 make a stack frame. Instead use parm save area as a temp.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
391 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
393 Don't make a stack frame for parent, use parm save area.
394 Increase child stack frame to 112 bytes. Don't save unused reg,
395 and adjust reg usage. Set up cfi on error recovery and
396 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
398 (__makecontext): Add dummy nop after jump to exit.
399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
400 Use correct parm save area and cr save, reduce stack frame.
401 Correct cfi for possible PSEUDO_RET frame setup.
402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
403 Branch to local label emitted by PSEUDO_RET rather than
406 2010-08-12 Andreas Schwab <schwab@redhat.com>
409 * locale/programs/locale.c (print_assignment): New function.
410 (show_locale_vars): Use it.
412 2010-08-11 Ulrich Drepper <drepper@redhat.com>
414 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
416 (struct statfs64): Likewise.
417 (_STATFS_F_FLAGS): Define.
418 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
419 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
420 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
421 (ST_VALID): Define locally.
422 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
423 __statvfs_getflags, use the provided value.
424 * sysdeps/unix/sysv/linux/kernel-features.h: Define
425 __ASSUME_STATFS_F_FLAGS.
427 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
429 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
431 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
432 fanotify_mask for GLIBC_2.13.
433 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
434 fanotify_init and fanotify_mark.
435 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
436 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
438 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
440 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
441 prlimit64 for GLIBC_2.13.
442 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
447 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
448 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
449 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
450 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
452 * sysdeps/unix/sysv/linux/prlimit.c: New file.
455 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
456 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
458 * nss/Makefile: Add rules to build and run tst-nss-test1.
459 * shlib-versions: Add entry for libnss_test1.
460 * nss/nss_test1.c: New file.
461 * nss/tst-nss-test1.c: New file.
463 * nss/nsswitch.c (__nss_database_custom): Define new variable.
464 (__nss_configure_lookup): Set appropriate entry in
465 __nss_configure_lookup to true.
466 * nss/nsswitch.h: Define enum with indeces of databases in
467 databases and __nss_database_custom arrays. Declare
468 __nss_database_custom.
469 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
470 to avoid using nscd when custom rules are installed.
471 * nss/getXXbyYY_r.c: Likewise.
472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
474 * nss/nss_files/files-parse.c: Whitespace fixes.
476 2010-08-09 Ulrich Drepper <drepper@redhat.com>
479 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
480 * posix/fnmatch_loop.c: Likewise.
482 2010-07-17 Andi Kleen <ak@linux.intel.com>
484 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
485 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
486 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
487 * Versions.def [GLIBC_2.13]: Add.
489 2010-08-06 Ulrich Drepper <drepper@redhat.com>
491 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
492 Also fail if tpwd after pwuid call is NULL.
494 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
496 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
497 when converting to ms.
499 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
501 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
502 EOPNOTSUPP errors with ENOTTY.
503 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
504 EOPNOTSUPP errors with ENOTTY.
506 2010-07-31 Ulrich Drepper <drepper@redhat.com>
508 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
509 Add strcasecmp_l-ssse3.
510 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
512 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
513 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
514 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
516 2010-07-30 Ulrich Drepper <drepper@redhat.com>
518 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
520 * string/Makefile (strop-tests): Add strcasecmp.
521 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
522 strcasecmp_l-nonascii.
523 (gen-as-const-headers): Add locale-defines.sym.
524 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
525 * sysdeps/x86_64/strcasecmp.S: New file.
526 * sysdeps/x86_64/strcasecmp_l.S: New file.
527 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
528 * sysdeps/x86_64/locale-defines.sym: New file.
529 * string/test-strcasecmp.c: New file.
531 * string/test-strcasestr.c: Test both ends of the range of characters.
532 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
534 2010-07-29 Roland McGrath <roland@redhat.com>
537 * manual/locale.texi (Yes-or-No Questions): Fix example code.
539 2010-07-27 Ulrich Drepper <drepper@redhat.com>
541 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
544 2010-07-27 Andreas Schwab <schwab@redhat.com>
546 * manual/memory.texi (Malloc Tunable Parameters): Document
549 2010-07-26 Roland McGrath <roland@redhat.com>
552 * configure.in (-fgnu89-inline check): Set and substitute
553 gnu89_inline, not libc_cv_gnu89_inline.
554 * configure: Regenerated.
555 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
557 2010-07-26 Ulrich Drepper <drepper@redhat.com>
559 * string/test-strnlen.c: New file.
560 * string/Makefile (strop-tests): Add strnlen.
561 * string/tester.c (test_strnlen): Add a few more test cases.
562 * string/tst-strlen.c: Better error reporting.
564 * sysdeps/x86_64/strnlen.S: New file.
566 2010-07-24 Ulrich Drepper <drepper@redhat.com>
568 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
569 lower-latency instructions.
571 2010-07-23 Ulrich Drepper <drepper@redhat.com>
573 * string/test-strcasestr.c: New file.
574 * string/test-strstr.c: New file.
575 * string/Makefile (strop-tests): Add strstr and strcasestr.
576 * string/str-two-way.h: Don't undefine MAX.
577 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
579 2010-07-21 Andreas Schwab <schwab@redhat.com>
581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
583 (CFLAGS-strcasestr-nonascii.c): Define.
584 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
585 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
586 Remove unused attribute.
588 2010-07-20 Roland McGrath <roland@redhat.com>
590 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
591 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
592 ld.so.cache was broken. With it, there is no way to disable dsocaps
593 like LD_HWCAP_MASK can disable hwcaps.
595 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
597 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
599 2010-07-16 Ulrich Drepper <drepper@redhat.com>
601 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
603 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
604 __strcasestr_sse42_nonascii.
605 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
606 strcasestr-nonascii.c.
607 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
609 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
611 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
612 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
613 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
614 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
616 2010-07-09 Ulrich Drepper <drepper@redhat.com>
618 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
621 2010-07-06 Andreas Schwab <schwab@redhat.com>
623 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
626 2010-07-06 Ulrich Drepper <drepper@redhat.com>
628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
629 _PC_PIPE_BUF using F_GETPIPE_SZ.
631 2010-07-05 Roland McGrath <roland@redhat.com>
633 * manual/arith.texi (Rounding Functions): Fix rint description
634 implicit in round description.
636 2010-07-02 Ulrich Drepper <drepper@redhat.com>
638 * elf/Makefile: Fix linking for a few tests to make recent linker
641 2010-06-30 Andreas Schwab <schwab@redhat.com>
643 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
644 $(common-objpfx)libc_nonshared.a.
646 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
648 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
649 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
650 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
651 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
652 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
653 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
654 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
655 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
670 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
671 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
672 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
673 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
674 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
675 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
676 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
677 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
678 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
679 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
680 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
681 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
697 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
699 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
700 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
701 * string/memmove.c (memmove): Renamed to ...
702 (MEMMOVE): ...this. Default to memmove.
703 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
704 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
707 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
708 mempcpy-ssse3-back memmove-ssse3-back.
709 * sysdeps/x86_64/multiarch/bcopy.S: New file .
710 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
711 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
712 * sysdeps/x86_64/multiarch/memcpy.S: New file.
713 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
714 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
715 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
716 * sysdeps/x86_64/multiarch/memmove.c: New file.
717 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
718 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
719 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
720 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
721 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
724 (index_Fast_Copy_Backward): Define.
725 (HAS_ARCH_FEATURE): Define.
726 (HAS_FAST_REP_STRING): Define.
727 (HAS_FAST_COPY_BACKWARD): Define.
729 2010-06-21 Andreas Schwab <schwab@redhat.com>
731 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
732 Restore proper fallback handling.
734 2010-06-19 Ulrich Drepper <drepper@redhat.com>
737 * posix/group_member.c (__group_member): Correct checking loop.
739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
740 OOM in getpwuid_r correctly. Return error number when the caller
741 should return, otherwise -1.
742 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
743 call returning > 0 value.
744 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
746 2010-07-01 Andreas Schwab <schwab@redhat.com>
748 * include/sys/resource.h (__getrlimit): Add hidden proto.
749 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add libc_hidden_weak.
750 * sysdeps/mach/hurd/getrlimit.c: Add libc_hidden_def.
751 * resource/getrlimit.c: Likewise.
753 2010-06-28 Andreas Schwab <schwab@redhat.com>
755 * allocatestack.c (setxid_mark_thread): Ensure that the exiting
758 * elf/Makefile: Add rules to build and run unload8 test.
759 * elf/unload8.c: New file.
760 * elf/unload8mod1.c: New file.
761 * elf/unload8mod1x.c: New file.
762 * elf/unload8mod2.c: New file.
763 * elf/unload8mod3.c: New file.
765 * elf/dl-close.c (_dl_close_worker): Reset private search list if
768 2010-06-21 Andreas Schwab <schwab@redhat.com>
770 * sysdeps/i386/i686/Makefile: Don't pass -mtune to assembler.
772 2010-06-07 Andreas Schwab <schwab@redhat.com>
774 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
775 libc_nonshared.a from targets in modules-names.
777 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
779 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
782 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
784 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
785 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
786 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
789 2010-06-02 Andreas Schwab <schwab@redhat.com>
791 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
793 2010-06-14 Ulrich Drepper <drepper@redhat.com>
795 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
797 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
798 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
801 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
802 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
804 2010-06-14 Roland McGrath <roland@redhat.com>
806 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
808 2010-06-07 Jakub Jelinek <jakub@redhat.com>
810 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
811 __REDIRECT followed by __THROW.
812 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
813 * posix/getopt.h (getopt): Likewise.
815 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
817 * hurd/lookup-at.c (__file_name_lookup_at): Accept
818 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
819 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
821 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
822 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
824 2010-06-11 Andreas Schwab <schwab@redhat.com>
826 * elf/rtld.c (_dl_starting_up): Always define.
827 (dl_main): Always set _dl_starting_up.
828 * elf/dl-support.c (_dl_starting_up): Always define.
829 * elf/dl-init.c (_dl_init): Always clear _dl_starting_up.
831 2010-06-10 Andreas Schwab <schwab@redhat.com>
833 * sysdeps/unix/sysv/linux/getpagesize.c: Don't assume AT_PAGESIZE
836 * sysdeps/unix/sysv/linux/i386/Versions: Export __uname under
838 * nptl/Versions: Export __getrlimit under GLIBC_PRIVATE.
839 * sysdeps/unix/sysv/linux/i386/smp.h: Call __uname instead of uname.
840 * nptl/nptl-init.c: Call __getrlimit instead of getrlimit.
842 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
844 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
846 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
850 Properly check family and model.
852 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
854 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
856 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
858 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
860 2010-05-21 Ulrich Drepper <drepper@redhat.com>
862 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
865 2010-05-19 Andreas Schwab <schwab@redhat.com>
867 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
870 2010-05-21 Andreas Schwab <schwab@redhat.com>
872 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
873 and internal_recvmmsg.
874 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
875 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
876 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
877 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
879 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
880 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
881 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
883 2010-05-20 Andreas Schwab <schwab@redhat.com>
885 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
887 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
889 POWER7 optimizations.
890 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
891 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
893 2010-05-19 Ulrich Drepper <drepper@redhat.com>
895 * version.h: Update for 2.13 development version.
897 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
899 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
900 exceptions. Return 0.
902 2010-05-07 Roland McGrath <roland@redhat.com>
904 * elf/ldconfig.c (main): Add a const.
906 2010-05-06 Ulrich Drepper <drepper@redhat.com>
908 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
909 (args_options): Add no-idn option.
910 (ahosts_keys_int): Add idn_flags to ai_flags.
911 (parse_option): Handle 'i' option to clear idn_flags.
913 * malloc/malloc.c (_int_free): Possible race in the most recently
914 added check. Only act on the data if no current modification
917 See ChangeLog.17 for earlier changes.