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