]> sourceware.org Git - glibc.git/blame - ChangeLog
Update Russian translation.
[glibc.git] / ChangeLog
CommitLineData
af190f45
UD
12011-04-19 Ulrich Drepper <drepper@gmail.com>
2
3 * po/ru.po: Update from translation team.
4
53cf59ef
UD
52011-04-17 Ulrich Drepper <drepper@gmail.com>
6
7 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8 dependencies.
9
4c559bcd
MF
102011-02-06 Mike Frysinger <vapier@gentoo.org>
11
12 [BZ #12653]
13 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18
4420675c
AS
192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20
21 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22 differing bytes.
23 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26
75ea32ab
UD
272011-04-17 Ulrich Drepper <drepper@gmail.com>
28
29 [BZ #12420]
30 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31 storing it.
32 * stdlib/bug-getcontext.c: New file.
33 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34
27390476
AK
352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36
37 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38 instructions into .machine "z9-109".
39 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41
10442705
AK
422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43
44 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45 between environment variables and auxiliary vector.
46
7b57bfe5
UD
472011-04-16 Ulrich Drepper <drepper@gmail.com>
48
49 * Makefile: Add rules to build linkobj/libc.so.
50 * include/libc-symbols.h: Define libc_hidden_nolink.
51 * include/rpc/auth.h: Mark functions which are to be hidden.
52 * include/rpc/auth_des.h: Likewise.
53 * include/rpc/auth_unix.h: Likewise.
54 * include/rpc/clnt.h: Likewise.
55 * include/rpc/des_crypt.h: Likewise.
56 * include/rpc/key_prot.h: Likewise.
57 * include/rpc/pmap_clnt.h: Likewise.
58 * include/rpc/pmap_prot.h: Likewise.
59 * include/rpc/pmap_rmt.h: Likewise.
60 * include/rpc/rpc_msg.h: Likewise.
61 * include/rpc/svc.h: Likewise.
62 * include/rpc/svc_auth.h: Likewise.
63 * include/rpc/xdr.h: Likewise.
64 * nis/Makefile: Link all DSOs against linkobj/libc.so.
65 * nss/Makefile: Likewise.
66 * sunrpc/Makefile: Don't install headers. Build library with normal
67 entry points. Don't build rpcinfo. Link RPC tests appropriately.
68 * sunrpc/auth_des.c: Hide exported symbols by default, export some
69 for the compat linking library. Remove use of INTDEF/INTUSE.
70 * sunrpc/auth_none.c: Likewise.
71 * sunrpc/auth_unix.c: Likewise.
72 * sunrpc/authdes_prot.c: Likewise.
73 * sunrpc/authuxprot.c: Likewise.
74 * sunrpc/clnt_gen.c: Likewise.
75 * sunrpc/clnt_perr.c: Likewise.
76 * sunrpc/clnt_raw.c: Likewise.
77 * sunrpc/clnt_simp.c: Likewise.
78 * sunrpc/clnt_tcp.c: Likewise.
79 * sunrpc/clnt_udp.c: Likewise.
80 * sunrpc/clnt_unix.c: Likewise.
81 * sunrpc/des_crypt.c: Likewise.
82 * sunrpc/des_soft.c: Likewise.
83 * sunrpc/get_myaddr.c: Likewise.
84 * sunrpc/key_call.c: Likewise.
85 * sunrpc/key_prot.c: Likewise.
86 * sunrpc/netname.c: Likewise.
87 * sunrpc/pm_getmaps.c: Likewise.
88 * sunrpc/pm_getport.c: Likewise.
89 * sunrpc/pmap_clnt.c: Likewise.
90 * sunrpc/pmap_prot.c: Likewise.
91 * sunrpc/pmap_prot2.c: Likewise.
92 * sunrpc/pmap_rmt.c: Likewise.
93 * sunrpc/publickey.c: Likewise.
94 * sunrpc/rpc_cmsg.c: Likewise.
95 * sunrpc/rpc_common.c: Likewise.
96 * sunrpc/rpc_dtable.c: Likewise.
97 * sunrpc/rpc_prot.c: Likewise.
98 * sunrpc/rpc_thread.c: Likewise.
99 * sunrpc/rtime.c: Likewise.
100 * sunrpc/svc.c: Likewise.
101 * sunrpc/svc_auth.c: Likewise.
102 * sunrpc/svc_authux.c: Likewise.
103 * sunrpc/svc_raw.c: Likewise.
104 * sunrpc/svc_run.c: Likewise.
105 * sunrpc/svc_simple.c: Likewise.
106 * sunrpc/svc_tcp.c: Likewise.
107 * sunrpc/svc_udp.c: Likewise.
108 * sunrpc/svc_unix.c: Likewise.
109 * sunrpc/svcauth_des.c: Likewise.
110 * sunrpc/xcrypt.c: Likewise.
111 * sunrpc/xdr.c: Likewise.
112 * sunrpc/xdr_array.c: Likewise.
113 * sunrpc/xdr_float.c: Likewise.
114 * sunrpc/xdr_intXX_t.c: Likewise.
115 * sunrpc/xdr_mem.c: Likewise.
116 * sunrpc/xdr_rec.c: Likewise.
117 * sunrpc/xdr_ref.c: Likewise.
118 * sunrpc/xdr_sizeof.c: Likewise.
119 * sunrpc/xdr_stdio.c: Likewise.
120
e6c61494
UD
1212011-04-10 Ulrich Drepper <drepper@gmail.com>
122
123 [BZ #12650]
124 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
125 * sysdeps/ia64/dl-tls.h: Likewise.
126 * sysdeps/powerpc/dl-tls.h: Likewise.
127 * sysdeps/s390/dl-tls.h: Likewise.
128 * sysdeps/sh/dl-tls.h: Likewise.
129 * sysdeps/sparc/dl-tls.h: Likewise.
130 * sysdeps/x86_64/dl-tls.h: Likewise.
131 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
132
34fe483e
AS
1332011-03-14 Andreas Schwab <schwab@redhat.com>
134
135 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
136 rpath element also skip the following colon.
137 (expand_dynamic_string_token): Add is_path parameter and pass
138 down to DL_DST_REQUIRED and _dl_dst_substitute.
139 (decompose_rpath): Call expand_dynamic_string_token with
140 non-zero is_path. Ignore empty rpaths.
141 (_dl_map_object_from_fd): Call expand_dynamic_string_token
142 with zero is_path.
143
f12a32e6
AS
1442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
145
146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
147 Make cancelable.
148
38a7d692
UD
1492011-04-09 Ulrich Drepper <drepper@gmail.com>
150
151 [BZ #12655]
152 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
153 Patch by Filipe David Manana <fdmanana@apache.org>.
154
e451d22b
AS
1552011-04-07 Andreas Schwab <schwab@redhat.com>
156
157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
158 Maintain aligned stack.
159 (CHECK_RSP): Remove unused macro.
160
dedc7c7b
UD
1612011-04-03 Ulrich Drepper <drepper@gmail.com>
162
163 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
165
94521213
UD
1662011-04-02 Ulrich Drepper <drepper@gmail.com>
167
168 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
169
8cb700c0 170 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 171
0354e355
L
1722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
173
174 [BZ #12518]
175 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
176 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
177 * sysdeps/x86_64/memmove.c: New file.
178 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
179 (memcpy): Renamed to ...
180 (__new_memcpy): This.
181 (memcpy): Provide GLIBC_2_14 memcpy.
182 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
183 (memcpy): Provide GLIBC_2_2_5 memcpy.
184
8593482f
UD
1852011-04-01 Ulrich Drepper <drepper@gmail.com>
186
187 [BZ #12631]
188 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
189
81a5726b
AS
1902011-03-30 Andreas Schwab <schwab@redhat.com>
191
192 * misc/syncfs.c: New file.
193 * misc/Makefile (routines): Add syncfs.
194 * posix/unistd.h: Declare syncfs.
195 * sysdeps/unix/syscalls.list: Add syncfs.
196
00e5419f
AS
1972011-04-01 Andreas Schwab <schwab@redhat.com>
198
199 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
200 open_by_handle_at.
201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
202 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
204 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
206 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
208
748876bf
UD
2092011-04-01 Ulrich Drepper <drepper@gmail.com>
210
658e451d
UD
211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
213 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
215 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
218
748876bf
UD
219 * io/Makefile: Compile fallocate.c, fallocate64.c, and
220 sync_file_range.c with -fexceptions.
221 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
222 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
223 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
224 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
225 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
226 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
228 sync_file_range as cancellation point
229 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
230 now a wrapper around __call_sync_file_range with cancellation handling.
231 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
232 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
233 function name to __call_sync_file_range.
234 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
235 Add call_sync_file_range.
748876bf 236
6e63d5e1
AS
2372011-04-01 Andreas Schwab <schwab@redhat.com>
238
239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 240 bits/timex.h.
6e63d5e1 241
46998f74
UD
2422011-04-01 Ulrich Drepper <drepper@gmail.com>
243
4c1423ed
UD
244 * iconv/iconv.h: Fix typo in comment.
245 * io/fcntl.h: Likewise.
246 * libio/stdio.h: Likewise.
247 * posix/spawn.h: Likewise.
248 * posix/unistd.h: Likewise.
249 * stdlib/stdlib.h: Likewise.
250 * time/time.h: Likewise.
251 * wcsmbs/wchar.h: Likewise.
252
158648c0
UD
253 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
254 open_by_handle): Add.
255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
256 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
257 Augment a few comments.
258 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
260 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
262 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
263 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
264 open_by_handle.
265
46998f74
UD
266 * io/fcntl.h (AT_EMPTY_PATH): Define.
267
83fe108b
UD
2682011-03-30 Ulrich Drepper <drepper@gmail.com>
269
270 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
271 * sysdeps/unix/sysv/linux/bits/time.h: New file.
272 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
273 to...
274 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
275 * Versions.def: Add GLIBC_2.14.
276 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
277 Export.
83fe108b 278
bb242059
UD
2792011-03-22 Ulrich Drepper <drepper@gmail.com>
280
281 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
282 round counter.
283 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
284
c97a1282
L
2852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
286
287 [BZ #12597]
288 * string/test-strncmp.c (do_page_test): New function.
289 (check2): Likewise.
290 (test_main): Call check2.
291 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
292
2a115601
UD
2932011-03-20 Ulrich Drepper <drepper@gmail.com>
294
295 [BZ #12587]
296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
297 Handle cache information in CPU leaf 4.
298 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
299
8126d904
UD
3002011-03-18 Ulrich Drepper <drepper@gmail.com>
301
042c49c6 302 [BZ #12583]
8126d904
UD
303 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
304 character representation.
305 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
306
ccfe366e
RA
3072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
308
309 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
310 END(__isnan) to END(__isnanf) to match function entry point/label
311 EALIGN(__isnanf,...).
312
c6e13027
JJ
3132011-03-10 Jakub Jelinek <jakub@redhat.com>
314
315 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
316
33f85a3f
UD
3172011-03-10 Ulrich Drepper <drepper@gmail.com>
318
028478fa
UD
319 [BZ #12510]
320 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
321 copy from the symbol referenced in the relocation to initialize the
322 used variable.
323 Patch by Piotr Bury <pbury@goahead.com>.
324 * elf/Makefile: Add rules to build and tst-unique3.
325 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
326 * elf/tst-unique3.cc: New file.
327 * elf/tst-unique3.h: New file.
328 * elf/tst-unique3lib.cc: New file.
329 * elf/tst-unique3lib2.cc: New file.
330
33f85a3f
UD
331 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
332
03592fc7
MF
3332011-03-10 Mike Frysinger <vapier@gentoo.org>
334
335 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
336 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
337 to _start.
03592fc7 338
6a5ee102
UD
3392011-03-06 Ulrich Drepper <drepper@gmail.com>
340
341 * elf/dl-load.c (_dl_map_object): If we are looking for the first
342 to-be-loaded object along a path to loader is ld.so.
343
7e4ba49c
HJ
3442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
345 Ulrich Drepper <drepper@gmail.com>
346
347 * sysdeps/x86_64/memset.S: After aligning destination, code
348 branches to different locations depending on the value of
349 misalignment, when multiarch is enabled. Fix this.
350
3512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
352
353 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
354 Set _x86_64_preferred_memory_instruction for AMD processsors.
355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
356 Set bit_Prefer_SSE_for_memop for AMD processors.
357
13a804de
UD
3582011-03-04 Ulrich Drepper <drepper@gmail.com>
359
360 * libio/fmemopen.c (fmemopen): Optimize a bit.
361
9d25c392
AS
3622011-03-03 Andreas Schwab <schwab@redhat.com>
363
364 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
365
a5543c6a
RM
3662011-03-03 Roland McGrath <roland@redhat.com>
367
368 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
369
012d35f7
DM
3702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
371
7e4ba49c 372 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
373 __bzero_ultra1 instead of __memset_ultra1.
374
4bff6e01
AS
3752011-02-23 Andreas Schwab <schwab@redhat.com>
376 Ulrich Drepper <drepper@gmail.com>
377
378 [BZ #12509]
379 * include/link.h (struct link_map): Add l_orig_initfini.
380 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
381 returning unsuccessfully.
382 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
383 close of a file loaded at startup, restore the original l_initfini
384 list.
385 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
386 list, store the pointer.
387 * elf/Makefile ($(objpfx)noload-mem): New rule.
388 (noload-ENV): Define.
389 (tests): Add $(objpfx)noload-mem.
390 * elf/noload.c: Include <memcheck.h>.
391 (main): Call mtrace. Close all opened handles.
392
f2092faf
AS
3932011-02-17 Andreas Schwab <schwab@redhat.com>
394
395 [BZ #12454]
396 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
397 dependencies are missing.
398
6c8a2e88
ST
3992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
400
f2092faf 401 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
402 Hurd needs munmap.
403 * sysdeps/mach/hurd/ifreq.h: New file.
404
84a42118
PB
4052011-01-27 Petr Baudis <pasky@suse.cz>
406 Ulrich Drepper <drepper@gmail.com>
407
071f805e 408 [BZ 12445]#
84a42118
PB
409 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
410 to extend_alloca().
411 * stdio-common/bug23.c: New file.
412 * stdio-common/Makefile (tests): Add bug23.
413
e23fe25b
AS
4142010-09-28 Andreas Schwab <schwab@redhat.com>
415 Ulrich Drepper <drepper@gmail.com>
416
417 [BZ #12489]
418 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
419 before performing relro protection. At old place add assertion
420 to make sure nothing changed.
421
d3f02e10
NS
4222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
423 Glauber de Oliveira Costa <glommer@gmail.com>
424
425 * elf/elf.h: Add new ARM TLS relocs.
426
d55fd7a5
RA
4272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
428
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
430 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
431 cast from r3.
432 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
433 'tests' variable.
434 * sysdeps/wordsize-64/tst-writev.c: New file.
435
2206397e
RA
4362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
437
438 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
439 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
440 insns in _dl_start to prevent a TOC reference before relocs are
441 resolved.
442
e9433893
UD
4432011-02-15 Ulrich Drepper <drepper@gmail.com>
444
445 [BZ #12469]
446 * Makeconfig: Remove RANLIB definition.
447 * Makerules: Don't use RANLIB.
448 * aclocal.m4: Remove ranlib test.
449 * configure.in: No need to check for ranlib.
450 * elf/rtld-Rules: Don't use RANLIB.
451
f75286c6
ST
4522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
453
8e31c82d
ST
454 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
455 protection macro.
456 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
457 inclusion protection macro.
458
f75286c6
ST
459 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
460 SIGRTMIN and SIGRTMAX and print information in that case only when
461 SIGRTMIN is defined.
462
c1d0e639
JJ
4632011-02-11 Jakub Jelinek <jakub@redhat.com>
464
465 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
466 arginfo fn returning -1.
467
468 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
469 and thousands string is zero terminated.
470
edf9294e
AS
4712011-02-03 Andreas Schwab <schwab@redhat.com>
472
473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
474 sysdeps/unix/sysv/linux/bits/socket.h.
475
2b7e92df
ST
4762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
477
edf9294e
AS
478 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
479 (__CPU_COUNT): Remove old macros.
480 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
481 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
482 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
483 (__sched_cpualloc, __sched_cpufree): Add declarations.
484
a4c7ea7b
UD
4852011-02-05 Ulrich Drepper <drepper@gmail.com>
486
487 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
488 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
489 * nscd/aicache.c (addhstaiX): Return timeout of added value.
490 (readdhstai): Return value of addhstaiX call.
491 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
492 (addgrbyX): Return value returned by cache_addgr.
493 (readdgrbyname): Return value returned by addgrbyX.
494 (readdgrbygid): Likewise.
495 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
496 (addpwbyX): Return value returned by cache_addpw.
497 (readdpwbyname): Return value returned by addhstbyX.
498 (readdpwbyuid): Likewise.
499 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
500 (addservbyX): Return value returned by cache_addserv.
501 (readdservbyname): Return value returned by addservbyX:
502 (readdservbyport): Likewise.
503 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
504 (addhstbyX): Return value returned by cache_addhst.
505 (readdhstbyname): Return value returned by addhstbyX.
506 (readdhstbyaddr): Likewise.
507 (readdhstbynamev6): Likewise.
508 (readdhstbyaddrv6): Likewise.
509 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
510 (readdinitgroups): Return value returned by addinitgroupsX.
511 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
512 (prune_cache): Keep track of timeout value of re-added entries.
513 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
514 * nscd/nscd.h: Adjust prototypes of readd* functions.
515
a0bf67cc
RM
5162011-02-04 Roland McGrath <roland@redhat.com>
517
518 * nis/nis_server.c (nis_servstate): Use the right name for 0.
519 (nis_stats): Likewise.
520 * nis/nis_modify.c (nis_modify): Likewise.
521 * nis/nis_remove.c (nis_remove): Likewise.
522 * nis/nis_add.c (nis_add): Likewise.
523
524 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
525
526 * posix/fnmatch_loop.c: Add some consts.
527
528 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
529
435b95eb
L
5302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
531
532 [BZ #12460]
533 * config.make.in (config-cflags-novzeroupper): Define.
534 * configure.in: Substitute libc_cv_cc_novzeroupper.
535 * elf/Makefile (AVX-CFLAGS): Define.
536 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
537 (CFLAGS-tst-auditmod4a.c): Likewise.
538 (CFLAGS-tst-auditmod4b.c): Likewise.
539 (CFLAGS-tst-auditmod6b.c): Likewise.
540 (CFLAGS-tst-auditmod6c.c): Likewise.
541 (CFLAGS-tst-auditmod7b.c): Likewise.
542 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
543
8517b15e
UD
5442011-02-02 Ulrich Drepper <drepper@gmail.com>
545
546 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
547 function to the callback.
548 Patch partly by Jiri Olsa <jolsa@redhat.com>.
549
10a656fe
AS
5502011-02-02 Andreas Schwab <schwab@redhat.com>
551
552 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
553 of errno.
554
968dad0a
UD
5552011-01-19 Ulrich Drepper <drepper@gmail.com>
556
9f94d2ea 557 [BZ #11724]
968dad0a
UD
558 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
559 of constructors.
560 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
561 of destructors.
562 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
563
564 [BZ #11724]
565 * elf/Makefile: Add rules to build and run new test.
566 * elf/tst-initorder.c: New file.
567 * elf/tst-initorder.exp: New file.
568 * elf/tst-initordera1.c: New file.
569 * elf/tst-initordera2.c: New file.
570 * elf/tst-initordera3.c: New file.
571 * elf/tst-initordera4.c: New file.
572 * elf/tst-initorderb1.c: New file.
573 * elf/tst-initorderb2.c: New file.
574 * elf/tst-order-a1.c: New file.
575 * elf/tst-order-a2.c: New file.
576 * elf/tst-order-a3.c: New file.
577 * elf/tst-order-a4.c: New file.
578 * elf/tst-order-b1.c: New file.
579 * elf/tst-order-b2.c: New file.
580 * elf/tst-order-main.c: New file.
581 New test case by George Gensure <werkt0@gmail.com>.
582
86e92359
UD
5832010-10-01 Andreas Schwab <schwab@redhat.com>
584
585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
586 decoding ACE if AI_CANONIDN.
587
5d5732b0
UD
5882011-01-18 Ulrich Drepper <drepper@gmail.com>
589
590 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
591
a77e8cbc
UD
5922011-01-17 Ulrich Drepper <drepper@gmail.com>
593
6392473f
UD
594 * version.h (RELEASE): Bump for 2.13 release.
595 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
596
620a0529
UD
597 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
598
18ba70a5
UD
599 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
600 MADV_NOHUGEPAGE.
32465c3e
UD
601 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
602 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
603 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
604 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
607
c0dafcf1
UD
608 * posix/getconf.c: Update copyright year.
609 * catgets/gencat.c: Likewise.
610 * csu/version.c: Likewise.
611 * debug/catchsegv.sh: Likewise.
612 * debug/xtrace.sh: Likewise.
613 * elf/ldconfig.c: Likewise.
614 * elf/ldd.bash.in: Likewise.
615 * elf/sprof.c (print_version): Likewise.
616 * iconv/iconv_prog.c: Likewise.
617 * iconv/iconvconfig.c: Likewise.
618 * locale/programs/locale.c: Likewise.
619 * locale/programs/localedef.c: Likewise.
620 * malloc/memusage.sh: Likewise.
621 * malloc/mtrace.pl: Likewise.
622 * nscd/nscd.c (print_version): Likewise.
623 * nss/getent.c: Likewise.
624
a77e8cbc
UD
625 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
626 PF_CAIF, and PF_ALG.
627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
628
77e8bddf
AS
6292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
630
1f20b93a
AS
631 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
632 (modules-names): Use them.
633 (ifunc-test-modules, ifunc-pie-tests): Define.
634 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
635 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
636 (test-extras): Likewise.
637 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
638 $(compile-command.c).
639 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
640 (all-built-dso): Define.
641 (check-textrel.out, check-execstack.out): Depend on it.
642
77e8bddf
AS
643 * configure.in: Don't override --enable-multi-arch.
644
bc425b33
UD
6452011-01-15 Ulrich Drepper <drepper@gmail.com>
646
647 [BZ #6812]
648 * nscd/hstcache.c (tryagain): Define.
649 (cache_addhst): Return tryagain not notfound for temporary errors.
650 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
651 failed.
652
794c3ad3
UD
6532011-01-14 Ulrich Drepper <drepper@gmail.com>
654
70181fdd
UD
655 [BZ #10563]
656 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
657 to make the syscall.
658 * sysdeps/unix/sysv/linux/setgroups.c: New file.
659
794c3ad3
UD
660 [BZ #12378]
661 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
662 and fall back to matching as normal character if the string ends before
663 the matching ']' is found. This is what POSIX requires.
664 * posix/testfnm.c: Adjust test result.
665 * posix/globtest.sh: Adjust test result. Add new test.
666 * posix/tst-fnmatch.input: Likewise.
667 * posix/tst-fnmatch2.c: Add new test.
668
68dc9497
AS
6692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
670
671 * elf/Makefile (check-execstack): Revert last change. Depend on
672 check-execstack.h.
673 (check-execstack.h): New target.
674 (generated): Add check-execstack.h.
675 * elf/check-execstack.c: Include "check-execstack.h".
676 (main): Revert last change.
677 (handle_file): Return zero if GNU_STACK is absent and
678 DEFAULT_STACK_PERMS doesn't include PF_X.
679
451f001b
UD
6802011-01-13 Ulrich Drepper <drepper@gmail.com>
681
cfa28e56
UD
682 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
683 in child fails because the descriptor is already closed.
8cf8ce17
UD
684 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
685 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
686 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 687
1086d70d
UD
688 [BZ #12397]
689 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
690 syscall.
691
451f001b
UD
692 [BZ #10484]
693 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
694 temporary buffer used to handle multi lookups locally.
a85b5cb4 695 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 696
08769175
UD
6972011-01-12 Ulrich Drepper <drepper@gmail.com>
698
699 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
700 loader is ld.so.
701
5e49c52e
UD
7022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
703
704 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
705 alignment for SSE2.
706
60522a5f
UD
7072011-01-12 Ulrich Drepper <drepper@gmail.com>
708
709 [BZ #12394]
710 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
711 characters. When rounding increased number of integer digits recompute
712 number of groups.
713 * stdio-common/tst-grouping.c: New file.
714 * stdio-common/Makefile: Add rules to build and run tst-grouping.
715
f257bbd7
UD
7162011-01-09 Ulrich Drepper <drepper@gmail.com>
717
718 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
719 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
720
721 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
722 void.
723 * bits/select.h: Likewise.
724
fa9c15cb
UD
7252011-01-08 Ulrich Drepper <drepper@gmail.com>
726
727 * po/ja.po: Update from translation team.
728
16c2895f
DM
7292011-01-04 David S. Miller <davem@sunset.davemloft.net>
730
731 [BZ #11155]
732 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
733 implementation just like for lxstat, fxstatat, et al.
734
2543fef2
JM
7352010-12-27 Jim Meyering <meyering@redhat.com>
736
737 [BZ #12348]
738 * posix/regexec.c (build_trtable): Return failure indication upon
739 calloc failure. Otherwise, re_search_internal could infloop on OOM.
740
98727dbe
UD
7412010-12-25 Ulrich Drepper <drepper@gmail.com>
742
5bd6dc5c
UD
743 [BZ #12201]
744 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
745 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
746 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
747 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
748
97983464
UD
749 [BZ #12207]
750 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
751
98727dbe
UD
752 [BZ #12204]
753 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
754 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
755
4a531bb0
L
7562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
757
758 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
759 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
760 script has SORT_BY_INIT_PRIORITY.
761 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
762 NO_CTORS_DTORS_SECTIONS is defined.
763 * elf/soinit.c: Likewise.
764 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
765 NO_CTORS_DTORS_SECTIONS is defined.
766 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
767 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
768 * sysdeps/sh/init-first.c: Likewise.
769 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
770
07eb4b71
UD
7712010-12-24 Ulrich Drepper <drepper@gmail.com>
772
773 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
774 always use the slow path.
775
30950a5f
RA
7762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
777
778 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
779 similar rule which adds the sysdep directories to the header search in
780 order to pick up the correct platform stackinfo.h.
781 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
782 perform test if it is, otherwise return successfully without testing.
783 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
784 DEFAULT_STACK_PERMS define in stackinfo.h.
785 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
786 defined in stackinfo.h.
787 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
788 DEFAULT_STACK_PERMS defined in stackinfo.h.
789 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
790 * sysdeps/ia64/stackinfo.h: Likewise.
791 * sysdeps/s390/stackinfo.h: Likewise.
792 * sysdeps/sh/stackinfo.h: Likewise.
793 * sysdeps/sparc/stackinfo.h: Likewise.
794 * sysdeps/x86_64/stackinfo.h: Likewise.
795 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
796 PF_X for powerpc64. Retain PF_X for powerpc32.
797
db753e2c
UD
7982010-12-19 Ulrich Drepper <drepper@gmail.com>
799
14b697f7
UD
800 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
801 accurately.
db753e2c
UD
802 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
803 GETDENTS_64BIT_ALIGNED.
804
28300719
UD
8052010-12-14 Ulrich Drepper <dreper@gmail.com>
806
14b697f7 807 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 808
4f197237
AS
8092010-12-10 Andreas Schwab <schwab@redhat.com>
810
dbb0472f
AS
811 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
812 _GNU_SOURCE.
813
4f197237
AS
814 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
815 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
816 Remove __restrict.
817 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
818 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
819
fb88ac72
UD
8202010-12-09 Ulrich Drepper <drepper@gmail.com>
821
822 [BZ #11655]
823 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
824 are initialized.
825
42acbb92
JJ
8262010-12-09 Jakub Jelinek <jakub@redhat.com>
827
828 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
829
c038d98d
UD
8302010-12-03 Ulrich Drepper <drepper@gmail.com>
831
832 * po/it.po: Update from translation team.
833
3a4a2499
L
8342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
835
836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
837 unused codes.
838
1e24cf6e
UD
8392010-11-30 Ulrich Drepper <drepper@gmail.com>
840
841 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
842
a7690819
AS
8432010-11-24 Andreas Schwab <schwab@redhat.com>
844
845 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
846 specially.
847 (gaih_getanswer_slice): Likewise.
848
3bf8d1b1
JJ
8492010-10-20 Jakub Jelinek <jakub@redhat.com>
850
851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
852
6db52fbb
PB
8532010-05-31 Petr Baudis <pasky@suse.cz>
854
855 [BZ #11149]
856 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
857 silently even in the chroot mode.
858
eaca7569
UD
8592010-11-22 Ulrich Drepper <drepper@gmail.com>
860
861 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
862 last patch a bit. Pretty printing
863
3056dcdb
UD
8642010-05-31 Petr Baudis <pasky@suse.cz>
865
866 [BZ #10085]
867 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
868 initialization of skip_initgroups_dyn.
869
cf7c9078
UD
8702010-11-19 Ulrich Drepper <drepper@gmail.com>
871
872 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
873 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
874
a1fb5e3e
UD
8752010-11-16 Ulrich Drepper <drepper@gmail.com>
876
877 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
878
3540d66b
AS
8792010-11-11 Andreas Schwab <schwab@redhat.com>
880
881 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
882 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
883 (tst-fnmatch-ENV): Set MALLOC_TRACE.
884 ($(objpfx)tst-fnmatch-mem): New rule.
885 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
886 * posix/tst-fnmatch.c (main): Call mtrace.
887
13b69574
L
8882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
889
890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
891 Support Intel processor model 6 and model 0x2c.
892
da93d214
LM
8932010-11-10 Luis Machado <luisgpm@br.ibm.com>
894
895 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
896 signed comparison.
897
8ca52c6e
L
8982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
899
900 [BZ #12205]
901 * string/test-strncasecmp.c (check_result): New function.
902 (do_one_test): Use it.
903 (check1): New function.
904 (test_main): Use it.
905 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
906 Support strcasecmp and strncasecmp.
907
69da074d
UD
9082010-11-08 Ulrich Drepper <drepper@gmail.com>
909
910 [BZ #12194]
911 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
912 * sysdeps/x86_64/bits/byteswap.h: Likewise.
913
ff02d528
L
9142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
915
916 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
917 IFUNC support.
918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
919 memset-x86-64.
920 * sysdeps/x86_64/multiarch/bzero.S: New file.
921 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
922 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
923 * sysdeps/x86_64/multiarch/memset.S: New file.
924 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
926 Set bit_Prefer_SSE_for_memop for Intel processors.
927 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
928 Define.
929 (index_Prefer_SSE_for_memop): Define.
930 (HAS_PREFER_SSE_FOR_MEMOP): Define.
931
344d0b54
LM
9322010-11-04 Luis Machado <luisgpm@br.ibm.com>
933
934 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
935 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
936
c0dde15b
UD
9372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
938
939 [BZ #12191]
940 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
941 (__x86_64_raw_data_cache_size_half): Likewise.
942 (__x86_64_raw_shared_cache_size): Likewise.
943 (__x86_64_raw_shared_cache_size_half): Likewise.
944
945 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
946 (__x86_64_raw_data_cache_size_half): Likewise.
947 (__x86_64_raw_shared_cache_size): Likewise.
948 (__x86_64_raw_shared_cache_size_half): Likewise.
949 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
950 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
951 and __x86_64_raw_shared_cache_size_half. Round
952 __x86_64_data_cache_size_half, __x86_64_data_cache_size
953 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
954 to multiple of 256 bytes.
955
0e516e0e
MS
9562010-11-03 Ulrich Drepper <drepper@gmail.com>
957
958 [BZ #12167]
959 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
960 of inacessible symlinks. Verify result of symlink before returning it.
961 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
962 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
963
0e012e87
ER
9642010-10-28 Erich Ritz <erichritz@gmail.com>
965
966 * math/math.h (isinf): Fix typo in comment.
967
de0ff7bc
UD
9682010-11-01 Ulrich Drepper <drepper@gmail.com>
969
970 * po/da.po: Update from translation team.
971
fa41c84d
UD
9722010-10-26 Ulrich Drepper <drepper@gmail.com>
973
974 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
975 is added to the list.
976
f0967738
AK
9772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
978 Ulrich Drepper <drepper@gmail.com>
979
980 * elf/dl-object.c (_dl_new_object): Don't append the new object to
981 the global list here. Move code to...
982 (_dl_add_to_namespace_list): ...here. New function.
983 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
984 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
985 * elf/dl-load.c (lose): Don't remove the element from the list.
986 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
987 (_dl_map_object): Likewise.
988
9892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
990
991 [BZ #12159]
992 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
993 into all bytes of SSE register.
994 Patch by Richard Li <richardpku@gmail.com>.
995
f0967738 9962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
997
998 [BZ #12140]
999 * malloc/malloc.c (_int_free): Fill correct number of bytes when
1000 perturbing.
1001
d0b9e94f
MB
10022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
1003
1004 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
1005 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
1006 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
1007 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
1009 submachine.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
1011
8e9f92e9
AS
10122010-10-22 Andreas Schwab <schwab@redhat.com>
1013
1014 * include/dlfcn.h (__RTLD_SECURE): Define.
1015 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
1016 mode & __RTLD_SECURE instead.
1017 (open_path): Rename preloaded parameter to secure.
1018 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
1019 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
1020 * elf/dl-deps.c (openaux): Likewise.
1021 * elf/rtld.c (struct map_args): Remove is_preloaded.
1022 (map_doit): Don't use it.
1023 (dl_main): Likewise.
1024 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
1025 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
1026
bc96fbda
AS
10272010-09-09 Andreas Schwab <schwab@redhat.com>
1028
1029 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
1030 (sysd-rules-targets): Remove duplicates.
1031 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
1032 rtld-%.$o dependency.
1033
22cd1c9b
AS
10342010-10-18 Andreas Schwab <schwab@redhat.com>
1035
1036 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
1037 _dl_map_object do it.
1038
18edac48
UD
10392010-10-19 Ulrich Drepper <drepper@gmail.com>
1040
1041 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
1042 fast fma builtins, define the macros in the C99 standard.
1043 (FP_FAST_FMAF): Likewise.
1044 (FP_FAST_FMAL): Likewise.
1045 * sysdeps/x86_64/bits/mathdef.h: Likewise.
1046
1047 * bits/mathdef.h: Update copyright year.
1048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1049
d2050124
MM
10502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
1051
1052 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
1053 builtins, define the macros in the C99 standard.
1054 (FP_FAST_FMAF): Likewise.
1055 (FP_FAST_FMAL): Likewise.
1056 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
1057 multiply/add.
1058 (FP_FAST_FMAF): Likewise.
1059
475facd1
JJ
10602010-10-15 Jakub Jelinek <jakub@redhat.com>
1061
1062 [BZ #3268]
1063 * math/libm-test.inc (fma_test): Some new testcases.
1064 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
1065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
1066 y and infinite z. Do multiplication by C already in long double.
1067 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
1068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
1069 y and infinite z. Do bitwise or of inexact bit into u.d.
1070 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
1071 * sysdeps/i386/fpu/s_fmaf.S: Removed.
1072 * sysdeps/i386/fpu/s_fma.S: Removed.
1073 * sysdeps/i386/fpu/s_fmal.S: Removed.
1074
7c08a05c
JJ
10752010-10-16 Jakub Jelinek <jakub@redhat.com>
1076
1077 [BZ #3268]
1078 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
1079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
1080 computation is not scheduled after fetestexcept. Fix value
1081 of minimum denormal long double.
1082
f3f7372d
JJ
10832010-10-14 Jakub Jelinek <jakub@redhat.com>
1084
1085 [BZ #3268]
1086 * math/libm-test.inc (fma_test): Add some more tests.
1087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
1088 correctly.
1089
14d43591
AS
10902010-10-15 Andreas Schwab <schwab@redhat.com>
1091
1092 * scripts/data/localplt-s390-linux-gnu.data: New file.
1093 * scripts/data/localplt-s390x-linux-gnu.data: New file.
1094
5e908464
JJ
10952010-10-13 Jakub Jelinek <jakub@redhat.com>
1096
1097 [BZ #3268]
1098 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
1099 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
1100 instead of dbl-64.
1101 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
1102 inlines.
1103 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
1104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
1105 if one of x and y is very large and the other is subnormal.
1106 * sysdeps/s390/fpu/s_fmaf.c: New file.
1107 * sysdeps/s390/fpu/s_fma.c: New file.
1108 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
1109 * sysdeps/powerpc/fpu/s_fma.S: New file.
1110 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
1111 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
1112 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
1113
11142010-10-12 Jakub Jelinek <jakub@redhat.com>
1115
1116 [BZ #3268]
1117 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
1118 fma tests.
1119 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
1120 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
1121 * sysdeps/i386/i686/multiarch/s_fma.c: Include
1122 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
1123 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
1124 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
1125 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
1126
b833d51f
UD
11272010-10-12 Ulrich Drepper <drepper@redhat.com>
1128
1129 [BZ #12078]
1130 * posix/regcomp.c (parse_branch): One more memory leak plugged.
1131 * posix/bug-regex31.input: Add test case.
1132
1751705d
UD
11332010-10-11 Ulrich Drepper <drepper@gmail.com>
1134
e9b9cbf5
UD
1135 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
1136 * posix/bug-regex31.input: New file.
1137
1138 [BZ #12078]
1139 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
1140 (parse_sub_exp): Fix last change, use postorder.
1141
ef06edbe
UD
1142 * posix/bug-regex31.c: New file.
1143 * posix/Makefile: Add rules to build and run bug-regex31.
1144
a129c80d
UD
1145 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
1146
1147 [BZ #12078]
1148 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
1149
b76b818e
UD
1150 [BZ #12108]
1151 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
1152 to have entries in sys_siglist.
1153
1751705d
UD
1154 [BZ #12093]
1155 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
1156 be NULL.
1157
9ff8d36f
JJ
11582010-10-07 Jakub Jelinek <jakub@redhat.com>
1159
1160 [BZ #3268]
1161 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
1162 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
1163 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
1164 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
1165 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1166 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
1167 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
1168 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
1169 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
1170 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
1171 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
1172 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
1173 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1174 * math/ftestexcept.c (fetestexcept): Likewise.
1175 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
1176 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1177 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1178 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
1179 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
1180 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
1181 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1182
af325969
UD
11832010-10-11 Ulrich Drepper <drepper@gmail.com>
1184
c579b202 1185 [BZ #12107]
af325969
UD
1186 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
1187 newline.
1188
67a67b95
UD
11892010-10-06 Ulrich Drepper <drepper@gmail.com>
1190
1191 * string/bug-strstr1.c: New file.
1192 * string/Makefile: Add rules to build and run bug-strstr1.
1193
5fb308bc
EB
11942010-10-05 Eric Blake <eblake@redhat.com>
1195
1196 [BZ #12092]
1197 * string/str-two-way.h (two_way_long_needle): Always clear memory
1198 when skipping input due to the shift table.
1199
45db99c7
UD
12002010-10-03 Ulrich Drepper <drepper@gmail.com>
1201
3b111893
UD
1202 [BZ #12005]
1203 * malloc/mcheck.c: Handle large requests.
1204
45db99c7
UD
1205 [BZ #12077]
1206 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
1207 for strncmp and strncasecmp.
1208 * string/stratcliff.c: Add tests for strcmp and strncmp.
1209 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
1210
cf7a1eb8
NI
12112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1212
1213 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
1214 __set_fpscr.
1215
6484ba5e
AJ
12162010-09-30 Andreas Jaeger <aj@suse.de>
1217
1218 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
1219 (CGROUP_SUPER_MAGIC): Define.
1220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1221 Handle btrfs and cgroup file systems.
1222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1223 Likewise.
1224
91c42559
LM
12252010-09-27 Luis Machado <luisgpm@br.ibm.com>
1226
1227 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
1228 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
1229
87a97932
AK
12302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1231
1232 [BZ #12067]
1233 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
1234 trying to locate the ELF header.
1235
c21cc9bc
AS
12362010-09-27 Andreas Schwab <schwab@redhat.com>
1237
1238 [BZ #11611]
1239 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
1240 Mask out sign-bit copies when constructing f_fsid.
1241
315970f6
PB
12422010-09-24 Petr Baudis <pasky@suse.cz>
1243
1244 * debug/stack_chk_fail_local.c: Add missing licence exception.
1245 * debug/warning-nop.c: Likewise.
1246
1ac7a2c7
JM
12472010-09-15 Joseph Myers <joseph@codesourcery.com>
1248
1249 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
1250 implementing getdents64 using getdents syscall, set d_type if
1251 __ASSUME_GETDENTS32_D_TYPE.
1252
56801c50
AS
12532010-09-16 Andreas Schwab <schwab@redhat.com>
1254
1255 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
1256 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
1257
dda51327
UD
12582010-09-21 Ulrich Drepper <drepper@redhat.com>
1259
1260 [BZ #12037]
1261 * posix/unistd.h: Undo change of feature selection for ftruncate from
1262 2010-01-11.
1263
8ffcee4a
UD
12642010-09-20 Ulrich Drepper <drepper@redhat.com>
1265
a545ecd9 1266 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
1267 detection.
1268
e24f0a8b
AS
12692010-09-20 Andreas Schwab <schwab@redhat.com>
1270
1271 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1272 fanotify_mark.
1273 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1274
7291c56f
AS
12752010-09-14 Andreas Schwab <schwab@redhat.com>
1276
1277 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
1278 variables after CHECK_SP call.
1279 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
1280
bc5fb037
AS
12812010-09-13 Andreas Schwab <schwab@redhat.com>
1282 Ulrich Drepper <drepper@redhat.com>
1283
1284 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
1285 re-relocationg ld.so.
1286 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
1287 _dl_init_paths call.
1288 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
1289 here anymore.
1290
e66e7419
UD
12912010-09-14 Ulrich Drepper <drepper@redhat.com>
1292
1293 * resolv/res_init.c (__res_vinit): Count the default server we added.
1294
c044aa75
CLT
12952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
1296 Ulrich Drepper <drepper@redhat.com>
1297
1298 [BZ #11968]
1299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1300 (____longjmp_chk): Use %ebx for saving value across system call.
1301 Add unwind info.
1302
32cf4069
AS
13032010-09-06 Andreas Schwab <schwab@redhat.com>
1304
1305 * manual/Makefile: Don't mix pattern rules with normal rules.
1306
817328ee
AS
13072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
1308
1309 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
1310 operation.
1311 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1312 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1313 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1314 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1316 Likewise.
1317
29fddf61
UD
13182010-09-04 Ulrich Drepper <drepper@redhat.com>
1319
1320 [BZ #11979]
1321 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
1322 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
1323
0959ffc9
UD
13242010-09-02 Ulrich Drepper <drepper@redhat.com>
1325
1326 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
1327 * sysdeps/x86_64/addmul_1.S: Likewise.
1328 * sysdeps/x86_64/lshift.S: Likewise.
1329 * sysdeps/x86_64/mul_1.S: Likewise.
1330 * sysdeps/x86_64/rshift.S: Likewise.
1331 * sysdeps/x86_64/sub_n.S: Likewise.
1332 * sysdeps/x86_64/submul_1.S: Likewise.
1333
ece29840
ST
13342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
1335
0959ffc9
UD
1336 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
1337 Define __sched_param instead of SCHED_* and sched_param when
ece29840 1338 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 1339 * bits/sched.h [__need_schedparam]
ece29840 1340 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
1341 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
1342 (__defined_schedparam): Define to 1.
ece29840
ST
1343 (__sched_param): New structure, identical to sched_param.
1344 (__need_schedparam): Undefine.
1345
e53a31fe
MF
13462010-08-31 Mike Frysinger <vapier@gentoo.org>
1347
fdc0c10d
MF
1348 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
1349 (epoll_create1): Declare.
1350
e53a31fe
MF
1351 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
1352
a726d796
AS
13532010-08-31 Andreas Schwab <schwab@redhat.com>
1354
1355 [BZ #7066]
1356 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
1357 shifting retval into place.
1358
2f3e3dc7
UD
13592010-09-01 Ulrich Drepper <drepper@redhat.com>
1360
f2933da9
UD
1361 * nis/rpcsvc/nis.h: Update copyright notice.
1362 * nis/rpcsvc/nis.x: Likewise.
1363 * nis/rpcsvc/nis_callback.h: Likewise.
1364 * nis/rpcsvc/nis_callback.x: Likewise.
1365 * nis/rpcsvc/nis_object.x: Likewise.
1366 * nis/rpcsvc/nis_tags.h: Likewise.
1367 * nis/rpcsvc/yp.h: Likewise.
1368 * nis/rpcsvc/yp.x: Likewise.
1369 * nis/rpcsvc/ypupd.h: Likewise.
1370 * nis/yp_xdr.c: Likewise.
1371 * nis/ypupdate_xdr.c: Likewise.
1372
2f3e3dc7
UD
1373 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
1374 mainly the body of pmap_getport. Add parameters to specify timeouts.
1375 (pmap_getport): Use __libc_rpc_getport.
1376 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
1377 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
1378 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
1379
f3dcc2f9
AS
13802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
1381
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
1383 fanotify_mark.
1384
6d34eb5b
RM
13852010-08-27 Roland McGrath <roland@redhat.com>
1386
1387 * sysdeps/i386/i686/multiarch/Makefile
1388 (CFLAGS-varshift.c): New variable.
1389
9ea3de11
UD
13902010-08-27 Ulrich Drepper <drepper@redhat.com>
1391
c96d23fc
UD
1392 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
1393 * sysdeps/i386/i686/multiarch/varshift.c: New file.
1394
9ea3de11
UD
1395 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
1396
1397 * sysdeps/x86_64/strlen.S: Minimal code improvement.
1398
623aac7f
L
13992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
1400
1401 * sysdeps/x86_64/strlen.S: Unroll the loop.
1402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1403 strlen-sse2 strlen-sse2-bsf.
1404 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
1405 __strlen_no_bsf if bit_Slow_BSF is set.
1406 (__strlen_sse42): Removed.
1407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
1408 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
1409
8b2b7715
RM
14102010-08-25 Roland McGrath <roland@redhat.com>
1411
1412 * sysdeps/x86_64/multiarch/varshift.S: File removed.
1413 * sysdeps/x86_64/multiarch/varshift.c: New file.
1414 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
1415 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
1416 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
1417 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1418
e73015f2
L
14192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
1420
1421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1422 strlen-sse2 strlen-sse2-bsf.
1423 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
1424 __strlen_sse2_bsf if bit_Slow_BSF is unset.
1425 (__strlen_sse2): Removed.
1426 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
1427 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
1428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1429 bit_Slow_BSF for Atom.
1430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
1431 (index_Slow_BSF): Define.
1432 (HAS_SLOW_BSF): Define.
1433
df24a73e
UD
14342010-08-25 Ulrich Drepper <drepper@redhat.com>
1435
1436 [BZ #10851]
1437 * resolv/res_init.c (__res_vinit): When no server address at all
1438 is given default to loopback.
1439
f2ac4868
RM
14402010-08-24 Roland McGrath <roland@redhat.com>
1441
09055553
RM
1442 * configure.in: Remove config-name.h generation.
1443 * configure: Regenerated.
1444 * config-name.in: File removed.
1445 * scripts/config-uname.sh: New file.
1446 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
1447 ($(objdir)config-name.h): New target.
1448
f2ac4868
RM
1449 * sunrpc/rpc_parse.h: Avoid nested comment.
1450
73f27d5e
RH
14512010-08-24 Richard Henderson <rth@redhat.com>
1452 Ulrich Drepper <drepper@redhat.com>
1453 H.J. Lu <hongjiu.lu@intel.com>
1454
1455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
1456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
1457 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
1458 Replace _mm_srli_si128 with __m128i_shift_right. Replace
1459 _mm_alignr_epi8 with _mm_loadu_si128.
1460 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
1461 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
1462 (__m128i_shift_right): Removed.
1463 * sysdeps/i386/i686/multiarch/varshift.h: New file.
1464 * sysdeps/i386/i686/multiarch/varshift.S: New file.
1465 * sysdeps/x86_64/multiarch/varshift.h: New file.
1466 * sysdeps/x86_64/multiarch/varshift.S: New file.
1467
84b9230c
MF
14682010-08-21 Mike Frysinger <vapier@gentoo.org>
1469
1470 * configure.in: Move assembler checks to before sysdep dir checking.
1471
9bbd0ddc
PB
14722010-08-20 Petr Baudis <pasky@suse.cz>
1473
1474 * LICENSES: Sync the sunrpc license.
1475
9da4bb31
UD
14762010-08-19 Ulrich Drepper <drepper@redhat.com>
1477
a7ab6ec8
UD
1478 * sunrpc/auth_des.c: Update copyright notice once again.
1479 * sunrpc/auth_none.c: Likewise.
1480 * sunrpc/auth_unix.c: Likewise.
1481 * sunrpc/authdes_prot.c: Likewise.
1482 * sunrpc/authuxprot.c: Likewise.
1483 * sunrpc/bindrsvprt.c: Likewise.
1484 * sunrpc/clnt_gen.c: Likewise.
1485 * sunrpc/clnt_perr.c: Likewise.
1486 * sunrpc/clnt_raw.c: Likewise.
1487 * sunrpc/clnt_simp.c: Likewise.
1488 * sunrpc/clnt_tcp.c: Likewise.
1489 * sunrpc/clnt_udp.c: Likewise.
1490 * sunrpc/clnt_unix.c: Likewise.
1491 * sunrpc/des_crypt.c: Likewise.
1492 * sunrpc/des_soft.c: Likewise.
1493 * sunrpc/get_myaddr.c: Likewise.
1494 * sunrpc/getrpcport.c: Likewise.
1495 * sunrpc/key_call.c: Likewise.
1496 * sunrpc/key_prot.c: Likewise.
1497 * sunrpc/openchild.c: Likewise.
1498 * sunrpc/pm_getmaps.c: Likewise.
1499 * sunrpc/pm_getport.c: Likewise.
1500 * sunrpc/pmap_clnt.c: Likewise.
1501 * sunrpc/pmap_prot.c: Likewise.
1502 * sunrpc/pmap_prot2.c: Likewise.
1503 * sunrpc/pmap_rmt.c: Likewise.
1504 * sunrpc/rpc/auth.h: Likewise.
1505 * sunrpc/rpc/auth_unix.h: Likewise.
1506 * sunrpc/rpc/clnt.h: Likewise.
1507 * sunrpc/rpc/des_crypt.h: Likewise.
1508 * sunrpc/rpc/key_prot.h: Likewise.
1509 * sunrpc/rpc/netdb.h: Likewise.
1510 * sunrpc/rpc/pmap_clnt.h: Likewise.
1511 * sunrpc/rpc/pmap_prot.h: Likewise.
1512 * sunrpc/rpc/pmap_rmt.h: Likewise.
1513 * sunrpc/rpc/rpc.h: Likewise.
1514 * sunrpc/rpc/rpc_des.h: Likewise.
1515 * sunrpc/rpc/rpc_msg.h: Likewise.
1516 * sunrpc/rpc/svc.h: Likewise.
1517 * sunrpc/rpc/svc_auth.h: Likewise.
1518 * sunrpc/rpc/types.h: Likewise.
1519 * sunrpc/rpc/xdr.h: Likewise.
1520 * sunrpc/rpc_clntout.c: Likewise.
1521 * sunrpc/rpc_cmsg.c: Likewise.
1522 * sunrpc/rpc_common.c: Likewise.
1523 * sunrpc/rpc_cout.c: Likewise.
1524 * sunrpc/rpc_dtable.c: Likewise.
1525 * sunrpc/rpc_hout.c: Likewise.
1526 * sunrpc/rpc_main.c: Likewise.
1527 * sunrpc/rpc_parse.c: Likewise.
1528 * sunrpc/rpc_parse.h: Likewise.
1529 * sunrpc/rpc_prot.c: Likewise.
1530 * sunrpc/rpc_sample.c: Likewise.
1531 * sunrpc/rpc_scan.c: Likewise.
1532 * sunrpc/rpc_scan.h: Likewise.
1533 * sunrpc/rpc_svcout.c: Likewise.
1534 * sunrpc/rpc_tblout.c: Likewise.
1535 * sunrpc/rpc_util.c: Likewise.
1536 * sunrpc/rpc_util.h: Likewise.
1537 * sunrpc/rpcinfo.c: Likewise.
1538 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
1539 * sunrpc/rpcsvc/key_prot.x: Likewise.
1540 * sunrpc/rpcsvc/klm_prot.x: Likewise.
1541 * sunrpc/rpcsvc/mount.x: Likewise.
1542 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
1543 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
1544 * sunrpc/rpcsvc/rex.x: Likewise.
1545 * sunrpc/rpcsvc/rstat.x: Likewise.
1546 * sunrpc/rpcsvc/rusers.x: Likewise.
1547 * sunrpc/rpcsvc/sm_inter.x: Likewise.
1548 * sunrpc/rpcsvc/spray.x: Likewise.
1549 * sunrpc/rpcsvc/yppasswd.x: Likewise.
1550 * sunrpc/rtime.c: Likewise.
1551 * sunrpc/svc.c: Likewise.
1552 * sunrpc/svc_auth.c: Likewise.
1553 * sunrpc/svc_authux.c: Likewise.
1554 * sunrpc/svc_raw.c: Likewise.
1555 * sunrpc/svc_run.c: Likewise.
1556 * sunrpc/svc_simple.c: Likewise.
1557 * sunrpc/svc_tcp.c: Likewise.
1558 * sunrpc/svc_udp.c: Likewise.
1559 * sunrpc/svc_unix.c: Likewise.
1560 * sunrpc/svcauth_des.c: Likewise.
1561 * sunrpc/xcrypt.c: Likewise.
1562 * sunrpc/xdr.c: Likewise.
1563 * sunrpc/xdr_array.c: Likewise.
1564 * sunrpc/xdr_float.c: Likewise.
1565 * sunrpc/xdr_mem.c: Likewise.
1566 * sunrpc/xdr_rec.c: Likewise.
1567 * sunrpc/xdr_ref.c: Likewise.
1568 * sunrpc/xdr_sizeof.c: Likewise.
1569 * sunrpc/xdr_stdio.c: Likewise.
1570
9da4bb31
UD
1571 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
1572 handling.
1573
bdaa77bc
AS
15742010-08-19 Andreas Schwab <schwab@redhat.com>
1575
1576 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
1577
fe2f79db
LM
15782010-08-19 Luis Machado <luisgpm@br.ibm.com>
1579
1580 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
1581 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
1582 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
1583 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
1584 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
1585 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
1586 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
1587 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
1588 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
1589 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
1590 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
1591 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
1592 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
1593 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
1594
b9b42ee0
AB
15952010-07-26 Anton Blanchard <anton@samba.org>
1596
1597 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
1598 * malloc/arena.c (heap_trim): Likewise.
1599
1c06ba31
UD
16002010-08-16 Ulrich Drepper <drepper@redhat.com>
1601
1602 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
1603 here. Not...
1604 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
1605 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
1606
f8392f40
L
16072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
1608
1609 * sysdeps/i386/elf/Makefile: New file.
1610
3162f12e
AS
16112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1612
1613 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
1614 from fanotify_init.
1615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1617
28c90b2c
UD
16182010-08-15 Ulrich Drepper <drepper@redhat.com>
1619
1620 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
1621 of strncasecmp_l.
1feccb6c 1622 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 1623
ca6bb004
UD
16242010-08-14 Ulrich Drepper <drepper@redhat.com>
1625
e9f82e0d
UD
1626 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1627 strncase_l-nonascii.
1628 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1629 Add strncase_l-ssse3.
1630 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
1631 * sysdeps/x86_64/strcmp.S: Likewise.
1632 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
1633 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
1634 * sysdeps/x86_64/strncase.S: New file.
1635 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
1636 * sysdeps/x86_64/strncase_l.S: New file.
1637 * string/Makefile (strop-tests): Add strncasecmp.
1638 * string/test-strncasecmp.c: New file.
1639
1640 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
1641 warning.
1642
ca6bb004
UD
1643 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
1644 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
1645
052fa7b3
AS
16462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1647
1648 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
1649
962dba78
UD
16502010-08-12 Ulrich Drepper <drepper@redhat.com>
1651
1652 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
1653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1654 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1655
bebff237
AM
16562010-05-01 Alan Modra <amodra@gmail.com>
1657
1658 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
1659 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
1660 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
1661 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
1662 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
1663 tidying. Don't tail-call __sigjmp_save for static lib.
1664 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
1665 save location.
1666 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
1667 (CALL_MCOUNT): Add eh info, and nop after bl.
1668 (TAIL_CALL_SYSCALL_ERROR): New macro.
1669 (PSEUDO_RET): Use it.
1670 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1671 Correct save location of integer regs and cr.
1672 (_dl_profile_resolve): Correct cr save location. Delete nops
1673 after bl when SHARED. Reduce cfi size a little by better
1674 placement of cfi directives.
1675 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
1676 make a stack frame. Instead use parm save area as a temp.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
1678 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1680 Don't make a stack frame for parent, use parm save area.
1681 Increase child stack frame to 112 bytes. Don't save unused reg,
1682 and adjust reg usage. Set up cfi on error recovery and
1683 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1685 (__makecontext): Add dummy nop after jump to exit.
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
1687 Use correct parm save area and cr save, reduce stack frame.
1688 Correct cfi for possible PSEUDO_RET frame setup.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
1690 Branch to local label emitted by PSEUDO_RET rather than
1691 __syscall_error.
1692
02637374
AS
16932010-08-12 Andreas Schwab <schwab@redhat.com>
1694
1695 [BZ #11904]
1696 * locale/programs/locale.c (print_assignment): New function.
1697 (show_locale_vars): Use it.
1698
c3e2f19b
UD
16992010-08-11 Ulrich Drepper <drepper@redhat.com>
1700
3cdaa6ad
UD
1701 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
1702 field.
1703 (struct statfs64): Likewise.
1704 (_STATFS_F_FLAGS): Define.
1705 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
1706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1707 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
1708 (ST_VALID): Define locally.
1709 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
1710 __statvfs_getflags, use the provided value.
1711 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1712 __ASSUME_STATFS_F_FLAGS.
1713
754f7da3
UD
1714 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
1715
10b3bedc
UD
1716 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
1717 Add sys/fanotify.h.
1718 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
1719 fanotify_mask for GLIBC_2.13.
1720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
1721 fanotify_init and fanotify_mark.
1722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1723 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
1724
c08fb0d7
UD
1725 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
1726 Add prlimit.
1727 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
1728 prlimit64 for GLIBC_2.13.
1729 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
1730 prlimit64.
1731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
1732 syscall.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1734 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1735 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
1736 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
1737 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
1738 add prlimit alias.
1739 * sysdeps/unix/sysv/linux/prlimit.c: New file.
1740
15bac72b
UD
1741 [BZ #11903]
1742 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
1743 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
1744
c3e2f19b
UD
1745 * nss/Makefile: Add rules to build and run tst-nss-test1.
1746 * shlib-versions: Add entry for libnss_test1.
1747 * nss/nss_test1.c: New file.
1748 * nss/tst-nss-test1.c: New file.
1749
1750 * nss/nsswitch.c (__nss_database_custom): Define new variable.
1751 (__nss_configure_lookup): Set appropriate entry in
1752 __nss_configure_lookup to true.
1753 * nss/nsswitch.h: Define enum with indeces of databases in
1754 databases and __nss_database_custom arrays. Declare
1755 __nss_database_custom.
1756 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
1757 to avoid using nscd when custom rules are installed.
1758 * nss/getXXbyYY_r.c: Likewise.
1759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1760
1761 * nss/nss_files/files-parse.c: Whitespace fixes.
1762
f15ce4d8
UD
17632010-08-09 Ulrich Drepper <drepper@redhat.com>
1764
1765 [BZ #11883]
1766 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
1767 * posix/fnmatch_loop.c: Likewise.
1768
d22e4cc9
AK
17692010-07-17 Andi Kleen <ak@linux.intel.com>
1770
1771 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
1772 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
1773 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
1774 * Versions.def [GLIBC_2.13]: Add.
1775
805bc17d
UD
17762010-08-06 Ulrich Drepper <drepper@redhat.com>
1777
1778 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1779 Also fail if tpwd after pwuid call is NULL.
1780
5a42321d
ST
17812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1782
1783 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
1784 when converting to ms.
1785
fd3ebeda
ST
17862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1787
1788 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
1789 EOPNOTSUPP errors with ENOTTY.
1790 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
1791 EOPNOTSUPP errors with ENOTTY.
1792
73507d3a
UD
17932010-07-31 Ulrich Drepper <drepper@redhat.com>
1794
1795 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1796 Add strcasecmp_l-ssse3.
1797 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
1798 strcasecmp.
1799 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
1800 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
1801 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
1802
fe36dd02
UD
18032010-07-30 Ulrich Drepper <drepper@redhat.com>
1804
66f6765a
UD
1805 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
1806
42e08a54
UD
1807 * string/Makefile (strop-tests): Add strcasecmp.
1808 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1809 strcasecmp_l-nonascii.
1810 (gen-as-const-headers): Add locale-defines.sym.
1811 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
1812 * sysdeps/x86_64/strcasecmp.S: New file.
1813 * sysdeps/x86_64/strcasecmp_l.S: New file.
1814 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
1815 * sysdeps/x86_64/locale-defines.sym: New file.
1816 * string/test-strcasecmp.c: New file.
1817
fe36dd02
UD
1818 * string/test-strcasestr.c: Test both ends of the range of characters.
1819 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
1820
48cbc0d6
RM
18212010-07-29 Roland McGrath <roland@redhat.com>
1822
76e6d6bc 1823 [BZ #11856]
48cbc0d6
RM
1824 * manual/locale.texi (Yes-or-No Questions): Fix example code.
1825
880113d9
UD
18262010-07-27 Ulrich Drepper <drepper@redhat.com>
1827
1828 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
1829 for ld.so.
1830
deb9cabb
AS
18312010-07-27 Andreas Schwab <schwab@redhat.com>
1832
1833 * manual/memory.texi (Malloc Tunable Parameters): Document
1834 M_PERTURB.
1835
1c7570ff
RM
18362010-07-26 Roland McGrath <roland@redhat.com>
1837
1838 [BZ #11840]
1839 * configure.in (-fgnu89-inline check): Set and substitute
1840 gnu89_inline, not libc_cv_gnu89_inline.
1841 * configure: Regenerated.
1842 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
1843
24fb0f88
UD
18442010-07-26 Ulrich Drepper <drepper@redhat.com>
1845
1846 * string/test-strnlen.c: New file.
1847 * string/Makefile (strop-tests): Add strnlen.
1848 * string/tester.c (test_strnlen): Add a few more test cases.
1849 * string/tst-strlen.c: Better error reporting.
1850
1851 * sysdeps/x86_64/strnlen.S: New file.
1852
8e96b93a
UD
18532010-07-24 Ulrich Drepper <drepper@redhat.com>
1854
1855 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
1856 lower-latency instructions.
1857
dbc676d4
UD
18582010-07-23 Ulrich Drepper <drepper@redhat.com>
1859
1860 * string/test-strcasestr.c: New file.
1861 * string/test-strstr.c: New file.
1862 * string/Makefile (strop-tests): Add strstr and strcasestr.
1863 * string/str-two-way.h: Don't undefine MAX.
1864 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
1865
f6a31e0e
AS
18662010-07-21 Andreas Schwab <schwab@redhat.com>
1867
1868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1869 strcasestr-nonascii.
1870 (CFLAGS-strcasestr-nonascii.c): Define.
1871 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
1872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
1873 Remove unused attribute.
1874
5dbc3b6c
RM
18752010-07-20 Roland McGrath <roland@redhat.com>
1876
1877 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
1878 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
1879 ld.so.cache was broken. With it, there is no way to disable dsocaps
1880 like LD_HWCAP_MASK can disable hwcaps.
1881
23d101d8
EPM
18822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
1883
1884 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
1885
cc9f2e47
UD
18862010-07-16 Ulrich Drepper <drepper@redhat.com>
1887
1888 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
1889 call in strcasestr.
1890 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
1891 __strcasestr_sse42_nonascii.
1892 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
1893 strcasestr-nonascii.c.
1894 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
1895
77c1b069
LM
18962010-06-15 Luis Machado <luisgpm@br.ibm.com>
1897
1898 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
1899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
1900 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
1901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
1902
440566c3
UD
19032010-07-09 Ulrich Drepper <drepper@redhat.com>
1904
1905 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
1906 fcntl.
1907
5be9d05d
AS
19082010-07-06 Andreas Schwab <schwab@redhat.com>
1909
1910 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
1911 dl_signal_cerror.
1912
8a492a67
UD
19132010-07-06 Ulrich Drepper <drepper@redhat.com>
1914
1915 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
1916 _PC_PIPE_BUF using F_GETPIPE_SZ.
1917
713df3d5
RM
19182010-07-05 Roland McGrath <roland@redhat.com>
1919
1920 * manual/arith.texi (Rounding Functions): Fix rint description
1921 implicit in round description.
1922
702e8f14
UD
19232010-07-02 Ulrich Drepper <drepper@redhat.com>
1924
1925 * elf/Makefile: Fix linking for a few tests to make recent linker
1926 happy.
1927
52ed8be9
AS
19282010-06-30 Andreas Schwab <schwab@redhat.com>
1929
1930 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1931 $(common-objpfx)libc_nonshared.a.
1932
f47c9a11
LM
19332010-06-21 Luis Machado <luisgpm@br.ibm.com>
1934
1935 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
1936 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
1937 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1938 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1939 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
1940 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
1941 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1942 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
1957 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
1958 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
1959 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
1960 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
1961 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
1962 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
1963 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
1964 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
1965 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
1966 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
1967 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
1968 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1983
6fb8cbcb
L
19842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
1985
1986 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1987 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
1988 * string/memmove.c (memmove): Renamed to ...
1989 (MEMMOVE): ...this. Default to memmove.
1990 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1991 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1992 (END_CHK): Define.
1993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1994 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1995 mempcpy-ssse3-back memmove-ssse3-back.
1996 * sysdeps/x86_64/multiarch/bcopy.S: New file .
1997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1999 * sysdeps/x86_64/multiarch/memcpy.S: New file.
2000 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
2001 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
2002 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
2003 * sysdeps/x86_64/multiarch/memmove.c: New file.
2004 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
2005 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
2006 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
2007 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
2008 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
2009 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
2010 Define.
2011 (index_Fast_Copy_Backward): Define.
2012 (HAS_ARCH_FEATURE): Define.
2013 (HAS_FAST_REP_STRING): Define.
2014 (HAS_FAST_COPY_BACKWARD): Define.
2015
4e733bac 20162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
2017
2018 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2019 Restore proper fallback handling.
2020
63c4ed22
UD
20212010-06-19 Ulrich Drepper <drepper@redhat.com>
2022
ac2b484c
UD
2023 [BZ #11701]
2024 * posix/group_member.c (__group_member): Correct checking loop.
2025
63c4ed22
UD
2026 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
2027 OOM in getpwuid_r correctly. Return error number when the caller
2028 should return, otherwise -1.
2029 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
2030 call returning > 0 value.
2031 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
2032
765ade4b
AS
20332010-06-07 Andreas Schwab <schwab@redhat.com>
2034
2035 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
2036 libc_nonshared.a from targets in modules-names.
2037
80da2e09
KS
20382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
2039
2040 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
2041 requires it.
2042
158db122
LM
20432010-06-10 Luis Machado <luisgpm@br.ibm.com>
2044
2045 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
2046 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
2047 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
2048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
2049
caa78cf8
AS
20502010-06-02 Andreas Schwab <schwab@redhat.com>
2051
2052 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
2053
b2ef2c01
UD
20542010-06-14 Ulrich Drepper <drepper@redhat.com>
2055
2056 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
2057 and F_GETPIPE_SZ.
2058 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2063 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
2064
fbd643b6
RM
20652010-06-14 Roland McGrath <roland@redhat.com>
2066
2067 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
2068
f32f2869
JJ
20692010-06-07 Jakub Jelinek <jakub@redhat.com>
2070
2071 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
2072 __REDIRECT followed by __THROW.
2073 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
2074 * posix/getopt.h (getopt): Likewise.
2075
2a50c078
EPM
20762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2077
2078 * hurd/lookup-at.c (__file_name_lookup_at): Accept
2079 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
2080 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
2081 in AT_FLAGS.
2082 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
2083 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
2084
eb5ad2eb
LM
20852010-05-28 Luis Machado <luisgpm@br.ibm.com>
2086
2087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
2088
3c88fe1e
L
20892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
2090
2091 [BZ #11640]
2092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2093 Properly check family and model.
2094
d2f73151
TY
20952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
2096
2097 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
2098
ebd2e13d
LM
20992010-05-24 Luis Machado <luisgpm@br.ibm.com>
2100
2101 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
2102
b32b8b45
UD
21032010-05-21 Ulrich Drepper <drepper@redhat.com>
2104
2105 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
2106 symbol reference.
2107
9acbe24d
AS
21082010-05-19 Andreas Schwab <schwab@redhat.com>
2109
2110 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
2111 symbol reference.
2112
f0ccf6ea
AS
21132010-05-21 Andreas Schwab <schwab@redhat.com>
2114
3d04ff3a
AS
2115 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
2116 and internal_recvmmsg.
2117 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
2118 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
2119 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
2120 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
2121
f0ccf6ea
AS
2122 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
2123 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2124 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2125
5b08ac57
AS
21262010-05-20 Andreas Schwab <schwab@redhat.com>
2127
2128 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
2129
4828935d
LM
21302010-05-17 Luis Machado <luisgpm@br.ibm.com>
2131
2132 POWER7 optimizations.
2133 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
2134 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
2135
373d545e
UD
21362010-05-19 Ulrich Drepper <drepper@redhat.com>
2137
2138 * version.h: Update for 2.13 development version.
2139
21a2b1ae
AS
21402010-05-12 Andrew Stubbs <ams@codesourcery.com>
2141
2142 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
2143 exceptions. Return 0.
2144
3f7dcb2b
RM
21452010-05-07 Roland McGrath <roland@redhat.com>
2146
2147 * elf/ldconfig.c (main): Add a const.
2148
5f24d53a 21492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 2150
a160f8d8
UD
2151 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
2152 (args_options): Add no-idn option.
2153 (ahosts_keys_int): Add idn_flags to ai_flags.
2154 (parse_option): Handle 'i' option to clear idn_flags.
2155
5f24d53a
UD
2156 * malloc/malloc.c (_int_free): Possible race in the most recently
2157 added check. Only act on the data if no current modification
2158 happened.
265bb1ce
UD
2159
2160See ChangeLog.17 for earlier changes.
This page took 0.278683 seconds and 5 git commands to generate.