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