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