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