]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix undefined symbol in powerpc64 dl-machine.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1ae12c75
AS
12011-09-13 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4 Always define `refsym'.
5
995a80df
AS
62011-09-13 Andreas Schwab <schwab@redhat.com>
7
e529793b
AS
8 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9 (__FD_ELT): Renamed from __FDELT.
10 * misc/bits/select2.h (__FD_ELT): Likewise.
11 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12 __FD_MASK instead of __FDELT, __FDMASK.
13 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14 Likewise.
15 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16 Likewise.
17
52d4fef8
AS
18 * elf/Makefile (gen-ldd): Fix pattern.
19
995a80df
AS
20 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21 (init_tls): Likewise.
22
8682f8b0
UD
232011-09-12 Ulrich Drepper <drepper@gmail.com>
24
25 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26
de82006d
AS
272011-09-12 Andreas Schwab <schwab@redhat.com>
28
a7c8e6a1
AS
29 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30 `struct cmsghdr *' instead of `void *'.
31 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32 Likewise.
33
0f31fe77
AS
342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35
36 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37 if non-absolute.
38 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39 ldd_rewrite_script.
0f31fe77 40
32b4c839
UD
412011-09-11 Ulrich Drepper <drepper@gmail.com>
42
83cd1420
UD
43 * configure.in: Remove --with-tls option.
44 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46 out in case it is missing.
47 * sysdeps/ia64/elf/configure.in: Likewise.
48 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52 * sysdeps/sh/elf/configure.in: Likewise.
53 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55 * sysdeps/x86_64/elf/configure.in: Likewise.
56 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57 * sysdeps/mach/hurd/tls.h: Likewise.
58
633f745d
UD
59 [BZ #13067]
60 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61
f318beb8
UD
62 [BZ #13090]
63 * configure.in: Fix use of AC_INIT.
64
32b4c839
UD
65 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66
3ce1f295
UD
672011-09-10 Ulrich Drepper <drepper@gmail.com>
68
bb016596
UD
69 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70 __set_errno.
8e58439c
UD
71 * malloc/hooks.c: Likewise.
72
02d46fc4
UD
73 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
74 variables statically.
75 (narenas): Initialize.
76 (list_lock): Initialize.
bb016596
UD
77 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
78 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
79 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
81 Add initializers to main_arena and mp_.
82 (malloc_state): Remove pagesize member. Change all users to use
83 GLRO(dl_pagesize).
84
85 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
86 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
87 is always initialized.
88
22a89187
UD
89 * malloc/malloc.c: Removed unused configurations and dead code.
90 * malloc/arena.c: Likewise.
91 * malloc/hooks.c: Likewise.
02d46fc4 92 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 93
d063d164
UD
94 * include/tls.h: Removed. USE___THREAD must always be defined.
95 * bits/libc-tsd.h: Don't handle !USE___THREAD.
96 * elf/dl-libc.c: Likewise.
97 * elf/dl-tsd.c: Likewise.
98 * include/errno.h: Likewise.
99 * include/netdb.h: Likewise.
100 * include/resolv.h: Likewise.
101 * inet/herrno-loc.c: Likewise.
102 * inet/herrno.c: Likewise.
103 * malloc/arena.c: Likewise.
104 * malloc/hooks.c: Likewise.
105 * malloc/malloc.c: Likewise.
106 * resolv/res-state.c: Likewise.
107 * resolv/res_libc.c: Likewise.
108 * sysdeps/i386/dl-machine.h: Likewise.
109 * sysdeps/ia64/dl-machine.h: Likewise.
110 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
111 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
112 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
113 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
114 * sysdeps/sh/dl-machine.h: Likewise.
115 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
116 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
117 * sysdeps/unix/i386/sysdep.S: Likewise.
118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
119 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
120 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
121 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
123 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
124 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
128 * sysdeps/unix/x86_64/sysdep.S: Likewise.
129 * sysdeps/x86_64/dl-machine.h: Likewise.
130 * tls.make.c: Likewise.
131
3ce1f295
UD
132 * configure.in: Remove --with-__thread option. Make tests for
133 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
134 tls_model attribute fail if no support is available. Remove
135 USE_IN_LIBIO.
136 * Makeconfig: Adjust for dropped configure option. All features are
137 now mandatory.
138 * Makerules: Likewise.
139 * Versions.def: Likewise.
140 * argp/argp-fmtstream.c: Likewise.
141 * argp/argp-fmtstream.h: Likewise.
142 * argp/argp-help.c: Likewise.
143 * assert/assert.c: Likewise.
144 * config.h.in: Likewise.
145 * config.make.in: Likewise.
146 * configure: Likewise.
147 * configure.in: Likewise.
148 * csu/Versions: Likewise.
149 * csu/init.c: Likewise.
150 * elf/tst-audit2.c: Likewise.
151 * elf/tst-tls10.c: Likewise.
152 * elf/tst-tls10.h: Likewise.
153 * elf/tst-tls11.c: Likewise.
154 * elf/tst-tls12.c: Likewise.
155 * elf/tst-tls14.c: Likewise.
156 * elf/tst-tlsmod11.c: Likewise.
157 * elf/tst-tlsmod12.c: Likewise.
158 * elf/tst-tlsmod13.c: Likewise.
159 * elf/tst-tlsmod13a.c: Likewise.
160 * elf/tst-tlsmod14a.c: Likewise.
161 * elf/tst-tlsmod15b.c: Likewise.
162 * elf/tst-tlsmod16a.c: Likewise.
163 * elf/tst-tlsmod16b.c: Likewise.
164 * elf/tst-tlsmod7.c: Likewise.
165 * elf/tst-tlsmod8.c: Likewise.
166 * elf/tst-tlsmod9.c: Likewise.
167 * gmon/gmon.c: Likewise.
168 * grp/fgetgrent_r.c: Likewise.
169 * grp/putgrent.c: Likewise.
170 * hurd/fopenport.c: Likewise.
171 * include/libc-symbols.h: Likewise.
172 * include/tls.h: Likewise.
173 * intl/gettextP.h: Likewise.
174 * intl/loadinfo.h: Likewise.
175 * locale/global-locale.c: Likewise.
176 * locale/localeinfo.h: Likewise.
177 * mach/devstream.c: Likewise.
178 * malloc/arena.c: Likewise.
179 * malloc/set-freeres.c: Likewise.
180 * misc/err.c: Likewise.
181 * misc/getttyent.c: Likewise.
182 * misc/mntent_r.c: Likewise.
183 * posix/getopt.c: Likewise.
184 * posix/wordexp.c: Likewise.
185 * pwd/fgetpwent_r.c: Likewise.
186 * resolv/Versions: Likewise.
187 * resolv/res_hconf.c: Likewise.
188 * shadow/fgetspent_r.c: Likewise.
189 * shadow/putspent.c: Likewise.
190 * stdio-common/printf_fphex.c: Likewise.
191 * stdio-common/tmpfile.c: Likewise.
192 * stdlib/abort.c: Likewise.
193 * stdlib/fmtmsg.c: Likewise.
194 * sunrpc/auth_unix.c: Likewise.
195 * sunrpc/clnt_perr.c: Likewise.
196 * sunrpc/clnt_tcp.c: Likewise.
197 * sunrpc/clnt_udp.c: Likewise.
198 * sunrpc/clnt_unix.c: Likewise.
199 * sunrpc/openchild.c: Likewise.
200 * sunrpc/svc_simple.c: Likewise.
201 * sunrpc/svc_tcp.c: Likewise.
202 * sunrpc/svc_udp.c: Likewise.
203 * sunrpc/svc_unix.c: Likewise.
204 * sunrpc/xdr.c: Likewise.
205 * sunrpc/xdr_array.c: Likewise.
206 * sunrpc/xdr_rec.c: Likewise.
207 * sunrpc/xdr_ref.c: Likewise.
208 * sunrpc/xdr_stdio.c: Likewise.
209
1248c1c4
PB
2102011-09-09 Ulrich Drepper <drepper@gmail.com>
211
212 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
213
2142011-07-03 Andreas Jaeger <aj@suse.de>
215
216 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
217 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
218 regenerate with gen-libm-tests.pl.
219
2202010-05-12 Petr Baudis <pasky@suse.cz>
221
222 [BZ #11589]
223 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
224 around j0() zero points by switching to j1().
225 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
226 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
228 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
229
f22e1074
UD
2302011-09-09 Ulrich Drepper <drepper@gmail.com>
231
f19009c1
UD
232 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
233 instead of 0.
234 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
235 instead of 0. .
236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
237 Patch in part by Pavel Roskin <proski@gnu.org>.
238
3f8cc204
UD
239 [BZ #13138]
240 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
241 realloc.
242 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
243 Free memory block if necessary.
244
f22e1074
UD
245 [BZ #12847]
246 * libio/genops.c (INTDEF): For string streams the _lock pointer can
247 be NULL. Don't lock in this case.
248
0a2349f9
RM
2492011-09-09 Roland McGrath <roland@hack.frob.com>
250
251 * elf/elf.h (ELFOSABI_GNU): New macro.
252 (ELFOSABI_LINUX): Define to that.
253
f3cdd467
DZ
2542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
255
256 * string/strncat.c (strncat): Undef the symbol in case it has been
257 defined in bits/string.h.
258
74718d13
UD
2592011-09-09 Ulrich Drepper <drepper@gmail.com>
260
633e9e0f
UD
261 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
262
0a2349f9 263 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
264 link map.
265
f9924780
AJ
2662011-08-17 Andreas Jaeger <aj@suse.de>
267
268 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
269
7f5517aa
PP
2702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
271 Ian Lance Taylor <iant@google.com>
272
273 * math/libm-test.inc (lround_test): New testcase.
274 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
275
762011fe
UD
2762011-09-08 Ulrich Drepper <drepper@gmail.com>
277
92963737
UD
278 * Makefile: Remove support for automatic cvs check-ins.
279 * Makerules: Likewise.
280 * config.make.in: Likewise.
281 * configure.in: Likewise.
282 * intl/Makefile: Likewise.
283 * locale/Makefile: Likewise.
284 * po/Makefile: Likewise.
285 * posix/Makefile: Likewise.
286 * sysdeps/gnu/Makefile: Likewise.
287 * sysdeps/mach/hurd/Makefile: Likewise.
288 * sysdeps/sparc/sparc32/Makefile: Likewise.
289
b0727fd8
JS
290 [BZ #13118]
291 * posix/Makefile (bug-regex32-ENV): Define.
292 Patch by John Stanley <jpsinthemix@verizon.net>.
293
a0f33f99
UD
294 * misc/Makefile (headers): Add bits/select2.h.
295 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
296 * misc/bits/select2.h: New file.
297 * include/bits/select2.h: New file.
298 * debug/Makefile (routines): Add fdelt_chk.
299 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
300 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
301 FD_ISSET.
302 * debug/fdelt_chk.c: New file.
303
762011fe
UD
304 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
305 * wcsmbs/test-wmemcmp.c: Likewise.
306 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 307 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
308
3092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
310
311 * string/Makefile (strop-tests): Add memcmp.
312 * string/test-wmemcmp.c: New file.
313 * string/test-memcmp.c: Add wmemcmp support.
314
7f513ec8
RM
3152011-09-08 Roland McGrath <roland@hack.frob.com>
316
0442afb4
RM
317 [BZ #13153]
318 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
319 2011-07-19 change.
320
7f513ec8
RM
321 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
322 garbage value in a __mach_port_mod_refs call in the cases of the
323 task-self and thread-self ports.
324
a12b2239
ST
3252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
326
327 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
328
610f9ab4
AS
3292011-09-08 Andreas Schwab <schwab@redhat.com>
330
7f513ec8 331 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 332
48882a1a
LD
3332011-09-07 Ulrich Drepper <drepper@gmail.com>
334
b49865be
UD
335 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
336
fdc86bc9
UD
337 * elf/dl-libc.c (dlerror_run): Pass back error code from
338 dl_catch_error.
339
c966526a
UD
340 [BZ #13123]
341 * elf/dl-load.c (lose): Free l_origin if it is valid.
342
48882a1a
LD
343 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
344 names.
345 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
346 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
347 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
348 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
349 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
350 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
351
77a2a8b4
AZ
3522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353
354 * sysdeps/powerpc/fpu/e_hypot.c: New file.
355 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
356 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
357 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
358 * sysdeps/powerpc/fpu/k_cosf.c: New file.
359 * sysdeps/powerpc/fpu/k_sinf.c: New file.
360 * sysdeps/powerpc/fpu/s_cosf.c: New file.
361 * sysdeps/powerpc/fpu/s_sinf.c: New file.
362 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
363 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
364
24f579d8
AM
3652011-08-15 Alan Modra <amodra@gmail.com>
366
367 [BZ #13092]
368 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
369 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
370 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
371 ppc_mcount to static-only-routines.
372 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
373 __mcount_internal.
374 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
375 __mcount_internal with usual JUMPTARGET. Remove useless nop.
376
3d4837df
UD
3772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
378
379 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
380 for finite and infinity parameters.
381
22700377
WS
3822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
383
384 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
385 and add nop instructions for throughput optimization.
386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
387
5025581e
WS
3882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
389
390 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
391 aligned copy for power7 with vector-scalar instructions.
392 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
393
08a300c9
L
3942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
395
396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
397 AVX check.
398
59178ef9
AS
3992011-09-07 Andreas Schwab <schwab@redhat.com>
400
401 [BZ #13144]
402 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
403 last change.
404
e38ba7ab
UD
4052011-09-07 Ulrich Drepper <drepper@gmail.com>
406
407 * sysdeps/unix/sysv/linux/x86_64/init-first.c
408 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
409 syscall wrapper around clock_gettime in __vdso_clock_gettime.
410 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
411 clock_gettime.
412
d53a73ac
UD
4132011-09-06 Ulrich Drepper <drepper@gmail.com>
414
fc8bffcc
UD
415 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
416 Forgot to demangle the pointer.
417
ceaa0c5d
UD
418 * sysdeps/i386/sysdep.h: Define atom_text_section.
419 * sysdeps/x86_64/sysdep.h: Likewise.
420 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
421 section with atom_text_section.
422 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
423 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
424 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
426 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
427
a77d3c17
UD
428 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
429 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
430 already be defined. Change to take two parameters and don't assign
431 result to variable. Adjust all users.
432 Define INTERNAL_GETTIME if not already defined.
433 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
434 call.
435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
436 HAVE_CLOCK_GETTIME_VSYSCALL.
437 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
438
d53a73ac
UD
439 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
440 gettimeofday vsyscall, just use time.
441
a8f84144
AS
4422011-09-06 Andreas Schwab <schwab@redhat.com>
443
444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
445 <errno.h>.
446
ef606249
UD
4472011-09-06 Ulrich Drepper <drepper@gmail.com>
448
449 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
450 syscall on x86-64.
451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
452 syscall.
453 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
455 syscall if possible.
456
6585cb60
UD
4572011-09-05 Ulrich Drepper <drepper@gmail.com>
458
459 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
460 e_ident. Don't pass to find_mapsXX.
461 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
462
a5f524e4
LD
4632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
464
465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
466 strchr-sse2-no-bsf strrchr-sse2-no-bsf
467 * sysdeps/x86_64/multiarch/strchr.S: Update.
468 Check bit_slow_BSF bit.
469 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
470 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
471 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
472
554881ef
UD
4732011-09-05 Ulrich Drepper <drepper@gmail.com>
474
d96de963
UD
475 [BZ #13134]
476 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
477 before glibc 2.15.
478 (tryshell): Define.
479 (__spawni): Change last parameter to be flag. Test
480 SPAWN_XFLAGS_USE_PATH flag to use path or not.
481 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
482 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
483 * posix/spawni.c: Likewise.
484 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
485 * posix/spawnp.c: Likewise. Change normal version to use
486 SPAWN_XFLAGS_USE_PATH.
487 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
488 SPAWN_XFLAGS_TRY_SHELL.
489
d48e5868
UD
490 [BZ #13150]
491 * posix/glob.h: Remove gcc 1.x support.
492
554881ef
UD
493 [BZ #13068]
494 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
495
693fb948
LD
4962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
497
498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
499 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
500 strrchr-sse2-bsf
501 * sysdeps/i386/i686/multiarch/strchr.S: New file.
502 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
503 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
504 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
505 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
506 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
507
1b48c537
UD
5082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
509
49d42c37
UD
510 * sysdeps/x86_64/wcscmp.S: New file.
511
1b48c537
UD
512 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
513 wcscmp-c wcscmp-sse2
514 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
515 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
516 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
517 * wcsmbs/wcscmp.c: Allow renaming.
518
15c95c5d
DM
5192011-09-05 David S. Miller <davem@davemloft.net>
520
521 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
522 stack slot, rather than the struct return pointer slot.
523 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
524 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
526 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
527
2f0ad8f3
UD
5282011-09-05 Ulrich Drepper <drepper@gmail.com>
529
d88ae418
UD
530 * po/ja.po: Update from translation team.
531
2f0ad8f3
UD
532 [BZ #13144]
533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
534 kernel in 64-bit binaries.
535
5f4318d1
DM
5362011-09-01 David S. Miller <davem@davemloft.net>
537
538 * elf/elf.h (HWCAP_SPARC_*): Move to..
539 * sysdeps/sparc/sysdep.h: this new file and add new values.
540 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
541 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
542 _DL_HWCAP_COUNT to 24.
543 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
544 entries.
545 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
546 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
547 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
549 instead of magic constants.
550 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
551
3ba57516
DM
5522011-08-31 David S. Miller <davem@davemloft.net>
553
554 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
556 Reimplement to do errno handling inline.
557 (SYSCALL_ERROR_HANDLER): New macro.
558 (__SYSCALL_STRING): Do not do errno handling in asm.
559 (__CLONE_SYSCALL_STRING): Delete.
560 (__INTERNAL_SYSCALL_STRING): Delete.
561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
562 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
563 (PSEUDO): Reimplement to do errno handling inline.
564 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
565 (SYSCALL_ERROR_HANDLER): New macro.
566 (__SYSCALL_STRING): Do not do errno handling in asm.
567 (__CLONE_SYSCALL_STRING): Delete.
568 (__INTERNAL_SYSCALL_STRING): Delete.
569 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
570 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
571 i386.
572 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
573 (inline_syscall*): Add 'err' argument.
574 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
575 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
576 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
577 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
578
579 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
580 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
581
2bc17433
AS
5822011-08-30 Andreas Schwab <schwab@redhat.com>
583
584 * elf/rtld.c (dl_main): Relocate objects in dependency order.
585
fbeb5f4d
JO
5862011-08-29 Jiri Olsa <jolsa@redhat.com>
587
588 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
589 directive.
590
ad69cc26
DM
5912011-08-24 David S. Miller <davem@davemloft.net>
592
593 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
594
39dd69df
AS
5952011-08-24 Andreas Schwab <schwab@redhat.com>
596
597 * elf/Makefile: Add rules to build and run unload8 test.
598 * elf/unload8.c: New file.
599 * elf/unload8mod1.c: New file.
600 * elf/unload8mod1x.c: New file.
601 * elf/unload8mod2.c: New file.
602 * elf/unload8mod3.c: New file.
603
604 * elf/dl-close.c (_dl_close_worker): Reset private search list if
605 it wasn't used.
606
2c0b250a
DM
6072011-08-23 David S. Miller <davem@davemloft.net>
608
609 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
610 subtract stack bias.
611 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
612 %sp not %fp in calculations.
613 (_JMPBUF_UNWINDS_ADJ): Likewise.
614
22044b48
DM
615 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
616 (aio_suspend): Call it to force an exception region around the
617 AIO_MISC_WAIT() invocation.
618
2cae4995
AS
6192011-08-23 Andreas Schwab <schwab@redhat.com>
620
621 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
622 backslash.
623
873a772e
AJ
6242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
625
626 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
627 protection macro.
628 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
629 and <dl-machine.h>.
630 (Elf64_FuncDesc): Remove.
631
25ad0df1
DM
6322011-08-22 David S. Miller <davem@davemloft.net>
633
634 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
635 sigaltstack check, add missing cfi directives.
636 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
637 missing cfi directives, and sigaltstack handling.
638
e888bcbe
AS
6392011-08-16 Andreas Schwab <schwab@redhat.com>
640
641 [BZ #11724]
642 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
643 object is seen twice.
644 * elf/dl-fini.c (_dl_sort_fini): Likewise.
645
646 * elf/Makefile (distribute): Add tst-initorder2.c.
647 (tests): Add tst-initorder2.
648 (modules-names): Add tst-initorder2a tst-initorder2b
649 tst-initorder2c tst-initorder2d. Add rules to build them.
650 ($(objpfx)tst-initorder2.out): New rule.
651 * elf/tst-initorder2.c: New file.
652 * elf/tst-initorder2.exp: New file.
653
87162f46
AS
6542011-08-22 Andreas Schwab <schwab@redhat.com>
655
70538b7f
AS
656 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
657
f55ffe58
AS
658 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
659 dependencies back to end of function.
660
87162f46
AS
661 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
662 $(elfobjdir)/ld.so.
663
91b392a4
UD
6642011-08-21 Ulrich Drepper <drepper@gmail.com>
665
666 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
667 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
668 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
669 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
670 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
671 of __vdso_gettimeofday.
672 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
673 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
674 attribute_hidden.
675 (_libc_vdso_platform_setup): Remove initialization of
676 __vdso_gettimeofday and __vdso_time.
677
5c43483f
UD
6782011-08-20 Ulrich Drepper <drepper@gmail.com>
679
775a77e7
UD
680 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
681 and fgetc_unlocked.
682 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
683 getc_unlocked.
89f447ed 684
49c74ba9
UD
685 * elf/dl-open.c (add_to_global): Report additions to the global scope
686 for LD_DEBUG=scopes.
687 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 688 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 689
5c43483f
UD
690 [BZ #13114]
691 * stdio-common/Makefile (tests): Add bug24.
692 * stdio-common/bug24.c: New file.
693
a101b025
AJ
6942011-08-19 Andreas Jaeger <aj@suse.de>
695
696 [BZ #13114]
697 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
698 non-existant file when using close-on-exec mode.
699
c88f1766
UD
7002011-08-20 Ulrich Drepper <drepper@gmail.com>
701
0276a718
UD
702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
703 the very first instruction.
704
c88f1766
UD
705 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
706 the CFI state in the end.
707 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
708 inclusion of dl-trampoline.h.
709 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
710
51ccffa0
AS
7112011-08-19 Andreas Schwab <schwab@redhat.com>
712
94d7165f
AS
713 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
714 expectations for long double.
715
51ccffa0
AS
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
717 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
718
fd708658 7192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
720
721 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
722 artificual limit depends upon the system page size.
723
44f0a71e
UD
7242011-08-17 Ulrich Drepper <drepper@gmail.com>
725
726 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
727 * resolv/Makefile: Define CFLAGS-libresolv.
728
8de79a24
AS
7292011-08-17 Andreas Schwab <schwab@redhat.com>
730
731 * nss/makedb.c (compute_tables): Make variables used in nested
732 function static.
733
27724598
UD
7342011-08-17 Ulrich Drepper <drepper@gmail.com>
735
c5305d88
UD
736 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
737 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
738 if buffer was too small.
739
27724598
UD
740 * elf/pldd.c (main): Attach to all threads in the process.
741 Rewrite /proc handling to use *at functions.
742
076fe015
UD
7432011-08-16 Ulrich Drepper <drepper@gmail.com>
744
174baab3
UD
745 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
746 specifies first scope to show.
747 (dl_open_worker): Update callers. Move printing scope of new
748 object to before the relocation.
44f0a71e 749 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
750 * sysdeps/generic/ldsodefs.h: Update declaration.
751
076fe015
UD
752 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
753 string for the scope number.
754
a60df2c3
UD
7552011-08-14 Ulrich Drepper <drepper@gmail.com>
756
757 * nscd/servicescache.c (cache_addserv): Make sure written is always
758 initialized.
759
5e4287d1
RM
7602011-08-14 Roland McGrath <roland@hack.frob.com>
761
85ae0589
RM
762 * sysdeps/i386/i486/bits/atomic.h
763 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
764 statement expression, so as to suppress "set but not used" warning.
765 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
766
69f63097
RM
767 * string/strncat.c (STRNCAT): Use prototype definition.
768
675456ef
RM
769 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
770 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
771 -Iprograms here.
772 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
773 (localedef-modules): Add localedef.
774 (locale-modules): Add locale.
775
5e4287d1
RM
776 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
777 * elf/rtld.c (dl_main): Invert order of assignment in last change,
778 to avoid a warning.
779
9c96ff23
DM
7802011-08-14 David S. Miller <davem@davemloft.net>
781
782 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
783 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
784
f9ddf089
UD
7852011-08-13 Ulrich Drepper <drepper@gmail.com>
786
44f0a71e 787 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
788 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
789 * elf/rtld.c (dl_main): Set l_name of vDSO.
790 Call _dl_show_scope when DL_DEBUG_SCOPES.
791 (process_dl_debug): Recognize scopes flag and also set it for all.
792 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
793 Declare _dl_show_scope.
794
1dc27704
UD
795 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
796 (do_dlopen): Pass caller_dlopen to dl_open.
797 (__libc_dlopen_mode): Initialize caller_dlopen.
798
f9ddf089
UD
799 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
800 of libc. Make tolower call locale-independent. Optimize a bit by
801 using isdigit instead of isalnum.
802 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
803
9ac533d3
UD
8042011-08-12 Ulrich Drepper <drepper@gmail.com>
805
806 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
807 was a dependency or dynamically loaded.
808
89edf2e9
UD
8092011-08-11 Ulrich Drepper <drepper@gmail.com>
810
8e999d29
UD
811 * intl/l10nflist.c: Allow architecture-specific pop function.
812 * sysdeps/x86_64/l10nflist.c: New file.
813
89edf2e9
UD
814 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
815 classification.
816
14d96785
AS
8172011-08-10 Andreas Schwab <schwab@redhat.com>
818
819 * include/dirent.h: Add libc_hidden_proto for scandirat and
820 scandirat64. Don't declare __scandirat64.
821 * dirent/scandirat.c: Add libc_hidden_def.
822 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
823 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
824
6761ac04
DM
8252011-08-10 David S. Miller <davem@davemloft.net>
826
827 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
828 enum.
829 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
830 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
831 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
832
c55fbd1e
UD
8332011-08-09 Ulrich Drepper <drepper@gmail.com>
834
835 * Versions.def [libc]: Add GLIBC_2.15.
836 * dirent/Makefile (routines): Add scandirat and scandirat64.
837 * dirent/Versions [libc]: Export scandirat and scandirat64 for
838 GLIBC_2.15.
839 * dirent/dirent.h: Declare scandirat and scandirat64.
840 * dirent/scandirat.c: New file.
841 * dirent/scandirat64.c: New file.
842 * sysdeps/wordsize-64/scandirat.c: New file.
843 * sysdeps/wordsize-64/scandirat64.c: New file.
844 * dirent/opendir.c: Define opendirat.
845 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
846 using scandirat.
847 * dirent/scandir64.c: Adjust for scandir.c change.
848 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
849 __scandirat64, and __scandir_cancel_handler.
850 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
851 additional parameter and use openat instead of open (outside of ld.so).
852 Add new __opendir as wrapper around __opendirat.
853 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
854 here without requiring old scandirat implementation.
855
879165f2
UD
8562011-08-08 Ulrich Drepper <drepper@gmail.com>
857
858 * dirent/scandir.c (cancel_handler): Renamed to
859 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
860 defined. Adjust users.
861 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
862 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
863
cb7e923b
UD
8642011-08-04 Ulrich Drepper <drepper@gmail.com>
865
16292edd
UD
866 * string/test-string.h (IMPL): Use __STRING to expand name and then
867 stringify it.
868
cb7e923b
UD
869 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
870 of cleanups.
871
cff82933
LD
8722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
873
874 * string/Makefile: Update.
875 (strop-tests): Append strncat.
876 * string/test-wcscmp.c: New file.
877 New comprehensive test for wcscmp.
878 * string/test-strcmp.c: Update.
879 (WIDE): New define.
880
9be9bfcc
AS
8812011-07-22 Andreas Schwab <schwab@redhat.com>
882
883 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
884 line.
885
2e96f1c7
AS
8862011-07-26 Andreas Schwab <schwab@redhat.com>
887
888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
889 encoding to ACE if AI_IDN.
890
85188888
JJ
8912011-08-01 Jakub Jelinek <jakub@redhat.com>
892
893 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
894 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
895
5fa16e9b
LD
8962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
897
898 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
899 Fix overflow bug in strncat.
900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
901
902 * string/test-strncat.c: Update.
903 Add new tests for checking overflow bugs.
904
9052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
906
907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
908 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
909 * sysdeps/i386/i686/multiarch/strcat.S: New file.
910 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
911 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
912 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
913 * sysdeps/i386/i686/multiarch/strncat.S: New file.
914 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
915 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
916
917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
918 (USE_AS_STRCAT): Define.
919 Add strcat and strncat support.
920 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
921
8c1a459f
AS
9222011-07-25 Andreas Schwab <schwab@redhat.com>
923
924 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
925 __n bigger than INT_MAX+1.
926 (__strncmp_g): Likewise.
927
bba33c28
UD
9282011-07-23 Ulrich Drepper <drepper@gmail.com>
929
798be72d
UD
930 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
931 * libio/stido.h: Likewise.
932
8accd4dc
UD
933 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
934 (AF_NFC): Define.
935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
936 (AF_NFC): Define.
937
cbff0d96
UD
938 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
939 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
940 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
941 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
943
9191c04a
UD
944 [BZ #13021]
945 * scripts/test-installation.pl: Don't expect libnss_test1 to be
946 installed.
947
bba33c28
UD
948 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
949 typo.
950 (_dl_x86_64_save_sse): Likewise.
951
90f139dd
UD
9522011-07-22 Ulrich Drepper <drepper@gmail.com>
953
1aae088a
UD
954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
955 OSXSAVE.
956 (_dl_x86_64_save_sse): Likewise.
957
8e2045f5
UD
958 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
959
90f139dd
UD
960 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
961
1d002f25
AS
9622011-07-21 Andreas Schwab <schwab@redhat.com>
963
964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
965 change.
966 (_dl_x86_64_save_sse): Use correct AVX check.
967
21137f89
UD
9682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
969
970 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
971 bug in strncpy/strncat.
972 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
973
a65c0b7a
UD
9742011-07-21 Ulrich Drepper <drepper@gmail.com>
975
976 * string/tester.c (test_strcat): Add tests for different alignments
977 of source and destination.
978 (test_strncat): Likewise.
979
6986b98a
UD
9802011-07-20 Ulrich Drepper <drepper@gmail.com>
981
90bb2039
UD
982 [BZ #12852]
983 * posix/glob.c (glob): Check passed in values before using them in
984 expressions to avoid some overflows.
985 (glob_in_dir): Likewise.
986
5644ef54
UD
987 [BZ #13007]
988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
989 check for AVX enablement so that we don't crash with old kernels and
990 new hardware.
991 * elf/tst-audit4.c: Add same checks here.
992 * elf/tst-audit6.c: Likewise.
993
994 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 995
bfc9dc9b
AS
9962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
997
998 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
999
702e64bb
UD
10002011-07-20 Ulrich Drepper <drepper@gmail.com>
1001
1002 * po/cs.po: Update from translation team.
1003 * po/bg.po: Likewise.
1004
295e904f
MP
10052011-07-12 Marek Polacek <mpolacek@redhat.com>
1006
1007 * misc/sys/cdefs.h: Add support for const attribute.
1008 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
1009 to gnu_dev_{major,minor,makedev} functions.
1010
3ff94596
MP
10112011-07-20 Marek Polacek <mpolacek@redhat.com>
1012
1013 * intl/dcigettext.c (get_output_charset): Add missing bracket.
1014
28b59fca
AS
10152011-07-20 Andreas Schwab <schwab@redhat.com>
1016
1017 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
1018 strlen results.
1019
19df733e
AK
10202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1021
1022 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1023 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
1024 register in order to avoid conflicts with the soft frame pointer
1025 being held in r11 when necessary.
1026 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1027 (INTERNAL_VSYSCALL_NCS): Likewise.
1028
c8835729
MP
10292011-07-14 Marek Polacek <mpolacek@redhat.com>
1030
1031 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
1032 * elf/dl-fini.c (_dl_fini): Adjust caller.
1033 * elf/dl-close.c (_dl_close_worker): Likewise.
1034 * sysdeps/generic/ldsodefs.h: Adjust declaration.
1035
b902330c
MP
10362011-07-15 Marek Polacek <mpolacek@redhat.com>
1037
8991e135
MP
1038 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
1039 "aux_cache->nlibs < 0".
1040
b902330c
MP
1041 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
1042 in the reload-count case.
1043
99710781
LD
10442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1045
1046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1047 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
1048 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
1049 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
1050 * sysdeps/x86_64/multiarch/strcat.S: New file.
1051 * sysdeps/x86_64/multiarch/strncat.S: New file.
1052 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
1053 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
1054 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
1055 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
1056 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
1057 (USE_AS_STRCAT): Define.
1058 Add strcat and strncat support.
1059 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1060 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1061 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
1062 * string/strncat.c: Update.
1063 (USE_AS_STRNCAT): Define.
1064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1065 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
1066 and i7.
1067 * sysdeps/x86_64/multiarch/init-arch.h
1068 (bit_Prefer_PMINUB_for_stringop): New.
1069 (index_Prefer_PMINUB_for_stringop): Likewise.
1070 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
1071 bit_Prefer_PMINUB_for_stringop.
1072
7dc6bd90
UD
10732011-07-19 Ulrich Drepper <drepper@gmail.com>
1074
1075 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
1076 buffer64.
1077 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
1078 of casting of buffer.
1079 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
1080 buffer32 and buffer64.
1081 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
1082 writes instead of casting of buffer.
1083 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
1084 buffer32.
1085 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
1086 casting of buffer.
1087
e0e72284
AS
10882011-07-19 Andreas Schwab <schwab@redhat.com>
1089
1090 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
1091
feb1eb0b
UD
10922011-07-19 Ulrich Drepper <drepper@gmail.com>
1093
1094 * nscd/nscd.c (termination_handler): Don't do anything for a database
1095 if it has not yet been initialized.
1096
298711ff
UD
10972011-07-18 Ulrich Drepper <drepper@gmail.com>
1098
1099 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1100
11012011-07-15 Marek Polacek <mpolacek@redhat.com>
1102
1103 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1104
f9d68389
UD
11052011-07-18 Ulrich Drepper <drepper@gmail.com>
1106
1107 * po/nl.po: Update from translation team.
1108 * po/sv.po: Likewise.
1109
db290cf5
RM
11102011-07-16 Roland McGrath <roland@hack.frob.com>
1111
1112 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
1113 now disallowed by GCC.
5c550700 1114
fd5e21c7
RM
1115 * configure.in (use-default-link): Default to yes if a test -shared
1116 link meets our qualifications.
1117 * configure: Regenerated.
1118
5c550700
RM
1119 * config.make.in (output-format): New variable.
1120 * configure.in: Check for ld --print-output-format support.
1121 * configure: Regenerated.
1122 * Makerules ($(common-objpfx)format.lds)
1123 [$(output-format) != unknown]: Just use $(output-format),
1124 instead of the linker-script munging.
1125
9fa2c032
RM
11262011-07-14 Roland McGrath <roland@hack.frob.com>
1127
a6928d51
RM
1128 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
1129 of $(common-objpfx)shlib.lds.
1130 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
1131
661607b3
RM
1132 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
1133 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
1134
9fa2c032
RM
1135 * configure.in (-z relro check): Adjust test code to add a large
1136 writable data section after it.
1137 * configure: Regenerated.
1138
defe9061
RM
11392011-07-11 Roland McGrath <roland@hack.frob.com>
1140
1141 * configure.in (-z relro check): Fix test code to make the variable
1142 truly const.
1143 * configure: Regenerated.
1144
319b9ad4
UD
11452011-07-11 Ulrich Drepper <drepper@gmail.com>
1146
1147 * nscd/nscd.h (struct traced_file): Define.
1148 (struct database_dyn): Remove inotify_descr, reset_res, and filename
1149 elements. Add traced_files.
1150 (inotify_fd): Declare.
1151 (register_traced_file): Declare.
1152 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
1153 (inotify_fd): Export.
1154 (resolv_conf_descr): Remove.
1155 (nscd_init): Move inotify descriptor creation to main.
1156 Don't register files for notification here.
1157 (register_traced_file): New function.
1158 (invalidate_cache): Don't use reset_res to determine whether to call
1159 res_init, go through the list of registered files.
1160 (main_loop_poll): The inotify descriptors are now stored in the
1161 structures for the traced files.
1162 (main_loop_epoll): Likewise
1163 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
1164 to __nss_disable_nscd.
1165 * nscd/cache.c (prune_cache): There is no single inotify descriptor
1166 for a database anymore. Check the records for all the registered
1167 files instead.
1168 * nss/Makefile (libnss_files-routines): Add files-init.
1169 (libnss_db-routines): Add db-init.
1170 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
1171 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
1172 * nss/nss_db/db-init.c: New file.
1173 * nss/nss_files/files-init.c: New file.
1174 * nss/nsswitch.c (nss_load_library): New function. Broken out of
1175 __nss_lookup_function.
1176 (__nss_lookup_function): Call nss_load_library.
1177 (nss_load_all_libraries): New function.
1178 (__nss_disable_nscd): Take parameter with callback function for files
1179 to register. Set is_nscd. Load all the DSOs for the NSS modules
1180 used for the cached services.
1181 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
1182 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
1183 options for features to all the files in nscd.
1184
1185 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
1186
23bee3e8
RM
11872011-07-10 Roland McGrath <roland@hack.frob.com>
1188
1189 * csu/elf-init.c (__libc_csu_init): Comment typo.
1190
46a5b7f0
UD
11912011-07-09 Ulrich Drepper <drepper@gmail.com>
1192
1193 * po/pl.po: Update from translation team.
1194 * po/ja.po: Likewise.
1195 * po/ru.po: Likewise.
1196 * po/ko.po: Likewise.
1197 * po/fr.po: Likewise.
1198
d30cf5bb
RM
11992011-07-09 Roland McGrath <roland@hack.frob.com>
1200
113ddea4
RM
1201 * configure.in (.ctors/.dtors header and trailer check):
1202 Use an empirical test on a built program.
1203 * configure: Regenerated.
1204
574920b4
RM
1205 * configure.in (-z relro check): Use an empirical test on a built DSO.
1206 Detect, but do not require, on ia64.
1207 * configure: Regenerated.
1208
d30cf5bb
RM
1209 * configure.in (READELF): Find it with AC_CHECK_TOOL.
1210 Update tests that use readelf to use $READELF instead.
1211 * configure: Regenerated.
1212
8538fdb3
UD
12132011-07-08 Ulrich Drepper <drepper@gmail.com>
1214
1215 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
1216 if the result is not used.
1217
04d08991
AJ
12182011-07-05 Andreas Jaeger <aj@suse.de>
1219
1220 [BZ#9696]
1221 * stdlib/tst-strtod.c: Add testcase.
1222
de283087
AD
12232011-07-07 Ulrich Drepper <drepper@gmail.com>
1224
4e5f31c8 1225 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 1226 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
1227 The latter has a higher limit. Take additional parameter to pass to
1228 the new function.
1229 (__pathconf): Pass file to __statfs_link_max.
1230 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
1231 __statfs_link_max.
1232 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
1233 __statfs_link_max.
1234
de283087
AD
1235 [BZ #12868]
1236 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
1237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1238 Handle Lustre.
1239 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
1240 (__statfs_filesize_max): Likewise.
1241 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
1242
c75fa153
AJ
12432011-07-05 Andreas Jaeger <aj@suse.de>
1244
1245 * resolv/res_comp.c (dn_skipname): Remove unused variable.
1246
1a544854
UD
12472011-07-06 Marek Polacek <mpolacek@redhat.com>
1248
1249 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
1250 `status' variable.
1251 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
1252 Likewise.
1253
6f0eec67
UD
12542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
1255
1256 * Makefile (strop-tests): Add strncat.
1257 * string/test-strncat.c: New file.
1258
aae30307
UD
12592011-06-30 Marek Polacek <mpolacek@redhat.com>
1260
1261 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
1262
c0cfb5eb
UD
12632011-06-21 Andreas Jaeger <aj@suse.de>
1264
1265 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
1266 Copy rule from iconvdata/Makefile.
1267
01636b21
UD
12682011-07-06 Ulrich Drepper <drepper@gmail.com>
1269
1270 [BZ #12922]
1271 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
1272 but no long options are defined, just return 'W'.
1273
9895c8bc
UD
12742011-06-22 Marek Polacek <mpolacek@redhat.com>
1275
1276 [BZ #9696]
1277 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
1278
5d4cf042
UD
12792011-07-06 Ulrich Drepper <drepper@gmail.com>
1280
1281 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
1282 netgroups to read.
960e5535 1283 (innetgr): Likewise.
5d4cf042 1284
751eb97e
RM
12852011-07-05 Roland McGrath <roland@hack.frob.com>
1286
1287 * config.make.in (install_root): Default to $(DESTDIR).
1288
f15f1e45
UD
12892011-07-05 Ulrich Drepper <drepper@gmail.com>
1290
1291 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
1292
4e34ac6a
RM
12932011-07-02 Roland McGrath <roland@hack.frob.com>
1294
5e9b6af4
RM
1295 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
1296
84f9ea0f
RM
1297 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
1298 containing directory rather than embedding absolute directory names.
1299
ea5ee9f7
RM
1300 * scripts/check-local-headers.sh: Rewritten using awk.
1301 Match by word, not by line. Print error messages for matches.
1302 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
1303
1b74661a
RM
1304 * Makerules [shlib-lds-flags empty]:
1305 ($(common-objpfx)libc_pic.opts): New target.
1306 ($(common-objpfx)libc_pic.os.clean): New target.
1307 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
1308
1309 * config.make.in (OBJCOPY): New variable.
1310 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
1311 * configure: Regenerated.
1312
f781ef40
RM
1313 * config.make.in (use-default-link): New variable.
1314 * configure.in (use_default_link): Grok --with-default-link to set it.
1315 * configure: Regenerated.
1316 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
1317 (shlib-lds, shlib-lds-flags): Define to empty.
1318
2d4fa81e
RM
1319 * Makerules (shlib-lds): New variable.
1320 (shlib-lds-flags): New variable.
1321 (build-shlib, build-moduile, build-module-asneeded): Use it.
1322 ($(common-objpfx)libc.so): Use $(shlib-lds).
1323 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
1324 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
1325
31fffa6b
RM
1326 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
1327 DT_FLAGS/DT_FLAGS_1 with zero flags.
1328
4e34ac6a
RM
1329 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
1330 linker script munging.
1331
fcfc776b
UD
13322011-07-02 Ulrich Drepper <drepper@gmail.com>
1333
1334 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
1335 as 128-bit value.
1336 * crypt/sha512.c (sha512_process_block): Perform total addition using
1337 128-bit if possible.
1338 (__sha512_finish_ctx): Likewise.
1339 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
1340 as 64-bit value.
1341 * crypt/sha256.c (SWAP64): Define.
1342 (sha256_process_block): Perform total addition using 64-bit if
1343 possible.
1344 (__sha256_finish_ctx): Likewise.
1345
99231d9a
UD
13462011-07-01 Ulrich Drepper <drepper@gmail.com>
1347
1348 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
1349 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1350 * nscd/hstcache.c (cache_addhst): Likewise.
1351 * nscd/grpcache.c (cache_addgr): Likewise.
1352 * nscd/aicache.c (addhstaiX): Likewise
1353 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
1354
445b4a53
TK
13552011-07-01 Thorsten Kukuk <kukuk@suse.de>
1356
1357 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
1358 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1359 * nscd/hstcache.c (cache_addhst): Likewise.
1360 * nscd/grpcache.c (cache_addgr): Likewise.
1361 * nscd/aicache.c (addhstaiX): Likewise
1362
6d4d8e8e
AS
13632011-07-01 Andreas Schwab <schwab@redhat.com>
1364
1365 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
1366 domain only when needed.
1367
89f654c5
AS
13682011-06-30 Andreas Schwab <schwab@redhat.com>
1369
1370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
1371 is always restored.
1372
cf3b23ff
UD
13732011-06-29 Ulrich Drepper <drepper@gmail.com>
1374
1375 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
1376 are re-adding the entry.
1377 * nscd/servicescache.c (cache_addserv): Likewise.
1378
751626f9
AJ
13792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
1380
1381 * sysdeps/generic/dl-irel.h: fix protection against multiple
1382 inclusions.
1383 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
1384
9113ea1f
UD
13852011-06-28 Ulrich Drepper <drepper@gmail.com>
1386
5c0b8d90
UD
1387 [BZ #12935]
1388 * malloc/memusage.sh: Fix quoting in message.
1389 * debug/xtrace.sh: Likewise.
1390
9113ea1f
UD
1391 * configure.in: Remove support for --experimental-malloc option, make
1392 it the default.
1393 * config.make.in: Likewise.
1394 * malloc/Makefile: Likewise.
1395
a4172181
AS
13962011-06-27 Andreas Schwab <schwab@redhat.com>
1397
1398 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
1399 two-byte characters.
1400
78a7eee7
RM
14012011-06-27 Roland McGrath <roland@hack.frob.com>
1402
62bede13
RM
1403 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
1404 AC_CACHE_CHECK invocation.
1405 * configure: Regenerated.
1406
78a7eee7
RM
1407 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
1408
5ce33a62
UD
14092011-06-27 Ulrich Drepper <drepper@gmail.com>
1410
034807a9
UD
1411 [BZ #12350]
1412 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
1413 bit from old_res_options.
1414
4902da17
UD
1415 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
1416
5ce33a62
UD
1417 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
1418 value type for setfct.
1419
c2344f56
L
14202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1423 __gettimeofday instead of gettimeofday.
1424
68468076
UD
14252011-06-26 Ulrich Drepper <drepper@gmail.com>
1426
1427 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
1428
acb0d739
L
14292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
1432
1433 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
1434 info.
1435
8912479f
L
14362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1437
1438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1439 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1440 strcpy-sse2-unaligned strncpy-sse2-unaligned
1441 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
1442 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
1443 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
1444 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
1445 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
1446 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
1447 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
1448 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
1449 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
1450 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
1451 (STRCPY): Support SSE2 and SSSE3 versions.
1452
d5495a11
UD
14532011-06-24 Ulrich Drepper <drepper@gmail.com>
1454
1455 [BZ #12874]
1456 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
1457 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
1458 kernels which artificially limit size of requests.
1459
0b1cbaae
L
14602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1461
1462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1463 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1464 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
1465 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
1466 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
1467 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
1468 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
1469 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
1470 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
1471 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
1472 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
1473 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
1474 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
1475 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
1476 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
1477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1478 Enable unaligned load optimization for Intel Core i3, i5 and i7
1479 processors.
1480 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
1481 Define.
1482 (index_Fast_Unaligned_Load): Define.
1483 (HAS_FAST_UNALIGNED_LOAD): Define.
1484
07f494a0
MP
14852011-06-23 Marek Polacek <mpolacek@redhat.com>
1486
1487 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
1488
fa3fc0fe
UD
14892011-06-22 Ulrich Drepper <drepper@gmail.com>
1490
1491 [BZ #12907]
1492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
1493 until it is clear that the information is realy needed.
1494 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
1495
e12df166
AS
14962011-06-22 Andreas Schwab <schwab@redhat.com>
1497
1498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
1499
852eb34d
UD
15002011-06-22 Ulrich Drepper <drepper@gmail.com>
1501
84e2a551
UD
1502 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1503 /sys/devices/system/cpu/online if it is usable.
1504
852eb34d
UD
1505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
1506 reading the information from the /proc filesystem to once a second.
1507
6e502e19
UD
15082011-06-21 Andreas Jaeger <aj@suse.de>
1509
1510 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
1511 NULL after inclusion of kernel headers.
1512
75d39ff2
UD
15132011-06-21 Ulrich Drepper <drepper@gmail.com>
1514
51f9aa6a
UD
1515 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
1516 calls to internal_setent.
1517
c0244a9d
UD
1518 [BZ #12885]
1519 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
1520 addresses using gethostbyname4_r ignore IPv4 addresses.
1521
c5e3c2ae
UD
1522 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
1523 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
1524
75d39ff2
UD
1525 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
1526
42675c6f
DM
15272011-06-20 David S. Miller <davem@davemloft.net>
1528
1529 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
1530 inclusions.
1531 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
1532
1533 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
1534 (elf_irel): Use it.
1535 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
1536 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
1537 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
1538 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
1539 * sysdeps/x86_64/dl-irel.h: Likewise.
1540
1541 * elf/dl-runtime.c: Use elf_ifunc_invoke.
1542 * elf/dl-sym.c: Likewise.
1543
57912a71
UD
15442011-06-15 Ulrich Drepper <drepper@gmail.com>
1545
1546 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
1547 need to dereference resplen2.
1548
ee22793d
AS
15492011-06-14 Andreas Schwab <schwab@redhat.com>
1550
1551 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
1552
a9e836b0
UD
15532011-06-15 Ulrich Drepper <drepper@gmail.com>
1554
77fb9117
UD
1555 * Makeconfig: Define vardbdir and inst_vardbdir.
1556 * nss/Makefile: Add rules to install db-Makefile.
1557
40c1b22c
UD
1558 * nss/nss_db/db-XXX.c: Cleanup.
1559
9f2da732
UD
1560 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
1561 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
1562 GLIBC_PRIVATE.
1563 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
1564 * nss/makedb.c: Implement -g option to specify that value strings
1565 are generated and should not be added to table iterated over for
1566 get*ent calls.
1567 * nss/nss_db/db-initgroups.c: New file.
1568
82e9a1f7
UD
1569 * nss/getent.c: Add support for initgroups lookups through getgrouplist
1570 interface.
1571
c41af17e
UD
1572 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
1573 (internal_getgrouplist): Adjust to name change.
1574 Update use_initgroups_entry if this is not the first call.
1575 * nss/databases.def: Add initgroups entry.
1576
a9e836b0
UD
1577 * nss/makedb.c (compute_tables): Check result of multiple hash table
1578 sizes to minimize maximum chain length.
1579
2666d441
UD
15802011-06-14 Ulrich Drepper <drepper@gmail.com>
1581
1582 * Versions.def: Add entry for libnss_db.
1583 * shlib-versions: Likewise.
1584 * nss/Makefile: Add rules to build libnss_db.
1585 * nss/Versions: Add libnss_db information. Organize libnss_files
1586 entries better.
1587 * nss/db-Makefile: Add gshadow support. Change rules for the new
1588 makedb progra. Some minor improvements to generate smaller files.
1589 * nss/nss_db/nss_db.h: Move NSS database header data structures to
1590 here from...
1591 * nss/makedb.c: ...here.
1592 Improve database format to be smaller and require less memory at
1593 runtime.
1594 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
1595 db anymore.
1596 * nss/nss_db/db-netgrp.c: Likewise.
1597 * nss/nss_db/db-open.c: Likewise.
1598 * nss/nss_files/flies-XXX.x: Adjust comments.
1599 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
1600 * nss/nss_files/files-grp.c: Likewise.
1601 * nss/nss_files/files-hosts.c: Likewise.
1602 * nss/nss_files/files-network.c: Likewise.
1603 * nss/nss_files/files-proto.c: Likewise.
1604 * nss/nss_files/files-pwd.c: Likewise.
1605 * nss/nss_files/files-rpc.c: Likewise.
1606 * nss/nss_files/files-service.c: Likewise.
1607 * nss/nss_files/files-sgrp.c: Likewise.
1608 * nss/nss_files/files-spwd.c: Likewise.
1609 * nss/nss_db/db-alias.c: Removed.
1610 * nss/nss_db/dummy-db.h: Removed.
1611
9ee76b5a
UD
16122011-06-02 Ulrich Drepper <drepper@gmail.com>
1613
1614 * nss/makedb.c: Rewritten to not use database library.
1615 * nss/Makefile: Update to build new makedb program.
1616
c71ca1f8
AJ
16172011-06-14 Andreas Jaeger <aj@suse.de>
1618
1619 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
1620 memset declaration.
1621
3154bfb8
UD
16222011-06-10 Andreas Schwab <schwab@redhat.com>
1623
1624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
1625 tmpbuf.
1626
b350afab
RM
16272011-06-10 Roland McGrath <roland@hack.frob.com>
1628
decd4e50
RM
1629 * Makerules (shlib.lds): Fail if the linker script comes out empty.
1630 * elf/Makefile ($(objpfx)ld.so): Likewise.
1631
5615eaf2
RM
1632 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
1633 Don't list ld.so twice in dependencies.
1634
1635 * posix/bug-regex31.c: Include <stdlib.h>.
1636
1637 * nscd/hstcache.c (cache_addhst): Remove unused variable.
1638
1639 * nis/nss_compat/compat-spwd.c
1640 (getspent_next_nss_netgr): Remove unused variable.
1641 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1642
1643 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
1644 nonmembers" output to use the right array.
1645
1646 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
1647
1648 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
1649
1650 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
1651 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
1652 * catgets/gencat.c (read_input_file): Likewise.
1653 * locale/programs/locarchive.c (enlarge_archive): Likewise.
1654
1655 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
1656 variable definition inside #if's controlling its use.
1657
1658 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
1659
1660 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
1661
1662 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
1663
1664 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
1665 unreachable code.
1666
1667 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
1668
b68e08db
RM
1669 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
1670 * configure: Regenerated.
1671
b350afab
RM
1672 * Makerules: Revert last change.
1673 * elf/Makefile: Likewise.
1674
28368601
RM
16752011-06-09 Roland McGrath <roland@hack.frob.com>
1676
1677 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
1678 * elf/Makefile ($(objpfx)librtld.os): Likewise.
1679 (reloc-link): Likewise.
1680
11988f8f
UD
16812011-06-09 Ulrich Drepper <drepper@gmail.com>
1682
1683 * elf/Makefile: Add rules to build pldd.
1684 * elf/pldd.c: New file.
1685 * elf/pldd-xx.c: New file.
1686
e80fab37
UD
16872011-06-07 Ulrich Drepper <drepper@gmail.com>
1688
1689 * version.h: Update for 2.15 development version.
1690
9b849836
DM
16912011-06-07 David S. Miller <davem@davemloft.net>
1692
1693 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
1694 ifuncs.
1695 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1696 elf_machine_lazy_rel): Likewise.
1697 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1699 elf_machine_lazy_rel): Likewise.
1700 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
1701 dl_hwcap via passed in argument.
1702 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
1703 Likewise.
1704
5a31b283
AK
17052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1706
1707 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
1708
069e52f8
RM
17092011-06-06 Roland McGrath <roland@hack.frob.com>
1710
1711 [BZ #12849]
1712 * manual/fdl-1.1.texi: New file, verbatim from:
1713 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
1714 * manual/lgpl-2.1.texi: New file, verbatim from:
1715 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
1716 * manual/Makefile (licenses): New variable, list those new file names.
1717 (texis): Use it.
1718 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
1719
1720 * manual/fdl.texi: File removed.
1721 * manual/lesser.texi: File removed.
1722 * manual/libc.texinfo (Copying, Documentation License):
1723 Use new @include file names, put @appendix directive before @include.
1724
f16846a5
JJ
17252011-06-04 Jakub Jelinek <jakub@redhat.com>
1726
1727 [BZ #12841]
1728 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
1729 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
1730 (mq_open): Add __NTH.
1731
3d29045b
L
17322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
1733
1734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1735 Assume Intel Core i3/i5/i7 processor if AVX is available.
1736
8c297311
UD
17372011-05-31 Ulrich Drepper <drepper@gmail.com>
1738
1739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1740 typo.
1741
c8fc0c91
UD
17422011-05-31 Andreas Schwab <schwab@redhat.com>
1743
1744 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
1745 memory. Use alloca_account. Fix memory leak when retrying.
1746
5b27a807
UD
17472011-05-31 Ulrich Drepper <drepper@gmail.com>
1748
356f8bc6
UD
1749 * version.h (RELEASE): Bump for 2.14 release.
1750 * include/features.h (__GLIBC_MINOR__): Bump to 14.
1751
5b27a807
UD
1752 * config.make.in (RANLIB): Remove entry.
1753
01f16ab0
UD
17542011-05-30 Ulrich Drepper <drepper@gmail.com>
1755
41fce8bd
UD
1756 * po/Makefile (po-sed-cmd): Add ksh to extensions.
1757 (libc.pot): Work around missing support for .ksh extension in xgettext.
1758
4769ae77
UD
1759 [BZ #12684]
1760 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
1761 if both request failed.
1762 (send_dg): In case of server errors clear resplen or *resplen2.
1763
6b1e7d19
UD
1764 [BZ #12454]
1765 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
1766 when there are multiple maps.
1767 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
1768 (_dl_fini): Remove test here.
1769
01f16ab0
UD
1770 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
1771
b1ebd700
UD
17722011-05-29 Ulrich Drepper <drepper@gmail.com>
1773
7ae22829
UD
1774 [BZ #12350]
1775 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
1776 bit from old_res_options.
1777 (gaih_inet): Likewise.
1778
553149f6 1779 [BZ #11099]
18a84741 1780 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
1781 as signed.
1782
652ffab1
UD
1783 * resolv/res_init.c (res_setoptions): Make the code more compact.
1784
16985fd0
UD
1785 [BZ #11558]
1786 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
1787 set RES_USEVC.
1788
0464f746
UD
1789 [BZ #11634]
1790 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
1791
7d17596c
UD
1792 * malloc/malloc.h: Mark malloc hook variables as deprecated.
1793
cf6bbbd7
UD
1794 [BZ #11781]
1795 * malloc/malloc.h: Declare malloc hook variables as volatile.
1796
13f1ab36
UD
1797 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
1798 in last patch.
1799
b1ebd700
UD
1800 [BZ #11799]
1801 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 1802 raise in the comment.
80e2212d
UD
1803 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1804 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1805 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 1806
ce67228d
UD
18072011-05-28 Ulrich Drepper <drepper@gmail.com>
1808
8887a920
UD
1809 [BZ #12811]
1810 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
1811 grow the buffers more if it already has to be sufficient.
1812 (build_wcs_upper_buffer): Likewise.
1813 * posix/regexec.c (check_matching): Likewise.
1814 (clean_state_log_if_needed): Likewise.
1815 (extend_buffers): Don't enlarge buffers beyond size of the input
1816 buffer.
1817 Patches mostly by Emil Wojak <emil@wojak.eu>.
1818 * posix/bug-regex32.c: New file.
1819 * posix/Makefile (tests): Add bug-regex32.
1820
4f031072
UD
1821 * locale/findlocale.c (_nl_find_locale): Return right away if
1822 _nl_explode_name failed.
1823 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1824
d0478f0c
UD
1825 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
1826
de81b246
UD
1827 * debug/xtrace.sh: Unify messages.
1828 * malloc/memusage.sh: Likewise.
1829
c738465a
UD
1830 [BZ #12813]
1831 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
1832 time symbol from vDSO. Substitute with vsyscall if not available.
1833 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
1834 __vdso_time.
1835
f1f929d7
UD
1836 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
1837 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
1838 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
1839 Add sendmmsg and internal_sendmmsg.
1840 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
1841 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
1842 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
1843
ce67228d
UD
1844 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
1845 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
1846 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
1847
e57420c6
UD
18482011-05-27 Ulrich Drepper <drepper@gmail.com>
1849
a8509ca5
UD
1850 [BZ #12813]
1851 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
1852 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
1853 available.
1854 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
1855 __vdso_getcpu.
1856
e57420c6
UD
1857 [BZ #12814]
1858 * iconvdata/Makefile (tests): Add bug-iconv9.
1859 * iconvdata/bug-iconv9.c: New file.
1860
4d07db15
AS
18612011-05-27 Andreas Schwab <schwab@redhat.com>
1862
1863 [BZ #12814]
1864 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
1865
ea486f69
JJ
18662011-05-25 Jakub Jelinek <jakub@redhat.com>
1867
1868 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1869 (struct user_regs_struct): Change intcs field back to cs.
1870
6f038433
UD
18712011-05-25 Ulrich Drepper <drepper@gmail.com>
1872
1873 * po/ja.po: Update from translation team.
1874
67f86a25
UD
18752011-05-23 Ulrich Drepper <drepper@gmail.com>
1876
1877 [BZ #12795]
1878 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
1879 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1880
def7fbd6
AS
18812011-05-20 Andreas Schwab <schwab@redhat.com>
1882
1883 * stdlib/longlong.h: Update from GCC.
1884
f50ef8f1
AS
18852011-05-23 Andreas Schwab <schwab@redhat.com>
1886
1887 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
1888 parameter name.
1889 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
1890 Add parameter name.
1891 (__sysconf): Pass it down.
1892
de7ce8f1
UD
18932011-05-22 Ulrich Drepper <drepper@gmail.com>
1894
f2962a71
UD
1895 [BZ #12671]
1896 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
1897 some situations.
1898 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1899 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
1900 add in in __libc_use_alloca calls. Adjust callers.
1901 (glob): Use malloc in some situations.
1902
de7ce8f1
UD
1903 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
1904 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
1905 pltexit.
1906
aec84f53
UD
19072011-05-21 Ulrich Drepper <drepper@gmail.com>
1908
05bb4a68
UD
1909 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
1910 and CLOCK_BOOTTIME_ALARM.
1911
7ea72f99
UD
1912 [BZ #12782]
1913 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
1914 is returned.
1915
7e4afad5
UD
1916 * string/_strerror.c (__strerror_r): Print negative errors as signed
1917 numbers.
1918
8e211fec
UD
1919 [BZ #12777]
1920 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
1921 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
1922 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
1923
f7d82dc9
UD
1924 * configure.in: Fix typo in redirection and correct removal of test
1925 files in two cases.
1926
cc9e536d
UD
1927 [BZ #12788]
1928 * locale/setlocale.c (new_composite_name): Fix test to check for
1929 identical name of all categories.
1930
aec84f53
UD
1931 [BZ #12792]
1932 * libio/filedoalloc.c (local_isatty): New function.
1933 (_IO_file_doallocate): Use local_isatty.
1934 * stdio-common/perror.c (perror): In case a new stream is used
1935 forward the stream error.
1936 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
1937 error flag.
1938
78e64fdc
RT
19392011-05-20 Ulrich Drepper <drepper@gmail.com>
1940
34a9094f
UD
1941 [BZ #11869]
1942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
1943 alloca.
1944 * include/alloca.h (extend_alloca_account): Define.
1945
78e64fdc
RT
1946 [BZ #11857]
1947 * posix/regex.h: Fix comments with documentation of user-accessible
1948 fields after compilation and describe correct free'ing of pattern
1949 after re_compile_pattern.
1950 Patch by Reuben Thomas <rrt@sc3d.org>.
1951
457bddfc
RA
19522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
1953
1954 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
1955 and -mno-altivec to prevent the compiler from using Altivec and/or
1956 VSX instructions when the corresponding registers are not available.
1957
a4527b51
AS
19582011-05-19 Andreas Schwab <schwab@redhat.com>
1959
1960 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
1961
ed690b2f
UD
19622011-05-19 Ulrich Drepper <drepper@gmail.com>
1963
1964 * libio/freopen.c (freopen): Use __dup2, not dup2.
1965 * libio/freopen64.c (freopen64): Likewise.
1966
8db73634
L
19672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
1968
1969 [BZ #12775]
1970 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
1971 * math/Makefile (tests): Add test-powl.
1972 (CFLAGS-test-powl.c): Define.
1973 * math/test-powl.c: New file.
1974
0a197a9d
L
19752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
1976
1977 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
1978
ee30c380
UD
19792011-05-17 Ulrich Drepper <drepper@gmail.com>
1980
1981 [BZ #11837]
1982 * iconvdata/gb18030.c: Update to GB18020-2005.
1983
6ce75379
UD
19842011-05-16 Ulrich Drepper <drepper@gmail.com>
1985
a4b89fd8
AR
1986 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
1987 RE_SYNTAX_POSIX_AWK): Update to match recent development.
1988 Patch by Aharon Robbins <arnold@skeeve.com>.
1989
ea389b12
UD
1990 [BZ #11892]
1991 * stdlib/putenv.c (putenv): Don't always create copy of the variable
1992 on the stack.
1993
68a3f91f
UD
1994 [BZ #11895]
1995 * misc/pselect.c (__pselect): Handle timeout value errors hidden
1996 through underflows.
1997
15cc7dd1
UD
1998 [BZ #12766]
1999 * misc/error.c (error_at_line): Ensure file_name and old_file_name
2000 point to strings before performing equality test for error_one_per_line
2001 mode.
2002
f3799213
UD
2003 [BZ #11697]
2004 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
2005
d79a9c94
UD
2006 [BZ #11820]
2007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2008 (struct user_fpregs_struct): Avoid __uint*_t types.
2009
56e5eb46
UD
2010 [BZ #6420]
2011 * malloc/mtrace.c (tr_where): Add additional parameter to point to
2012 symbol info. Use it instead of calling _dl_addr locally.
2013 (lock_and_info): New function.
2014 (tr_freehook): Call lock_and_info and pass symbol info as additional
2015 parameter to tr_where.
2016 (tr_mallochook): Likewise.
2017 (tr_reallochook): Likewise.
2018 (tr_memalignhook): Likewise.
2019
6ce75379
UD
2020 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
2021 used and couldn't be at all thread-safe.
2022
f8a3b5bf
UD
20232011-05-15 Ulrich Drepper <drepper@gmail.com>
2024
94b7cc37
UD
2025 * libio/freopen.c (freopen): Don't close old file descriptor
2026 before the new one is opened. Instead dup the new file descriptor
2027 to the old one after the new stream is created.
2028 * libio/freopen64.c (freopen64): Likewise.
2029 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
2030 * libio/fileops.c (_IO_new_file_close_it): Handle new
2031 _IO_FLAGS2_NOCLOSE flag.
2032 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
2033 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
2034 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
2035 _IO_FLAGS2_NOCLOSE flag.
2036 * include/unistd.h: Add hidden_proto for dup3.
2037 Define __have_dup3.
2038 * io/dup3.c: Define hidden symbol.
2039 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
2040
bd25564e
UD
2041 [BZ #7101]
2042 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
2043 when an incomplete long option is used.
2044 * posix/tst-getopt_long1.c: New file.
2045 * posix/Makefile (tests): Add tst-getopt_long1.
2046
c84cfef4
UD
2047 [BZ #10138]
2048 * scripts/config.guess: Update from autoconf-2.68.
2049 * scripts/config.sub: Likewise.
2050
3b85df27
UD
2051 [BZ #10157]
2052 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
2053 tests into ...
2054 (has_cpuclock): ...this. New function.
2055 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
2056 macro here based on has_cpuclock code.
2057
15a856b1
UD
2058 [BZ #10149]
2059 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2060 First byte (not low byte) is now always NUL.
2061 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
2062
05f399e6
UD
2063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2064 Use non-cancelable interfaces.
2065
10a52685 2066 [BZ #9809]
94ecc67d
UD
2067 * locale/iso-639.def: Add entry for Sorani.
2068
f8a3b5bf
UD
2069 [BZ #11901]
2070 * include/stdlib.h: Move include protection to the right place.
2071 Define abort_msg_s. Declare __abort_msg with it.
2072 * stdlib/abort.c (__abort_msg): Adjust type.
2073 * assert/assert.c (__assert_fail_base): New function. Majority
2074 of code from __assert_fail. Allocate memory for __abort_msg with
2075 mmap.
2076 (__assert_fail): Now call __assert_fail_base.
2077 * assert/assert-perr.c: Remove bulk of implementation. Use
2078 __assert_fail_base.
2079 * include/assert.hL Declare __assert_fail_base.
2080 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
2081 mmap.
2082 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
2083
1af4e298
UD
20842011-05-14 Ulrich Drepper <drepper@gmail.com>
2085
f8a3b5bf 2086 [BZ #11952]
d26dfc60
MG
2087 [BZ #12453]
2088 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
2089 until all modules are registered in the DTV.
2090 * elf/Makefile: Add rules to build and run tst-tls19.
2091 * elf/tst-tls19.c: New file.
2092 * elf/tst-tls19mod1.c: New file.
2093 * elf/tst-tls19mod2.c: New file.
2094 * elf/tst-tls19mod3.c: New file.
2095 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
2096
2fc54d6f
UD
2097 [BZ #12083]
2098 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
2099 correctly.
2100
98d76b46
UD
2101 [BZ #12601]
2102 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
2103 two-byte sequence errors.
2104 * iconvdata/Makefile (tests): Add bug-iconv8.
2105 * iconvdata/bug-iconv8.c: New file.
2106
da3c19ef
UD
2107 [BZ #12626]
2108 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
2109 buf2 definition.
2110
ca408c15
UD
2111 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
2112
d6f67f7d
UD
2113 [BZ #12432]
2114 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
2115 (dummy_getcfa): New function.
2116 (init): Get _Unwind_GetCFA address, use dummy if not found.
2117 (backtrace_helper): In recursion check, also check whether CFA changes.
2118 (__backtrace): Completely initialize arg.
2119
1af4e298 2120 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
2121 storing incomplete byte sequence in state object. Avoid testing for
2122 guaranteed too small input if we know there is enough data available.
1af4e298 2123
da62f81b
AS
21242011-05-11 Andreas Schwab <schwab@redhat.com>
2125
2126 * Makeconfig (+link-pie): Indent.
2127 * Rules (binaries-pie): Define if $(have-fpie) and
2128 $(build-shared).
2129 (binaries-shared): Also filter out $(binaries-pie).
2130 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
2131 * nscd/Makefile (others-pie): Add nscd.
2132 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
2133 ($(objpfx)nscd): Remove command override.
2134 * login/Makefile (others-pie): Add pt_chown.
2135 ($(objpfx)pt_chown): Remove command override.
2136 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
2137 remove command overrides.
2138
fcabc0f8
UD
21392011-05-13 Ulrich Drepper <drepper@gmail.com>
2140
20030ae6
UD
2141 * libio/tst_putwc.c: Fix error messages.
2142
fcabc0f8
UD
2143 [BZ #12724]
2144 * libio/fileops.c (_IO_new_file_close_it): Always flush when
2145 currently writing and seek to current position when not.
2146 * libio/Makefile (tests): Add bug-fclose1.
2147 * libio/bug-fclose1.c: New file.
2148
320a5dc0
PB
21492011-05-12 Ulrich Drepper <drepper@gmail.com>
2150
2151 [BZ #12511]
2152 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
2153 don't set DF_1_NODELETE here.
2154 (do_lookup_x): When entering new entry test for copy relocation
2155 and if necessary set DF_1_NODELETE flag.
2156 * elf/tst-unique4.cc: New file.
2157 * elf/tst-unique4.h: New file.
2158 * elf/tst-unique4lib.cc: New file.
2159 * elf/Makefile: Add rules to build and run tst-unique4.
2160 Patch by Piotr Bury <pbury@goahead.com>.
2161
22836f52
UD
21622011-05-11 Ulrich Drepper <drepper@gmail.com>
2163
f574184a
UD
2164 [BZ #12052]
2165 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
2166
e1fb097f
UD
2167 [BZ #12625]
2168 * misc/mntent_r.c (addmntent): Flush the stream after the output
2169
22836f52
UD
2170 [BZ #12393]
2171 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
2172 (is_trusted_path_normalize): Skip initial colon. Append slash
2173 to empty buffer. Duplicate is_trusted_path code but allow
2174 constructed patch to be prefix.
2175 (is_dst): Allow $ORIGIN followed by /.
2176 (_dl_dst_substitute): Correct clearing of check_for_trusted.
2177 Correct testing of result of is_trusted_path_normalize
2178 (decompose_rpath): Fix warning.
2179
7b3b0b2a
UD
21802011-05-10 Ulrich Drepper <drepper@gmail.com>
2181
2182 [BZ #11257]
2183 * grp/initgroups.c (internal_getgrouplist): When we found the service
2184 list through the initgroups entry in nsswitch.conf do not always
2185 continue on a successful lookup. Don't always use the
eac80ce2 2186 __nss_group_database value if it is set.
7b3b0b2a
UD
2187 * nss/nsswitch.conf (initgroups): Change action for successful db
2188 lookup to continue for compatibility.
2189
2a81eaa5
UD
21902011-05-09 Ulrich Drepper <drepper@gmail.com>
2191
be97a69e
UD
2192 [BZ #11532]
2193 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
2194 and CP774 modules.
2195 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
2196 and CP774 modules.
2197 * iconvdata/tst-tables.sh: Likewise.
2198 * iconvdata/cp770.c: New file.
2199 * iconvdata/cp771.c: New file.
2200 * iconvdata/cp772.c: New file.
2201 * iconvdata/cp773.c: New file.
2202 * iconvdata/cp774.c: New file.
2203 * iconvdata/testdata/CP770: New file.
2204 * iconvdata/testdata/CP770..UTF8: New file.
2205 * iconvdata/testdata/CP771: New file.
2206 * iconvdata/testdata/CP771..UTF8: New file.
2207 * iconvdata/testdata/CP772: New file.
2208 * iconvdata/testdata/CP772..UTF8: New file.
2209 * iconvdata/testdata/CP773: New file.
2210 * iconvdata/testdata/CP773..UTF8: New file.
2211 * iconvdata/testdata/CP774: New file.
2212 * iconvdata/testdata/CP774..UTF8: New file.
2213
2214 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
2215 END CHARMAP line.
2216 * iconvdata/gen-8bit-gap.sh: Likewise.
2217 * iconvdata/gen-8bit.sh: Likewise.
2218
c1e9e399
UD
2219 * locale/iso-639.def: Add ary entry.
2220
24c55fb3 2221 [BZ #11258]
96b4b1b0
UD
2222 * locale/C-translit.h.in: Add U20A1 transliteration.
2223
bdc2f971
KB
2224 [BZ #12178]
2225 * locale/iso-639.def: Add wae entry.
2226 Patch by Kevin Bortis <bortis@translate-wae.ch>.
2227
2952b117
UD
2228 [BZ #12545]
2229 * locale/programs/localedef.c (construct_output_path): Use ssize_t
2230 for n.
2231
2a81eaa5
UD
2232 [BZ #12711]
2233 * locale/C-translit.h.in: Add entry for U20B9.
2234 Patch by pravin.d.s@gmail.com.
2235
28377d1b
UD
22362011-05-08 Ulrich Drepper <drepper@gmail.com>
2237
7fb90fb8
UD
2238 [BZ #12713]
2239 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
2240 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
2241 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
2242 in rtld. Use *stat64.
7fb90fb8 2243 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 2244 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 2245 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
2246 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
2247 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
2248 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
2249 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
2250 __fstatat64 macros.
7fb90fb8
UD
2251 * include/dirent.h: Add libc_hidden_proto for rewinddir.
2252 * dirent/rewinddir.c: Add libc_hidden_def.
2253 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 2254 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 2255
28377d1b
UD
2256 * include/dirent.h (__alloc_dir): Add flags parameter.
2257 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
2258 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
2259 __alloc_dir.
2260 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
2261 from fdopendir if O_CLOEXEC is already set.
2262
66bdbaa4
AM
22632011-03-15 Alan Modra <amodra@gmail.com>
2264
2265 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
2266 l_tls_firstbyte_offset non-zero. Save padding offset in
2267 l_tls_firstbyte_offset for later use.
2268 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
2269 freeing static tls block.
2270
95721191
JN
22712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
2272
2273 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
2274 where #ifdef was intended. The intent is to prevent ARG_MAX from
2275 being defined by the kernel headers.
2276
f87dfb1f
UD
22772011-05-07 Ulrich Drepper <drepper@gmail.com>
2278
2279 [BZ #12734]
2280 * resolv/resolv.h: Define RES_NOTLDQUERY.
2281 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
2282 no-tld-query and set RES_NOTLDQUERY.
2283 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
2284 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
2285 modern BIND to search name as TLD unless forbidden.
2286
47c3cd7a
UD
22872011-05-07 Petr Baudis <pasky@suse.cz>
2288 Ulrich Drepper <drepper@gmail.com>
2289
2290 [BZ #12393]
2291 * elf/dl-load.c (fillin_rpath): Move trusted path check...
2292 (is_trusted_path): ...to here.
c1e9ea35 2293 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 2294 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 2295 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 2296
8a35c912
PP
22972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2298
2299 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
2300 __BEGIN/__END_DECLS.
2301
acd41f47
UD
23022011-05-06 Ulrich Drepper <drepper@gmail.com>
2303
2304 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
2305 NSS_STATUS_NOTFOUND if no record was found.
2306
597df647
AS
23072011-05-05 Andreas Schwab <schwab@redhat.com>
2308
2309 * sunrpc/Makefile (headers): Add rpc/netdb.h.
2310 (headers-not-in-tirpc): Remove rpc/netdb.h
2311 * resolv/netdb.h: Revert last change.
2312
b9af1301
PP
23132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2314
2315 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
2316 circular dependency between libgcc.a and libc.a.
2317
4e34d5f5
AS
23182011-05-05 Andreas Schwab <schwab@redhat.com>
2319
2320 * resolv/netdb.h: Don't include <rpc/netdb.h>.
2321 * nis/Makefile: Don't install rpcsvc/*.
2322 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
2323 instead of <rpc/types.h>.
2324 (MAXHOSTNAMELEN): Define.
2325
00ee369c
AS
23262011-05-03 Andreas Schwab <schwab@redhat.com>
2327
2328 * elf/ldconfig.c (add_dir): Don't crash on empty path.
2329
0b592a30
MB
23302011-04-28 Maciej Babinski <mbabinski@google.com>
2331
2332 [BZ #12714]
2333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
2334 gethostbyname4_r when IPv6 results are possible.
2335
6e04cbbe
UD
23362011-05-02 Ulrich Drepper <drepper@gmail.com>
2337
2338 [BZ #12723]
2339 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
2340 _PC_PIPE_BUF handling.
2341
e4ecafe0
BH
23422011-04-30 Bruno Haible <bruno@clisp.org>
2343
2344 [BZ #12717]
2345 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
2346 * resolv/netdb.h (getnameinfo): Change type of flags parameter
2347 to 'int'.
2348 * inet/getnameinfo.c (getnameinfo): Likewise.
2349
125ee683
UD
23502011-04-29 Ulrich Drepper <drepper@gmail.com>
2351
2352 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
2353 to groups setting in database lookup.
2354 * nss/nsswitch.conf: Add initgroups entry.
2355
b722481a
EB
23562011-04-22 Ulrich Drepper <drepper@gmail.com>
2357
2358 [BZ #12685]
2359 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
2360 mode string.
2361 Patch by Eric Blake <eblake@redhat.com>.
2362
4df46dbd
L
23632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
2364
2365 * sunrpc/Makefile (need-export-routines): Add svc_run.
2366 (routines): Remove svc_run.
2367 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
2368 * sunrpc/clnt_perr.c (clnt_perrno): Export.
2369 * sunrpc/svc_run.c (svc_run): Likewise.
2370 * sunrpc/svc_udp.c (svcudp_create): Likewise.
2371
e84142d2
UD
23722011-04-21 Ulrich Drepper <drepper@gmail.com>
2373
2374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
2375 problem in reallocation in last patch.
2376
877175d8
UD
23772011-04-20 Ulrich Drepper <drepper@gmail.com>
2378
2379 * sunrpc/Makefile: Move inclusion of Rules.
2380
ab8eed78
UD
23812011-04-19 Ulrich Drepper <drepper@gmail.com>
2382
2383 * nss/nss_files/files-initgroups.c: New file.
2384 * nss/Makefile (libnss_files-routines): Add files-initgroups.
2385 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
2386 _nss_files_initgroups_dyn.
2387
e3d8f584
RS
23882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
2389
2390 * elf/elf.h (R_ARM_IRELATIVE): Define.
2391
af190f45
UD
23922011-04-19 Ulrich Drepper <drepper@gmail.com>
2393
2394 * po/ru.po: Update from translation team.
2395
53cf59ef
UD
23962011-04-17 Ulrich Drepper <drepper@gmail.com>
2397
2398 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
2399 dependencies.
2400
4c559bcd
MF
24012011-02-06 Mike Frysinger <vapier@gentoo.org>
2402
2403 [BZ #12653]
2404 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
2405 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
2406 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2408 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2409
4420675c
AS
24102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
2411
2412 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
2413 differing bytes.
2414 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2417
75ea32ab
UD
24182011-04-17 Ulrich Drepper <drepper@gmail.com>
2419
2420 [BZ #12420]
2421 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
2422 storing it.
2423 * stdlib/bug-getcontext.c: New file.
2424 * stdlib/Makefile: Add rules to build and run bug-getcontext.
2425
27390476
AK
24262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2427
2428 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
2429 instructions into .machine "z9-109".
2430 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2431 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2432
10442705
AK
24332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2434
2435 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
2436 between environment variables and auxiliary vector.
2437
7b57bfe5
UD
24382011-04-16 Ulrich Drepper <drepper@gmail.com>
2439
2440 * Makefile: Add rules to build linkobj/libc.so.
2441 * include/libc-symbols.h: Define libc_hidden_nolink.
2442 * include/rpc/auth.h: Mark functions which are to be hidden.
2443 * include/rpc/auth_des.h: Likewise.
2444 * include/rpc/auth_unix.h: Likewise.
2445 * include/rpc/clnt.h: Likewise.
2446 * include/rpc/des_crypt.h: Likewise.
2447 * include/rpc/key_prot.h: Likewise.
2448 * include/rpc/pmap_clnt.h: Likewise.
2449 * include/rpc/pmap_prot.h: Likewise.
2450 * include/rpc/pmap_rmt.h: Likewise.
2451 * include/rpc/rpc_msg.h: Likewise.
2452 * include/rpc/svc.h: Likewise.
2453 * include/rpc/svc_auth.h: Likewise.
2454 * include/rpc/xdr.h: Likewise.
2455 * nis/Makefile: Link all DSOs against linkobj/libc.so.
2456 * nss/Makefile: Likewise.
2457 * sunrpc/Makefile: Don't install headers. Build library with normal
2458 entry points. Don't build rpcinfo. Link RPC tests appropriately.
2459 * sunrpc/auth_des.c: Hide exported symbols by default, export some
2460 for the compat linking library. Remove use of INTDEF/INTUSE.
2461 * sunrpc/auth_none.c: Likewise.
2462 * sunrpc/auth_unix.c: Likewise.
2463 * sunrpc/authdes_prot.c: Likewise.
2464 * sunrpc/authuxprot.c: Likewise.
2465 * sunrpc/clnt_gen.c: Likewise.
2466 * sunrpc/clnt_perr.c: Likewise.
2467 * sunrpc/clnt_raw.c: Likewise.
2468 * sunrpc/clnt_simp.c: Likewise.
2469 * sunrpc/clnt_tcp.c: Likewise.
2470 * sunrpc/clnt_udp.c: Likewise.
2471 * sunrpc/clnt_unix.c: Likewise.
2472 * sunrpc/des_crypt.c: Likewise.
2473 * sunrpc/des_soft.c: Likewise.
2474 * sunrpc/get_myaddr.c: Likewise.
2475 * sunrpc/key_call.c: Likewise.
2476 * sunrpc/key_prot.c: Likewise.
2477 * sunrpc/netname.c: Likewise.
2478 * sunrpc/pm_getmaps.c: Likewise.
2479 * sunrpc/pm_getport.c: Likewise.
2480 * sunrpc/pmap_clnt.c: Likewise.
2481 * sunrpc/pmap_prot.c: Likewise.
2482 * sunrpc/pmap_prot2.c: Likewise.
2483 * sunrpc/pmap_rmt.c: Likewise.
2484 * sunrpc/publickey.c: Likewise.
2485 * sunrpc/rpc_cmsg.c: Likewise.
2486 * sunrpc/rpc_common.c: Likewise.
2487 * sunrpc/rpc_dtable.c: Likewise.
2488 * sunrpc/rpc_prot.c: Likewise.
2489 * sunrpc/rpc_thread.c: Likewise.
2490 * sunrpc/rtime.c: Likewise.
2491 * sunrpc/svc.c: Likewise.
2492 * sunrpc/svc_auth.c: Likewise.
2493 * sunrpc/svc_authux.c: Likewise.
2494 * sunrpc/svc_raw.c: Likewise.
2495 * sunrpc/svc_run.c: Likewise.
2496 * sunrpc/svc_simple.c: Likewise.
2497 * sunrpc/svc_tcp.c: Likewise.
2498 * sunrpc/svc_udp.c: Likewise.
2499 * sunrpc/svc_unix.c: Likewise.
2500 * sunrpc/svcauth_des.c: Likewise.
2501 * sunrpc/xcrypt.c: Likewise.
2502 * sunrpc/xdr.c: Likewise.
2503 * sunrpc/xdr_array.c: Likewise.
2504 * sunrpc/xdr_float.c: Likewise.
2505 * sunrpc/xdr_intXX_t.c: Likewise.
2506 * sunrpc/xdr_mem.c: Likewise.
2507 * sunrpc/xdr_rec.c: Likewise.
2508 * sunrpc/xdr_ref.c: Likewise.
2509 * sunrpc/xdr_sizeof.c: Likewise.
2510 * sunrpc/xdr_stdio.c: Likewise.
2511
e6c61494
UD
25122011-04-10 Ulrich Drepper <drepper@gmail.com>
2513
2514 [BZ #12650]
2515 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
2516 * sysdeps/ia64/dl-tls.h: Likewise.
2517 * sysdeps/powerpc/dl-tls.h: Likewise.
2518 * sysdeps/s390/dl-tls.h: Likewise.
2519 * sysdeps/sh/dl-tls.h: Likewise.
2520 * sysdeps/sparc/dl-tls.h: Likewise.
2521 * sysdeps/x86_64/dl-tls.h: Likewise.
2522 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
2523
34fe483e
AS
25242011-03-14 Andreas Schwab <schwab@redhat.com>
2525
2526 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
2527 rpath element also skip the following colon.
2528 (expand_dynamic_string_token): Add is_path parameter and pass
2529 down to DL_DST_REQUIRED and _dl_dst_substitute.
2530 (decompose_rpath): Call expand_dynamic_string_token with
2531 non-zero is_path. Ignore empty rpaths.
2532 (_dl_map_object_from_fd): Call expand_dynamic_string_token
2533 with zero is_path.
2534
f12a32e6
AS
25352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
2536
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2538 Make cancelable.
2539
38a7d692
UD
25402011-04-09 Ulrich Drepper <drepper@gmail.com>
2541
2542 [BZ #12655]
2543 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
2544 Patch by Filipe David Manana <fdmanana@apache.org>.
2545
e451d22b
AS
25462011-04-07 Andreas Schwab <schwab@redhat.com>
2547
2548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
2549 Maintain aligned stack.
2550 (CHECK_RSP): Remove unused macro.
2551
dedc7c7b
UD
25522011-04-03 Ulrich Drepper <drepper@gmail.com>
2553
2554 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
2555 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2556
94521213
UD
25572011-04-02 Ulrich Drepper <drepper@gmail.com>
2558
2559 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
2560
8cb700c0 2561 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 2562
0354e355
L
25632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
2564
2565 [BZ #12518]
2566 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
2567 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
2568 * sysdeps/x86_64/memmove.c: New file.
2569 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
2570 (memcpy): Renamed to ...
2571 (__new_memcpy): This.
2572 (memcpy): Provide GLIBC_2_14 memcpy.
2573 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
2574 (memcpy): Provide GLIBC_2_2_5 memcpy.
2575
8593482f
UD
25762011-04-01 Ulrich Drepper <drepper@gmail.com>
2577
2578 [BZ #12631]
2579 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
2580
81a5726b
AS
25812011-03-30 Andreas Schwab <schwab@redhat.com>
2582
2583 * misc/syncfs.c: New file.
2584 * misc/Makefile (routines): Add syncfs.
2585 * posix/unistd.h: Declare syncfs.
2586 * sysdeps/unix/syscalls.list: Add syncfs.
2587
00e5419f
AS
25882011-04-01 Andreas Schwab <schwab@redhat.com>
2589
2590 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
2591 open_by_handle_at.
2592 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2597 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2598 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2599
748876bf
UD
26002011-04-01 Ulrich Drepper <drepper@gmail.com>
2601
658e451d
UD
2602 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
2603 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
2605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2609
748876bf
UD
2610 * io/Makefile: Compile fallocate.c, fallocate64.c, and
2611 sync_file_range.c with -fexceptions.
2612 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
2613 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
2614 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2615 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2616 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2617 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2618 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
2619 sync_file_range as cancellation point
2620 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
2621 now a wrapper around __call_sync_file_range with cancellation handling.
2622 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
2623 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
2624 function name to __call_sync_file_range.
2625 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
2626 Add call_sync_file_range.
748876bf 2627
6e63d5e1
AS
26282011-04-01 Andreas Schwab <schwab@redhat.com>
2629
2630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 2631 bits/timex.h.
6e63d5e1 2632
46998f74
UD
26332011-04-01 Ulrich Drepper <drepper@gmail.com>
2634
4c1423ed
UD
2635 * iconv/iconv.h: Fix typo in comment.
2636 * io/fcntl.h: Likewise.
2637 * libio/stdio.h: Likewise.
2638 * posix/spawn.h: Likewise.
2639 * posix/unistd.h: Likewise.
2640 * stdlib/stdlib.h: Likewise.
2641 * time/time.h: Likewise.
2642 * wcsmbs/wchar.h: Likewise.
2643
158648c0
UD
2644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
2645 open_by_handle): Add.
2646 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
2647 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
2648 Augment a few comments.
2649 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2651 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2653 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2654 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
2655 open_by_handle.
2656
46998f74
UD
2657 * io/fcntl.h (AT_EMPTY_PATH): Define.
2658
83fe108b
UD
26592011-03-30 Ulrich Drepper <drepper@gmail.com>
2660
2661 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
2662 * sysdeps/unix/sysv/linux/bits/time.h: New file.
2663 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
2664 to...
2665 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
2666 * Versions.def: Add GLIBC_2.14.
2667 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
2668 Export.
83fe108b 2669
bb242059
UD
26702011-03-22 Ulrich Drepper <drepper@gmail.com>
2671
2672 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
2673 round counter.
2674 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2675
c97a1282
L
26762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
2677
2678 [BZ #12597]
2679 * string/test-strncmp.c (do_page_test): New function.
2680 (check2): Likewise.
2681 (test_main): Call check2.
2682 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
2683
2a115601
UD
26842011-03-20 Ulrich Drepper <drepper@gmail.com>
2685
2686 [BZ #12587]
2687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
2688 Handle cache information in CPU leaf 4.
2689 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2690
8126d904
UD
26912011-03-18 Ulrich Drepper <drepper@gmail.com>
2692
042c49c6 2693 [BZ #12583]
8126d904
UD
2694 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
2695 character representation.
2696 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
2697
ccfe366e
RA
26982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
2699
2700 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
2701 END(__isnan) to END(__isnanf) to match function entry point/label
2702 EALIGN(__isnanf,...).
2703
c6e13027
JJ
27042011-03-10 Jakub Jelinek <jakub@redhat.com>
2705
2706 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
2707
33f85a3f
UD
27082011-03-10 Ulrich Drepper <drepper@gmail.com>
2709
028478fa
UD
2710 [BZ #12510]
2711 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
2712 copy from the symbol referenced in the relocation to initialize the
2713 used variable.
2714 Patch by Piotr Bury <pbury@goahead.com>.
2715 * elf/Makefile: Add rules to build and tst-unique3.
2716 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
2717 * elf/tst-unique3.cc: New file.
2718 * elf/tst-unique3.h: New file.
2719 * elf/tst-unique3lib.cc: New file.
2720 * elf/tst-unique3lib2.cc: New file.
2721
33f85a3f
UD
2722 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
2723
03592fc7
MF
27242011-03-10 Mike Frysinger <vapier@gentoo.org>
2725
2726 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
2727 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
2728 to _start.
03592fc7 2729
6a5ee102
UD
27302011-03-06 Ulrich Drepper <drepper@gmail.com>
2731
2732 * elf/dl-load.c (_dl_map_object): If we are looking for the first
2733 to-be-loaded object along a path to loader is ld.so.
2734
7e4ba49c
HJ
27352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2736 Ulrich Drepper <drepper@gmail.com>
2737
2738 * sysdeps/x86_64/memset.S: After aligning destination, code
2739 branches to different locations depending on the value of
2740 misalignment, when multiarch is enabled. Fix this.
2741
27422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2743
2744 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
2745 Set _x86_64_preferred_memory_instruction for AMD processsors.
2746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2747 Set bit_Prefer_SSE_for_memop for AMD processors.
2748
13a804de
UD
27492011-03-04 Ulrich Drepper <drepper@gmail.com>
2750
2751 * libio/fmemopen.c (fmemopen): Optimize a bit.
2752
9d25c392
AS
27532011-03-03 Andreas Schwab <schwab@redhat.com>
2754
2755 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
2756
a5543c6a
RM
27572011-03-03 Roland McGrath <roland@redhat.com>
2758
2759 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
2760
012d35f7
DM
27612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
2762
7e4ba49c 2763 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
2764 __bzero_ultra1 instead of __memset_ultra1.
2765
4bff6e01
AS
27662011-02-23 Andreas Schwab <schwab@redhat.com>
2767 Ulrich Drepper <drepper@gmail.com>
2768
2769 [BZ #12509]
2770 * include/link.h (struct link_map): Add l_orig_initfini.
2771 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
2772 returning unsuccessfully.
2773 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
2774 close of a file loaded at startup, restore the original l_initfini
2775 list.
2776 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
2777 list, store the pointer.
2778 * elf/Makefile ($(objpfx)noload-mem): New rule.
2779 (noload-ENV): Define.
2780 (tests): Add $(objpfx)noload-mem.
2781 * elf/noload.c: Include <memcheck.h>.
2782 (main): Call mtrace. Close all opened handles.
2783
f2092faf
AS
27842011-02-17 Andreas Schwab <schwab@redhat.com>
2785
2786 [BZ #12454]
2787 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
2788 dependencies are missing.
2789
6c8a2e88
ST
27902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2791
f2092faf 2792 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
2793 Hurd needs munmap.
2794 * sysdeps/mach/hurd/ifreq.h: New file.
2795
84a42118
PB
27962011-01-27 Petr Baudis <pasky@suse.cz>
2797 Ulrich Drepper <drepper@gmail.com>
2798
071f805e 2799 [BZ 12445]#
84a42118
PB
2800 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
2801 to extend_alloca().
2802 * stdio-common/bug23.c: New file.
2803 * stdio-common/Makefile (tests): Add bug23.
2804
e23fe25b
AS
28052010-09-28 Andreas Schwab <schwab@redhat.com>
2806 Ulrich Drepper <drepper@gmail.com>
2807
2808 [BZ #12489]
2809 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
2810 before performing relro protection. At old place add assertion
2811 to make sure nothing changed.
2812
d3f02e10
NS
28132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
2814 Glauber de Oliveira Costa <glommer@gmail.com>
2815
2816 * elf/elf.h: Add new ARM TLS relocs.
2817
d55fd7a5
RA
28182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
2819
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2821 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
2822 cast from r3.
2823 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
2824 'tests' variable.
2825 * sysdeps/wordsize-64/tst-writev.c: New file.
2826
2206397e
RA
28272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
2828
2829 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
2830 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
2831 insns in _dl_start to prevent a TOC reference before relocs are
2832 resolved.
2833
e9433893
UD
28342011-02-15 Ulrich Drepper <drepper@gmail.com>
2835
2836 [BZ #12469]
2837 * Makeconfig: Remove RANLIB definition.
2838 * Makerules: Don't use RANLIB.
2839 * aclocal.m4: Remove ranlib test.
2840 * configure.in: No need to check for ranlib.
2841 * elf/rtld-Rules: Don't use RANLIB.
2842
f75286c6
ST
28432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2844
8e31c82d
ST
2845 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
2846 protection macro.
2847 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
2848 inclusion protection macro.
2849
f75286c6
ST
2850 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
2851 SIGRTMIN and SIGRTMAX and print information in that case only when
2852 SIGRTMIN is defined.
2853
c1d0e639
JJ
28542011-02-11 Jakub Jelinek <jakub@redhat.com>
2855
2856 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
2857 arginfo fn returning -1.
2858
2859 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
2860 and thousands string is zero terminated.
2861
edf9294e
AS
28622011-02-03 Andreas Schwab <schwab@redhat.com>
2863
2864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
2865 sysdeps/unix/sysv/linux/bits/socket.h.
2866
2b7e92df
ST
28672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2868
edf9294e
AS
2869 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
2870 (__CPU_COUNT): Remove old macros.
2871 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
2872 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
2873 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
2874 (__sched_cpualloc, __sched_cpufree): Add declarations.
2875
a4c7ea7b
UD
28762011-02-05 Ulrich Drepper <drepper@gmail.com>
2877
2878 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
2879 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
2880 * nscd/aicache.c (addhstaiX): Return timeout of added value.
2881 (readdhstai): Return value of addhstaiX call.
2882 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
2883 (addgrbyX): Return value returned by cache_addgr.
2884 (readdgrbyname): Return value returned by addgrbyX.
2885 (readdgrbygid): Likewise.
2886 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
2887 (addpwbyX): Return value returned by cache_addpw.
2888 (readdpwbyname): Return value returned by addhstbyX.
2889 (readdpwbyuid): Likewise.
2890 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
2891 (addservbyX): Return value returned by cache_addserv.
2892 (readdservbyname): Return value returned by addservbyX:
2893 (readdservbyport): Likewise.
2894 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
2895 (addhstbyX): Return value returned by cache_addhst.
2896 (readdhstbyname): Return value returned by addhstbyX.
2897 (readdhstbyaddr): Likewise.
2898 (readdhstbynamev6): Likewise.
2899 (readdhstbyaddrv6): Likewise.
2900 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
2901 (readdinitgroups): Return value returned by addinitgroupsX.
2902 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
2903 (prune_cache): Keep track of timeout value of re-added entries.
2904 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
2905 * nscd/nscd.h: Adjust prototypes of readd* functions.
2906
a0bf67cc
RM
29072011-02-04 Roland McGrath <roland@redhat.com>
2908
2909 * nis/nis_server.c (nis_servstate): Use the right name for 0.
2910 (nis_stats): Likewise.
2911 * nis/nis_modify.c (nis_modify): Likewise.
2912 * nis/nis_remove.c (nis_remove): Likewise.
2913 * nis/nis_add.c (nis_add): Likewise.
2914
2915 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
2916
2917 * posix/fnmatch_loop.c: Add some consts.
2918
2919 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
2920
435b95eb
L
29212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
2922
2923 [BZ #12460]
2924 * config.make.in (config-cflags-novzeroupper): Define.
2925 * configure.in: Substitute libc_cv_cc_novzeroupper.
2926 * elf/Makefile (AVX-CFLAGS): Define.
2927 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
2928 (CFLAGS-tst-auditmod4a.c): Likewise.
2929 (CFLAGS-tst-auditmod4b.c): Likewise.
2930 (CFLAGS-tst-auditmod6b.c): Likewise.
2931 (CFLAGS-tst-auditmod6c.c): Likewise.
2932 (CFLAGS-tst-auditmod7b.c): Likewise.
2933 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
2934
8517b15e
UD
29352011-02-02 Ulrich Drepper <drepper@gmail.com>
2936
2937 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
2938 function to the callback.
2939 Patch partly by Jiri Olsa <jolsa@redhat.com>.
2940
10a656fe
AS
29412011-02-02 Andreas Schwab <schwab@redhat.com>
2942
2943 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
2944 of errno.
2945
968dad0a
UD
29462011-01-19 Ulrich Drepper <drepper@gmail.com>
2947
9f94d2ea 2948 [BZ #11724]
968dad0a
UD
2949 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
2950 of constructors.
2951 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
2952 of destructors.
2953 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
2954
2955 [BZ #11724]
2956 * elf/Makefile: Add rules to build and run new test.
2957 * elf/tst-initorder.c: New file.
2958 * elf/tst-initorder.exp: New file.
2959 * elf/tst-initordera1.c: New file.
2960 * elf/tst-initordera2.c: New file.
2961 * elf/tst-initordera3.c: New file.
2962 * elf/tst-initordera4.c: New file.
2963 * elf/tst-initorderb1.c: New file.
2964 * elf/tst-initorderb2.c: New file.
2965 * elf/tst-order-a1.c: New file.
2966 * elf/tst-order-a2.c: New file.
2967 * elf/tst-order-a3.c: New file.
2968 * elf/tst-order-a4.c: New file.
2969 * elf/tst-order-b1.c: New file.
2970 * elf/tst-order-b2.c: New file.
2971 * elf/tst-order-main.c: New file.
2972 New test case by George Gensure <werkt0@gmail.com>.
2973
86e92359
UD
29742010-10-01 Andreas Schwab <schwab@redhat.com>
2975
2976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2977 decoding ACE if AI_CANONIDN.
2978
5d5732b0
UD
29792011-01-18 Ulrich Drepper <drepper@gmail.com>
2980
2981 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
2982
a77e8cbc
UD
29832011-01-17 Ulrich Drepper <drepper@gmail.com>
2984
6392473f
UD
2985 * version.h (RELEASE): Bump for 2.13 release.
2986 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
2987
620a0529
UD
2988 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
2989
18ba70a5
UD
2990 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
2991 MADV_NOHUGEPAGE.
32465c3e
UD
2992 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
2993 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2994 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2995 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2996 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2997 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2998
c0dafcf1
UD
2999 * posix/getconf.c: Update copyright year.
3000 * catgets/gencat.c: Likewise.
3001 * csu/version.c: Likewise.
3002 * debug/catchsegv.sh: Likewise.
3003 * debug/xtrace.sh: Likewise.
3004 * elf/ldconfig.c: Likewise.
3005 * elf/ldd.bash.in: Likewise.
3006 * elf/sprof.c (print_version): Likewise.
3007 * iconv/iconv_prog.c: Likewise.
3008 * iconv/iconvconfig.c: Likewise.
3009 * locale/programs/locale.c: Likewise.
3010 * locale/programs/localedef.c: Likewise.
3011 * malloc/memusage.sh: Likewise.
3012 * malloc/mtrace.pl: Likewise.
3013 * nscd/nscd.c (print_version): Likewise.
3014 * nss/getent.c: Likewise.
3015
a77e8cbc
UD
3016 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
3017 PF_CAIF, and PF_ALG.
3018 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3019
77e8bddf
AS
30202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
3021
1f20b93a
AS
3022 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
3023 (modules-names): Use them.
3024 (ifunc-test-modules, ifunc-pie-tests): Define.
3025 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
3026 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
3027 (test-extras): Likewise.
3028 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
3029 $(compile-command.c).
3030 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
3031 (all-built-dso): Define.
3032 (check-textrel.out, check-execstack.out): Depend on it.
3033
77e8bddf
AS
3034 * configure.in: Don't override --enable-multi-arch.
3035
bc425b33
UD
30362011-01-15 Ulrich Drepper <drepper@gmail.com>
3037
3038 [BZ #6812]
3039 * nscd/hstcache.c (tryagain): Define.
3040 (cache_addhst): Return tryagain not notfound for temporary errors.
3041 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
3042 failed.
3043
794c3ad3
UD
30442011-01-14 Ulrich Drepper <drepper@gmail.com>
3045
70181fdd
UD
3046 [BZ #10563]
3047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
3048 to make the syscall.
3049 * sysdeps/unix/sysv/linux/setgroups.c: New file.
3050
794c3ad3
UD
3051 [BZ #12378]
3052 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
3053 and fall back to matching as normal character if the string ends before
3054 the matching ']' is found. This is what POSIX requires.
3055 * posix/testfnm.c: Adjust test result.
3056 * posix/globtest.sh: Adjust test result. Add new test.
3057 * posix/tst-fnmatch.input: Likewise.
3058 * posix/tst-fnmatch2.c: Add new test.
3059
68dc9497
AS
30602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
3061
3062 * elf/Makefile (check-execstack): Revert last change. Depend on
3063 check-execstack.h.
3064 (check-execstack.h): New target.
3065 (generated): Add check-execstack.h.
3066 * elf/check-execstack.c: Include "check-execstack.h".
3067 (main): Revert last change.
3068 (handle_file): Return zero if GNU_STACK is absent and
3069 DEFAULT_STACK_PERMS doesn't include PF_X.
3070
451f001b
UD
30712011-01-13 Ulrich Drepper <drepper@gmail.com>
3072
cfa28e56
UD
3073 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
3074 in child fails because the descriptor is already closed.
8cf8ce17
UD
3075 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
3076 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
3077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 3078
1086d70d
UD
3079 [BZ #12397]
3080 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
3081 syscall.
3082
451f001b
UD
3083 [BZ #10484]
3084 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
3085 temporary buffer used to handle multi lookups locally.
a85b5cb4 3086 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 3087
08769175
UD
30882011-01-12 Ulrich Drepper <drepper@gmail.com>
3089
3090 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
3091 loader is ld.so.
3092
5e49c52e
UD
30932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
3094
3095 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
3096 alignment for SSE2.
3097
60522a5f
UD
30982011-01-12 Ulrich Drepper <drepper@gmail.com>
3099
3100 [BZ #12394]
3101 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
3102 characters. When rounding increased number of integer digits recompute
3103 number of groups.
3104 * stdio-common/tst-grouping.c: New file.
3105 * stdio-common/Makefile: Add rules to build and run tst-grouping.
3106
f257bbd7
UD
31072011-01-09 Ulrich Drepper <drepper@gmail.com>
3108
3109 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
3110 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
3111
3112 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
3113 void.
3114 * bits/select.h: Likewise.
3115
fa9c15cb
UD
31162011-01-08 Ulrich Drepper <drepper@gmail.com>
3117
3118 * po/ja.po: Update from translation team.
3119
16c2895f
DM
31202011-01-04 David S. Miller <davem@sunset.davemloft.net>
3121
3122 [BZ #11155]
3123 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
3124 implementation just like for lxstat, fxstatat, et al.
3125
2543fef2
JM
31262010-12-27 Jim Meyering <meyering@redhat.com>
3127
3128 [BZ #12348]
3129 * posix/regexec.c (build_trtable): Return failure indication upon
3130 calloc failure. Otherwise, re_search_internal could infloop on OOM.
3131
98727dbe
UD
31322010-12-25 Ulrich Drepper <drepper@gmail.com>
3133
5bd6dc5c
UD
3134 [BZ #12201]
3135 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3136 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3137 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
3138 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
3139
97983464
UD
3140 [BZ #12207]
3141 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
3142
98727dbe
UD
3143 [BZ #12204]
3144 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
3145 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
3146
4a531bb0
L
31472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
3148
3149 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
3150 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
3151 script has SORT_BY_INIT_PRIORITY.
3152 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
3153 NO_CTORS_DTORS_SECTIONS is defined.
3154 * elf/soinit.c: Likewise.
3155 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
3156 NO_CTORS_DTORS_SECTIONS is defined.
3157 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3158 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
3159 * sysdeps/sh/init-first.c: Likewise.
3160 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3161
07eb4b71
UD
31622010-12-24 Ulrich Drepper <drepper@gmail.com>
3163
3164 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
3165 always use the slow path.
3166
30950a5f
RA
31672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
3168
3169 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
3170 similar rule which adds the sysdep directories to the header search in
3171 order to pick up the correct platform stackinfo.h.
3172 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
3173 perform test if it is, otherwise return successfully without testing.
3174 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
3175 DEFAULT_STACK_PERMS define in stackinfo.h.
3176 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
3177 defined in stackinfo.h.
3178 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
3179 DEFAULT_STACK_PERMS defined in stackinfo.h.
3180 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
3181 * sysdeps/ia64/stackinfo.h: Likewise.
3182 * sysdeps/s390/stackinfo.h: Likewise.
3183 * sysdeps/sh/stackinfo.h: Likewise.
3184 * sysdeps/sparc/stackinfo.h: Likewise.
3185 * sysdeps/x86_64/stackinfo.h: Likewise.
3186 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
3187 PF_X for powerpc64. Retain PF_X for powerpc32.
3188
db753e2c
UD
31892010-12-19 Ulrich Drepper <drepper@gmail.com>
3190
14b697f7
UD
3191 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
3192 accurately.
db753e2c
UD
3193 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
3194 GETDENTS_64BIT_ALIGNED.
3195
28300719
UD
31962010-12-14 Ulrich Drepper <dreper@gmail.com>
3197
14b697f7 3198 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 3199
4f197237
AS
32002010-12-10 Andreas Schwab <schwab@redhat.com>
3201
dbb0472f
AS
3202 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
3203 _GNU_SOURCE.
3204
4f197237
AS
3205 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
3206 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
3207 Remove __restrict.
3208 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
3209 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
3210
fb88ac72
UD
32112010-12-09 Ulrich Drepper <drepper@gmail.com>
3212
3213 [BZ #11655]
3214 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
3215 are initialized.
3216
42acbb92
JJ
32172010-12-09 Jakub Jelinek <jakub@redhat.com>
3218
3219 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
3220
c038d98d
UD
32212010-12-03 Ulrich Drepper <drepper@gmail.com>
3222
3223 * po/it.po: Update from translation team.
3224
3a4a2499
L
32252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
3226
3227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
3228 unused codes.
3229
1e24cf6e
UD
32302010-11-30 Ulrich Drepper <drepper@gmail.com>
3231
3232 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
3233
a7690819
AS
32342010-11-24 Andreas Schwab <schwab@redhat.com>
3235
3236 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
3237 specially.
3238 (gaih_getanswer_slice): Likewise.
3239
3bf8d1b1
JJ
32402010-10-20 Jakub Jelinek <jakub@redhat.com>
3241
3242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
3243
6db52fbb
PB
32442010-05-31 Petr Baudis <pasky@suse.cz>
3245
3246 [BZ #11149]
3247 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
3248 silently even in the chroot mode.
3249
eaca7569
UD
32502010-11-22 Ulrich Drepper <drepper@gmail.com>
3251
3252 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
3253 last patch a bit. Pretty printing
3254
3056dcdb
UD
32552010-05-31 Petr Baudis <pasky@suse.cz>
3256
3257 [BZ #10085]
3258 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
3259 initialization of skip_initgroups_dyn.
3260
cf7c9078
UD
32612010-11-19 Ulrich Drepper <drepper@gmail.com>
3262
3263 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
3264 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
3265
a1fb5e3e
UD
32662010-11-16 Ulrich Drepper <drepper@gmail.com>
3267
3268 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
3269
3540d66b
AS
32702010-11-11 Andreas Schwab <schwab@redhat.com>
3271
3272 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
3273 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
3274 (tst-fnmatch-ENV): Set MALLOC_TRACE.
3275 ($(objpfx)tst-fnmatch-mem): New rule.
3276 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
3277 * posix/tst-fnmatch.c (main): Call mtrace.
3278
13b69574
L
32792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
3280
3281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3282 Support Intel processor model 6 and model 0x2c.
3283
da93d214
LM
32842010-11-10 Luis Machado <luisgpm@br.ibm.com>
3285
3286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
3287 signed comparison.
3288
8ca52c6e
L
32892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
3290
3291 [BZ #12205]
3292 * string/test-strncasecmp.c (check_result): New function.
3293 (do_one_test): Use it.
3294 (check1): New function.
3295 (test_main): Use it.
3296 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
3297 Support strcasecmp and strncasecmp.
3298
69da074d
UD
32992010-11-08 Ulrich Drepper <drepper@gmail.com>
3300
3301 [BZ #12194]
3302 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
3303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3304
ff02d528
L
33052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
3306
3307 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
3308 IFUNC support.
3309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3310 memset-x86-64.
3311 * sysdeps/x86_64/multiarch/bzero.S: New file.
3312 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
3313 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
3314 * sysdeps/x86_64/multiarch/memset.S: New file.
3315 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
3316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3317 Set bit_Prefer_SSE_for_memop for Intel processors.
3318 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
3319 Define.
3320 (index_Prefer_SSE_for_memop): Define.
3321 (HAS_PREFER_SSE_FOR_MEMOP): Define.
3322
344d0b54
LM
33232010-11-04 Luis Machado <luisgpm@br.ibm.com>
3324
3325 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
3326 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
3327
c0dde15b
UD
33282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
3329
3330 [BZ #12191]
3331 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
3332 (__x86_64_raw_data_cache_size_half): Likewise.
3333 (__x86_64_raw_shared_cache_size): Likewise.
3334 (__x86_64_raw_shared_cache_size_half): Likewise.
3335
3336 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
3337 (__x86_64_raw_data_cache_size_half): Likewise.
3338 (__x86_64_raw_shared_cache_size): Likewise.
3339 (__x86_64_raw_shared_cache_size_half): Likewise.
3340 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
3341 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
3342 and __x86_64_raw_shared_cache_size_half. Round
3343 __x86_64_data_cache_size_half, __x86_64_data_cache_size
3344 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
3345 to multiple of 256 bytes.
3346
0e516e0e
MS
33472010-11-03 Ulrich Drepper <drepper@gmail.com>
3348
3349 [BZ #12167]
3350 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
3351 of inacessible symlinks. Verify result of symlink before returning it.
3352 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3353 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
3354
0e012e87
ER
33552010-10-28 Erich Ritz <erichritz@gmail.com>
3356
3357 * math/math.h (isinf): Fix typo in comment.
3358
de0ff7bc
UD
33592010-11-01 Ulrich Drepper <drepper@gmail.com>
3360
3361 * po/da.po: Update from translation team.
3362
fa41c84d
UD
33632010-10-26 Ulrich Drepper <drepper@gmail.com>
3364
3365 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
3366 is added to the list.
3367
f0967738
AK
33682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3369 Ulrich Drepper <drepper@gmail.com>
3370
3371 * elf/dl-object.c (_dl_new_object): Don't append the new object to
3372 the global list here. Move code to...
3373 (_dl_add_to_namespace_list): ...here. New function.
3374 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
3375 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
3376 * elf/dl-load.c (lose): Don't remove the element from the list.
3377 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
3378 (_dl_map_object): Likewise.
3379
33802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
3381
3382 [BZ #12159]
3383 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
3384 into all bytes of SSE register.
3385 Patch by Richard Li <richardpku@gmail.com>.
3386
f0967738 33872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
3388
3389 [BZ #12140]
3390 * malloc/malloc.c (_int_free): Fill correct number of bytes when
3391 perturbing.
3392
d0b9e94f
MB
33932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
3394
3395 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
3396 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
3397 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
3398 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
3400 submachine.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
3402
8e9f92e9
AS
34032010-10-22 Andreas Schwab <schwab@redhat.com>
3404
3405 * include/dlfcn.h (__RTLD_SECURE): Define.
3406 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
3407 mode & __RTLD_SECURE instead.
3408 (open_path): Rename preloaded parameter to secure.
3409 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
3410 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
3411 * elf/dl-deps.c (openaux): Likewise.
3412 * elf/rtld.c (struct map_args): Remove is_preloaded.
3413 (map_doit): Don't use it.
3414 (dl_main): Likewise.
3415 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
3416 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
3417
bc96fbda
AS
34182010-09-09 Andreas Schwab <schwab@redhat.com>
3419
3420 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
3421 (sysd-rules-targets): Remove duplicates.
3422 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
3423 rtld-%.$o dependency.
3424
22cd1c9b
AS
34252010-10-18 Andreas Schwab <schwab@redhat.com>
3426
3427 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
3428 _dl_map_object do it.
3429
18edac48
UD
34302010-10-19 Ulrich Drepper <drepper@gmail.com>
3431
3432 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
3433 fast fma builtins, define the macros in the C99 standard.
3434 (FP_FAST_FMAF): Likewise.
3435 (FP_FAST_FMAL): Likewise.
3436 * sysdeps/x86_64/bits/mathdef.h: Likewise.
3437
3438 * bits/mathdef.h: Update copyright year.
3439 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3440
d2050124
MM
34412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
3442
3443 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
3444 builtins, define the macros in the C99 standard.
3445 (FP_FAST_FMAF): Likewise.
3446 (FP_FAST_FMAL): Likewise.
3447 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
3448 multiply/add.
3449 (FP_FAST_FMAF): Likewise.
3450
475facd1
JJ
34512010-10-15 Jakub Jelinek <jakub@redhat.com>
3452
3453 [BZ #3268]
3454 * math/libm-test.inc (fma_test): Some new testcases.
3455 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
3456 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
3457 y and infinite z. Do multiplication by C already in long double.
3458 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
3459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
3460 y and infinite z. Do bitwise or of inexact bit into u.d.
3461 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
3462 * sysdeps/i386/fpu/s_fmaf.S: Removed.
3463 * sysdeps/i386/fpu/s_fma.S: Removed.
3464 * sysdeps/i386/fpu/s_fmal.S: Removed.
3465
7c08a05c
JJ
34662010-10-16 Jakub Jelinek <jakub@redhat.com>
3467
3468 [BZ #3268]
3469 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
3470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
3471 computation is not scheduled after fetestexcept. Fix value
3472 of minimum denormal long double.
3473
f3f7372d
JJ
34742010-10-14 Jakub Jelinek <jakub@redhat.com>
3475
3476 [BZ #3268]
3477 * math/libm-test.inc (fma_test): Add some more tests.
3478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
3479 correctly.
3480
14d43591
AS
34812010-10-15 Andreas Schwab <schwab@redhat.com>
3482
3483 * scripts/data/localplt-s390-linux-gnu.data: New file.
3484 * scripts/data/localplt-s390x-linux-gnu.data: New file.
3485
5e908464
JJ
34862010-10-13 Jakub Jelinek <jakub@redhat.com>
3487
3488 [BZ #3268]
3489 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
3490 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
3491 instead of dbl-64.
3492 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
3493 inlines.
3494 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
3495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
3496 if one of x and y is very large and the other is subnormal.
3497 * sysdeps/s390/fpu/s_fmaf.c: New file.
3498 * sysdeps/s390/fpu/s_fma.c: New file.
3499 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
3500 * sysdeps/powerpc/fpu/s_fma.S: New file.
3501 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
3502 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
3503 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
3504
35052010-10-12 Jakub Jelinek <jakub@redhat.com>
3506
3507 [BZ #3268]
3508 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
3509 fma tests.
3510 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
3511 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
3512 * sysdeps/i386/i686/multiarch/s_fma.c: Include
3513 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
3514 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
3515 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
3516 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
3517
b833d51f
UD
35182010-10-12 Ulrich Drepper <drepper@redhat.com>
3519
3520 [BZ #12078]
3521 * posix/regcomp.c (parse_branch): One more memory leak plugged.
3522 * posix/bug-regex31.input: Add test case.
3523
1751705d
UD
35242010-10-11 Ulrich Drepper <drepper@gmail.com>
3525
e9b9cbf5
UD
3526 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
3527 * posix/bug-regex31.input: New file.
3528
3529 [BZ #12078]
3530 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
3531 (parse_sub_exp): Fix last change, use postorder.
3532
ef06edbe
UD
3533 * posix/bug-regex31.c: New file.
3534 * posix/Makefile: Add rules to build and run bug-regex31.
3535
a129c80d
UD
3536 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
3537
3538 [BZ #12078]
3539 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
3540
b76b818e
UD
3541 [BZ #12108]
3542 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
3543 to have entries in sys_siglist.
3544
1751705d
UD
3545 [BZ #12093]
3546 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
3547 be NULL.
3548
9ff8d36f
JJ
35492010-10-07 Jakub Jelinek <jakub@redhat.com>
3550
3551 [BZ #3268]
3552 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
3553 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
3554 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
3555 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
3556 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3557 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
3558 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
3559 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
3560 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
3561 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
3562 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
3563 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
3564 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3565 * math/ftestexcept.c (fetestexcept): Likewise.
3566 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
3567 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3568 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
3569 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
3570 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
3571 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
3572 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3573
af325969
UD
35742010-10-11 Ulrich Drepper <drepper@gmail.com>
3575
c579b202 3576 [BZ #12107]
af325969
UD
3577 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
3578 newline.
3579
67a67b95
UD
35802010-10-06 Ulrich Drepper <drepper@gmail.com>
3581
3582 * string/bug-strstr1.c: New file.
3583 * string/Makefile: Add rules to build and run bug-strstr1.
3584
5fb308bc
EB
35852010-10-05 Eric Blake <eblake@redhat.com>
3586
3587 [BZ #12092]
3588 * string/str-two-way.h (two_way_long_needle): Always clear memory
3589 when skipping input due to the shift table.
3590
45db99c7
UD
35912010-10-03 Ulrich Drepper <drepper@gmail.com>
3592
3b111893
UD
3593 [BZ #12005]
3594 * malloc/mcheck.c: Handle large requests.
3595
45db99c7
UD
3596 [BZ #12077]
3597 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
3598 for strncmp and strncasecmp.
3599 * string/stratcliff.c: Add tests for strcmp and strncmp.
3600 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
3601
cf7a1eb8
NI
36022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3603
3604 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
3605 __set_fpscr.
3606
6484ba5e
AJ
36072010-09-30 Andreas Jaeger <aj@suse.de>
3608
3609 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
3610 (CGROUP_SUPER_MAGIC): Define.
3611 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3612 Handle btrfs and cgroup file systems.
3613 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3614 Likewise.
3615
91c42559
LM
36162010-09-27 Luis Machado <luisgpm@br.ibm.com>
3617
3618 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
3619 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
3620
87a97932
AK
36212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3622
3623 [BZ #12067]
3624 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
3625 trying to locate the ELF header.
3626
c21cc9bc
AS
36272010-09-27 Andreas Schwab <schwab@redhat.com>
3628
3629 [BZ #11611]
3630 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
3631 Mask out sign-bit copies when constructing f_fsid.
3632
315970f6
PB
36332010-09-24 Petr Baudis <pasky@suse.cz>
3634
3635 * debug/stack_chk_fail_local.c: Add missing licence exception.
3636 * debug/warning-nop.c: Likewise.
3637
1ac7a2c7
JM
36382010-09-15 Joseph Myers <joseph@codesourcery.com>
3639
3640 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
3641 implementing getdents64 using getdents syscall, set d_type if
3642 __ASSUME_GETDENTS32_D_TYPE.
3643
56801c50
AS
36442010-09-16 Andreas Schwab <schwab@redhat.com>
3645
3646 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
3647 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
3648
dda51327
UD
36492010-09-21 Ulrich Drepper <drepper@redhat.com>
3650
3651 [BZ #12037]
3652 * posix/unistd.h: Undo change of feature selection for ftruncate from
3653 2010-01-11.
3654
8ffcee4a
UD
36552010-09-20 Ulrich Drepper <drepper@redhat.com>
3656
a545ecd9 3657 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
3658 detection.
3659
e24f0a8b
AS
36602010-09-20 Andreas Schwab <schwab@redhat.com>
3661
3662 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3663 fanotify_mark.
3664 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3665
7291c56f
AS
36662010-09-14 Andreas Schwab <schwab@redhat.com>
3667
3668 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
3669 variables after CHECK_SP call.
3670 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
3671
bc5fb037
AS
36722010-09-13 Andreas Schwab <schwab@redhat.com>
3673 Ulrich Drepper <drepper@redhat.com>
3674
3675 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
3676 re-relocationg ld.so.
3677 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
3678 _dl_init_paths call.
3679 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
3680 here anymore.
3681
e66e7419
UD
36822010-09-14 Ulrich Drepper <drepper@redhat.com>
3683
3684 * resolv/res_init.c (__res_vinit): Count the default server we added.
3685
c044aa75
CLT
36862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
3687 Ulrich Drepper <drepper@redhat.com>
3688
3689 [BZ #11968]
3690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3691 (____longjmp_chk): Use %ebx for saving value across system call.
3692 Add unwind info.
3693
32cf4069
AS
36942010-09-06 Andreas Schwab <schwab@redhat.com>
3695
3696 * manual/Makefile: Don't mix pattern rules with normal rules.
3697
817328ee
AS
36982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
3699
3700 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
3701 operation.
3702 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3703 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3704 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3705 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3706 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3707 Likewise.
3708
29fddf61
UD
37092010-09-04 Ulrich Drepper <drepper@redhat.com>
3710
3711 [BZ #11979]
3712 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
3713 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
3714
0959ffc9
UD
37152010-09-02 Ulrich Drepper <drepper@redhat.com>
3716
3717 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
3718 * sysdeps/x86_64/addmul_1.S: Likewise.
3719 * sysdeps/x86_64/lshift.S: Likewise.
3720 * sysdeps/x86_64/mul_1.S: Likewise.
3721 * sysdeps/x86_64/rshift.S: Likewise.
3722 * sysdeps/x86_64/sub_n.S: Likewise.
3723 * sysdeps/x86_64/submul_1.S: Likewise.
3724
ece29840
ST
37252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3726
0959ffc9
UD
3727 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
3728 Define __sched_param instead of SCHED_* and sched_param when
ece29840 3729 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 3730 * bits/sched.h [__need_schedparam]
ece29840 3731 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
3732 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
3733 (__defined_schedparam): Define to 1.
ece29840
ST
3734 (__sched_param): New structure, identical to sched_param.
3735 (__need_schedparam): Undefine.
3736
e53a31fe
MF
37372010-08-31 Mike Frysinger <vapier@gentoo.org>
3738
fdc0c10d
MF
3739 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
3740 (epoll_create1): Declare.
3741
e53a31fe
MF
3742 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
3743
a726d796
AS
37442010-08-31 Andreas Schwab <schwab@redhat.com>
3745
3746 [BZ #7066]
3747 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
3748 shifting retval into place.
3749
2f3e3dc7
UD
37502010-09-01 Ulrich Drepper <drepper@redhat.com>
3751
f2933da9
UD
3752 * nis/rpcsvc/nis.h: Update copyright notice.
3753 * nis/rpcsvc/nis.x: Likewise.
3754 * nis/rpcsvc/nis_callback.h: Likewise.
3755 * nis/rpcsvc/nis_callback.x: Likewise.
3756 * nis/rpcsvc/nis_object.x: Likewise.
3757 * nis/rpcsvc/nis_tags.h: Likewise.
3758 * nis/rpcsvc/yp.h: Likewise.
3759 * nis/rpcsvc/yp.x: Likewise.
3760 * nis/rpcsvc/ypupd.h: Likewise.
3761 * nis/yp_xdr.c: Likewise.
3762 * nis/ypupdate_xdr.c: Likewise.
3763
2f3e3dc7
UD
3764 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
3765 mainly the body of pmap_getport. Add parameters to specify timeouts.
3766 (pmap_getport): Use __libc_rpc_getport.
3767 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
3768 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
3769 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
3770
f3dcc2f9
AS
37712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
3772
3773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
3774 fanotify_mark.
3775
6d34eb5b
RM
37762010-08-27 Roland McGrath <roland@redhat.com>
3777
3778 * sysdeps/i386/i686/multiarch/Makefile
3779 (CFLAGS-varshift.c): New variable.
3780
9ea3de11
UD
37812010-08-27 Ulrich Drepper <drepper@redhat.com>
3782
c96d23fc
UD
3783 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
3784 * sysdeps/i386/i686/multiarch/varshift.c: New file.
3785
9ea3de11
UD
3786 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
3787
3788 * sysdeps/x86_64/strlen.S: Minimal code improvement.
3789
623aac7f
L
37902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
3791
3792 * sysdeps/x86_64/strlen.S: Unroll the loop.
3793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3794 strlen-sse2 strlen-sse2-bsf.
3795 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
3796 __strlen_no_bsf if bit_Slow_BSF is set.
3797 (__strlen_sse42): Removed.
3798 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
3799 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
3800
8b2b7715
RM
38012010-08-25 Roland McGrath <roland@redhat.com>
3802
3803 * sysdeps/x86_64/multiarch/varshift.S: File removed.
3804 * sysdeps/x86_64/multiarch/varshift.c: New file.
3805 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
3806 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
3807 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
3808 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3809
e73015f2
L
38102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
3811
3812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3813 strlen-sse2 strlen-sse2-bsf.
3814 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
3815 __strlen_sse2_bsf if bit_Slow_BSF is unset.
3816 (__strlen_sse2): Removed.
3817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
3818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
3819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3820 bit_Slow_BSF for Atom.
3821 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
3822 (index_Slow_BSF): Define.
3823 (HAS_SLOW_BSF): Define.
3824
df24a73e
UD
38252010-08-25 Ulrich Drepper <drepper@redhat.com>
3826
3827 [BZ #10851]
3828 * resolv/res_init.c (__res_vinit): When no server address at all
3829 is given default to loopback.
3830
f2ac4868
RM
38312010-08-24 Roland McGrath <roland@redhat.com>
3832
09055553
RM
3833 * configure.in: Remove config-name.h generation.
3834 * configure: Regenerated.
3835 * config-name.in: File removed.
3836 * scripts/config-uname.sh: New file.
3837 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
3838 ($(objdir)config-name.h): New target.
3839
f2ac4868
RM
3840 * sunrpc/rpc_parse.h: Avoid nested comment.
3841
73f27d5e
RH
38422010-08-24 Richard Henderson <rth@redhat.com>
3843 Ulrich Drepper <drepper@redhat.com>
3844 H.J. Lu <hongjiu.lu@intel.com>
3845
3846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
3847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
3848 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
3849 Replace _mm_srli_si128 with __m128i_shift_right. Replace
3850 _mm_alignr_epi8 with _mm_loadu_si128.
3851 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
3852 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
3853 (__m128i_shift_right): Removed.
3854 * sysdeps/i386/i686/multiarch/varshift.h: New file.
3855 * sysdeps/i386/i686/multiarch/varshift.S: New file.
3856 * sysdeps/x86_64/multiarch/varshift.h: New file.
3857 * sysdeps/x86_64/multiarch/varshift.S: New file.
3858
84b9230c
MF
38592010-08-21 Mike Frysinger <vapier@gentoo.org>
3860
3861 * configure.in: Move assembler checks to before sysdep dir checking.
3862
9bbd0ddc
PB
38632010-08-20 Petr Baudis <pasky@suse.cz>
3864
3865 * LICENSES: Sync the sunrpc license.
3866
9da4bb31
UD
38672010-08-19 Ulrich Drepper <drepper@redhat.com>
3868
a7ab6ec8
UD
3869 * sunrpc/auth_des.c: Update copyright notice once again.
3870 * sunrpc/auth_none.c: Likewise.
3871 * sunrpc/auth_unix.c: Likewise.
3872 * sunrpc/authdes_prot.c: Likewise.
3873 * sunrpc/authuxprot.c: Likewise.
3874 * sunrpc/bindrsvprt.c: Likewise.
3875 * sunrpc/clnt_gen.c: Likewise.
3876 * sunrpc/clnt_perr.c: Likewise.
3877 * sunrpc/clnt_raw.c: Likewise.
3878 * sunrpc/clnt_simp.c: Likewise.
3879 * sunrpc/clnt_tcp.c: Likewise.
3880 * sunrpc/clnt_udp.c: Likewise.
3881 * sunrpc/clnt_unix.c: Likewise.
3882 * sunrpc/des_crypt.c: Likewise.
3883 * sunrpc/des_soft.c: Likewise.
3884 * sunrpc/get_myaddr.c: Likewise.
3885 * sunrpc/getrpcport.c: Likewise.
3886 * sunrpc/key_call.c: Likewise.
3887 * sunrpc/key_prot.c: Likewise.
3888 * sunrpc/openchild.c: Likewise.
3889 * sunrpc/pm_getmaps.c: Likewise.
3890 * sunrpc/pm_getport.c: Likewise.
3891 * sunrpc/pmap_clnt.c: Likewise.
3892 * sunrpc/pmap_prot.c: Likewise.
3893 * sunrpc/pmap_prot2.c: Likewise.
3894 * sunrpc/pmap_rmt.c: Likewise.
3895 * sunrpc/rpc/auth.h: Likewise.
3896 * sunrpc/rpc/auth_unix.h: Likewise.
3897 * sunrpc/rpc/clnt.h: Likewise.
3898 * sunrpc/rpc/des_crypt.h: Likewise.
3899 * sunrpc/rpc/key_prot.h: Likewise.
3900 * sunrpc/rpc/netdb.h: Likewise.
3901 * sunrpc/rpc/pmap_clnt.h: Likewise.
3902 * sunrpc/rpc/pmap_prot.h: Likewise.
3903 * sunrpc/rpc/pmap_rmt.h: Likewise.
3904 * sunrpc/rpc/rpc.h: Likewise.
3905 * sunrpc/rpc/rpc_des.h: Likewise.
3906 * sunrpc/rpc/rpc_msg.h: Likewise.
3907 * sunrpc/rpc/svc.h: Likewise.
3908 * sunrpc/rpc/svc_auth.h: Likewise.
3909 * sunrpc/rpc/types.h: Likewise.
3910 * sunrpc/rpc/xdr.h: Likewise.
3911 * sunrpc/rpc_clntout.c: Likewise.
3912 * sunrpc/rpc_cmsg.c: Likewise.
3913 * sunrpc/rpc_common.c: Likewise.
3914 * sunrpc/rpc_cout.c: Likewise.
3915 * sunrpc/rpc_dtable.c: Likewise.
3916 * sunrpc/rpc_hout.c: Likewise.
3917 * sunrpc/rpc_main.c: Likewise.
3918 * sunrpc/rpc_parse.c: Likewise.
3919 * sunrpc/rpc_parse.h: Likewise.
3920 * sunrpc/rpc_prot.c: Likewise.
3921 * sunrpc/rpc_sample.c: Likewise.
3922 * sunrpc/rpc_scan.c: Likewise.
3923 * sunrpc/rpc_scan.h: Likewise.
3924 * sunrpc/rpc_svcout.c: Likewise.
3925 * sunrpc/rpc_tblout.c: Likewise.
3926 * sunrpc/rpc_util.c: Likewise.
3927 * sunrpc/rpc_util.h: Likewise.
3928 * sunrpc/rpcinfo.c: Likewise.
3929 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
3930 * sunrpc/rpcsvc/key_prot.x: Likewise.
3931 * sunrpc/rpcsvc/klm_prot.x: Likewise.
3932 * sunrpc/rpcsvc/mount.x: Likewise.
3933 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
3934 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
3935 * sunrpc/rpcsvc/rex.x: Likewise.
3936 * sunrpc/rpcsvc/rstat.x: Likewise.
3937 * sunrpc/rpcsvc/rusers.x: Likewise.
3938 * sunrpc/rpcsvc/sm_inter.x: Likewise.
3939 * sunrpc/rpcsvc/spray.x: Likewise.
3940 * sunrpc/rpcsvc/yppasswd.x: Likewise.
3941 * sunrpc/rtime.c: Likewise.
3942 * sunrpc/svc.c: Likewise.
3943 * sunrpc/svc_auth.c: Likewise.
3944 * sunrpc/svc_authux.c: Likewise.
3945 * sunrpc/svc_raw.c: Likewise.
3946 * sunrpc/svc_run.c: Likewise.
3947 * sunrpc/svc_simple.c: Likewise.
3948 * sunrpc/svc_tcp.c: Likewise.
3949 * sunrpc/svc_udp.c: Likewise.
3950 * sunrpc/svc_unix.c: Likewise.
3951 * sunrpc/svcauth_des.c: Likewise.
3952 * sunrpc/xcrypt.c: Likewise.
3953 * sunrpc/xdr.c: Likewise.
3954 * sunrpc/xdr_array.c: Likewise.
3955 * sunrpc/xdr_float.c: Likewise.
3956 * sunrpc/xdr_mem.c: Likewise.
3957 * sunrpc/xdr_rec.c: Likewise.
3958 * sunrpc/xdr_ref.c: Likewise.
3959 * sunrpc/xdr_sizeof.c: Likewise.
3960 * sunrpc/xdr_stdio.c: Likewise.
3961
9da4bb31
UD
3962 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
3963 handling.
3964
bdaa77bc
AS
39652010-08-19 Andreas Schwab <schwab@redhat.com>
3966
3967 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
3968
fe2f79db
LM
39692010-08-19 Luis Machado <luisgpm@br.ibm.com>
3970
3971 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
3972 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
3973 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
3974 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
3975 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
3976 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
3977 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
3978 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
3979 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
3980 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
3981 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
3982 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
3983 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
3984 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
3985
b9b42ee0
AB
39862010-07-26 Anton Blanchard <anton@samba.org>
3987
3988 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
3989 * malloc/arena.c (heap_trim): Likewise.
3990
1c06ba31
UD
39912010-08-16 Ulrich Drepper <drepper@redhat.com>
3992
3993 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
3994 here. Not...
3995 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
3996 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
3997
f8392f40
L
39982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
3999
4000 * sysdeps/i386/elf/Makefile: New file.
4001
3162f12e
AS
40022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4003
4004 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
4005 from fanotify_init.
4006 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4007 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4008
28c90b2c
UD
40092010-08-15 Ulrich Drepper <drepper@redhat.com>
4010
4011 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
4012 of strncasecmp_l.
1feccb6c 4013 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 4014
ca6bb004
UD
40152010-08-14 Ulrich Drepper <drepper@redhat.com>
4016
e9f82e0d
UD
4017 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4018 strncase_l-nonascii.
4019 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4020 Add strncase_l-ssse3.
4021 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
4022 * sysdeps/x86_64/strcmp.S: Likewise.
4023 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
4024 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
4025 * sysdeps/x86_64/strncase.S: New file.
4026 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
4027 * sysdeps/x86_64/strncase_l.S: New file.
4028 * string/Makefile (strop-tests): Add strncasecmp.
4029 * string/test-strncasecmp.c: New file.
4030
4031 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
4032 warning.
4033
ca6bb004
UD
4034 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
4035 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
4036
052fa7b3
AS
40372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4038
4039 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
4040
962dba78
UD
40412010-08-12 Ulrich Drepper <drepper@redhat.com>
4042
4043 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
4044 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4045 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4046
bebff237
AM
40472010-05-01 Alan Modra <amodra@gmail.com>
4048
4049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
4050 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
4051 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
4052 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
4053 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
4054 tidying. Don't tail-call __sigjmp_save for static lib.
4055 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
4056 save location.
4057 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
4058 (CALL_MCOUNT): Add eh info, and nop after bl.
4059 (TAIL_CALL_SYSCALL_ERROR): New macro.
4060 (PSEUDO_RET): Use it.
4061 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4062 Correct save location of integer regs and cr.
4063 (_dl_profile_resolve): Correct cr save location. Delete nops
4064 after bl when SHARED. Reduce cfi size a little by better
4065 placement of cfi directives.
4066 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
4067 make a stack frame. Instead use parm save area as a temp.
4068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
4069 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4071 Don't make a stack frame for parent, use parm save area.
4072 Increase child stack frame to 112 bytes. Don't save unused reg,
4073 and adjust reg usage. Set up cfi on error recovery and
4074 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4076 (__makecontext): Add dummy nop after jump to exit.
4077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
4078 Use correct parm save area and cr save, reduce stack frame.
4079 Correct cfi for possible PSEUDO_RET frame setup.
4080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
4081 Branch to local label emitted by PSEUDO_RET rather than
4082 __syscall_error.
4083
02637374
AS
40842010-08-12 Andreas Schwab <schwab@redhat.com>
4085
4086 [BZ #11904]
4087 * locale/programs/locale.c (print_assignment): New function.
4088 (show_locale_vars): Use it.
4089
c3e2f19b
UD
40902010-08-11 Ulrich Drepper <drepper@redhat.com>
4091
3cdaa6ad
UD
4092 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
4093 field.
4094 (struct statfs64): Likewise.
4095 (_STATFS_F_FLAGS): Define.
4096 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
4097 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4098 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
4099 (ST_VALID): Define locally.
4100 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
4101 __statvfs_getflags, use the provided value.
4102 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4103 __ASSUME_STATFS_F_FLAGS.
4104
754f7da3
UD
4105 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
4106
10b3bedc
UD
4107 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
4108 Add sys/fanotify.h.
4109 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
4110 fanotify_mask for GLIBC_2.13.
4111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
4112 fanotify_init and fanotify_mark.
4113 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4114 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
4115
c08fb0d7
UD
4116 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
4117 Add prlimit.
4118 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
4119 prlimit64 for GLIBC_2.13.
4120 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
4121 prlimit64.
4122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
4123 syscall.
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4125 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4126 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
4127 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
4128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
4129 add prlimit alias.
4130 * sysdeps/unix/sysv/linux/prlimit.c: New file.
4131
15bac72b
UD
4132 [BZ #11903]
4133 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
4134 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
4135
c3e2f19b
UD
4136 * nss/Makefile: Add rules to build and run tst-nss-test1.
4137 * shlib-versions: Add entry for libnss_test1.
4138 * nss/nss_test1.c: New file.
4139 * nss/tst-nss-test1.c: New file.
4140
4141 * nss/nsswitch.c (__nss_database_custom): Define new variable.
4142 (__nss_configure_lookup): Set appropriate entry in
4143 __nss_configure_lookup to true.
4144 * nss/nsswitch.h: Define enum with indeces of databases in
4145 databases and __nss_database_custom arrays. Declare
4146 __nss_database_custom.
4147 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
4148 to avoid using nscd when custom rules are installed.
4149 * nss/getXXbyYY_r.c: Likewise.
4150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4151
4152 * nss/nss_files/files-parse.c: Whitespace fixes.
4153
f15ce4d8
UD
41542010-08-09 Ulrich Drepper <drepper@redhat.com>
4155
4156 [BZ #11883]
4157 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
4158 * posix/fnmatch_loop.c: Likewise.
4159
d22e4cc9
AK
41602010-07-17 Andi Kleen <ak@linux.intel.com>
4161
4162 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
4163 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
4164 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
4165 * Versions.def [GLIBC_2.13]: Add.
4166
805bc17d
UD
41672010-08-06 Ulrich Drepper <drepper@redhat.com>
4168
4169 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4170 Also fail if tpwd after pwuid call is NULL.
4171
5a42321d
ST
41722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4173
4174 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
4175 when converting to ms.
4176
fd3ebeda
ST
41772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4178
4179 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
4180 EOPNOTSUPP errors with ENOTTY.
4181 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
4182 EOPNOTSUPP errors with ENOTTY.
4183
73507d3a
UD
41842010-07-31 Ulrich Drepper <drepper@redhat.com>
4185
4186 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4187 Add strcasecmp_l-ssse3.
4188 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
4189 strcasecmp.
4190 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
4191 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
4192 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
4193
fe36dd02
UD
41942010-07-30 Ulrich Drepper <drepper@redhat.com>
4195
66f6765a
UD
4196 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
4197
42e08a54
UD
4198 * string/Makefile (strop-tests): Add strcasecmp.
4199 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4200 strcasecmp_l-nonascii.
4201 (gen-as-const-headers): Add locale-defines.sym.
4202 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
4203 * sysdeps/x86_64/strcasecmp.S: New file.
4204 * sysdeps/x86_64/strcasecmp_l.S: New file.
4205 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
4206 * sysdeps/x86_64/locale-defines.sym: New file.
4207 * string/test-strcasecmp.c: New file.
4208
fe36dd02
UD
4209 * string/test-strcasestr.c: Test both ends of the range of characters.
4210 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
4211
48cbc0d6
RM
42122010-07-29 Roland McGrath <roland@redhat.com>
4213
76e6d6bc 4214 [BZ #11856]
48cbc0d6
RM
4215 * manual/locale.texi (Yes-or-No Questions): Fix example code.
4216
880113d9
UD
42172010-07-27 Ulrich Drepper <drepper@redhat.com>
4218
4219 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
4220 for ld.so.
4221
deb9cabb
AS
42222010-07-27 Andreas Schwab <schwab@redhat.com>
4223
4224 * manual/memory.texi (Malloc Tunable Parameters): Document
4225 M_PERTURB.
4226
1c7570ff
RM
42272010-07-26 Roland McGrath <roland@redhat.com>
4228
4229 [BZ #11840]
4230 * configure.in (-fgnu89-inline check): Set and substitute
4231 gnu89_inline, not libc_cv_gnu89_inline.
4232 * configure: Regenerated.
4233 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
4234
24fb0f88
UD
42352010-07-26 Ulrich Drepper <drepper@redhat.com>
4236
4237 * string/test-strnlen.c: New file.
4238 * string/Makefile (strop-tests): Add strnlen.
4239 * string/tester.c (test_strnlen): Add a few more test cases.
4240 * string/tst-strlen.c: Better error reporting.
4241
4242 * sysdeps/x86_64/strnlen.S: New file.
4243
8e96b93a
UD
42442010-07-24 Ulrich Drepper <drepper@redhat.com>
4245
4246 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
4247 lower-latency instructions.
4248
dbc676d4
UD
42492010-07-23 Ulrich Drepper <drepper@redhat.com>
4250
4251 * string/test-strcasestr.c: New file.
4252 * string/test-strstr.c: New file.
4253 * string/Makefile (strop-tests): Add strstr and strcasestr.
4254 * string/str-two-way.h: Don't undefine MAX.
4255 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
4256
f6a31e0e
AS
42572010-07-21 Andreas Schwab <schwab@redhat.com>
4258
4259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4260 strcasestr-nonascii.
4261 (CFLAGS-strcasestr-nonascii.c): Define.
4262 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
4263 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
4264 Remove unused attribute.
4265
5dbc3b6c
RM
42662010-07-20 Roland McGrath <roland@redhat.com>
4267
4268 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
4269 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
4270 ld.so.cache was broken. With it, there is no way to disable dsocaps
4271 like LD_HWCAP_MASK can disable hwcaps.
4272
23d101d8
EPM
42732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
4274
4275 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
4276
cc9f2e47
UD
42772010-07-16 Ulrich Drepper <drepper@redhat.com>
4278
4279 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
4280 call in strcasestr.
4281 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
4282 __strcasestr_sse42_nonascii.
4283 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
4284 strcasestr-nonascii.c.
4285 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
4286
77c1b069
LM
42872010-06-15 Luis Machado <luisgpm@br.ibm.com>
4288
4289 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
4290 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
4291 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
4292 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
4293
440566c3
UD
42942010-07-09 Ulrich Drepper <drepper@redhat.com>
4295
4296 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
4297 fcntl.
4298
5be9d05d
AS
42992010-07-06 Andreas Schwab <schwab@redhat.com>
4300
c30b7ee2 4301 [BZ #11577]
5be9d05d
AS
4302 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
4303 dl_signal_cerror.
4304
8a492a67
UD
43052010-07-06 Ulrich Drepper <drepper@redhat.com>
4306
4307 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
4308 _PC_PIPE_BUF using F_GETPIPE_SZ.
4309
713df3d5
RM
43102010-07-05 Roland McGrath <roland@redhat.com>
4311
4312 * manual/arith.texi (Rounding Functions): Fix rint description
4313 implicit in round description.
4314
702e8f14
UD
43152010-07-02 Ulrich Drepper <drepper@redhat.com>
4316
4317 * elf/Makefile: Fix linking for a few tests to make recent linker
4318 happy.
4319
52ed8be9
AS
43202010-06-30 Andreas Schwab <schwab@redhat.com>
4321
4322 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4323 $(common-objpfx)libc_nonshared.a.
4324
f47c9a11
LM
43252010-06-21 Luis Machado <luisgpm@br.ibm.com>
4326
4327 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
4328 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
4329 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
4330 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
4331 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
4332 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
4333 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
4334 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
4335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
4337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
4339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
4341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
4349 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
4350 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
4351 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
4352 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
4353 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
4354 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
4355 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
4356 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
4357 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
4358 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
4359 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
4360 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
4362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
4366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
4368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
4369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
4374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
4375
6fb8cbcb
L
43762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
4377
4378 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
4379 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
4380 * string/memmove.c (memmove): Renamed to ...
4381 (MEMMOVE): ...this. Default to memmove.
4382 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
4383 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
4384 (END_CHK): Define.
4385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4386 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
4387 mempcpy-ssse3-back memmove-ssse3-back.
4388 * sysdeps/x86_64/multiarch/bcopy.S: New file .
4389 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
4390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
4391 * sysdeps/x86_64/multiarch/memcpy.S: New file.
4392 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
4393 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
4394 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
4395 * sysdeps/x86_64/multiarch/memmove.c: New file.
4396 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
4397 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
4398 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
4399 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
4400 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
4401 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
4402 Define.
4403 (index_Fast_Copy_Backward): Define.
4404 (HAS_ARCH_FEATURE): Define.
4405 (HAS_FAST_REP_STRING): Define.
4406 (HAS_FAST_COPY_BACKWARD): Define.
4407
4e733bac 44082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
4409
4410 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4411 Restore proper fallback handling.
4412
63c4ed22
UD
44132010-06-19 Ulrich Drepper <drepper@redhat.com>
4414
ac2b484c
UD
4415 [BZ #11701]
4416 * posix/group_member.c (__group_member): Correct checking loop.
4417
63c4ed22
UD
4418 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
4419 OOM in getpwuid_r correctly. Return error number when the caller
4420 should return, otherwise -1.
4421 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
4422 call returning > 0 value.
4423 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
4424
765ade4b
AS
44252010-06-07 Andreas Schwab <schwab@redhat.com>
4426
4427 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
4428 libc_nonshared.a from targets in modules-names.
4429
80da2e09
KS
44302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
4431
4432 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
4433 requires it.
4434
158db122
LM
44352010-06-10 Luis Machado <luisgpm@br.ibm.com>
4436
4437 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
4438 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
4439 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
4440 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
4441
caa78cf8
AS
44422010-06-02 Andreas Schwab <schwab@redhat.com>
4443
4444 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
4445
b2ef2c01
UD
44462010-06-14 Ulrich Drepper <drepper@redhat.com>
4447
4448 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
4449 and F_GETPIPE_SZ.
4450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4452 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4455 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
4456
fbd643b6
RM
44572010-06-14 Roland McGrath <roland@redhat.com>
4458
4459 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
4460
f32f2869
JJ
44612010-06-07 Jakub Jelinek <jakub@redhat.com>
4462
4463 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
4464 __REDIRECT followed by __THROW.
4465 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
4466 * posix/getopt.h (getopt): Likewise.
4467
2a50c078
EPM
44682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
4469
4470 * hurd/lookup-at.c (__file_name_lookup_at): Accept
4471 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
4472 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
4473 in AT_FLAGS.
4474 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
4475 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
4476
eb5ad2eb
LM
44772010-05-28 Luis Machado <luisgpm@br.ibm.com>
4478
4479 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
4480
3c88fe1e
L
44812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
4482
4483 [BZ #11640]
4484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4485 Properly check family and model.
4486
d2f73151
TY
44872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
4488
4489 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
4490
ebd2e13d
LM
44912010-05-24 Luis Machado <luisgpm@br.ibm.com>
4492
4493 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
4494
b32b8b45
UD
44952010-05-21 Ulrich Drepper <drepper@redhat.com>
4496
4497 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
4498 symbol reference.
4499
9acbe24d
AS
45002010-05-19 Andreas Schwab <schwab@redhat.com>
4501
4502 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
4503 symbol reference.
4504
f0ccf6ea
AS
45052010-05-21 Andreas Schwab <schwab@redhat.com>
4506
3d04ff3a
AS
4507 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
4508 and internal_recvmmsg.
4509 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
4510 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
4511 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
4512 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
4513
f0ccf6ea
AS
4514 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
4515 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4516 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4517
5b08ac57
AS
45182010-05-20 Andreas Schwab <schwab@redhat.com>
4519
4520 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
4521
4828935d
LM
45222010-05-17 Luis Machado <luisgpm@br.ibm.com>
4523
4524 POWER7 optimizations.
4525 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
4526 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
4527
373d545e
UD
45282010-05-19 Ulrich Drepper <drepper@redhat.com>
4529
4530 * version.h: Update for 2.13 development version.
4531
21a2b1ae
AS
45322010-05-12 Andrew Stubbs <ams@codesourcery.com>
4533
4534 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
4535 exceptions. Return 0.
4536
3f7dcb2b
RM
45372010-05-07 Roland McGrath <roland@redhat.com>
4538
4539 * elf/ldconfig.c (main): Add a const.
4540
5f24d53a 45412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 4542
a160f8d8
UD
4543 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
4544 (args_options): Add no-idn option.
4545 (ahosts_keys_int): Add idn_flags to ai_flags.
4546 (parse_option): Handle 'i' option to clear idn_flags.
4547
5f24d53a
UD
4548 * malloc/malloc.c (_int_free): Possible race in the most recently
4549 added check. Only act on the data if no current modification
4550 happened.
265bb1ce
UD
4551
4552See ChangeLog.17 for earlier changes.