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