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