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