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