]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix some warning nits.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a0bf67cc
RM
12011-02-04 Roland McGrath <roland@redhat.com>
2
3 * nis/nis_server.c (nis_servstate): Use the right name for 0.
4 (nis_stats): Likewise.
5 * nis/nis_modify.c (nis_modify): Likewise.
6 * nis/nis_remove.c (nis_remove): Likewise.
7 * nis/nis_add.c (nis_add): Likewise.
8
9 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10
11 * posix/fnmatch_loop.c: Add some consts.
12
13 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14
435b95eb
L
152011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16
17 [BZ #12460]
18 * config.make.in (config-cflags-novzeroupper): Define.
19 * configure.in: Substitute libc_cv_cc_novzeroupper.
20 * elf/Makefile (AVX-CFLAGS): Define.
21 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22 (CFLAGS-tst-auditmod4a.c): Likewise.
23 (CFLAGS-tst-auditmod4b.c): Likewise.
24 (CFLAGS-tst-auditmod6b.c): Likewise.
25 (CFLAGS-tst-auditmod6c.c): Likewise.
26 (CFLAGS-tst-auditmod7b.c): Likewise.
27 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28
8517b15e
UD
292011-02-02 Ulrich Drepper <drepper@gmail.com>
30
31 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32 function to the callback.
33 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34
10a656fe
AS
352011-02-02 Andreas Schwab <schwab@redhat.com>
36
37 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38 of errno.
39
968dad0a
UD
402011-01-19 Ulrich Drepper <drepper@gmail.com>
41
9f94d2ea 42 [BZ #11724]
968dad0a
UD
43 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44 of constructors.
45 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46 of destructors.
47 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48
49 [BZ #11724]
50 * elf/Makefile: Add rules to build and run new test.
51 * elf/tst-initorder.c: New file.
52 * elf/tst-initorder.exp: New file.
53 * elf/tst-initordera1.c: New file.
54 * elf/tst-initordera2.c: New file.
55 * elf/tst-initordera3.c: New file.
56 * elf/tst-initordera4.c: New file.
57 * elf/tst-initorderb1.c: New file.
58 * elf/tst-initorderb2.c: New file.
59 * elf/tst-order-a1.c: New file.
60 * elf/tst-order-a2.c: New file.
61 * elf/tst-order-a3.c: New file.
62 * elf/tst-order-a4.c: New file.
63 * elf/tst-order-b1.c: New file.
64 * elf/tst-order-b2.c: New file.
65 * elf/tst-order-main.c: New file.
66 New test case by George Gensure <werkt0@gmail.com>.
67
86e92359
UD
682010-10-01 Andreas Schwab <schwab@redhat.com>
69
70 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71 decoding ACE if AI_CANONIDN.
72
5d5732b0
UD
732011-01-18 Ulrich Drepper <drepper@gmail.com>
74
75 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76
a77e8cbc
UD
772011-01-17 Ulrich Drepper <drepper@gmail.com>
78
6392473f
UD
79 * version.h (RELEASE): Bump for 2.13 release.
80 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81
620a0529
UD
82 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83
18ba70a5
UD
84 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
85 MADV_NOHUGEPAGE.
32465c3e
UD
86 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
89 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
90 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92
c0dafcf1
UD
93 * posix/getconf.c: Update copyright year.
94 * catgets/gencat.c: Likewise.
95 * csu/version.c: Likewise.
96 * debug/catchsegv.sh: Likewise.
97 * debug/xtrace.sh: Likewise.
98 * elf/ldconfig.c: Likewise.
99 * elf/ldd.bash.in: Likewise.
100 * elf/sprof.c (print_version): Likewise.
101 * iconv/iconv_prog.c: Likewise.
102 * iconv/iconvconfig.c: Likewise.
103 * locale/programs/locale.c: Likewise.
104 * locale/programs/localedef.c: Likewise.
105 * malloc/memusage.sh: Likewise.
106 * malloc/mtrace.pl: Likewise.
107 * nscd/nscd.c (print_version): Likewise.
108 * nss/getent.c: Likewise.
109
a77e8cbc
UD
110 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
111 PF_CAIF, and PF_ALG.
112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
113
77e8bddf
AS
1142011-01-16 Andreas Schwab <schwab@linux-m68k.org>
115
1f20b93a
AS
116 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
117 (modules-names): Use them.
118 (ifunc-test-modules, ifunc-pie-tests): Define.
119 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
120 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
121 (test-extras): Likewise.
122 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
123 $(compile-command.c).
124 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
125 (all-built-dso): Define.
126 (check-textrel.out, check-execstack.out): Depend on it.
127
77e8bddf
AS
128 * configure.in: Don't override --enable-multi-arch.
129
bc425b33
UD
1302011-01-15 Ulrich Drepper <drepper@gmail.com>
131
132 [BZ #6812]
133 * nscd/hstcache.c (tryagain): Define.
134 (cache_addhst): Return tryagain not notfound for temporary errors.
135 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
136 failed.
137
794c3ad3
UD
1382011-01-14 Ulrich Drepper <drepper@gmail.com>
139
70181fdd
UD
140 [BZ #10563]
141 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
142 to make the syscall.
143 * sysdeps/unix/sysv/linux/setgroups.c: New file.
144
794c3ad3
UD
145 [BZ #12378]
146 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
147 and fall back to matching as normal character if the string ends before
148 the matching ']' is found. This is what POSIX requires.
149 * posix/testfnm.c: Adjust test result.
150 * posix/globtest.sh: Adjust test result. Add new test.
151 * posix/tst-fnmatch.input: Likewise.
152 * posix/tst-fnmatch2.c: Add new test.
153
68dc9497
AS
1542010-12-28 Andreas Schwab <schwab@linux-m68k.org>
155
156 * elf/Makefile (check-execstack): Revert last change. Depend on
157 check-execstack.h.
158 (check-execstack.h): New target.
159 (generated): Add check-execstack.h.
160 * elf/check-execstack.c: Include "check-execstack.h".
161 (main): Revert last change.
162 (handle_file): Return zero if GNU_STACK is absent and
163 DEFAULT_STACK_PERMS doesn't include PF_X.
164
451f001b
UD
1652011-01-13 Ulrich Drepper <drepper@gmail.com>
166
cfa28e56
UD
167 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
168 in child fails because the descriptor is already closed.
8cf8ce17
UD
169 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
170 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
171 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 172
1086d70d
UD
173 [BZ #12397]
174 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
175 syscall.
176
451f001b
UD
177 [BZ #10484]
178 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
179 temporary buffer used to handle multi lookups locally.
a85b5cb4 180 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 181
08769175
UD
1822011-01-12 Ulrich Drepper <drepper@gmail.com>
183
184 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
185 loader is ld.so.
186
5e49c52e
UD
1872011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
188
189 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
190 alignment for SSE2.
191
60522a5f
UD
1922011-01-12 Ulrich Drepper <drepper@gmail.com>
193
194 [BZ #12394]
195 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
196 characters. When rounding increased number of integer digits recompute
197 number of groups.
198 * stdio-common/tst-grouping.c: New file.
199 * stdio-common/Makefile: Add rules to build and run tst-grouping.
200
f257bbd7
UD
2012011-01-09 Ulrich Drepper <drepper@gmail.com>
202
203 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
204 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
205
206 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
207 void.
208 * bits/select.h: Likewise.
209
fa9c15cb
UD
2102011-01-08 Ulrich Drepper <drepper@gmail.com>
211
212 * po/ja.po: Update from translation team.
213
16c2895f
DM
2142011-01-04 David S. Miller <davem@sunset.davemloft.net>
215
216 [BZ #11155]
217 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
218 implementation just like for lxstat, fxstatat, et al.
219
2543fef2
JM
2202010-12-27 Jim Meyering <meyering@redhat.com>
221
222 [BZ #12348]
223 * posix/regexec.c (build_trtable): Return failure indication upon
224 calloc failure. Otherwise, re_search_internal could infloop on OOM.
225
98727dbe
UD
2262010-12-25 Ulrich Drepper <drepper@gmail.com>
227
5bd6dc5c
UD
228 [BZ #12201]
229 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
230 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
231 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
232 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
233
97983464
UD
234 [BZ #12207]
235 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
236
98727dbe
UD
237 [BZ #12204]
238 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
239 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
240
4a531bb0
L
2412010-12-15 H.J. Lu <hongjiu.lu@intel.com>
242
243 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
244 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
245 script has SORT_BY_INIT_PRIORITY.
246 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
247 NO_CTORS_DTORS_SECTIONS is defined.
248 * elf/soinit.c: Likewise.
249 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
250 NO_CTORS_DTORS_SECTIONS is defined.
251 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
252 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
253 * sysdeps/sh/init-first.c: Likewise.
254 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
255
07eb4b71
UD
2562010-12-24 Ulrich Drepper <drepper@gmail.com>
257
258 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
259 always use the slow path.
260
30950a5f
RA
2612010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
262
263 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
264 similar rule which adds the sysdep directories to the header search in
265 order to pick up the correct platform stackinfo.h.
266 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
267 perform test if it is, otherwise return successfully without testing.
268 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
269 DEFAULT_STACK_PERMS define in stackinfo.h.
270 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
271 defined in stackinfo.h.
272 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
273 DEFAULT_STACK_PERMS defined in stackinfo.h.
274 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
275 * sysdeps/ia64/stackinfo.h: Likewise.
276 * sysdeps/s390/stackinfo.h: Likewise.
277 * sysdeps/sh/stackinfo.h: Likewise.
278 * sysdeps/sparc/stackinfo.h: Likewise.
279 * sysdeps/x86_64/stackinfo.h: Likewise.
280 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
281 PF_X for powerpc64. Retain PF_X for powerpc32.
282
db753e2c
UD
2832010-12-19 Ulrich Drepper <drepper@gmail.com>
284
14b697f7
UD
285 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
286 accurately.
db753e2c
UD
287 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
288 GETDENTS_64BIT_ALIGNED.
289
28300719
UD
2902010-12-14 Ulrich Drepper <dreper@gmail.com>
291
14b697f7 292 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 293
4f197237
AS
2942010-12-10 Andreas Schwab <schwab@redhat.com>
295
dbb0472f
AS
296 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
297 _GNU_SOURCE.
298
4f197237
AS
299 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
300 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
301 Remove __restrict.
302 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
303 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
304
fb88ac72
UD
3052010-12-09 Ulrich Drepper <drepper@gmail.com>
306
307 [BZ #11655]
308 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
309 are initialized.
310
42acbb92
JJ
3112010-12-09 Jakub Jelinek <jakub@redhat.com>
312
313 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
314
c038d98d
UD
3152010-12-03 Ulrich Drepper <drepper@gmail.com>
316
317 * po/it.po: Update from translation team.
318
3a4a2499
L
3192010-12-01 H.J. Lu <hongjiu.lu@intel.com>
320
321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
322 unused codes.
323
1e24cf6e
UD
3242010-11-30 Ulrich Drepper <drepper@gmail.com>
325
326 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
327
a7690819
AS
3282010-11-24 Andreas Schwab <schwab@redhat.com>
329
330 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
331 specially.
332 (gaih_getanswer_slice): Likewise.
333
3bf8d1b1
JJ
3342010-10-20 Jakub Jelinek <jakub@redhat.com>
335
336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
337
6db52fbb
PB
3382010-05-31 Petr Baudis <pasky@suse.cz>
339
340 [BZ #11149]
341 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
342 silently even in the chroot mode.
343
eaca7569
UD
3442010-11-22 Ulrich Drepper <drepper@gmail.com>
345
346 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
347 last patch a bit. Pretty printing
348
3056dcdb
UD
3492010-05-31 Petr Baudis <pasky@suse.cz>
350
351 [BZ #10085]
352 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
353 initialization of skip_initgroups_dyn.
354
cf7c9078
UD
3552010-11-19 Ulrich Drepper <drepper@gmail.com>
356
357 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
358 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
359
a1fb5e3e
UD
3602010-11-16 Ulrich Drepper <drepper@gmail.com>
361
362 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
363
3540d66b
AS
3642010-11-11 Andreas Schwab <schwab@redhat.com>
365
366 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
367 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
368 (tst-fnmatch-ENV): Set MALLOC_TRACE.
369 ($(objpfx)tst-fnmatch-mem): New rule.
370 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
371 * posix/tst-fnmatch.c (main): Call mtrace.
372
13b69574
L
3732010-11-11 H.J. Lu <hongjiu.lu@intel.com>
374
375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
376 Support Intel processor model 6 and model 0x2c.
377
da93d214
LM
3782010-11-10 Luis Machado <luisgpm@br.ibm.com>
379
380 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
381 signed comparison.
382
8ca52c6e
L
3832010-11-09 H.J. Lu <hongjiu.lu@intel.com>
384
385 [BZ #12205]
386 * string/test-strncasecmp.c (check_result): New function.
387 (do_one_test): Use it.
388 (check1): New function.
389 (test_main): Use it.
390 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
391 Support strcasecmp and strncasecmp.
392
69da074d
UD
3932010-11-08 Ulrich Drepper <drepper@gmail.com>
394
395 [BZ #12194]
396 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
397 * sysdeps/x86_64/bits/byteswap.h: Likewise.
398
ff02d528
L
3992010-11-07 H.J. Lu <hongjiu.lu@intel.com>
400
401 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
402 IFUNC support.
403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
404 memset-x86-64.
405 * sysdeps/x86_64/multiarch/bzero.S: New file.
406 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
407 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
408 * sysdeps/x86_64/multiarch/memset.S: New file.
409 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
411 Set bit_Prefer_SSE_for_memop for Intel processors.
412 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
413 Define.
414 (index_Prefer_SSE_for_memop): Define.
415 (HAS_PREFER_SSE_FOR_MEMOP): Define.
416
344d0b54
LM
4172010-11-04 Luis Machado <luisgpm@br.ibm.com>
418
419 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
420 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
421
c0dde15b
UD
4222010-11-03 H.J. Lu <hongjiu.lu@intel.com>
423
424 [BZ #12191]
425 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
426 (__x86_64_raw_data_cache_size_half): Likewise.
427 (__x86_64_raw_shared_cache_size): Likewise.
428 (__x86_64_raw_shared_cache_size_half): Likewise.
429
430 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
431 (__x86_64_raw_data_cache_size_half): Likewise.
432 (__x86_64_raw_shared_cache_size): Likewise.
433 (__x86_64_raw_shared_cache_size_half): Likewise.
434 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
435 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
436 and __x86_64_raw_shared_cache_size_half. Round
437 __x86_64_data_cache_size_half, __x86_64_data_cache_size
438 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
439 to multiple of 256 bytes.
440
0e516e0e
MS
4412010-11-03 Ulrich Drepper <drepper@gmail.com>
442
443 [BZ #12167]
444 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
445 of inacessible symlinks. Verify result of symlink before returning it.
446 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
447 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
448
0e012e87
ER
4492010-10-28 Erich Ritz <erichritz@gmail.com>
450
451 * math/math.h (isinf): Fix typo in comment.
452
de0ff7bc
UD
4532010-11-01 Ulrich Drepper <drepper@gmail.com>
454
455 * po/da.po: Update from translation team.
456
fa41c84d
UD
4572010-10-26 Ulrich Drepper <drepper@gmail.com>
458
459 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
460 is added to the list.
461
f0967738
AK
4622010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
463 Ulrich Drepper <drepper@gmail.com>
464
465 * elf/dl-object.c (_dl_new_object): Don't append the new object to
466 the global list here. Move code to...
467 (_dl_add_to_namespace_list): ...here. New function.
468 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
469 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
470 * elf/dl-load.c (lose): Don't remove the element from the list.
471 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
472 (_dl_map_object): Likewise.
473
4742010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
475
476 [BZ #12159]
477 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
478 into all bytes of SSE register.
479 Patch by Richard Li <richardpku@gmail.com>.
480
f0967738 4812010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
482
483 [BZ #12140]
484 * malloc/malloc.c (_int_free): Fill correct number of bytes when
485 perturbing.
486
d0b9e94f
MB
4872010-10-20 Michael B. Brutman <brutman@us.ibm.com>
488
489 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
490 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
491 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
492 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
494 submachine.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
496
8e9f92e9
AS
4972010-10-22 Andreas Schwab <schwab@redhat.com>
498
499 * include/dlfcn.h (__RTLD_SECURE): Define.
500 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
501 mode & __RTLD_SECURE instead.
502 (open_path): Rename preloaded parameter to secure.
503 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
504 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
505 * elf/dl-deps.c (openaux): Likewise.
506 * elf/rtld.c (struct map_args): Remove is_preloaded.
507 (map_doit): Don't use it.
508 (dl_main): Likewise.
509 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
510 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
511
bc96fbda
AS
5122010-09-09 Andreas Schwab <schwab@redhat.com>
513
514 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
515 (sysd-rules-targets): Remove duplicates.
516 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
517 rtld-%.$o dependency.
518
22cd1c9b
AS
5192010-10-18 Andreas Schwab <schwab@redhat.com>
520
521 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
522 _dl_map_object do it.
523
18edac48
UD
5242010-10-19 Ulrich Drepper <drepper@gmail.com>
525
526 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
527 fast fma builtins, define the macros in the C99 standard.
528 (FP_FAST_FMAF): Likewise.
529 (FP_FAST_FMAL): Likewise.
530 * sysdeps/x86_64/bits/mathdef.h: Likewise.
531
532 * bits/mathdef.h: Update copyright year.
533 * sysdeps/powerpc/bits/mathdef.h: Likewise.
534
d2050124
MM
5352010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
536
537 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
538 builtins, define the macros in the C99 standard.
539 (FP_FAST_FMAF): Likewise.
540 (FP_FAST_FMAL): Likewise.
541 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
542 multiply/add.
543 (FP_FAST_FMAF): Likewise.
544
475facd1
JJ
5452010-10-15 Jakub Jelinek <jakub@redhat.com>
546
547 [BZ #3268]
548 * math/libm-test.inc (fma_test): Some new testcases.
549 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
550 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
551 y and infinite z. Do multiplication by C already in long double.
552 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
554 y and infinite z. Do bitwise or of inexact bit into u.d.
555 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
556 * sysdeps/i386/fpu/s_fmaf.S: Removed.
557 * sysdeps/i386/fpu/s_fma.S: Removed.
558 * sysdeps/i386/fpu/s_fmal.S: Removed.
559
7c08a05c
JJ
5602010-10-16 Jakub Jelinek <jakub@redhat.com>
561
562 [BZ #3268]
563 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
565 computation is not scheduled after fetestexcept. Fix value
566 of minimum denormal long double.
567
f3f7372d
JJ
5682010-10-14 Jakub Jelinek <jakub@redhat.com>
569
570 [BZ #3268]
571 * math/libm-test.inc (fma_test): Add some more tests.
572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
573 correctly.
574
14d43591
AS
5752010-10-15 Andreas Schwab <schwab@redhat.com>
576
577 * scripts/data/localplt-s390-linux-gnu.data: New file.
578 * scripts/data/localplt-s390x-linux-gnu.data: New file.
579
5e908464
JJ
5802010-10-13 Jakub Jelinek <jakub@redhat.com>
581
582 [BZ #3268]
583 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
584 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
585 instead of dbl-64.
586 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
587 inlines.
588 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
590 if one of x and y is very large and the other is subnormal.
591 * sysdeps/s390/fpu/s_fmaf.c: New file.
592 * sysdeps/s390/fpu/s_fma.c: New file.
593 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
594 * sysdeps/powerpc/fpu/s_fma.S: New file.
595 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
596 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
597 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
598
5992010-10-12 Jakub Jelinek <jakub@redhat.com>
600
601 [BZ #3268]
602 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
603 fma tests.
604 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
605 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
606 * sysdeps/i386/i686/multiarch/s_fma.c: Include
607 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
608 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
609 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
610 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
611
b833d51f
UD
6122010-10-12 Ulrich Drepper <drepper@redhat.com>
613
614 [BZ #12078]
615 * posix/regcomp.c (parse_branch): One more memory leak plugged.
616 * posix/bug-regex31.input: Add test case.
617
1751705d
UD
6182010-10-11 Ulrich Drepper <drepper@gmail.com>
619
e9b9cbf5
UD
620 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
621 * posix/bug-regex31.input: New file.
622
623 [BZ #12078]
624 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
625 (parse_sub_exp): Fix last change, use postorder.
626
ef06edbe
UD
627 * posix/bug-regex31.c: New file.
628 * posix/Makefile: Add rules to build and run bug-regex31.
629
a129c80d
UD
630 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
631
632 [BZ #12078]
633 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
634
b76b818e
UD
635 [BZ #12108]
636 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
637 to have entries in sys_siglist.
638
1751705d
UD
639 [BZ #12093]
640 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
641 be NULL.
642
9ff8d36f
JJ
6432010-10-07 Jakub Jelinek <jakub@redhat.com>
644
645 [BZ #3268]
646 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
647 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
648 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
649 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
650 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
651 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
652 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
653 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
654 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
655 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
656 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
657 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
658 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
659 * math/ftestexcept.c (fetestexcept): Likewise.
660 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
661 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
662 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
663 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
664 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
665 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
666 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
667
af325969
UD
6682010-10-11 Ulrich Drepper <drepper@gmail.com>
669
c579b202 670 [BZ #12107]
af325969
UD
671 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
672 newline.
673
67a67b95
UD
6742010-10-06 Ulrich Drepper <drepper@gmail.com>
675
676 * string/bug-strstr1.c: New file.
677 * string/Makefile: Add rules to build and run bug-strstr1.
678
5fb308bc
EB
6792010-10-05 Eric Blake <eblake@redhat.com>
680
681 [BZ #12092]
682 * string/str-two-way.h (two_way_long_needle): Always clear memory
683 when skipping input due to the shift table.
684
45db99c7
UD
6852010-10-03 Ulrich Drepper <drepper@gmail.com>
686
3b111893
UD
687 [BZ #12005]
688 * malloc/mcheck.c: Handle large requests.
689
45db99c7
UD
690 [BZ #12077]
691 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
692 for strncmp and strncasecmp.
693 * string/stratcliff.c: Add tests for strcmp and strncmp.
694 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
695
cf7a1eb8
NI
6962010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
697
698 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
699 __set_fpscr.
700
6484ba5e
AJ
7012010-09-30 Andreas Jaeger <aj@suse.de>
702
703 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
704 (CGROUP_SUPER_MAGIC): Define.
705 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
706 Handle btrfs and cgroup file systems.
707 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
708 Likewise.
709
91c42559
LM
7102010-09-27 Luis Machado <luisgpm@br.ibm.com>
711
712 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
713 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
714
87a97932
AK
7152010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
716
717 [BZ #12067]
718 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
719 trying to locate the ELF header.
720
c21cc9bc
AS
7212010-09-27 Andreas Schwab <schwab@redhat.com>
722
723 [BZ #11611]
724 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
725 Mask out sign-bit copies when constructing f_fsid.
726
315970f6
PB
7272010-09-24 Petr Baudis <pasky@suse.cz>
728
729 * debug/stack_chk_fail_local.c: Add missing licence exception.
730 * debug/warning-nop.c: Likewise.
731
1ac7a2c7
JM
7322010-09-15 Joseph Myers <joseph@codesourcery.com>
733
734 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
735 implementing getdents64 using getdents syscall, set d_type if
736 __ASSUME_GETDENTS32_D_TYPE.
737
56801c50
AS
7382010-09-16 Andreas Schwab <schwab@redhat.com>
739
740 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
741 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
742
dda51327
UD
7432010-09-21 Ulrich Drepper <drepper@redhat.com>
744
745 [BZ #12037]
746 * posix/unistd.h: Undo change of feature selection for ftruncate from
747 2010-01-11.
748
8ffcee4a
UD
7492010-09-20 Ulrich Drepper <drepper@redhat.com>
750
a545ecd9 751 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
752 detection.
753
e24f0a8b
AS
7542010-09-20 Andreas Schwab <schwab@redhat.com>
755
756 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
757 fanotify_mark.
758 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
759
7291c56f
AS
7602010-09-14 Andreas Schwab <schwab@redhat.com>
761
762 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
763 variables after CHECK_SP call.
764 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
765
bc5fb037
AS
7662010-09-13 Andreas Schwab <schwab@redhat.com>
767 Ulrich Drepper <drepper@redhat.com>
768
769 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
770 re-relocationg ld.so.
771 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
772 _dl_init_paths call.
773 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
774 here anymore.
775
e66e7419
UD
7762010-09-14 Ulrich Drepper <drepper@redhat.com>
777
778 * resolv/res_init.c (__res_vinit): Count the default server we added.
779
c044aa75
CLT
7802010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
781 Ulrich Drepper <drepper@redhat.com>
782
783 [BZ #11968]
784 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
785 (____longjmp_chk): Use %ebx for saving value across system call.
786 Add unwind info.
787
32cf4069
AS
7882010-09-06 Andreas Schwab <schwab@redhat.com>
789
790 * manual/Makefile: Don't mix pattern rules with normal rules.
791
817328ee
AS
7922010-09-05 Andreas Schwab <schwab@linux-m68k.org>
793
794 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
795 operation.
796 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
797 * libio/iofopncook.c (_IO_cookie_init): Likewise.
798 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
799 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
800 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
801 Likewise.
802
29fddf61
UD
8032010-09-04 Ulrich Drepper <drepper@redhat.com>
804
805 [BZ #11979]
806 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
807 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
808
0959ffc9
UD
8092010-09-02 Ulrich Drepper <drepper@redhat.com>
810
811 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
812 * sysdeps/x86_64/addmul_1.S: Likewise.
813 * sysdeps/x86_64/lshift.S: Likewise.
814 * sysdeps/x86_64/mul_1.S: Likewise.
815 * sysdeps/x86_64/rshift.S: Likewise.
816 * sysdeps/x86_64/sub_n.S: Likewise.
817 * sysdeps/x86_64/submul_1.S: Likewise.
818
ece29840
ST
8192010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
820
0959ffc9
UD
821 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
822 Define __sched_param instead of SCHED_* and sched_param when
ece29840 823 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 824 * bits/sched.h [__need_schedparam]
ece29840 825 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
826 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
827 (__defined_schedparam): Define to 1.
ece29840
ST
828 (__sched_param): New structure, identical to sched_param.
829 (__need_schedparam): Undefine.
830
e53a31fe
MF
8312010-08-31 Mike Frysinger <vapier@gentoo.org>
832
fdc0c10d
MF
833 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
834 (epoll_create1): Declare.
835
e53a31fe
MF
836 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
837
a726d796
AS
8382010-08-31 Andreas Schwab <schwab@redhat.com>
839
840 [BZ #7066]
841 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
842 shifting retval into place.
843
2f3e3dc7
UD
8442010-09-01 Ulrich Drepper <drepper@redhat.com>
845
f2933da9
UD
846 * nis/rpcsvc/nis.h: Update copyright notice.
847 * nis/rpcsvc/nis.x: Likewise.
848 * nis/rpcsvc/nis_callback.h: Likewise.
849 * nis/rpcsvc/nis_callback.x: Likewise.
850 * nis/rpcsvc/nis_object.x: Likewise.
851 * nis/rpcsvc/nis_tags.h: Likewise.
852 * nis/rpcsvc/yp.h: Likewise.
853 * nis/rpcsvc/yp.x: Likewise.
854 * nis/rpcsvc/ypupd.h: Likewise.
855 * nis/yp_xdr.c: Likewise.
856 * nis/ypupdate_xdr.c: Likewise.
857
2f3e3dc7
UD
858 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
859 mainly the body of pmap_getport. Add parameters to specify timeouts.
860 (pmap_getport): Use __libc_rpc_getport.
861 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
862 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
863 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
864
f3dcc2f9
AS
8652010-08-31 Andreas Schwab <schwab@linux-m68k.org>
866
867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
868 fanotify_mark.
869
6d34eb5b
RM
8702010-08-27 Roland McGrath <roland@redhat.com>
871
872 * sysdeps/i386/i686/multiarch/Makefile
873 (CFLAGS-varshift.c): New variable.
874
9ea3de11
UD
8752010-08-27 Ulrich Drepper <drepper@redhat.com>
876
c96d23fc
UD
877 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
878 * sysdeps/i386/i686/multiarch/varshift.c: New file.
879
9ea3de11
UD
880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
881
882 * sysdeps/x86_64/strlen.S: Minimal code improvement.
883
623aac7f
L
8842010-08-26 H.J. Lu <hongjiu.lu@intel.com>
885
886 * sysdeps/x86_64/strlen.S: Unroll the loop.
887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
888 strlen-sse2 strlen-sse2-bsf.
889 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
890 __strlen_no_bsf if bit_Slow_BSF is set.
891 (__strlen_sse42): Removed.
892 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
893 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
894
8b2b7715
RM
8952010-08-25 Roland McGrath <roland@redhat.com>
896
897 * sysdeps/x86_64/multiarch/varshift.S: File removed.
898 * sysdeps/x86_64/multiarch/varshift.c: New file.
899 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
900 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
901 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
902 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
903
e73015f2
L
9042010-08-25 H.J. Lu <hongjiu.lu@intel.com>
905
906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
907 strlen-sse2 strlen-sse2-bsf.
908 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
909 __strlen_sse2_bsf if bit_Slow_BSF is unset.
910 (__strlen_sse2): Removed.
911 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
912 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
914 bit_Slow_BSF for Atom.
915 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
916 (index_Slow_BSF): Define.
917 (HAS_SLOW_BSF): Define.
918
df24a73e
UD
9192010-08-25 Ulrich Drepper <drepper@redhat.com>
920
921 [BZ #10851]
922 * resolv/res_init.c (__res_vinit): When no server address at all
923 is given default to loopback.
924
f2ac4868
RM
9252010-08-24 Roland McGrath <roland@redhat.com>
926
09055553
RM
927 * configure.in: Remove config-name.h generation.
928 * configure: Regenerated.
929 * config-name.in: File removed.
930 * scripts/config-uname.sh: New file.
931 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
932 ($(objdir)config-name.h): New target.
933
f2ac4868
RM
934 * sunrpc/rpc_parse.h: Avoid nested comment.
935
73f27d5e
RH
9362010-08-24 Richard Henderson <rth@redhat.com>
937 Ulrich Drepper <drepper@redhat.com>
938 H.J. Lu <hongjiu.lu@intel.com>
939
940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
942 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
943 Replace _mm_srli_si128 with __m128i_shift_right. Replace
944 _mm_alignr_epi8 with _mm_loadu_si128.
945 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
946 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
947 (__m128i_shift_right): Removed.
948 * sysdeps/i386/i686/multiarch/varshift.h: New file.
949 * sysdeps/i386/i686/multiarch/varshift.S: New file.
950 * sysdeps/x86_64/multiarch/varshift.h: New file.
951 * sysdeps/x86_64/multiarch/varshift.S: New file.
952
84b9230c
MF
9532010-08-21 Mike Frysinger <vapier@gentoo.org>
954
955 * configure.in: Move assembler checks to before sysdep dir checking.
956
9bbd0ddc
PB
9572010-08-20 Petr Baudis <pasky@suse.cz>
958
959 * LICENSES: Sync the sunrpc license.
960
9da4bb31
UD
9612010-08-19 Ulrich Drepper <drepper@redhat.com>
962
a7ab6ec8
UD
963 * sunrpc/auth_des.c: Update copyright notice once again.
964 * sunrpc/auth_none.c: Likewise.
965 * sunrpc/auth_unix.c: Likewise.
966 * sunrpc/authdes_prot.c: Likewise.
967 * sunrpc/authuxprot.c: Likewise.
968 * sunrpc/bindrsvprt.c: Likewise.
969 * sunrpc/clnt_gen.c: Likewise.
970 * sunrpc/clnt_perr.c: Likewise.
971 * sunrpc/clnt_raw.c: Likewise.
972 * sunrpc/clnt_simp.c: Likewise.
973 * sunrpc/clnt_tcp.c: Likewise.
974 * sunrpc/clnt_udp.c: Likewise.
975 * sunrpc/clnt_unix.c: Likewise.
976 * sunrpc/des_crypt.c: Likewise.
977 * sunrpc/des_soft.c: Likewise.
978 * sunrpc/get_myaddr.c: Likewise.
979 * sunrpc/getrpcport.c: Likewise.
980 * sunrpc/key_call.c: Likewise.
981 * sunrpc/key_prot.c: Likewise.
982 * sunrpc/openchild.c: Likewise.
983 * sunrpc/pm_getmaps.c: Likewise.
984 * sunrpc/pm_getport.c: Likewise.
985 * sunrpc/pmap_clnt.c: Likewise.
986 * sunrpc/pmap_prot.c: Likewise.
987 * sunrpc/pmap_prot2.c: Likewise.
988 * sunrpc/pmap_rmt.c: Likewise.
989 * sunrpc/rpc/auth.h: Likewise.
990 * sunrpc/rpc/auth_unix.h: Likewise.
991 * sunrpc/rpc/clnt.h: Likewise.
992 * sunrpc/rpc/des_crypt.h: Likewise.
993 * sunrpc/rpc/key_prot.h: Likewise.
994 * sunrpc/rpc/netdb.h: Likewise.
995 * sunrpc/rpc/pmap_clnt.h: Likewise.
996 * sunrpc/rpc/pmap_prot.h: Likewise.
997 * sunrpc/rpc/pmap_rmt.h: Likewise.
998 * sunrpc/rpc/rpc.h: Likewise.
999 * sunrpc/rpc/rpc_des.h: Likewise.
1000 * sunrpc/rpc/rpc_msg.h: Likewise.
1001 * sunrpc/rpc/svc.h: Likewise.
1002 * sunrpc/rpc/svc_auth.h: Likewise.
1003 * sunrpc/rpc/types.h: Likewise.
1004 * sunrpc/rpc/xdr.h: Likewise.
1005 * sunrpc/rpc_clntout.c: Likewise.
1006 * sunrpc/rpc_cmsg.c: Likewise.
1007 * sunrpc/rpc_common.c: Likewise.
1008 * sunrpc/rpc_cout.c: Likewise.
1009 * sunrpc/rpc_dtable.c: Likewise.
1010 * sunrpc/rpc_hout.c: Likewise.
1011 * sunrpc/rpc_main.c: Likewise.
1012 * sunrpc/rpc_parse.c: Likewise.
1013 * sunrpc/rpc_parse.h: Likewise.
1014 * sunrpc/rpc_prot.c: Likewise.
1015 * sunrpc/rpc_sample.c: Likewise.
1016 * sunrpc/rpc_scan.c: Likewise.
1017 * sunrpc/rpc_scan.h: Likewise.
1018 * sunrpc/rpc_svcout.c: Likewise.
1019 * sunrpc/rpc_tblout.c: Likewise.
1020 * sunrpc/rpc_util.c: Likewise.
1021 * sunrpc/rpc_util.h: Likewise.
1022 * sunrpc/rpcinfo.c: Likewise.
1023 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
1024 * sunrpc/rpcsvc/key_prot.x: Likewise.
1025 * sunrpc/rpcsvc/klm_prot.x: Likewise.
1026 * sunrpc/rpcsvc/mount.x: Likewise.
1027 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
1028 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
1029 * sunrpc/rpcsvc/rex.x: Likewise.
1030 * sunrpc/rpcsvc/rstat.x: Likewise.
1031 * sunrpc/rpcsvc/rusers.x: Likewise.
1032 * sunrpc/rpcsvc/sm_inter.x: Likewise.
1033 * sunrpc/rpcsvc/spray.x: Likewise.
1034 * sunrpc/rpcsvc/yppasswd.x: Likewise.
1035 * sunrpc/rtime.c: Likewise.
1036 * sunrpc/svc.c: Likewise.
1037 * sunrpc/svc_auth.c: Likewise.
1038 * sunrpc/svc_authux.c: Likewise.
1039 * sunrpc/svc_raw.c: Likewise.
1040 * sunrpc/svc_run.c: Likewise.
1041 * sunrpc/svc_simple.c: Likewise.
1042 * sunrpc/svc_tcp.c: Likewise.
1043 * sunrpc/svc_udp.c: Likewise.
1044 * sunrpc/svc_unix.c: Likewise.
1045 * sunrpc/svcauth_des.c: Likewise.
1046 * sunrpc/xcrypt.c: Likewise.
1047 * sunrpc/xdr.c: Likewise.
1048 * sunrpc/xdr_array.c: Likewise.
1049 * sunrpc/xdr_float.c: Likewise.
1050 * sunrpc/xdr_mem.c: Likewise.
1051 * sunrpc/xdr_rec.c: Likewise.
1052 * sunrpc/xdr_ref.c: Likewise.
1053 * sunrpc/xdr_sizeof.c: Likewise.
1054 * sunrpc/xdr_stdio.c: Likewise.
1055
9da4bb31
UD
1056 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
1057 handling.
1058
bdaa77bc
AS
10592010-08-19 Andreas Schwab <schwab@redhat.com>
1060
1061 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
1062
fe2f79db
LM
10632010-08-19 Luis Machado <luisgpm@br.ibm.com>
1064
1065 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
1066 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
1067 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
1068 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
1069 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
1070 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
1071 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
1072 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
1073 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
1074 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
1075 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
1076 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
1077 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
1078 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
1079
b9b42ee0
AB
10802010-07-26 Anton Blanchard <anton@samba.org>
1081
1082 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
1083 * malloc/arena.c (heap_trim): Likewise.
1084
1c06ba31
UD
10852010-08-16 Ulrich Drepper <drepper@redhat.com>
1086
1087 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
1088 here. Not...
1089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
1090 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
1091
f8392f40
L
10922010-08-12 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 * sysdeps/i386/elf/Makefile: New file.
1095
3162f12e
AS
10962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1097
1098 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
1099 from fanotify_init.
1100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1101 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1102
28c90b2c
UD
11032010-08-15 Ulrich Drepper <drepper@redhat.com>
1104
1105 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
1106 of strncasecmp_l.
1feccb6c 1107 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 1108
ca6bb004
UD
11092010-08-14 Ulrich Drepper <drepper@redhat.com>
1110
e9f82e0d
UD
1111 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1112 strncase_l-nonascii.
1113 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1114 Add strncase_l-ssse3.
1115 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
1116 * sysdeps/x86_64/strcmp.S: Likewise.
1117 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
1118 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
1119 * sysdeps/x86_64/strncase.S: New file.
1120 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
1121 * sysdeps/x86_64/strncase_l.S: New file.
1122 * string/Makefile (strop-tests): Add strncasecmp.
1123 * string/test-strncasecmp.c: New file.
1124
1125 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
1126 warning.
1127
ca6bb004
UD
1128 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
1129 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
1130
052fa7b3
AS
11312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1132
1133 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
1134
962dba78
UD
11352010-08-12 Ulrich Drepper <drepper@redhat.com>
1136
1137 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
1138 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1140
bebff237
AM
11412010-05-01 Alan Modra <amodra@gmail.com>
1142
1143 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
1144 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
1145 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
1146 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
1147 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
1148 tidying. Don't tail-call __sigjmp_save for static lib.
1149 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
1150 save location.
1151 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
1152 (CALL_MCOUNT): Add eh info, and nop after bl.
1153 (TAIL_CALL_SYSCALL_ERROR): New macro.
1154 (PSEUDO_RET): Use it.
1155 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1156 Correct save location of integer regs and cr.
1157 (_dl_profile_resolve): Correct cr save location. Delete nops
1158 after bl when SHARED. Reduce cfi size a little by better
1159 placement of cfi directives.
1160 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
1161 make a stack frame. Instead use parm save area as a temp.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
1163 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1165 Don't make a stack frame for parent, use parm save area.
1166 Increase child stack frame to 112 bytes. Don't save unused reg,
1167 and adjust reg usage. Set up cfi on error recovery and
1168 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1170 (__makecontext): Add dummy nop after jump to exit.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
1172 Use correct parm save area and cr save, reduce stack frame.
1173 Correct cfi for possible PSEUDO_RET frame setup.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
1175 Branch to local label emitted by PSEUDO_RET rather than
1176 __syscall_error.
1177
02637374
AS
11782010-08-12 Andreas Schwab <schwab@redhat.com>
1179
1180 [BZ #11904]
1181 * locale/programs/locale.c (print_assignment): New function.
1182 (show_locale_vars): Use it.
1183
c3e2f19b
UD
11842010-08-11 Ulrich Drepper <drepper@redhat.com>
1185
3cdaa6ad
UD
1186 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
1187 field.
1188 (struct statfs64): Likewise.
1189 (_STATFS_F_FLAGS): Define.
1190 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
1191 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1192 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
1193 (ST_VALID): Define locally.
1194 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
1195 __statvfs_getflags, use the provided value.
1196 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1197 __ASSUME_STATFS_F_FLAGS.
1198
754f7da3
UD
1199 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
1200
10b3bedc
UD
1201 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
1202 Add sys/fanotify.h.
1203 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
1204 fanotify_mask for GLIBC_2.13.
1205 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
1206 fanotify_init and fanotify_mark.
1207 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1208 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
1209
c08fb0d7
UD
1210 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
1211 Add prlimit.
1212 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
1213 prlimit64 for GLIBC_2.13.
1214 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
1215 prlimit64.
1216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
1217 syscall.
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1219 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1220 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
1221 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
1222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
1223 add prlimit alias.
1224 * sysdeps/unix/sysv/linux/prlimit.c: New file.
1225
15bac72b
UD
1226 [BZ #11903]
1227 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
1228 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
1229
c3e2f19b
UD
1230 * nss/Makefile: Add rules to build and run tst-nss-test1.
1231 * shlib-versions: Add entry for libnss_test1.
1232 * nss/nss_test1.c: New file.
1233 * nss/tst-nss-test1.c: New file.
1234
1235 * nss/nsswitch.c (__nss_database_custom): Define new variable.
1236 (__nss_configure_lookup): Set appropriate entry in
1237 __nss_configure_lookup to true.
1238 * nss/nsswitch.h: Define enum with indeces of databases in
1239 databases and __nss_database_custom arrays. Declare
1240 __nss_database_custom.
1241 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
1242 to avoid using nscd when custom rules are installed.
1243 * nss/getXXbyYY_r.c: Likewise.
1244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1245
1246 * nss/nss_files/files-parse.c: Whitespace fixes.
1247
f15ce4d8
UD
12482010-08-09 Ulrich Drepper <drepper@redhat.com>
1249
1250 [BZ #11883]
1251 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
1252 * posix/fnmatch_loop.c: Likewise.
1253
d22e4cc9
AK
12542010-07-17 Andi Kleen <ak@linux.intel.com>
1255
1256 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
1257 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
1258 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
1259 * Versions.def [GLIBC_2.13]: Add.
1260
805bc17d
UD
12612010-08-06 Ulrich Drepper <drepper@redhat.com>
1262
1263 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1264 Also fail if tpwd after pwuid call is NULL.
1265
5a42321d
ST
12662010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1267
1268 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
1269 when converting to ms.
1270
fd3ebeda
ST
12712010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1272
1273 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
1274 EOPNOTSUPP errors with ENOTTY.
1275 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
1276 EOPNOTSUPP errors with ENOTTY.
1277
73507d3a
UD
12782010-07-31 Ulrich Drepper <drepper@redhat.com>
1279
1280 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1281 Add strcasecmp_l-ssse3.
1282 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
1283 strcasecmp.
1284 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
1285 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
1286 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
1287
fe36dd02
UD
12882010-07-30 Ulrich Drepper <drepper@redhat.com>
1289
66f6765a
UD
1290 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
1291
42e08a54
UD
1292 * string/Makefile (strop-tests): Add strcasecmp.
1293 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1294 strcasecmp_l-nonascii.
1295 (gen-as-const-headers): Add locale-defines.sym.
1296 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
1297 * sysdeps/x86_64/strcasecmp.S: New file.
1298 * sysdeps/x86_64/strcasecmp_l.S: New file.
1299 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
1300 * sysdeps/x86_64/locale-defines.sym: New file.
1301 * string/test-strcasecmp.c: New file.
1302
fe36dd02
UD
1303 * string/test-strcasestr.c: Test both ends of the range of characters.
1304 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
1305
48cbc0d6
RM
13062010-07-29 Roland McGrath <roland@redhat.com>
1307
76e6d6bc 1308 [BZ #11856]
48cbc0d6
RM
1309 * manual/locale.texi (Yes-or-No Questions): Fix example code.
1310
880113d9
UD
13112010-07-27 Ulrich Drepper <drepper@redhat.com>
1312
1313 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
1314 for ld.so.
1315
deb9cabb
AS
13162010-07-27 Andreas Schwab <schwab@redhat.com>
1317
1318 * manual/memory.texi (Malloc Tunable Parameters): Document
1319 M_PERTURB.
1320
1c7570ff
RM
13212010-07-26 Roland McGrath <roland@redhat.com>
1322
1323 [BZ #11840]
1324 * configure.in (-fgnu89-inline check): Set and substitute
1325 gnu89_inline, not libc_cv_gnu89_inline.
1326 * configure: Regenerated.
1327 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
1328
24fb0f88
UD
13292010-07-26 Ulrich Drepper <drepper@redhat.com>
1330
1331 * string/test-strnlen.c: New file.
1332 * string/Makefile (strop-tests): Add strnlen.
1333 * string/tester.c (test_strnlen): Add a few more test cases.
1334 * string/tst-strlen.c: Better error reporting.
1335
1336 * sysdeps/x86_64/strnlen.S: New file.
1337
8e96b93a
UD
13382010-07-24 Ulrich Drepper <drepper@redhat.com>
1339
1340 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
1341 lower-latency instructions.
1342
dbc676d4
UD
13432010-07-23 Ulrich Drepper <drepper@redhat.com>
1344
1345 * string/test-strcasestr.c: New file.
1346 * string/test-strstr.c: New file.
1347 * string/Makefile (strop-tests): Add strstr and strcasestr.
1348 * string/str-two-way.h: Don't undefine MAX.
1349 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
1350
f6a31e0e
AS
13512010-07-21 Andreas Schwab <schwab@redhat.com>
1352
1353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1354 strcasestr-nonascii.
1355 (CFLAGS-strcasestr-nonascii.c): Define.
1356 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
1357 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
1358 Remove unused attribute.
1359
5dbc3b6c
RM
13602010-07-20 Roland McGrath <roland@redhat.com>
1361
1362 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
1363 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
1364 ld.so.cache was broken. With it, there is no way to disable dsocaps
1365 like LD_HWCAP_MASK can disable hwcaps.
1366
23d101d8
EPM
13672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
1368
1369 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
1370
cc9f2e47
UD
13712010-07-16 Ulrich Drepper <drepper@redhat.com>
1372
1373 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
1374 call in strcasestr.
1375 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
1376 __strcasestr_sse42_nonascii.
1377 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
1378 strcasestr-nonascii.c.
1379 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
1380
77c1b069
LM
13812010-06-15 Luis Machado <luisgpm@br.ibm.com>
1382
1383 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
1384 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
1385 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
1386 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
1387
440566c3
UD
13882010-07-09 Ulrich Drepper <drepper@redhat.com>
1389
1390 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
1391 fcntl.
1392
5be9d05d
AS
13932010-07-06 Andreas Schwab <schwab@redhat.com>
1394
1395 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
1396 dl_signal_cerror.
1397
8a492a67
UD
13982010-07-06 Ulrich Drepper <drepper@redhat.com>
1399
1400 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
1401 _PC_PIPE_BUF using F_GETPIPE_SZ.
1402
713df3d5
RM
14032010-07-05 Roland McGrath <roland@redhat.com>
1404
1405 * manual/arith.texi (Rounding Functions): Fix rint description
1406 implicit in round description.
1407
702e8f14
UD
14082010-07-02 Ulrich Drepper <drepper@redhat.com>
1409
1410 * elf/Makefile: Fix linking for a few tests to make recent linker
1411 happy.
1412
52ed8be9
AS
14132010-06-30 Andreas Schwab <schwab@redhat.com>
1414
1415 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1416 $(common-objpfx)libc_nonshared.a.
1417
f47c9a11
LM
14182010-06-21 Luis Machado <luisgpm@br.ibm.com>
1419
1420 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
1421 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
1422 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1423 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1424 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
1425 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
1426 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1427 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
1442 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
1443 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
1444 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
1445 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
1446 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
1447 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
1448 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
1449 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
1450 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
1451 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
1452 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
1453 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1468
6fb8cbcb
L
14692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
1470
1471 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1472 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
1473 * string/memmove.c (memmove): Renamed to ...
1474 (MEMMOVE): ...this. Default to memmove.
1475 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1476 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1477 (END_CHK): Define.
1478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1479 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1480 mempcpy-ssse3-back memmove-ssse3-back.
1481 * sysdeps/x86_64/multiarch/bcopy.S: New file .
1482 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1484 * sysdeps/x86_64/multiarch/memcpy.S: New file.
1485 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1486 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1487 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1488 * sysdeps/x86_64/multiarch/memmove.c: New file.
1489 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1490 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1491 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1492 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1493 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1494 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1495 Define.
1496 (index_Fast_Copy_Backward): Define.
1497 (HAS_ARCH_FEATURE): Define.
1498 (HAS_FAST_REP_STRING): Define.
1499 (HAS_FAST_COPY_BACKWARD): Define.
1500
4e733bac 15012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
1502
1503 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1504 Restore proper fallback handling.
1505
63c4ed22
UD
15062010-06-19 Ulrich Drepper <drepper@redhat.com>
1507
ac2b484c
UD
1508 [BZ #11701]
1509 * posix/group_member.c (__group_member): Correct checking loop.
1510
63c4ed22
UD
1511 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1512 OOM in getpwuid_r correctly. Return error number when the caller
1513 should return, otherwise -1.
1514 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1515 call returning > 0 value.
1516 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1517
765ade4b
AS
15182010-06-07 Andreas Schwab <schwab@redhat.com>
1519
1520 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1521 libc_nonshared.a from targets in modules-names.
1522
80da2e09
KS
15232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
1524
1525 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1526 requires it.
1527
158db122
LM
15282010-06-10 Luis Machado <luisgpm@br.ibm.com>
1529
1530 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1531 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1532 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1533 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1534
caa78cf8
AS
15352010-06-02 Andreas Schwab <schwab@redhat.com>
1536
1537 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1538
b2ef2c01
UD
15392010-06-14 Ulrich Drepper <drepper@redhat.com>
1540
1541 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1542 and F_GETPIPE_SZ.
1543 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1544 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1547 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1548 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1549
fbd643b6
RM
15502010-06-14 Roland McGrath <roland@redhat.com>
1551
1552 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1553
f32f2869
JJ
15542010-06-07 Jakub Jelinek <jakub@redhat.com>
1555
1556 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1557 __REDIRECT followed by __THROW.
1558 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1559 * posix/getopt.h (getopt): Likewise.
1560
2a50c078
EPM
15612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
1562
1563 * hurd/lookup-at.c (__file_name_lookup_at): Accept
1564 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
1565 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1566 in AT_FLAGS.
1567 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1568 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1569
eb5ad2eb
LM
15702010-05-28 Luis Machado <luisgpm@br.ibm.com>
1571
1572 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1573
3c88fe1e
L
15742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 [BZ #11640]
1577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1578 Properly check family and model.
1579
d2f73151
TY
15802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
1581
1582 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1583
ebd2e13d
LM
15842010-05-24 Luis Machado <luisgpm@br.ibm.com>
1585
1586 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1587
b32b8b45
UD
15882010-05-21 Ulrich Drepper <drepper@redhat.com>
1589
1590 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1591 symbol reference.
1592
9acbe24d
AS
15932010-05-19 Andreas Schwab <schwab@redhat.com>
1594
1595 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1596 symbol reference.
1597
f0ccf6ea
AS
15982010-05-21 Andreas Schwab <schwab@redhat.com>
1599
3d04ff3a
AS
1600 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1601 and internal_recvmmsg.
1602 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1603 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1604 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1605 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1606
f0ccf6ea
AS
1607 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1608 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1609 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1610
5b08ac57
AS
16112010-05-20 Andreas Schwab <schwab@redhat.com>
1612
1613 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1614
4828935d
LM
16152010-05-17 Luis Machado <luisgpm@br.ibm.com>
1616
1617 POWER7 optimizations.
1618 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1619 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1620
373d545e
UD
16212010-05-19 Ulrich Drepper <drepper@redhat.com>
1622
1623 * version.h: Update for 2.13 development version.
1624
21a2b1ae
AS
16252010-05-12 Andrew Stubbs <ams@codesourcery.com>
1626
1627 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1628 exceptions. Return 0.
1629
3f7dcb2b
RM
16302010-05-07 Roland McGrath <roland@redhat.com>
1631
1632 * elf/ldconfig.c (main): Add a const.
1633
5f24d53a 16342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 1635
a160f8d8
UD
1636 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1637 (args_options): Add no-idn option.
1638 (ahosts_keys_int): Add idn_flags to ai_flags.
1639 (parse_option): Handle 'i' option to clear idn_flags.
1640
5f24d53a
UD
1641 * malloc/malloc.c (_int_free): Possible race in the most recently
1642 added check. Only act on the data if no current modification
1643 happened.
265bb1ce
UD
1644
1645See ChangeLog.17 for earlier changes.