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