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