]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Missing server address again leads to localhost being used
[thirdparty/glibc.git] / ChangeLog
CommitLineData
df24a73e
UD
12010-08-25 Ulrich Drepper <drepper@redhat.com>
2
3 [BZ #10851]
4 * resolv/res_init.c (__res_vinit): When no server address at all
5 is given default to loopback.
6
f2ac4868
RM
72010-08-24 Roland McGrath <roland@redhat.com>
8
09055553
RM
9 * configure.in: Remove config-name.h generation.
10 * configure: Regenerated.
11 * config-name.in: File removed.
12 * scripts/config-uname.sh: New file.
13 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14 ($(objdir)config-name.h): New target.
15
f2ac4868
RM
16 * sunrpc/rpc_parse.h: Avoid nested comment.
17
73f27d5e
RH
182010-08-24 Richard Henderson <rth@redhat.com>
19 Ulrich Drepper <drepper@redhat.com>
20 H.J. Lu <hongjiu.lu@intel.com>
21
22 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26 _mm_alignr_epi8 with _mm_loadu_si128.
27 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29 (__m128i_shift_right): Removed.
30 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32 * sysdeps/x86_64/multiarch/varshift.h: New file.
33 * sysdeps/x86_64/multiarch/varshift.S: New file.
34
84b9230c
MF
352010-08-21 Mike Frysinger <vapier@gentoo.org>
36
37 * configure.in: Move assembler checks to before sysdep dir checking.
38
9bbd0ddc
PB
392010-08-20 Petr Baudis <pasky@suse.cz>
40
41 * LICENSES: Sync the sunrpc license.
42
9da4bb31
UD
432010-08-19 Ulrich Drepper <drepper@redhat.com>
44
a7ab6ec8
UD
45 * sunrpc/auth_des.c: Update copyright notice once again.
46 * sunrpc/auth_none.c: Likewise.
47 * sunrpc/auth_unix.c: Likewise.
48 * sunrpc/authdes_prot.c: Likewise.
49 * sunrpc/authuxprot.c: Likewise.
50 * sunrpc/bindrsvprt.c: Likewise.
51 * sunrpc/clnt_gen.c: Likewise.
52 * sunrpc/clnt_perr.c: Likewise.
53 * sunrpc/clnt_raw.c: Likewise.
54 * sunrpc/clnt_simp.c: Likewise.
55 * sunrpc/clnt_tcp.c: Likewise.
56 * sunrpc/clnt_udp.c: Likewise.
57 * sunrpc/clnt_unix.c: Likewise.
58 * sunrpc/des_crypt.c: Likewise.
59 * sunrpc/des_soft.c: Likewise.
60 * sunrpc/get_myaddr.c: Likewise.
61 * sunrpc/getrpcport.c: Likewise.
62 * sunrpc/key_call.c: Likewise.
63 * sunrpc/key_prot.c: Likewise.
64 * sunrpc/openchild.c: Likewise.
65 * sunrpc/pm_getmaps.c: Likewise.
66 * sunrpc/pm_getport.c: Likewise.
67 * sunrpc/pmap_clnt.c: Likewise.
68 * sunrpc/pmap_prot.c: Likewise.
69 * sunrpc/pmap_prot2.c: Likewise.
70 * sunrpc/pmap_rmt.c: Likewise.
71 * sunrpc/rpc/auth.h: Likewise.
72 * sunrpc/rpc/auth_unix.h: Likewise.
73 * sunrpc/rpc/clnt.h: Likewise.
74 * sunrpc/rpc/des_crypt.h: Likewise.
75 * sunrpc/rpc/key_prot.h: Likewise.
76 * sunrpc/rpc/netdb.h: Likewise.
77 * sunrpc/rpc/pmap_clnt.h: Likewise.
78 * sunrpc/rpc/pmap_prot.h: Likewise.
79 * sunrpc/rpc/pmap_rmt.h: Likewise.
80 * sunrpc/rpc/rpc.h: Likewise.
81 * sunrpc/rpc/rpc_des.h: Likewise.
82 * sunrpc/rpc/rpc_msg.h: Likewise.
83 * sunrpc/rpc/svc.h: Likewise.
84 * sunrpc/rpc/svc_auth.h: Likewise.
85 * sunrpc/rpc/types.h: Likewise.
86 * sunrpc/rpc/xdr.h: Likewise.
87 * sunrpc/rpc_clntout.c: Likewise.
88 * sunrpc/rpc_cmsg.c: Likewise.
89 * sunrpc/rpc_common.c: Likewise.
90 * sunrpc/rpc_cout.c: Likewise.
91 * sunrpc/rpc_dtable.c: Likewise.
92 * sunrpc/rpc_hout.c: Likewise.
93 * sunrpc/rpc_main.c: Likewise.
94 * sunrpc/rpc_parse.c: Likewise.
95 * sunrpc/rpc_parse.h: Likewise.
96 * sunrpc/rpc_prot.c: Likewise.
97 * sunrpc/rpc_sample.c: Likewise.
98 * sunrpc/rpc_scan.c: Likewise.
99 * sunrpc/rpc_scan.h: Likewise.
100 * sunrpc/rpc_svcout.c: Likewise.
101 * sunrpc/rpc_tblout.c: Likewise.
102 * sunrpc/rpc_util.c: Likewise.
103 * sunrpc/rpc_util.h: Likewise.
104 * sunrpc/rpcinfo.c: Likewise.
105 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
106 * sunrpc/rpcsvc/key_prot.x: Likewise.
107 * sunrpc/rpcsvc/klm_prot.x: Likewise.
108 * sunrpc/rpcsvc/mount.x: Likewise.
109 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
110 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
111 * sunrpc/rpcsvc/rex.x: Likewise.
112 * sunrpc/rpcsvc/rstat.x: Likewise.
113 * sunrpc/rpcsvc/rusers.x: Likewise.
114 * sunrpc/rpcsvc/sm_inter.x: Likewise.
115 * sunrpc/rpcsvc/spray.x: Likewise.
116 * sunrpc/rpcsvc/yppasswd.x: Likewise.
117 * sunrpc/rtime.c: Likewise.
118 * sunrpc/svc.c: Likewise.
119 * sunrpc/svc_auth.c: Likewise.
120 * sunrpc/svc_authux.c: Likewise.
121 * sunrpc/svc_raw.c: Likewise.
122 * sunrpc/svc_run.c: Likewise.
123 * sunrpc/svc_simple.c: Likewise.
124 * sunrpc/svc_tcp.c: Likewise.
125 * sunrpc/svc_udp.c: Likewise.
126 * sunrpc/svc_unix.c: Likewise.
127 * sunrpc/svcauth_des.c: Likewise.
128 * sunrpc/xcrypt.c: Likewise.
129 * sunrpc/xdr.c: Likewise.
130 * sunrpc/xdr_array.c: Likewise.
131 * sunrpc/xdr_float.c: Likewise.
132 * sunrpc/xdr_mem.c: Likewise.
133 * sunrpc/xdr_rec.c: Likewise.
134 * sunrpc/xdr_ref.c: Likewise.
135 * sunrpc/xdr_sizeof.c: Likewise.
136 * sunrpc/xdr_stdio.c: Likewise.
137
9da4bb31
UD
138 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
139 handling.
140
bdaa77bc
AS
1412010-08-19 Andreas Schwab <schwab@redhat.com>
142
143 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
144
fe2f79db
LM
1452010-08-19 Luis Machado <luisgpm@br.ibm.com>
146
147 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
148 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
149 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
150 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
151 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
152 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
153 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
154 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
155 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
156 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
157 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
158 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
159 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
160 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
161
b9b42ee0
AB
1622010-07-26 Anton Blanchard <anton@samba.org>
163
164 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
165 * malloc/arena.c (heap_trim): Likewise.
166
1c06ba31
UD
1672010-08-16 Ulrich Drepper <drepper@redhat.com>
168
169 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
170 here. Not...
171 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
172 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
173
f8392f40
L
1742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
175
176 * sysdeps/i386/elf/Makefile: New file.
177
3162f12e
AS
1782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
179
180 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
181 from fanotify_init.
182 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
183 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
184
28c90b2c
UD
1852010-08-15 Ulrich Drepper <drepper@redhat.com>
186
187 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
188 of strncasecmp_l.
1feccb6c 189 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 190
ca6bb004
UD
1912010-08-14 Ulrich Drepper <drepper@redhat.com>
192
e9f82e0d
UD
193 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
194 strncase_l-nonascii.
195 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
196 Add strncase_l-ssse3.
197 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
198 * sysdeps/x86_64/strcmp.S: Likewise.
199 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
200 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
201 * sysdeps/x86_64/strncase.S: New file.
202 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
203 * sysdeps/x86_64/strncase_l.S: New file.
204 * string/Makefile (strop-tests): Add strncasecmp.
205 * string/test-strncasecmp.c: New file.
206
207 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
208 warning.
209
ca6bb004
UD
210 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
211 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
212
052fa7b3
AS
2132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
214
215 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
216
962dba78
UD
2172010-08-12 Ulrich Drepper <drepper@redhat.com>
218
219 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
220 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
221 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
222
bebff237
AM
2232010-05-01 Alan Modra <amodra@gmail.com>
224
225 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
226 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
227 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
228 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
229 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
230 tidying. Don't tail-call __sigjmp_save for static lib.
231 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
232 save location.
233 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
234 (CALL_MCOUNT): Add eh info, and nop after bl.
235 (TAIL_CALL_SYSCALL_ERROR): New macro.
236 (PSEUDO_RET): Use it.
237 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
238 Correct save location of integer regs and cr.
239 (_dl_profile_resolve): Correct cr save location. Delete nops
240 after bl when SHARED. Reduce cfi size a little by better
241 placement of cfi directives.
242 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
243 make a stack frame. Instead use parm save area as a temp.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
245 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
247 Don't make a stack frame for parent, use parm save area.
248 Increase child stack frame to 112 bytes. Don't save unused reg,
249 and adjust reg usage. Set up cfi on error recovery and
250 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
252 (__makecontext): Add dummy nop after jump to exit.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
254 Use correct parm save area and cr save, reduce stack frame.
255 Correct cfi for possible PSEUDO_RET frame setup.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
257 Branch to local label emitted by PSEUDO_RET rather than
258 __syscall_error.
259
02637374
AS
2602010-08-12 Andreas Schwab <schwab@redhat.com>
261
262 [BZ #11904]
263 * locale/programs/locale.c (print_assignment): New function.
264 (show_locale_vars): Use it.
265
c3e2f19b
UD
2662010-08-11 Ulrich Drepper <drepper@redhat.com>
267
3cdaa6ad
UD
268 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
269 field.
270 (struct statfs64): Likewise.
271 (_STATFS_F_FLAGS): Define.
272 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
273 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
274 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
275 (ST_VALID): Define locally.
276 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
277 __statvfs_getflags, use the provided value.
278 * sysdeps/unix/sysv/linux/kernel-features.h: Define
279 __ASSUME_STATFS_F_FLAGS.
280
754f7da3
UD
281 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
282
10b3bedc
UD
283 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
284 Add sys/fanotify.h.
285 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
286 fanotify_mask for GLIBC_2.13.
287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
288 fanotify_init and fanotify_mark.
289 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
290 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
291
c08fb0d7
UD
292 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
293 Add prlimit.
294 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
295 prlimit64 for GLIBC_2.13.
296 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
297 prlimit64.
298 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
299 syscall.
300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
301 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
302 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
303 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
305 add prlimit alias.
306 * sysdeps/unix/sysv/linux/prlimit.c: New file.
307
15bac72b
UD
308 [BZ #11903]
309 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
310 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
311
c3e2f19b
UD
312 * nss/Makefile: Add rules to build and run tst-nss-test1.
313 * shlib-versions: Add entry for libnss_test1.
314 * nss/nss_test1.c: New file.
315 * nss/tst-nss-test1.c: New file.
316
317 * nss/nsswitch.c (__nss_database_custom): Define new variable.
318 (__nss_configure_lookup): Set appropriate entry in
319 __nss_configure_lookup to true.
320 * nss/nsswitch.h: Define enum with indeces of databases in
321 databases and __nss_database_custom arrays. Declare
322 __nss_database_custom.
323 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
324 to avoid using nscd when custom rules are installed.
325 * nss/getXXbyYY_r.c: Likewise.
326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
327
328 * nss/nss_files/files-parse.c: Whitespace fixes.
329
f15ce4d8
UD
3302010-08-09 Ulrich Drepper <drepper@redhat.com>
331
332 [BZ #11883]
333 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
334 * posix/fnmatch_loop.c: Likewise.
335
d22e4cc9
AK
3362010-07-17 Andi Kleen <ak@linux.intel.com>
337
338 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
339 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
340 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
341 * Versions.def [GLIBC_2.13]: Add.
342
805bc17d
UD
3432010-08-06 Ulrich Drepper <drepper@redhat.com>
344
345 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
346 Also fail if tpwd after pwuid call is NULL.
347
5a42321d
ST
3482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
349
350 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
351 when converting to ms.
352
fd3ebeda
ST
3532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
354
355 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
356 EOPNOTSUPP errors with ENOTTY.
357 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
358 EOPNOTSUPP errors with ENOTTY.
359
73507d3a
UD
3602010-07-31 Ulrich Drepper <drepper@redhat.com>
361
362 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
363 Add strcasecmp_l-ssse3.
364 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
365 strcasecmp.
366 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
367 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
368 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
369
fe36dd02
UD
3702010-07-30 Ulrich Drepper <drepper@redhat.com>
371
66f6765a
UD
372 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
373
42e08a54
UD
374 * string/Makefile (strop-tests): Add strcasecmp.
375 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
376 strcasecmp_l-nonascii.
377 (gen-as-const-headers): Add locale-defines.sym.
378 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
379 * sysdeps/x86_64/strcasecmp.S: New file.
380 * sysdeps/x86_64/strcasecmp_l.S: New file.
381 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
382 * sysdeps/x86_64/locale-defines.sym: New file.
383 * string/test-strcasecmp.c: New file.
384
fe36dd02
UD
385 * string/test-strcasestr.c: Test both ends of the range of characters.
386 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
387
48cbc0d6
RM
3882010-07-29 Roland McGrath <roland@redhat.com>
389
76e6d6bc 390 [BZ #11856]
48cbc0d6
RM
391 * manual/locale.texi (Yes-or-No Questions): Fix example code.
392
880113d9
UD
3932010-07-27 Ulrich Drepper <drepper@redhat.com>
394
395 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
396 for ld.so.
397
deb9cabb
AS
3982010-07-27 Andreas Schwab <schwab@redhat.com>
399
400 * manual/memory.texi (Malloc Tunable Parameters): Document
401 M_PERTURB.
402
1c7570ff
RM
4032010-07-26 Roland McGrath <roland@redhat.com>
404
405 [BZ #11840]
406 * configure.in (-fgnu89-inline check): Set and substitute
407 gnu89_inline, not libc_cv_gnu89_inline.
408 * configure: Regenerated.
409 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
410
24fb0f88
UD
4112010-07-26 Ulrich Drepper <drepper@redhat.com>
412
413 * string/test-strnlen.c: New file.
414 * string/Makefile (strop-tests): Add strnlen.
415 * string/tester.c (test_strnlen): Add a few more test cases.
416 * string/tst-strlen.c: Better error reporting.
417
418 * sysdeps/x86_64/strnlen.S: New file.
419
8e96b93a
UD
4202010-07-24 Ulrich Drepper <drepper@redhat.com>
421
422 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
423 lower-latency instructions.
424
dbc676d4
UD
4252010-07-23 Ulrich Drepper <drepper@redhat.com>
426
427 * string/test-strcasestr.c: New file.
428 * string/test-strstr.c: New file.
429 * string/Makefile (strop-tests): Add strstr and strcasestr.
430 * string/str-two-way.h: Don't undefine MAX.
431 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
432
f6a31e0e
AS
4332010-07-21 Andreas Schwab <schwab@redhat.com>
434
435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
436 strcasestr-nonascii.
437 (CFLAGS-strcasestr-nonascii.c): Define.
438 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
439 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
440 Remove unused attribute.
441
5dbc3b6c
RM
4422010-07-20 Roland McGrath <roland@redhat.com>
443
444 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
445 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
446 ld.so.cache was broken. With it, there is no way to disable dsocaps
447 like LD_HWCAP_MASK can disable hwcaps.
448
23d101d8
EPM
4492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
450
451 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
452
cc9f2e47
UD
4532010-07-16 Ulrich Drepper <drepper@redhat.com>
454
455 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
456 call in strcasestr.
457 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
458 __strcasestr_sse42_nonascii.
459 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
460 strcasestr-nonascii.c.
461 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
462
77c1b069
LM
4632010-06-15 Luis Machado <luisgpm@br.ibm.com>
464
465 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
466 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
467 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
468 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
469
440566c3
UD
4702010-07-09 Ulrich Drepper <drepper@redhat.com>
471
472 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
473 fcntl.
474
5be9d05d
AS
4752010-07-06 Andreas Schwab <schwab@redhat.com>
476
477 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
478 dl_signal_cerror.
479
8a492a67
UD
4802010-07-06 Ulrich Drepper <drepper@redhat.com>
481
482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
483 _PC_PIPE_BUF using F_GETPIPE_SZ.
484
713df3d5
RM
4852010-07-05 Roland McGrath <roland@redhat.com>
486
487 * manual/arith.texi (Rounding Functions): Fix rint description
488 implicit in round description.
489
702e8f14
UD
4902010-07-02 Ulrich Drepper <drepper@redhat.com>
491
492 * elf/Makefile: Fix linking for a few tests to make recent linker
493 happy.
494
52ed8be9
AS
4952010-06-30 Andreas Schwab <schwab@redhat.com>
496
497 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
498 $(common-objpfx)libc_nonshared.a.
499
f47c9a11
LM
5002010-06-21 Luis Machado <luisgpm@br.ibm.com>
501
502 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
503 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
504 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
505 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
506 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
507 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
508 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
509 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
524 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
525 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
526 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
527 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
528 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
529 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
530 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
531 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
532 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
533 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
534 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
535 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
550
6fb8cbcb
L
5512010-06-25 H.J. Lu <hongjiu.lu@intel.com>
552
553 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
554 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
555 * string/memmove.c (memmove): Renamed to ...
556 (MEMMOVE): ...this. Default to memmove.
557 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
558 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
559 (END_CHK): Define.
560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
561 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
562 mempcpy-ssse3-back memmove-ssse3-back.
563 * sysdeps/x86_64/multiarch/bcopy.S: New file .
564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
566 * sysdeps/x86_64/multiarch/memcpy.S: New file.
567 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
568 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
569 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
570 * sysdeps/x86_64/multiarch/memmove.c: New file.
571 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
572 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
573 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
574 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
575 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
577 Define.
578 (index_Fast_Copy_Backward): Define.
579 (HAS_ARCH_FEATURE): Define.
580 (HAS_FAST_REP_STRING): Define.
581 (HAS_FAST_COPY_BACKWARD): Define.
582
4e733bac 5832010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
584
585 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
586 Restore proper fallback handling.
587
63c4ed22
UD
5882010-06-19 Ulrich Drepper <drepper@redhat.com>
589
ac2b484c
UD
590 [BZ #11701]
591 * posix/group_member.c (__group_member): Correct checking loop.
592
63c4ed22
UD
593 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
594 OOM in getpwuid_r correctly. Return error number when the caller
595 should return, otherwise -1.
596 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
597 call returning > 0 value.
598 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
599
765ade4b
AS
6002010-06-07 Andreas Schwab <schwab@redhat.com>
601
602 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
603 libc_nonshared.a from targets in modules-names.
604
80da2e09
KS
6052010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
606
607 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
608 requires it.
609
158db122
LM
6102010-06-10 Luis Machado <luisgpm@br.ibm.com>
611
612 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
613 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
614 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
616
caa78cf8
AS
6172010-06-02 Andreas Schwab <schwab@redhat.com>
618
619 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
620
b2ef2c01
UD
6212010-06-14 Ulrich Drepper <drepper@redhat.com>
622
623 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
624 and F_GETPIPE_SZ.
625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
631
fbd643b6
RM
6322010-06-14 Roland McGrath <roland@redhat.com>
633
634 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
635
f32f2869
JJ
6362010-06-07 Jakub Jelinek <jakub@redhat.com>
637
638 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
639 __REDIRECT followed by __THROW.
640 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
641 * posix/getopt.h (getopt): Likewise.
642
2a50c078
EPM
6432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
644
645 * hurd/lookup-at.c (__file_name_lookup_at): Accept
646 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
647 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
648 in AT_FLAGS.
649 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
650 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
651
eb5ad2eb
LM
6522010-05-28 Luis Machado <luisgpm@br.ibm.com>
653
654 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
655
3c88fe1e
L
6562010-05-26 H.J. Lu <hongjiu.lu@intel.com>
657
658 [BZ #11640]
659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
660 Properly check family and model.
661
d2f73151
TY
6622010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
663
664 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
665
ebd2e13d
LM
6662010-05-24 Luis Machado <luisgpm@br.ibm.com>
667
668 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
669
b32b8b45
UD
6702010-05-21 Ulrich Drepper <drepper@redhat.com>
671
672 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
673 symbol reference.
674
9acbe24d
AS
6752010-05-19 Andreas Schwab <schwab@redhat.com>
676
677 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
678 symbol reference.
679
f0ccf6ea
AS
6802010-05-21 Andreas Schwab <schwab@redhat.com>
681
3d04ff3a
AS
682 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
683 and internal_recvmmsg.
684 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
685 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
686 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
687 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
688
f0ccf6ea
AS
689 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
690 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
691 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
692
5b08ac57
AS
6932010-05-20 Andreas Schwab <schwab@redhat.com>
694
695 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
696
4828935d
LM
6972010-05-17 Luis Machado <luisgpm@br.ibm.com>
698
699 POWER7 optimizations.
700 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
701 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
702
373d545e
UD
7032010-05-19 Ulrich Drepper <drepper@redhat.com>
704
705 * version.h: Update for 2.13 development version.
706
21a2b1ae
AS
7072010-05-12 Andrew Stubbs <ams@codesourcery.com>
708
709 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
710 exceptions. Return 0.
711
3f7dcb2b
RM
7122010-05-07 Roland McGrath <roland@redhat.com>
713
714 * elf/ldconfig.c (main): Add a const.
715
5f24d53a 7162010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 717
a160f8d8
UD
718 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
719 (args_options): Add no-idn option.
720 (ahosts_keys_int): Add idn_flags to ai_flags.
721 (parse_option): Handle 'i' option to clear idn_flags.
722
5f24d53a
UD
723 * malloc/malloc.c (_int_free): Possible race in the most recently
724 added check. Only act on the data if no current modification
725 happened.
265bb1ce
UD
726
727See ChangeLog.17 for earlier changes.