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