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