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