]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Revert "Fix semid_ds for x86-64"
[thirdparty/glibc.git] / ChangeLog
CommitLineData
59178ef9
AS
12011-09-07 Andreas Schwab <schwab@redhat.com>
2
3 [BZ #13144]
4 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5 last change.
6
e38ba7ab
UD
72011-09-07 Ulrich Drepper <drepper@gmail.com>
8
9 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13 clock_gettime.
14
d53a73ac
UD
152011-09-06 Ulrich Drepper <drepper@gmail.com>
16
fc8bffcc
UD
17 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18 Forgot to demangle the pointer.
19
ceaa0c5d
UD
20 * sysdeps/i386/sysdep.h: Define atom_text_section.
21 * sysdeps/x86_64/sysdep.h: Likewise.
22 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23 section with atom_text_section.
24 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29
a77d3c17
UD
30 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32 already be defined. Change to take two parameters and don't assign
33 result to variable. Adjust all users.
34 Define INTERNAL_GETTIME if not already defined.
35 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36 call.
37 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38 HAVE_CLOCK_GETTIME_VSYSCALL.
39 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40
d53a73ac
UD
41 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42 gettimeofday vsyscall, just use time.
43
a8f84144
AS
442011-09-06 Andreas Schwab <schwab@redhat.com>
45
46 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47 <errno.h>.
48
ef606249
UD
492011-09-06 Ulrich Drepper <drepper@gmail.com>
50
51 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52 syscall on x86-64.
53 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54 syscall.
55 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57 syscall if possible.
58
6585cb60
UD
592011-09-05 Ulrich Drepper <drepper@gmail.com>
60
61 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62 e_ident. Don't pass to find_mapsXX.
63 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
64
a5f524e4
LD
652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
66
67 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68 strchr-sse2-no-bsf strrchr-sse2-no-bsf
69 * sysdeps/x86_64/multiarch/strchr.S: Update.
70 Check bit_slow_BSF bit.
71 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74
554881ef
UD
752011-09-05 Ulrich Drepper <drepper@gmail.com>
76
d96de963
UD
77 [BZ #13134]
78 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79 before glibc 2.15.
80 (tryshell): Define.
81 (__spawni): Change last parameter to be flag. Test
82 SPAWN_XFLAGS_USE_PATH flag to use path or not.
83 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85 * posix/spawni.c: Likewise.
86 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
87 * posix/spawnp.c: Likewise. Change normal version to use
88 SPAWN_XFLAGS_USE_PATH.
89 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90 SPAWN_XFLAGS_TRY_SHELL.
91
d48e5868
UD
92 [BZ #13150]
93 * posix/glob.h: Remove gcc 1.x support.
94
554881ef
UD
95 [BZ #13068]
96 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
97
693fb948
LD
982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
99
100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
101 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
102 strrchr-sse2-bsf
103 * sysdeps/i386/i686/multiarch/strchr.S: New file.
104 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
105 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
106 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
107 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
108 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
109
1b48c537
UD
1102011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
111
49d42c37
UD
112 * sysdeps/x86_64/wcscmp.S: New file.
113
1b48c537
UD
114 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
115 wcscmp-c wcscmp-sse2
116 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
117 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
118 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
119 * wcsmbs/wcscmp.c: Allow renaming.
120
15c95c5d
DM
1212011-09-05 David S. Miller <davem@davemloft.net>
122
123 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
124 stack slot, rather than the struct return pointer slot.
125 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
126 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
128 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
129
2f0ad8f3
UD
1302011-09-05 Ulrich Drepper <drepper@gmail.com>
131
d88ae418
UD
132 * po/ja.po: Update from translation team.
133
2f0ad8f3
UD
134 [BZ #13144]
135 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
136 kernel in 64-bit binaries.
137
5f4318d1
DM
1382011-09-01 David S. Miller <davem@davemloft.net>
139
140 * elf/elf.h (HWCAP_SPARC_*): Move to..
141 * sysdeps/sparc/sysdep.h: this new file and add new values.
142 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
143 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
144 _DL_HWCAP_COUNT to 24.
145 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
146 entries.
147 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
148 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
149 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
151 instead of magic constants.
152 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
153
3ba57516
DM
1542011-08-31 David S. Miller <davem@davemloft.net>
155
156 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
158 Reimplement to do errno handling inline.
159 (SYSCALL_ERROR_HANDLER): New macro.
160 (__SYSCALL_STRING): Do not do errno handling in asm.
161 (__CLONE_SYSCALL_STRING): Delete.
162 (__INTERNAL_SYSCALL_STRING): Delete.
163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
164 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
165 (PSEUDO): Reimplement to do errno handling inline.
166 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
167 (SYSCALL_ERROR_HANDLER): New macro.
168 (__SYSCALL_STRING): Do not do errno handling in asm.
169 (__CLONE_SYSCALL_STRING): Delete.
170 (__INTERNAL_SYSCALL_STRING): Delete.
171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
172 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
173 i386.
174 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
175 (inline_syscall*): Add 'err' argument.
176 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
177 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
178 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
179 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
180
181 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
182 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
183
2bc17433
AS
1842011-08-30 Andreas Schwab <schwab@redhat.com>
185
186 * elf/rtld.c (dl_main): Relocate objects in dependency order.
187
fbeb5f4d
JO
1882011-08-29 Jiri Olsa <jolsa@redhat.com>
189
190 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
191 directive.
192
ad69cc26
DM
1932011-08-24 David S. Miller <davem@davemloft.net>
194
195 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
196
39dd69df
AS
1972011-08-24 Andreas Schwab <schwab@redhat.com>
198
199 * elf/Makefile: Add rules to build and run unload8 test.
200 * elf/unload8.c: New file.
201 * elf/unload8mod1.c: New file.
202 * elf/unload8mod1x.c: New file.
203 * elf/unload8mod2.c: New file.
204 * elf/unload8mod3.c: New file.
205
206 * elf/dl-close.c (_dl_close_worker): Reset private search list if
207 it wasn't used.
208
2c0b250a
DM
2092011-08-23 David S. Miller <davem@davemloft.net>
210
211 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
212 subtract stack bias.
213 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
214 %sp not %fp in calculations.
215 (_JMPBUF_UNWINDS_ADJ): Likewise.
216
22044b48
DM
217 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
218 (aio_suspend): Call it to force an exception region around the
219 AIO_MISC_WAIT() invocation.
220
2cae4995
AS
2212011-08-23 Andreas Schwab <schwab@redhat.com>
222
223 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
224 backslash.
225
873a772e
AJ
2262011-07-04 Aurelien Jarno <aurelien@aurel32.net>
227
228 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
229 protection macro.
230 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
231 and <dl-machine.h>.
232 (Elf64_FuncDesc): Remove.
233
25ad0df1
DM
2342011-08-22 David S. Miller <davem@davemloft.net>
235
236 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
237 sigaltstack check, add missing cfi directives.
238 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
239 missing cfi directives, and sigaltstack handling.
240
e888bcbe
AS
2412011-08-16 Andreas Schwab <schwab@redhat.com>
242
243 [BZ #11724]
244 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
245 object is seen twice.
246 * elf/dl-fini.c (_dl_sort_fini): Likewise.
247
248 * elf/Makefile (distribute): Add tst-initorder2.c.
249 (tests): Add tst-initorder2.
250 (modules-names): Add tst-initorder2a tst-initorder2b
251 tst-initorder2c tst-initorder2d. Add rules to build them.
252 ($(objpfx)tst-initorder2.out): New rule.
253 * elf/tst-initorder2.c: New file.
254 * elf/tst-initorder2.exp: New file.
255
87162f46
AS
2562011-08-22 Andreas Schwab <schwab@redhat.com>
257
70538b7f
AS
258 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
259
f55ffe58
AS
260 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
261 dependencies back to end of function.
262
87162f46
AS
263 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
264 $(elfobjdir)/ld.so.
265
91b392a4
UD
2662011-08-21 Ulrich Drepper <drepper@gmail.com>
267
268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
269 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
271 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
272 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
273 of __vdso_gettimeofday.
274 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
275 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
276 attribute_hidden.
277 (_libc_vdso_platform_setup): Remove initialization of
278 __vdso_gettimeofday and __vdso_time.
279
5c43483f
UD
2802011-08-20 Ulrich Drepper <drepper@gmail.com>
281
775a77e7
UD
282 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
283 and fgetc_unlocked.
284 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
285 getc_unlocked.
89f447ed 286
49c74ba9
UD
287 * elf/dl-open.c (add_to_global): Report additions to the global scope
288 for LD_DEBUG=scopes.
289 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 290 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 291
5c43483f
UD
292 [BZ #13114]
293 * stdio-common/Makefile (tests): Add bug24.
294 * stdio-common/bug24.c: New file.
295
a101b025
AJ
2962011-08-19 Andreas Jaeger <aj@suse.de>
297
298 [BZ #13114]
299 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
300 non-existant file when using close-on-exec mode.
301
c88f1766
UD
3022011-08-20 Ulrich Drepper <drepper@gmail.com>
303
0276a718
UD
304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
305 the very first instruction.
306
c88f1766
UD
307 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
308 the CFI state in the end.
309 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
310 inclusion of dl-trampoline.h.
311 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
312
51ccffa0
AS
3132011-08-19 Andreas Schwab <schwab@redhat.com>
314
94d7165f
AS
315 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
316 expectations for long double.
317
51ccffa0
AS
318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
319 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
320
fd708658 3212011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
322
323 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
324 artificual limit depends upon the system page size.
325
44f0a71e
UD
3262011-08-17 Ulrich Drepper <drepper@gmail.com>
327
328 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
329 * resolv/Makefile: Define CFLAGS-libresolv.
330
8de79a24
AS
3312011-08-17 Andreas Schwab <schwab@redhat.com>
332
333 * nss/makedb.c (compute_tables): Make variables used in nested
334 function static.
335
27724598
UD
3362011-08-17 Ulrich Drepper <drepper@gmail.com>
337
c5305d88
UD
338 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
339 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
340 if buffer was too small.
341
27724598
UD
342 * elf/pldd.c (main): Attach to all threads in the process.
343 Rewrite /proc handling to use *at functions.
344
076fe015
UD
3452011-08-16 Ulrich Drepper <drepper@gmail.com>
346
174baab3
UD
347 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
348 specifies first scope to show.
349 (dl_open_worker): Update callers. Move printing scope of new
350 object to before the relocation.
44f0a71e 351 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
352 * sysdeps/generic/ldsodefs.h: Update declaration.
353
076fe015
UD
354 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
355 string for the scope number.
356
a60df2c3
UD
3572011-08-14 Ulrich Drepper <drepper@gmail.com>
358
359 * nscd/servicescache.c (cache_addserv): Make sure written is always
360 initialized.
361
5e4287d1
RM
3622011-08-14 Roland McGrath <roland@hack.frob.com>
363
85ae0589
RM
364 * sysdeps/i386/i486/bits/atomic.h
365 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
366 statement expression, so as to suppress "set but not used" warning.
367 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
368
69f63097
RM
369 * string/strncat.c (STRNCAT): Use prototype definition.
370
675456ef
RM
371 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
372 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
373 -Iprograms here.
374 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
375 (localedef-modules): Add localedef.
376 (locale-modules): Add locale.
377
5e4287d1
RM
378 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
379 * elf/rtld.c (dl_main): Invert order of assignment in last change,
380 to avoid a warning.
381
9c96ff23
DM
3822011-08-14 David S. Miller <davem@davemloft.net>
383
384 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
385 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
386
f9ddf089
UD
3872011-08-13 Ulrich Drepper <drepper@gmail.com>
388
44f0a71e 389 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
390 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
391 * elf/rtld.c (dl_main): Set l_name of vDSO.
392 Call _dl_show_scope when DL_DEBUG_SCOPES.
393 (process_dl_debug): Recognize scopes flag and also set it for all.
394 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
395 Declare _dl_show_scope.
396
1dc27704
UD
397 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
398 (do_dlopen): Pass caller_dlopen to dl_open.
399 (__libc_dlopen_mode): Initialize caller_dlopen.
400
f9ddf089
UD
401 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
402 of libc. Make tolower call locale-independent. Optimize a bit by
403 using isdigit instead of isalnum.
404 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
405
9ac533d3
UD
4062011-08-12 Ulrich Drepper <drepper@gmail.com>
407
408 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
409 was a dependency or dynamically loaded.
410
89edf2e9
UD
4112011-08-11 Ulrich Drepper <drepper@gmail.com>
412
8e999d29
UD
413 * intl/l10nflist.c: Allow architecture-specific pop function.
414 * sysdeps/x86_64/l10nflist.c: New file.
415
89edf2e9
UD
416 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
417 classification.
418
14d96785
AS
4192011-08-10 Andreas Schwab <schwab@redhat.com>
420
421 * include/dirent.h: Add libc_hidden_proto for scandirat and
422 scandirat64. Don't declare __scandirat64.
423 * dirent/scandirat.c: Add libc_hidden_def.
424 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
425 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
426
6761ac04
DM
4272011-08-10 David S. Miller <davem@davemloft.net>
428
429 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
430 enum.
431 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
433 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
434
c55fbd1e
UD
4352011-08-09 Ulrich Drepper <drepper@gmail.com>
436
437 * Versions.def [libc]: Add GLIBC_2.15.
438 * dirent/Makefile (routines): Add scandirat and scandirat64.
439 * dirent/Versions [libc]: Export scandirat and scandirat64 for
440 GLIBC_2.15.
441 * dirent/dirent.h: Declare scandirat and scandirat64.
442 * dirent/scandirat.c: New file.
443 * dirent/scandirat64.c: New file.
444 * sysdeps/wordsize-64/scandirat.c: New file.
445 * sysdeps/wordsize-64/scandirat64.c: New file.
446 * dirent/opendir.c: Define opendirat.
447 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
448 using scandirat.
449 * dirent/scandir64.c: Adjust for scandir.c change.
450 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
451 __scandirat64, and __scandir_cancel_handler.
452 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
453 additional parameter and use openat instead of open (outside of ld.so).
454 Add new __opendir as wrapper around __opendirat.
455 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
456 here without requiring old scandirat implementation.
457
879165f2
UD
4582011-08-08 Ulrich Drepper <drepper@gmail.com>
459
460 * dirent/scandir.c (cancel_handler): Renamed to
461 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
462 defined. Adjust users.
463 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
464 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
465
cb7e923b
UD
4662011-08-04 Ulrich Drepper <drepper@gmail.com>
467
16292edd
UD
468 * string/test-string.h (IMPL): Use __STRING to expand name and then
469 stringify it.
470
cb7e923b
UD
471 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
472 of cleanups.
473
cff82933
LD
4742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
475
476 * string/Makefile: Update.
477 (strop-tests): Append strncat.
478 * string/test-wcscmp.c: New file.
479 New comprehensive test for wcscmp.
480 * string/test-strcmp.c: Update.
481 (WIDE): New define.
482
9be9bfcc
AS
4832011-07-22 Andreas Schwab <schwab@redhat.com>
484
485 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
486 line.
487
2e96f1c7
AS
4882011-07-26 Andreas Schwab <schwab@redhat.com>
489
490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
491 encoding to ACE if AI_IDN.
492
85188888
JJ
4932011-08-01 Jakub Jelinek <jakub@redhat.com>
494
495 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
496 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
497
5fa16e9b
LD
4982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
499
500 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
501 Fix overflow bug in strncat.
502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
503
504 * string/test-strncat.c: Update.
505 Add new tests for checking overflow bugs.
506
5072011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
508
509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
510 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
511 * sysdeps/i386/i686/multiarch/strcat.S: New file.
512 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
514 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
515 * sysdeps/i386/i686/multiarch/strncat.S: New file.
516 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
517 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
518
519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
520 (USE_AS_STRCAT): Define.
521 Add strcat and strncat support.
522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
523
8c1a459f
AS
5242011-07-25 Andreas Schwab <schwab@redhat.com>
525
526 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
527 __n bigger than INT_MAX+1.
528 (__strncmp_g): Likewise.
529
bba33c28
UD
5302011-07-23 Ulrich Drepper <drepper@gmail.com>
531
798be72d
UD
532 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
533 * libio/stido.h: Likewise.
534
8accd4dc
UD
535 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
536 (AF_NFC): Define.
537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
538 (AF_NFC): Define.
539
cbff0d96
UD
540 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
543 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
544 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
545
9191c04a
UD
546 [BZ #13021]
547 * scripts/test-installation.pl: Don't expect libnss_test1 to be
548 installed.
549
bba33c28
UD
550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
551 typo.
552 (_dl_x86_64_save_sse): Likewise.
553
90f139dd
UD
5542011-07-22 Ulrich Drepper <drepper@gmail.com>
555
1aae088a
UD
556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
557 OSXSAVE.
558 (_dl_x86_64_save_sse): Likewise.
559
8e2045f5
UD
560 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
561
90f139dd
UD
562 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
563
1d002f25
AS
5642011-07-21 Andreas Schwab <schwab@redhat.com>
565
566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
567 change.
568 (_dl_x86_64_save_sse): Use correct AVX check.
569
21137f89
UD
5702011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
571
572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
573 bug in strncpy/strncat.
574 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
575
a65c0b7a
UD
5762011-07-21 Ulrich Drepper <drepper@gmail.com>
577
578 * string/tester.c (test_strcat): Add tests for different alignments
579 of source and destination.
580 (test_strncat): Likewise.
581
6986b98a
UD
5822011-07-20 Ulrich Drepper <drepper@gmail.com>
583
90bb2039
UD
584 [BZ #12852]
585 * posix/glob.c (glob): Check passed in values before using them in
586 expressions to avoid some overflows.
587 (glob_in_dir): Likewise.
588
5644ef54
UD
589 [BZ #13007]
590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
591 check for AVX enablement so that we don't crash with old kernels and
592 new hardware.
593 * elf/tst-audit4.c: Add same checks here.
594 * elf/tst-audit6.c: Likewise.
595
596 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 597
bfc9dc9b
AS
5982011-07-09 Andreas Schwab <schwab@linux-m68k.org>
599
600 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
601
702e64bb
UD
6022011-07-20 Ulrich Drepper <drepper@gmail.com>
603
604 * po/cs.po: Update from translation team.
605 * po/bg.po: Likewise.
606
295e904f
MP
6072011-07-12 Marek Polacek <mpolacek@redhat.com>
608
609 * misc/sys/cdefs.h: Add support for const attribute.
610 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
611 to gnu_dev_{major,minor,makedev} functions.
612
3ff94596
MP
6132011-07-20 Marek Polacek <mpolacek@redhat.com>
614
615 * intl/dcigettext.c (get_output_charset): Add missing bracket.
616
28b59fca
AS
6172011-07-20 Andreas Schwab <schwab@redhat.com>
618
619 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
620 strlen results.
621
19df733e
AK
6222011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
623
624 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
625 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
626 register in order to avoid conflicts with the soft frame pointer
627 being held in r11 when necessary.
628 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
629 (INTERNAL_VSYSCALL_NCS): Likewise.
630
c8835729
MP
6312011-07-14 Marek Polacek <mpolacek@redhat.com>
632
633 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
634 * elf/dl-fini.c (_dl_fini): Adjust caller.
635 * elf/dl-close.c (_dl_close_worker): Likewise.
636 * sysdeps/generic/ldsodefs.h: Adjust declaration.
637
b902330c
MP
6382011-07-15 Marek Polacek <mpolacek@redhat.com>
639
8991e135
MP
640 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
641 "aux_cache->nlibs < 0".
642
b902330c
MP
643 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
644 in the reload-count case.
645
99710781
LD
6462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
647
648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
649 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
650 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
651 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
652 * sysdeps/x86_64/multiarch/strcat.S: New file.
653 * sysdeps/x86_64/multiarch/strncat.S: New file.
654 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
655 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
656 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
657 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
658 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
659 (USE_AS_STRCAT): Define.
660 Add strcat and strncat support.
661 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
662 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
663 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
664 * string/strncat.c: Update.
665 (USE_AS_STRNCAT): Define.
666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
667 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
668 and i7.
669 * sysdeps/x86_64/multiarch/init-arch.h
670 (bit_Prefer_PMINUB_for_stringop): New.
671 (index_Prefer_PMINUB_for_stringop): Likewise.
672 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
673 bit_Prefer_PMINUB_for_stringop.
674
7dc6bd90
UD
6752011-07-19 Ulrich Drepper <drepper@gmail.com>
676
677 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
678 buffer64.
679 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
680 of casting of buffer.
681 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
682 buffer32 and buffer64.
683 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
684 writes instead of casting of buffer.
685 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
686 buffer32.
687 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
688 casting of buffer.
689
e0e72284
AS
6902011-07-19 Andreas Schwab <schwab@redhat.com>
691
692 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
693
feb1eb0b
UD
6942011-07-19 Ulrich Drepper <drepper@gmail.com>
695
696 * nscd/nscd.c (termination_handler): Don't do anything for a database
697 if it has not yet been initialized.
698
298711ff
UD
6992011-07-18 Ulrich Drepper <drepper@gmail.com>
700
701 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
702
7032011-07-15 Marek Polacek <mpolacek@redhat.com>
704
705 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
706
f9d68389
UD
7072011-07-18 Ulrich Drepper <drepper@gmail.com>
708
709 * po/nl.po: Update from translation team.
710 * po/sv.po: Likewise.
711
db290cf5
RM
7122011-07-16 Roland McGrath <roland@hack.frob.com>
713
714 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
715 now disallowed by GCC.
5c550700 716
fd5e21c7
RM
717 * configure.in (use-default-link): Default to yes if a test -shared
718 link meets our qualifications.
719 * configure: Regenerated.
720
5c550700
RM
721 * config.make.in (output-format): New variable.
722 * configure.in: Check for ld --print-output-format support.
723 * configure: Regenerated.
724 * Makerules ($(common-objpfx)format.lds)
725 [$(output-format) != unknown]: Just use $(output-format),
726 instead of the linker-script munging.
727
9fa2c032
RM
7282011-07-14 Roland McGrath <roland@hack.frob.com>
729
a6928d51
RM
730 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
731 of $(common-objpfx)shlib.lds.
732 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
733
661607b3
RM
734 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
735 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
736
9fa2c032
RM
737 * configure.in (-z relro check): Adjust test code to add a large
738 writable data section after it.
739 * configure: Regenerated.
740
defe9061
RM
7412011-07-11 Roland McGrath <roland@hack.frob.com>
742
743 * configure.in (-z relro check): Fix test code to make the variable
744 truly const.
745 * configure: Regenerated.
746
319b9ad4
UD
7472011-07-11 Ulrich Drepper <drepper@gmail.com>
748
749 * nscd/nscd.h (struct traced_file): Define.
750 (struct database_dyn): Remove inotify_descr, reset_res, and filename
751 elements. Add traced_files.
752 (inotify_fd): Declare.
753 (register_traced_file): Declare.
754 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
755 (inotify_fd): Export.
756 (resolv_conf_descr): Remove.
757 (nscd_init): Move inotify descriptor creation to main.
758 Don't register files for notification here.
759 (register_traced_file): New function.
760 (invalidate_cache): Don't use reset_res to determine whether to call
761 res_init, go through the list of registered files.
762 (main_loop_poll): The inotify descriptors are now stored in the
763 structures for the traced files.
764 (main_loop_epoll): Likewise
765 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
766 to __nss_disable_nscd.
767 * nscd/cache.c (prune_cache): There is no single inotify descriptor
768 for a database anymore. Check the records for all the registered
769 files instead.
770 * nss/Makefile (libnss_files-routines): Add files-init.
771 (libnss_db-routines): Add db-init.
772 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
773 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
774 * nss/nss_db/db-init.c: New file.
775 * nss/nss_files/files-init.c: New file.
776 * nss/nsswitch.c (nss_load_library): New function. Broken out of
777 __nss_lookup_function.
778 (__nss_lookup_function): Call nss_load_library.
779 (nss_load_all_libraries): New function.
780 (__nss_disable_nscd): Take parameter with callback function for files
781 to register. Set is_nscd. Load all the DSOs for the NSS modules
782 used for the cached services.
783 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
784 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
785 options for features to all the files in nscd.
786
787 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
788
23bee3e8
RM
7892011-07-10 Roland McGrath <roland@hack.frob.com>
790
791 * csu/elf-init.c (__libc_csu_init): Comment typo.
792
46a5b7f0
UD
7932011-07-09 Ulrich Drepper <drepper@gmail.com>
794
795 * po/pl.po: Update from translation team.
796 * po/ja.po: Likewise.
797 * po/ru.po: Likewise.
798 * po/ko.po: Likewise.
799 * po/fr.po: Likewise.
800
d30cf5bb
RM
8012011-07-09 Roland McGrath <roland@hack.frob.com>
802
113ddea4
RM
803 * configure.in (.ctors/.dtors header and trailer check):
804 Use an empirical test on a built program.
805 * configure: Regenerated.
806
574920b4
RM
807 * configure.in (-z relro check): Use an empirical test on a built DSO.
808 Detect, but do not require, on ia64.
809 * configure: Regenerated.
810
d30cf5bb
RM
811 * configure.in (READELF): Find it with AC_CHECK_TOOL.
812 Update tests that use readelf to use $READELF instead.
813 * configure: Regenerated.
814
8538fdb3
UD
8152011-07-08 Ulrich Drepper <drepper@gmail.com>
816
817 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
818 if the result is not used.
819
04d08991
AJ
8202011-07-05 Andreas Jaeger <aj@suse.de>
821
822 [BZ#9696]
823 * stdlib/tst-strtod.c: Add testcase.
824
de283087
AD
8252011-07-07 Ulrich Drepper <drepper@gmail.com>
826
4e5f31c8 827 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 828 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
829 The latter has a higher limit. Take additional parameter to pass to
830 the new function.
831 (__pathconf): Pass file to __statfs_link_max.
832 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
833 __statfs_link_max.
834 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
835 __statfs_link_max.
836
de283087
AD
837 [BZ #12868]
838 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
839 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
840 Handle Lustre.
841 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
842 (__statfs_filesize_max): Likewise.
843 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
844
c75fa153
AJ
8452011-07-05 Andreas Jaeger <aj@suse.de>
846
847 * resolv/res_comp.c (dn_skipname): Remove unused variable.
848
1a544854
UD
8492011-07-06 Marek Polacek <mpolacek@redhat.com>
850
851 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
852 `status' variable.
853 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
854 Likewise.
855
6f0eec67
UD
8562011-07-04 H.J. Lu <hongjiu.lu@intel.com>
857
858 * Makefile (strop-tests): Add strncat.
859 * string/test-strncat.c: New file.
860
aae30307
UD
8612011-06-30 Marek Polacek <mpolacek@redhat.com>
862
863 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
864
c0cfb5eb
UD
8652011-06-21 Andreas Jaeger <aj@suse.de>
866
867 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
868 Copy rule from iconvdata/Makefile.
869
01636b21
UD
8702011-07-06 Ulrich Drepper <drepper@gmail.com>
871
872 [BZ #12922]
873 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
874 but no long options are defined, just return 'W'.
875
9895c8bc
UD
8762011-06-22 Marek Polacek <mpolacek@redhat.com>
877
878 [BZ #9696]
879 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
880
5d4cf042
UD
8812011-07-06 Ulrich Drepper <drepper@gmail.com>
882
883 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
884 netgroups to read.
960e5535 885 (innetgr): Likewise.
5d4cf042 886
751eb97e
RM
8872011-07-05 Roland McGrath <roland@hack.frob.com>
888
889 * config.make.in (install_root): Default to $(DESTDIR).
890
f15f1e45
UD
8912011-07-05 Ulrich Drepper <drepper@gmail.com>
892
893 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
894
4e34ac6a
RM
8952011-07-02 Roland McGrath <roland@hack.frob.com>
896
5e9b6af4
RM
897 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
898
84f9ea0f
RM
899 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
900 containing directory rather than embedding absolute directory names.
901
ea5ee9f7
RM
902 * scripts/check-local-headers.sh: Rewritten using awk.
903 Match by word, not by line. Print error messages for matches.
904 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
905
1b74661a
RM
906 * Makerules [shlib-lds-flags empty]:
907 ($(common-objpfx)libc_pic.opts): New target.
908 ($(common-objpfx)libc_pic.os.clean): New target.
909 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
910
911 * config.make.in (OBJCOPY): New variable.
912 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
913 * configure: Regenerated.
914
f781ef40
RM
915 * config.make.in (use-default-link): New variable.
916 * configure.in (use_default_link): Grok --with-default-link to set it.
917 * configure: Regenerated.
918 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
919 (shlib-lds, shlib-lds-flags): Define to empty.
920
2d4fa81e
RM
921 * Makerules (shlib-lds): New variable.
922 (shlib-lds-flags): New variable.
923 (build-shlib, build-moduile, build-module-asneeded): Use it.
924 ($(common-objpfx)libc.so): Use $(shlib-lds).
925 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
926 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
927
31fffa6b
RM
928 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
929 DT_FLAGS/DT_FLAGS_1 with zero flags.
930
4e34ac6a
RM
931 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
932 linker script munging.
933
fcfc776b
UD
9342011-07-02 Ulrich Drepper <drepper@gmail.com>
935
936 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
937 as 128-bit value.
938 * crypt/sha512.c (sha512_process_block): Perform total addition using
939 128-bit if possible.
940 (__sha512_finish_ctx): Likewise.
941 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
942 as 64-bit value.
943 * crypt/sha256.c (SWAP64): Define.
944 (sha256_process_block): Perform total addition using 64-bit if
945 possible.
946 (__sha256_finish_ctx): Likewise.
947
99231d9a
UD
9482011-07-01 Ulrich Drepper <drepper@gmail.com>
949
950 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
952 * nscd/hstcache.c (cache_addhst): Likewise.
953 * nscd/grpcache.c (cache_addgr): Likewise.
954 * nscd/aicache.c (addhstaiX): Likewise
955 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
956
445b4a53
TK
9572011-07-01 Thorsten Kukuk <kukuk@suse.de>
958
959 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
960 * nscd/initgrcache.c (addinitgroupsX): Likewise.
961 * nscd/hstcache.c (cache_addhst): Likewise.
962 * nscd/grpcache.c (cache_addgr): Likewise.
963 * nscd/aicache.c (addhstaiX): Likewise
964
6d4d8e8e
AS
9652011-07-01 Andreas Schwab <schwab@redhat.com>
966
967 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
968 domain only when needed.
969
89f654c5
AS
9702011-06-30 Andreas Schwab <schwab@redhat.com>
971
972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
973 is always restored.
974
cf3b23ff
UD
9752011-06-29 Ulrich Drepper <drepper@gmail.com>
976
977 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
978 are re-adding the entry.
979 * nscd/servicescache.c (cache_addserv): Likewise.
980
751626f9
AJ
9812011-06-30 Aurelien Jarno <aurelien@aurel32.net>
982
983 * sysdeps/generic/dl-irel.h: fix protection against multiple
984 inclusions.
985 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
986
9113ea1f
UD
9872011-06-28 Ulrich Drepper <drepper@gmail.com>
988
5c0b8d90
UD
989 [BZ #12935]
990 * malloc/memusage.sh: Fix quoting in message.
991 * debug/xtrace.sh: Likewise.
992
9113ea1f
UD
993 * configure.in: Remove support for --experimental-malloc option, make
994 it the default.
995 * config.make.in: Likewise.
996 * malloc/Makefile: Likewise.
997
a4172181
AS
9982011-06-27 Andreas Schwab <schwab@redhat.com>
999
1000 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
1001 two-byte characters.
1002
78a7eee7
RM
10032011-06-27 Roland McGrath <roland@hack.frob.com>
1004
62bede13
RM
1005 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
1006 AC_CACHE_CHECK invocation.
1007 * configure: Regenerated.
1008
78a7eee7
RM
1009 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
1010
5ce33a62
UD
10112011-06-27 Ulrich Drepper <drepper@gmail.com>
1012
034807a9
UD
1013 [BZ #12350]
1014 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
1015 bit from old_res_options.
1016
4902da17
UD
1017 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
1018
5ce33a62
UD
1019 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
1020 value type for setfct.
1021
c2344f56
L
10222011-06-23 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1025 __gettimeofday instead of gettimeofday.
1026
68468076
UD
10272011-06-26 Ulrich Drepper <drepper@gmail.com>
1028
1029 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
1030
acb0d739
L
10312011-06-24 H.J. Lu <hongjiu.lu@intel.com>
1032
1033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
1034
1035 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
1036 info.
1037
8912479f
L
10382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1039
1040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1041 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1042 strcpy-sse2-unaligned strncpy-sse2-unaligned
1043 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
1044 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
1045 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
1046 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
1047 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
1048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
1049 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
1050 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
1051 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
1052 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
1053 (STRCPY): Support SSE2 and SSSE3 versions.
1054
d5495a11
UD
10552011-06-24 Ulrich Drepper <drepper@gmail.com>
1056
1057 [BZ #12874]
1058 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
1059 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
1060 kernels which artificially limit size of requests.
1061
0b1cbaae
L
10622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1065 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1066 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
1067 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
1068 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
1069 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
1070 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
1071 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
1072 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
1073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
1074 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
1075 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
1076 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
1077 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
1078 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
1079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1080 Enable unaligned load optimization for Intel Core i3, i5 and i7
1081 processors.
1082 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
1083 Define.
1084 (index_Fast_Unaligned_Load): Define.
1085 (HAS_FAST_UNALIGNED_LOAD): Define.
1086
07f494a0
MP
10872011-06-23 Marek Polacek <mpolacek@redhat.com>
1088
1089 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
1090
fa3fc0fe
UD
10912011-06-22 Ulrich Drepper <drepper@gmail.com>
1092
1093 [BZ #12907]
1094 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
1095 until it is clear that the information is realy needed.
1096 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
1097
e12df166
AS
10982011-06-22 Andreas Schwab <schwab@redhat.com>
1099
1100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
1101
852eb34d
UD
11022011-06-22 Ulrich Drepper <drepper@gmail.com>
1103
84e2a551
UD
1104 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1105 /sys/devices/system/cpu/online if it is usable.
1106
852eb34d
UD
1107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
1108 reading the information from the /proc filesystem to once a second.
1109
6e502e19
UD
11102011-06-21 Andreas Jaeger <aj@suse.de>
1111
1112 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
1113 NULL after inclusion of kernel headers.
1114
75d39ff2
UD
11152011-06-21 Ulrich Drepper <drepper@gmail.com>
1116
51f9aa6a
UD
1117 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
1118 calls to internal_setent.
1119
c0244a9d
UD
1120 [BZ #12885]
1121 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
1122 addresses using gethostbyname4_r ignore IPv4 addresses.
1123
c5e3c2ae
UD
1124 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
1125 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
1126
75d39ff2
UD
1127 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
1128
42675c6f
DM
11292011-06-20 David S. Miller <davem@davemloft.net>
1130
1131 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
1132 inclusions.
1133 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
1134
1135 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
1136 (elf_irel): Use it.
1137 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
1138 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
1139 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
1140 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
1141 * sysdeps/x86_64/dl-irel.h: Likewise.
1142
1143 * elf/dl-runtime.c: Use elf_ifunc_invoke.
1144 * elf/dl-sym.c: Likewise.
1145
57912a71
UD
11462011-06-15 Ulrich Drepper <drepper@gmail.com>
1147
1148 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
1149 need to dereference resplen2.
1150
ee22793d
AS
11512011-06-14 Andreas Schwab <schwab@redhat.com>
1152
1153 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
1154
a9e836b0
UD
11552011-06-15 Ulrich Drepper <drepper@gmail.com>
1156
77fb9117
UD
1157 * Makeconfig: Define vardbdir and inst_vardbdir.
1158 * nss/Makefile: Add rules to install db-Makefile.
1159
40c1b22c
UD
1160 * nss/nss_db/db-XXX.c: Cleanup.
1161
9f2da732
UD
1162 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
1163 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
1164 GLIBC_PRIVATE.
1165 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
1166 * nss/makedb.c: Implement -g option to specify that value strings
1167 are generated and should not be added to table iterated over for
1168 get*ent calls.
1169 * nss/nss_db/db-initgroups.c: New file.
1170
82e9a1f7
UD
1171 * nss/getent.c: Add support for initgroups lookups through getgrouplist
1172 interface.
1173
c41af17e
UD
1174 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
1175 (internal_getgrouplist): Adjust to name change.
1176 Update use_initgroups_entry if this is not the first call.
1177 * nss/databases.def: Add initgroups entry.
1178
a9e836b0
UD
1179 * nss/makedb.c (compute_tables): Check result of multiple hash table
1180 sizes to minimize maximum chain length.
1181
2666d441
UD
11822011-06-14 Ulrich Drepper <drepper@gmail.com>
1183
1184 * Versions.def: Add entry for libnss_db.
1185 * shlib-versions: Likewise.
1186 * nss/Makefile: Add rules to build libnss_db.
1187 * nss/Versions: Add libnss_db information. Organize libnss_files
1188 entries better.
1189 * nss/db-Makefile: Add gshadow support. Change rules for the new
1190 makedb progra. Some minor improvements to generate smaller files.
1191 * nss/nss_db/nss_db.h: Move NSS database header data structures to
1192 here from...
1193 * nss/makedb.c: ...here.
1194 Improve database format to be smaller and require less memory at
1195 runtime.
1196 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
1197 db anymore.
1198 * nss/nss_db/db-netgrp.c: Likewise.
1199 * nss/nss_db/db-open.c: Likewise.
1200 * nss/nss_files/flies-XXX.x: Adjust comments.
1201 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
1202 * nss/nss_files/files-grp.c: Likewise.
1203 * nss/nss_files/files-hosts.c: Likewise.
1204 * nss/nss_files/files-network.c: Likewise.
1205 * nss/nss_files/files-proto.c: Likewise.
1206 * nss/nss_files/files-pwd.c: Likewise.
1207 * nss/nss_files/files-rpc.c: Likewise.
1208 * nss/nss_files/files-service.c: Likewise.
1209 * nss/nss_files/files-sgrp.c: Likewise.
1210 * nss/nss_files/files-spwd.c: Likewise.
1211 * nss/nss_db/db-alias.c: Removed.
1212 * nss/nss_db/dummy-db.h: Removed.
1213
9ee76b5a
UD
12142011-06-02 Ulrich Drepper <drepper@gmail.com>
1215
1216 * nss/makedb.c: Rewritten to not use database library.
1217 * nss/Makefile: Update to build new makedb program.
1218
c71ca1f8
AJ
12192011-06-14 Andreas Jaeger <aj@suse.de>
1220
1221 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
1222 memset declaration.
1223
3154bfb8
UD
12242011-06-10 Andreas Schwab <schwab@redhat.com>
1225
1226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
1227 tmpbuf.
1228
b350afab
RM
12292011-06-10 Roland McGrath <roland@hack.frob.com>
1230
decd4e50
RM
1231 * Makerules (shlib.lds): Fail if the linker script comes out empty.
1232 * elf/Makefile ($(objpfx)ld.so): Likewise.
1233
5615eaf2
RM
1234 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
1235 Don't list ld.so twice in dependencies.
1236
1237 * posix/bug-regex31.c: Include <stdlib.h>.
1238
1239 * nscd/hstcache.c (cache_addhst): Remove unused variable.
1240
1241 * nis/nss_compat/compat-spwd.c
1242 (getspent_next_nss_netgr): Remove unused variable.
1243 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1244
1245 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
1246 nonmembers" output to use the right array.
1247
1248 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
1249
1250 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
1251
1252 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
1253 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
1254 * catgets/gencat.c (read_input_file): Likewise.
1255 * locale/programs/locarchive.c (enlarge_archive): Likewise.
1256
1257 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
1258 variable definition inside #if's controlling its use.
1259
1260 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
1261
1262 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
1263
1264 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
1265
1266 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
1267 unreachable code.
1268
1269 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
1270
b68e08db
RM
1271 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
1272 * configure: Regenerated.
1273
b350afab
RM
1274 * Makerules: Revert last change.
1275 * elf/Makefile: Likewise.
1276
28368601
RM
12772011-06-09 Roland McGrath <roland@hack.frob.com>
1278
1279 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
1280 * elf/Makefile ($(objpfx)librtld.os): Likewise.
1281 (reloc-link): Likewise.
1282
11988f8f
UD
12832011-06-09 Ulrich Drepper <drepper@gmail.com>
1284
1285 * elf/Makefile: Add rules to build pldd.
1286 * elf/pldd.c: New file.
1287 * elf/pldd-xx.c: New file.
1288
e80fab37
UD
12892011-06-07 Ulrich Drepper <drepper@gmail.com>
1290
1291 * version.h: Update for 2.15 development version.
1292
9b849836
DM
12932011-06-07 David S. Miller <davem@davemloft.net>
1294
1295 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
1296 ifuncs.
1297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1298 elf_machine_lazy_rel): Likewise.
1299 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1300 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1301 elf_machine_lazy_rel): Likewise.
1302 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
1303 dl_hwcap via passed in argument.
1304 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
1305 Likewise.
1306
5a31b283
AK
13072011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1308
1309 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
1310
069e52f8
RM
13112011-06-06 Roland McGrath <roland@hack.frob.com>
1312
1313 [BZ #12849]
1314 * manual/fdl-1.1.texi: New file, verbatim from:
1315 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
1316 * manual/lgpl-2.1.texi: New file, verbatim from:
1317 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
1318 * manual/Makefile (licenses): New variable, list those new file names.
1319 (texis): Use it.
1320 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
1321
1322 * manual/fdl.texi: File removed.
1323 * manual/lesser.texi: File removed.
1324 * manual/libc.texinfo (Copying, Documentation License):
1325 Use new @include file names, put @appendix directive before @include.
1326
f16846a5
JJ
13272011-06-04 Jakub Jelinek <jakub@redhat.com>
1328
1329 [BZ #12841]
1330 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
1331 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
1332 (mq_open): Add __NTH.
1333
3d29045b
L
13342011-06-02 H.J. Lu <hongjiu.lu@intel.com>
1335
1336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1337 Assume Intel Core i3/i5/i7 processor if AVX is available.
1338
8c297311
UD
13392011-05-31 Ulrich Drepper <drepper@gmail.com>
1340
1341 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1342 typo.
1343
c8fc0c91
UD
13442011-05-31 Andreas Schwab <schwab@redhat.com>
1345
1346 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
1347 memory. Use alloca_account. Fix memory leak when retrying.
1348
5b27a807
UD
13492011-05-31 Ulrich Drepper <drepper@gmail.com>
1350
356f8bc6
UD
1351 * version.h (RELEASE): Bump for 2.14 release.
1352 * include/features.h (__GLIBC_MINOR__): Bump to 14.
1353
5b27a807
UD
1354 * config.make.in (RANLIB): Remove entry.
1355
01f16ab0
UD
13562011-05-30 Ulrich Drepper <drepper@gmail.com>
1357
41fce8bd
UD
1358 * po/Makefile (po-sed-cmd): Add ksh to extensions.
1359 (libc.pot): Work around missing support for .ksh extension in xgettext.
1360
4769ae77
UD
1361 [BZ #12684]
1362 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
1363 if both request failed.
1364 (send_dg): In case of server errors clear resplen or *resplen2.
1365
6b1e7d19
UD
1366 [BZ #12454]
1367 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
1368 when there are multiple maps.
1369 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
1370 (_dl_fini): Remove test here.
1371
01f16ab0
UD
1372 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
1373
b1ebd700
UD
13742011-05-29 Ulrich Drepper <drepper@gmail.com>
1375
7ae22829
UD
1376 [BZ #12350]
1377 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
1378 bit from old_res_options.
1379 (gaih_inet): Likewise.
1380
553149f6 1381 [BZ #11099]
18a84741 1382 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
1383 as signed.
1384
652ffab1
UD
1385 * resolv/res_init.c (res_setoptions): Make the code more compact.
1386
16985fd0
UD
1387 [BZ #11558]
1388 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
1389 set RES_USEVC.
1390
0464f746
UD
1391 [BZ #11634]
1392 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
1393
7d17596c
UD
1394 * malloc/malloc.h: Mark malloc hook variables as deprecated.
1395
cf6bbbd7
UD
1396 [BZ #11781]
1397 * malloc/malloc.h: Declare malloc hook variables as volatile.
1398
13f1ab36
UD
1399 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
1400 in last patch.
1401
b1ebd700
UD
1402 [BZ #11799]
1403 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 1404 raise in the comment.
80e2212d
UD
1405 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1406 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1407 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 1408
ce67228d
UD
14092011-05-28 Ulrich Drepper <drepper@gmail.com>
1410
8887a920
UD
1411 [BZ #12811]
1412 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
1413 grow the buffers more if it already has to be sufficient.
1414 (build_wcs_upper_buffer): Likewise.
1415 * posix/regexec.c (check_matching): Likewise.
1416 (clean_state_log_if_needed): Likewise.
1417 (extend_buffers): Don't enlarge buffers beyond size of the input
1418 buffer.
1419 Patches mostly by Emil Wojak <emil@wojak.eu>.
1420 * posix/bug-regex32.c: New file.
1421 * posix/Makefile (tests): Add bug-regex32.
1422
4f031072
UD
1423 * locale/findlocale.c (_nl_find_locale): Return right away if
1424 _nl_explode_name failed.
1425 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1426
d0478f0c
UD
1427 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
1428
de81b246
UD
1429 * debug/xtrace.sh: Unify messages.
1430 * malloc/memusage.sh: Likewise.
1431
c738465a
UD
1432 [BZ #12813]
1433 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
1434 time symbol from vDSO. Substitute with vsyscall if not available.
1435 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
1436 __vdso_time.
1437
f1f929d7
UD
1438 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
1439 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
1440 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
1441 Add sendmmsg and internal_sendmmsg.
1442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
1443 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
1444 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
1445
ce67228d
UD
1446 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
1447 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
1448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
1449
e57420c6
UD
14502011-05-27 Ulrich Drepper <drepper@gmail.com>
1451
a8509ca5
UD
1452 [BZ #12813]
1453 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
1454 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
1455 available.
1456 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
1457 __vdso_getcpu.
1458
e57420c6
UD
1459 [BZ #12814]
1460 * iconvdata/Makefile (tests): Add bug-iconv9.
1461 * iconvdata/bug-iconv9.c: New file.
1462
4d07db15
AS
14632011-05-27 Andreas Schwab <schwab@redhat.com>
1464
1465 [BZ #12814]
1466 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
1467
ea486f69
JJ
14682011-05-25 Jakub Jelinek <jakub@redhat.com>
1469
1470 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1471 (struct user_regs_struct): Change intcs field back to cs.
1472
6f038433
UD
14732011-05-25 Ulrich Drepper <drepper@gmail.com>
1474
1475 * po/ja.po: Update from translation team.
1476
67f86a25
UD
14772011-05-23 Ulrich Drepper <drepper@gmail.com>
1478
1479 [BZ #12795]
1480 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
1481 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1482
def7fbd6
AS
14832011-05-20 Andreas Schwab <schwab@redhat.com>
1484
1485 * stdlib/longlong.h: Update from GCC.
1486
f50ef8f1
AS
14872011-05-23 Andreas Schwab <schwab@redhat.com>
1488
1489 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
1490 parameter name.
1491 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
1492 Add parameter name.
1493 (__sysconf): Pass it down.
1494
de7ce8f1
UD
14952011-05-22 Ulrich Drepper <drepper@gmail.com>
1496
f2962a71
UD
1497 [BZ #12671]
1498 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
1499 some situations.
1500 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1501 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
1502 add in in __libc_use_alloca calls. Adjust callers.
1503 (glob): Use malloc in some situations.
1504
de7ce8f1
UD
1505 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
1506 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
1507 pltexit.
1508
aec84f53
UD
15092011-05-21 Ulrich Drepper <drepper@gmail.com>
1510
05bb4a68
UD
1511 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
1512 and CLOCK_BOOTTIME_ALARM.
1513
7ea72f99
UD
1514 [BZ #12782]
1515 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
1516 is returned.
1517
7e4afad5
UD
1518 * string/_strerror.c (__strerror_r): Print negative errors as signed
1519 numbers.
1520
8e211fec
UD
1521 [BZ #12777]
1522 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
1523 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
1524 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
1525
f7d82dc9
UD
1526 * configure.in: Fix typo in redirection and correct removal of test
1527 files in two cases.
1528
cc9e536d
UD
1529 [BZ #12788]
1530 * locale/setlocale.c (new_composite_name): Fix test to check for
1531 identical name of all categories.
1532
aec84f53
UD
1533 [BZ #12792]
1534 * libio/filedoalloc.c (local_isatty): New function.
1535 (_IO_file_doallocate): Use local_isatty.
1536 * stdio-common/perror.c (perror): In case a new stream is used
1537 forward the stream error.
1538 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
1539 error flag.
1540
78e64fdc
RT
15412011-05-20 Ulrich Drepper <drepper@gmail.com>
1542
34a9094f
UD
1543 [BZ #11869]
1544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
1545 alloca.
1546 * include/alloca.h (extend_alloca_account): Define.
1547
78e64fdc
RT
1548 [BZ #11857]
1549 * posix/regex.h: Fix comments with documentation of user-accessible
1550 fields after compilation and describe correct free'ing of pattern
1551 after re_compile_pattern.
1552 Patch by Reuben Thomas <rrt@sc3d.org>.
1553
457bddfc
RA
15542011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
1555
1556 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
1557 and -mno-altivec to prevent the compiler from using Altivec and/or
1558 VSX instructions when the corresponding registers are not available.
1559
a4527b51
AS
15602011-05-19 Andreas Schwab <schwab@redhat.com>
1561
1562 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
1563
ed690b2f
UD
15642011-05-19 Ulrich Drepper <drepper@gmail.com>
1565
1566 * libio/freopen.c (freopen): Use __dup2, not dup2.
1567 * libio/freopen64.c (freopen64): Likewise.
1568
8db73634
L
15692011-05-17 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 [BZ #12775]
1572 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
1573 * math/Makefile (tests): Add test-powl.
1574 (CFLAGS-test-powl.c): Define.
1575 * math/test-powl.c: New file.
1576
0a197a9d
L
15772011-05-16 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
1580
ee30c380
UD
15812011-05-17 Ulrich Drepper <drepper@gmail.com>
1582
1583 [BZ #11837]
1584 * iconvdata/gb18030.c: Update to GB18020-2005.
1585
6ce75379
UD
15862011-05-16 Ulrich Drepper <drepper@gmail.com>
1587
a4b89fd8
AR
1588 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
1589 RE_SYNTAX_POSIX_AWK): Update to match recent development.
1590 Patch by Aharon Robbins <arnold@skeeve.com>.
1591
ea389b12
UD
1592 [BZ #11892]
1593 * stdlib/putenv.c (putenv): Don't always create copy of the variable
1594 on the stack.
1595
68a3f91f
UD
1596 [BZ #11895]
1597 * misc/pselect.c (__pselect): Handle timeout value errors hidden
1598 through underflows.
1599
15cc7dd1
UD
1600 [BZ #12766]
1601 * misc/error.c (error_at_line): Ensure file_name and old_file_name
1602 point to strings before performing equality test for error_one_per_line
1603 mode.
1604
f3799213
UD
1605 [BZ #11697]
1606 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
1607
d79a9c94
UD
1608 [BZ #11820]
1609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1610 (struct user_fpregs_struct): Avoid __uint*_t types.
1611
56e5eb46
UD
1612 [BZ #6420]
1613 * malloc/mtrace.c (tr_where): Add additional parameter to point to
1614 symbol info. Use it instead of calling _dl_addr locally.
1615 (lock_and_info): New function.
1616 (tr_freehook): Call lock_and_info and pass symbol info as additional
1617 parameter to tr_where.
1618 (tr_mallochook): Likewise.
1619 (tr_reallochook): Likewise.
1620 (tr_memalignhook): Likewise.
1621
6ce75379
UD
1622 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
1623 used and couldn't be at all thread-safe.
1624
f8a3b5bf
UD
16252011-05-15 Ulrich Drepper <drepper@gmail.com>
1626
94b7cc37
UD
1627 * libio/freopen.c (freopen): Don't close old file descriptor
1628 before the new one is opened. Instead dup the new file descriptor
1629 to the old one after the new stream is created.
1630 * libio/freopen64.c (freopen64): Likewise.
1631 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
1632 * libio/fileops.c (_IO_new_file_close_it): Handle new
1633 _IO_FLAGS2_NOCLOSE flag.
1634 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
1635 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
1636 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
1637 _IO_FLAGS2_NOCLOSE flag.
1638 * include/unistd.h: Add hidden_proto for dup3.
1639 Define __have_dup3.
1640 * io/dup3.c: Define hidden symbol.
1641 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
1642
bd25564e
UD
1643 [BZ #7101]
1644 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
1645 when an incomplete long option is used.
1646 * posix/tst-getopt_long1.c: New file.
1647 * posix/Makefile (tests): Add tst-getopt_long1.
1648
c84cfef4
UD
1649 [BZ #10138]
1650 * scripts/config.guess: Update from autoconf-2.68.
1651 * scripts/config.sub: Likewise.
1652
3b85df27
UD
1653 [BZ #10157]
1654 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
1655 tests into ...
1656 (has_cpuclock): ...this. New function.
1657 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
1658 macro here based on has_cpuclock code.
1659
15a856b1
UD
1660 [BZ #10149]
1661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1662 First byte (not low byte) is now always NUL.
1663 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
1664
05f399e6
UD
1665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1666 Use non-cancelable interfaces.
1667
10a52685 1668 [BZ #9809]
94ecc67d
UD
1669 * locale/iso-639.def: Add entry for Sorani.
1670
f8a3b5bf
UD
1671 [BZ #11901]
1672 * include/stdlib.h: Move include protection to the right place.
1673 Define abort_msg_s. Declare __abort_msg with it.
1674 * stdlib/abort.c (__abort_msg): Adjust type.
1675 * assert/assert.c (__assert_fail_base): New function. Majority
1676 of code from __assert_fail. Allocate memory for __abort_msg with
1677 mmap.
1678 (__assert_fail): Now call __assert_fail_base.
1679 * assert/assert-perr.c: Remove bulk of implementation. Use
1680 __assert_fail_base.
1681 * include/assert.hL Declare __assert_fail_base.
1682 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
1683 mmap.
1684 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
1685
1af4e298
UD
16862011-05-14 Ulrich Drepper <drepper@gmail.com>
1687
f8a3b5bf 1688 [BZ #11952]
d26dfc60
MG
1689 [BZ #12453]
1690 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
1691 until all modules are registered in the DTV.
1692 * elf/Makefile: Add rules to build and run tst-tls19.
1693 * elf/tst-tls19.c: New file.
1694 * elf/tst-tls19mod1.c: New file.
1695 * elf/tst-tls19mod2.c: New file.
1696 * elf/tst-tls19mod3.c: New file.
1697 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
1698
2fc54d6f
UD
1699 [BZ #12083]
1700 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
1701 correctly.
1702
98d76b46
UD
1703 [BZ #12601]
1704 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
1705 two-byte sequence errors.
1706 * iconvdata/Makefile (tests): Add bug-iconv8.
1707 * iconvdata/bug-iconv8.c: New file.
1708
da3c19ef
UD
1709 [BZ #12626]
1710 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
1711 buf2 definition.
1712
ca408c15
UD
1713 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
1714
d6f67f7d
UD
1715 [BZ #12432]
1716 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
1717 (dummy_getcfa): New function.
1718 (init): Get _Unwind_GetCFA address, use dummy if not found.
1719 (backtrace_helper): In recursion check, also check whether CFA changes.
1720 (__backtrace): Completely initialize arg.
1721
1af4e298 1722 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
1723 storing incomplete byte sequence in state object. Avoid testing for
1724 guaranteed too small input if we know there is enough data available.
1af4e298 1725
da62f81b
AS
17262011-05-11 Andreas Schwab <schwab@redhat.com>
1727
1728 * Makeconfig (+link-pie): Indent.
1729 * Rules (binaries-pie): Define if $(have-fpie) and
1730 $(build-shared).
1731 (binaries-shared): Also filter out $(binaries-pie).
1732 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
1733 * nscd/Makefile (others-pie): Add nscd.
1734 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
1735 ($(objpfx)nscd): Remove command override.
1736 * login/Makefile (others-pie): Add pt_chown.
1737 ($(objpfx)pt_chown): Remove command override.
1738 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
1739 remove command overrides.
1740
fcabc0f8
UD
17412011-05-13 Ulrich Drepper <drepper@gmail.com>
1742
20030ae6
UD
1743 * libio/tst_putwc.c: Fix error messages.
1744
fcabc0f8
UD
1745 [BZ #12724]
1746 * libio/fileops.c (_IO_new_file_close_it): Always flush when
1747 currently writing and seek to current position when not.
1748 * libio/Makefile (tests): Add bug-fclose1.
1749 * libio/bug-fclose1.c: New file.
1750
320a5dc0
PB
17512011-05-12 Ulrich Drepper <drepper@gmail.com>
1752
1753 [BZ #12511]
1754 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
1755 don't set DF_1_NODELETE here.
1756 (do_lookup_x): When entering new entry test for copy relocation
1757 and if necessary set DF_1_NODELETE flag.
1758 * elf/tst-unique4.cc: New file.
1759 * elf/tst-unique4.h: New file.
1760 * elf/tst-unique4lib.cc: New file.
1761 * elf/Makefile: Add rules to build and run tst-unique4.
1762 Patch by Piotr Bury <pbury@goahead.com>.
1763
22836f52
UD
17642011-05-11 Ulrich Drepper <drepper@gmail.com>
1765
f574184a
UD
1766 [BZ #12052]
1767 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
1768
e1fb097f
UD
1769 [BZ #12625]
1770 * misc/mntent_r.c (addmntent): Flush the stream after the output
1771
22836f52
UD
1772 [BZ #12393]
1773 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
1774 (is_trusted_path_normalize): Skip initial colon. Append slash
1775 to empty buffer. Duplicate is_trusted_path code but allow
1776 constructed patch to be prefix.
1777 (is_dst): Allow $ORIGIN followed by /.
1778 (_dl_dst_substitute): Correct clearing of check_for_trusted.
1779 Correct testing of result of is_trusted_path_normalize
1780 (decompose_rpath): Fix warning.
1781
7b3b0b2a
UD
17822011-05-10 Ulrich Drepper <drepper@gmail.com>
1783
1784 [BZ #11257]
1785 * grp/initgroups.c (internal_getgrouplist): When we found the service
1786 list through the initgroups entry in nsswitch.conf do not always
1787 continue on a successful lookup. Don't always use the
eac80ce2 1788 __nss_group_database value if it is set.
7b3b0b2a
UD
1789 * nss/nsswitch.conf (initgroups): Change action for successful db
1790 lookup to continue for compatibility.
1791
2a81eaa5
UD
17922011-05-09 Ulrich Drepper <drepper@gmail.com>
1793
be97a69e
UD
1794 [BZ #11532]
1795 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
1796 and CP774 modules.
1797 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
1798 and CP774 modules.
1799 * iconvdata/tst-tables.sh: Likewise.
1800 * iconvdata/cp770.c: New file.
1801 * iconvdata/cp771.c: New file.
1802 * iconvdata/cp772.c: New file.
1803 * iconvdata/cp773.c: New file.
1804 * iconvdata/cp774.c: New file.
1805 * iconvdata/testdata/CP770: New file.
1806 * iconvdata/testdata/CP770..UTF8: New file.
1807 * iconvdata/testdata/CP771: New file.
1808 * iconvdata/testdata/CP771..UTF8: New file.
1809 * iconvdata/testdata/CP772: New file.
1810 * iconvdata/testdata/CP772..UTF8: New file.
1811 * iconvdata/testdata/CP773: New file.
1812 * iconvdata/testdata/CP773..UTF8: New file.
1813 * iconvdata/testdata/CP774: New file.
1814 * iconvdata/testdata/CP774..UTF8: New file.
1815
1816 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
1817 END CHARMAP line.
1818 * iconvdata/gen-8bit-gap.sh: Likewise.
1819 * iconvdata/gen-8bit.sh: Likewise.
1820
c1e9e399
UD
1821 * locale/iso-639.def: Add ary entry.
1822
24c55fb3 1823 [BZ #11258]
96b4b1b0
UD
1824 * locale/C-translit.h.in: Add U20A1 transliteration.
1825
bdc2f971
KB
1826 [BZ #12178]
1827 * locale/iso-639.def: Add wae entry.
1828 Patch by Kevin Bortis <bortis@translate-wae.ch>.
1829
2952b117
UD
1830 [BZ #12545]
1831 * locale/programs/localedef.c (construct_output_path): Use ssize_t
1832 for n.
1833
2a81eaa5
UD
1834 [BZ #12711]
1835 * locale/C-translit.h.in: Add entry for U20B9.
1836 Patch by pravin.d.s@gmail.com.
1837
28377d1b
UD
18382011-05-08 Ulrich Drepper <drepper@gmail.com>
1839
7fb90fb8
UD
1840 [BZ #12713]
1841 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
1842 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
1843 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
1844 in rtld. Use *stat64.
7fb90fb8 1845 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 1846 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 1847 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
1848 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
1849 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
1850 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
1851 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
1852 __fstatat64 macros.
7fb90fb8
UD
1853 * include/dirent.h: Add libc_hidden_proto for rewinddir.
1854 * dirent/rewinddir.c: Add libc_hidden_def.
1855 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 1856 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 1857
28377d1b
UD
1858 * include/dirent.h (__alloc_dir): Add flags parameter.
1859 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
1860 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
1861 __alloc_dir.
1862 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
1863 from fdopendir if O_CLOEXEC is already set.
1864
66bdbaa4
AM
18652011-03-15 Alan Modra <amodra@gmail.com>
1866
1867 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
1868 l_tls_firstbyte_offset non-zero. Save padding offset in
1869 l_tls_firstbyte_offset for later use.
1870 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
1871 freeing static tls block.
1872
95721191
JN
18732011-03-05 Jonathan Nieder <jrnieder@gmail.com>
1874
1875 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
1876 where #ifdef was intended. The intent is to prevent ARG_MAX from
1877 being defined by the kernel headers.
1878
f87dfb1f
UD
18792011-05-07 Ulrich Drepper <drepper@gmail.com>
1880
1881 [BZ #12734]
1882 * resolv/resolv.h: Define RES_NOTLDQUERY.
1883 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
1884 no-tld-query and set RES_NOTLDQUERY.
1885 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
1886 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
1887 modern BIND to search name as TLD unless forbidden.
1888
47c3cd7a
UD
18892011-05-07 Petr Baudis <pasky@suse.cz>
1890 Ulrich Drepper <drepper@gmail.com>
1891
1892 [BZ #12393]
1893 * elf/dl-load.c (fillin_rpath): Move trusted path check...
1894 (is_trusted_path): ...to here.
c1e9ea35 1895 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 1896 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 1897 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 1898
8a35c912
PP
18992011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1900
1901 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
1902 __BEGIN/__END_DECLS.
1903
acd41f47
UD
19042011-05-06 Ulrich Drepper <drepper@gmail.com>
1905
1906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
1907 NSS_STATUS_NOTFOUND if no record was found.
1908
597df647
AS
19092011-05-05 Andreas Schwab <schwab@redhat.com>
1910
1911 * sunrpc/Makefile (headers): Add rpc/netdb.h.
1912 (headers-not-in-tirpc): Remove rpc/netdb.h
1913 * resolv/netdb.h: Revert last change.
1914
b9af1301
PP
19152011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1916
1917 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
1918 circular dependency between libgcc.a and libc.a.
1919
4e34d5f5
AS
19202011-05-05 Andreas Schwab <schwab@redhat.com>
1921
1922 * resolv/netdb.h: Don't include <rpc/netdb.h>.
1923 * nis/Makefile: Don't install rpcsvc/*.
1924 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
1925 instead of <rpc/types.h>.
1926 (MAXHOSTNAMELEN): Define.
1927
00ee369c
AS
19282011-05-03 Andreas Schwab <schwab@redhat.com>
1929
1930 * elf/ldconfig.c (add_dir): Don't crash on empty path.
1931
0b592a30
MB
19322011-04-28 Maciej Babinski <mbabinski@google.com>
1933
1934 [BZ #12714]
1935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
1936 gethostbyname4_r when IPv6 results are possible.
1937
6e04cbbe
UD
19382011-05-02 Ulrich Drepper <drepper@gmail.com>
1939
1940 [BZ #12723]
1941 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
1942 _PC_PIPE_BUF handling.
1943
e4ecafe0
BH
19442011-04-30 Bruno Haible <bruno@clisp.org>
1945
1946 [BZ #12717]
1947 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
1948 * resolv/netdb.h (getnameinfo): Change type of flags parameter
1949 to 'int'.
1950 * inet/getnameinfo.c (getnameinfo): Likewise.
1951
125ee683
UD
19522011-04-29 Ulrich Drepper <drepper@gmail.com>
1953
1954 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
1955 to groups setting in database lookup.
1956 * nss/nsswitch.conf: Add initgroups entry.
1957
b722481a
EB
19582011-04-22 Ulrich Drepper <drepper@gmail.com>
1959
1960 [BZ #12685]
1961 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
1962 mode string.
1963 Patch by Eric Blake <eblake@redhat.com>.
1964
4df46dbd
L
19652011-04-20 H.J. Lu <hongjiu.lu@intel.com>
1966
1967 * sunrpc/Makefile (need-export-routines): Add svc_run.
1968 (routines): Remove svc_run.
1969 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
1970 * sunrpc/clnt_perr.c (clnt_perrno): Export.
1971 * sunrpc/svc_run.c (svc_run): Likewise.
1972 * sunrpc/svc_udp.c (svcudp_create): Likewise.
1973
e84142d2
UD
19742011-04-21 Ulrich Drepper <drepper@gmail.com>
1975
1976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
1977 problem in reallocation in last patch.
1978
877175d8
UD
19792011-04-20 Ulrich Drepper <drepper@gmail.com>
1980
1981 * sunrpc/Makefile: Move inclusion of Rules.
1982
ab8eed78
UD
19832011-04-19 Ulrich Drepper <drepper@gmail.com>
1984
1985 * nss/nss_files/files-initgroups.c: New file.
1986 * nss/Makefile (libnss_files-routines): Add files-initgroups.
1987 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
1988 _nss_files_initgroups_dyn.
1989
e3d8f584
RS
19902011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
1991
1992 * elf/elf.h (R_ARM_IRELATIVE): Define.
1993
af190f45
UD
19942011-04-19 Ulrich Drepper <drepper@gmail.com>
1995
1996 * po/ru.po: Update from translation team.
1997
53cf59ef
UD
19982011-04-17 Ulrich Drepper <drepper@gmail.com>
1999
2000 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
2001 dependencies.
2002
4c559bcd
MF
20032011-02-06 Mike Frysinger <vapier@gentoo.org>
2004
2005 [BZ #12653]
2006 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
2007 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
2008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2009 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2011
4420675c
AS
20122011-03-28 Andreas Schwab <schwab@linux-m68k.org>
2013
2014 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
2015 differing bytes.
2016 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2017 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2018 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2019
75ea32ab
UD
20202011-04-17 Ulrich Drepper <drepper@gmail.com>
2021
2022 [BZ #12420]
2023 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
2024 storing it.
2025 * stdlib/bug-getcontext.c: New file.
2026 * stdlib/Makefile: Add rules to build and run bug-getcontext.
2027
27390476
AK
20282011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2029
2030 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
2031 instructions into .machine "z9-109".
2032 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2033 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2034
10442705
AK
20352011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2036
2037 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
2038 between environment variables and auxiliary vector.
2039
7b57bfe5
UD
20402011-04-16 Ulrich Drepper <drepper@gmail.com>
2041
2042 * Makefile: Add rules to build linkobj/libc.so.
2043 * include/libc-symbols.h: Define libc_hidden_nolink.
2044 * include/rpc/auth.h: Mark functions which are to be hidden.
2045 * include/rpc/auth_des.h: Likewise.
2046 * include/rpc/auth_unix.h: Likewise.
2047 * include/rpc/clnt.h: Likewise.
2048 * include/rpc/des_crypt.h: Likewise.
2049 * include/rpc/key_prot.h: Likewise.
2050 * include/rpc/pmap_clnt.h: Likewise.
2051 * include/rpc/pmap_prot.h: Likewise.
2052 * include/rpc/pmap_rmt.h: Likewise.
2053 * include/rpc/rpc_msg.h: Likewise.
2054 * include/rpc/svc.h: Likewise.
2055 * include/rpc/svc_auth.h: Likewise.
2056 * include/rpc/xdr.h: Likewise.
2057 * nis/Makefile: Link all DSOs against linkobj/libc.so.
2058 * nss/Makefile: Likewise.
2059 * sunrpc/Makefile: Don't install headers. Build library with normal
2060 entry points. Don't build rpcinfo. Link RPC tests appropriately.
2061 * sunrpc/auth_des.c: Hide exported symbols by default, export some
2062 for the compat linking library. Remove use of INTDEF/INTUSE.
2063 * sunrpc/auth_none.c: Likewise.
2064 * sunrpc/auth_unix.c: Likewise.
2065 * sunrpc/authdes_prot.c: Likewise.
2066 * sunrpc/authuxprot.c: Likewise.
2067 * sunrpc/clnt_gen.c: Likewise.
2068 * sunrpc/clnt_perr.c: Likewise.
2069 * sunrpc/clnt_raw.c: Likewise.
2070 * sunrpc/clnt_simp.c: Likewise.
2071 * sunrpc/clnt_tcp.c: Likewise.
2072 * sunrpc/clnt_udp.c: Likewise.
2073 * sunrpc/clnt_unix.c: Likewise.
2074 * sunrpc/des_crypt.c: Likewise.
2075 * sunrpc/des_soft.c: Likewise.
2076 * sunrpc/get_myaddr.c: Likewise.
2077 * sunrpc/key_call.c: Likewise.
2078 * sunrpc/key_prot.c: Likewise.
2079 * sunrpc/netname.c: Likewise.
2080 * sunrpc/pm_getmaps.c: Likewise.
2081 * sunrpc/pm_getport.c: Likewise.
2082 * sunrpc/pmap_clnt.c: Likewise.
2083 * sunrpc/pmap_prot.c: Likewise.
2084 * sunrpc/pmap_prot2.c: Likewise.
2085 * sunrpc/pmap_rmt.c: Likewise.
2086 * sunrpc/publickey.c: Likewise.
2087 * sunrpc/rpc_cmsg.c: Likewise.
2088 * sunrpc/rpc_common.c: Likewise.
2089 * sunrpc/rpc_dtable.c: Likewise.
2090 * sunrpc/rpc_prot.c: Likewise.
2091 * sunrpc/rpc_thread.c: Likewise.
2092 * sunrpc/rtime.c: Likewise.
2093 * sunrpc/svc.c: Likewise.
2094 * sunrpc/svc_auth.c: Likewise.
2095 * sunrpc/svc_authux.c: Likewise.
2096 * sunrpc/svc_raw.c: Likewise.
2097 * sunrpc/svc_run.c: Likewise.
2098 * sunrpc/svc_simple.c: Likewise.
2099 * sunrpc/svc_tcp.c: Likewise.
2100 * sunrpc/svc_udp.c: Likewise.
2101 * sunrpc/svc_unix.c: Likewise.
2102 * sunrpc/svcauth_des.c: Likewise.
2103 * sunrpc/xcrypt.c: Likewise.
2104 * sunrpc/xdr.c: Likewise.
2105 * sunrpc/xdr_array.c: Likewise.
2106 * sunrpc/xdr_float.c: Likewise.
2107 * sunrpc/xdr_intXX_t.c: Likewise.
2108 * sunrpc/xdr_mem.c: Likewise.
2109 * sunrpc/xdr_rec.c: Likewise.
2110 * sunrpc/xdr_ref.c: Likewise.
2111 * sunrpc/xdr_sizeof.c: Likewise.
2112 * sunrpc/xdr_stdio.c: Likewise.
2113
e6c61494
UD
21142011-04-10 Ulrich Drepper <drepper@gmail.com>
2115
2116 [BZ #12650]
2117 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
2118 * sysdeps/ia64/dl-tls.h: Likewise.
2119 * sysdeps/powerpc/dl-tls.h: Likewise.
2120 * sysdeps/s390/dl-tls.h: Likewise.
2121 * sysdeps/sh/dl-tls.h: Likewise.
2122 * sysdeps/sparc/dl-tls.h: Likewise.
2123 * sysdeps/x86_64/dl-tls.h: Likewise.
2124 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
2125
34fe483e
AS
21262011-03-14 Andreas Schwab <schwab@redhat.com>
2127
2128 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
2129 rpath element also skip the following colon.
2130 (expand_dynamic_string_token): Add is_path parameter and pass
2131 down to DL_DST_REQUIRED and _dl_dst_substitute.
2132 (decompose_rpath): Call expand_dynamic_string_token with
2133 non-zero is_path. Ignore empty rpaths.
2134 (_dl_map_object_from_fd): Call expand_dynamic_string_token
2135 with zero is_path.
2136
f12a32e6
AS
21372011-04-08 Andreas Schwab <schwab@linux-m68k.org>
2138
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2140 Make cancelable.
2141
38a7d692
UD
21422011-04-09 Ulrich Drepper <drepper@gmail.com>
2143
2144 [BZ #12655]
2145 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
2146 Patch by Filipe David Manana <fdmanana@apache.org>.
2147
e451d22b
AS
21482011-04-07 Andreas Schwab <schwab@redhat.com>
2149
2150 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
2151 Maintain aligned stack.
2152 (CHECK_RSP): Remove unused macro.
2153
dedc7c7b
UD
21542011-04-03 Ulrich Drepper <drepper@gmail.com>
2155
2156 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
2157 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2158
94521213
UD
21592011-04-02 Ulrich Drepper <drepper@gmail.com>
2160
2161 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
2162
8cb700c0 2163 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 2164
0354e355
L
21652011-03-26 H.J. Lu <hongjiu.lu@intel.com>
2166
2167 [BZ #12518]
2168 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
2169 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
2170 * sysdeps/x86_64/memmove.c: New file.
2171 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
2172 (memcpy): Renamed to ...
2173 (__new_memcpy): This.
2174 (memcpy): Provide GLIBC_2_14 memcpy.
2175 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
2176 (memcpy): Provide GLIBC_2_2_5 memcpy.
2177
8593482f
UD
21782011-04-01 Ulrich Drepper <drepper@gmail.com>
2179
2180 [BZ #12631]
2181 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
2182
81a5726b
AS
21832011-03-30 Andreas Schwab <schwab@redhat.com>
2184
2185 * misc/syncfs.c: New file.
2186 * misc/Makefile (routines): Add syncfs.
2187 * posix/unistd.h: Declare syncfs.
2188 * sysdeps/unix/syscalls.list: Add syncfs.
2189
00e5419f
AS
21902011-04-01 Andreas Schwab <schwab@redhat.com>
2191
2192 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
2193 open_by_handle_at.
2194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2195 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2197 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2199 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2200 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2201
748876bf
UD
22022011-04-01 Ulrich Drepper <drepper@gmail.com>
2203
658e451d
UD
2204 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
2205 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
2207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2208 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2211
748876bf
UD
2212 * io/Makefile: Compile fallocate.c, fallocate64.c, and
2213 sync_file_range.c with -fexceptions.
2214 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
2215 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
2216 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2217 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2218 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2219 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
2221 sync_file_range as cancellation point
2222 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
2223 now a wrapper around __call_sync_file_range with cancellation handling.
2224 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
2225 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
2226 function name to __call_sync_file_range.
2227 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
2228 Add call_sync_file_range.
748876bf 2229
6e63d5e1
AS
22302011-04-01 Andreas Schwab <schwab@redhat.com>
2231
2232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 2233 bits/timex.h.
6e63d5e1 2234
46998f74
UD
22352011-04-01 Ulrich Drepper <drepper@gmail.com>
2236
4c1423ed
UD
2237 * iconv/iconv.h: Fix typo in comment.
2238 * io/fcntl.h: Likewise.
2239 * libio/stdio.h: Likewise.
2240 * posix/spawn.h: Likewise.
2241 * posix/unistd.h: Likewise.
2242 * stdlib/stdlib.h: Likewise.
2243 * time/time.h: Likewise.
2244 * wcsmbs/wchar.h: Likewise.
2245
158648c0
UD
2246 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
2247 open_by_handle): Add.
2248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
2249 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
2250 Augment a few comments.
2251 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2253 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2256 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
2257 open_by_handle.
2258
46998f74
UD
2259 * io/fcntl.h (AT_EMPTY_PATH): Define.
2260
83fe108b
UD
22612011-03-30 Ulrich Drepper <drepper@gmail.com>
2262
2263 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
2264 * sysdeps/unix/sysv/linux/bits/time.h: New file.
2265 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
2266 to...
2267 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
2268 * Versions.def: Add GLIBC_2.14.
2269 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
2270 Export.
83fe108b 2271
bb242059
UD
22722011-03-22 Ulrich Drepper <drepper@gmail.com>
2273
2274 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
2275 round counter.
2276 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2277
c97a1282
L
22782011-03-20 H.J. Lu <hongjiu.lu@intel.com>
2279
2280 [BZ #12597]
2281 * string/test-strncmp.c (do_page_test): New function.
2282 (check2): Likewise.
2283 (test_main): Call check2.
2284 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
2285
2a115601
UD
22862011-03-20 Ulrich Drepper <drepper@gmail.com>
2287
2288 [BZ #12587]
2289 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
2290 Handle cache information in CPU leaf 4.
2291 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2292
8126d904
UD
22932011-03-18 Ulrich Drepper <drepper@gmail.com>
2294
042c49c6 2295 [BZ #12583]
8126d904
UD
2296 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
2297 character representation.
2298 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
2299
ccfe366e
RA
23002011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
2301
2302 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
2303 END(__isnan) to END(__isnanf) to match function entry point/label
2304 EALIGN(__isnanf,...).
2305
c6e13027
JJ
23062011-03-10 Jakub Jelinek <jakub@redhat.com>
2307
2308 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
2309
33f85a3f
UD
23102011-03-10 Ulrich Drepper <drepper@gmail.com>
2311
028478fa
UD
2312 [BZ #12510]
2313 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
2314 copy from the symbol referenced in the relocation to initialize the
2315 used variable.
2316 Patch by Piotr Bury <pbury@goahead.com>.
2317 * elf/Makefile: Add rules to build and tst-unique3.
2318 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
2319 * elf/tst-unique3.cc: New file.
2320 * elf/tst-unique3.h: New file.
2321 * elf/tst-unique3lib.cc: New file.
2322 * elf/tst-unique3lib2.cc: New file.
2323
33f85a3f
UD
2324 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
2325
03592fc7
MF
23262011-03-10 Mike Frysinger <vapier@gentoo.org>
2327
2328 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
2329 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
2330 to _start.
03592fc7 2331
6a5ee102
UD
23322011-03-06 Ulrich Drepper <drepper@gmail.com>
2333
2334 * elf/dl-load.c (_dl_map_object): If we are looking for the first
2335 to-be-loaded object along a path to loader is ld.so.
2336
7e4ba49c
HJ
23372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2338 Ulrich Drepper <drepper@gmail.com>
2339
2340 * sysdeps/x86_64/memset.S: After aligning destination, code
2341 branches to different locations depending on the value of
2342 misalignment, when multiarch is enabled. Fix this.
2343
23442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2345
2346 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
2347 Set _x86_64_preferred_memory_instruction for AMD processsors.
2348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2349 Set bit_Prefer_SSE_for_memop for AMD processors.
2350
13a804de
UD
23512011-03-04 Ulrich Drepper <drepper@gmail.com>
2352
2353 * libio/fmemopen.c (fmemopen): Optimize a bit.
2354
9d25c392
AS
23552011-03-03 Andreas Schwab <schwab@redhat.com>
2356
2357 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
2358
a5543c6a
RM
23592011-03-03 Roland McGrath <roland@redhat.com>
2360
2361 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
2362
012d35f7
DM
23632011-02-28 Aurelien Jarno <aurelien@aurel32.net>
2364
7e4ba49c 2365 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
2366 __bzero_ultra1 instead of __memset_ultra1.
2367
4bff6e01
AS
23682011-02-23 Andreas Schwab <schwab@redhat.com>
2369 Ulrich Drepper <drepper@gmail.com>
2370
2371 [BZ #12509]
2372 * include/link.h (struct link_map): Add l_orig_initfini.
2373 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
2374 returning unsuccessfully.
2375 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
2376 close of a file loaded at startup, restore the original l_initfini
2377 list.
2378 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
2379 list, store the pointer.
2380 * elf/Makefile ($(objpfx)noload-mem): New rule.
2381 (noload-ENV): Define.
2382 (tests): Add $(objpfx)noload-mem.
2383 * elf/noload.c: Include <memcheck.h>.
2384 (main): Call mtrace. Close all opened handles.
2385
f2092faf
AS
23862011-02-17 Andreas Schwab <schwab@redhat.com>
2387
2388 [BZ #12454]
2389 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
2390 dependencies are missing.
2391
6c8a2e88
ST
23922011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2393
f2092faf 2394 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
2395 Hurd needs munmap.
2396 * sysdeps/mach/hurd/ifreq.h: New file.
2397
84a42118
PB
23982011-01-27 Petr Baudis <pasky@suse.cz>
2399 Ulrich Drepper <drepper@gmail.com>
2400
071f805e 2401 [BZ 12445]#
84a42118
PB
2402 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
2403 to extend_alloca().
2404 * stdio-common/bug23.c: New file.
2405 * stdio-common/Makefile (tests): Add bug23.
2406
e23fe25b
AS
24072010-09-28 Andreas Schwab <schwab@redhat.com>
2408 Ulrich Drepper <drepper@gmail.com>
2409
2410 [BZ #12489]
2411 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
2412 before performing relro protection. At old place add assertion
2413 to make sure nothing changed.
2414
d3f02e10
NS
24152011-02-17 Nathan Sidwell <nathan@codesourcery.com>
2416 Glauber de Oliveira Costa <glommer@gmail.com>
2417
2418 * elf/elf.h: Add new ARM TLS relocs.
2419
d55fd7a5
RA
24202011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
2421
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2423 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
2424 cast from r3.
2425 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
2426 'tests' variable.
2427 * sysdeps/wordsize-64/tst-writev.c: New file.
2428
2206397e
RA
24292011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
2430
2431 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
2432 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
2433 insns in _dl_start to prevent a TOC reference before relocs are
2434 resolved.
2435
e9433893
UD
24362011-02-15 Ulrich Drepper <drepper@gmail.com>
2437
2438 [BZ #12469]
2439 * Makeconfig: Remove RANLIB definition.
2440 * Makerules: Don't use RANLIB.
2441 * aclocal.m4: Remove ranlib test.
2442 * configure.in: No need to check for ranlib.
2443 * elf/rtld-Rules: Don't use RANLIB.
2444
f75286c6
ST
24452011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2446
8e31c82d
ST
2447 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
2448 protection macro.
2449 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
2450 inclusion protection macro.
2451
f75286c6
ST
2452 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
2453 SIGRTMIN and SIGRTMAX and print information in that case only when
2454 SIGRTMIN is defined.
2455
c1d0e639
JJ
24562011-02-11 Jakub Jelinek <jakub@redhat.com>
2457
2458 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
2459 arginfo fn returning -1.
2460
2461 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
2462 and thousands string is zero terminated.
2463
edf9294e
AS
24642011-02-03 Andreas Schwab <schwab@redhat.com>
2465
2466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
2467 sysdeps/unix/sysv/linux/bits/socket.h.
2468
2b7e92df
ST
24692011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2470
edf9294e
AS
2471 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
2472 (__CPU_COUNT): Remove old macros.
2473 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
2474 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
2475 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
2476 (__sched_cpualloc, __sched_cpufree): Add declarations.
2477
a4c7ea7b
UD
24782011-02-05 Ulrich Drepper <drepper@gmail.com>
2479
2480 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
2481 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
2482 * nscd/aicache.c (addhstaiX): Return timeout of added value.
2483 (readdhstai): Return value of addhstaiX call.
2484 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
2485 (addgrbyX): Return value returned by cache_addgr.
2486 (readdgrbyname): Return value returned by addgrbyX.
2487 (readdgrbygid): Likewise.
2488 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
2489 (addpwbyX): Return value returned by cache_addpw.
2490 (readdpwbyname): Return value returned by addhstbyX.
2491 (readdpwbyuid): Likewise.
2492 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
2493 (addservbyX): Return value returned by cache_addserv.
2494 (readdservbyname): Return value returned by addservbyX:
2495 (readdservbyport): Likewise.
2496 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
2497 (addhstbyX): Return value returned by cache_addhst.
2498 (readdhstbyname): Return value returned by addhstbyX.
2499 (readdhstbyaddr): Likewise.
2500 (readdhstbynamev6): Likewise.
2501 (readdhstbyaddrv6): Likewise.
2502 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
2503 (readdinitgroups): Return value returned by addinitgroupsX.
2504 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
2505 (prune_cache): Keep track of timeout value of re-added entries.
2506 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
2507 * nscd/nscd.h: Adjust prototypes of readd* functions.
2508
a0bf67cc
RM
25092011-02-04 Roland McGrath <roland@redhat.com>
2510
2511 * nis/nis_server.c (nis_servstate): Use the right name for 0.
2512 (nis_stats): Likewise.
2513 * nis/nis_modify.c (nis_modify): Likewise.
2514 * nis/nis_remove.c (nis_remove): Likewise.
2515 * nis/nis_add.c (nis_add): Likewise.
2516
2517 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
2518
2519 * posix/fnmatch_loop.c: Add some consts.
2520
2521 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
2522
435b95eb
L
25232011-02-02 H.J. Lu <hongjiu.lu@intel.com>
2524
2525 [BZ #12460]
2526 * config.make.in (config-cflags-novzeroupper): Define.
2527 * configure.in: Substitute libc_cv_cc_novzeroupper.
2528 * elf/Makefile (AVX-CFLAGS): Define.
2529 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
2530 (CFLAGS-tst-auditmod4a.c): Likewise.
2531 (CFLAGS-tst-auditmod4b.c): Likewise.
2532 (CFLAGS-tst-auditmod6b.c): Likewise.
2533 (CFLAGS-tst-auditmod6c.c): Likewise.
2534 (CFLAGS-tst-auditmod7b.c): Likewise.
2535 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
2536
8517b15e
UD
25372011-02-02 Ulrich Drepper <drepper@gmail.com>
2538
2539 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
2540 function to the callback.
2541 Patch partly by Jiri Olsa <jolsa@redhat.com>.
2542
10a656fe
AS
25432011-02-02 Andreas Schwab <schwab@redhat.com>
2544
2545 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
2546 of errno.
2547
968dad0a
UD
25482011-01-19 Ulrich Drepper <drepper@gmail.com>
2549
9f94d2ea 2550 [BZ #11724]
968dad0a
UD
2551 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
2552 of constructors.
2553 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
2554 of destructors.
2555 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
2556
2557 [BZ #11724]
2558 * elf/Makefile: Add rules to build and run new test.
2559 * elf/tst-initorder.c: New file.
2560 * elf/tst-initorder.exp: New file.
2561 * elf/tst-initordera1.c: New file.
2562 * elf/tst-initordera2.c: New file.
2563 * elf/tst-initordera3.c: New file.
2564 * elf/tst-initordera4.c: New file.
2565 * elf/tst-initorderb1.c: New file.
2566 * elf/tst-initorderb2.c: New file.
2567 * elf/tst-order-a1.c: New file.
2568 * elf/tst-order-a2.c: New file.
2569 * elf/tst-order-a3.c: New file.
2570 * elf/tst-order-a4.c: New file.
2571 * elf/tst-order-b1.c: New file.
2572 * elf/tst-order-b2.c: New file.
2573 * elf/tst-order-main.c: New file.
2574 New test case by George Gensure <werkt0@gmail.com>.
2575
86e92359
UD
25762010-10-01 Andreas Schwab <schwab@redhat.com>
2577
2578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2579 decoding ACE if AI_CANONIDN.
2580
5d5732b0
UD
25812011-01-18 Ulrich Drepper <drepper@gmail.com>
2582
2583 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
2584
a77e8cbc
UD
25852011-01-17 Ulrich Drepper <drepper@gmail.com>
2586
6392473f
UD
2587 * version.h (RELEASE): Bump for 2.13 release.
2588 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
2589
620a0529
UD
2590 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
2591
18ba70a5
UD
2592 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
2593 MADV_NOHUGEPAGE.
32465c3e
UD
2594 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
2595 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2596 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2597 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2598 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2599 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2600
c0dafcf1
UD
2601 * posix/getconf.c: Update copyright year.
2602 * catgets/gencat.c: Likewise.
2603 * csu/version.c: Likewise.
2604 * debug/catchsegv.sh: Likewise.
2605 * debug/xtrace.sh: Likewise.
2606 * elf/ldconfig.c: Likewise.
2607 * elf/ldd.bash.in: Likewise.
2608 * elf/sprof.c (print_version): Likewise.
2609 * iconv/iconv_prog.c: Likewise.
2610 * iconv/iconvconfig.c: Likewise.
2611 * locale/programs/locale.c: Likewise.
2612 * locale/programs/localedef.c: Likewise.
2613 * malloc/memusage.sh: Likewise.
2614 * malloc/mtrace.pl: Likewise.
2615 * nscd/nscd.c (print_version): Likewise.
2616 * nss/getent.c: Likewise.
2617
a77e8cbc
UD
2618 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
2619 PF_CAIF, and PF_ALG.
2620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2621
77e8bddf
AS
26222011-01-16 Andreas Schwab <schwab@linux-m68k.org>
2623
1f20b93a
AS
2624 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
2625 (modules-names): Use them.
2626 (ifunc-test-modules, ifunc-pie-tests): Define.
2627 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
2628 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
2629 (test-extras): Likewise.
2630 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
2631 $(compile-command.c).
2632 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
2633 (all-built-dso): Define.
2634 (check-textrel.out, check-execstack.out): Depend on it.
2635
77e8bddf
AS
2636 * configure.in: Don't override --enable-multi-arch.
2637
bc425b33
UD
26382011-01-15 Ulrich Drepper <drepper@gmail.com>
2639
2640 [BZ #6812]
2641 * nscd/hstcache.c (tryagain): Define.
2642 (cache_addhst): Return tryagain not notfound for temporary errors.
2643 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
2644 failed.
2645
794c3ad3
UD
26462011-01-14 Ulrich Drepper <drepper@gmail.com>
2647
70181fdd
UD
2648 [BZ #10563]
2649 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
2650 to make the syscall.
2651 * sysdeps/unix/sysv/linux/setgroups.c: New file.
2652
794c3ad3
UD
2653 [BZ #12378]
2654 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
2655 and fall back to matching as normal character if the string ends before
2656 the matching ']' is found. This is what POSIX requires.
2657 * posix/testfnm.c: Adjust test result.
2658 * posix/globtest.sh: Adjust test result. Add new test.
2659 * posix/tst-fnmatch.input: Likewise.
2660 * posix/tst-fnmatch2.c: Add new test.
2661
68dc9497
AS
26622010-12-28 Andreas Schwab <schwab@linux-m68k.org>
2663
2664 * elf/Makefile (check-execstack): Revert last change. Depend on
2665 check-execstack.h.
2666 (check-execstack.h): New target.
2667 (generated): Add check-execstack.h.
2668 * elf/check-execstack.c: Include "check-execstack.h".
2669 (main): Revert last change.
2670 (handle_file): Return zero if GNU_STACK is absent and
2671 DEFAULT_STACK_PERMS doesn't include PF_X.
2672
451f001b
UD
26732011-01-13 Ulrich Drepper <drepper@gmail.com>
2674
cfa28e56
UD
2675 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
2676 in child fails because the descriptor is already closed.
8cf8ce17
UD
2677 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
2678 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
2679 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 2680
1086d70d
UD
2681 [BZ #12397]
2682 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
2683 syscall.
2684
451f001b
UD
2685 [BZ #10484]
2686 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
2687 temporary buffer used to handle multi lookups locally.
a85b5cb4 2688 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 2689
08769175
UD
26902011-01-12 Ulrich Drepper <drepper@gmail.com>
2691
2692 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
2693 loader is ld.so.
2694
5e49c52e
UD
26952011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
2696
2697 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
2698 alignment for SSE2.
2699
60522a5f
UD
27002011-01-12 Ulrich Drepper <drepper@gmail.com>
2701
2702 [BZ #12394]
2703 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
2704 characters. When rounding increased number of integer digits recompute
2705 number of groups.
2706 * stdio-common/tst-grouping.c: New file.
2707 * stdio-common/Makefile: Add rules to build and run tst-grouping.
2708
f257bbd7
UD
27092011-01-09 Ulrich Drepper <drepper@gmail.com>
2710
2711 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
2712 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
2713
2714 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
2715 void.
2716 * bits/select.h: Likewise.
2717
fa9c15cb
UD
27182011-01-08 Ulrich Drepper <drepper@gmail.com>
2719
2720 * po/ja.po: Update from translation team.
2721
16c2895f
DM
27222011-01-04 David S. Miller <davem@sunset.davemloft.net>
2723
2724 [BZ #11155]
2725 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
2726 implementation just like for lxstat, fxstatat, et al.
2727
2543fef2
JM
27282010-12-27 Jim Meyering <meyering@redhat.com>
2729
2730 [BZ #12348]
2731 * posix/regexec.c (build_trtable): Return failure indication upon
2732 calloc failure. Otherwise, re_search_internal could infloop on OOM.
2733
98727dbe
UD
27342010-12-25 Ulrich Drepper <drepper@gmail.com>
2735
5bd6dc5c
UD
2736 [BZ #12201]
2737 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2738 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2739 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
2740 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
2741
97983464
UD
2742 [BZ #12207]
2743 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
2744
98727dbe
UD
2745 [BZ #12204]
2746 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
2747 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
2748
4a531bb0
L
27492010-12-15 H.J. Lu <hongjiu.lu@intel.com>
2750
2751 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
2752 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
2753 script has SORT_BY_INIT_PRIORITY.
2754 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
2755 NO_CTORS_DTORS_SECTIONS is defined.
2756 * elf/soinit.c: Likewise.
2757 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
2758 NO_CTORS_DTORS_SECTIONS is defined.
2759 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2760 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2761 * sysdeps/sh/init-first.c: Likewise.
2762 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2763
07eb4b71
UD
27642010-12-24 Ulrich Drepper <drepper@gmail.com>
2765
2766 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
2767 always use the slow path.
2768
30950a5f
RA
27692010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
2770
2771 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
2772 similar rule which adds the sysdep directories to the header search in
2773 order to pick up the correct platform stackinfo.h.
2774 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
2775 perform test if it is, otherwise return successfully without testing.
2776 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
2777 DEFAULT_STACK_PERMS define in stackinfo.h.
2778 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
2779 defined in stackinfo.h.
2780 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
2781 DEFAULT_STACK_PERMS defined in stackinfo.h.
2782 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
2783 * sysdeps/ia64/stackinfo.h: Likewise.
2784 * sysdeps/s390/stackinfo.h: Likewise.
2785 * sysdeps/sh/stackinfo.h: Likewise.
2786 * sysdeps/sparc/stackinfo.h: Likewise.
2787 * sysdeps/x86_64/stackinfo.h: Likewise.
2788 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
2789 PF_X for powerpc64. Retain PF_X for powerpc32.
2790
db753e2c
UD
27912010-12-19 Ulrich Drepper <drepper@gmail.com>
2792
14b697f7
UD
2793 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
2794 accurately.
db753e2c
UD
2795 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
2796 GETDENTS_64BIT_ALIGNED.
2797
28300719
UD
27982010-12-14 Ulrich Drepper <dreper@gmail.com>
2799
14b697f7 2800 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 2801
4f197237
AS
28022010-12-10 Andreas Schwab <schwab@redhat.com>
2803
dbb0472f
AS
2804 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
2805 _GNU_SOURCE.
2806
4f197237
AS
2807 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
2808 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
2809 Remove __restrict.
2810 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
2811 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
2812
fb88ac72
UD
28132010-12-09 Ulrich Drepper <drepper@gmail.com>
2814
2815 [BZ #11655]
2816 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
2817 are initialized.
2818
42acbb92
JJ
28192010-12-09 Jakub Jelinek <jakub@redhat.com>
2820
2821 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
2822
c038d98d
UD
28232010-12-03 Ulrich Drepper <drepper@gmail.com>
2824
2825 * po/it.po: Update from translation team.
2826
3a4a2499
L
28272010-12-01 H.J. Lu <hongjiu.lu@intel.com>
2828
2829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
2830 unused codes.
2831
1e24cf6e
UD
28322010-11-30 Ulrich Drepper <drepper@gmail.com>
2833
2834 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
2835
a7690819
AS
28362010-11-24 Andreas Schwab <schwab@redhat.com>
2837
2838 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
2839 specially.
2840 (gaih_getanswer_slice): Likewise.
2841
3bf8d1b1
JJ
28422010-10-20 Jakub Jelinek <jakub@redhat.com>
2843
2844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
2845
6db52fbb
PB
28462010-05-31 Petr Baudis <pasky@suse.cz>
2847
2848 [BZ #11149]
2849 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
2850 silently even in the chroot mode.
2851
eaca7569
UD
28522010-11-22 Ulrich Drepper <drepper@gmail.com>
2853
2854 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
2855 last patch a bit. Pretty printing
2856
3056dcdb
UD
28572010-05-31 Petr Baudis <pasky@suse.cz>
2858
2859 [BZ #10085]
2860 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
2861 initialization of skip_initgroups_dyn.
2862
cf7c9078
UD
28632010-11-19 Ulrich Drepper <drepper@gmail.com>
2864
2865 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
2866 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2867
a1fb5e3e
UD
28682010-11-16 Ulrich Drepper <drepper@gmail.com>
2869
2870 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
2871
3540d66b
AS
28722010-11-11 Andreas Schwab <schwab@redhat.com>
2873
2874 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
2875 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
2876 (tst-fnmatch-ENV): Set MALLOC_TRACE.
2877 ($(objpfx)tst-fnmatch-mem): New rule.
2878 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
2879 * posix/tst-fnmatch.c (main): Call mtrace.
2880
13b69574
L
28812010-11-11 H.J. Lu <hongjiu.lu@intel.com>
2882
2883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2884 Support Intel processor model 6 and model 0x2c.
2885
da93d214
LM
28862010-11-10 Luis Machado <luisgpm@br.ibm.com>
2887
2888 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
2889 signed comparison.
2890
8ca52c6e
L
28912010-11-09 H.J. Lu <hongjiu.lu@intel.com>
2892
2893 [BZ #12205]
2894 * string/test-strncasecmp.c (check_result): New function.
2895 (do_one_test): Use it.
2896 (check1): New function.
2897 (test_main): Use it.
2898 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
2899 Support strcasecmp and strncasecmp.
2900
69da074d
UD
29012010-11-08 Ulrich Drepper <drepper@gmail.com>
2902
2903 [BZ #12194]
2904 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
2905 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2906
ff02d528
L
29072010-11-07 H.J. Lu <hongjiu.lu@intel.com>
2908
2909 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
2910 IFUNC support.
2911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2912 memset-x86-64.
2913 * sysdeps/x86_64/multiarch/bzero.S: New file.
2914 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
2915 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
2916 * sysdeps/x86_64/multiarch/memset.S: New file.
2917 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
2918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2919 Set bit_Prefer_SSE_for_memop for Intel processors.
2920 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
2921 Define.
2922 (index_Prefer_SSE_for_memop): Define.
2923 (HAS_PREFER_SSE_FOR_MEMOP): Define.
2924
344d0b54
LM
29252010-11-04 Luis Machado <luisgpm@br.ibm.com>
2926
2927 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
2928 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
2929
c0dde15b
UD
29302010-11-03 H.J. Lu <hongjiu.lu@intel.com>
2931
2932 [BZ #12191]
2933 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
2934 (__x86_64_raw_data_cache_size_half): Likewise.
2935 (__x86_64_raw_shared_cache_size): Likewise.
2936 (__x86_64_raw_shared_cache_size_half): Likewise.
2937
2938 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
2939 (__x86_64_raw_data_cache_size_half): Likewise.
2940 (__x86_64_raw_shared_cache_size): Likewise.
2941 (__x86_64_raw_shared_cache_size_half): Likewise.
2942 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
2943 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
2944 and __x86_64_raw_shared_cache_size_half. Round
2945 __x86_64_data_cache_size_half, __x86_64_data_cache_size
2946 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
2947 to multiple of 256 bytes.
2948
0e516e0e
MS
29492010-11-03 Ulrich Drepper <drepper@gmail.com>
2950
2951 [BZ #12167]
2952 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
2953 of inacessible symlinks. Verify result of symlink before returning it.
2954 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2955 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
2956
0e012e87
ER
29572010-10-28 Erich Ritz <erichritz@gmail.com>
2958
2959 * math/math.h (isinf): Fix typo in comment.
2960
de0ff7bc
UD
29612010-11-01 Ulrich Drepper <drepper@gmail.com>
2962
2963 * po/da.po: Update from translation team.
2964
fa41c84d
UD
29652010-10-26 Ulrich Drepper <drepper@gmail.com>
2966
2967 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
2968 is added to the list.
2969
f0967738
AK
29702010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2971 Ulrich Drepper <drepper@gmail.com>
2972
2973 * elf/dl-object.c (_dl_new_object): Don't append the new object to
2974 the global list here. Move code to...
2975 (_dl_add_to_namespace_list): ...here. New function.
2976 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
2977 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
2978 * elf/dl-load.c (lose): Don't remove the element from the list.
2979 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
2980 (_dl_map_object): Likewise.
2981
29822010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
2983
2984 [BZ #12159]
2985 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
2986 into all bytes of SSE register.
2987 Patch by Richard Li <richardpku@gmail.com>.
2988
f0967738 29892010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
2990
2991 [BZ #12140]
2992 * malloc/malloc.c (_int_free): Fill correct number of bytes when
2993 perturbing.
2994
d0b9e94f
MB
29952010-10-20 Michael B. Brutman <brutman@us.ibm.com>
2996
2997 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
2998 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
2999 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
3000 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
3002 submachine.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
3004
8e9f92e9
AS
30052010-10-22 Andreas Schwab <schwab@redhat.com>
3006
3007 * include/dlfcn.h (__RTLD_SECURE): Define.
3008 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
3009 mode & __RTLD_SECURE instead.
3010 (open_path): Rename preloaded parameter to secure.
3011 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
3012 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
3013 * elf/dl-deps.c (openaux): Likewise.
3014 * elf/rtld.c (struct map_args): Remove is_preloaded.
3015 (map_doit): Don't use it.
3016 (dl_main): Likewise.
3017 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
3018 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
3019
bc96fbda
AS
30202010-09-09 Andreas Schwab <schwab@redhat.com>
3021
3022 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
3023 (sysd-rules-targets): Remove duplicates.
3024 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
3025 rtld-%.$o dependency.
3026
22cd1c9b
AS
30272010-10-18 Andreas Schwab <schwab@redhat.com>
3028
3029 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
3030 _dl_map_object do it.
3031
18edac48
UD
30322010-10-19 Ulrich Drepper <drepper@gmail.com>
3033
3034 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
3035 fast fma builtins, define the macros in the C99 standard.
3036 (FP_FAST_FMAF): Likewise.
3037 (FP_FAST_FMAL): Likewise.
3038 * sysdeps/x86_64/bits/mathdef.h: Likewise.
3039
3040 * bits/mathdef.h: Update copyright year.
3041 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3042
d2050124
MM
30432010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
3044
3045 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
3046 builtins, define the macros in the C99 standard.
3047 (FP_FAST_FMAF): Likewise.
3048 (FP_FAST_FMAL): Likewise.
3049 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
3050 multiply/add.
3051 (FP_FAST_FMAF): Likewise.
3052
475facd1
JJ
30532010-10-15 Jakub Jelinek <jakub@redhat.com>
3054
3055 [BZ #3268]
3056 * math/libm-test.inc (fma_test): Some new testcases.
3057 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
3058 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
3059 y and infinite z. Do multiplication by C already in long double.
3060 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
3061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
3062 y and infinite z. Do bitwise or of inexact bit into u.d.
3063 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
3064 * sysdeps/i386/fpu/s_fmaf.S: Removed.
3065 * sysdeps/i386/fpu/s_fma.S: Removed.
3066 * sysdeps/i386/fpu/s_fmal.S: Removed.
3067
7c08a05c
JJ
30682010-10-16 Jakub Jelinek <jakub@redhat.com>
3069
3070 [BZ #3268]
3071 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
3072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
3073 computation is not scheduled after fetestexcept. Fix value
3074 of minimum denormal long double.
3075
f3f7372d
JJ
30762010-10-14 Jakub Jelinek <jakub@redhat.com>
3077
3078 [BZ #3268]
3079 * math/libm-test.inc (fma_test): Add some more tests.
3080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
3081 correctly.
3082
14d43591
AS
30832010-10-15 Andreas Schwab <schwab@redhat.com>
3084
3085 * scripts/data/localplt-s390-linux-gnu.data: New file.
3086 * scripts/data/localplt-s390x-linux-gnu.data: New file.
3087
5e908464
JJ
30882010-10-13 Jakub Jelinek <jakub@redhat.com>
3089
3090 [BZ #3268]
3091 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
3092 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
3093 instead of dbl-64.
3094 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
3095 inlines.
3096 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
3097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
3098 if one of x and y is very large and the other is subnormal.
3099 * sysdeps/s390/fpu/s_fmaf.c: New file.
3100 * sysdeps/s390/fpu/s_fma.c: New file.
3101 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
3102 * sysdeps/powerpc/fpu/s_fma.S: New file.
3103 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
3104 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
3105 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
3106
31072010-10-12 Jakub Jelinek <jakub@redhat.com>
3108
3109 [BZ #3268]
3110 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
3111 fma tests.
3112 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
3113 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
3114 * sysdeps/i386/i686/multiarch/s_fma.c: Include
3115 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
3116 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
3117 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
3119
b833d51f
UD
31202010-10-12 Ulrich Drepper <drepper@redhat.com>
3121
3122 [BZ #12078]
3123 * posix/regcomp.c (parse_branch): One more memory leak plugged.
3124 * posix/bug-regex31.input: Add test case.
3125
1751705d
UD
31262010-10-11 Ulrich Drepper <drepper@gmail.com>
3127
e9b9cbf5
UD
3128 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
3129 * posix/bug-regex31.input: New file.
3130
3131 [BZ #12078]
3132 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
3133 (parse_sub_exp): Fix last change, use postorder.
3134
ef06edbe
UD
3135 * posix/bug-regex31.c: New file.
3136 * posix/Makefile: Add rules to build and run bug-regex31.
3137
a129c80d
UD
3138 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
3139
3140 [BZ #12078]
3141 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
3142
b76b818e
UD
3143 [BZ #12108]
3144 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
3145 to have entries in sys_siglist.
3146
1751705d
UD
3147 [BZ #12093]
3148 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
3149 be NULL.
3150
9ff8d36f
JJ
31512010-10-07 Jakub Jelinek <jakub@redhat.com>
3152
3153 [BZ #3268]
3154 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
3155 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
3156 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
3157 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
3158 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3159 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
3160 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
3161 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
3162 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
3163 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
3164 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
3165 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
3166 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3167 * math/ftestexcept.c (fetestexcept): Likewise.
3168 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
3169 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3170 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
3171 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
3172 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
3173 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
3174 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3175
af325969
UD
31762010-10-11 Ulrich Drepper <drepper@gmail.com>
3177
c579b202 3178 [BZ #12107]
af325969
UD
3179 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
3180 newline.
3181
67a67b95
UD
31822010-10-06 Ulrich Drepper <drepper@gmail.com>
3183
3184 * string/bug-strstr1.c: New file.
3185 * string/Makefile: Add rules to build and run bug-strstr1.
3186
5fb308bc
EB
31872010-10-05 Eric Blake <eblake@redhat.com>
3188
3189 [BZ #12092]
3190 * string/str-two-way.h (two_way_long_needle): Always clear memory
3191 when skipping input due to the shift table.
3192
45db99c7
UD
31932010-10-03 Ulrich Drepper <drepper@gmail.com>
3194
3b111893
UD
3195 [BZ #12005]
3196 * malloc/mcheck.c: Handle large requests.
3197
45db99c7
UD
3198 [BZ #12077]
3199 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
3200 for strncmp and strncasecmp.
3201 * string/stratcliff.c: Add tests for strcmp and strncmp.
3202 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
3203
cf7a1eb8
NI
32042010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3205
3206 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
3207 __set_fpscr.
3208
6484ba5e
AJ
32092010-09-30 Andreas Jaeger <aj@suse.de>
3210
3211 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
3212 (CGROUP_SUPER_MAGIC): Define.
3213 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3214 Handle btrfs and cgroup file systems.
3215 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3216 Likewise.
3217
91c42559
LM
32182010-09-27 Luis Machado <luisgpm@br.ibm.com>
3219
3220 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
3221 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
3222
87a97932
AK
32232010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3224
3225 [BZ #12067]
3226 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
3227 trying to locate the ELF header.
3228
c21cc9bc
AS
32292010-09-27 Andreas Schwab <schwab@redhat.com>
3230
3231 [BZ #11611]
3232 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
3233 Mask out sign-bit copies when constructing f_fsid.
3234
315970f6
PB
32352010-09-24 Petr Baudis <pasky@suse.cz>
3236
3237 * debug/stack_chk_fail_local.c: Add missing licence exception.
3238 * debug/warning-nop.c: Likewise.
3239
1ac7a2c7
JM
32402010-09-15 Joseph Myers <joseph@codesourcery.com>
3241
3242 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
3243 implementing getdents64 using getdents syscall, set d_type if
3244 __ASSUME_GETDENTS32_D_TYPE.
3245
56801c50
AS
32462010-09-16 Andreas Schwab <schwab@redhat.com>
3247
3248 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
3249 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
3250
dda51327
UD
32512010-09-21 Ulrich Drepper <drepper@redhat.com>
3252
3253 [BZ #12037]
3254 * posix/unistd.h: Undo change of feature selection for ftruncate from
3255 2010-01-11.
3256
8ffcee4a
UD
32572010-09-20 Ulrich Drepper <drepper@redhat.com>
3258
a545ecd9 3259 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
3260 detection.
3261
e24f0a8b
AS
32622010-09-20 Andreas Schwab <schwab@redhat.com>
3263
3264 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3265 fanotify_mark.
3266 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3267
7291c56f
AS
32682010-09-14 Andreas Schwab <schwab@redhat.com>
3269
3270 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
3271 variables after CHECK_SP call.
3272 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
3273
bc5fb037
AS
32742010-09-13 Andreas Schwab <schwab@redhat.com>
3275 Ulrich Drepper <drepper@redhat.com>
3276
3277 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
3278 re-relocationg ld.so.
3279 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
3280 _dl_init_paths call.
3281 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
3282 here anymore.
3283
e66e7419
UD
32842010-09-14 Ulrich Drepper <drepper@redhat.com>
3285
3286 * resolv/res_init.c (__res_vinit): Count the default server we added.
3287
c044aa75
CLT
32882010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
3289 Ulrich Drepper <drepper@redhat.com>
3290
3291 [BZ #11968]
3292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3293 (____longjmp_chk): Use %ebx for saving value across system call.
3294 Add unwind info.
3295
32cf4069
AS
32962010-09-06 Andreas Schwab <schwab@redhat.com>
3297
3298 * manual/Makefile: Don't mix pattern rules with normal rules.
3299
817328ee
AS
33002010-09-05 Andreas Schwab <schwab@linux-m68k.org>
3301
3302 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
3303 operation.
3304 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3305 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3306 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3307 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3308 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3309 Likewise.
3310
29fddf61
UD
33112010-09-04 Ulrich Drepper <drepper@redhat.com>
3312
3313 [BZ #11979]
3314 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
3315 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
3316
0959ffc9
UD
33172010-09-02 Ulrich Drepper <drepper@redhat.com>
3318
3319 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
3320 * sysdeps/x86_64/addmul_1.S: Likewise.
3321 * sysdeps/x86_64/lshift.S: Likewise.
3322 * sysdeps/x86_64/mul_1.S: Likewise.
3323 * sysdeps/x86_64/rshift.S: Likewise.
3324 * sysdeps/x86_64/sub_n.S: Likewise.
3325 * sysdeps/x86_64/submul_1.S: Likewise.
3326
ece29840
ST
33272010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3328
0959ffc9
UD
3329 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
3330 Define __sched_param instead of SCHED_* and sched_param when
ece29840 3331 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 3332 * bits/sched.h [__need_schedparam]
ece29840 3333 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
3334 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
3335 (__defined_schedparam): Define to 1.
ece29840
ST
3336 (__sched_param): New structure, identical to sched_param.
3337 (__need_schedparam): Undefine.
3338
e53a31fe
MF
33392010-08-31 Mike Frysinger <vapier@gentoo.org>
3340
fdc0c10d
MF
3341 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
3342 (epoll_create1): Declare.
3343
e53a31fe
MF
3344 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
3345
a726d796
AS
33462010-08-31 Andreas Schwab <schwab@redhat.com>
3347
3348 [BZ #7066]
3349 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
3350 shifting retval into place.
3351
2f3e3dc7
UD
33522010-09-01 Ulrich Drepper <drepper@redhat.com>
3353
f2933da9
UD
3354 * nis/rpcsvc/nis.h: Update copyright notice.
3355 * nis/rpcsvc/nis.x: Likewise.
3356 * nis/rpcsvc/nis_callback.h: Likewise.
3357 * nis/rpcsvc/nis_callback.x: Likewise.
3358 * nis/rpcsvc/nis_object.x: Likewise.
3359 * nis/rpcsvc/nis_tags.h: Likewise.
3360 * nis/rpcsvc/yp.h: Likewise.
3361 * nis/rpcsvc/yp.x: Likewise.
3362 * nis/rpcsvc/ypupd.h: Likewise.
3363 * nis/yp_xdr.c: Likewise.
3364 * nis/ypupdate_xdr.c: Likewise.
3365
2f3e3dc7
UD
3366 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
3367 mainly the body of pmap_getport. Add parameters to specify timeouts.
3368 (pmap_getport): Use __libc_rpc_getport.
3369 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
3370 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
3371 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
3372
f3dcc2f9
AS
33732010-08-31 Andreas Schwab <schwab@linux-m68k.org>
3374
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
3376 fanotify_mark.
3377
6d34eb5b
RM
33782010-08-27 Roland McGrath <roland@redhat.com>
3379
3380 * sysdeps/i386/i686/multiarch/Makefile
3381 (CFLAGS-varshift.c): New variable.
3382
9ea3de11
UD
33832010-08-27 Ulrich Drepper <drepper@redhat.com>
3384
c96d23fc
UD
3385 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
3386 * sysdeps/i386/i686/multiarch/varshift.c: New file.
3387
9ea3de11
UD
3388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
3389
3390 * sysdeps/x86_64/strlen.S: Minimal code improvement.
3391
623aac7f
L
33922010-08-26 H.J. Lu <hongjiu.lu@intel.com>
3393
3394 * sysdeps/x86_64/strlen.S: Unroll the loop.
3395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3396 strlen-sse2 strlen-sse2-bsf.
3397 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
3398 __strlen_no_bsf if bit_Slow_BSF is set.
3399 (__strlen_sse42): Removed.
3400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
3401 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
3402
8b2b7715
RM
34032010-08-25 Roland McGrath <roland@redhat.com>
3404
3405 * sysdeps/x86_64/multiarch/varshift.S: File removed.
3406 * sysdeps/x86_64/multiarch/varshift.c: New file.
3407 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
3408 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
3409 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
3410 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3411
e73015f2
L
34122010-08-25 H.J. Lu <hongjiu.lu@intel.com>
3413
3414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3415 strlen-sse2 strlen-sse2-bsf.
3416 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
3417 __strlen_sse2_bsf if bit_Slow_BSF is unset.
3418 (__strlen_sse2): Removed.
3419 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
3420 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
3421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3422 bit_Slow_BSF for Atom.
3423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
3424 (index_Slow_BSF): Define.
3425 (HAS_SLOW_BSF): Define.
3426
df24a73e
UD
34272010-08-25 Ulrich Drepper <drepper@redhat.com>
3428
3429 [BZ #10851]
3430 * resolv/res_init.c (__res_vinit): When no server address at all
3431 is given default to loopback.
3432
f2ac4868
RM
34332010-08-24 Roland McGrath <roland@redhat.com>
3434
09055553
RM
3435 * configure.in: Remove config-name.h generation.
3436 * configure: Regenerated.
3437 * config-name.in: File removed.
3438 * scripts/config-uname.sh: New file.
3439 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
3440 ($(objdir)config-name.h): New target.
3441
f2ac4868
RM
3442 * sunrpc/rpc_parse.h: Avoid nested comment.
3443
73f27d5e
RH
34442010-08-24 Richard Henderson <rth@redhat.com>
3445 Ulrich Drepper <drepper@redhat.com>
3446 H.J. Lu <hongjiu.lu@intel.com>
3447
3448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
3449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
3450 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
3451 Replace _mm_srli_si128 with __m128i_shift_right. Replace
3452 _mm_alignr_epi8 with _mm_loadu_si128.
3453 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
3454 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
3455 (__m128i_shift_right): Removed.
3456 * sysdeps/i386/i686/multiarch/varshift.h: New file.
3457 * sysdeps/i386/i686/multiarch/varshift.S: New file.
3458 * sysdeps/x86_64/multiarch/varshift.h: New file.
3459 * sysdeps/x86_64/multiarch/varshift.S: New file.
3460
84b9230c
MF
34612010-08-21 Mike Frysinger <vapier@gentoo.org>
3462
3463 * configure.in: Move assembler checks to before sysdep dir checking.
3464
9bbd0ddc
PB
34652010-08-20 Petr Baudis <pasky@suse.cz>
3466
3467 * LICENSES: Sync the sunrpc license.
3468
9da4bb31
UD
34692010-08-19 Ulrich Drepper <drepper@redhat.com>
3470
a7ab6ec8
UD
3471 * sunrpc/auth_des.c: Update copyright notice once again.
3472 * sunrpc/auth_none.c: Likewise.
3473 * sunrpc/auth_unix.c: Likewise.
3474 * sunrpc/authdes_prot.c: Likewise.
3475 * sunrpc/authuxprot.c: Likewise.
3476 * sunrpc/bindrsvprt.c: Likewise.
3477 * sunrpc/clnt_gen.c: Likewise.
3478 * sunrpc/clnt_perr.c: Likewise.
3479 * sunrpc/clnt_raw.c: Likewise.
3480 * sunrpc/clnt_simp.c: Likewise.
3481 * sunrpc/clnt_tcp.c: Likewise.
3482 * sunrpc/clnt_udp.c: Likewise.
3483 * sunrpc/clnt_unix.c: Likewise.
3484 * sunrpc/des_crypt.c: Likewise.
3485 * sunrpc/des_soft.c: Likewise.
3486 * sunrpc/get_myaddr.c: Likewise.
3487 * sunrpc/getrpcport.c: Likewise.
3488 * sunrpc/key_call.c: Likewise.
3489 * sunrpc/key_prot.c: Likewise.
3490 * sunrpc/openchild.c: Likewise.
3491 * sunrpc/pm_getmaps.c: Likewise.
3492 * sunrpc/pm_getport.c: Likewise.
3493 * sunrpc/pmap_clnt.c: Likewise.
3494 * sunrpc/pmap_prot.c: Likewise.
3495 * sunrpc/pmap_prot2.c: Likewise.
3496 * sunrpc/pmap_rmt.c: Likewise.
3497 * sunrpc/rpc/auth.h: Likewise.
3498 * sunrpc/rpc/auth_unix.h: Likewise.
3499 * sunrpc/rpc/clnt.h: Likewise.
3500 * sunrpc/rpc/des_crypt.h: Likewise.
3501 * sunrpc/rpc/key_prot.h: Likewise.
3502 * sunrpc/rpc/netdb.h: Likewise.
3503 * sunrpc/rpc/pmap_clnt.h: Likewise.
3504 * sunrpc/rpc/pmap_prot.h: Likewise.
3505 * sunrpc/rpc/pmap_rmt.h: Likewise.
3506 * sunrpc/rpc/rpc.h: Likewise.
3507 * sunrpc/rpc/rpc_des.h: Likewise.
3508 * sunrpc/rpc/rpc_msg.h: Likewise.
3509 * sunrpc/rpc/svc.h: Likewise.
3510 * sunrpc/rpc/svc_auth.h: Likewise.
3511 * sunrpc/rpc/types.h: Likewise.
3512 * sunrpc/rpc/xdr.h: Likewise.
3513 * sunrpc/rpc_clntout.c: Likewise.
3514 * sunrpc/rpc_cmsg.c: Likewise.
3515 * sunrpc/rpc_common.c: Likewise.
3516 * sunrpc/rpc_cout.c: Likewise.
3517 * sunrpc/rpc_dtable.c: Likewise.
3518 * sunrpc/rpc_hout.c: Likewise.
3519 * sunrpc/rpc_main.c: Likewise.
3520 * sunrpc/rpc_parse.c: Likewise.
3521 * sunrpc/rpc_parse.h: Likewise.
3522 * sunrpc/rpc_prot.c: Likewise.
3523 * sunrpc/rpc_sample.c: Likewise.
3524 * sunrpc/rpc_scan.c: Likewise.
3525 * sunrpc/rpc_scan.h: Likewise.
3526 * sunrpc/rpc_svcout.c: Likewise.
3527 * sunrpc/rpc_tblout.c: Likewise.
3528 * sunrpc/rpc_util.c: Likewise.
3529 * sunrpc/rpc_util.h: Likewise.
3530 * sunrpc/rpcinfo.c: Likewise.
3531 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
3532 * sunrpc/rpcsvc/key_prot.x: Likewise.
3533 * sunrpc/rpcsvc/klm_prot.x: Likewise.
3534 * sunrpc/rpcsvc/mount.x: Likewise.
3535 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
3536 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
3537 * sunrpc/rpcsvc/rex.x: Likewise.
3538 * sunrpc/rpcsvc/rstat.x: Likewise.
3539 * sunrpc/rpcsvc/rusers.x: Likewise.
3540 * sunrpc/rpcsvc/sm_inter.x: Likewise.
3541 * sunrpc/rpcsvc/spray.x: Likewise.
3542 * sunrpc/rpcsvc/yppasswd.x: Likewise.
3543 * sunrpc/rtime.c: Likewise.
3544 * sunrpc/svc.c: Likewise.
3545 * sunrpc/svc_auth.c: Likewise.
3546 * sunrpc/svc_authux.c: Likewise.
3547 * sunrpc/svc_raw.c: Likewise.
3548 * sunrpc/svc_run.c: Likewise.
3549 * sunrpc/svc_simple.c: Likewise.
3550 * sunrpc/svc_tcp.c: Likewise.
3551 * sunrpc/svc_udp.c: Likewise.
3552 * sunrpc/svc_unix.c: Likewise.
3553 * sunrpc/svcauth_des.c: Likewise.
3554 * sunrpc/xcrypt.c: Likewise.
3555 * sunrpc/xdr.c: Likewise.
3556 * sunrpc/xdr_array.c: Likewise.
3557 * sunrpc/xdr_float.c: Likewise.
3558 * sunrpc/xdr_mem.c: Likewise.
3559 * sunrpc/xdr_rec.c: Likewise.
3560 * sunrpc/xdr_ref.c: Likewise.
3561 * sunrpc/xdr_sizeof.c: Likewise.
3562 * sunrpc/xdr_stdio.c: Likewise.
3563
9da4bb31
UD
3564 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
3565 handling.
3566
bdaa77bc
AS
35672010-08-19 Andreas Schwab <schwab@redhat.com>
3568
3569 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
3570
fe2f79db
LM
35712010-08-19 Luis Machado <luisgpm@br.ibm.com>
3572
3573 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
3574 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
3575 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
3576 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
3577 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
3578 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
3579 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
3580 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
3581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
3582 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
3583 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
3584 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
3585 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
3586 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
3587
b9b42ee0
AB
35882010-07-26 Anton Blanchard <anton@samba.org>
3589
3590 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
3591 * malloc/arena.c (heap_trim): Likewise.
3592
1c06ba31
UD
35932010-08-16 Ulrich Drepper <drepper@redhat.com>
3594
3595 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
3596 here. Not...
3597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
3598 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
3599
f8392f40
L
36002010-08-12 H.J. Lu <hongjiu.lu@intel.com>
3601
3602 * sysdeps/i386/elf/Makefile: New file.
3603
3162f12e
AS
36042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3605
3606 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
3607 from fanotify_init.
3608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3610
28c90b2c
UD
36112010-08-15 Ulrich Drepper <drepper@redhat.com>
3612
3613 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
3614 of strncasecmp_l.
1feccb6c 3615 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 3616
ca6bb004
UD
36172010-08-14 Ulrich Drepper <drepper@redhat.com>
3618
e9f82e0d
UD
3619 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3620 strncase_l-nonascii.
3621 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3622 Add strncase_l-ssse3.
3623 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
3624 * sysdeps/x86_64/strcmp.S: Likewise.
3625 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
3626 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
3627 * sysdeps/x86_64/strncase.S: New file.
3628 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
3629 * sysdeps/x86_64/strncase_l.S: New file.
3630 * string/Makefile (strop-tests): Add strncasecmp.
3631 * string/test-strncasecmp.c: New file.
3632
3633 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
3634 warning.
3635
ca6bb004
UD
3636 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
3637 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
3638
052fa7b3
AS
36392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3640
3641 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
3642
962dba78
UD
36432010-08-12 Ulrich Drepper <drepper@redhat.com>
3644
3645 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
3646 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3648
bebff237
AM
36492010-05-01 Alan Modra <amodra@gmail.com>
3650
3651 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
3652 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
3653 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
3654 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
3655 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
3656 tidying. Don't tail-call __sigjmp_save for static lib.
3657 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
3658 save location.
3659 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
3660 (CALL_MCOUNT): Add eh info, and nop after bl.
3661 (TAIL_CALL_SYSCALL_ERROR): New macro.
3662 (PSEUDO_RET): Use it.
3663 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3664 Correct save location of integer regs and cr.
3665 (_dl_profile_resolve): Correct cr save location. Delete nops
3666 after bl when SHARED. Reduce cfi size a little by better
3667 placement of cfi directives.
3668 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
3669 make a stack frame. Instead use parm save area as a temp.
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
3671 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3673 Don't make a stack frame for parent, use parm save area.
3674 Increase child stack frame to 112 bytes. Don't save unused reg,
3675 and adjust reg usage. Set up cfi on error recovery and
3676 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3678 (__makecontext): Add dummy nop after jump to exit.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
3680 Use correct parm save area and cr save, reduce stack frame.
3681 Correct cfi for possible PSEUDO_RET frame setup.
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
3683 Branch to local label emitted by PSEUDO_RET rather than
3684 __syscall_error.
3685
02637374
AS
36862010-08-12 Andreas Schwab <schwab@redhat.com>
3687
3688 [BZ #11904]
3689 * locale/programs/locale.c (print_assignment): New function.
3690 (show_locale_vars): Use it.
3691
c3e2f19b
UD
36922010-08-11 Ulrich Drepper <drepper@redhat.com>
3693
3cdaa6ad
UD
3694 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
3695 field.
3696 (struct statfs64): Likewise.
3697 (_STATFS_F_FLAGS): Define.
3698 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
3699 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3700 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
3701 (ST_VALID): Define locally.
3702 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
3703 __statvfs_getflags, use the provided value.
3704 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3705 __ASSUME_STATFS_F_FLAGS.
3706
754f7da3
UD
3707 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
3708
10b3bedc
UD
3709 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
3710 Add sys/fanotify.h.
3711 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
3712 fanotify_mask for GLIBC_2.13.
3713 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
3714 fanotify_init and fanotify_mark.
3715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3716 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
3717
c08fb0d7
UD
3718 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
3719 Add prlimit.
3720 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
3721 prlimit64 for GLIBC_2.13.
3722 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
3723 prlimit64.
3724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
3725 syscall.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3727 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3728 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
3729 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
3730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
3731 add prlimit alias.
3732 * sysdeps/unix/sysv/linux/prlimit.c: New file.
3733
15bac72b
UD
3734 [BZ #11903]
3735 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
3736 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
3737
c3e2f19b
UD
3738 * nss/Makefile: Add rules to build and run tst-nss-test1.
3739 * shlib-versions: Add entry for libnss_test1.
3740 * nss/nss_test1.c: New file.
3741 * nss/tst-nss-test1.c: New file.
3742
3743 * nss/nsswitch.c (__nss_database_custom): Define new variable.
3744 (__nss_configure_lookup): Set appropriate entry in
3745 __nss_configure_lookup to true.
3746 * nss/nsswitch.h: Define enum with indeces of databases in
3747 databases and __nss_database_custom arrays. Declare
3748 __nss_database_custom.
3749 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
3750 to avoid using nscd when custom rules are installed.
3751 * nss/getXXbyYY_r.c: Likewise.
3752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3753
3754 * nss/nss_files/files-parse.c: Whitespace fixes.
3755
f15ce4d8
UD
37562010-08-09 Ulrich Drepper <drepper@redhat.com>
3757
3758 [BZ #11883]
3759 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
3760 * posix/fnmatch_loop.c: Likewise.
3761
d22e4cc9
AK
37622010-07-17 Andi Kleen <ak@linux.intel.com>
3763
3764 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
3765 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
3766 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
3767 * Versions.def [GLIBC_2.13]: Add.
3768
805bc17d
UD
37692010-08-06 Ulrich Drepper <drepper@redhat.com>
3770
3771 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3772 Also fail if tpwd after pwuid call is NULL.
3773
5a42321d
ST
37742010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3775
3776 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
3777 when converting to ms.
3778
fd3ebeda
ST
37792010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3780
3781 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
3782 EOPNOTSUPP errors with ENOTTY.
3783 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
3784 EOPNOTSUPP errors with ENOTTY.
3785
73507d3a
UD
37862010-07-31 Ulrich Drepper <drepper@redhat.com>
3787
3788 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3789 Add strcasecmp_l-ssse3.
3790 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
3791 strcasecmp.
3792 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
3793 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
3794 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
3795
fe36dd02
UD
37962010-07-30 Ulrich Drepper <drepper@redhat.com>
3797
66f6765a
UD
3798 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
3799
42e08a54
UD
3800 * string/Makefile (strop-tests): Add strcasecmp.
3801 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3802 strcasecmp_l-nonascii.
3803 (gen-as-const-headers): Add locale-defines.sym.
3804 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
3805 * sysdeps/x86_64/strcasecmp.S: New file.
3806 * sysdeps/x86_64/strcasecmp_l.S: New file.
3807 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
3808 * sysdeps/x86_64/locale-defines.sym: New file.
3809 * string/test-strcasecmp.c: New file.
3810
fe36dd02
UD
3811 * string/test-strcasestr.c: Test both ends of the range of characters.
3812 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
3813
48cbc0d6
RM
38142010-07-29 Roland McGrath <roland@redhat.com>
3815
76e6d6bc 3816 [BZ #11856]
48cbc0d6
RM
3817 * manual/locale.texi (Yes-or-No Questions): Fix example code.
3818
880113d9
UD
38192010-07-27 Ulrich Drepper <drepper@redhat.com>
3820
3821 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
3822 for ld.so.
3823
deb9cabb
AS
38242010-07-27 Andreas Schwab <schwab@redhat.com>
3825
3826 * manual/memory.texi (Malloc Tunable Parameters): Document
3827 M_PERTURB.
3828
1c7570ff
RM
38292010-07-26 Roland McGrath <roland@redhat.com>
3830
3831 [BZ #11840]
3832 * configure.in (-fgnu89-inline check): Set and substitute
3833 gnu89_inline, not libc_cv_gnu89_inline.
3834 * configure: Regenerated.
3835 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
3836
24fb0f88
UD
38372010-07-26 Ulrich Drepper <drepper@redhat.com>
3838
3839 * string/test-strnlen.c: New file.
3840 * string/Makefile (strop-tests): Add strnlen.
3841 * string/tester.c (test_strnlen): Add a few more test cases.
3842 * string/tst-strlen.c: Better error reporting.
3843
3844 * sysdeps/x86_64/strnlen.S: New file.
3845
8e96b93a
UD
38462010-07-24 Ulrich Drepper <drepper@redhat.com>
3847
3848 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
3849 lower-latency instructions.
3850
dbc676d4
UD
38512010-07-23 Ulrich Drepper <drepper@redhat.com>
3852
3853 * string/test-strcasestr.c: New file.
3854 * string/test-strstr.c: New file.
3855 * string/Makefile (strop-tests): Add strstr and strcasestr.
3856 * string/str-two-way.h: Don't undefine MAX.
3857 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
3858
f6a31e0e
AS
38592010-07-21 Andreas Schwab <schwab@redhat.com>
3860
3861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3862 strcasestr-nonascii.
3863 (CFLAGS-strcasestr-nonascii.c): Define.
3864 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
3865 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
3866 Remove unused attribute.
3867
5dbc3b6c
RM
38682010-07-20 Roland McGrath <roland@redhat.com>
3869
3870 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
3871 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
3872 ld.so.cache was broken. With it, there is no way to disable dsocaps
3873 like LD_HWCAP_MASK can disable hwcaps.
3874
23d101d8
EPM
38752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
3876
3877 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
3878
cc9f2e47
UD
38792010-07-16 Ulrich Drepper <drepper@redhat.com>
3880
3881 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
3882 call in strcasestr.
3883 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
3884 __strcasestr_sse42_nonascii.
3885 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
3886 strcasestr-nonascii.c.
3887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
3888
77c1b069
LM
38892010-06-15 Luis Machado <luisgpm@br.ibm.com>
3890
3891 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
3892 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
3893 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
3894 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
3895
440566c3
UD
38962010-07-09 Ulrich Drepper <drepper@redhat.com>
3897
3898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
3899 fcntl.
3900
5be9d05d
AS
39012010-07-06 Andreas Schwab <schwab@redhat.com>
3902
c30b7ee2 3903 [BZ #11577]
5be9d05d
AS
3904 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
3905 dl_signal_cerror.
3906
8a492a67
UD
39072010-07-06 Ulrich Drepper <drepper@redhat.com>
3908
3909 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
3910 _PC_PIPE_BUF using F_GETPIPE_SZ.
3911
713df3d5
RM
39122010-07-05 Roland McGrath <roland@redhat.com>
3913
3914 * manual/arith.texi (Rounding Functions): Fix rint description
3915 implicit in round description.
3916
702e8f14
UD
39172010-07-02 Ulrich Drepper <drepper@redhat.com>
3918
3919 * elf/Makefile: Fix linking for a few tests to make recent linker
3920 happy.
3921
52ed8be9
AS
39222010-06-30 Andreas Schwab <schwab@redhat.com>
3923
3924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3925 $(common-objpfx)libc_nonshared.a.
3926
f47c9a11
LM
39272010-06-21 Luis Machado <luisgpm@br.ibm.com>
3928
3929 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
3930 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
3931 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
3932 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
3933 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
3934 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
3935 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
3936 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
3951 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
3952 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
3953 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
3954 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
3955 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
3956 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
3957 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
3958 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
3959 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
3960 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
3961 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
3962 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
3977
6fb8cbcb
L
39782010-06-25 H.J. Lu <hongjiu.lu@intel.com>
3979
3980 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
3981 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
3982 * string/memmove.c (memmove): Renamed to ...
3983 (MEMMOVE): ...this. Default to memmove.
3984 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
3985 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
3986 (END_CHK): Define.
3987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3988 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
3989 mempcpy-ssse3-back memmove-ssse3-back.
3990 * sysdeps/x86_64/multiarch/bcopy.S: New file .
3991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
3992 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
3993 * sysdeps/x86_64/multiarch/memcpy.S: New file.
3994 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
3995 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
3996 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
3997 * sysdeps/x86_64/multiarch/memmove.c: New file.
3998 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
3999 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
4000 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
4001 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
4002 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
4003 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
4004 Define.
4005 (index_Fast_Copy_Backward): Define.
4006 (HAS_ARCH_FEATURE): Define.
4007 (HAS_FAST_REP_STRING): Define.
4008 (HAS_FAST_COPY_BACKWARD): Define.
4009
4e733bac 40102010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
4011
4012 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4013 Restore proper fallback handling.
4014
63c4ed22
UD
40152010-06-19 Ulrich Drepper <drepper@redhat.com>
4016
ac2b484c
UD
4017 [BZ #11701]
4018 * posix/group_member.c (__group_member): Correct checking loop.
4019
63c4ed22
UD
4020 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
4021 OOM in getpwuid_r correctly. Return error number when the caller
4022 should return, otherwise -1.
4023 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
4024 call returning > 0 value.
4025 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
4026
765ade4b
AS
40272010-06-07 Andreas Schwab <schwab@redhat.com>
4028
4029 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
4030 libc_nonshared.a from targets in modules-names.
4031
80da2e09
KS
40322010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
4033
4034 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
4035 requires it.
4036
158db122
LM
40372010-06-10 Luis Machado <luisgpm@br.ibm.com>
4038
4039 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
4040 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
4041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
4042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
4043
caa78cf8
AS
40442010-06-02 Andreas Schwab <schwab@redhat.com>
4045
4046 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
4047
b2ef2c01
UD
40482010-06-14 Ulrich Drepper <drepper@redhat.com>
4049
4050 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
4051 and F_GETPIPE_SZ.
4052 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4056 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4057 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
4058
fbd643b6
RM
40592010-06-14 Roland McGrath <roland@redhat.com>
4060
4061 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
4062
f32f2869
JJ
40632010-06-07 Jakub Jelinek <jakub@redhat.com>
4064
4065 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
4066 __REDIRECT followed by __THROW.
4067 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
4068 * posix/getopt.h (getopt): Likewise.
4069
2a50c078
EPM
40702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
4071
4072 * hurd/lookup-at.c (__file_name_lookup_at): Accept
4073 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
4074 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
4075 in AT_FLAGS.
4076 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
4077 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
4078
eb5ad2eb
LM
40792010-05-28 Luis Machado <luisgpm@br.ibm.com>
4080
4081 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
4082
3c88fe1e
L
40832010-05-26 H.J. Lu <hongjiu.lu@intel.com>
4084
4085 [BZ #11640]
4086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4087 Properly check family and model.
4088
d2f73151
TY
40892010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
4090
4091 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
4092
ebd2e13d
LM
40932010-05-24 Luis Machado <luisgpm@br.ibm.com>
4094
4095 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
4096
b32b8b45
UD
40972010-05-21 Ulrich Drepper <drepper@redhat.com>
4098
4099 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
4100 symbol reference.
4101
9acbe24d
AS
41022010-05-19 Andreas Schwab <schwab@redhat.com>
4103
4104 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
4105 symbol reference.
4106
f0ccf6ea
AS
41072010-05-21 Andreas Schwab <schwab@redhat.com>
4108
3d04ff3a
AS
4109 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
4110 and internal_recvmmsg.
4111 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
4112 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
4113 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
4114 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
4115
f0ccf6ea
AS
4116 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
4117 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4118 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4119
5b08ac57
AS
41202010-05-20 Andreas Schwab <schwab@redhat.com>
4121
4122 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
4123
4828935d
LM
41242010-05-17 Luis Machado <luisgpm@br.ibm.com>
4125
4126 POWER7 optimizations.
4127 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
4128 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
4129
373d545e
UD
41302010-05-19 Ulrich Drepper <drepper@redhat.com>
4131
4132 * version.h: Update for 2.13 development version.
4133
21a2b1ae
AS
41342010-05-12 Andrew Stubbs <ams@codesourcery.com>
4135
4136 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
4137 exceptions. Return 0.
4138
3f7dcb2b
RM
41392010-05-07 Roland McGrath <roland@redhat.com>
4140
4141 * elf/ldconfig.c (main): Add a const.
4142
5f24d53a 41432010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 4144
a160f8d8
UD
4145 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
4146 (args_options): Add no-idn option.
4147 (ahosts_keys_int): Add idn_flags to ai_flags.
4148 (parse_option): Handle 'i' option to clear idn_flags.
4149
5f24d53a
UD
4150 * malloc/malloc.c (_int_free): Possible race in the most recently
4151 added check. Only act on the data if no current modification
4152 happened.
265bb1ce
UD
4153
4154See ChangeLog.17 for earlier changes.