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