]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix handling of initgroups database.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a9e836b0
UD
12011-06-15 Ulrich Drepper <drepper@gmail.com>
2
c41af17e
UD
3 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
4 (internal_getgrouplist): Adjust to name change.
5 Update use_initgroups_entry if this is not the first call.
6 * nss/databases.def: Add initgroups entry.
7
a9e836b0
UD
8 * nss/makedb.c (compute_tables): Check result of multiple hash table
9 sizes to minimize maximum chain length.
10
2666d441
UD
112011-06-14 Ulrich Drepper <drepper@gmail.com>
12
13 * Versions.def: Add entry for libnss_db.
14 * shlib-versions: Likewise.
15 * nss/Makefile: Add rules to build libnss_db.
16 * nss/Versions: Add libnss_db information. Organize libnss_files
17 entries better.
18 * nss/db-Makefile: Add gshadow support. Change rules for the new
19 makedb progra. Some minor improvements to generate smaller files.
20 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21 here from...
22 * nss/makedb.c: ...here.
23 Improve database format to be smaller and require less memory at
24 runtime.
25 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26 db anymore.
27 * nss/nss_db/db-netgrp.c: Likewise.
28 * nss/nss_db/db-open.c: Likewise.
29 * nss/nss_files/flies-XXX.x: Adjust comments.
30 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31 * nss/nss_files/files-grp.c: Likewise.
32 * nss/nss_files/files-hosts.c: Likewise.
33 * nss/nss_files/files-network.c: Likewise.
34 * nss/nss_files/files-proto.c: Likewise.
35 * nss/nss_files/files-pwd.c: Likewise.
36 * nss/nss_files/files-rpc.c: Likewise.
37 * nss/nss_files/files-service.c: Likewise.
38 * nss/nss_files/files-sgrp.c: Likewise.
39 * nss/nss_files/files-spwd.c: Likewise.
40 * nss/nss_db/db-alias.c: Removed.
41 * nss/nss_db/dummy-db.h: Removed.
42
9ee76b5a
UD
432011-06-02 Ulrich Drepper <drepper@gmail.com>
44
45 * nss/makedb.c: Rewritten to not use database library.
46 * nss/Makefile: Update to build new makedb program.
47
c71ca1f8
AJ
482011-06-14 Andreas Jaeger <aj@suse.de>
49
50 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51 memset declaration.
52
3154bfb8
UD
532011-06-10 Andreas Schwab <schwab@redhat.com>
54
55 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56 tmpbuf.
57
b350afab
RM
582011-06-10 Roland McGrath <roland@hack.frob.com>
59
decd4e50
RM
60 * Makerules (shlib.lds): Fail if the linker script comes out empty.
61 * elf/Makefile ($(objpfx)ld.so): Likewise.
62
5615eaf2
RM
63 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
64 Don't list ld.so twice in dependencies.
65
66 * posix/bug-regex31.c: Include <stdlib.h>.
67
68 * nscd/hstcache.c (cache_addhst): Remove unused variable.
69
70 * nis/nss_compat/compat-spwd.c
71 (getspent_next_nss_netgr): Remove unused variable.
72 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73
74 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75 nonmembers" output to use the right array.
76
77 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78
79 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80
81 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83 * catgets/gencat.c (read_input_file): Likewise.
84 * locale/programs/locarchive.c (enlarge_archive): Likewise.
85
86 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87 variable definition inside #if's controlling its use.
88
89 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
90
91 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92
93 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
94
95 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
96 unreachable code.
97
98 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
99
b68e08db
RM
100 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
101 * configure: Regenerated.
102
b350afab
RM
103 * Makerules: Revert last change.
104 * elf/Makefile: Likewise.
105
28368601
RM
1062011-06-09 Roland McGrath <roland@hack.frob.com>
107
108 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
109 * elf/Makefile ($(objpfx)librtld.os): Likewise.
110 (reloc-link): Likewise.
111
11988f8f
UD
1122011-06-09 Ulrich Drepper <drepper@gmail.com>
113
114 * elf/Makefile: Add rules to build pldd.
115 * elf/pldd.c: New file.
116 * elf/pldd-xx.c: New file.
117
e80fab37
UD
1182011-06-07 Ulrich Drepper <drepper@gmail.com>
119
120 * version.h: Update for 2.15 development version.
121
9b849836
DM
1222011-06-07 David S. Miller <davem@davemloft.net>
123
124 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
125 ifuncs.
126 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
127 elf_machine_lazy_rel): Likewise.
128 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
129 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
130 elf_machine_lazy_rel): Likewise.
131 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
132 dl_hwcap via passed in argument.
133 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
134 Likewise.
135
5a31b283
AK
1362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
137
138 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
139
069e52f8
RM
1402011-06-06 Roland McGrath <roland@hack.frob.com>
141
142 [BZ #12849]
143 * manual/fdl-1.1.texi: New file, verbatim from:
144 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
145 * manual/lgpl-2.1.texi: New file, verbatim from:
146 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
147 * manual/Makefile (licenses): New variable, list those new file names.
148 (texis): Use it.
149 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
150
151 * manual/fdl.texi: File removed.
152 * manual/lesser.texi: File removed.
153 * manual/libc.texinfo (Copying, Documentation License):
154 Use new @include file names, put @appendix directive before @include.
155
f16846a5
JJ
1562011-06-04 Jakub Jelinek <jakub@redhat.com>
157
158 [BZ #12841]
159 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
160 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
161 (mq_open): Add __NTH.
162
3d29045b
L
1632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
164
165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
166 Assume Intel Core i3/i5/i7 processor if AVX is available.
167
8c297311
UD
1682011-05-31 Ulrich Drepper <drepper@gmail.com>
169
170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
171 typo.
172
c8fc0c91
UD
1732011-05-31 Andreas Schwab <schwab@redhat.com>
174
175 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
176 memory. Use alloca_account. Fix memory leak when retrying.
177
5b27a807
UD
1782011-05-31 Ulrich Drepper <drepper@gmail.com>
179
356f8bc6
UD
180 * version.h (RELEASE): Bump for 2.14 release.
181 * include/features.h (__GLIBC_MINOR__): Bump to 14.
182
5b27a807
UD
183 * config.make.in (RANLIB): Remove entry.
184
01f16ab0
UD
1852011-05-30 Ulrich Drepper <drepper@gmail.com>
186
41fce8bd
UD
187 * po/Makefile (po-sed-cmd): Add ksh to extensions.
188 (libc.pot): Work around missing support for .ksh extension in xgettext.
189
4769ae77
UD
190 [BZ #12684]
191 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
192 if both request failed.
193 (send_dg): In case of server errors clear resplen or *resplen2.
194
6b1e7d19
UD
195 [BZ #12454]
196 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
197 when there are multiple maps.
198 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
199 (_dl_fini): Remove test here.
200
01f16ab0
UD
201 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
202
b1ebd700
UD
2032011-05-29 Ulrich Drepper <drepper@gmail.com>
204
7ae22829
UD
205 [BZ #12350]
206 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
207 bit from old_res_options.
208 (gaih_inet): Likewise.
209
553149f6 210 [BZ #11099]
18a84741 211 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
212 as signed.
213
652ffab1
UD
214 * resolv/res_init.c (res_setoptions): Make the code more compact.
215
16985fd0
UD
216 [BZ #11558]
217 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
218 set RES_USEVC.
219
0464f746
UD
220 [BZ #11634]
221 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
222
7d17596c
UD
223 * malloc/malloc.h: Mark malloc hook variables as deprecated.
224
cf6bbbd7
UD
225 [BZ #11781]
226 * malloc/malloc.h: Declare malloc hook variables as volatile.
227
13f1ab36
UD
228 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
229 in last patch.
230
b1ebd700
UD
231 [BZ #11799]
232 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 233 raise in the comment.
80e2212d
UD
234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
235 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
236 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 237
ce67228d
UD
2382011-05-28 Ulrich Drepper <drepper@gmail.com>
239
8887a920
UD
240 [BZ #12811]
241 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
242 grow the buffers more if it already has to be sufficient.
243 (build_wcs_upper_buffer): Likewise.
244 * posix/regexec.c (check_matching): Likewise.
245 (clean_state_log_if_needed): Likewise.
246 (extend_buffers): Don't enlarge buffers beyond size of the input
247 buffer.
248 Patches mostly by Emil Wojak <emil@wojak.eu>.
249 * posix/bug-regex32.c: New file.
250 * posix/Makefile (tests): Add bug-regex32.
251
4f031072
UD
252 * locale/findlocale.c (_nl_find_locale): Return right away if
253 _nl_explode_name failed.
254 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
255
d0478f0c
UD
256 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
257
de81b246
UD
258 * debug/xtrace.sh: Unify messages.
259 * malloc/memusage.sh: Likewise.
260
c738465a
UD
261 [BZ #12813]
262 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
263 time symbol from vDSO. Substitute with vsyscall if not available.
264 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
265 __vdso_time.
266
f1f929d7
UD
267 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
268 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
269 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
270 Add sendmmsg and internal_sendmmsg.
271 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
272 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
273 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
274
ce67228d
UD
275 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
276 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
277 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
278
e57420c6
UD
2792011-05-27 Ulrich Drepper <drepper@gmail.com>
280
a8509ca5
UD
281 [BZ #12813]
282 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
283 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
284 available.
285 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
286 __vdso_getcpu.
287
e57420c6
UD
288 [BZ #12814]
289 * iconvdata/Makefile (tests): Add bug-iconv9.
290 * iconvdata/bug-iconv9.c: New file.
291
4d07db15
AS
2922011-05-27 Andreas Schwab <schwab@redhat.com>
293
294 [BZ #12814]
295 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
296
ea486f69
JJ
2972011-05-25 Jakub Jelinek <jakub@redhat.com>
298
299 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
300 (struct user_regs_struct): Change intcs field back to cs.
301
6f038433
UD
3022011-05-25 Ulrich Drepper <drepper@gmail.com>
303
304 * po/ja.po: Update from translation team.
305
67f86a25
UD
3062011-05-23 Ulrich Drepper <drepper@gmail.com>
307
308 [BZ #12795]
309 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
310 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
311
def7fbd6
AS
3122011-05-20 Andreas Schwab <schwab@redhat.com>
313
314 * stdlib/longlong.h: Update from GCC.
315
f50ef8f1
AS
3162011-05-23 Andreas Schwab <schwab@redhat.com>
317
318 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
319 parameter name.
320 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
321 Add parameter name.
322 (__sysconf): Pass it down.
323
de7ce8f1
UD
3242011-05-22 Ulrich Drepper <drepper@gmail.com>
325
f2962a71
UD
326 [BZ #12671]
327 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
328 some situations.
329 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
330 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
331 add in in __libc_use_alloca calls. Adjust callers.
332 (glob): Use malloc in some situations.
333
de7ce8f1
UD
334 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
335 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
336 pltexit.
337
aec84f53
UD
3382011-05-21 Ulrich Drepper <drepper@gmail.com>
339
05bb4a68
UD
340 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
341 and CLOCK_BOOTTIME_ALARM.
342
7ea72f99
UD
343 [BZ #12782]
344 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
345 is returned.
346
7e4afad5
UD
347 * string/_strerror.c (__strerror_r): Print negative errors as signed
348 numbers.
349
8e211fec
UD
350 [BZ #12777]
351 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
352 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
353 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
354
f7d82dc9
UD
355 * configure.in: Fix typo in redirection and correct removal of test
356 files in two cases.
357
cc9e536d
UD
358 [BZ #12788]
359 * locale/setlocale.c (new_composite_name): Fix test to check for
360 identical name of all categories.
361
aec84f53
UD
362 [BZ #12792]
363 * libio/filedoalloc.c (local_isatty): New function.
364 (_IO_file_doallocate): Use local_isatty.
365 * stdio-common/perror.c (perror): In case a new stream is used
366 forward the stream error.
367 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
368 error flag.
369
78e64fdc
RT
3702011-05-20 Ulrich Drepper <drepper@gmail.com>
371
34a9094f
UD
372 [BZ #11869]
373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
374 alloca.
375 * include/alloca.h (extend_alloca_account): Define.
376
78e64fdc
RT
377 [BZ #11857]
378 * posix/regex.h: Fix comments with documentation of user-accessible
379 fields after compilation and describe correct free'ing of pattern
380 after re_compile_pattern.
381 Patch by Reuben Thomas <rrt@sc3d.org>.
382
457bddfc
RA
3832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
384
385 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
386 and -mno-altivec to prevent the compiler from using Altivec and/or
387 VSX instructions when the corresponding registers are not available.
388
a4527b51
AS
3892011-05-19 Andreas Schwab <schwab@redhat.com>
390
391 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
392
ed690b2f
UD
3932011-05-19 Ulrich Drepper <drepper@gmail.com>
394
395 * libio/freopen.c (freopen): Use __dup2, not dup2.
396 * libio/freopen64.c (freopen64): Likewise.
397
8db73634
L
3982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
399
400 [BZ #12775]
401 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
402 * math/Makefile (tests): Add test-powl.
403 (CFLAGS-test-powl.c): Define.
404 * math/test-powl.c: New file.
405
0a197a9d
L
4062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
407
408 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
409
ee30c380
UD
4102011-05-17 Ulrich Drepper <drepper@gmail.com>
411
412 [BZ #11837]
413 * iconvdata/gb18030.c: Update to GB18020-2005.
414
6ce75379
UD
4152011-05-16 Ulrich Drepper <drepper@gmail.com>
416
a4b89fd8
AR
417 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
418 RE_SYNTAX_POSIX_AWK): Update to match recent development.
419 Patch by Aharon Robbins <arnold@skeeve.com>.
420
ea389b12
UD
421 [BZ #11892]
422 * stdlib/putenv.c (putenv): Don't always create copy of the variable
423 on the stack.
424
68a3f91f
UD
425 [BZ #11895]
426 * misc/pselect.c (__pselect): Handle timeout value errors hidden
427 through underflows.
428
15cc7dd1
UD
429 [BZ #12766]
430 * misc/error.c (error_at_line): Ensure file_name and old_file_name
431 point to strings before performing equality test for error_one_per_line
432 mode.
433
f3799213
UD
434 [BZ #11697]
435 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
436
d79a9c94
UD
437 [BZ #11820]
438 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
439 (struct user_fpregs_struct): Avoid __uint*_t types.
440
56e5eb46
UD
441 [BZ #6420]
442 * malloc/mtrace.c (tr_where): Add additional parameter to point to
443 symbol info. Use it instead of calling _dl_addr locally.
444 (lock_and_info): New function.
445 (tr_freehook): Call lock_and_info and pass symbol info as additional
446 parameter to tr_where.
447 (tr_mallochook): Likewise.
448 (tr_reallochook): Likewise.
449 (tr_memalignhook): Likewise.
450
6ce75379
UD
451 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
452 used and couldn't be at all thread-safe.
453
f8a3b5bf
UD
4542011-05-15 Ulrich Drepper <drepper@gmail.com>
455
94b7cc37
UD
456 * libio/freopen.c (freopen): Don't close old file descriptor
457 before the new one is opened. Instead dup the new file descriptor
458 to the old one after the new stream is created.
459 * libio/freopen64.c (freopen64): Likewise.
460 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
461 * libio/fileops.c (_IO_new_file_close_it): Handle new
462 _IO_FLAGS2_NOCLOSE flag.
463 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
464 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
465 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
466 _IO_FLAGS2_NOCLOSE flag.
467 * include/unistd.h: Add hidden_proto for dup3.
468 Define __have_dup3.
469 * io/dup3.c: Define hidden symbol.
470 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
471
bd25564e
UD
472 [BZ #7101]
473 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
474 when an incomplete long option is used.
475 * posix/tst-getopt_long1.c: New file.
476 * posix/Makefile (tests): Add tst-getopt_long1.
477
c84cfef4
UD
478 [BZ #10138]
479 * scripts/config.guess: Update from autoconf-2.68.
480 * scripts/config.sub: Likewise.
481
3b85df27
UD
482 [BZ #10157]
483 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
484 tests into ...
485 (has_cpuclock): ...this. New function.
486 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
487 macro here based on has_cpuclock code.
488
15a856b1
UD
489 [BZ #10149]
490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
491 First byte (not low byte) is now always NUL.
492 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
493
05f399e6
UD
494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
495 Use non-cancelable interfaces.
496
10a52685 497 [BZ #9809]
94ecc67d
UD
498 * locale/iso-639.def: Add entry for Sorani.
499
f8a3b5bf
UD
500 [BZ #11901]
501 * include/stdlib.h: Move include protection to the right place.
502 Define abort_msg_s. Declare __abort_msg with it.
503 * stdlib/abort.c (__abort_msg): Adjust type.
504 * assert/assert.c (__assert_fail_base): New function. Majority
505 of code from __assert_fail. Allocate memory for __abort_msg with
506 mmap.
507 (__assert_fail): Now call __assert_fail_base.
508 * assert/assert-perr.c: Remove bulk of implementation. Use
509 __assert_fail_base.
510 * include/assert.hL Declare __assert_fail_base.
511 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
512 mmap.
513 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
514
1af4e298
UD
5152011-05-14 Ulrich Drepper <drepper@gmail.com>
516
f8a3b5bf 517 [BZ #11952]
d26dfc60
MG
518 [BZ #12453]
519 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
520 until all modules are registered in the DTV.
521 * elf/Makefile: Add rules to build and run tst-tls19.
522 * elf/tst-tls19.c: New file.
523 * elf/tst-tls19mod1.c: New file.
524 * elf/tst-tls19mod2.c: New file.
525 * elf/tst-tls19mod3.c: New file.
526 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
527
2fc54d6f
UD
528 [BZ #12083]
529 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
530 correctly.
531
98d76b46
UD
532 [BZ #12601]
533 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
534 two-byte sequence errors.
535 * iconvdata/Makefile (tests): Add bug-iconv8.
536 * iconvdata/bug-iconv8.c: New file.
537
da3c19ef
UD
538 [BZ #12626]
539 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
540 buf2 definition.
541
ca408c15
UD
542 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
543
d6f67f7d
UD
544 [BZ #12432]
545 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
546 (dummy_getcfa): New function.
547 (init): Get _Unwind_GetCFA address, use dummy if not found.
548 (backtrace_helper): In recursion check, also check whether CFA changes.
549 (__backtrace): Completely initialize arg.
550
1af4e298 551 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
552 storing incomplete byte sequence in state object. Avoid testing for
553 guaranteed too small input if we know there is enough data available.
1af4e298 554
da62f81b
AS
5552011-05-11 Andreas Schwab <schwab@redhat.com>
556
557 * Makeconfig (+link-pie): Indent.
558 * Rules (binaries-pie): Define if $(have-fpie) and
559 $(build-shared).
560 (binaries-shared): Also filter out $(binaries-pie).
561 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
562 * nscd/Makefile (others-pie): Add nscd.
563 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
564 ($(objpfx)nscd): Remove command override.
565 * login/Makefile (others-pie): Add pt_chown.
566 ($(objpfx)pt_chown): Remove command override.
567 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
568 remove command overrides.
569
fcabc0f8
UD
5702011-05-13 Ulrich Drepper <drepper@gmail.com>
571
20030ae6
UD
572 * libio/tst_putwc.c: Fix error messages.
573
fcabc0f8
UD
574 [BZ #12724]
575 * libio/fileops.c (_IO_new_file_close_it): Always flush when
576 currently writing and seek to current position when not.
577 * libio/Makefile (tests): Add bug-fclose1.
578 * libio/bug-fclose1.c: New file.
579
320a5dc0
PB
5802011-05-12 Ulrich Drepper <drepper@gmail.com>
581
582 [BZ #12511]
583 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
584 don't set DF_1_NODELETE here.
585 (do_lookup_x): When entering new entry test for copy relocation
586 and if necessary set DF_1_NODELETE flag.
587 * elf/tst-unique4.cc: New file.
588 * elf/tst-unique4.h: New file.
589 * elf/tst-unique4lib.cc: New file.
590 * elf/Makefile: Add rules to build and run tst-unique4.
591 Patch by Piotr Bury <pbury@goahead.com>.
592
22836f52
UD
5932011-05-11 Ulrich Drepper <drepper@gmail.com>
594
f574184a
UD
595 [BZ #12052]
596 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
597
e1fb097f
UD
598 [BZ #12625]
599 * misc/mntent_r.c (addmntent): Flush the stream after the output
600
22836f52
UD
601 [BZ #12393]
602 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
603 (is_trusted_path_normalize): Skip initial colon. Append slash
604 to empty buffer. Duplicate is_trusted_path code but allow
605 constructed patch to be prefix.
606 (is_dst): Allow $ORIGIN followed by /.
607 (_dl_dst_substitute): Correct clearing of check_for_trusted.
608 Correct testing of result of is_trusted_path_normalize
609 (decompose_rpath): Fix warning.
610
7b3b0b2a
UD
6112011-05-10 Ulrich Drepper <drepper@gmail.com>
612
613 [BZ #11257]
614 * grp/initgroups.c (internal_getgrouplist): When we found the service
615 list through the initgroups entry in nsswitch.conf do not always
616 continue on a successful lookup. Don't always use the
eac80ce2 617 __nss_group_database value if it is set.
7b3b0b2a
UD
618 * nss/nsswitch.conf (initgroups): Change action for successful db
619 lookup to continue for compatibility.
620
2a81eaa5
UD
6212011-05-09 Ulrich Drepper <drepper@gmail.com>
622
be97a69e
UD
623 [BZ #11532]
624 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
625 and CP774 modules.
626 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
627 and CP774 modules.
628 * iconvdata/tst-tables.sh: Likewise.
629 * iconvdata/cp770.c: New file.
630 * iconvdata/cp771.c: New file.
631 * iconvdata/cp772.c: New file.
632 * iconvdata/cp773.c: New file.
633 * iconvdata/cp774.c: New file.
634 * iconvdata/testdata/CP770: New file.
635 * iconvdata/testdata/CP770..UTF8: New file.
636 * iconvdata/testdata/CP771: New file.
637 * iconvdata/testdata/CP771..UTF8: New file.
638 * iconvdata/testdata/CP772: New file.
639 * iconvdata/testdata/CP772..UTF8: New file.
640 * iconvdata/testdata/CP773: New file.
641 * iconvdata/testdata/CP773..UTF8: New file.
642 * iconvdata/testdata/CP774: New file.
643 * iconvdata/testdata/CP774..UTF8: New file.
644
645 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
646 END CHARMAP line.
647 * iconvdata/gen-8bit-gap.sh: Likewise.
648 * iconvdata/gen-8bit.sh: Likewise.
649
c1e9e399
UD
650 * locale/iso-639.def: Add ary entry.
651
24c55fb3 652 [BZ #11258]
96b4b1b0
UD
653 * locale/C-translit.h.in: Add U20A1 transliteration.
654
bdc2f971
KB
655 [BZ #12178]
656 * locale/iso-639.def: Add wae entry.
657 Patch by Kevin Bortis <bortis@translate-wae.ch>.
658
2952b117
UD
659 [BZ #12545]
660 * locale/programs/localedef.c (construct_output_path): Use ssize_t
661 for n.
662
2a81eaa5
UD
663 [BZ #12711]
664 * locale/C-translit.h.in: Add entry for U20B9.
665 Patch by pravin.d.s@gmail.com.
666
28377d1b
UD
6672011-05-08 Ulrich Drepper <drepper@gmail.com>
668
7fb90fb8
UD
669 [BZ #12713]
670 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
671 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
672 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
673 in rtld. Use *stat64.
7fb90fb8 674 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 675 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 676 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
677 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
678 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
679 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
680 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
681 __fstatat64 macros.
7fb90fb8
UD
682 * include/dirent.h: Add libc_hidden_proto for rewinddir.
683 * dirent/rewinddir.c: Add libc_hidden_def.
684 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 685 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 686
28377d1b
UD
687 * include/dirent.h (__alloc_dir): Add flags parameter.
688 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
689 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
690 __alloc_dir.
691 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
692 from fdopendir if O_CLOEXEC is already set.
693
66bdbaa4
AM
6942011-03-15 Alan Modra <amodra@gmail.com>
695
696 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
697 l_tls_firstbyte_offset non-zero. Save padding offset in
698 l_tls_firstbyte_offset for later use.
699 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
700 freeing static tls block.
701
95721191
JN
7022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
703
704 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
705 where #ifdef was intended. The intent is to prevent ARG_MAX from
706 being defined by the kernel headers.
707
f87dfb1f
UD
7082011-05-07 Ulrich Drepper <drepper@gmail.com>
709
710 [BZ #12734]
711 * resolv/resolv.h: Define RES_NOTLDQUERY.
712 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
713 no-tld-query and set RES_NOTLDQUERY.
714 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
715 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
716 modern BIND to search name as TLD unless forbidden.
717
47c3cd7a
UD
7182011-05-07 Petr Baudis <pasky@suse.cz>
719 Ulrich Drepper <drepper@gmail.com>
720
721 [BZ #12393]
722 * elf/dl-load.c (fillin_rpath): Move trusted path check...
723 (is_trusted_path): ...to here.
c1e9ea35 724 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 725 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 726 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 727
8a35c912
PP
7282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
729
730 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
731 __BEGIN/__END_DECLS.
732
acd41f47
UD
7332011-05-06 Ulrich Drepper <drepper@gmail.com>
734
735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
736 NSS_STATUS_NOTFOUND if no record was found.
737
597df647
AS
7382011-05-05 Andreas Schwab <schwab@redhat.com>
739
740 * sunrpc/Makefile (headers): Add rpc/netdb.h.
741 (headers-not-in-tirpc): Remove rpc/netdb.h
742 * resolv/netdb.h: Revert last change.
743
b9af1301
PP
7442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
745
746 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
747 circular dependency between libgcc.a and libc.a.
748
4e34d5f5
AS
7492011-05-05 Andreas Schwab <schwab@redhat.com>
750
751 * resolv/netdb.h: Don't include <rpc/netdb.h>.
752 * nis/Makefile: Don't install rpcsvc/*.
753 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
754 instead of <rpc/types.h>.
755 (MAXHOSTNAMELEN): Define.
756
00ee369c
AS
7572011-05-03 Andreas Schwab <schwab@redhat.com>
758
759 * elf/ldconfig.c (add_dir): Don't crash on empty path.
760
0b592a30
MB
7612011-04-28 Maciej Babinski <mbabinski@google.com>
762
763 [BZ #12714]
764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
765 gethostbyname4_r when IPv6 results are possible.
766
6e04cbbe
UD
7672011-05-02 Ulrich Drepper <drepper@gmail.com>
768
769 [BZ #12723]
770 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
771 _PC_PIPE_BUF handling.
772
e4ecafe0
BH
7732011-04-30 Bruno Haible <bruno@clisp.org>
774
775 [BZ #12717]
776 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
777 * resolv/netdb.h (getnameinfo): Change type of flags parameter
778 to 'int'.
779 * inet/getnameinfo.c (getnameinfo): Likewise.
780
125ee683
UD
7812011-04-29 Ulrich Drepper <drepper@gmail.com>
782
783 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
784 to groups setting in database lookup.
785 * nss/nsswitch.conf: Add initgroups entry.
786
b722481a
EB
7872011-04-22 Ulrich Drepper <drepper@gmail.com>
788
789 [BZ #12685]
790 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
791 mode string.
792 Patch by Eric Blake <eblake@redhat.com>.
793
4df46dbd
L
7942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
795
796 * sunrpc/Makefile (need-export-routines): Add svc_run.
797 (routines): Remove svc_run.
798 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
799 * sunrpc/clnt_perr.c (clnt_perrno): Export.
800 * sunrpc/svc_run.c (svc_run): Likewise.
801 * sunrpc/svc_udp.c (svcudp_create): Likewise.
802
e84142d2
UD
8032011-04-21 Ulrich Drepper <drepper@gmail.com>
804
805 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
806 problem in reallocation in last patch.
807
877175d8
UD
8082011-04-20 Ulrich Drepper <drepper@gmail.com>
809
810 * sunrpc/Makefile: Move inclusion of Rules.
811
ab8eed78
UD
8122011-04-19 Ulrich Drepper <drepper@gmail.com>
813
814 * nss/nss_files/files-initgroups.c: New file.
815 * nss/Makefile (libnss_files-routines): Add files-initgroups.
816 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
817 _nss_files_initgroups_dyn.
818
e3d8f584
RS
8192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
820
821 * elf/elf.h (R_ARM_IRELATIVE): Define.
822
af190f45
UD
8232011-04-19 Ulrich Drepper <drepper@gmail.com>
824
825 * po/ru.po: Update from translation team.
826
53cf59ef
UD
8272011-04-17 Ulrich Drepper <drepper@gmail.com>
828
829 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
830 dependencies.
831
4c559bcd
MF
8322011-02-06 Mike Frysinger <vapier@gentoo.org>
833
834 [BZ #12653]
835 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
836 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
838 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
839 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
840
4420675c
AS
8412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
842
843 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
844 differing bytes.
845 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
846 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
847 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
848
75ea32ab
UD
8492011-04-17 Ulrich Drepper <drepper@gmail.com>
850
851 [BZ #12420]
852 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
853 storing it.
854 * stdlib/bug-getcontext.c: New file.
855 * stdlib/Makefile: Add rules to build and run bug-getcontext.
856
27390476
AK
8572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
858
859 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
860 instructions into .machine "z9-109".
861 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
862 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
863
10442705
AK
8642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
865
866 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
867 between environment variables and auxiliary vector.
868
7b57bfe5
UD
8692011-04-16 Ulrich Drepper <drepper@gmail.com>
870
871 * Makefile: Add rules to build linkobj/libc.so.
872 * include/libc-symbols.h: Define libc_hidden_nolink.
873 * include/rpc/auth.h: Mark functions which are to be hidden.
874 * include/rpc/auth_des.h: Likewise.
875 * include/rpc/auth_unix.h: Likewise.
876 * include/rpc/clnt.h: Likewise.
877 * include/rpc/des_crypt.h: Likewise.
878 * include/rpc/key_prot.h: Likewise.
879 * include/rpc/pmap_clnt.h: Likewise.
880 * include/rpc/pmap_prot.h: Likewise.
881 * include/rpc/pmap_rmt.h: Likewise.
882 * include/rpc/rpc_msg.h: Likewise.
883 * include/rpc/svc.h: Likewise.
884 * include/rpc/svc_auth.h: Likewise.
885 * include/rpc/xdr.h: Likewise.
886 * nis/Makefile: Link all DSOs against linkobj/libc.so.
887 * nss/Makefile: Likewise.
888 * sunrpc/Makefile: Don't install headers. Build library with normal
889 entry points. Don't build rpcinfo. Link RPC tests appropriately.
890 * sunrpc/auth_des.c: Hide exported symbols by default, export some
891 for the compat linking library. Remove use of INTDEF/INTUSE.
892 * sunrpc/auth_none.c: Likewise.
893 * sunrpc/auth_unix.c: Likewise.
894 * sunrpc/authdes_prot.c: Likewise.
895 * sunrpc/authuxprot.c: Likewise.
896 * sunrpc/clnt_gen.c: Likewise.
897 * sunrpc/clnt_perr.c: Likewise.
898 * sunrpc/clnt_raw.c: Likewise.
899 * sunrpc/clnt_simp.c: Likewise.
900 * sunrpc/clnt_tcp.c: Likewise.
901 * sunrpc/clnt_udp.c: Likewise.
902 * sunrpc/clnt_unix.c: Likewise.
903 * sunrpc/des_crypt.c: Likewise.
904 * sunrpc/des_soft.c: Likewise.
905 * sunrpc/get_myaddr.c: Likewise.
906 * sunrpc/key_call.c: Likewise.
907 * sunrpc/key_prot.c: Likewise.
908 * sunrpc/netname.c: Likewise.
909 * sunrpc/pm_getmaps.c: Likewise.
910 * sunrpc/pm_getport.c: Likewise.
911 * sunrpc/pmap_clnt.c: Likewise.
912 * sunrpc/pmap_prot.c: Likewise.
913 * sunrpc/pmap_prot2.c: Likewise.
914 * sunrpc/pmap_rmt.c: Likewise.
915 * sunrpc/publickey.c: Likewise.
916 * sunrpc/rpc_cmsg.c: Likewise.
917 * sunrpc/rpc_common.c: Likewise.
918 * sunrpc/rpc_dtable.c: Likewise.
919 * sunrpc/rpc_prot.c: Likewise.
920 * sunrpc/rpc_thread.c: Likewise.
921 * sunrpc/rtime.c: Likewise.
922 * sunrpc/svc.c: Likewise.
923 * sunrpc/svc_auth.c: Likewise.
924 * sunrpc/svc_authux.c: Likewise.
925 * sunrpc/svc_raw.c: Likewise.
926 * sunrpc/svc_run.c: Likewise.
927 * sunrpc/svc_simple.c: Likewise.
928 * sunrpc/svc_tcp.c: Likewise.
929 * sunrpc/svc_udp.c: Likewise.
930 * sunrpc/svc_unix.c: Likewise.
931 * sunrpc/svcauth_des.c: Likewise.
932 * sunrpc/xcrypt.c: Likewise.
933 * sunrpc/xdr.c: Likewise.
934 * sunrpc/xdr_array.c: Likewise.
935 * sunrpc/xdr_float.c: Likewise.
936 * sunrpc/xdr_intXX_t.c: Likewise.
937 * sunrpc/xdr_mem.c: Likewise.
938 * sunrpc/xdr_rec.c: Likewise.
939 * sunrpc/xdr_ref.c: Likewise.
940 * sunrpc/xdr_sizeof.c: Likewise.
941 * sunrpc/xdr_stdio.c: Likewise.
942
e6c61494
UD
9432011-04-10 Ulrich Drepper <drepper@gmail.com>
944
945 [BZ #12650]
946 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
947 * sysdeps/ia64/dl-tls.h: Likewise.
948 * sysdeps/powerpc/dl-tls.h: Likewise.
949 * sysdeps/s390/dl-tls.h: Likewise.
950 * sysdeps/sh/dl-tls.h: Likewise.
951 * sysdeps/sparc/dl-tls.h: Likewise.
952 * sysdeps/x86_64/dl-tls.h: Likewise.
953 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
954
34fe483e
AS
9552011-03-14 Andreas Schwab <schwab@redhat.com>
956
957 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
958 rpath element also skip the following colon.
959 (expand_dynamic_string_token): Add is_path parameter and pass
960 down to DL_DST_REQUIRED and _dl_dst_substitute.
961 (decompose_rpath): Call expand_dynamic_string_token with
962 non-zero is_path. Ignore empty rpaths.
963 (_dl_map_object_from_fd): Call expand_dynamic_string_token
964 with zero is_path.
965
f12a32e6
AS
9662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
967
968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
969 Make cancelable.
970
38a7d692
UD
9712011-04-09 Ulrich Drepper <drepper@gmail.com>
972
973 [BZ #12655]
974 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
975 Patch by Filipe David Manana <fdmanana@apache.org>.
976
e451d22b
AS
9772011-04-07 Andreas Schwab <schwab@redhat.com>
978
979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
980 Maintain aligned stack.
981 (CHECK_RSP): Remove unused macro.
982
dedc7c7b
UD
9832011-04-03 Ulrich Drepper <drepper@gmail.com>
984
985 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
986 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
987
94521213
UD
9882011-04-02 Ulrich Drepper <drepper@gmail.com>
989
990 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
991
8cb700c0 992 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 993
0354e355
L
9942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
995
996 [BZ #12518]
997 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
998 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
999 * sysdeps/x86_64/memmove.c: New file.
1000 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
1001 (memcpy): Renamed to ...
1002 (__new_memcpy): This.
1003 (memcpy): Provide GLIBC_2_14 memcpy.
1004 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
1005 (memcpy): Provide GLIBC_2_2_5 memcpy.
1006
8593482f
UD
10072011-04-01 Ulrich Drepper <drepper@gmail.com>
1008
1009 [BZ #12631]
1010 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
1011
81a5726b
AS
10122011-03-30 Andreas Schwab <schwab@redhat.com>
1013
1014 * misc/syncfs.c: New file.
1015 * misc/Makefile (routines): Add syncfs.
1016 * posix/unistd.h: Declare syncfs.
1017 * sysdeps/unix/syscalls.list: Add syncfs.
1018
00e5419f
AS
10192011-04-01 Andreas Schwab <schwab@redhat.com>
1020
1021 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
1022 open_by_handle_at.
1023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1024 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1028 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1030
748876bf
UD
10312011-04-01 Ulrich Drepper <drepper@gmail.com>
1032
658e451d
UD
1033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
1034 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1039 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1040
748876bf
UD
1041 * io/Makefile: Compile fallocate.c, fallocate64.c, and
1042 sync_file_range.c with -fexceptions.
1043 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
1044 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
1045 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1046 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1047 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1048 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1049 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
1050 sync_file_range as cancellation point
1051 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
1052 now a wrapper around __call_sync_file_range with cancellation handling.
1053 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
1054 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
1055 function name to __call_sync_file_range.
1056 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
1057 Add call_sync_file_range.
748876bf 1058
6e63d5e1
AS
10592011-04-01 Andreas Schwab <schwab@redhat.com>
1060
1061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 1062 bits/timex.h.
6e63d5e1 1063
46998f74
UD
10642011-04-01 Ulrich Drepper <drepper@gmail.com>
1065
4c1423ed
UD
1066 * iconv/iconv.h: Fix typo in comment.
1067 * io/fcntl.h: Likewise.
1068 * libio/stdio.h: Likewise.
1069 * posix/spawn.h: Likewise.
1070 * posix/unistd.h: Likewise.
1071 * stdlib/stdlib.h: Likewise.
1072 * time/time.h: Likewise.
1073 * wcsmbs/wchar.h: Likewise.
1074
158648c0
UD
1075 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
1076 open_by_handle): Add.
1077 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
1078 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
1079 Augment a few comments.
1080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1085 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
1086 open_by_handle.
1087
46998f74
UD
1088 * io/fcntl.h (AT_EMPTY_PATH): Define.
1089
83fe108b
UD
10902011-03-30 Ulrich Drepper <drepper@gmail.com>
1091
1092 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
1093 * sysdeps/unix/sysv/linux/bits/time.h: New file.
1094 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
1095 to...
1096 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
1097 * Versions.def: Add GLIBC_2.14.
1098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
1099 Export.
83fe108b 1100
bb242059
UD
11012011-03-22 Ulrich Drepper <drepper@gmail.com>
1102
1103 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
1104 round counter.
1105 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
1106
c97a1282
L
11072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 [BZ #12597]
1110 * string/test-strncmp.c (do_page_test): New function.
1111 (check2): Likewise.
1112 (test_main): Call check2.
1113 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
1114
2a115601
UD
11152011-03-20 Ulrich Drepper <drepper@gmail.com>
1116
1117 [BZ #12587]
1118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
1119 Handle cache information in CPU leaf 4.
1120 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
1121
8126d904
UD
11222011-03-18 Ulrich Drepper <drepper@gmail.com>
1123
042c49c6 1124 [BZ #12583]
8126d904
UD
1125 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
1126 character representation.
1127 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
1128
ccfe366e
RA
11292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
1130
1131 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
1132 END(__isnan) to END(__isnanf) to match function entry point/label
1133 EALIGN(__isnanf,...).
1134
c6e13027
JJ
11352011-03-10 Jakub Jelinek <jakub@redhat.com>
1136
1137 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
1138
33f85a3f
UD
11392011-03-10 Ulrich Drepper <drepper@gmail.com>
1140
028478fa
UD
1141 [BZ #12510]
1142 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
1143 copy from the symbol referenced in the relocation to initialize the
1144 used variable.
1145 Patch by Piotr Bury <pbury@goahead.com>.
1146 * elf/Makefile: Add rules to build and tst-unique3.
1147 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
1148 * elf/tst-unique3.cc: New file.
1149 * elf/tst-unique3.h: New file.
1150 * elf/tst-unique3lib.cc: New file.
1151 * elf/tst-unique3lib2.cc: New file.
1152
33f85a3f
UD
1153 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
1154
03592fc7
MF
11552011-03-10 Mike Frysinger <vapier@gentoo.org>
1156
1157 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
1158 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
1159 to _start.
03592fc7 1160
6a5ee102
UD
11612011-03-06 Ulrich Drepper <drepper@gmail.com>
1162
1163 * elf/dl-load.c (_dl_map_object): If we are looking for the first
1164 to-be-loaded object along a path to loader is ld.so.
1165
7e4ba49c
HJ
11662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
1167 Ulrich Drepper <drepper@gmail.com>
1168
1169 * sysdeps/x86_64/memset.S: After aligning destination, code
1170 branches to different locations depending on the value of
1171 misalignment, when multiarch is enabled. Fix this.
1172
11732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
1174
1175 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
1176 Set _x86_64_preferred_memory_instruction for AMD processsors.
1177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1178 Set bit_Prefer_SSE_for_memop for AMD processors.
1179
13a804de
UD
11802011-03-04 Ulrich Drepper <drepper@gmail.com>
1181
1182 * libio/fmemopen.c (fmemopen): Optimize a bit.
1183
9d25c392
AS
11842011-03-03 Andreas Schwab <schwab@redhat.com>
1185
1186 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
1187
a5543c6a
RM
11882011-03-03 Roland McGrath <roland@redhat.com>
1189
1190 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
1191
012d35f7
DM
11922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
1193
7e4ba49c 1194 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
1195 __bzero_ultra1 instead of __memset_ultra1.
1196
4bff6e01
AS
11972011-02-23 Andreas Schwab <schwab@redhat.com>
1198 Ulrich Drepper <drepper@gmail.com>
1199
1200 [BZ #12509]
1201 * include/link.h (struct link_map): Add l_orig_initfini.
1202 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
1203 returning unsuccessfully.
1204 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
1205 close of a file loaded at startup, restore the original l_initfini
1206 list.
1207 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
1208 list, store the pointer.
1209 * elf/Makefile ($(objpfx)noload-mem): New rule.
1210 (noload-ENV): Define.
1211 (tests): Add $(objpfx)noload-mem.
1212 * elf/noload.c: Include <memcheck.h>.
1213 (main): Call mtrace. Close all opened handles.
1214
f2092faf
AS
12152011-02-17 Andreas Schwab <schwab@redhat.com>
1216
1217 [BZ #12454]
1218 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
1219 dependencies are missing.
1220
6c8a2e88
ST
12212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1222
f2092faf 1223 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
1224 Hurd needs munmap.
1225 * sysdeps/mach/hurd/ifreq.h: New file.
1226
84a42118
PB
12272011-01-27 Petr Baudis <pasky@suse.cz>
1228 Ulrich Drepper <drepper@gmail.com>
1229
071f805e 1230 [BZ 12445]#
84a42118
PB
1231 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
1232 to extend_alloca().
1233 * stdio-common/bug23.c: New file.
1234 * stdio-common/Makefile (tests): Add bug23.
1235
e23fe25b
AS
12362010-09-28 Andreas Schwab <schwab@redhat.com>
1237 Ulrich Drepper <drepper@gmail.com>
1238
1239 [BZ #12489]
1240 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
1241 before performing relro protection. At old place add assertion
1242 to make sure nothing changed.
1243
d3f02e10
NS
12442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
1245 Glauber de Oliveira Costa <glommer@gmail.com>
1246
1247 * elf/elf.h: Add new ARM TLS relocs.
1248
d55fd7a5
RA
12492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
1250
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1252 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
1253 cast from r3.
1254 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
1255 'tests' variable.
1256 * sysdeps/wordsize-64/tst-writev.c: New file.
1257
2206397e
RA
12582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
1259
1260 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
1261 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
1262 insns in _dl_start to prevent a TOC reference before relocs are
1263 resolved.
1264
e9433893
UD
12652011-02-15 Ulrich Drepper <drepper@gmail.com>
1266
1267 [BZ #12469]
1268 * Makeconfig: Remove RANLIB definition.
1269 * Makerules: Don't use RANLIB.
1270 * aclocal.m4: Remove ranlib test.
1271 * configure.in: No need to check for ranlib.
1272 * elf/rtld-Rules: Don't use RANLIB.
1273
f75286c6
ST
12742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1275
8e31c82d
ST
1276 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
1277 protection macro.
1278 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
1279 inclusion protection macro.
1280
f75286c6
ST
1281 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
1282 SIGRTMIN and SIGRTMAX and print information in that case only when
1283 SIGRTMIN is defined.
1284
c1d0e639
JJ
12852011-02-11 Jakub Jelinek <jakub@redhat.com>
1286
1287 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
1288 arginfo fn returning -1.
1289
1290 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
1291 and thousands string is zero terminated.
1292
edf9294e
AS
12932011-02-03 Andreas Schwab <schwab@redhat.com>
1294
1295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
1296 sysdeps/unix/sysv/linux/bits/socket.h.
1297
2b7e92df
ST
12982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1299
edf9294e
AS
1300 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
1301 (__CPU_COUNT): Remove old macros.
1302 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
1303 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
1304 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
1305 (__sched_cpualloc, __sched_cpufree): Add declarations.
1306
a4c7ea7b
UD
13072011-02-05 Ulrich Drepper <drepper@gmail.com>
1308
1309 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
1310 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
1311 * nscd/aicache.c (addhstaiX): Return timeout of added value.
1312 (readdhstai): Return value of addhstaiX call.
1313 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
1314 (addgrbyX): Return value returned by cache_addgr.
1315 (readdgrbyname): Return value returned by addgrbyX.
1316 (readdgrbygid): Likewise.
1317 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
1318 (addpwbyX): Return value returned by cache_addpw.
1319 (readdpwbyname): Return value returned by addhstbyX.
1320 (readdpwbyuid): Likewise.
1321 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
1322 (addservbyX): Return value returned by cache_addserv.
1323 (readdservbyname): Return value returned by addservbyX:
1324 (readdservbyport): Likewise.
1325 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
1326 (addhstbyX): Return value returned by cache_addhst.
1327 (readdhstbyname): Return value returned by addhstbyX.
1328 (readdhstbyaddr): Likewise.
1329 (readdhstbynamev6): Likewise.
1330 (readdhstbyaddrv6): Likewise.
1331 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
1332 (readdinitgroups): Return value returned by addinitgroupsX.
1333 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
1334 (prune_cache): Keep track of timeout value of re-added entries.
1335 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
1336 * nscd/nscd.h: Adjust prototypes of readd* functions.
1337
a0bf67cc
RM
13382011-02-04 Roland McGrath <roland@redhat.com>
1339
1340 * nis/nis_server.c (nis_servstate): Use the right name for 0.
1341 (nis_stats): Likewise.
1342 * nis/nis_modify.c (nis_modify): Likewise.
1343 * nis/nis_remove.c (nis_remove): Likewise.
1344 * nis/nis_add.c (nis_add): Likewise.
1345
1346 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
1347
1348 * posix/fnmatch_loop.c: Add some consts.
1349
1350 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
1351
435b95eb
L
13522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
1353
1354 [BZ #12460]
1355 * config.make.in (config-cflags-novzeroupper): Define.
1356 * configure.in: Substitute libc_cv_cc_novzeroupper.
1357 * elf/Makefile (AVX-CFLAGS): Define.
1358 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
1359 (CFLAGS-tst-auditmod4a.c): Likewise.
1360 (CFLAGS-tst-auditmod4b.c): Likewise.
1361 (CFLAGS-tst-auditmod6b.c): Likewise.
1362 (CFLAGS-tst-auditmod6c.c): Likewise.
1363 (CFLAGS-tst-auditmod7b.c): Likewise.
1364 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
1365
8517b15e
UD
13662011-02-02 Ulrich Drepper <drepper@gmail.com>
1367
1368 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
1369 function to the callback.
1370 Patch partly by Jiri Olsa <jolsa@redhat.com>.
1371
10a656fe
AS
13722011-02-02 Andreas Schwab <schwab@redhat.com>
1373
1374 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
1375 of errno.
1376
968dad0a
UD
13772011-01-19 Ulrich Drepper <drepper@gmail.com>
1378
9f94d2ea 1379 [BZ #11724]
968dad0a
UD
1380 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
1381 of constructors.
1382 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
1383 of destructors.
1384 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
1385
1386 [BZ #11724]
1387 * elf/Makefile: Add rules to build and run new test.
1388 * elf/tst-initorder.c: New file.
1389 * elf/tst-initorder.exp: New file.
1390 * elf/tst-initordera1.c: New file.
1391 * elf/tst-initordera2.c: New file.
1392 * elf/tst-initordera3.c: New file.
1393 * elf/tst-initordera4.c: New file.
1394 * elf/tst-initorderb1.c: New file.
1395 * elf/tst-initorderb2.c: New file.
1396 * elf/tst-order-a1.c: New file.
1397 * elf/tst-order-a2.c: New file.
1398 * elf/tst-order-a3.c: New file.
1399 * elf/tst-order-a4.c: New file.
1400 * elf/tst-order-b1.c: New file.
1401 * elf/tst-order-b2.c: New file.
1402 * elf/tst-order-main.c: New file.
1403 New test case by George Gensure <werkt0@gmail.com>.
1404
86e92359
UD
14052010-10-01 Andreas Schwab <schwab@redhat.com>
1406
1407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
1408 decoding ACE if AI_CANONIDN.
1409
5d5732b0
UD
14102011-01-18 Ulrich Drepper <drepper@gmail.com>
1411
1412 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
1413
a77e8cbc
UD
14142011-01-17 Ulrich Drepper <drepper@gmail.com>
1415
6392473f
UD
1416 * version.h (RELEASE): Bump for 2.13 release.
1417 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
1418
620a0529
UD
1419 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
1420
18ba70a5
UD
1421 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
1422 MADV_NOHUGEPAGE.
32465c3e
UD
1423 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
1424 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1425 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1426 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1427 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1429
c0dafcf1
UD
1430 * posix/getconf.c: Update copyright year.
1431 * catgets/gencat.c: Likewise.
1432 * csu/version.c: Likewise.
1433 * debug/catchsegv.sh: Likewise.
1434 * debug/xtrace.sh: Likewise.
1435 * elf/ldconfig.c: Likewise.
1436 * elf/ldd.bash.in: Likewise.
1437 * elf/sprof.c (print_version): Likewise.
1438 * iconv/iconv_prog.c: Likewise.
1439 * iconv/iconvconfig.c: Likewise.
1440 * locale/programs/locale.c: Likewise.
1441 * locale/programs/localedef.c: Likewise.
1442 * malloc/memusage.sh: Likewise.
1443 * malloc/mtrace.pl: Likewise.
1444 * nscd/nscd.c (print_version): Likewise.
1445 * nss/getent.c: Likewise.
1446
a77e8cbc
UD
1447 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
1448 PF_CAIF, and PF_ALG.
1449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1450
77e8bddf
AS
14512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
1452
1f20b93a
AS
1453 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
1454 (modules-names): Use them.
1455 (ifunc-test-modules, ifunc-pie-tests): Define.
1456 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
1457 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
1458 (test-extras): Likewise.
1459 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
1460 $(compile-command.c).
1461 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
1462 (all-built-dso): Define.
1463 (check-textrel.out, check-execstack.out): Depend on it.
1464
77e8bddf
AS
1465 * configure.in: Don't override --enable-multi-arch.
1466
bc425b33
UD
14672011-01-15 Ulrich Drepper <drepper@gmail.com>
1468
1469 [BZ #6812]
1470 * nscd/hstcache.c (tryagain): Define.
1471 (cache_addhst): Return tryagain not notfound for temporary errors.
1472 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
1473 failed.
1474
794c3ad3
UD
14752011-01-14 Ulrich Drepper <drepper@gmail.com>
1476
70181fdd
UD
1477 [BZ #10563]
1478 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
1479 to make the syscall.
1480 * sysdeps/unix/sysv/linux/setgroups.c: New file.
1481
794c3ad3
UD
1482 [BZ #12378]
1483 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
1484 and fall back to matching as normal character if the string ends before
1485 the matching ']' is found. This is what POSIX requires.
1486 * posix/testfnm.c: Adjust test result.
1487 * posix/globtest.sh: Adjust test result. Add new test.
1488 * posix/tst-fnmatch.input: Likewise.
1489 * posix/tst-fnmatch2.c: Add new test.
1490
68dc9497
AS
14912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
1492
1493 * elf/Makefile (check-execstack): Revert last change. Depend on
1494 check-execstack.h.
1495 (check-execstack.h): New target.
1496 (generated): Add check-execstack.h.
1497 * elf/check-execstack.c: Include "check-execstack.h".
1498 (main): Revert last change.
1499 (handle_file): Return zero if GNU_STACK is absent and
1500 DEFAULT_STACK_PERMS doesn't include PF_X.
1501
451f001b
UD
15022011-01-13 Ulrich Drepper <drepper@gmail.com>
1503
cfa28e56
UD
1504 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
1505 in child fails because the descriptor is already closed.
8cf8ce17
UD
1506 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
1507 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
1508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 1509
1086d70d
UD
1510 [BZ #12397]
1511 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
1512 syscall.
1513
451f001b
UD
1514 [BZ #10484]
1515 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
1516 temporary buffer used to handle multi lookups locally.
a85b5cb4 1517 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 1518
08769175
UD
15192011-01-12 Ulrich Drepper <drepper@gmail.com>
1520
1521 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
1522 loader is ld.so.
1523
5e49c52e
UD
15242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
1525
1526 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
1527 alignment for SSE2.
1528
60522a5f
UD
15292011-01-12 Ulrich Drepper <drepper@gmail.com>
1530
1531 [BZ #12394]
1532 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
1533 characters. When rounding increased number of integer digits recompute
1534 number of groups.
1535 * stdio-common/tst-grouping.c: New file.
1536 * stdio-common/Makefile: Add rules to build and run tst-grouping.
1537
f257bbd7
UD
15382011-01-09 Ulrich Drepper <drepper@gmail.com>
1539
1540 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
1541 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
1542
1543 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
1544 void.
1545 * bits/select.h: Likewise.
1546
fa9c15cb
UD
15472011-01-08 Ulrich Drepper <drepper@gmail.com>
1548
1549 * po/ja.po: Update from translation team.
1550
16c2895f
DM
15512011-01-04 David S. Miller <davem@sunset.davemloft.net>
1552
1553 [BZ #11155]
1554 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
1555 implementation just like for lxstat, fxstatat, et al.
1556
2543fef2
JM
15572010-12-27 Jim Meyering <meyering@redhat.com>
1558
1559 [BZ #12348]
1560 * posix/regexec.c (build_trtable): Return failure indication upon
1561 calloc failure. Otherwise, re_search_internal could infloop on OOM.
1562
98727dbe
UD
15632010-12-25 Ulrich Drepper <drepper@gmail.com>
1564
5bd6dc5c
UD
1565 [BZ #12201]
1566 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
1567 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
1568 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
1569 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
1570
97983464
UD
1571 [BZ #12207]
1572 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
1573
98727dbe
UD
1574 [BZ #12204]
1575 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
1576 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
1577
4a531bb0
L
15782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
1579
1580 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
1581 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
1582 script has SORT_BY_INIT_PRIORITY.
1583 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
1584 NO_CTORS_DTORS_SECTIONS is defined.
1585 * elf/soinit.c: Likewise.
1586 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
1587 NO_CTORS_DTORS_SECTIONS is defined.
1588 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1589 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
1590 * sysdeps/sh/init-first.c: Likewise.
1591 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1592
07eb4b71
UD
15932010-12-24 Ulrich Drepper <drepper@gmail.com>
1594
1595 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
1596 always use the slow path.
1597
30950a5f
RA
15982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
1599
1600 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
1601 similar rule which adds the sysdep directories to the header search in
1602 order to pick up the correct platform stackinfo.h.
1603 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
1604 perform test if it is, otherwise return successfully without testing.
1605 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
1606 DEFAULT_STACK_PERMS define in stackinfo.h.
1607 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
1608 defined in stackinfo.h.
1609 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
1610 DEFAULT_STACK_PERMS defined in stackinfo.h.
1611 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1612 * sysdeps/ia64/stackinfo.h: Likewise.
1613 * sysdeps/s390/stackinfo.h: Likewise.
1614 * sysdeps/sh/stackinfo.h: Likewise.
1615 * sysdeps/sparc/stackinfo.h: Likewise.
1616 * sysdeps/x86_64/stackinfo.h: Likewise.
1617 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
1618 PF_X for powerpc64. Retain PF_X for powerpc32.
1619
db753e2c
UD
16202010-12-19 Ulrich Drepper <drepper@gmail.com>
1621
14b697f7
UD
1622 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
1623 accurately.
db753e2c
UD
1624 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
1625 GETDENTS_64BIT_ALIGNED.
1626
28300719
UD
16272010-12-14 Ulrich Drepper <dreper@gmail.com>
1628
14b697f7 1629 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 1630
4f197237
AS
16312010-12-10 Andreas Schwab <schwab@redhat.com>
1632
dbb0472f
AS
1633 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
1634 _GNU_SOURCE.
1635
4f197237
AS
1636 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
1637 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
1638 Remove __restrict.
1639 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
1640 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
1641
fb88ac72
UD
16422010-12-09 Ulrich Drepper <drepper@gmail.com>
1643
1644 [BZ #11655]
1645 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
1646 are initialized.
1647
42acbb92
JJ
16482010-12-09 Jakub Jelinek <jakub@redhat.com>
1649
1650 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
1651
c038d98d
UD
16522010-12-03 Ulrich Drepper <drepper@gmail.com>
1653
1654 * po/it.po: Update from translation team.
1655
3a4a2499
L
16562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
1657
1658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
1659 unused codes.
1660
1e24cf6e
UD
16612010-11-30 Ulrich Drepper <drepper@gmail.com>
1662
1663 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
1664
a7690819
AS
16652010-11-24 Andreas Schwab <schwab@redhat.com>
1666
1667 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
1668 specially.
1669 (gaih_getanswer_slice): Likewise.
1670
3bf8d1b1
JJ
16712010-10-20 Jakub Jelinek <jakub@redhat.com>
1672
1673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
1674
6db52fbb
PB
16752010-05-31 Petr Baudis <pasky@suse.cz>
1676
1677 [BZ #11149]
1678 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
1679 silently even in the chroot mode.
1680
eaca7569
UD
16812010-11-22 Ulrich Drepper <drepper@gmail.com>
1682
1683 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
1684 last patch a bit. Pretty printing
1685
3056dcdb
UD
16862010-05-31 Petr Baudis <pasky@suse.cz>
1687
1688 [BZ #10085]
1689 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
1690 initialization of skip_initgroups_dyn.
1691
cf7c9078
UD
16922010-11-19 Ulrich Drepper <drepper@gmail.com>
1693
1694 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
1695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1696
a1fb5e3e
UD
16972010-11-16 Ulrich Drepper <drepper@gmail.com>
1698
1699 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
1700
3540d66b
AS
17012010-11-11 Andreas Schwab <schwab@redhat.com>
1702
1703 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
1704 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
1705 (tst-fnmatch-ENV): Set MALLOC_TRACE.
1706 ($(objpfx)tst-fnmatch-mem): New rule.
1707 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
1708 * posix/tst-fnmatch.c (main): Call mtrace.
1709
13b69574
L
17102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
1711
1712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1713 Support Intel processor model 6 and model 0x2c.
1714
da93d214
LM
17152010-11-10 Luis Machado <luisgpm@br.ibm.com>
1716
1717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
1718 signed comparison.
1719
8ca52c6e
L
17202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
1721
1722 [BZ #12205]
1723 * string/test-strncasecmp.c (check_result): New function.
1724 (do_one_test): Use it.
1725 (check1): New function.
1726 (test_main): Use it.
1727 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
1728 Support strcasecmp and strncasecmp.
1729
69da074d
UD
17302010-11-08 Ulrich Drepper <drepper@gmail.com>
1731
1732 [BZ #12194]
1733 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
1734 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1735
ff02d528
L
17362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
1737
1738 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
1739 IFUNC support.
1740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1741 memset-x86-64.
1742 * sysdeps/x86_64/multiarch/bzero.S: New file.
1743 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
1744 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
1745 * sysdeps/x86_64/multiarch/memset.S: New file.
1746 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
1747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1748 Set bit_Prefer_SSE_for_memop for Intel processors.
1749 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
1750 Define.
1751 (index_Prefer_SSE_for_memop): Define.
1752 (HAS_PREFER_SSE_FOR_MEMOP): Define.
1753
344d0b54
LM
17542010-11-04 Luis Machado <luisgpm@br.ibm.com>
1755
1756 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
1757 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
1758
c0dde15b
UD
17592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
1760
1761 [BZ #12191]
1762 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1763 (__x86_64_raw_data_cache_size_half): Likewise.
1764 (__x86_64_raw_shared_cache_size): Likewise.
1765 (__x86_64_raw_shared_cache_size_half): Likewise.
1766
1767 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1768 (__x86_64_raw_data_cache_size_half): Likewise.
1769 (__x86_64_raw_shared_cache_size): Likewise.
1770 (__x86_64_raw_shared_cache_size_half): Likewise.
1771 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
1772 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
1773 and __x86_64_raw_shared_cache_size_half. Round
1774 __x86_64_data_cache_size_half, __x86_64_data_cache_size
1775 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
1776 to multiple of 256 bytes.
1777
0e516e0e
MS
17782010-11-03 Ulrich Drepper <drepper@gmail.com>
1779
1780 [BZ #12167]
1781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
1782 of inacessible symlinks. Verify result of symlink before returning it.
1783 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1784 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
1785
0e012e87
ER
17862010-10-28 Erich Ritz <erichritz@gmail.com>
1787
1788 * math/math.h (isinf): Fix typo in comment.
1789
de0ff7bc
UD
17902010-11-01 Ulrich Drepper <drepper@gmail.com>
1791
1792 * po/da.po: Update from translation team.
1793
fa41c84d
UD
17942010-10-26 Ulrich Drepper <drepper@gmail.com>
1795
1796 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
1797 is added to the list.
1798
f0967738
AK
17992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1800 Ulrich Drepper <drepper@gmail.com>
1801
1802 * elf/dl-object.c (_dl_new_object): Don't append the new object to
1803 the global list here. Move code to...
1804 (_dl_add_to_namespace_list): ...here. New function.
1805 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
1806 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
1807 * elf/dl-load.c (lose): Don't remove the element from the list.
1808 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
1809 (_dl_map_object): Likewise.
1810
18112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
1812
1813 [BZ #12159]
1814 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
1815 into all bytes of SSE register.
1816 Patch by Richard Li <richardpku@gmail.com>.
1817
f0967738 18182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
1819
1820 [BZ #12140]
1821 * malloc/malloc.c (_int_free): Fill correct number of bytes when
1822 perturbing.
1823
d0b9e94f
MB
18242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
1825
1826 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
1827 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
1828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
1829 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
1831 submachine.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
1833
8e9f92e9
AS
18342010-10-22 Andreas Schwab <schwab@redhat.com>
1835
1836 * include/dlfcn.h (__RTLD_SECURE): Define.
1837 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
1838 mode & __RTLD_SECURE instead.
1839 (open_path): Rename preloaded parameter to secure.
1840 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
1841 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
1842 * elf/dl-deps.c (openaux): Likewise.
1843 * elf/rtld.c (struct map_args): Remove is_preloaded.
1844 (map_doit): Don't use it.
1845 (dl_main): Likewise.
1846 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
1847 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
1848
bc96fbda
AS
18492010-09-09 Andreas Schwab <schwab@redhat.com>
1850
1851 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
1852 (sysd-rules-targets): Remove duplicates.
1853 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
1854 rtld-%.$o dependency.
1855
22cd1c9b
AS
18562010-10-18 Andreas Schwab <schwab@redhat.com>
1857
1858 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
1859 _dl_map_object do it.
1860
18edac48
UD
18612010-10-19 Ulrich Drepper <drepper@gmail.com>
1862
1863 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
1864 fast fma builtins, define the macros in the C99 standard.
1865 (FP_FAST_FMAF): Likewise.
1866 (FP_FAST_FMAL): Likewise.
1867 * sysdeps/x86_64/bits/mathdef.h: Likewise.
1868
1869 * bits/mathdef.h: Update copyright year.
1870 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1871
d2050124
MM
18722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
1873
1874 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
1875 builtins, define the macros in the C99 standard.
1876 (FP_FAST_FMAF): Likewise.
1877 (FP_FAST_FMAL): Likewise.
1878 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
1879 multiply/add.
1880 (FP_FAST_FMAF): Likewise.
1881
475facd1
JJ
18822010-10-15 Jakub Jelinek <jakub@redhat.com>
1883
1884 [BZ #3268]
1885 * math/libm-test.inc (fma_test): Some new testcases.
1886 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
1887 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
1888 y and infinite z. Do multiplication by C already in long double.
1889 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
1890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
1891 y and infinite z. Do bitwise or of inexact bit into u.d.
1892 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
1893 * sysdeps/i386/fpu/s_fmaf.S: Removed.
1894 * sysdeps/i386/fpu/s_fma.S: Removed.
1895 * sysdeps/i386/fpu/s_fmal.S: Removed.
1896
7c08a05c
JJ
18972010-10-16 Jakub Jelinek <jakub@redhat.com>
1898
1899 [BZ #3268]
1900 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
1901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
1902 computation is not scheduled after fetestexcept. Fix value
1903 of minimum denormal long double.
1904
f3f7372d
JJ
19052010-10-14 Jakub Jelinek <jakub@redhat.com>
1906
1907 [BZ #3268]
1908 * math/libm-test.inc (fma_test): Add some more tests.
1909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
1910 correctly.
1911
14d43591
AS
19122010-10-15 Andreas Schwab <schwab@redhat.com>
1913
1914 * scripts/data/localplt-s390-linux-gnu.data: New file.
1915 * scripts/data/localplt-s390x-linux-gnu.data: New file.
1916
5e908464
JJ
19172010-10-13 Jakub Jelinek <jakub@redhat.com>
1918
1919 [BZ #3268]
1920 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
1921 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
1922 instead of dbl-64.
1923 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
1924 inlines.
1925 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
1926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
1927 if one of x and y is very large and the other is subnormal.
1928 * sysdeps/s390/fpu/s_fmaf.c: New file.
1929 * sysdeps/s390/fpu/s_fma.c: New file.
1930 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
1931 * sysdeps/powerpc/fpu/s_fma.S: New file.
1932 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
1933 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
1934 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
1935
19362010-10-12 Jakub Jelinek <jakub@redhat.com>
1937
1938 [BZ #3268]
1939 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
1940 fma tests.
1941 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
1942 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
1943 * sysdeps/i386/i686/multiarch/s_fma.c: Include
1944 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
1945 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
1946 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
1948
b833d51f
UD
19492010-10-12 Ulrich Drepper <drepper@redhat.com>
1950
1951 [BZ #12078]
1952 * posix/regcomp.c (parse_branch): One more memory leak plugged.
1953 * posix/bug-regex31.input: Add test case.
1954
1751705d
UD
19552010-10-11 Ulrich Drepper <drepper@gmail.com>
1956
e9b9cbf5
UD
1957 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
1958 * posix/bug-regex31.input: New file.
1959
1960 [BZ #12078]
1961 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
1962 (parse_sub_exp): Fix last change, use postorder.
1963
ef06edbe
UD
1964 * posix/bug-regex31.c: New file.
1965 * posix/Makefile: Add rules to build and run bug-regex31.
1966
a129c80d
UD
1967 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
1968
1969 [BZ #12078]
1970 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
1971
b76b818e
UD
1972 [BZ #12108]
1973 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
1974 to have entries in sys_siglist.
1975
1751705d
UD
1976 [BZ #12093]
1977 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
1978 be NULL.
1979
9ff8d36f
JJ
19802010-10-07 Jakub Jelinek <jakub@redhat.com>
1981
1982 [BZ #3268]
1983 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
1984 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
1985 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
1986 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
1987 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1988 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
1989 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
1990 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
1991 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
1992 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
1993 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
1994 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
1995 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1996 * math/ftestexcept.c (fetestexcept): Likewise.
1997 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
1998 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1999 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2000 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
2001 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
2002 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
2003 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2004
af325969
UD
20052010-10-11 Ulrich Drepper <drepper@gmail.com>
2006
c579b202 2007 [BZ #12107]
af325969
UD
2008 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
2009 newline.
2010
67a67b95
UD
20112010-10-06 Ulrich Drepper <drepper@gmail.com>
2012
2013 * string/bug-strstr1.c: New file.
2014 * string/Makefile: Add rules to build and run bug-strstr1.
2015
5fb308bc
EB
20162010-10-05 Eric Blake <eblake@redhat.com>
2017
2018 [BZ #12092]
2019 * string/str-two-way.h (two_way_long_needle): Always clear memory
2020 when skipping input due to the shift table.
2021
45db99c7
UD
20222010-10-03 Ulrich Drepper <drepper@gmail.com>
2023
3b111893
UD
2024 [BZ #12005]
2025 * malloc/mcheck.c: Handle large requests.
2026
45db99c7
UD
2027 [BZ #12077]
2028 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
2029 for strncmp and strncasecmp.
2030 * string/stratcliff.c: Add tests for strcmp and strncmp.
2031 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
2032
cf7a1eb8
NI
20332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2034
2035 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
2036 __set_fpscr.
2037
6484ba5e
AJ
20382010-09-30 Andreas Jaeger <aj@suse.de>
2039
2040 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
2041 (CGROUP_SUPER_MAGIC): Define.
2042 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2043 Handle btrfs and cgroup file systems.
2044 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2045 Likewise.
2046
91c42559
LM
20472010-09-27 Luis Machado <luisgpm@br.ibm.com>
2048
2049 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
2050 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
2051
87a97932
AK
20522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2053
2054 [BZ #12067]
2055 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
2056 trying to locate the ELF header.
2057
c21cc9bc
AS
20582010-09-27 Andreas Schwab <schwab@redhat.com>
2059
2060 [BZ #11611]
2061 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
2062 Mask out sign-bit copies when constructing f_fsid.
2063
315970f6
PB
20642010-09-24 Petr Baudis <pasky@suse.cz>
2065
2066 * debug/stack_chk_fail_local.c: Add missing licence exception.
2067 * debug/warning-nop.c: Likewise.
2068
1ac7a2c7
JM
20692010-09-15 Joseph Myers <joseph@codesourcery.com>
2070
2071 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
2072 implementing getdents64 using getdents syscall, set d_type if
2073 __ASSUME_GETDENTS32_D_TYPE.
2074
56801c50
AS
20752010-09-16 Andreas Schwab <schwab@redhat.com>
2076
2077 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
2078 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
2079
dda51327
UD
20802010-09-21 Ulrich Drepper <drepper@redhat.com>
2081
2082 [BZ #12037]
2083 * posix/unistd.h: Undo change of feature selection for ftruncate from
2084 2010-01-11.
2085
8ffcee4a
UD
20862010-09-20 Ulrich Drepper <drepper@redhat.com>
2087
a545ecd9 2088 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
2089 detection.
2090
e24f0a8b
AS
20912010-09-20 Andreas Schwab <schwab@redhat.com>
2092
2093 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2094 fanotify_mark.
2095 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2096
7291c56f
AS
20972010-09-14 Andreas Schwab <schwab@redhat.com>
2098
2099 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
2100 variables after CHECK_SP call.
2101 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
2102
bc5fb037
AS
21032010-09-13 Andreas Schwab <schwab@redhat.com>
2104 Ulrich Drepper <drepper@redhat.com>
2105
2106 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
2107 re-relocationg ld.so.
2108 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
2109 _dl_init_paths call.
2110 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
2111 here anymore.
2112
e66e7419
UD
21132010-09-14 Ulrich Drepper <drepper@redhat.com>
2114
2115 * resolv/res_init.c (__res_vinit): Count the default server we added.
2116
c044aa75
CLT
21172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
2118 Ulrich Drepper <drepper@redhat.com>
2119
2120 [BZ #11968]
2121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2122 (____longjmp_chk): Use %ebx for saving value across system call.
2123 Add unwind info.
2124
32cf4069
AS
21252010-09-06 Andreas Schwab <schwab@redhat.com>
2126
2127 * manual/Makefile: Don't mix pattern rules with normal rules.
2128
817328ee
AS
21292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
2130
2131 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
2132 operation.
2133 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2134 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2135 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2136 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2138 Likewise.
2139
29fddf61
UD
21402010-09-04 Ulrich Drepper <drepper@redhat.com>
2141
2142 [BZ #11979]
2143 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
2144 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
2145
0959ffc9
UD
21462010-09-02 Ulrich Drepper <drepper@redhat.com>
2147
2148 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
2149 * sysdeps/x86_64/addmul_1.S: Likewise.
2150 * sysdeps/x86_64/lshift.S: Likewise.
2151 * sysdeps/x86_64/mul_1.S: Likewise.
2152 * sysdeps/x86_64/rshift.S: Likewise.
2153 * sysdeps/x86_64/sub_n.S: Likewise.
2154 * sysdeps/x86_64/submul_1.S: Likewise.
2155
ece29840
ST
21562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2157
0959ffc9
UD
2158 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
2159 Define __sched_param instead of SCHED_* and sched_param when
ece29840 2160 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 2161 * bits/sched.h [__need_schedparam]
ece29840 2162 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
2163 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
2164 (__defined_schedparam): Define to 1.
ece29840
ST
2165 (__sched_param): New structure, identical to sched_param.
2166 (__need_schedparam): Undefine.
2167
e53a31fe
MF
21682010-08-31 Mike Frysinger <vapier@gentoo.org>
2169
fdc0c10d
MF
2170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
2171 (epoll_create1): Declare.
2172
e53a31fe
MF
2173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
2174
a726d796
AS
21752010-08-31 Andreas Schwab <schwab@redhat.com>
2176
2177 [BZ #7066]
2178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
2179 shifting retval into place.
2180
2f3e3dc7
UD
21812010-09-01 Ulrich Drepper <drepper@redhat.com>
2182
f2933da9
UD
2183 * nis/rpcsvc/nis.h: Update copyright notice.
2184 * nis/rpcsvc/nis.x: Likewise.
2185 * nis/rpcsvc/nis_callback.h: Likewise.
2186 * nis/rpcsvc/nis_callback.x: Likewise.
2187 * nis/rpcsvc/nis_object.x: Likewise.
2188 * nis/rpcsvc/nis_tags.h: Likewise.
2189 * nis/rpcsvc/yp.h: Likewise.
2190 * nis/rpcsvc/yp.x: Likewise.
2191 * nis/rpcsvc/ypupd.h: Likewise.
2192 * nis/yp_xdr.c: Likewise.
2193 * nis/ypupdate_xdr.c: Likewise.
2194
2f3e3dc7
UD
2195 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
2196 mainly the body of pmap_getport. Add parameters to specify timeouts.
2197 (pmap_getport): Use __libc_rpc_getport.
2198 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
2199 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
2200 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
2201
f3dcc2f9
AS
22022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
2203
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
2205 fanotify_mark.
2206
6d34eb5b
RM
22072010-08-27 Roland McGrath <roland@redhat.com>
2208
2209 * sysdeps/i386/i686/multiarch/Makefile
2210 (CFLAGS-varshift.c): New variable.
2211
9ea3de11
UD
22122010-08-27 Ulrich Drepper <drepper@redhat.com>
2213
c96d23fc
UD
2214 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
2215 * sysdeps/i386/i686/multiarch/varshift.c: New file.
2216
9ea3de11
UD
2217 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
2218
2219 * sysdeps/x86_64/strlen.S: Minimal code improvement.
2220
623aac7f
L
22212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
2222
2223 * sysdeps/x86_64/strlen.S: Unroll the loop.
2224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2225 strlen-sse2 strlen-sse2-bsf.
2226 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
2227 __strlen_no_bsf if bit_Slow_BSF is set.
2228 (__strlen_sse42): Removed.
2229 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
2230 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
2231
8b2b7715
RM
22322010-08-25 Roland McGrath <roland@redhat.com>
2233
2234 * sysdeps/x86_64/multiarch/varshift.S: File removed.
2235 * sysdeps/x86_64/multiarch/varshift.c: New file.
2236 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
2237 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
2238 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
2239 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2240
e73015f2
L
22412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
2242
2243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2244 strlen-sse2 strlen-sse2-bsf.
2245 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
2246 __strlen_sse2_bsf if bit_Slow_BSF is unset.
2247 (__strlen_sse2): Removed.
2248 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
2249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
2250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2251 bit_Slow_BSF for Atom.
2252 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
2253 (index_Slow_BSF): Define.
2254 (HAS_SLOW_BSF): Define.
2255
df24a73e
UD
22562010-08-25 Ulrich Drepper <drepper@redhat.com>
2257
2258 [BZ #10851]
2259 * resolv/res_init.c (__res_vinit): When no server address at all
2260 is given default to loopback.
2261
f2ac4868
RM
22622010-08-24 Roland McGrath <roland@redhat.com>
2263
09055553
RM
2264 * configure.in: Remove config-name.h generation.
2265 * configure: Regenerated.
2266 * config-name.in: File removed.
2267 * scripts/config-uname.sh: New file.
2268 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
2269 ($(objdir)config-name.h): New target.
2270
f2ac4868
RM
2271 * sunrpc/rpc_parse.h: Avoid nested comment.
2272
73f27d5e
RH
22732010-08-24 Richard Henderson <rth@redhat.com>
2274 Ulrich Drepper <drepper@redhat.com>
2275 H.J. Lu <hongjiu.lu@intel.com>
2276
2277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
2278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
2279 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
2280 Replace _mm_srli_si128 with __m128i_shift_right. Replace
2281 _mm_alignr_epi8 with _mm_loadu_si128.
2282 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
2283 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
2284 (__m128i_shift_right): Removed.
2285 * sysdeps/i386/i686/multiarch/varshift.h: New file.
2286 * sysdeps/i386/i686/multiarch/varshift.S: New file.
2287 * sysdeps/x86_64/multiarch/varshift.h: New file.
2288 * sysdeps/x86_64/multiarch/varshift.S: New file.
2289
84b9230c
MF
22902010-08-21 Mike Frysinger <vapier@gentoo.org>
2291
2292 * configure.in: Move assembler checks to before sysdep dir checking.
2293
9bbd0ddc
PB
22942010-08-20 Petr Baudis <pasky@suse.cz>
2295
2296 * LICENSES: Sync the sunrpc license.
2297
9da4bb31
UD
22982010-08-19 Ulrich Drepper <drepper@redhat.com>
2299
a7ab6ec8
UD
2300 * sunrpc/auth_des.c: Update copyright notice once again.
2301 * sunrpc/auth_none.c: Likewise.
2302 * sunrpc/auth_unix.c: Likewise.
2303 * sunrpc/authdes_prot.c: Likewise.
2304 * sunrpc/authuxprot.c: Likewise.
2305 * sunrpc/bindrsvprt.c: Likewise.
2306 * sunrpc/clnt_gen.c: Likewise.
2307 * sunrpc/clnt_perr.c: Likewise.
2308 * sunrpc/clnt_raw.c: Likewise.
2309 * sunrpc/clnt_simp.c: Likewise.
2310 * sunrpc/clnt_tcp.c: Likewise.
2311 * sunrpc/clnt_udp.c: Likewise.
2312 * sunrpc/clnt_unix.c: Likewise.
2313 * sunrpc/des_crypt.c: Likewise.
2314 * sunrpc/des_soft.c: Likewise.
2315 * sunrpc/get_myaddr.c: Likewise.
2316 * sunrpc/getrpcport.c: Likewise.
2317 * sunrpc/key_call.c: Likewise.
2318 * sunrpc/key_prot.c: Likewise.
2319 * sunrpc/openchild.c: Likewise.
2320 * sunrpc/pm_getmaps.c: Likewise.
2321 * sunrpc/pm_getport.c: Likewise.
2322 * sunrpc/pmap_clnt.c: Likewise.
2323 * sunrpc/pmap_prot.c: Likewise.
2324 * sunrpc/pmap_prot2.c: Likewise.
2325 * sunrpc/pmap_rmt.c: Likewise.
2326 * sunrpc/rpc/auth.h: Likewise.
2327 * sunrpc/rpc/auth_unix.h: Likewise.
2328 * sunrpc/rpc/clnt.h: Likewise.
2329 * sunrpc/rpc/des_crypt.h: Likewise.
2330 * sunrpc/rpc/key_prot.h: Likewise.
2331 * sunrpc/rpc/netdb.h: Likewise.
2332 * sunrpc/rpc/pmap_clnt.h: Likewise.
2333 * sunrpc/rpc/pmap_prot.h: Likewise.
2334 * sunrpc/rpc/pmap_rmt.h: Likewise.
2335 * sunrpc/rpc/rpc.h: Likewise.
2336 * sunrpc/rpc/rpc_des.h: Likewise.
2337 * sunrpc/rpc/rpc_msg.h: Likewise.
2338 * sunrpc/rpc/svc.h: Likewise.
2339 * sunrpc/rpc/svc_auth.h: Likewise.
2340 * sunrpc/rpc/types.h: Likewise.
2341 * sunrpc/rpc/xdr.h: Likewise.
2342 * sunrpc/rpc_clntout.c: Likewise.
2343 * sunrpc/rpc_cmsg.c: Likewise.
2344 * sunrpc/rpc_common.c: Likewise.
2345 * sunrpc/rpc_cout.c: Likewise.
2346 * sunrpc/rpc_dtable.c: Likewise.
2347 * sunrpc/rpc_hout.c: Likewise.
2348 * sunrpc/rpc_main.c: Likewise.
2349 * sunrpc/rpc_parse.c: Likewise.
2350 * sunrpc/rpc_parse.h: Likewise.
2351 * sunrpc/rpc_prot.c: Likewise.
2352 * sunrpc/rpc_sample.c: Likewise.
2353 * sunrpc/rpc_scan.c: Likewise.
2354 * sunrpc/rpc_scan.h: Likewise.
2355 * sunrpc/rpc_svcout.c: Likewise.
2356 * sunrpc/rpc_tblout.c: Likewise.
2357 * sunrpc/rpc_util.c: Likewise.
2358 * sunrpc/rpc_util.h: Likewise.
2359 * sunrpc/rpcinfo.c: Likewise.
2360 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
2361 * sunrpc/rpcsvc/key_prot.x: Likewise.
2362 * sunrpc/rpcsvc/klm_prot.x: Likewise.
2363 * sunrpc/rpcsvc/mount.x: Likewise.
2364 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
2365 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
2366 * sunrpc/rpcsvc/rex.x: Likewise.
2367 * sunrpc/rpcsvc/rstat.x: Likewise.
2368 * sunrpc/rpcsvc/rusers.x: Likewise.
2369 * sunrpc/rpcsvc/sm_inter.x: Likewise.
2370 * sunrpc/rpcsvc/spray.x: Likewise.
2371 * sunrpc/rpcsvc/yppasswd.x: Likewise.
2372 * sunrpc/rtime.c: Likewise.
2373 * sunrpc/svc.c: Likewise.
2374 * sunrpc/svc_auth.c: Likewise.
2375 * sunrpc/svc_authux.c: Likewise.
2376 * sunrpc/svc_raw.c: Likewise.
2377 * sunrpc/svc_run.c: Likewise.
2378 * sunrpc/svc_simple.c: Likewise.
2379 * sunrpc/svc_tcp.c: Likewise.
2380 * sunrpc/svc_udp.c: Likewise.
2381 * sunrpc/svc_unix.c: Likewise.
2382 * sunrpc/svcauth_des.c: Likewise.
2383 * sunrpc/xcrypt.c: Likewise.
2384 * sunrpc/xdr.c: Likewise.
2385 * sunrpc/xdr_array.c: Likewise.
2386 * sunrpc/xdr_float.c: Likewise.
2387 * sunrpc/xdr_mem.c: Likewise.
2388 * sunrpc/xdr_rec.c: Likewise.
2389 * sunrpc/xdr_ref.c: Likewise.
2390 * sunrpc/xdr_sizeof.c: Likewise.
2391 * sunrpc/xdr_stdio.c: Likewise.
2392
9da4bb31
UD
2393 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
2394 handling.
2395
bdaa77bc
AS
23962010-08-19 Andreas Schwab <schwab@redhat.com>
2397
2398 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
2399
fe2f79db
LM
24002010-08-19 Luis Machado <luisgpm@br.ibm.com>
2401
2402 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
2403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
2404 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
2405 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
2406 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
2407 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
2408 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
2409 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
2410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
2411 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
2412 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
2413 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
2414 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
2415 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
2416
b9b42ee0
AB
24172010-07-26 Anton Blanchard <anton@samba.org>
2418
2419 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
2420 * malloc/arena.c (heap_trim): Likewise.
2421
1c06ba31
UD
24222010-08-16 Ulrich Drepper <drepper@redhat.com>
2423
2424 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
2425 here. Not...
2426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
2427 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
2428
f8392f40
L
24292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
2430
2431 * sysdeps/i386/elf/Makefile: New file.
2432
3162f12e
AS
24332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2434
2435 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
2436 from fanotify_init.
2437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2438 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2439
28c90b2c
UD
24402010-08-15 Ulrich Drepper <drepper@redhat.com>
2441
2442 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
2443 of strncasecmp_l.
1feccb6c 2444 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 2445
ca6bb004
UD
24462010-08-14 Ulrich Drepper <drepper@redhat.com>
2447
e9f82e0d
UD
2448 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2449 strncase_l-nonascii.
2450 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2451 Add strncase_l-ssse3.
2452 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
2453 * sysdeps/x86_64/strcmp.S: Likewise.
2454 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
2455 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
2456 * sysdeps/x86_64/strncase.S: New file.
2457 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
2458 * sysdeps/x86_64/strncase_l.S: New file.
2459 * string/Makefile (strop-tests): Add strncasecmp.
2460 * string/test-strncasecmp.c: New file.
2461
2462 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
2463 warning.
2464
ca6bb004
UD
2465 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
2466 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
2467
052fa7b3
AS
24682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2469
2470 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
2471
962dba78
UD
24722010-08-12 Ulrich Drepper <drepper@redhat.com>
2473
2474 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
2475 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2476 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2477
bebff237
AM
24782010-05-01 Alan Modra <amodra@gmail.com>
2479
2480 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
2481 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
2482 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
2483 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
2484 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
2485 tidying. Don't tail-call __sigjmp_save for static lib.
2486 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
2487 save location.
2488 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
2489 (CALL_MCOUNT): Add eh info, and nop after bl.
2490 (TAIL_CALL_SYSCALL_ERROR): New macro.
2491 (PSEUDO_RET): Use it.
2492 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2493 Correct save location of integer regs and cr.
2494 (_dl_profile_resolve): Correct cr save location. Delete nops
2495 after bl when SHARED. Reduce cfi size a little by better
2496 placement of cfi directives.
2497 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
2498 make a stack frame. Instead use parm save area as a temp.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
2500 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2502 Don't make a stack frame for parent, use parm save area.
2503 Increase child stack frame to 112 bytes. Don't save unused reg,
2504 and adjust reg usage. Set up cfi on error recovery and
2505 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2507 (__makecontext): Add dummy nop after jump to exit.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
2509 Use correct parm save area and cr save, reduce stack frame.
2510 Correct cfi for possible PSEUDO_RET frame setup.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
2512 Branch to local label emitted by PSEUDO_RET rather than
2513 __syscall_error.
2514
02637374
AS
25152010-08-12 Andreas Schwab <schwab@redhat.com>
2516
2517 [BZ #11904]
2518 * locale/programs/locale.c (print_assignment): New function.
2519 (show_locale_vars): Use it.
2520
c3e2f19b
UD
25212010-08-11 Ulrich Drepper <drepper@redhat.com>
2522
3cdaa6ad
UD
2523 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
2524 field.
2525 (struct statfs64): Likewise.
2526 (_STATFS_F_FLAGS): Define.
2527 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
2528 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2529 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
2530 (ST_VALID): Define locally.
2531 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
2532 __statvfs_getflags, use the provided value.
2533 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2534 __ASSUME_STATFS_F_FLAGS.
2535
754f7da3
UD
2536 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
2537
10b3bedc
UD
2538 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2539 Add sys/fanotify.h.
2540 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
2541 fanotify_mask for GLIBC_2.13.
2542 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
2543 fanotify_init and fanotify_mark.
2544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2545 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
2546
c08fb0d7
UD
2547 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
2548 Add prlimit.
2549 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
2550 prlimit64 for GLIBC_2.13.
2551 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
2552 prlimit64.
2553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
2554 syscall.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
2556 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2557 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
2558 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
2559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
2560 add prlimit alias.
2561 * sysdeps/unix/sysv/linux/prlimit.c: New file.
2562
15bac72b
UD
2563 [BZ #11903]
2564 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
2565 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
2566
c3e2f19b
UD
2567 * nss/Makefile: Add rules to build and run tst-nss-test1.
2568 * shlib-versions: Add entry for libnss_test1.
2569 * nss/nss_test1.c: New file.
2570 * nss/tst-nss-test1.c: New file.
2571
2572 * nss/nsswitch.c (__nss_database_custom): Define new variable.
2573 (__nss_configure_lookup): Set appropriate entry in
2574 __nss_configure_lookup to true.
2575 * nss/nsswitch.h: Define enum with indeces of databases in
2576 databases and __nss_database_custom arrays. Declare
2577 __nss_database_custom.
2578 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
2579 to avoid using nscd when custom rules are installed.
2580 * nss/getXXbyYY_r.c: Likewise.
2581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2582
2583 * nss/nss_files/files-parse.c: Whitespace fixes.
2584
f15ce4d8
UD
25852010-08-09 Ulrich Drepper <drepper@redhat.com>
2586
2587 [BZ #11883]
2588 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
2589 * posix/fnmatch_loop.c: Likewise.
2590
d22e4cc9
AK
25912010-07-17 Andi Kleen <ak@linux.intel.com>
2592
2593 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
2594 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
2595 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
2596 * Versions.def [GLIBC_2.13]: Add.
2597
805bc17d
UD
25982010-08-06 Ulrich Drepper <drepper@redhat.com>
2599
2600 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2601 Also fail if tpwd after pwuid call is NULL.
2602
5a42321d
ST
26032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
2604
2605 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
2606 when converting to ms.
2607
fd3ebeda
ST
26082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2609
2610 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
2611 EOPNOTSUPP errors with ENOTTY.
2612 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
2613 EOPNOTSUPP errors with ENOTTY.
2614
73507d3a
UD
26152010-07-31 Ulrich Drepper <drepper@redhat.com>
2616
2617 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2618 Add strcasecmp_l-ssse3.
2619 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
2620 strcasecmp.
2621 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
2622 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
2623 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
2624
fe36dd02
UD
26252010-07-30 Ulrich Drepper <drepper@redhat.com>
2626
66f6765a
UD
2627 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
2628
42e08a54
UD
2629 * string/Makefile (strop-tests): Add strcasecmp.
2630 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2631 strcasecmp_l-nonascii.
2632 (gen-as-const-headers): Add locale-defines.sym.
2633 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
2634 * sysdeps/x86_64/strcasecmp.S: New file.
2635 * sysdeps/x86_64/strcasecmp_l.S: New file.
2636 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
2637 * sysdeps/x86_64/locale-defines.sym: New file.
2638 * string/test-strcasecmp.c: New file.
2639
fe36dd02
UD
2640 * string/test-strcasestr.c: Test both ends of the range of characters.
2641 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
2642
48cbc0d6
RM
26432010-07-29 Roland McGrath <roland@redhat.com>
2644
76e6d6bc 2645 [BZ #11856]
48cbc0d6
RM
2646 * manual/locale.texi (Yes-or-No Questions): Fix example code.
2647
880113d9
UD
26482010-07-27 Ulrich Drepper <drepper@redhat.com>
2649
2650 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
2651 for ld.so.
2652
deb9cabb
AS
26532010-07-27 Andreas Schwab <schwab@redhat.com>
2654
2655 * manual/memory.texi (Malloc Tunable Parameters): Document
2656 M_PERTURB.
2657
1c7570ff
RM
26582010-07-26 Roland McGrath <roland@redhat.com>
2659
2660 [BZ #11840]
2661 * configure.in (-fgnu89-inline check): Set and substitute
2662 gnu89_inline, not libc_cv_gnu89_inline.
2663 * configure: Regenerated.
2664 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
2665
24fb0f88
UD
26662010-07-26 Ulrich Drepper <drepper@redhat.com>
2667
2668 * string/test-strnlen.c: New file.
2669 * string/Makefile (strop-tests): Add strnlen.
2670 * string/tester.c (test_strnlen): Add a few more test cases.
2671 * string/tst-strlen.c: Better error reporting.
2672
2673 * sysdeps/x86_64/strnlen.S: New file.
2674
8e96b93a
UD
26752010-07-24 Ulrich Drepper <drepper@redhat.com>
2676
2677 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
2678 lower-latency instructions.
2679
dbc676d4
UD
26802010-07-23 Ulrich Drepper <drepper@redhat.com>
2681
2682 * string/test-strcasestr.c: New file.
2683 * string/test-strstr.c: New file.
2684 * string/Makefile (strop-tests): Add strstr and strcasestr.
2685 * string/str-two-way.h: Don't undefine MAX.
2686 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
2687
f6a31e0e
AS
26882010-07-21 Andreas Schwab <schwab@redhat.com>
2689
2690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2691 strcasestr-nonascii.
2692 (CFLAGS-strcasestr-nonascii.c): Define.
2693 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
2694 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
2695 Remove unused attribute.
2696
5dbc3b6c
RM
26972010-07-20 Roland McGrath <roland@redhat.com>
2698
2699 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
2700 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
2701 ld.so.cache was broken. With it, there is no way to disable dsocaps
2702 like LD_HWCAP_MASK can disable hwcaps.
2703
23d101d8
EPM
27042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2705
2706 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
2707
cc9f2e47
UD
27082010-07-16 Ulrich Drepper <drepper@redhat.com>
2709
2710 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
2711 call in strcasestr.
2712 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
2713 __strcasestr_sse42_nonascii.
2714 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
2715 strcasestr-nonascii.c.
2716 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
2717
77c1b069
LM
27182010-06-15 Luis Machado <luisgpm@br.ibm.com>
2719
2720 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
2721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
2722 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
2723 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
2724
440566c3
UD
27252010-07-09 Ulrich Drepper <drepper@redhat.com>
2726
2727 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
2728 fcntl.
2729
5be9d05d
AS
27302010-07-06 Andreas Schwab <schwab@redhat.com>
2731
c30b7ee2 2732 [BZ #11577]
5be9d05d
AS
2733 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
2734 dl_signal_cerror.
2735
8a492a67
UD
27362010-07-06 Ulrich Drepper <drepper@redhat.com>
2737
2738 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
2739 _PC_PIPE_BUF using F_GETPIPE_SZ.
2740
713df3d5
RM
27412010-07-05 Roland McGrath <roland@redhat.com>
2742
2743 * manual/arith.texi (Rounding Functions): Fix rint description
2744 implicit in round description.
2745
702e8f14
UD
27462010-07-02 Ulrich Drepper <drepper@redhat.com>
2747
2748 * elf/Makefile: Fix linking for a few tests to make recent linker
2749 happy.
2750
52ed8be9
AS
27512010-06-30 Andreas Schwab <schwab@redhat.com>
2752
2753 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2754 $(common-objpfx)libc_nonshared.a.
2755
f47c9a11
LM
27562010-06-21 Luis Machado <luisgpm@br.ibm.com>
2757
2758 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
2759 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
2760 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2761 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2762 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
2763 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
2764 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2765 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
2780 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
2781 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
2782 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
2783 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
2784 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
2785 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
2786 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
2787 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
2788 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
2789 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
2790 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
2791 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
2806
6fb8cbcb
L
28072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
2808
2809 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
2810 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
2811 * string/memmove.c (memmove): Renamed to ...
2812 (MEMMOVE): ...this. Default to memmove.
2813 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
2814 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
2815 (END_CHK): Define.
2816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2817 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
2818 mempcpy-ssse3-back memmove-ssse3-back.
2819 * sysdeps/x86_64/multiarch/bcopy.S: New file .
2820 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
2821 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
2822 * sysdeps/x86_64/multiarch/memcpy.S: New file.
2823 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
2824 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
2825 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
2826 * sysdeps/x86_64/multiarch/memmove.c: New file.
2827 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
2828 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
2829 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
2830 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
2831 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
2832 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
2833 Define.
2834 (index_Fast_Copy_Backward): Define.
2835 (HAS_ARCH_FEATURE): Define.
2836 (HAS_FAST_REP_STRING): Define.
2837 (HAS_FAST_COPY_BACKWARD): Define.
2838
4e733bac 28392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
2840
2841 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2842 Restore proper fallback handling.
2843
63c4ed22
UD
28442010-06-19 Ulrich Drepper <drepper@redhat.com>
2845
ac2b484c
UD
2846 [BZ #11701]
2847 * posix/group_member.c (__group_member): Correct checking loop.
2848
63c4ed22
UD
2849 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
2850 OOM in getpwuid_r correctly. Return error number when the caller
2851 should return, otherwise -1.
2852 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
2853 call returning > 0 value.
2854 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
2855
765ade4b
AS
28562010-06-07 Andreas Schwab <schwab@redhat.com>
2857
2858 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
2859 libc_nonshared.a from targets in modules-names.
2860
80da2e09
KS
28612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
2862
2863 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
2864 requires it.
2865
158db122
LM
28662010-06-10 Luis Machado <luisgpm@br.ibm.com>
2867
2868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
2869 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
2870 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
2871 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
2872
caa78cf8
AS
28732010-06-02 Andreas Schwab <schwab@redhat.com>
2874
2875 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
2876
b2ef2c01
UD
28772010-06-14 Ulrich Drepper <drepper@redhat.com>
2878
2879 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
2880 and F_GETPIPE_SZ.
2881 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2885 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2886 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
2887
fbd643b6
RM
28882010-06-14 Roland McGrath <roland@redhat.com>
2889
2890 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
2891
f32f2869
JJ
28922010-06-07 Jakub Jelinek <jakub@redhat.com>
2893
2894 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
2895 __REDIRECT followed by __THROW.
2896 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
2897 * posix/getopt.h (getopt): Likewise.
2898
2a50c078
EPM
28992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2900
2901 * hurd/lookup-at.c (__file_name_lookup_at): Accept
2902 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
2903 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
2904 in AT_FLAGS.
2905 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
2906 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
2907
eb5ad2eb
LM
29082010-05-28 Luis Machado <luisgpm@br.ibm.com>
2909
2910 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
2911
3c88fe1e
L
29122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
2913
2914 [BZ #11640]
2915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2916 Properly check family and model.
2917
d2f73151
TY
29182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
2919
2920 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
2921
ebd2e13d
LM
29222010-05-24 Luis Machado <luisgpm@br.ibm.com>
2923
2924 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
2925
b32b8b45
UD
29262010-05-21 Ulrich Drepper <drepper@redhat.com>
2927
2928 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
2929 symbol reference.
2930
9acbe24d
AS
29312010-05-19 Andreas Schwab <schwab@redhat.com>
2932
2933 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
2934 symbol reference.
2935
f0ccf6ea
AS
29362010-05-21 Andreas Schwab <schwab@redhat.com>
2937
3d04ff3a
AS
2938 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
2939 and internal_recvmmsg.
2940 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
2941 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
2942 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
2943 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
2944
f0ccf6ea
AS
2945 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
2946 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2947 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2948
5b08ac57
AS
29492010-05-20 Andreas Schwab <schwab@redhat.com>
2950
2951 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
2952
4828935d
LM
29532010-05-17 Luis Machado <luisgpm@br.ibm.com>
2954
2955 POWER7 optimizations.
2956 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
2957 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
2958
373d545e
UD
29592010-05-19 Ulrich Drepper <drepper@redhat.com>
2960
2961 * version.h: Update for 2.13 development version.
2962
21a2b1ae
AS
29632010-05-12 Andrew Stubbs <ams@codesourcery.com>
2964
2965 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
2966 exceptions. Return 0.
2967
3f7dcb2b
RM
29682010-05-07 Roland McGrath <roland@redhat.com>
2969
2970 * elf/ldconfig.c (main): Add a const.
2971
5f24d53a 29722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 2973
a160f8d8
UD
2974 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
2975 (args_options): Add no-idn option.
2976 (ahosts_keys_int): Add idn_flags to ai_flags.
2977 (parse_option): Handle 'i' option to clear idn_flags.
2978
5f24d53a
UD
2979 * malloc/malloc.c (_int_free): Possible race in the most recently
2980 added check. Only act on the data if no current modification
2981 happened.
265bb1ce
UD
2982
2983See ChangeLog.17 for earlier changes.