Work around old buggy program which cannot cope with memcpy semantics.
[glibc.git] / ChangeLog
Commit [+]AuthorDateLineData
0354e355
L
H.J. Lu2011-04-01 19:38:21 -040012011-03-26 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #12518]
4 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6 * sysdeps/x86_64/memmove.c: New file.
7 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8 (memcpy): Renamed to ...
9 (__new_memcpy): This.
10 (memcpy): Provide GLIBC_2_14 memcpy.
11 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12 (memcpy): Provide GLIBC_2_2_5 memcpy.
13
8593482f
UD
Ulrich Drepper2011-04-01 18:36:07 -0400142011-04-01 Ulrich Drepper <drepper@gmail.com>
15
16 [BZ #12631]
17 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18
81a5726b
AS
Andreas Schwab2011-04-01 13:08:28 -0400192011-03-30 Andreas Schwab <schwab@redhat.com>
20
21 * misc/syncfs.c: New file.
22 * misc/Makefile (routines): Add syncfs.
23 * posix/unistd.h: Declare syncfs.
24 * sysdeps/unix/syscalls.list: Add syncfs.
25
00e5419f
AS
Andreas Schwab2011-04-01 13:05:15 -0400262011-04-01 Andreas Schwab <schwab@redhat.com>
27
28 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29 open_by_handle_at.
30 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37
748876bf
UD
Ulrich Drepper2011-04-01 11:15:08 -0400382011-04-01 Ulrich Drepper <drepper@gmail.com>
39
658e451d
UD
Ulrich Drepper2011-04-01 11:46:10 -040040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47
748876bf
UD
Ulrich Drepper2011-04-01 11:15:08 -040048 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49 sync_file_range.c with -fexceptions.
50 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
Ulrich Drepper2011-04-01 11:33:14 -040057 sync_file_range as cancellation point
58 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59 now a wrapper around __call_sync_file_range with cancellation handling.
60 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
62 function name to __call_sync_file_range.
63 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64 Add call_sync_file_range.
748876bf Ulrich Drepper2011-04-01 11:15:08 -040065
6e63d5e1
AS
Andreas Schwab2011-04-01 10:40:53 -0400662011-04-01 Andreas Schwab <schwab@redhat.com>
67
68 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf Ulrich Drepper2011-04-01 11:15:08 -040069 bits/timex.h.
6e63d5e1 Andreas Schwab2011-04-01 10:40:53 -040070
46998f74
UD
Ulrich Drepper2011-04-01 08:22:49 -0400712011-04-01 Ulrich Drepper <drepper@gmail.com>
72
4c1423ed
UD
Ulrich Drepper2011-04-01 10:39:30 -040073 * iconv/iconv.h: Fix typo in comment.
74 * io/fcntl.h: Likewise.
75 * libio/stdio.h: Likewise.
76 * posix/spawn.h: Likewise.
77 * posix/unistd.h: Likewise.
78 * stdlib/stdlib.h: Likewise.
79 * time/time.h: Likewise.
80 * wcsmbs/wchar.h: Likewise.
81
158648c0
UD
Ulrich Drepper2011-04-01 10:33:37 -040082 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83 open_by_handle): Add.
84 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
86 Augment a few comments.
87 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93 open_by_handle.
94
46998f74
UD
Ulrich Drepper2011-04-01 08:22:49 -040095 * io/fcntl.h (AT_EMPTY_PATH): Define.
96
83fe108b
UD
Ulrich Drepper2011-03-30 22:00:57 -0400972011-03-30 Ulrich Drepper <drepper@gmail.com>
98
99 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
100 * sysdeps/unix/sysv/linux/bits/time.h: New file.
101 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
102 to...
103 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
Ulrich Drepper2011-03-31 06:30:18 -0400104 * Versions.def: Add GLIBC_2.14.
105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
106 Export.
83fe108b Ulrich Drepper2011-03-30 22:00:57 -0400107
bb242059
UD
Ulrich Drepper2011-03-22 01:52:43 -04001082011-03-22 Ulrich Drepper <drepper@gmail.com>
109
110 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
111 round counter.
112 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
113
c97a1282
L
H.J. Lu2011-03-21 05:35:38 -04001142011-03-20 H.J. Lu <hongjiu.lu@intel.com>
115
116 [BZ #12597]
117 * string/test-strncmp.c (do_page_test): New function.
118 (check2): Likewise.
119 (test_main): Call check2.
120 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
121
2a115601
UD
Ulrich Drepper2011-03-20 08:14:30 -04001222011-03-20 Ulrich Drepper <drepper@gmail.com>
123
124 [BZ #12587]
125 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
126 Handle cache information in CPU leaf 4.
127 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
128
8126d904
UD
Ulrich Drepper2011-03-18 05:29:20 -04001292011-03-18 Ulrich Drepper <drepper@gmail.com>
130
042c49c6 Ulrich Drepper2011-03-18 05:30:17 -0400131 [BZ #12583]
8126d904
UD
Ulrich Drepper2011-03-18 05:29:20 -0400132 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
133 character representation.
134 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
135
ccfe366e
RA
Ryan S. Arnold2011-03-18 05:15:00 -04001362011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
137
138 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
139 END(__isnan) to END(__isnanf) to match function entry point/label
140 EALIGN(__isnanf,...).
141
c6e13027
JJ
Jakub Jelinek2011-03-10 13:04:08 -05001422011-03-10 Jakub Jelinek <jakub@redhat.com>
143
144 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
145
33f85a3f
UD
Ulrich Drepper2011-03-10 03:18:21 -05001462011-03-10 Ulrich Drepper <drepper@gmail.com>
147
028478fa
UD
Ulrich Drepper2011-03-10 12:51:33 -0500148 [BZ #12510]
149 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
150 copy from the symbol referenced in the relocation to initialize the
151 used variable.
152 Patch by Piotr Bury <pbury@goahead.com>.
153 * elf/Makefile: Add rules to build and tst-unique3.
154 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
155 * elf/tst-unique3.cc: New file.
156 * elf/tst-unique3.h: New file.
157 * elf/tst-unique3lib.cc: New file.
158 * elf/tst-unique3lib2.cc: New file.
159
33f85a3f
UD
Ulrich Drepper2011-03-10 03:18:21 -0500160 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
161
03592fc7
MF
Mike Frysinger2011-03-10 00:38:59 -08001622011-03-10 Mike Frysinger <vapier@gentoo.org>
163
164 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
165 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
166 to _start.
03592fc7 Mike Frysinger2011-03-10 00:38:59 -0800167
6a5ee102
UD
Ulrich Drepper2011-03-06 00:01:50 -05001682011-03-06 Ulrich Drepper <drepper@gmail.com>
169
170 * elf/dl-load.c (_dl_map_object): If we are looking for the first
171 to-be-loaded object along a path to loader is ld.so.
172
7e4ba49c
HJ
Harsha Jagasia2011-03-04 23:30:08 -05001732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
174 Ulrich Drepper <drepper@gmail.com>
175
176 * sysdeps/x86_64/memset.S: After aligning destination, code
177 branches to different locations depending on the value of
178 misalignment, when multiarch is enabled. Fix this.
179
1802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
181
182 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
183 Set _x86_64_preferred_memory_instruction for AMD processsors.
184 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
185 Set bit_Prefer_SSE_for_memop for AMD processors.
186
13a804de
UD
Ulrich Drepper2011-03-04 00:49:46 -05001872011-03-04 Ulrich Drepper <drepper@gmail.com>
188
189 * libio/fmemopen.c (fmemopen): Optimize a bit.
190
9d25c392
AS
Andreas Schwab2011-03-04 00:48:00 -05001912011-03-03 Andreas Schwab <schwab@redhat.com>
192
193 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
194
a5543c6a
RM
Roland McGrath2011-03-03 18:10:40 -08001952011-03-03 Roland McGrath <roland@redhat.com>
196
197 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
198
012d35f7
DM
David S. Miller2011-03-03 13:25:36 -08001992011-02-28 Aurelien Jarno <aurelien@aurel32.net>
200
7e4ba49c Harsha Jagasia2011-03-04 23:30:08 -0500201 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
David S. Miller2011-03-03 13:25:36 -0800202 __bzero_ultra1 instead of __memset_ultra1.
203
4bff6e01
AS
Andreas Schwab2011-02-25 20:49:48 -05002042011-02-23 Andreas Schwab <schwab@redhat.com>
205 Ulrich Drepper <drepper@gmail.com>
206
207 [BZ #12509]
208 * include/link.h (struct link_map): Add l_orig_initfini.
209 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
210 returning unsuccessfully.
211 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
212 close of a file loaded at startup, restore the original l_initfini
213 list.
214 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
215 list, store the pointer.
216 * elf/Makefile ($(objpfx)noload-mem): New rule.
217 (noload-ENV): Define.
218 (tests): Add $(objpfx)noload-mem.
219 * elf/noload.c: Include <memcheck.h>.
220 (main): Call mtrace. Close all opened handles.
221
f2092faf
AS
Andreas Schwab2011-02-25 16:51:24 -05002222011-02-17 Andreas Schwab <schwab@redhat.com>
223
224 [BZ #12454]
225 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
226 dependencies are missing.
227
6c8a2e88
ST
Samuel Thibault2011-02-21 16:53:10 -08002282011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
229
f2092faf Andreas Schwab2011-02-25 16:51:24 -0500230 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
Samuel Thibault2011-02-21 16:53:10 -0800231 Hurd needs munmap.
232 * sysdeps/mach/hurd/ifreq.h: New file.
233
84a42118
PB
Petr Baudis2011-02-20 07:59:49 -05002342011-01-27 Petr Baudis <pasky@suse.cz>
235 Ulrich Drepper <drepper@gmail.com>
236
071f805e Ulrich Drepper2011-02-20 08:00:55 -0500237 [BZ 12445]#
84a42118
PB
Petr Baudis2011-02-20 07:59:49 -0500238 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
239 to extend_alloca().
240 * stdio-common/bug23.c: New file.
241 * stdio-common/Makefile (tests): Add bug23.
242
e23fe25b
AS
Andreas Schwab2011-02-20 07:24:56 -05002432010-09-28 Andreas Schwab <schwab@redhat.com>
244 Ulrich Drepper <drepper@gmail.com>
245
246 [BZ #12489]
247 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
248 before performing relro protection. At old place add assertion
249 to make sure nothing changed.
250
d3f02e10
NS
Nathan Sidwell2011-02-18 11:09:18 -08002512011-02-17 Nathan Sidwell <nathan@codesourcery.com>
252 Glauber de Oliveira Costa <glommer@gmail.com>
253
254 * elf/elf.h: Add new ARM TLS relocs.
255
d55fd7a5
RA
Ryan S. Arnold2011-02-17 01:21:08 -05002562011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
257
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
259 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
260 cast from r3.
261 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
262 'tests' variable.
263 * sysdeps/wordsize-64/tst-writev.c: New file.
264
2206397e
RA
Ryan S. Arnold2011-02-17 00:59:15 -05002652011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
266
267 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
268 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
269 insns in _dl_start to prevent a TOC reference before relocs are
270 resolved.
271
e9433893
UD
Ulrich Drepper2011-02-15 14:52:29 -05002722011-02-15 Ulrich Drepper <drepper@gmail.com>
273
274 [BZ #12469]
275 * Makeconfig: Remove RANLIB definition.
276 * Makerules: Don't use RANLIB.
277 * aclocal.m4: Remove ranlib test.
278 * configure.in: No need to check for ranlib.
279 * elf/rtld-Rules: Don't use RANLIB.
280
f75286c6
ST
Samuel Thibault2011-02-16 14:41:58 -08002812011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
282
8e31c82d
ST
Samuel Thibault2011-02-16 15:16:33 -0800283 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
284 protection macro.
285 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
286 inclusion protection macro.
287
f75286c6
ST
Samuel Thibault2011-02-16 14:41:58 -0800288 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
289 SIGRTMIN and SIGRTMAX and print information in that case only when
290 SIGRTMIN is defined.
291
c1d0e639
JJ
Jakub Jelinek2011-02-15 13:51:48 -05002922011-02-11 Jakub Jelinek <jakub@redhat.com>
293
294 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
295 arginfo fn returning -1.
296
297 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
298 and thousands string is zero terminated.
299
edf9294e
AS
Andreas Schwab2011-02-07 22:48:55 -05003002011-02-03 Andreas Schwab <schwab@redhat.com>
301
302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
303 sysdeps/unix/sysv/linux/bits/socket.h.
304
2b7e92df
ST
Samuel Thibault2011-02-07 10:53:37 -08003052011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
306
edf9294e
AS
Andreas Schwab2011-02-07 22:48:55 -0500307 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
308 (__CPU_COUNT): Remove old macros.
309 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
310 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
311 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
Samuel Thibault2011-02-07 10:53:37 -0800312 (__sched_cpualloc, __sched_cpufree): Add declarations.
313
a4c7ea7b
UD
Ulrich Drepper2011-02-05 20:07:27 -05003142011-02-05 Ulrich Drepper <drepper@gmail.com>
315
316 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
317 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
318 * nscd/aicache.c (addhstaiX): Return timeout of added value.
319 (readdhstai): Return value of addhstaiX call.
320 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
321 (addgrbyX): Return value returned by cache_addgr.
322 (readdgrbyname): Return value returned by addgrbyX.
323 (readdgrbygid): Likewise.
324 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
325 (addpwbyX): Return value returned by cache_addpw.
326 (readdpwbyname): Return value returned by addhstbyX.
327 (readdpwbyuid): Likewise.
328 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
329 (addservbyX): Return value returned by cache_addserv.
330 (readdservbyname): Return value returned by addservbyX:
331 (readdservbyport): Likewise.
332 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
333 (addhstbyX): Return value returned by cache_addhst.
334 (readdhstbyname): Return value returned by addhstbyX.
335 (readdhstbyaddr): Likewise.
336 (readdhstbynamev6): Likewise.
337 (readdhstbyaddrv6): Likewise.
338 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
339 (readdinitgroups): Return value returned by addinitgroupsX.
340 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
341 (prune_cache): Keep track of timeout value of re-added entries.
342 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
343 * nscd/nscd.h: Adjust prototypes of readd* functions.
344
a0bf67cc
RM
Roland McGrath2011-02-04 10:35:15 -08003452011-02-04 Roland McGrath <roland@redhat.com>
346
347 * nis/nis_server.c (nis_servstate): Use the right name for 0.
348 (nis_stats): Likewise.
349 * nis/nis_modify.c (nis_modify): Likewise.
350 * nis/nis_remove.c (nis_remove): Likewise.
351 * nis/nis_add.c (nis_add): Likewise.
352
353 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
354
355 * posix/fnmatch_loop.c: Add some consts.
356
357 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
358
435b95eb
L
H.J. Lu2011-02-02 19:28:44 -05003592011-02-02 H.J. Lu <hongjiu.lu@intel.com>
360
361 [BZ #12460]
362 * config.make.in (config-cflags-novzeroupper): Define.
363 * configure.in: Substitute libc_cv_cc_novzeroupper.
364 * elf/Makefile (AVX-CFLAGS): Define.
365 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
366 (CFLAGS-tst-auditmod4a.c): Likewise.
367 (CFLAGS-tst-auditmod4b.c): Likewise.
368 (CFLAGS-tst-auditmod6b.c): Likewise.
369 (CFLAGS-tst-auditmod6c.c): Likewise.
370 (CFLAGS-tst-auditmod7b.c): Likewise.
371 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
372
8517b15e
UD
Ulrich Drepper2011-02-02 11:50:49 -05003732011-02-02 Ulrich Drepper <drepper@gmail.com>
374
375 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
376 function to the callback.
377 Patch partly by Jiri Olsa <jolsa@redhat.com>.
378
10a656fe
AS
Andreas Schwab2011-02-02 08:59:04 -05003792011-02-02 Andreas Schwab <schwab@redhat.com>
380
381 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
382 of errno.
383
968dad0a
UD
Ulrich Drepper2011-01-19 15:32:35 -05003842011-01-19 Ulrich Drepper <drepper@gmail.com>
385
9f94d2ea Ulrich Drepper2011-01-19 15:36:47 -0500386 [BZ #11724]
968dad0a
UD
Ulrich Drepper2011-01-19 15:32:35 -0500387 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
388 of constructors.
389 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
390 of destructors.
391 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
392
393 [BZ #11724]
394 * elf/Makefile: Add rules to build and run new test.
395 * elf/tst-initorder.c: New file.
396 * elf/tst-initorder.exp: New file.
397 * elf/tst-initordera1.c: New file.
398 * elf/tst-initordera2.c: New file.
399 * elf/tst-initordera3.c: New file.
400 * elf/tst-initordera4.c: New file.
401 * elf/tst-initorderb1.c: New file.
402 * elf/tst-initorderb2.c: New file.
403 * elf/tst-order-a1.c: New file.
404 * elf/tst-order-a2.c: New file.
405 * elf/tst-order-a3.c: New file.
406 * elf/tst-order-a4.c: New file.
407 * elf/tst-order-b1.c: New file.
408 * elf/tst-order-b2.c: New file.
409 * elf/tst-order-main.c: New file.
410 New test case by George Gensure <werkt0@gmail.com>.
411
86e92359
UD
Ulrich Drepper2011-01-19 15:50:05 -05004122010-10-01 Andreas Schwab <schwab@redhat.com>
413
414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
415 decoding ACE if AI_CANONIDN.
416
5d5732b0
UD
Ulrich Drepper2011-01-18 12:30:07 -05004172011-01-18 Ulrich Drepper <drepper@gmail.com>
418
419 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
420
a77e8cbc
UD
Ulrich Drepper2011-01-17 14:21:02 -05004212011-01-17 Ulrich Drepper <drepper@gmail.com>
422
6392473f
UD
Ulrich Drepper2011-01-17 23:34:07 -0500423 * version.h (RELEASE): Bump for 2.13 release.
424 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
425
620a0529
UD
Ulrich Drepper2011-01-17 18:36:39 -0500426 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
427
18ba70a5
UD
Ulrich Drepper2011-01-17 18:35:17 -0500428 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
429 MADV_NOHUGEPAGE.
32465c3e
UD
Ulrich Drepper2011-01-17 18:24:59 -0500430 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
431 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
432 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
433 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
436
c0dafcf1
UD
Ulrich Drepper2011-01-17 15:08:10 -0500437 * posix/getconf.c: Update copyright year.
438 * catgets/gencat.c: Likewise.
439 * csu/version.c: Likewise.
440 * debug/catchsegv.sh: Likewise.
441 * debug/xtrace.sh: Likewise.
442 * elf/ldconfig.c: Likewise.
443 * elf/ldd.bash.in: Likewise.
444 * elf/sprof.c (print_version): Likewise.
445 * iconv/iconv_prog.c: Likewise.
446 * iconv/iconvconfig.c: Likewise.
447 * locale/programs/locale.c: Likewise.
448 * locale/programs/localedef.c: Likewise.
449 * malloc/memusage.sh: Likewise.
450 * malloc/mtrace.pl: Likewise.
451 * nscd/nscd.c (print_version): Likewise.
452 * nss/getent.c: Likewise.
453
a77e8cbc
UD
Ulrich Drepper2011-01-17 14:21:02 -0500454 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
455 PF_CAIF, and PF_ALG.
456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
457
77e8bddf
AS
Andreas Schwab2011-01-16 21:29:41 -05004582011-01-16 Andreas Schwab <schwab@linux-m68k.org>
459
1f20b93a
AS
Andreas Schwab2011-01-16 21:32:07 -0500460 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
461 (modules-names): Use them.
462 (ifunc-test-modules, ifunc-pie-tests): Define.
463 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
464 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
465 (test-extras): Likewise.
466 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
467 $(compile-command.c).
468 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
469 (all-built-dso): Define.
470 (check-textrel.out, check-execstack.out): Depend on it.
471
77e8bddf
AS
Andreas Schwab2011-01-16 21:29:41 -0500472 * configure.in: Don't override --enable-multi-arch.
473
bc425b33
UD
Ulrich Drepper2011-01-15 11:10:11 -05004742011-01-15 Ulrich Drepper <drepper@gmail.com>
475
476 [BZ #6812]
477 * nscd/hstcache.c (tryagain): Define.
478 (cache_addhst): Return tryagain not notfound for temporary errors.
479 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
480 failed.
481
794c3ad3
UD
Ulrich Drepper2011-01-14 08:06:22 -05004822011-01-14 Ulrich Drepper <drepper@gmail.com>
483
70181fdd
UD
Ulrich Drepper2011-01-14 08:42:11 -0500484 [BZ #10563]
485 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
486 to make the syscall.
487 * sysdeps/unix/sysv/linux/setgroups.c: New file.
488
794c3ad3
UD
Ulrich Drepper2011-01-14 08:06:22 -0500489 [BZ #12378]
490 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
491 and fall back to matching as normal character if the string ends before
492 the matching ']' is found. This is what POSIX requires.
493 * posix/testfnm.c: Adjust test result.
494 * posix/globtest.sh: Adjust test result. Add new test.
495 * posix/tst-fnmatch.input: Likewise.
496 * posix/tst-fnmatch2.c: Add new test.
497
68dc9497
AS
Andreas Schwab2011-01-13 16:21:55 -05004982010-12-28 Andreas Schwab <schwab@linux-m68k.org>
499
500 * elf/Makefile (check-execstack): Revert last change. Depend on
501 check-execstack.h.
502 (check-execstack.h): New target.
503 (generated): Add check-execstack.h.
504 * elf/check-execstack.c: Include "check-execstack.h".
505 (main): Revert last change.
506 (handle_file): Return zero if GNU_STACK is absent and
507 DEFAULT_STACK_PERMS doesn't include PF_X.
508
451f001b
UD
Ulrich Drepper2011-01-13 11:28:17 -05005092011-01-13 Ulrich Drepper <drepper@gmail.com>
510
cfa28e56
UD
Ulrich Drepper2011-01-13 13:27:46 -0500511 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
512 in child fails because the descriptor is already closed.
8cf8ce17
UD
Ulrich Drepper2011-01-13 16:21:04 -0500513 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
514 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
515 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 Ulrich Drepper2011-01-13 13:27:46 -0500516
1086d70d
UD
Ulrich Drepper2011-01-13 12:42:06 -0500517 [BZ #12397]
518 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
519 syscall.
520
451f001b
UD
Ulrich Drepper2011-01-13 11:28:17 -0500521 [BZ #10484]
522 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
523 temporary buffer used to handle multi lookups locally.
a85b5cb4 Ulrich Drepper2011-01-13 14:01:56 -0500524 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b Ulrich Drepper2011-01-13 11:28:17 -0500525
08769175
UD
Ulrich Drepper2011-01-12 23:10:00 -05005262011-01-12 Ulrich Drepper <drepper@gmail.com>
527
528 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
529 loader is ld.so.
530
5e49c52e
UD
Ulrich Drepper2011-01-12 20:59:32 -05005312011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
532
533 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
534 alignment for SSE2.
535
60522a5f
UD
Ulrich Drepper2011-01-12 20:58:21 -05005362011-01-12 Ulrich Drepper <drepper@gmail.com>
537
538 [BZ #12394]
539 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
540 characters. When rounding increased number of integer digits recompute
541 number of groups.
542 * stdio-common/tst-grouping.c: New file.
543 * stdio-common/Makefile: Add rules to build and run tst-grouping.
544
f257bbd7
UD
Ulrich Drepper2011-01-09 16:49:17 -05005452011-01-09 Ulrich Drepper <drepper@gmail.com>
546
547 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
548 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
549
550 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
551 void.
552 * bits/select.h: Likewise.
553
fa9c15cb
UD
Ulrich Drepper2011-01-08 09:38:14 -05005542011-01-08 Ulrich Drepper <drepper@gmail.com>
555
556 * po/ja.po: Update from translation team.
557
16c2895f
DM
David S. Miller2011-01-04 12:13:05 -08005582011-01-04 David S. Miller <davem@sunset.davemloft.net>
559
560 [BZ #11155]
561 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
562 implementation just like for lxstat, fxstatat, et al.
563
2543fef2
JM
Jim Meyering2010-12-27 18:19:56 -05005642010-12-27 Jim Meyering <meyering@redhat.com>
565
566 [BZ #12348]
567 * posix/regexec.c (build_trtable): Return failure indication upon
568 calloc failure. Otherwise, re_search_internal could infloop on OOM.
569
98727dbe
UD
Ulrich Drepper2010-12-25 13:56:48 -05005702010-12-25 Ulrich Drepper <drepper@gmail.com>
571
5bd6dc5c
UD
Ulrich Drepper2010-12-25 20:12:27 -0500572 [BZ #12201]
573 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
574 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
575 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
576 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
577
97983464
UD
Ulrich Drepper2010-12-25 14:15:42 -0500578 [BZ #12207]
579 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
580
98727dbe
UD
Ulrich Drepper2010-12-25 13:56:48 -0500581 [BZ #12204]
582 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
583 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
584
4a531bb0
L
H.J. Lu2010-12-24 20:14:37 -05005852010-12-15 H.J. Lu <hongjiu.lu@intel.com>
586
587 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
588 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
589 script has SORT_BY_INIT_PRIORITY.
590 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
591 NO_CTORS_DTORS_SECTIONS is defined.
592 * elf/soinit.c: Likewise.
593 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
594 NO_CTORS_DTORS_SECTIONS is defined.
595 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
596 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
597 * sysdeps/sh/init-first.c: Likewise.
598 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
599
07eb4b71
UD
Ulrich Drepper2010-12-24 19:28:32 -05006002010-12-24 Ulrich Drepper <drepper@gmail.com>
601
602 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
603 always use the slow path.
604
30950a5f
RA
Ryan S. Arnold2010-12-19 22:49:01 -05006052010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
606
607 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
608 similar rule which adds the sysdep directories to the header search in
609 order to pick up the correct platform stackinfo.h.
610 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
611 perform test if it is, otherwise return successfully without testing.
612 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
613 DEFAULT_STACK_PERMS define in stackinfo.h.
614 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
615 defined in stackinfo.h.
616 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
617 DEFAULT_STACK_PERMS defined in stackinfo.h.
618 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
619 * sysdeps/ia64/stackinfo.h: Likewise.
620 * sysdeps/s390/stackinfo.h: Likewise.
621 * sysdeps/sh/stackinfo.h: Likewise.
622 * sysdeps/sparc/stackinfo.h: Likewise.
623 * sysdeps/x86_64/stackinfo.h: Likewise.
624 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
625 PF_X for powerpc64. Retain PF_X for powerpc32.
626
db753e2c
UD
Ulrich Drepper2010-12-19 16:00:59 -05006272010-12-19 Ulrich Drepper <drepper@gmail.com>
628
14b697f7
UD
Ulrich Drepper2010-12-19 22:52:57 -0500629 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
630 accurately.
db753e2c
UD
Ulrich Drepper2010-12-19 16:00:59 -0500631 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
632 GETDENTS_64BIT_ALIGNED.
633
28300719
UD
Ulrich Drepper2010-12-14 13:09:28 -05006342010-12-14 Ulrich Drepper <dreper@gmail.com>
635
14b697f7 Ulrich Drepper2010-12-19 22:52:57 -0500636 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 Ulrich Drepper2010-12-14 13:09:28 -0500637
4f197237
AS
Andreas Schwab2010-12-10 09:15:01 -05006382010-12-10 Andreas Schwab <schwab@redhat.com>
639
dbb0472f
AS
Andreas Schwab2010-12-10 09:16:12 -0500640 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
641 _GNU_SOURCE.
642
4f197237
AS
Andreas Schwab2010-12-10 09:15:01 -0500643 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
644 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
645 Remove __restrict.
646 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
647 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
648
fb88ac72
UD
Ulrich Drepper2010-12-09 12:12:58 -05006492010-12-09 Ulrich Drepper <drepper@gmail.com>
650
651 [BZ #11655]
652 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
653 are initialized.
654
42acbb92
JJ
Jakub Jelinek2010-12-09 10:38:18 -05006552010-12-09 Jakub Jelinek <jakub@redhat.com>
656
657 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
658
c038d98d
UD
Ulrich Drepper2010-12-03 09:49:21 -05006592010-12-03 Ulrich Drepper <drepper@gmail.com>
660
661 * po/it.po: Update from translation team.
662
3a4a2499
L
H.J. Lu2010-12-01 22:18:31 -05006632010-12-01 H.J. Lu <hongjiu.lu@intel.com>
664
665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
666 unused codes.
667
1e24cf6e
UD
Ulrich Drepper2010-11-30 14:57:57 -05006682010-11-30 Ulrich Drepper <drepper@gmail.com>
669
670 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
671
a7690819
AS
Andreas Schwab2010-11-25 20:50:16 -05006722010-11-24 Andreas Schwab <schwab@redhat.com>
673
674 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
675 specially.
676 (gaih_getanswer_slice): Likewise.
677
3bf8d1b1
JJ
Jakub Jelinek2010-11-22 15:38:35 -05006782010-10-20 Jakub Jelinek <jakub@redhat.com>
679
680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
681
6db52fbb
PB
Petr Baudis2010-11-22 12:47:57 -05006822010-05-31 Petr Baudis <pasky@suse.cz>
683
684 [BZ #11149]
685 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
686 silently even in the chroot mode.
687
eaca7569
UD
Ulrich Drepper2010-11-22 11:15:08 -05006882010-11-22 Ulrich Drepper <drepper@gmail.com>
689
690 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
691 last patch a bit. Pretty printing
692
3056dcdb
UD
Ulrich Drepper2010-11-22 11:11:24 -05006932010-05-31 Petr Baudis <pasky@suse.cz>
694
695 [BZ #10085]
696 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
697 initialization of skip_initgroups_dyn.
698
cf7c9078
UD
Ulrich Drepper2010-11-19 09:35:39 -05006992010-11-19 Ulrich Drepper <drepper@gmail.com>
700
701 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
702 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
703
a1fb5e3e
UD
Ulrich Drepper2010-11-16 12:17:04 -05007042010-11-16 Ulrich Drepper <drepper@gmail.com>
705
706 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
707
3540d66b
AS
Andreas Schwab2010-11-12 03:51:28 -05007082010-11-11 Andreas Schwab <schwab@redhat.com>
709
710 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
711 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
712 (tst-fnmatch-ENV): Set MALLOC_TRACE.
713 ($(objpfx)tst-fnmatch-mem): New rule.
714 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
715 * posix/tst-fnmatch.c (main): Call mtrace.
716
13b69574
L
H.J. Lu2010-11-12 03:48:52 -05007172010-11-11 H.J. Lu <hongjiu.lu@intel.com>
718
719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
720 Support Intel processor model 6 and model 0x2c.
721
da93d214
LM
Luis Machado2010-11-10 16:15:05 -05007222010-11-10 Luis Machado <luisgpm@br.ibm.com>
723
724 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
725 signed comparison.
726
8ca52c6e
L
H.J. Lu2010-11-10 03:05:37 -05007272010-11-09 H.J. Lu <hongjiu.lu@intel.com>
728
729 [BZ #12205]
730 * string/test-strncasecmp.c (check_result): New function.
731 (do_one_test): Use it.
732 (check1): New function.
733 (test_main): Use it.
734 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
735 Support strcasecmp and strncasecmp.
736
69da074d
UD
Ulrich Drepper2010-11-10 02:38:35 -05007372010-11-08 Ulrich Drepper <drepper@gmail.com>
738
739 [BZ #12194]
740 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
742
ff02d528
L
H.J. Lu2010-11-08 03:41:34 -05007432010-11-07 H.J. Lu <hongjiu.lu@intel.com>
744
745 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
746 IFUNC support.
747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
748 memset-x86-64.
749 * sysdeps/x86_64/multiarch/bzero.S: New file.
750 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
751 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
752 * sysdeps/x86_64/multiarch/memset.S: New file.
753 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
755 Set bit_Prefer_SSE_for_memop for Intel processors.
756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
757 Define.
758 (index_Prefer_SSE_for_memop): Define.
759 (HAS_PREFER_SSE_FOR_MEMOP): Define.
760
344d0b54
LM
Luis Machado2010-11-05 08:01:13 -04007612010-11-04 Luis Machado <luisgpm@br.ibm.com>
762
763 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
764 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
765
c0dde15b
UD
Ulrich Drepper2010-11-05 07:57:46 -04007662010-11-03 H.J. Lu <hongjiu.lu@intel.com>
767
768 [BZ #12191]
769 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
770 (__x86_64_raw_data_cache_size_half): Likewise.
771 (__x86_64_raw_shared_cache_size): Likewise.
772 (__x86_64_raw_shared_cache_size_half): Likewise.
773
774 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
775 (__x86_64_raw_data_cache_size_half): Likewise.
776 (__x86_64_raw_shared_cache_size): Likewise.
777 (__x86_64_raw_shared_cache_size_half): Likewise.
778 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
779 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
780 and __x86_64_raw_shared_cache_size_half. Round
781 __x86_64_data_cache_size_half, __x86_64_data_cache_size
782 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
783 to multiple of 256 bytes.
784
0e516e0e
MS
Miklos Szeredi2010-11-03 00:25:45 -04007852010-11-03 Ulrich Drepper <drepper@gmail.com>
786
787 [BZ #12167]
788 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
789 of inacessible symlinks. Verify result of symlink before returning it.
790 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
791 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
792
0e012e87
ER
Erich Ritz2010-11-01 14:50:24 -04007932010-10-28 Erich Ritz <erichritz@gmail.com>
794
795 * math/math.h (isinf): Fix typo in comment.
796
de0ff7bc
UD
Ulrich Drepper2010-11-01 14:27:55 -04007972010-11-01 Ulrich Drepper <drepper@gmail.com>
798
799 * po/da.po: Update from translation team.
800
fa41c84d
UD
Ulrich Drepper2010-10-26 13:01:46 -04008012010-10-26 Ulrich Drepper <drepper@gmail.com>
802
803 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
804 is added to the list.
805
f0967738
AK
Andreas Krebbel2010-10-26 00:23:14 -04008062010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
807 Ulrich Drepper <drepper@gmail.com>
808
809 * elf/dl-object.c (_dl_new_object): Don't append the new object to
810 the global list here. Move code to...
811 (_dl_add_to_namespace_list): ...here. New function.
812 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
813 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
814 * elf/dl-load.c (lose): Don't remove the element from the list.
815 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
816 (_dl_map_object): Likewise.
817
8182010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
Richard Li2010-10-25 14:13:17 -0400819
820 [BZ #12159]
821 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
822 into all bytes of SSE register.
823 Patch by Richard Li <richardpku@gmail.com>.
824
f0967738 Andreas Krebbel2010-10-26 00:23:14 -04008252010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
Ulrich Drepper2010-10-24 22:37:00 -0400826
827 [BZ #12140]
828 * malloc/malloc.c (_int_free): Fill correct number of bytes when
829 perturbing.
830
d0b9e94f
MB
Michael B. Brutman2010-10-24 21:47:33 -04008312010-10-20 Michael B. Brutman <brutman@us.ibm.com>
832
833 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
834 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
835 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
836 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
838 submachine.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
840
8e9f92e9
AS
Andreas Schwab2010-10-24 21:43:15 -04008412010-10-22 Andreas Schwab <schwab@redhat.com>
842
843 * include/dlfcn.h (__RTLD_SECURE): Define.
844 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
845 mode & __RTLD_SECURE instead.
846 (open_path): Rename preloaded parameter to secure.
847 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
848 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
849 * elf/dl-deps.c (openaux): Likewise.
850 * elf/rtld.c (struct map_args): Remove is_preloaded.
851 (map_doit): Don't use it.
852 (dl_main): Likewise.
853 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
854 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
855
bc96fbda
AS
Andreas Schwab2010-10-24 21:42:39 -04008562010-09-09 Andreas Schwab <schwab@redhat.com>
857
858 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
859 (sysd-rules-targets): Remove duplicates.
860 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
861 rtld-%.$o dependency.
862
22cd1c9b
AS
Andreas Schwab2010-10-24 20:40:14 -04008632010-10-18 Andreas Schwab <schwab@redhat.com>
864
865 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
866 _dl_map_object do it.
867
18edac48
UD
Ulrich Drepper2010-10-19 12:56:42 -04008682010-10-19 Ulrich Drepper <drepper@gmail.com>
869
870 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
871 fast fma builtins, define the macros in the C99 standard.
872 (FP_FAST_FMAF): Likewise.
873 (FP_FAST_FMAL): Likewise.
874 * sysdeps/x86_64/bits/mathdef.h: Likewise.
875
876 * bits/mathdef.h: Update copyright year.
877 * sysdeps/powerpc/bits/mathdef.h: Likewise.
878
d2050124
MM
Michael Meissner2010-10-19 12:49:05 -04008792010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
880
881 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
882 builtins, define the macros in the C99 standard.
883 (FP_FAST_FMAF): Likewise.
884 (FP_FAST_FMAL): Likewise.
885 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
886 multiply/add.
887 (FP_FAST_FMAF): Likewise.
888
475facd1
JJ
Jakub Jelinek2010-10-15 15:27:16 -04008892010-10-15 Jakub Jelinek <jakub@redhat.com>
890
891 [BZ #3268]
892 * math/libm-test.inc (fma_test): Some new testcases.
893 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
894 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
895 y and infinite z. Do multiplication by C already in long double.
896 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
898 y and infinite z. Do bitwise or of inexact bit into u.d.
899 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
900 * sysdeps/i386/fpu/s_fmaf.S: Removed.
901 * sysdeps/i386/fpu/s_fma.S: Removed.
902 * sysdeps/i386/fpu/s_fmal.S: Removed.
903
7c08a05c
JJ
Jakub Jelinek2010-10-18 07:29:50 -04009042010-10-16 Jakub Jelinek <jakub@redhat.com>
905
906 [BZ #3268]
907 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
909 computation is not scheduled after fetestexcept. Fix value
910 of minimum denormal long double.
911
f3f7372d
JJ
Jakub Jelinek2010-10-15 15:25:14 -04009122010-10-14 Jakub Jelinek <jakub@redhat.com>
913
914 [BZ #3268]
915 * math/libm-test.inc (fma_test): Add some more tests.
916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
917 correctly.
918
14d43591
AS
Andreas Schwab2010-10-15 07:29:38 -04009192010-10-15 Andreas Schwab <schwab@redhat.com>
920
921 * scripts/data/localplt-s390-linux-gnu.data: New file.
922 * scripts/data/localplt-s390x-linux-gnu.data: New file.
923
5e908464
JJ
Jakub Jelinek2010-10-13 22:27:03 -04009242010-10-13 Jakub Jelinek <jakub@redhat.com>
925
926 [BZ #3268]
927 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
928 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
929 instead of dbl-64.
930 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
931 inlines.
932 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
934 if one of x and y is very large and the other is subnormal.
935 * sysdeps/s390/fpu/s_fmaf.c: New file.
936 * sysdeps/s390/fpu/s_fma.c: New file.
937 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
938 * sysdeps/powerpc/fpu/s_fma.S: New file.
939 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
940 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
941 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
942
9432010-10-12 Jakub Jelinek <jakub@redhat.com>
944
945 [BZ #3268]
946 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
947 fma tests.
948 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
949 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
950 * sysdeps/i386/i686/multiarch/s_fma.c: Include
951 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
952 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
953 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
954 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
955
b833d51f
UD
Ulrich Drepper2010-10-12 09:00:33 -04009562010-10-12 Ulrich Drepper <drepper@redhat.com>
957
958 [BZ #12078]
959 * posix/regcomp.c (parse_branch): One more memory leak plugged.
960 * posix/bug-regex31.input: Add test case.
961
1751705d
UD
Ulrich Drepper2010-10-11 09:38:00 -04009622010-10-11 Ulrich Drepper <drepper@gmail.com>
963
e9b9cbf5
UD
Ulrich Drepper2010-10-11 22:46:44 -0400964 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
965 * posix/bug-regex31.input: New file.
966
967 [BZ #12078]
968 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
969 (parse_sub_exp): Fix last change, use postorder.
970
ef06edbe
UD
Ulrich Drepper2010-10-11 12:34:53 -0400971 * posix/bug-regex31.c: New file.
972 * posix/Makefile: Add rules to build and run bug-regex31.
973
a129c80d
UD
Ulrich Drepper2010-10-11 11:46:22 -0400974 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
975
976 [BZ #12078]
977 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
978
b76b818e
UD
Ulrich Drepper2010-10-11 10:58:31 -0400979 [BZ #12108]
980 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
981 to have entries in sys_siglist.
982
1751705d
UD
Ulrich Drepper2010-10-11 09:38:00 -0400983 [BZ #12093]
984 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
985 be NULL.
986
9ff8d36f
JJ
Jakub Jelinek2010-10-11 09:27:05 -04009872010-10-07 Jakub Jelinek <jakub@redhat.com>
988
989 [BZ #3268]
990 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
991 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
992 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
993 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
994 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
995 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
996 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
997 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
998 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
999 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
1000 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
1001 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
1002 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1003 * math/ftestexcept.c (fetestexcept): Likewise.
1004 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
1005 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1006 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1007 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
1008 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
1009 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
1010 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1011
af325969
UD
Ulrich Drepper2010-10-11 09:10:41 -040010122010-10-11 Ulrich Drepper <drepper@gmail.com>
1013
c579b202 Ulrich Drepper2010-10-11 09:19:36 -04001014 [BZ #12107]
af325969
UD
Ulrich Drepper2010-10-11 09:10:41 -04001015 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
1016 newline.
1017
67a67b95
UD
Ulrich Drepper2010-10-06 13:48:51 -040010182010-10-06 Ulrich Drepper <drepper@gmail.com>
1019
1020 * string/bug-strstr1.c: New file.
1021 * string/Makefile: Add rules to build and run bug-strstr1.
1022
5fb308bc
EB
Eric Blake2010-10-06 13:48:07 -040010232010-10-05 Eric Blake <eblake@redhat.com>
1024
1025 [BZ #12092]
1026 * string/str-two-way.h (two_way_long_needle): Always clear memory
1027 when skipping input due to the shift table.
1028
45db99c7
UD
Ulrich Drepper2010-10-03 22:10:30 -040010292010-10-03 Ulrich Drepper <drepper@gmail.com>
1030
3b111893
UD
Ulrich Drepper2010-10-03 22:27:21 -04001031 [BZ #12005]
1032 * malloc/mcheck.c: Handle large requests.
1033
45db99c7
UD
Ulrich Drepper2010-10-03 22:10:30 -04001034 [BZ #12077]
1035 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
1036 for strncmp and strncasecmp.
1037 * string/stratcliff.c: Add tests for strcmp and strncmp.
1038 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
1039
cf7a1eb8
NI
Nobuhiro Iwamatsu2010-10-01 19:40:36 -040010402010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1041
1042 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
1043 __set_fpscr.
1044
6484ba5e
AJ
Andreas Jaeger2010-10-01 10:49:47 -040010452010-09-30 Andreas Jaeger <aj@suse.de>
1046
1047 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
1048 (CGROUP_SUPER_MAGIC): Define.
1049 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1050 Handle btrfs and cgroup file systems.
1051 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1052 Likewise.
1053
91c42559
LM
Luis Machado2010-09-29 12:21:14 -040010542010-09-27 Luis Machado <luisgpm@br.ibm.com>
1055
1056 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
1057 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
1058
87a97932
AK
Andreas Krebbel2010-09-29 11:31:42 -040010592010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1060
1061 [BZ #12067]
1062 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
1063 trying to locate the ELF header.
1064
c21cc9bc
AS
Andreas Schwab2010-09-27 22:34:21 -040010652010-09-27 Andreas Schwab <schwab@redhat.com>
1066
1067 [BZ #11611]
1068 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
1069 Mask out sign-bit copies when constructing f_fsid.
1070
315970f6
PB
Petr Baudis2010-09-25 03:06:00 +020010712010-09-24 Petr Baudis <pasky@suse.cz>
1072
1073 * debug/stack_chk_fail_local.c: Add missing licence exception.
1074 * debug/warning-nop.c: Likewise.
1075
1ac7a2c7
JM
Joseph Myers2010-09-21 14:02:08 -070010762010-09-15 Joseph Myers <joseph@codesourcery.com>
1077
1078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
1079 implementing getdents64 using getdents syscall, set d_type if
1080 __ASSUME_GETDENTS32_D_TYPE.
1081
56801c50
AS
Andreas Schwab2010-09-21 13:52:12 -070010822010-09-16 Andreas Schwab <schwab@redhat.com>
1083
1084 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
1085 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
1086
dda51327
UD
Ulrich Drepper2010-09-21 11:01:10 -070010872010-09-21 Ulrich Drepper <drepper@redhat.com>
1088
1089 [BZ #12037]
1090 * posix/unistd.h: Undo change of feature selection for ftruncate from
1091 2010-01-11.
1092
8ffcee4a
UD
Ulrich Drepper2010-09-20 14:02:23 -070010932010-09-20 Ulrich Drepper <drepper@redhat.com>
1094
a545ecd9 Ulrich Drepper2010-09-20 23:09:06 -07001095 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
Ulrich Drepper2010-09-20 14:02:23 -07001096 detection.
1097
e24f0a8b
AS
Andreas Schwab2010-09-20 06:58:15 -070010982010-09-20 Andreas Schwab <schwab@redhat.com>
1099
1100 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1101 fanotify_mark.
1102 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1103
7291c56f
AS
Andreas Schwab2010-09-15 07:38:19 -070011042010-09-14 Andreas Schwab <schwab@redhat.com>
1105
1106 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
1107 variables after CHECK_SP call.
1108 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
1109
bc5fb037
AS
Andreas Schwab2010-09-15 07:20:57 -070011102010-09-13 Andreas Schwab <schwab@redhat.com>
1111 Ulrich Drepper <drepper@redhat.com>
1112
1113 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
1114 re-relocationg ld.so.
1115 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
1116 _dl_init_paths call.
1117 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
1118 here anymore.
1119
e66e7419
UD
Ulrich Drepper2010-09-14 00:01:42 -070011202010-09-14 Ulrich Drepper <drepper@redhat.com>
1121
1122 * resolv/res_init.c (__res_vinit): Count the default server we added.
1123
c044aa75
CLT
Chung-Lin Tang2010-09-08 15:49:50 -070011242010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
1125 Ulrich Drepper <drepper@redhat.com>
1126
1127 [BZ #11968]
1128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1129 (____longjmp_chk): Use %ebx for saving value across system call.
1130 Add unwind info.
1131
32cf4069
AS
Andreas Schwab2010-09-06 14:55:59 +020011322010-09-06 Andreas Schwab <schwab@redhat.com>
1133
1134 * manual/Makefile: Don't mix pattern rules with normal rules.
1135
817328ee
AS
Andreas Schwab2010-07-18 14:51:45 +020011362010-09-05 Andreas Schwab <schwab@linux-m68k.org>
1137
1138 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
1139 operation.
1140 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1141 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1142 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1143 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1144 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1145 Likewise.
1146
29fddf61
UD
Ulrich Drepper2010-09-04 12:48:31 -070011472010-09-04 Ulrich Drepper <drepper@redhat.com>
1148
1149 [BZ #11979]
1150 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
1151 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
1152
0959ffc9
UD
Ulrich Drepper2010-09-02 23:36:25 -070011532010-09-02 Ulrich Drepper <drepper@redhat.com>
1154
1155 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
1156 * sysdeps/x86_64/addmul_1.S: Likewise.
1157 * sysdeps/x86_64/lshift.S: Likewise.
1158 * sysdeps/x86_64/mul_1.S: Likewise.
1159 * sysdeps/x86_64/rshift.S: Likewise.
1160 * sysdeps/x86_64/sub_n.S: Likewise.
1161 * sysdeps/x86_64/submul_1.S: Likewise.
1162
ece29840
ST
Samuel Thibault2010-09-01 18:11:31 -070011632010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
1164
0959ffc9
UD
Ulrich Drepper2010-09-02 23:36:25 -07001165 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
1166 Define __sched_param instead of SCHED_* and sched_param when
ece29840 Samuel Thibault2010-09-01 18:11:31 -07001167 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 Ulrich Drepper2010-09-02 23:36:25 -07001168 * bits/sched.h [__need_schedparam]
ece29840 Samuel Thibault2010-09-01 18:11:31 -07001169 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
Ulrich Drepper2010-09-02 23:36:25 -07001170 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
1171 (__defined_schedparam): Define to 1.
ece29840
ST
Samuel Thibault2010-09-01 18:11:31 -07001172 (__sched_param): New structure, identical to sched_param.
1173 (__need_schedparam): Undefine.
1174
e53a31fe
MF
Mike Frysinger2010-09-01 12:42:48 -070011752010-08-31 Mike Frysinger <vapier@gentoo.org>
1176
fdc0c10d
MF
Mike Frysinger2010-09-01 12:45:02 -07001177 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
1178 (epoll_create1): Declare.
1179
e53a31fe
MF
Mike Frysinger2010-09-01 12:42:48 -07001180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
1181
a726d796
AS
Andreas Schwab2010-09-01 12:38:44 -070011822010-08-31 Andreas Schwab <schwab@redhat.com>
1183
1184 [BZ #7066]
1185 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
1186 shifting retval into place.
1187
2f3e3dc7
UD
Ulrich Drepper2010-09-01 04:12:55 -070011882010-09-01 Ulrich Drepper <drepper@redhat.com>
1189
f2933da9
UD
Ulrich Drepper2010-09-01 05:10:04 -07001190 * nis/rpcsvc/nis.h: Update copyright notice.
1191 * nis/rpcsvc/nis.x: Likewise.
1192 * nis/rpcsvc/nis_callback.h: Likewise.
1193 * nis/rpcsvc/nis_callback.x: Likewise.
1194 * nis/rpcsvc/nis_object.x: Likewise.
1195 * nis/rpcsvc/nis_tags.h: Likewise.
1196 * nis/rpcsvc/yp.h: Likewise.
1197 * nis/rpcsvc/yp.x: Likewise.
1198 * nis/rpcsvc/ypupd.h: Likewise.
1199 * nis/yp_xdr.c: Likewise.
1200 * nis/ypupdate_xdr.c: Likewise.
1201
2f3e3dc7
UD
Ulrich Drepper2010-09-01 04:12:55 -07001202 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
1203 mainly the body of pmap_getport. Add parameters to specify timeouts.
1204 (pmap_getport): Use __libc_rpc_getport.
1205 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
1206 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
1207 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
1208
f3dcc2f9
AS
Andreas Schwab2010-08-14 18:06:10 +020012092010-08-31 Andreas Schwab <schwab@linux-m68k.org>
1210
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
1212 fanotify_mark.
1213
6d34eb5b
RM
Roland McGrath2010-08-27 17:11:38 -070012142010-08-27 Roland McGrath <roland@redhat.com>
1215
1216 * sysdeps/i386/i686/multiarch/Makefile
1217 (CFLAGS-varshift.c): New variable.
1218
9ea3de11
UD
Ulrich Drepper2010-08-26 22:17:03 -070012192010-08-27 Ulrich Drepper <drepper@redhat.com>
1220
c96d23fc
UD
Ulrich Drepper2010-08-27 12:10:11 -07001221 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
1222 * sysdeps/i386/i686/multiarch/varshift.c: New file.
1223
9ea3de11
UD
Ulrich Drepper2010-08-26 22:17:03 -07001224 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
1225
1226 * sysdeps/x86_64/strlen.S: Minimal code improvement.
1227
623aac7f
L
H.J. Lu2010-08-26 22:09:34 -070012282010-08-26 H.J. Lu <hongjiu.lu@intel.com>
1229
1230 * sysdeps/x86_64/strlen.S: Unroll the loop.
1231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1232 strlen-sse2 strlen-sse2-bsf.
1233 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
1234 __strlen_no_bsf if bit_Slow_BSF is set.
1235 (__strlen_sse42): Removed.
1236 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
1237 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
1238
8b2b7715
RM
Roland McGrath2010-08-25 12:13:08 -070012392010-08-25 Roland McGrath <roland@redhat.com>
1240
1241 * sysdeps/x86_64/multiarch/varshift.S: File removed.
1242 * sysdeps/x86_64/multiarch/varshift.c: New file.
1243 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
1244 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
1245 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
1246 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1247
e73015f2
L
H.J. Lu2010-08-25 10:07:37 -070012482010-08-25 H.J. Lu <hongjiu.lu@intel.com>
1249
1250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1251 strlen-sse2 strlen-sse2-bsf.
1252 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
1253 __strlen_sse2_bsf if bit_Slow_BSF is unset.
1254 (__strlen_sse2): Removed.
1255 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
1256 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
1257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1258 bit_Slow_BSF for Atom.
1259 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
1260 (index_Slow_BSF): Define.
1261 (HAS_SLOW_BSF): Define.
1262
df24a73e
UD
Ulrich Drepper2010-08-25 07:43:53 -070012632010-08-25 Ulrich Drepper <drepper@redhat.com>
1264
1265 [BZ #10851]
1266 * resolv/res_init.c (__res_vinit): When no server address at all
1267 is given default to loopback.
1268
f2ac4868
RM
Roland McGrath2010-08-24 11:52:12 -070012692010-08-24 Roland McGrath <roland@redhat.com>
1270
09055553
RM
Roland McGrath2010-08-24 11:55:53 -07001271 * configure.in: Remove config-name.h generation.
1272 * configure: Regenerated.
1273 * config-name.in: File removed.
1274 * scripts/config-uname.sh: New file.
1275 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
1276 ($(objdir)config-name.h): New target.
1277
f2ac4868
RM
Roland McGrath2010-08-24 11:52:12 -07001278 * sunrpc/rpc_parse.h: Avoid nested comment.
1279
73f27d5e
RH
Richard Henderson2010-08-24 11:35:01 -070012802010-08-24 Richard Henderson <rth@redhat.com>
1281 Ulrich Drepper <drepper@redhat.com>
1282 H.J. Lu <hongjiu.lu@intel.com>
1283
1284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
1285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
1286 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
1287 Replace _mm_srli_si128 with __m128i_shift_right. Replace
1288 _mm_alignr_epi8 with _mm_loadu_si128.
1289 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
1290 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
1291 (__m128i_shift_right): Removed.
1292 * sysdeps/i386/i686/multiarch/varshift.h: New file.
1293 * sysdeps/i386/i686/multiarch/varshift.S: New file.
1294 * sysdeps/x86_64/multiarch/varshift.h: New file.
1295 * sysdeps/x86_64/multiarch/varshift.S: New file.
1296
84b9230c
MF
Mike Frysinger2010-08-23 07:51:49 -070012972010-08-21 Mike Frysinger <vapier@gentoo.org>
1298
1299 * configure.in: Move assembler checks to before sysdep dir checking.
1300
9bbd0ddc
PB
Petr Baudis2010-08-23 05:53:52 -070013012010-08-20 Petr Baudis <pasky@suse.cz>
1302
1303 * LICENSES: Sync the sunrpc license.
1304
9da4bb31
UD
Ulrich Drepper2010-08-19 09:20:44 -070013052010-08-19 Ulrich Drepper <drepper@redhat.com>
1306
a7ab6ec8
UD
Ulrich Drepper2010-08-19 10:38:55 -07001307 * sunrpc/auth_des.c: Update copyright notice once again.
1308 * sunrpc/auth_none.c: Likewise.
1309 * sunrpc/auth_unix.c: Likewise.
1310 * sunrpc/authdes_prot.c: Likewise.
1311 * sunrpc/authuxprot.c: Likewise.
1312 * sunrpc/bindrsvprt.c: Likewise.
1313 * sunrpc/clnt_gen.c: Likewise.
1314 * sunrpc/clnt_perr.c: Likewise.
1315 * sunrpc/clnt_raw.c: Likewise.
1316 * sunrpc/clnt_simp.c: Likewise.
1317 * sunrpc/clnt_tcp.c: Likewise.
1318 * sunrpc/clnt_udp.c: Likewise.
1319 * sunrpc/clnt_unix.c: Likewise.
1320 * sunrpc/des_crypt.c: Likewise.
1321 * sunrpc/des_soft.c: Likewise.
1322 * sunrpc/get_myaddr.c: Likewise.
1323 * sunrpc/getrpcport.c: Likewise.
1324 * sunrpc/key_call.c: Likewise.
1325 * sunrpc/key_prot.c: Likewise.
1326 * sunrpc/openchild.c: Likewise.
1327 * sunrpc/pm_getmaps.c: Likewise.
1328 * sunrpc/pm_getport.c: Likewise.
1329 * sunrpc/pmap_clnt.c: Likewise.
1330 * sunrpc/pmap_prot.c: Likewise.
1331 * sunrpc/pmap_prot2.c: Likewise.
1332 * sunrpc/pmap_rmt.c: Likewise.
1333 * sunrpc/rpc/auth.h: Likewise.
1334 * sunrpc/rpc/auth_unix.h: Likewise.
1335 * sunrpc/rpc/clnt.h: Likewise.
1336 * sunrpc/rpc/des_crypt.h: Likewise.
1337 * sunrpc/rpc/key_prot.h: Likewise.
1338 * sunrpc/rpc/netdb.h: Likewise.
1339 * sunrpc/rpc/pmap_clnt.h: Likewise.
1340 * sunrpc/rpc/pmap_prot.h: Likewise.
1341 * sunrpc/rpc/pmap_rmt.h: Likewise.
1342 * sunrpc/rpc/rpc.h: Likewise.
1343 * sunrpc/rpc/rpc_des.h: Likewise.
1344 * sunrpc/rpc/rpc_msg.h: Likewise.
1345 * sunrpc/rpc/svc.h: Likewise.
1346 * sunrpc/rpc/svc_auth.h: Likewise.
1347 * sunrpc/rpc/types.h: Likewise.
1348 * sunrpc/rpc/xdr.h: Likewise.
1349 * sunrpc/rpc_clntout.c: Likewise.
1350 * sunrpc/rpc_cmsg.c: Likewise.
1351 * sunrpc/rpc_common.c: Likewise.
1352 * sunrpc/rpc_cout.c: Likewise.
1353 * sunrpc/rpc_dtable.c: Likewise.
1354 * sunrpc/rpc_hout.c: Likewise.
1355 * sunrpc/rpc_main.c: Likewise.
1356 * sunrpc/rpc_parse.c: Likewise.
1357 * sunrpc/rpc_parse.h: Likewise.
1358 * sunrpc/rpc_prot.c: Likewise.
1359 * sunrpc/rpc_sample.c: Likewise.
1360 * sunrpc/rpc_scan.c: Likewise.
1361 * sunrpc/rpc_scan.h: Likewise.
1362 * sunrpc/rpc_svcout.c: Likewise.
1363 * sunrpc/rpc_tblout.c: Likewise.
1364 * sunrpc/rpc_util.c: Likewise.
1365 * sunrpc/rpc_util.h: Likewise.
1366 * sunrpc/rpcinfo.c: Likewise.
1367 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
1368 * sunrpc/rpcsvc/key_prot.x: Likewise.
1369 * sunrpc/rpcsvc/klm_prot.x: Likewise.
1370 * sunrpc/rpcsvc/mount.x: Likewise.
1371 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
1372 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
1373 * sunrpc/rpcsvc/rex.x: Likewise.
1374 * sunrpc/rpcsvc/rstat.x: Likewise.
1375 * sunrpc/rpcsvc/rusers.x: Likewise.
1376 * sunrpc/rpcsvc/sm_inter.x: Likewise.
1377 * sunrpc/rpcsvc/spray.x: Likewise.
1378 * sunrpc/rpcsvc/yppasswd.x: Likewise.
1379 * sunrpc/rtime.c: Likewise.
1380 * sunrpc/svc.c: Likewise.
1381 * sunrpc/svc_auth.c: Likewise.
1382 * sunrpc/svc_authux.c: Likewise.
1383 * sunrpc/svc_raw.c: Likewise.
1384 * sunrpc/svc_run.c: Likewise.
1385 * sunrpc/svc_simple.c: Likewise.
1386 * sunrpc/svc_tcp.c: Likewise.
1387 * sunrpc/svc_udp.c: Likewise.
1388 * sunrpc/svc_unix.c: Likewise.
1389 * sunrpc/svcauth_des.c: Likewise.
1390 * sunrpc/xcrypt.c: Likewise.
1391 * sunrpc/xdr.c: Likewise.
1392 * sunrpc/xdr_array.c: Likewise.
1393 * sunrpc/xdr_float.c: Likewise.
1394 * sunrpc/xdr_mem.c: Likewise.
1395 * sunrpc/xdr_rec.c: Likewise.
1396 * sunrpc/xdr_ref.c: Likewise.
1397 * sunrpc/xdr_sizeof.c: Likewise.
1398 * sunrpc/xdr_stdio.c: Likewise.
1399
9da4bb31
UD
Ulrich Drepper2010-08-19 09:20:44 -07001400 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
1401 handling.
1402
bdaa77bc
AS
Andreas Schwab2010-08-19 07:42:16 -070014032010-08-19 Andreas Schwab <schwab@redhat.com>
1404
1405 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
1406
fe2f79db
LM
Luis Machado2010-08-19 07:38:41 -070014072010-08-19 Luis Machado <luisgpm@br.ibm.com>
1408
1409 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
1410 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
1411 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
1412 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
1413 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
1414 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
1415 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
1416 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
1417 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
1418 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
1419 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
1420 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
1421 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
1422 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
1423
b9b42ee0
AB
Anton Blanchard2010-08-16 23:06:55 -070014242010-07-26 Anton Blanchard <anton@samba.org>
1425
1426 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
1427 * malloc/arena.c (heap_trim): Likewise.
1428
1c06ba31
UD
Ulrich Drepper2010-08-16 07:06:38 -070014292010-08-16 Ulrich Drepper <drepper@redhat.com>
1430
1431 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
1432 here. Not...
1433 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
1434 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
1435
f8392f40
L
H.J. Lu2010-08-15 20:09:23 -070014362010-08-12 H.J. Lu <hongjiu.lu@intel.com>
1437
1438 * sysdeps/i386/elf/Makefile: New file.
1439
3162f12e
AS
Andreas Schwab2010-08-15 20:07:32 -070014402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1441
1442 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
1443 from fanotify_init.
1444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1446
28c90b2c
UD
Ulrich Drepper2010-08-15 17:42:12 -070014472010-08-15 Ulrich Drepper <drepper@redhat.com>
1448
1449 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
1450 of strncasecmp_l.
1feccb6c Ulrich Drepper2010-08-15 20:46:09 -07001451 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c Ulrich Drepper2010-08-15 17:42:12 -07001452
ca6bb004
UD
Ulrich Drepper2010-08-14 14:56:32 -070014532010-08-14 Ulrich Drepper <drepper@redhat.com>
1454
e9f82e0d
UD
Ulrich Drepper2010-08-14 22:04:01 -07001455 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1456 strncase_l-nonascii.
1457 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1458 Add strncase_l-ssse3.
1459 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
1460 * sysdeps/x86_64/strcmp.S: Likewise.
1461 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
1462 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
1463 * sysdeps/x86_64/strncase.S: New file.
1464 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
1465 * sysdeps/x86_64/strncase_l.S: New file.
1466 * string/Makefile (strop-tests): Add strncasecmp.
1467 * string/test-strncasecmp.c: New file.
1468
1469 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
1470 warning.
1471
ca6bb004
UD
Ulrich Drepper2010-08-14 14:56:32 -07001472 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
1473 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
1474
052fa7b3
AS
Andreas Schwab2010-08-14 13:16:04 +020014752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1476
1477 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
1478
962dba78
UD
Ulrich Drepper2010-08-12 20:39:44 -070014792010-08-12 Ulrich Drepper <drepper@redhat.com>
1480
1481 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
1482 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1483 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1484
bebff237
AM
Alan Modra2010-08-12 09:19:19 -070014852010-05-01 Alan Modra <amodra@gmail.com>
1486
1487 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
1488 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
1489 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
1490 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
1491 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
1492 tidying. Don't tail-call __sigjmp_save for static lib.
1493 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
1494 save location.
1495 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
1496 (CALL_MCOUNT): Add eh info, and nop after bl.
1497 (TAIL_CALL_SYSCALL_ERROR): New macro.
1498 (PSEUDO_RET): Use it.
1499 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1500 Correct save location of integer regs and cr.
1501 (_dl_profile_resolve): Correct cr save location. Delete nops
1502 after bl when SHARED. Reduce cfi size a little by better
1503 placement of cfi directives.
1504 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
1505 make a stack frame. Instead use parm save area as a temp.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
1507 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1509 Don't make a stack frame for parent, use parm save area.
1510 Increase child stack frame to 112 bytes. Don't save unused reg,
1511 and adjust reg usage. Set up cfi on error recovery and
1512 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1514 (__makecontext): Add dummy nop after jump to exit.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
1516 Use correct parm save area and cr save, reduce stack frame.
1517 Correct cfi for possible PSEUDO_RET frame setup.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
1519 Branch to local label emitted by PSEUDO_RET rather than
1520 __syscall_error.
1521
02637374
AS
Andreas Schwab2010-08-12 09:05:50 -070015222010-08-12 Andreas Schwab <schwab@redhat.com>
1523
1524 [BZ #11904]
1525 * locale/programs/locale.c (print_assignment): New function.
1526 (show_locale_vars): Use it.
1527
c3e2f19b
UD
Ulrich Drepper2010-08-11 07:25:02 -070015282010-08-11 Ulrich Drepper <drepper@redhat.com>
1529
3cdaa6ad
UD
Ulrich Drepper2010-08-11 14:07:28 -07001530 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
1531 field.
1532 (struct statfs64): Likewise.
1533 (_STATFS_F_FLAGS): Define.
1534 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
1535 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1536 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
1537 (ST_VALID): Define locally.
1538 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
1539 __statvfs_getflags, use the provided value.
1540 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1541 __ASSUME_STATFS_F_FLAGS.
1542
754f7da3
UD
Ulrich Drepper2010-08-11 12:46:03 -07001543 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
1544
10b3bedc
UD
Ulrich Drepper2010-08-11 12:41:48 -07001545 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
1546 Add sys/fanotify.h.
1547 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
1548 fanotify_mask for GLIBC_2.13.
1549 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
1550 fanotify_init and fanotify_mark.
1551 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1552 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
1553
c08fb0d7
UD
Ulrich Drepper2010-08-11 11:18:52 -07001554 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
1555 Add prlimit.
1556 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
1557 prlimit64 for GLIBC_2.13.
1558 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
1559 prlimit64.
1560 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
1561 syscall.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1564 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
1565 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
1566 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
1567 add prlimit alias.
1568 * sysdeps/unix/sysv/linux/prlimit.c: New file.
1569
15bac72b
UD
Ulrich Drepper2010-08-11 07:44:03 -07001570 [BZ #11903]
1571 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
1572 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
1573
c3e2f19b
UD
Ulrich Drepper2010-08-11 07:25:02 -07001574 * nss/Makefile: Add rules to build and run tst-nss-test1.
1575 * shlib-versions: Add entry for libnss_test1.
1576 * nss/nss_test1.c: New file.
1577 * nss/tst-nss-test1.c: New file.
1578
1579 * nss/nsswitch.c (__nss_database_custom): Define new variable.
1580 (__nss_configure_lookup): Set appropriate entry in
1581 __nss_configure_lookup to true.
1582 * nss/nsswitch.h: Define enum with indeces of databases in
1583 databases and __nss_database_custom arrays. Declare
1584 __nss_database_custom.
1585 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
1586 to avoid using nscd when custom rules are installed.
1587 * nss/getXXbyYY_r.c: Likewise.
1588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1589
1590 * nss/nss_files/files-parse.c: Whitespace fixes.
1591
f15ce4d8
UD
Ulrich Drepper2010-08-09 21:09:37 -070015922010-08-09 Ulrich Drepper <drepper@redhat.com>
1593
1594 [BZ #11883]
1595 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
1596 * posix/fnmatch_loop.c: Likewise.
1597
d22e4cc9
AK
Andi Kleen2010-08-07 21:24:05 -070015982010-07-17 Andi Kleen <ak@linux.intel.com>
1599
1600 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
1601 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
1602 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
1603 * Versions.def [GLIBC_2.13]: Add.
1604
805bc17d
UD
Ulrich Drepper2010-08-06 19:19:06 -070016052010-08-06 Ulrich Drepper <drepper@redhat.com>
1606
1607 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1608 Also fail if tpwd after pwuid call is NULL.
1609
5a42321d
ST
Samuel Thibault2010-08-02 16:46:12 -070016102010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1611
1612 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
1613 when converting to ms.
1614
fd3ebeda
ST
Samuel Thibault2010-08-03 09:54:22 -070016152010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1616
1617 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
1618 EOPNOTSUPP errors with ENOTTY.
1619 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
1620 EOPNOTSUPP errors with ENOTTY.
1621
73507d3a
UD
Ulrich Drepper2010-07-31 21:41:09 -070016222010-07-31 Ulrich Drepper <drepper@redhat.com>
1623
1624 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1625 Add strcasecmp_l-ssse3.
1626 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
1627 strcasecmp.
1628 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
1629 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
1630 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
1631
fe36dd02
UD
Ulrich Drepper2010-07-30 00:09:07 -070016322010-07-30 Ulrich Drepper <drepper@redhat.com>
1633
66f6765a
UD
Ulrich Drepper2010-07-30 12:54:37 -07001634 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
1635
42e08a54
UD
Ulrich Drepper2010-07-30 00:14:04 -07001636 * string/Makefile (strop-tests): Add strcasecmp.
1637 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1638 strcasecmp_l-nonascii.
1639 (gen-as-const-headers): Add locale-defines.sym.
1640 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
1641 * sysdeps/x86_64/strcasecmp.S: New file.
1642 * sysdeps/x86_64/strcasecmp_l.S: New file.
1643 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
1644 * sysdeps/x86_64/locale-defines.sym: New file.
1645 * string/test-strcasecmp.c: New file.
1646
fe36dd02
UD
Ulrich Drepper2010-07-30 00:09:07 -07001647 * string/test-strcasestr.c: Test both ends of the range of characters.
1648 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
1649
48cbc0d6
RM
Roland McGrath2010-07-29 10:49:42 -070016502010-07-29 Roland McGrath <roland@redhat.com>
1651
76e6d6bc Ulrich Drepper2010-07-29 12:55:43 -07001652 [BZ #11856]
48cbc0d6
RM
Roland McGrath2010-07-29 10:49:42 -07001653 * manual/locale.texi (Yes-or-No Questions): Fix example code.
1654
880113d9
UD
Ulrich Drepper2010-07-27 21:12:59 -070016552010-07-27 Ulrich Drepper <drepper@redhat.com>
1656
1657 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
1658 for ld.so.
1659
deb9cabb
AS
Andreas Schwab2010-07-26 15:28:15 +020016602010-07-27 Andreas Schwab <schwab@redhat.com>
1661
1662 * manual/memory.texi (Malloc Tunable Parameters): Document
1663 M_PERTURB.
1664
1c7570ff
RM
Roland McGrath2010-07-26 12:45:17 -070016652010-07-26 Roland McGrath <roland@redhat.com>
1666
1667 [BZ #11840]
1668 * configure.in (-fgnu89-inline check): Set and substitute
1669 gnu89_inline, not libc_cv_gnu89_inline.
1670 * configure: Regenerated.
1671 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
1672
24fb0f88
UD
Ulrich Drepper2010-07-26 08:37:08 -070016732010-07-26 Ulrich Drepper <drepper@redhat.com>
1674
1675 * string/test-strnlen.c: New file.
1676 * string/Makefile (strop-tests): Add strnlen.
1677 * string/tester.c (test_strnlen): Add a few more test cases.
1678 * string/tst-strlen.c: Better error reporting.
1679
1680 * sysdeps/x86_64/strnlen.S: New file.
1681
8e96b93a
UD
Ulrich Drepper2010-07-24 08:34:44 -070016822010-07-24 Ulrich Drepper <drepper@redhat.com>
1683
1684 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
1685 lower-latency instructions.
1686
dbc676d4
UD
Ulrich Drepper2010-07-23 22:27:53 -070016872010-07-23 Ulrich Drepper <drepper@redhat.com>
1688
1689 * string/test-strcasestr.c: New file.
1690 * string/test-strstr.c: New file.
1691 * string/Makefile (strop-tests): Add strstr and strcasestr.
1692 * string/str-two-way.h: Don't undefine MAX.
1693 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
1694
f6a31e0e
AS
Andreas Schwab2010-07-21 07:26:18 -070016952010-07-21 Andreas Schwab <schwab@redhat.com>
1696
1697 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1698 strcasestr-nonascii.
1699 (CFLAGS-strcasestr-nonascii.c): Define.
1700 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
1701 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
1702 Remove unused attribute.
1703
5dbc3b6c
RM
Roland McGrath2010-07-20 19:09:50 -070017042010-07-20 Roland McGrath <roland@redhat.com>
1705
1706 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
1707 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
1708 ld.so.cache was broken. With it, there is no way to disable dsocaps
1709 like LD_HWCAP_MASK can disable hwcaps.
1710
23d101d8
EPM
Emilio Pozuelo Monfort2010-07-20 19:19:34 -070017112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
1712
1713 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
1714
cc9f2e47
UD
Ulrich Drepper2010-07-16 15:37:38 -070017152010-07-16 Ulrich Drepper <drepper@redhat.com>
1716
1717 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
1718 call in strcasestr.
1719 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
1720 __strcasestr_sse42_nonascii.
1721 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
1722 strcasestr-nonascii.c.
1723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
1724
77c1b069
LM
Luis Machado2010-07-15 08:24:40 -070017252010-06-15 Luis Machado <luisgpm@br.ibm.com>
1726
1727 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
1728 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
1729 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
1730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
1731
440566c3
UD
Ulrich Drepper2010-07-09 19:25:23 -070017322010-07-09 Ulrich Drepper <drepper@redhat.com>
1733
1734 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
1735 fcntl.
1736
5be9d05d
AS
Andreas Schwab2010-07-06 08:09:54 -070017372010-07-06 Andreas Schwab <schwab@redhat.com>
1738
1739 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
1740 dl_signal_cerror.
1741
8a492a67
UD
Ulrich Drepper2010-07-06 07:48:23 -070017422010-07-06 Ulrich Drepper <drepper@redhat.com>
1743
1744 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
1745 _PC_PIPE_BUF using F_GETPIPE_SZ.
1746
713df3d5
RM
Roland McGrath2010-07-05 18:28:24 -070017472010-07-05 Roland McGrath <roland@redhat.com>
1748
1749 * manual/arith.texi (Rounding Functions): Fix rint description
1750 implicit in round description.
1751
702e8f14
UD
Ulrich Drepper2010-07-02 09:49:05 -070017522010-07-02 Ulrich Drepper <drepper@redhat.com>
1753
1754 * elf/Makefile: Fix linking for a few tests to make recent linker
1755 happy.
1756
52ed8be9
AS
Andreas Schwab2010-07-01 23:02:50 -070017572010-06-30 Andreas Schwab <schwab@redhat.com>
1758
1759 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1760 $(common-objpfx)libc_nonshared.a.
1761
f47c9a11
LM
Luis Machado2010-06-30 09:57:38 -070017622010-06-21 Luis Machado <luisgpm@br.ibm.com>
1763
1764 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
1765 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
1766 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1767 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1768 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
1769 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
1770 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1771 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
1786 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
1787 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
1788 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
1789 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
1790 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
1791 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
1792 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
1793 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
1794 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
1795 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
1796 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
1797 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1812
6fb8cbcb
L
H.J. Lu2010-06-30 08:26:11 -070018132010-06-25 H.J. Lu <hongjiu.lu@intel.com>
1814
1815 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1816 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
1817 * string/memmove.c (memmove): Renamed to ...
1818 (MEMMOVE): ...this. Default to memmove.
1819 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1820 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1821 (END_CHK): Define.
1822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1823 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1824 mempcpy-ssse3-back memmove-ssse3-back.
1825 * sysdeps/x86_64/multiarch/bcopy.S: New file .
1826 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1827 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1828 * sysdeps/x86_64/multiarch/memcpy.S: New file.
1829 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1830 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1831 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1832 * sysdeps/x86_64/multiarch/memmove.c: New file.
1833 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1834 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1835 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1836 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1837 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1838 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1839 Define.
1840 (index_Fast_Copy_Backward): Define.
1841 (HAS_ARCH_FEATURE): Define.
1842 (HAS_FAST_REP_STRING): Define.
1843 (HAS_FAST_COPY_BACKWARD): Define.
1844
4e733bac Ulrich Drepper2010-06-27 19:31:18 -070018452010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
Andreas Schwab2010-06-21 07:57:12 -07001846
1847 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1848 Restore proper fallback handling.
1849
63c4ed22
UD
Ulrich Drepper2010-06-19 09:54:28 -070018502010-06-19 Ulrich Drepper <drepper@redhat.com>
1851
ac2b484c
UD
Ulrich Drepper2010-06-19 11:38:04 -07001852 [BZ #11701]
1853 * posix/group_member.c (__group_member): Correct checking loop.
1854
63c4ed22
UD
Ulrich Drepper2010-06-19 09:54:28 -07001855 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1856 OOM in getpwuid_r correctly. Return error number when the caller
1857 should return, otherwise -1.
1858 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1859 call returning > 0 value.
1860 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1861
765ade4b
AS
Andreas Schwab2010-06-14 17:32:36 -070018622010-06-07 Andreas Schwab <schwab@redhat.com>
1863
1864 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1865 libc_nonshared.a from targets in modules-names.
1866
80da2e09
KS
Kirill A. Shutemov2010-06-14 17:23:01 -070018672010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
1868
1869 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1870 requires it.
1871
158db122
LM
Luis Machado2010-06-14 17:13:24 -070018722010-06-10 Luis Machado <luisgpm@br.ibm.com>
1873
1874 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1875 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1877 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1878
caa78cf8
AS
Andreas Schwab2010-06-14 16:54:43 -070018792010-06-02 Andreas Schwab <schwab@redhat.com>
1880
1881 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1882
b2ef2c01
UD
Ulrich Drepper2010-06-14 14:47:34 -070018832010-06-14 Ulrich Drepper <drepper@redhat.com>
1884
1885 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1886 and F_GETPIPE_SZ.
1887 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1888 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1891 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1892 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1893
fbd643b6
RM
Roland McGrath2010-06-14 11:15:00 -070018942010-06-14 Roland McGrath <roland@redhat.com>
1895
1896 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1897
f32f2869
JJ
Jakub Jelinek2010-06-14 08:18:26 -070018982010-06-07 Jakub Jelinek <jakub@redhat.com>
1899
1900 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1901 __REDIRECT followed by __THROW.
1902 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1903 * posix/getopt.h (getopt): Likewise.
1904
2a50c078
EPM
Emilio Pozuelo Monfort2010-06-02 10:24:59 -070019052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
1906
1907 * hurd/lookup-at.c (__file_name_lookup_at): Accept
1908 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
1909 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1910 in AT_FLAGS.
1911 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1912 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1913
eb5ad2eb
LM
Luis Machado2010-05-28 14:19:21 -070019142010-05-28 Luis Machado <luisgpm@br.ibm.com>
1915
1916 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1917
3c88fe1e
L
H.J. Lu2010-05-27 11:14:18 -070019182010-05-26 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 [BZ #11640]
1921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1922 Properly check family and model.
1923
d2f73151
TY
Takashi Yoshii2010-05-26 07:01:43 -070019242010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
1925
1926 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1927
ebd2e13d
LM
Luis Machado2010-05-24 17:56:44 -070019282010-05-24 Luis Machado <luisgpm@br.ibm.com>
1929
1930 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1931
b32b8b45
UD
Ulrich Drepper2010-05-21 23:51:18 -070019322010-05-21 Ulrich Drepper <drepper@redhat.com>
1933
1934 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1935 symbol reference.
1936
9acbe24d
AS
Andreas Schwab2010-05-21 12:51:43 -070019372010-05-19 Andreas Schwab <schwab@redhat.com>
1938
1939 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1940 symbol reference.
1941
f0ccf6ea
AS
Andreas Schwab2010-05-21 11:52:20 -070019422010-05-21 Andreas Schwab <schwab@redhat.com>
1943
3d04ff3a
AS
Andreas Schwab2010-05-21 12:11:28 -07001944 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1945 and internal_recvmmsg.
1946 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1947 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1948 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1949 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1950
f0ccf6ea
AS
Andreas Schwab2010-05-21 11:52:20 -07001951 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1952 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1953 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1954
5b08ac57
AS
Andreas Schwab2010-05-21 11:45:17 -070019552010-05-20 Andreas Schwab <schwab@redhat.com>
1956
1957 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1958
4828935d
LM
Luis Machado2010-05-19 00:47:37 -070019592010-05-17 Luis Machado <luisgpm@br.ibm.com>
1960
1961 POWER7 optimizations.
1962 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1963 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1964
373d545e
UD
Ulrich Drepper2010-05-19 00:39:18 -070019652010-05-19 Ulrich Drepper <drepper@redhat.com>
1966
1967 * version.h: Update for 2.13 development version.
1968
21a2b1ae
AS
Andrew Stubbs2010-05-12 10:18:26 -070019692010-05-12 Andrew Stubbs <ams@codesourcery.com>
1970
1971 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1972 exceptions. Return 0.
1973
3f7dcb2b
RM
Roland McGrath2010-05-07 16:23:03 -070019742010-05-07 Roland McGrath <roland@redhat.com>
1975
1976 * elf/ldconfig.c (main): Add a const.
1977
5f24d53a Ulrich Drepper2010-05-06 04:42:46 -070019782010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e Andreas Schwab2010-05-05 10:14:51 +02001979
a160f8d8
UD
Ulrich Drepper2010-05-06 22:23:13 -07001980 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1981 (args_options): Add no-idn option.
1982 (ahosts_keys_int): Add idn_flags to ai_flags.
1983 (parse_option): Handle 'i' option to clear idn_flags.
1984
5f24d53a
UD
Ulrich Drepper2010-05-06 04:42:46 -07001985 * malloc/malloc.c (_int_free): Possible race in the most recently
1986 added check. Only act on the data if no current modification
1987 happened.
265bb1ce
UD
Ulrich Drepper2010-05-07 01:18:34 -07001988
1989See ChangeLog.17 for earlier changes.