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