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