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