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