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