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