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