]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Prevent Altivec and VSX insns on PowerPC64 when no FPRs or VRs are avail.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
457bddfc
RA
12011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4 and -mno-altivec to prevent the compiler from using Altivec and/or
5 VSX instructions when the corresponding registers are not available.
6
a4527b51
AS
72011-05-19 Andreas Schwab <schwab@redhat.com>
8
9 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10
ed690b2f
UD
112011-05-19 Ulrich Drepper <drepper@gmail.com>
12
13 * libio/freopen.c (freopen): Use __dup2, not dup2.
14 * libio/freopen64.c (freopen64): Likewise.
15
8db73634
L
162011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17
18 [BZ #12775]
19 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20 * math/Makefile (tests): Add test-powl.
21 (CFLAGS-test-powl.c): Define.
22 * math/test-powl.c: New file.
23
0a197a9d
L
242011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25
26 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27
ee30c380
UD
282011-05-17 Ulrich Drepper <drepper@gmail.com>
29
30 [BZ #11837]
31 * iconvdata/gb18030.c: Update to GB18020-2005.
32
6ce75379
UD
332011-05-16 Ulrich Drepper <drepper@gmail.com>
34
a4b89fd8
AR
35 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37 Patch by Aharon Robbins <arnold@skeeve.com>.
38
ea389b12
UD
39 [BZ #11892]
40 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41 on the stack.
42
68a3f91f
UD
43 [BZ #11895]
44 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45 through underflows.
46
15cc7dd1
UD
47 [BZ #12766]
48 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49 point to strings before performing equality test for error_one_per_line
50 mode.
51
f3799213
UD
52 [BZ #11697]
53 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54
d79a9c94
UD
55 [BZ #11820]
56 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57 (struct user_fpregs_struct): Avoid __uint*_t types.
58
56e5eb46
UD
59 [BZ #6420]
60 * malloc/mtrace.c (tr_where): Add additional parameter to point to
61 symbol info. Use it instead of calling _dl_addr locally.
62 (lock_and_info): New function.
63 (tr_freehook): Call lock_and_info and pass symbol info as additional
64 parameter to tr_where.
65 (tr_mallochook): Likewise.
66 (tr_reallochook): Likewise.
67 (tr_memalignhook): Likewise.
68
6ce75379
UD
69 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
70 used and couldn't be at all thread-safe.
71
f8a3b5bf
UD
722011-05-15 Ulrich Drepper <drepper@gmail.com>
73
94b7cc37
UD
74 * libio/freopen.c (freopen): Don't close old file descriptor
75 before the new one is opened. Instead dup the new file descriptor
76 to the old one after the new stream is created.
77 * libio/freopen64.c (freopen64): Likewise.
78 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
79 * libio/fileops.c (_IO_new_file_close_it): Handle new
80 _IO_FLAGS2_NOCLOSE flag.
81 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
84 _IO_FLAGS2_NOCLOSE flag.
85 * include/unistd.h: Add hidden_proto for dup3.
86 Define __have_dup3.
87 * io/dup3.c: Define hidden symbol.
88 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
89
bd25564e
UD
90 [BZ #7101]
91 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92 when an incomplete long option is used.
93 * posix/tst-getopt_long1.c: New file.
94 * posix/Makefile (tests): Add tst-getopt_long1.
95
c84cfef4
UD
96 [BZ #10138]
97 * scripts/config.guess: Update from autoconf-2.68.
98 * scripts/config.sub: Likewise.
99
3b85df27
UD
100 [BZ #10157]
101 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
102 tests into ...
103 (has_cpuclock): ...this. New function.
104 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
105 macro here based on has_cpuclock code.
106
15a856b1
UD
107 [BZ #10149]
108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
109 First byte (not low byte) is now always NUL.
110 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
111
05f399e6
UD
112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
113 Use non-cancelable interfaces.
114
10a52685 115 [BZ #9809]
94ecc67d
UD
116 * locale/iso-639.def: Add entry for Sorani.
117
f8a3b5bf
UD
118 [BZ #11901]
119 * include/stdlib.h: Move include protection to the right place.
120 Define abort_msg_s. Declare __abort_msg with it.
121 * stdlib/abort.c (__abort_msg): Adjust type.
122 * assert/assert.c (__assert_fail_base): New function. Majority
123 of code from __assert_fail. Allocate memory for __abort_msg with
124 mmap.
125 (__assert_fail): Now call __assert_fail_base.
126 * assert/assert-perr.c: Remove bulk of implementation. Use
127 __assert_fail_base.
128 * include/assert.hL Declare __assert_fail_base.
129 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
130 mmap.
131 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
132
1af4e298
UD
1332011-05-14 Ulrich Drepper <drepper@gmail.com>
134
f8a3b5bf 135 [BZ #11952]
d26dfc60
MG
136 [BZ #12453]
137 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
138 until all modules are registered in the DTV.
139 * elf/Makefile: Add rules to build and run tst-tls19.
140 * elf/tst-tls19.c: New file.
141 * elf/tst-tls19mod1.c: New file.
142 * elf/tst-tls19mod2.c: New file.
143 * elf/tst-tls19mod3.c: New file.
144 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
145
2fc54d6f
UD
146 [BZ #12083]
147 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
148 correctly.
149
98d76b46
UD
150 [BZ #12601]
151 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
152 two-byte sequence errors.
153 * iconvdata/Makefile (tests): Add bug-iconv8.
154 * iconvdata/bug-iconv8.c: New file.
155
da3c19ef
UD
156 [BZ #12626]
157 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
158 buf2 definition.
159
ca408c15
UD
160 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
161
d6f67f7d
UD
162 [BZ #12432]
163 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
164 (dummy_getcfa): New function.
165 (init): Get _Unwind_GetCFA address, use dummy if not found.
166 (backtrace_helper): In recursion check, also check whether CFA changes.
167 (__backtrace): Completely initialize arg.
168
1af4e298 169 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
170 storing incomplete byte sequence in state object. Avoid testing for
171 guaranteed too small input if we know there is enough data available.
1af4e298 172
da62f81b
AS
1732011-05-11 Andreas Schwab <schwab@redhat.com>
174
175 * Makeconfig (+link-pie): Indent.
176 * Rules (binaries-pie): Define if $(have-fpie) and
177 $(build-shared).
178 (binaries-shared): Also filter out $(binaries-pie).
179 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
180 * nscd/Makefile (others-pie): Add nscd.
181 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
182 ($(objpfx)nscd): Remove command override.
183 * login/Makefile (others-pie): Add pt_chown.
184 ($(objpfx)pt_chown): Remove command override.
185 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
186 remove command overrides.
187
fcabc0f8
UD
1882011-05-13 Ulrich Drepper <drepper@gmail.com>
189
20030ae6
UD
190 * libio/tst_putwc.c: Fix error messages.
191
fcabc0f8
UD
192 [BZ #12724]
193 * libio/fileops.c (_IO_new_file_close_it): Always flush when
194 currently writing and seek to current position when not.
195 * libio/Makefile (tests): Add bug-fclose1.
196 * libio/bug-fclose1.c: New file.
197
320a5dc0
PB
1982011-05-12 Ulrich Drepper <drepper@gmail.com>
199
200 [BZ #12511]
201 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
202 don't set DF_1_NODELETE here.
203 (do_lookup_x): When entering new entry test for copy relocation
204 and if necessary set DF_1_NODELETE flag.
205 * elf/tst-unique4.cc: New file.
206 * elf/tst-unique4.h: New file.
207 * elf/tst-unique4lib.cc: New file.
208 * elf/Makefile: Add rules to build and run tst-unique4.
209 Patch by Piotr Bury <pbury@goahead.com>.
210
22836f52
UD
2112011-05-11 Ulrich Drepper <drepper@gmail.com>
212
f574184a
UD
213 [BZ #12052]
214 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
215
e1fb097f
UD
216 [BZ #12625]
217 * misc/mntent_r.c (addmntent): Flush the stream after the output
218
22836f52
UD
219 [BZ #12393]
220 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
221 (is_trusted_path_normalize): Skip initial colon. Append slash
222 to empty buffer. Duplicate is_trusted_path code but allow
223 constructed patch to be prefix.
224 (is_dst): Allow $ORIGIN followed by /.
225 (_dl_dst_substitute): Correct clearing of check_for_trusted.
226 Correct testing of result of is_trusted_path_normalize
227 (decompose_rpath): Fix warning.
228
7b3b0b2a
UD
2292011-05-10 Ulrich Drepper <drepper@gmail.com>
230
231 [BZ #11257]
232 * grp/initgroups.c (internal_getgrouplist): When we found the service
233 list through the initgroups entry in nsswitch.conf do not always
234 continue on a successful lookup. Don't always use the
eac80ce2 235 __nss_group_database value if it is set.
7b3b0b2a
UD
236 * nss/nsswitch.conf (initgroups): Change action for successful db
237 lookup to continue for compatibility.
238
2a81eaa5
UD
2392011-05-09 Ulrich Drepper <drepper@gmail.com>
240
be97a69e
UD
241 [BZ #11532]
242 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
243 and CP774 modules.
244 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
245 and CP774 modules.
246 * iconvdata/tst-tables.sh: Likewise.
247 * iconvdata/cp770.c: New file.
248 * iconvdata/cp771.c: New file.
249 * iconvdata/cp772.c: New file.
250 * iconvdata/cp773.c: New file.
251 * iconvdata/cp774.c: New file.
252 * iconvdata/testdata/CP770: New file.
253 * iconvdata/testdata/CP770..UTF8: New file.
254 * iconvdata/testdata/CP771: New file.
255 * iconvdata/testdata/CP771..UTF8: New file.
256 * iconvdata/testdata/CP772: New file.
257 * iconvdata/testdata/CP772..UTF8: New file.
258 * iconvdata/testdata/CP773: New file.
259 * iconvdata/testdata/CP773..UTF8: New file.
260 * iconvdata/testdata/CP774: New file.
261 * iconvdata/testdata/CP774..UTF8: New file.
262
263 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
264 END CHARMAP line.
265 * iconvdata/gen-8bit-gap.sh: Likewise.
266 * iconvdata/gen-8bit.sh: Likewise.
267
c1e9e399
UD
268 * locale/iso-639.def: Add ary entry.
269
24c55fb3 270 [BZ #11258]
96b4b1b0
UD
271 * locale/C-translit.h.in: Add U20A1 transliteration.
272
bdc2f971
KB
273 [BZ #12178]
274 * locale/iso-639.def: Add wae entry.
275 Patch by Kevin Bortis <bortis@translate-wae.ch>.
276
2952b117
UD
277 [BZ #12545]
278 * locale/programs/localedef.c (construct_output_path): Use ssize_t
279 for n.
280
2a81eaa5
UD
281 [BZ #12711]
282 * locale/C-translit.h.in: Add entry for U20B9.
283 Patch by pravin.d.s@gmail.com.
284
28377d1b
UD
2852011-05-08 Ulrich Drepper <drepper@gmail.com>
286
7fb90fb8
UD
287 [BZ #12713]
288 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
289 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
290 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
291 in rtld. Use *stat64.
7fb90fb8 292 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 293 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 294 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
295 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
296 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
297 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
298 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
299 __fstatat64 macros.
7fb90fb8
UD
300 * include/dirent.h: Add libc_hidden_proto for rewinddir.
301 * dirent/rewinddir.c: Add libc_hidden_def.
302 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 303 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 304
28377d1b
UD
305 * include/dirent.h (__alloc_dir): Add flags parameter.
306 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
307 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
308 __alloc_dir.
309 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
310 from fdopendir if O_CLOEXEC is already set.
311
66bdbaa4
AM
3122011-03-15 Alan Modra <amodra@gmail.com>
313
314 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
315 l_tls_firstbyte_offset non-zero. Save padding offset in
316 l_tls_firstbyte_offset for later use.
317 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
318 freeing static tls block.
319
95721191
JN
3202011-03-05 Jonathan Nieder <jrnieder@gmail.com>
321
322 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
323 where #ifdef was intended. The intent is to prevent ARG_MAX from
324 being defined by the kernel headers.
325
f87dfb1f
UD
3262011-05-07 Ulrich Drepper <drepper@gmail.com>
327
328 [BZ #12734]
329 * resolv/resolv.h: Define RES_NOTLDQUERY.
330 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
331 no-tld-query and set RES_NOTLDQUERY.
332 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
333 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
334 modern BIND to search name as TLD unless forbidden.
335
47c3cd7a
UD
3362011-05-07 Petr Baudis <pasky@suse.cz>
337 Ulrich Drepper <drepper@gmail.com>
338
339 [BZ #12393]
340 * elf/dl-load.c (fillin_rpath): Move trusted path check...
341 (is_trusted_path): ...to here.
c1e9ea35 342 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 343 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 344 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 345
8a35c912
PP
3462011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
347
348 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
349 __BEGIN/__END_DECLS.
350
acd41f47
UD
3512011-05-06 Ulrich Drepper <drepper@gmail.com>
352
353 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
354 NSS_STATUS_NOTFOUND if no record was found.
355
597df647
AS
3562011-05-05 Andreas Schwab <schwab@redhat.com>
357
358 * sunrpc/Makefile (headers): Add rpc/netdb.h.
359 (headers-not-in-tirpc): Remove rpc/netdb.h
360 * resolv/netdb.h: Revert last change.
361
b9af1301
PP
3622011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
363
364 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
365 circular dependency between libgcc.a and libc.a.
366
4e34d5f5
AS
3672011-05-05 Andreas Schwab <schwab@redhat.com>
368
369 * resolv/netdb.h: Don't include <rpc/netdb.h>.
370 * nis/Makefile: Don't install rpcsvc/*.
371 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
372 instead of <rpc/types.h>.
373 (MAXHOSTNAMELEN): Define.
374
00ee369c
AS
3752011-05-03 Andreas Schwab <schwab@redhat.com>
376
377 * elf/ldconfig.c (add_dir): Don't crash on empty path.
378
0b592a30
MB
3792011-04-28 Maciej Babinski <mbabinski@google.com>
380
381 [BZ #12714]
382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
383 gethostbyname4_r when IPv6 results are possible.
384
6e04cbbe
UD
3852011-05-02 Ulrich Drepper <drepper@gmail.com>
386
387 [BZ #12723]
388 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
389 _PC_PIPE_BUF handling.
390
e4ecafe0
BH
3912011-04-30 Bruno Haible <bruno@clisp.org>
392
393 [BZ #12717]
394 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
395 * resolv/netdb.h (getnameinfo): Change type of flags parameter
396 to 'int'.
397 * inet/getnameinfo.c (getnameinfo): Likewise.
398
125ee683
UD
3992011-04-29 Ulrich Drepper <drepper@gmail.com>
400
401 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
402 to groups setting in database lookup.
403 * nss/nsswitch.conf: Add initgroups entry.
404
b722481a
EB
4052011-04-22 Ulrich Drepper <drepper@gmail.com>
406
407 [BZ #12685]
408 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
409 mode string.
410 Patch by Eric Blake <eblake@redhat.com>.
411
4df46dbd
L
4122011-04-20 H.J. Lu <hongjiu.lu@intel.com>
413
414 * sunrpc/Makefile (need-export-routines): Add svc_run.
415 (routines): Remove svc_run.
416 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
417 * sunrpc/clnt_perr.c (clnt_perrno): Export.
418 * sunrpc/svc_run.c (svc_run): Likewise.
419 * sunrpc/svc_udp.c (svcudp_create): Likewise.
420
e84142d2
UD
4212011-04-21 Ulrich Drepper <drepper@gmail.com>
422
423 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
424 problem in reallocation in last patch.
425
877175d8
UD
4262011-04-20 Ulrich Drepper <drepper@gmail.com>
427
428 * sunrpc/Makefile: Move inclusion of Rules.
429
ab8eed78
UD
4302011-04-19 Ulrich Drepper <drepper@gmail.com>
431
432 * nss/nss_files/files-initgroups.c: New file.
433 * nss/Makefile (libnss_files-routines): Add files-initgroups.
434 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
435 _nss_files_initgroups_dyn.
436
e3d8f584
RS
4372011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
438
439 * elf/elf.h (R_ARM_IRELATIVE): Define.
440
af190f45
UD
4412011-04-19 Ulrich Drepper <drepper@gmail.com>
442
443 * po/ru.po: Update from translation team.
444
53cf59ef
UD
4452011-04-17 Ulrich Drepper <drepper@gmail.com>
446
447 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
448 dependencies.
449
4c559bcd
MF
4502011-02-06 Mike Frysinger <vapier@gentoo.org>
451
452 [BZ #12653]
453 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
454 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
455 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
457 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
458
4420675c
AS
4592011-03-28 Andreas Schwab <schwab@linux-m68k.org>
460
461 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
462 differing bytes.
463 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
464 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
466
75ea32ab
UD
4672011-04-17 Ulrich Drepper <drepper@gmail.com>
468
469 [BZ #12420]
470 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
471 storing it.
472 * stdlib/bug-getcontext.c: New file.
473 * stdlib/Makefile: Add rules to build and run bug-getcontext.
474
27390476
AK
4752011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
476
477 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
478 instructions into .machine "z9-109".
479 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
480 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
481
10442705
AK
4822011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
483
484 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
485 between environment variables and auxiliary vector.
486
7b57bfe5
UD
4872011-04-16 Ulrich Drepper <drepper@gmail.com>
488
489 * Makefile: Add rules to build linkobj/libc.so.
490 * include/libc-symbols.h: Define libc_hidden_nolink.
491 * include/rpc/auth.h: Mark functions which are to be hidden.
492 * include/rpc/auth_des.h: Likewise.
493 * include/rpc/auth_unix.h: Likewise.
494 * include/rpc/clnt.h: Likewise.
495 * include/rpc/des_crypt.h: Likewise.
496 * include/rpc/key_prot.h: Likewise.
497 * include/rpc/pmap_clnt.h: Likewise.
498 * include/rpc/pmap_prot.h: Likewise.
499 * include/rpc/pmap_rmt.h: Likewise.
500 * include/rpc/rpc_msg.h: Likewise.
501 * include/rpc/svc.h: Likewise.
502 * include/rpc/svc_auth.h: Likewise.
503 * include/rpc/xdr.h: Likewise.
504 * nis/Makefile: Link all DSOs against linkobj/libc.so.
505 * nss/Makefile: Likewise.
506 * sunrpc/Makefile: Don't install headers. Build library with normal
507 entry points. Don't build rpcinfo. Link RPC tests appropriately.
508 * sunrpc/auth_des.c: Hide exported symbols by default, export some
509 for the compat linking library. Remove use of INTDEF/INTUSE.
510 * sunrpc/auth_none.c: Likewise.
511 * sunrpc/auth_unix.c: Likewise.
512 * sunrpc/authdes_prot.c: Likewise.
513 * sunrpc/authuxprot.c: Likewise.
514 * sunrpc/clnt_gen.c: Likewise.
515 * sunrpc/clnt_perr.c: Likewise.
516 * sunrpc/clnt_raw.c: Likewise.
517 * sunrpc/clnt_simp.c: Likewise.
518 * sunrpc/clnt_tcp.c: Likewise.
519 * sunrpc/clnt_udp.c: Likewise.
520 * sunrpc/clnt_unix.c: Likewise.
521 * sunrpc/des_crypt.c: Likewise.
522 * sunrpc/des_soft.c: Likewise.
523 * sunrpc/get_myaddr.c: Likewise.
524 * sunrpc/key_call.c: Likewise.
525 * sunrpc/key_prot.c: Likewise.
526 * sunrpc/netname.c: Likewise.
527 * sunrpc/pm_getmaps.c: Likewise.
528 * sunrpc/pm_getport.c: Likewise.
529 * sunrpc/pmap_clnt.c: Likewise.
530 * sunrpc/pmap_prot.c: Likewise.
531 * sunrpc/pmap_prot2.c: Likewise.
532 * sunrpc/pmap_rmt.c: Likewise.
533 * sunrpc/publickey.c: Likewise.
534 * sunrpc/rpc_cmsg.c: Likewise.
535 * sunrpc/rpc_common.c: Likewise.
536 * sunrpc/rpc_dtable.c: Likewise.
537 * sunrpc/rpc_prot.c: Likewise.
538 * sunrpc/rpc_thread.c: Likewise.
539 * sunrpc/rtime.c: Likewise.
540 * sunrpc/svc.c: Likewise.
541 * sunrpc/svc_auth.c: Likewise.
542 * sunrpc/svc_authux.c: Likewise.
543 * sunrpc/svc_raw.c: Likewise.
544 * sunrpc/svc_run.c: Likewise.
545 * sunrpc/svc_simple.c: Likewise.
546 * sunrpc/svc_tcp.c: Likewise.
547 * sunrpc/svc_udp.c: Likewise.
548 * sunrpc/svc_unix.c: Likewise.
549 * sunrpc/svcauth_des.c: Likewise.
550 * sunrpc/xcrypt.c: Likewise.
551 * sunrpc/xdr.c: Likewise.
552 * sunrpc/xdr_array.c: Likewise.
553 * sunrpc/xdr_float.c: Likewise.
554 * sunrpc/xdr_intXX_t.c: Likewise.
555 * sunrpc/xdr_mem.c: Likewise.
556 * sunrpc/xdr_rec.c: Likewise.
557 * sunrpc/xdr_ref.c: Likewise.
558 * sunrpc/xdr_sizeof.c: Likewise.
559 * sunrpc/xdr_stdio.c: Likewise.
560
e6c61494
UD
5612011-04-10 Ulrich Drepper <drepper@gmail.com>
562
563 [BZ #12650]
564 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
565 * sysdeps/ia64/dl-tls.h: Likewise.
566 * sysdeps/powerpc/dl-tls.h: Likewise.
567 * sysdeps/s390/dl-tls.h: Likewise.
568 * sysdeps/sh/dl-tls.h: Likewise.
569 * sysdeps/sparc/dl-tls.h: Likewise.
570 * sysdeps/x86_64/dl-tls.h: Likewise.
571 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
572
34fe483e
AS
5732011-03-14 Andreas Schwab <schwab@redhat.com>
574
575 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
576 rpath element also skip the following colon.
577 (expand_dynamic_string_token): Add is_path parameter and pass
578 down to DL_DST_REQUIRED and _dl_dst_substitute.
579 (decompose_rpath): Call expand_dynamic_string_token with
580 non-zero is_path. Ignore empty rpaths.
581 (_dl_map_object_from_fd): Call expand_dynamic_string_token
582 with zero is_path.
583
f12a32e6
AS
5842011-04-08 Andreas Schwab <schwab@linux-m68k.org>
585
586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
587 Make cancelable.
588
38a7d692
UD
5892011-04-09 Ulrich Drepper <drepper@gmail.com>
590
591 [BZ #12655]
592 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
593 Patch by Filipe David Manana <fdmanana@apache.org>.
594
e451d22b
AS
5952011-04-07 Andreas Schwab <schwab@redhat.com>
596
597 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
598 Maintain aligned stack.
599 (CHECK_RSP): Remove unused macro.
600
dedc7c7b
UD
6012011-04-03 Ulrich Drepper <drepper@gmail.com>
602
603 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
604 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
605
94521213
UD
6062011-04-02 Ulrich Drepper <drepper@gmail.com>
607
608 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
609
8cb700c0 610 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 611
0354e355
L
6122011-03-26 H.J. Lu <hongjiu.lu@intel.com>
613
614 [BZ #12518]
615 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
616 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
617 * sysdeps/x86_64/memmove.c: New file.
618 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
619 (memcpy): Renamed to ...
620 (__new_memcpy): This.
621 (memcpy): Provide GLIBC_2_14 memcpy.
622 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
623 (memcpy): Provide GLIBC_2_2_5 memcpy.
624
8593482f
UD
6252011-04-01 Ulrich Drepper <drepper@gmail.com>
626
627 [BZ #12631]
628 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
629
81a5726b
AS
6302011-03-30 Andreas Schwab <schwab@redhat.com>
631
632 * misc/syncfs.c: New file.
633 * misc/Makefile (routines): Add syncfs.
634 * posix/unistd.h: Declare syncfs.
635 * sysdeps/unix/syscalls.list: Add syncfs.
636
00e5419f
AS
6372011-04-01 Andreas Schwab <schwab@redhat.com>
638
639 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
640 open_by_handle_at.
641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
644 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
646 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
647 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
648
748876bf
UD
6492011-04-01 Ulrich Drepper <drepper@gmail.com>
650
658e451d
UD
651 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
653 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
655 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
658
748876bf
UD
659 * io/Makefile: Compile fallocate.c, fallocate64.c, and
660 sync_file_range.c with -fexceptions.
661 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
662 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
663 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
664 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
665 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
666 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
668 sync_file_range as cancellation point
669 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
670 now a wrapper around __call_sync_file_range with cancellation handling.
671 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
672 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
673 function name to __call_sync_file_range.
674 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
675 Add call_sync_file_range.
748876bf 676
6e63d5e1
AS
6772011-04-01 Andreas Schwab <schwab@redhat.com>
678
679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 680 bits/timex.h.
6e63d5e1 681
46998f74
UD
6822011-04-01 Ulrich Drepper <drepper@gmail.com>
683
4c1423ed
UD
684 * iconv/iconv.h: Fix typo in comment.
685 * io/fcntl.h: Likewise.
686 * libio/stdio.h: Likewise.
687 * posix/spawn.h: Likewise.
688 * posix/unistd.h: Likewise.
689 * stdlib/stdlib.h: Likewise.
690 * time/time.h: Likewise.
691 * wcsmbs/wchar.h: Likewise.
692
158648c0
UD
693 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
694 open_by_handle): Add.
695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
696 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
697 Augment a few comments.
698 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
700 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
702 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
703 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
704 open_by_handle.
705
46998f74
UD
706 * io/fcntl.h (AT_EMPTY_PATH): Define.
707
83fe108b
UD
7082011-03-30 Ulrich Drepper <drepper@gmail.com>
709
710 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
711 * sysdeps/unix/sysv/linux/bits/time.h: New file.
712 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
713 to...
714 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
715 * Versions.def: Add GLIBC_2.14.
716 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
717 Export.
83fe108b 718
bb242059
UD
7192011-03-22 Ulrich Drepper <drepper@gmail.com>
720
721 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
722 round counter.
723 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
724
c97a1282
L
7252011-03-20 H.J. Lu <hongjiu.lu@intel.com>
726
727 [BZ #12597]
728 * string/test-strncmp.c (do_page_test): New function.
729 (check2): Likewise.
730 (test_main): Call check2.
731 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
732
2a115601
UD
7332011-03-20 Ulrich Drepper <drepper@gmail.com>
734
735 [BZ #12587]
736 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
737 Handle cache information in CPU leaf 4.
738 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
739
8126d904
UD
7402011-03-18 Ulrich Drepper <drepper@gmail.com>
741
042c49c6 742 [BZ #12583]
8126d904
UD
743 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
744 character representation.
745 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
746
ccfe366e
RA
7472011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
748
749 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
750 END(__isnan) to END(__isnanf) to match function entry point/label
751 EALIGN(__isnanf,...).
752
c6e13027
JJ
7532011-03-10 Jakub Jelinek <jakub@redhat.com>
754
755 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
756
33f85a3f
UD
7572011-03-10 Ulrich Drepper <drepper@gmail.com>
758
028478fa
UD
759 [BZ #12510]
760 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
761 copy from the symbol referenced in the relocation to initialize the
762 used variable.
763 Patch by Piotr Bury <pbury@goahead.com>.
764 * elf/Makefile: Add rules to build and tst-unique3.
765 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
766 * elf/tst-unique3.cc: New file.
767 * elf/tst-unique3.h: New file.
768 * elf/tst-unique3lib.cc: New file.
769 * elf/tst-unique3lib2.cc: New file.
770
33f85a3f
UD
771 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
772
03592fc7
MF
7732011-03-10 Mike Frysinger <vapier@gentoo.org>
774
775 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
776 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
777 to _start.
03592fc7 778
6a5ee102
UD
7792011-03-06 Ulrich Drepper <drepper@gmail.com>
780
781 * elf/dl-load.c (_dl_map_object): If we are looking for the first
782 to-be-loaded object along a path to loader is ld.so.
783
7e4ba49c
HJ
7842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
785 Ulrich Drepper <drepper@gmail.com>
786
787 * sysdeps/x86_64/memset.S: After aligning destination, code
788 branches to different locations depending on the value of
789 misalignment, when multiarch is enabled. Fix this.
790
7912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
792
793 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
794 Set _x86_64_preferred_memory_instruction for AMD processsors.
795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
796 Set bit_Prefer_SSE_for_memop for AMD processors.
797
13a804de
UD
7982011-03-04 Ulrich Drepper <drepper@gmail.com>
799
800 * libio/fmemopen.c (fmemopen): Optimize a bit.
801
9d25c392
AS
8022011-03-03 Andreas Schwab <schwab@redhat.com>
803
804 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
805
a5543c6a
RM
8062011-03-03 Roland McGrath <roland@redhat.com>
807
808 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
809
012d35f7
DM
8102011-02-28 Aurelien Jarno <aurelien@aurel32.net>
811
7e4ba49c 812 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
813 __bzero_ultra1 instead of __memset_ultra1.
814
4bff6e01
AS
8152011-02-23 Andreas Schwab <schwab@redhat.com>
816 Ulrich Drepper <drepper@gmail.com>
817
818 [BZ #12509]
819 * include/link.h (struct link_map): Add l_orig_initfini.
820 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
821 returning unsuccessfully.
822 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
823 close of a file loaded at startup, restore the original l_initfini
824 list.
825 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
826 list, store the pointer.
827 * elf/Makefile ($(objpfx)noload-mem): New rule.
828 (noload-ENV): Define.
829 (tests): Add $(objpfx)noload-mem.
830 * elf/noload.c: Include <memcheck.h>.
831 (main): Call mtrace. Close all opened handles.
832
f2092faf
AS
8332011-02-17 Andreas Schwab <schwab@redhat.com>
834
835 [BZ #12454]
836 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
837 dependencies are missing.
838
6c8a2e88
ST
8392011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
840
f2092faf 841 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
842 Hurd needs munmap.
843 * sysdeps/mach/hurd/ifreq.h: New file.
844
84a42118
PB
8452011-01-27 Petr Baudis <pasky@suse.cz>
846 Ulrich Drepper <drepper@gmail.com>
847
071f805e 848 [BZ 12445]#
84a42118
PB
849 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
850 to extend_alloca().
851 * stdio-common/bug23.c: New file.
852 * stdio-common/Makefile (tests): Add bug23.
853
e23fe25b
AS
8542010-09-28 Andreas Schwab <schwab@redhat.com>
855 Ulrich Drepper <drepper@gmail.com>
856
857 [BZ #12489]
858 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
859 before performing relro protection. At old place add assertion
860 to make sure nothing changed.
861
d3f02e10
NS
8622011-02-17 Nathan Sidwell <nathan@codesourcery.com>
863 Glauber de Oliveira Costa <glommer@gmail.com>
864
865 * elf/elf.h: Add new ARM TLS relocs.
866
d55fd7a5
RA
8672011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
868
869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
870 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
871 cast from r3.
872 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
873 'tests' variable.
874 * sysdeps/wordsize-64/tst-writev.c: New file.
875
2206397e
RA
8762011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
877
878 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
879 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
880 insns in _dl_start to prevent a TOC reference before relocs are
881 resolved.
882
e9433893
UD
8832011-02-15 Ulrich Drepper <drepper@gmail.com>
884
885 [BZ #12469]
886 * Makeconfig: Remove RANLIB definition.
887 * Makerules: Don't use RANLIB.
888 * aclocal.m4: Remove ranlib test.
889 * configure.in: No need to check for ranlib.
890 * elf/rtld-Rules: Don't use RANLIB.
891
f75286c6
ST
8922011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
893
8e31c82d
ST
894 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
895 protection macro.
896 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
897 inclusion protection macro.
898
f75286c6
ST
899 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
900 SIGRTMIN and SIGRTMAX and print information in that case only when
901 SIGRTMIN is defined.
902
c1d0e639
JJ
9032011-02-11 Jakub Jelinek <jakub@redhat.com>
904
905 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
906 arginfo fn returning -1.
907
908 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
909 and thousands string is zero terminated.
910
edf9294e
AS
9112011-02-03 Andreas Schwab <schwab@redhat.com>
912
913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
914 sysdeps/unix/sysv/linux/bits/socket.h.
915
2b7e92df
ST
9162011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
917
edf9294e
AS
918 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
919 (__CPU_COUNT): Remove old macros.
920 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
921 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
922 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
923 (__sched_cpualloc, __sched_cpufree): Add declarations.
924
a4c7ea7b
UD
9252011-02-05 Ulrich Drepper <drepper@gmail.com>
926
927 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
928 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
929 * nscd/aicache.c (addhstaiX): Return timeout of added value.
930 (readdhstai): Return value of addhstaiX call.
931 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
932 (addgrbyX): Return value returned by cache_addgr.
933 (readdgrbyname): Return value returned by addgrbyX.
934 (readdgrbygid): Likewise.
935 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
936 (addpwbyX): Return value returned by cache_addpw.
937 (readdpwbyname): Return value returned by addhstbyX.
938 (readdpwbyuid): Likewise.
939 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
940 (addservbyX): Return value returned by cache_addserv.
941 (readdservbyname): Return value returned by addservbyX:
942 (readdservbyport): Likewise.
943 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
944 (addhstbyX): Return value returned by cache_addhst.
945 (readdhstbyname): Return value returned by addhstbyX.
946 (readdhstbyaddr): Likewise.
947 (readdhstbynamev6): Likewise.
948 (readdhstbyaddrv6): Likewise.
949 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
950 (readdinitgroups): Return value returned by addinitgroupsX.
951 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
952 (prune_cache): Keep track of timeout value of re-added entries.
953 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
954 * nscd/nscd.h: Adjust prototypes of readd* functions.
955
a0bf67cc
RM
9562011-02-04 Roland McGrath <roland@redhat.com>
957
958 * nis/nis_server.c (nis_servstate): Use the right name for 0.
959 (nis_stats): Likewise.
960 * nis/nis_modify.c (nis_modify): Likewise.
961 * nis/nis_remove.c (nis_remove): Likewise.
962 * nis/nis_add.c (nis_add): Likewise.
963
964 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
965
966 * posix/fnmatch_loop.c: Add some consts.
967
968 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
969
435b95eb
L
9702011-02-02 H.J. Lu <hongjiu.lu@intel.com>
971
972 [BZ #12460]
973 * config.make.in (config-cflags-novzeroupper): Define.
974 * configure.in: Substitute libc_cv_cc_novzeroupper.
975 * elf/Makefile (AVX-CFLAGS): Define.
976 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
977 (CFLAGS-tst-auditmod4a.c): Likewise.
978 (CFLAGS-tst-auditmod4b.c): Likewise.
979 (CFLAGS-tst-auditmod6b.c): Likewise.
980 (CFLAGS-tst-auditmod6c.c): Likewise.
981 (CFLAGS-tst-auditmod7b.c): Likewise.
982 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
983
8517b15e
UD
9842011-02-02 Ulrich Drepper <drepper@gmail.com>
985
986 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
987 function to the callback.
988 Patch partly by Jiri Olsa <jolsa@redhat.com>.
989
10a656fe
AS
9902011-02-02 Andreas Schwab <schwab@redhat.com>
991
992 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
993 of errno.
994
968dad0a
UD
9952011-01-19 Ulrich Drepper <drepper@gmail.com>
996
9f94d2ea 997 [BZ #11724]
968dad0a
UD
998 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
999 of constructors.
1000 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
1001 of destructors.
1002 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
1003
1004 [BZ #11724]
1005 * elf/Makefile: Add rules to build and run new test.
1006 * elf/tst-initorder.c: New file.
1007 * elf/tst-initorder.exp: New file.
1008 * elf/tst-initordera1.c: New file.
1009 * elf/tst-initordera2.c: New file.
1010 * elf/tst-initordera3.c: New file.
1011 * elf/tst-initordera4.c: New file.
1012 * elf/tst-initorderb1.c: New file.
1013 * elf/tst-initorderb2.c: New file.
1014 * elf/tst-order-a1.c: New file.
1015 * elf/tst-order-a2.c: New file.
1016 * elf/tst-order-a3.c: New file.
1017 * elf/tst-order-a4.c: New file.
1018 * elf/tst-order-b1.c: New file.
1019 * elf/tst-order-b2.c: New file.
1020 * elf/tst-order-main.c: New file.
1021 New test case by George Gensure <werkt0@gmail.com>.
1022
86e92359
UD
10232010-10-01 Andreas Schwab <schwab@redhat.com>
1024
1025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
1026 decoding ACE if AI_CANONIDN.
1027
5d5732b0
UD
10282011-01-18 Ulrich Drepper <drepper@gmail.com>
1029
1030 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
1031
a77e8cbc
UD
10322011-01-17 Ulrich Drepper <drepper@gmail.com>
1033
6392473f
UD
1034 * version.h (RELEASE): Bump for 2.13 release.
1035 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
1036
620a0529
UD
1037 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
1038
18ba70a5
UD
1039 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
1040 MADV_NOHUGEPAGE.
32465c3e
UD
1041 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
1042 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1043 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1044 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1045 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1046 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1047
c0dafcf1
UD
1048 * posix/getconf.c: Update copyright year.
1049 * catgets/gencat.c: Likewise.
1050 * csu/version.c: Likewise.
1051 * debug/catchsegv.sh: Likewise.
1052 * debug/xtrace.sh: Likewise.
1053 * elf/ldconfig.c: Likewise.
1054 * elf/ldd.bash.in: Likewise.
1055 * elf/sprof.c (print_version): Likewise.
1056 * iconv/iconv_prog.c: Likewise.
1057 * iconv/iconvconfig.c: Likewise.
1058 * locale/programs/locale.c: Likewise.
1059 * locale/programs/localedef.c: Likewise.
1060 * malloc/memusage.sh: Likewise.
1061 * malloc/mtrace.pl: Likewise.
1062 * nscd/nscd.c (print_version): Likewise.
1063 * nss/getent.c: Likewise.
1064
a77e8cbc
UD
1065 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
1066 PF_CAIF, and PF_ALG.
1067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1068
77e8bddf
AS
10692011-01-16 Andreas Schwab <schwab@linux-m68k.org>
1070
1f20b93a
AS
1071 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
1072 (modules-names): Use them.
1073 (ifunc-test-modules, ifunc-pie-tests): Define.
1074 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
1075 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
1076 (test-extras): Likewise.
1077 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
1078 $(compile-command.c).
1079 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
1080 (all-built-dso): Define.
1081 (check-textrel.out, check-execstack.out): Depend on it.
1082
77e8bddf
AS
1083 * configure.in: Don't override --enable-multi-arch.
1084
bc425b33
UD
10852011-01-15 Ulrich Drepper <drepper@gmail.com>
1086
1087 [BZ #6812]
1088 * nscd/hstcache.c (tryagain): Define.
1089 (cache_addhst): Return tryagain not notfound for temporary errors.
1090 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
1091 failed.
1092
794c3ad3
UD
10932011-01-14 Ulrich Drepper <drepper@gmail.com>
1094
70181fdd
UD
1095 [BZ #10563]
1096 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
1097 to make the syscall.
1098 * sysdeps/unix/sysv/linux/setgroups.c: New file.
1099
794c3ad3
UD
1100 [BZ #12378]
1101 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
1102 and fall back to matching as normal character if the string ends before
1103 the matching ']' is found. This is what POSIX requires.
1104 * posix/testfnm.c: Adjust test result.
1105 * posix/globtest.sh: Adjust test result. Add new test.
1106 * posix/tst-fnmatch.input: Likewise.
1107 * posix/tst-fnmatch2.c: Add new test.
1108
68dc9497
AS
11092010-12-28 Andreas Schwab <schwab@linux-m68k.org>
1110
1111 * elf/Makefile (check-execstack): Revert last change. Depend on
1112 check-execstack.h.
1113 (check-execstack.h): New target.
1114 (generated): Add check-execstack.h.
1115 * elf/check-execstack.c: Include "check-execstack.h".
1116 (main): Revert last change.
1117 (handle_file): Return zero if GNU_STACK is absent and
1118 DEFAULT_STACK_PERMS doesn't include PF_X.
1119
451f001b
UD
11202011-01-13 Ulrich Drepper <drepper@gmail.com>
1121
cfa28e56
UD
1122 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
1123 in child fails because the descriptor is already closed.
8cf8ce17
UD
1124 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
1125 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
1126 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 1127
1086d70d
UD
1128 [BZ #12397]
1129 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
1130 syscall.
1131
451f001b
UD
1132 [BZ #10484]
1133 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
1134 temporary buffer used to handle multi lookups locally.
a85b5cb4 1135 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 1136
08769175
UD
11372011-01-12 Ulrich Drepper <drepper@gmail.com>
1138
1139 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
1140 loader is ld.so.
1141
5e49c52e
UD
11422011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
1143
1144 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
1145 alignment for SSE2.
1146
60522a5f
UD
11472011-01-12 Ulrich Drepper <drepper@gmail.com>
1148
1149 [BZ #12394]
1150 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
1151 characters. When rounding increased number of integer digits recompute
1152 number of groups.
1153 * stdio-common/tst-grouping.c: New file.
1154 * stdio-common/Makefile: Add rules to build and run tst-grouping.
1155
f257bbd7
UD
11562011-01-09 Ulrich Drepper <drepper@gmail.com>
1157
1158 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
1159 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
1160
1161 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
1162 void.
1163 * bits/select.h: Likewise.
1164
fa9c15cb
UD
11652011-01-08 Ulrich Drepper <drepper@gmail.com>
1166
1167 * po/ja.po: Update from translation team.
1168
16c2895f
DM
11692011-01-04 David S. Miller <davem@sunset.davemloft.net>
1170
1171 [BZ #11155]
1172 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
1173 implementation just like for lxstat, fxstatat, et al.
1174
2543fef2
JM
11752010-12-27 Jim Meyering <meyering@redhat.com>
1176
1177 [BZ #12348]
1178 * posix/regexec.c (build_trtable): Return failure indication upon
1179 calloc failure. Otherwise, re_search_internal could infloop on OOM.
1180
98727dbe
UD
11812010-12-25 Ulrich Drepper <drepper@gmail.com>
1182
5bd6dc5c
UD
1183 [BZ #12201]
1184 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
1185 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
1186 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
1187 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
1188
97983464
UD
1189 [BZ #12207]
1190 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
1191
98727dbe
UD
1192 [BZ #12204]
1193 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
1194 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
1195
4a531bb0
L
11962010-12-15 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
1199 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
1200 script has SORT_BY_INIT_PRIORITY.
1201 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
1202 NO_CTORS_DTORS_SECTIONS is defined.
1203 * elf/soinit.c: Likewise.
1204 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
1205 NO_CTORS_DTORS_SECTIONS is defined.
1206 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1207 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
1208 * sysdeps/sh/init-first.c: Likewise.
1209 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1210
07eb4b71
UD
12112010-12-24 Ulrich Drepper <drepper@gmail.com>
1212
1213 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
1214 always use the slow path.
1215
30950a5f
RA
12162010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
1217
1218 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
1219 similar rule which adds the sysdep directories to the header search in
1220 order to pick up the correct platform stackinfo.h.
1221 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
1222 perform test if it is, otherwise return successfully without testing.
1223 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
1224 DEFAULT_STACK_PERMS define in stackinfo.h.
1225 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
1226 defined in stackinfo.h.
1227 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
1228 DEFAULT_STACK_PERMS defined in stackinfo.h.
1229 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1230 * sysdeps/ia64/stackinfo.h: Likewise.
1231 * sysdeps/s390/stackinfo.h: Likewise.
1232 * sysdeps/sh/stackinfo.h: Likewise.
1233 * sysdeps/sparc/stackinfo.h: Likewise.
1234 * sysdeps/x86_64/stackinfo.h: Likewise.
1235 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
1236 PF_X for powerpc64. Retain PF_X for powerpc32.
1237
db753e2c
UD
12382010-12-19 Ulrich Drepper <drepper@gmail.com>
1239
14b697f7
UD
1240 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
1241 accurately.
db753e2c
UD
1242 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
1243 GETDENTS_64BIT_ALIGNED.
1244
28300719
UD
12452010-12-14 Ulrich Drepper <dreper@gmail.com>
1246
14b697f7 1247 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 1248
4f197237
AS
12492010-12-10 Andreas Schwab <schwab@redhat.com>
1250
dbb0472f
AS
1251 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
1252 _GNU_SOURCE.
1253
4f197237
AS
1254 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
1255 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
1256 Remove __restrict.
1257 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
1258 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
1259
fb88ac72
UD
12602010-12-09 Ulrich Drepper <drepper@gmail.com>
1261
1262 [BZ #11655]
1263 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
1264 are initialized.
1265
42acbb92
JJ
12662010-12-09 Jakub Jelinek <jakub@redhat.com>
1267
1268 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
1269
c038d98d
UD
12702010-12-03 Ulrich Drepper <drepper@gmail.com>
1271
1272 * po/it.po: Update from translation team.
1273
3a4a2499
L
12742010-12-01 H.J. Lu <hongjiu.lu@intel.com>
1275
1276 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
1277 unused codes.
1278
1e24cf6e
UD
12792010-11-30 Ulrich Drepper <drepper@gmail.com>
1280
1281 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
1282
a7690819
AS
12832010-11-24 Andreas Schwab <schwab@redhat.com>
1284
1285 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
1286 specially.
1287 (gaih_getanswer_slice): Likewise.
1288
3bf8d1b1
JJ
12892010-10-20 Jakub Jelinek <jakub@redhat.com>
1290
1291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
1292
6db52fbb
PB
12932010-05-31 Petr Baudis <pasky@suse.cz>
1294
1295 [BZ #11149]
1296 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
1297 silently even in the chroot mode.
1298
eaca7569
UD
12992010-11-22 Ulrich Drepper <drepper@gmail.com>
1300
1301 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
1302 last patch a bit. Pretty printing
1303
3056dcdb
UD
13042010-05-31 Petr Baudis <pasky@suse.cz>
1305
1306 [BZ #10085]
1307 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
1308 initialization of skip_initgroups_dyn.
1309
cf7c9078
UD
13102010-11-19 Ulrich Drepper <drepper@gmail.com>
1311
1312 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
1313 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1314
a1fb5e3e
UD
13152010-11-16 Ulrich Drepper <drepper@gmail.com>
1316
1317 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
1318
3540d66b
AS
13192010-11-11 Andreas Schwab <schwab@redhat.com>
1320
1321 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
1322 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
1323 (tst-fnmatch-ENV): Set MALLOC_TRACE.
1324 ($(objpfx)tst-fnmatch-mem): New rule.
1325 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
1326 * posix/tst-fnmatch.c (main): Call mtrace.
1327
13b69574
L
13282010-11-11 H.J. Lu <hongjiu.lu@intel.com>
1329
1330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1331 Support Intel processor model 6 and model 0x2c.
1332
da93d214
LM
13332010-11-10 Luis Machado <luisgpm@br.ibm.com>
1334
1335 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
1336 signed comparison.
1337
8ca52c6e
L
13382010-11-09 H.J. Lu <hongjiu.lu@intel.com>
1339
1340 [BZ #12205]
1341 * string/test-strncasecmp.c (check_result): New function.
1342 (do_one_test): Use it.
1343 (check1): New function.
1344 (test_main): Use it.
1345 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
1346 Support strcasecmp and strncasecmp.
1347
69da074d
UD
13482010-11-08 Ulrich Drepper <drepper@gmail.com>
1349
1350 [BZ #12194]
1351 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
1352 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1353
ff02d528
L
13542010-11-07 H.J. Lu <hongjiu.lu@intel.com>
1355
1356 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
1357 IFUNC support.
1358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1359 memset-x86-64.
1360 * sysdeps/x86_64/multiarch/bzero.S: New file.
1361 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
1362 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
1363 * sysdeps/x86_64/multiarch/memset.S: New file.
1364 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
1365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1366 Set bit_Prefer_SSE_for_memop for Intel processors.
1367 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
1368 Define.
1369 (index_Prefer_SSE_for_memop): Define.
1370 (HAS_PREFER_SSE_FOR_MEMOP): Define.
1371
344d0b54
LM
13722010-11-04 Luis Machado <luisgpm@br.ibm.com>
1373
1374 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
1375 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
1376
c0dde15b
UD
13772010-11-03 H.J. Lu <hongjiu.lu@intel.com>
1378
1379 [BZ #12191]
1380 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1381 (__x86_64_raw_data_cache_size_half): Likewise.
1382 (__x86_64_raw_shared_cache_size): Likewise.
1383 (__x86_64_raw_shared_cache_size_half): Likewise.
1384
1385 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1386 (__x86_64_raw_data_cache_size_half): Likewise.
1387 (__x86_64_raw_shared_cache_size): Likewise.
1388 (__x86_64_raw_shared_cache_size_half): Likewise.
1389 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
1390 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
1391 and __x86_64_raw_shared_cache_size_half. Round
1392 __x86_64_data_cache_size_half, __x86_64_data_cache_size
1393 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
1394 to multiple of 256 bytes.
1395
0e516e0e
MS
13962010-11-03 Ulrich Drepper <drepper@gmail.com>
1397
1398 [BZ #12167]
1399 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
1400 of inacessible symlinks. Verify result of symlink before returning it.
1401 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1402 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
1403
0e012e87
ER
14042010-10-28 Erich Ritz <erichritz@gmail.com>
1405
1406 * math/math.h (isinf): Fix typo in comment.
1407
de0ff7bc
UD
14082010-11-01 Ulrich Drepper <drepper@gmail.com>
1409
1410 * po/da.po: Update from translation team.
1411
fa41c84d
UD
14122010-10-26 Ulrich Drepper <drepper@gmail.com>
1413
1414 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
1415 is added to the list.
1416
f0967738
AK
14172010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1418 Ulrich Drepper <drepper@gmail.com>
1419
1420 * elf/dl-object.c (_dl_new_object): Don't append the new object to
1421 the global list here. Move code to...
1422 (_dl_add_to_namespace_list): ...here. New function.
1423 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
1424 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
1425 * elf/dl-load.c (lose): Don't remove the element from the list.
1426 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
1427 (_dl_map_object): Likewise.
1428
14292010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
1430
1431 [BZ #12159]
1432 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
1433 into all bytes of SSE register.
1434 Patch by Richard Li <richardpku@gmail.com>.
1435
f0967738 14362010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
1437
1438 [BZ #12140]
1439 * malloc/malloc.c (_int_free): Fill correct number of bytes when
1440 perturbing.
1441
d0b9e94f
MB
14422010-10-20 Michael B. Brutman <brutman@us.ibm.com>
1443
1444 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
1445 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
1446 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
1447 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
1449 submachine.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
1451
8e9f92e9
AS
14522010-10-22 Andreas Schwab <schwab@redhat.com>
1453
1454 * include/dlfcn.h (__RTLD_SECURE): Define.
1455 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
1456 mode & __RTLD_SECURE instead.
1457 (open_path): Rename preloaded parameter to secure.
1458 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
1459 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
1460 * elf/dl-deps.c (openaux): Likewise.
1461 * elf/rtld.c (struct map_args): Remove is_preloaded.
1462 (map_doit): Don't use it.
1463 (dl_main): Likewise.
1464 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
1465 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
1466
bc96fbda
AS
14672010-09-09 Andreas Schwab <schwab@redhat.com>
1468
1469 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
1470 (sysd-rules-targets): Remove duplicates.
1471 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
1472 rtld-%.$o dependency.
1473
22cd1c9b
AS
14742010-10-18 Andreas Schwab <schwab@redhat.com>
1475
1476 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
1477 _dl_map_object do it.
1478
18edac48
UD
14792010-10-19 Ulrich Drepper <drepper@gmail.com>
1480
1481 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
1482 fast fma builtins, define the macros in the C99 standard.
1483 (FP_FAST_FMAF): Likewise.
1484 (FP_FAST_FMAL): Likewise.
1485 * sysdeps/x86_64/bits/mathdef.h: Likewise.
1486
1487 * bits/mathdef.h: Update copyright year.
1488 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1489
d2050124
MM
14902010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
1491
1492 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
1493 builtins, define the macros in the C99 standard.
1494 (FP_FAST_FMAF): Likewise.
1495 (FP_FAST_FMAL): Likewise.
1496 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
1497 multiply/add.
1498 (FP_FAST_FMAF): Likewise.
1499
475facd1
JJ
15002010-10-15 Jakub Jelinek <jakub@redhat.com>
1501
1502 [BZ #3268]
1503 * math/libm-test.inc (fma_test): Some new testcases.
1504 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
1505 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
1506 y and infinite z. Do multiplication by C already in long double.
1507 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
1508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
1509 y and infinite z. Do bitwise or of inexact bit into u.d.
1510 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
1511 * sysdeps/i386/fpu/s_fmaf.S: Removed.
1512 * sysdeps/i386/fpu/s_fma.S: Removed.
1513 * sysdeps/i386/fpu/s_fmal.S: Removed.
1514
7c08a05c
JJ
15152010-10-16 Jakub Jelinek <jakub@redhat.com>
1516
1517 [BZ #3268]
1518 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
1519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
1520 computation is not scheduled after fetestexcept. Fix value
1521 of minimum denormal long double.
1522
f3f7372d
JJ
15232010-10-14 Jakub Jelinek <jakub@redhat.com>
1524
1525 [BZ #3268]
1526 * math/libm-test.inc (fma_test): Add some more tests.
1527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
1528 correctly.
1529
14d43591
AS
15302010-10-15 Andreas Schwab <schwab@redhat.com>
1531
1532 * scripts/data/localplt-s390-linux-gnu.data: New file.
1533 * scripts/data/localplt-s390x-linux-gnu.data: New file.
1534
5e908464
JJ
15352010-10-13 Jakub Jelinek <jakub@redhat.com>
1536
1537 [BZ #3268]
1538 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
1539 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
1540 instead of dbl-64.
1541 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
1542 inlines.
1543 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
1544 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
1545 if one of x and y is very large and the other is subnormal.
1546 * sysdeps/s390/fpu/s_fmaf.c: New file.
1547 * sysdeps/s390/fpu/s_fma.c: New file.
1548 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
1549 * sysdeps/powerpc/fpu/s_fma.S: New file.
1550 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
1551 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
1552 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
1553
15542010-10-12 Jakub Jelinek <jakub@redhat.com>
1555
1556 [BZ #3268]
1557 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
1558 fma tests.
1559 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
1560 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
1561 * sysdeps/i386/i686/multiarch/s_fma.c: Include
1562 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
1563 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
1564 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
1565 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
1566
b833d51f
UD
15672010-10-12 Ulrich Drepper <drepper@redhat.com>
1568
1569 [BZ #12078]
1570 * posix/regcomp.c (parse_branch): One more memory leak plugged.
1571 * posix/bug-regex31.input: Add test case.
1572
1751705d
UD
15732010-10-11 Ulrich Drepper <drepper@gmail.com>
1574
e9b9cbf5
UD
1575 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
1576 * posix/bug-regex31.input: New file.
1577
1578 [BZ #12078]
1579 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
1580 (parse_sub_exp): Fix last change, use postorder.
1581
ef06edbe
UD
1582 * posix/bug-regex31.c: New file.
1583 * posix/Makefile: Add rules to build and run bug-regex31.
1584
a129c80d
UD
1585 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
1586
1587 [BZ #12078]
1588 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
1589
b76b818e
UD
1590 [BZ #12108]
1591 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
1592 to have entries in sys_siglist.
1593
1751705d
UD
1594 [BZ #12093]
1595 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
1596 be NULL.
1597
9ff8d36f
JJ
15982010-10-07 Jakub Jelinek <jakub@redhat.com>
1599
1600 [BZ #3268]
1601 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
1602 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
1603 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
1604 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
1605 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1606 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
1607 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
1608 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
1609 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
1610 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
1611 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
1612 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
1613 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1614 * math/ftestexcept.c (fetestexcept): Likewise.
1615 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
1616 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1617 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1618 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
1619 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
1620 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
1621 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1622
af325969
UD
16232010-10-11 Ulrich Drepper <drepper@gmail.com>
1624
c579b202 1625 [BZ #12107]
af325969
UD
1626 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
1627 newline.
1628
67a67b95
UD
16292010-10-06 Ulrich Drepper <drepper@gmail.com>
1630
1631 * string/bug-strstr1.c: New file.
1632 * string/Makefile: Add rules to build and run bug-strstr1.
1633
5fb308bc
EB
16342010-10-05 Eric Blake <eblake@redhat.com>
1635
1636 [BZ #12092]
1637 * string/str-two-way.h (two_way_long_needle): Always clear memory
1638 when skipping input due to the shift table.
1639
45db99c7
UD
16402010-10-03 Ulrich Drepper <drepper@gmail.com>
1641
3b111893
UD
1642 [BZ #12005]
1643 * malloc/mcheck.c: Handle large requests.
1644
45db99c7
UD
1645 [BZ #12077]
1646 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
1647 for strncmp and strncasecmp.
1648 * string/stratcliff.c: Add tests for strcmp and strncmp.
1649 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
1650
cf7a1eb8
NI
16512010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1652
1653 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
1654 __set_fpscr.
1655
6484ba5e
AJ
16562010-09-30 Andreas Jaeger <aj@suse.de>
1657
1658 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
1659 (CGROUP_SUPER_MAGIC): Define.
1660 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1661 Handle btrfs and cgroup file systems.
1662 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1663 Likewise.
1664
91c42559
LM
16652010-09-27 Luis Machado <luisgpm@br.ibm.com>
1666
1667 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
1668 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
1669
87a97932
AK
16702010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1671
1672 [BZ #12067]
1673 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
1674 trying to locate the ELF header.
1675
c21cc9bc
AS
16762010-09-27 Andreas Schwab <schwab@redhat.com>
1677
1678 [BZ #11611]
1679 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
1680 Mask out sign-bit copies when constructing f_fsid.
1681
315970f6
PB
16822010-09-24 Petr Baudis <pasky@suse.cz>
1683
1684 * debug/stack_chk_fail_local.c: Add missing licence exception.
1685 * debug/warning-nop.c: Likewise.
1686
1ac7a2c7
JM
16872010-09-15 Joseph Myers <joseph@codesourcery.com>
1688
1689 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
1690 implementing getdents64 using getdents syscall, set d_type if
1691 __ASSUME_GETDENTS32_D_TYPE.
1692
56801c50
AS
16932010-09-16 Andreas Schwab <schwab@redhat.com>
1694
1695 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
1696 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
1697
dda51327
UD
16982010-09-21 Ulrich Drepper <drepper@redhat.com>
1699
1700 [BZ #12037]
1701 * posix/unistd.h: Undo change of feature selection for ftruncate from
1702 2010-01-11.
1703
8ffcee4a
UD
17042010-09-20 Ulrich Drepper <drepper@redhat.com>
1705
a545ecd9 1706 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
1707 detection.
1708
e24f0a8b
AS
17092010-09-20 Andreas Schwab <schwab@redhat.com>
1710
1711 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1712 fanotify_mark.
1713 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1714
7291c56f
AS
17152010-09-14 Andreas Schwab <schwab@redhat.com>
1716
1717 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
1718 variables after CHECK_SP call.
1719 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
1720
bc5fb037
AS
17212010-09-13 Andreas Schwab <schwab@redhat.com>
1722 Ulrich Drepper <drepper@redhat.com>
1723
1724 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
1725 re-relocationg ld.so.
1726 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
1727 _dl_init_paths call.
1728 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
1729 here anymore.
1730
e66e7419
UD
17312010-09-14 Ulrich Drepper <drepper@redhat.com>
1732
1733 * resolv/res_init.c (__res_vinit): Count the default server we added.
1734
c044aa75
CLT
17352010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
1736 Ulrich Drepper <drepper@redhat.com>
1737
1738 [BZ #11968]
1739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1740 (____longjmp_chk): Use %ebx for saving value across system call.
1741 Add unwind info.
1742
32cf4069
AS
17432010-09-06 Andreas Schwab <schwab@redhat.com>
1744
1745 * manual/Makefile: Don't mix pattern rules with normal rules.
1746
817328ee
AS
17472010-09-05 Andreas Schwab <schwab@linux-m68k.org>
1748
1749 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
1750 operation.
1751 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1752 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1753 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1754 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1756 Likewise.
1757
29fddf61
UD
17582010-09-04 Ulrich Drepper <drepper@redhat.com>
1759
1760 [BZ #11979]
1761 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
1762 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
1763
0959ffc9
UD
17642010-09-02 Ulrich Drepper <drepper@redhat.com>
1765
1766 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
1767 * sysdeps/x86_64/addmul_1.S: Likewise.
1768 * sysdeps/x86_64/lshift.S: Likewise.
1769 * sysdeps/x86_64/mul_1.S: Likewise.
1770 * sysdeps/x86_64/rshift.S: Likewise.
1771 * sysdeps/x86_64/sub_n.S: Likewise.
1772 * sysdeps/x86_64/submul_1.S: Likewise.
1773
ece29840
ST
17742010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
1775
0959ffc9
UD
1776 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
1777 Define __sched_param instead of SCHED_* and sched_param when
ece29840 1778 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 1779 * bits/sched.h [__need_schedparam]
ece29840 1780 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
1781 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
1782 (__defined_schedparam): Define to 1.
ece29840
ST
1783 (__sched_param): New structure, identical to sched_param.
1784 (__need_schedparam): Undefine.
1785
e53a31fe
MF
17862010-08-31 Mike Frysinger <vapier@gentoo.org>
1787
fdc0c10d
MF
1788 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
1789 (epoll_create1): Declare.
1790
e53a31fe
MF
1791 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
1792
a726d796
AS
17932010-08-31 Andreas Schwab <schwab@redhat.com>
1794
1795 [BZ #7066]
1796 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
1797 shifting retval into place.
1798
2f3e3dc7
UD
17992010-09-01 Ulrich Drepper <drepper@redhat.com>
1800
f2933da9
UD
1801 * nis/rpcsvc/nis.h: Update copyright notice.
1802 * nis/rpcsvc/nis.x: Likewise.
1803 * nis/rpcsvc/nis_callback.h: Likewise.
1804 * nis/rpcsvc/nis_callback.x: Likewise.
1805 * nis/rpcsvc/nis_object.x: Likewise.
1806 * nis/rpcsvc/nis_tags.h: Likewise.
1807 * nis/rpcsvc/yp.h: Likewise.
1808 * nis/rpcsvc/yp.x: Likewise.
1809 * nis/rpcsvc/ypupd.h: Likewise.
1810 * nis/yp_xdr.c: Likewise.
1811 * nis/ypupdate_xdr.c: Likewise.
1812
2f3e3dc7
UD
1813 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
1814 mainly the body of pmap_getport. Add parameters to specify timeouts.
1815 (pmap_getport): Use __libc_rpc_getport.
1816 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
1817 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
1818 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
1819
f3dcc2f9
AS
18202010-08-31 Andreas Schwab <schwab@linux-m68k.org>
1821
1822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
1823 fanotify_mark.
1824
6d34eb5b
RM
18252010-08-27 Roland McGrath <roland@redhat.com>
1826
1827 * sysdeps/i386/i686/multiarch/Makefile
1828 (CFLAGS-varshift.c): New variable.
1829
9ea3de11
UD
18302010-08-27 Ulrich Drepper <drepper@redhat.com>
1831
c96d23fc
UD
1832 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
1833 * sysdeps/i386/i686/multiarch/varshift.c: New file.
1834
9ea3de11
UD
1835 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
1836
1837 * sysdeps/x86_64/strlen.S: Minimal code improvement.
1838
623aac7f
L
18392010-08-26 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 * sysdeps/x86_64/strlen.S: Unroll the loop.
1842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1843 strlen-sse2 strlen-sse2-bsf.
1844 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
1845 __strlen_no_bsf if bit_Slow_BSF is set.
1846 (__strlen_sse42): Removed.
1847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
1848 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
1849
8b2b7715
RM
18502010-08-25 Roland McGrath <roland@redhat.com>
1851
1852 * sysdeps/x86_64/multiarch/varshift.S: File removed.
1853 * sysdeps/x86_64/multiarch/varshift.c: New file.
1854 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
1855 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
1856 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
1857 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1858
e73015f2
L
18592010-08-25 H.J. Lu <hongjiu.lu@intel.com>
1860
1861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1862 strlen-sse2 strlen-sse2-bsf.
1863 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
1864 __strlen_sse2_bsf if bit_Slow_BSF is unset.
1865 (__strlen_sse2): Removed.
1866 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
1867 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
1868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1869 bit_Slow_BSF for Atom.
1870 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
1871 (index_Slow_BSF): Define.
1872 (HAS_SLOW_BSF): Define.
1873
df24a73e
UD
18742010-08-25 Ulrich Drepper <drepper@redhat.com>
1875
1876 [BZ #10851]
1877 * resolv/res_init.c (__res_vinit): When no server address at all
1878 is given default to loopback.
1879
f2ac4868
RM
18802010-08-24 Roland McGrath <roland@redhat.com>
1881
09055553
RM
1882 * configure.in: Remove config-name.h generation.
1883 * configure: Regenerated.
1884 * config-name.in: File removed.
1885 * scripts/config-uname.sh: New file.
1886 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
1887 ($(objdir)config-name.h): New target.
1888
f2ac4868
RM
1889 * sunrpc/rpc_parse.h: Avoid nested comment.
1890
73f27d5e
RH
18912010-08-24 Richard Henderson <rth@redhat.com>
1892 Ulrich Drepper <drepper@redhat.com>
1893 H.J. Lu <hongjiu.lu@intel.com>
1894
1895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
1896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
1897 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
1898 Replace _mm_srli_si128 with __m128i_shift_right. Replace
1899 _mm_alignr_epi8 with _mm_loadu_si128.
1900 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
1901 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
1902 (__m128i_shift_right): Removed.
1903 * sysdeps/i386/i686/multiarch/varshift.h: New file.
1904 * sysdeps/i386/i686/multiarch/varshift.S: New file.
1905 * sysdeps/x86_64/multiarch/varshift.h: New file.
1906 * sysdeps/x86_64/multiarch/varshift.S: New file.
1907
84b9230c
MF
19082010-08-21 Mike Frysinger <vapier@gentoo.org>
1909
1910 * configure.in: Move assembler checks to before sysdep dir checking.
1911
9bbd0ddc
PB
19122010-08-20 Petr Baudis <pasky@suse.cz>
1913
1914 * LICENSES: Sync the sunrpc license.
1915
9da4bb31
UD
19162010-08-19 Ulrich Drepper <drepper@redhat.com>
1917
a7ab6ec8
UD
1918 * sunrpc/auth_des.c: Update copyright notice once again.
1919 * sunrpc/auth_none.c: Likewise.
1920 * sunrpc/auth_unix.c: Likewise.
1921 * sunrpc/authdes_prot.c: Likewise.
1922 * sunrpc/authuxprot.c: Likewise.
1923 * sunrpc/bindrsvprt.c: Likewise.
1924 * sunrpc/clnt_gen.c: Likewise.
1925 * sunrpc/clnt_perr.c: Likewise.
1926 * sunrpc/clnt_raw.c: Likewise.
1927 * sunrpc/clnt_simp.c: Likewise.
1928 * sunrpc/clnt_tcp.c: Likewise.
1929 * sunrpc/clnt_udp.c: Likewise.
1930 * sunrpc/clnt_unix.c: Likewise.
1931 * sunrpc/des_crypt.c: Likewise.
1932 * sunrpc/des_soft.c: Likewise.
1933 * sunrpc/get_myaddr.c: Likewise.
1934 * sunrpc/getrpcport.c: Likewise.
1935 * sunrpc/key_call.c: Likewise.
1936 * sunrpc/key_prot.c: Likewise.
1937 * sunrpc/openchild.c: Likewise.
1938 * sunrpc/pm_getmaps.c: Likewise.
1939 * sunrpc/pm_getport.c: Likewise.
1940 * sunrpc/pmap_clnt.c: Likewise.
1941 * sunrpc/pmap_prot.c: Likewise.
1942 * sunrpc/pmap_prot2.c: Likewise.
1943 * sunrpc/pmap_rmt.c: Likewise.
1944 * sunrpc/rpc/auth.h: Likewise.
1945 * sunrpc/rpc/auth_unix.h: Likewise.
1946 * sunrpc/rpc/clnt.h: Likewise.
1947 * sunrpc/rpc/des_crypt.h: Likewise.
1948 * sunrpc/rpc/key_prot.h: Likewise.
1949 * sunrpc/rpc/netdb.h: Likewise.
1950 * sunrpc/rpc/pmap_clnt.h: Likewise.
1951 * sunrpc/rpc/pmap_prot.h: Likewise.
1952 * sunrpc/rpc/pmap_rmt.h: Likewise.
1953 * sunrpc/rpc/rpc.h: Likewise.
1954 * sunrpc/rpc/rpc_des.h: Likewise.
1955 * sunrpc/rpc/rpc_msg.h: Likewise.
1956 * sunrpc/rpc/svc.h: Likewise.
1957 * sunrpc/rpc/svc_auth.h: Likewise.
1958 * sunrpc/rpc/types.h: Likewise.
1959 * sunrpc/rpc/xdr.h: Likewise.
1960 * sunrpc/rpc_clntout.c: Likewise.
1961 * sunrpc/rpc_cmsg.c: Likewise.
1962 * sunrpc/rpc_common.c: Likewise.
1963 * sunrpc/rpc_cout.c: Likewise.
1964 * sunrpc/rpc_dtable.c: Likewise.
1965 * sunrpc/rpc_hout.c: Likewise.
1966 * sunrpc/rpc_main.c: Likewise.
1967 * sunrpc/rpc_parse.c: Likewise.
1968 * sunrpc/rpc_parse.h: Likewise.
1969 * sunrpc/rpc_prot.c: Likewise.
1970 * sunrpc/rpc_sample.c: Likewise.
1971 * sunrpc/rpc_scan.c: Likewise.
1972 * sunrpc/rpc_scan.h: Likewise.
1973 * sunrpc/rpc_svcout.c: Likewise.
1974 * sunrpc/rpc_tblout.c: Likewise.
1975 * sunrpc/rpc_util.c: Likewise.
1976 * sunrpc/rpc_util.h: Likewise.
1977 * sunrpc/rpcinfo.c: Likewise.
1978 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
1979 * sunrpc/rpcsvc/key_prot.x: Likewise.
1980 * sunrpc/rpcsvc/klm_prot.x: Likewise.
1981 * sunrpc/rpcsvc/mount.x: Likewise.
1982 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
1983 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
1984 * sunrpc/rpcsvc/rex.x: Likewise.
1985 * sunrpc/rpcsvc/rstat.x: Likewise.
1986 * sunrpc/rpcsvc/rusers.x: Likewise.
1987 * sunrpc/rpcsvc/sm_inter.x: Likewise.
1988 * sunrpc/rpcsvc/spray.x: Likewise.
1989 * sunrpc/rpcsvc/yppasswd.x: Likewise.
1990 * sunrpc/rtime.c: Likewise.
1991 * sunrpc/svc.c: Likewise.
1992 * sunrpc/svc_auth.c: Likewise.
1993 * sunrpc/svc_authux.c: Likewise.
1994 * sunrpc/svc_raw.c: Likewise.
1995 * sunrpc/svc_run.c: Likewise.
1996 * sunrpc/svc_simple.c: Likewise.
1997 * sunrpc/svc_tcp.c: Likewise.
1998 * sunrpc/svc_udp.c: Likewise.
1999 * sunrpc/svc_unix.c: Likewise.
2000 * sunrpc/svcauth_des.c: Likewise.
2001 * sunrpc/xcrypt.c: Likewise.
2002 * sunrpc/xdr.c: Likewise.
2003 * sunrpc/xdr_array.c: Likewise.
2004 * sunrpc/xdr_float.c: Likewise.
2005 * sunrpc/xdr_mem.c: Likewise.
2006 * sunrpc/xdr_rec.c: Likewise.
2007 * sunrpc/xdr_ref.c: Likewise.
2008 * sunrpc/xdr_sizeof.c: Likewise.
2009 * sunrpc/xdr_stdio.c: Likewise.
2010
9da4bb31
UD
2011 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
2012 handling.
2013
bdaa77bc
AS
20142010-08-19 Andreas Schwab <schwab@redhat.com>
2015
2016 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
2017
fe2f79db
LM
20182010-08-19 Luis Machado <luisgpm@br.ibm.com>
2019
2020 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
2021 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
2022 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
2023 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
2024 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
2025 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
2026 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
2027 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
2028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
2029 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
2030 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
2031 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
2032 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
2033 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
2034
b9b42ee0
AB
20352010-07-26 Anton Blanchard <anton@samba.org>
2036
2037 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
2038 * malloc/arena.c (heap_trim): Likewise.
2039
1c06ba31
UD
20402010-08-16 Ulrich Drepper <drepper@redhat.com>
2041
2042 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
2043 here. Not...
2044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
2045 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
2046
f8392f40
L
20472010-08-12 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 * sysdeps/i386/elf/Makefile: New file.
2050
3162f12e
AS
20512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2052
2053 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
2054 from fanotify_init.
2055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2057
28c90b2c
UD
20582010-08-15 Ulrich Drepper <drepper@redhat.com>
2059
2060 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
2061 of strncasecmp_l.
1feccb6c 2062 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 2063
ca6bb004
UD
20642010-08-14 Ulrich Drepper <drepper@redhat.com>
2065
e9f82e0d
UD
2066 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2067 strncase_l-nonascii.
2068 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2069 Add strncase_l-ssse3.
2070 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
2071 * sysdeps/x86_64/strcmp.S: Likewise.
2072 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
2073 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
2074 * sysdeps/x86_64/strncase.S: New file.
2075 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
2076 * sysdeps/x86_64/strncase_l.S: New file.
2077 * string/Makefile (strop-tests): Add strncasecmp.
2078 * string/test-strncasecmp.c: New file.
2079
2080 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
2081 warning.
2082
ca6bb004
UD
2083 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
2084 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
2085
052fa7b3
AS
20862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2087
2088 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
2089
962dba78
UD
20902010-08-12 Ulrich Drepper <drepper@redhat.com>
2091
2092 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
2093 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2094 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2095
bebff237
AM
20962010-05-01 Alan Modra <amodra@gmail.com>
2097
2098 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
2099 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
2100 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
2101 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
2102 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
2103 tidying. Don't tail-call __sigjmp_save for static lib.
2104 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
2105 save location.
2106 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
2107 (CALL_MCOUNT): Add eh info, and nop after bl.
2108 (TAIL_CALL_SYSCALL_ERROR): New macro.
2109 (PSEUDO_RET): Use it.
2110 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2111 Correct save location of integer regs and cr.
2112 (_dl_profile_resolve): Correct cr save location. Delete nops
2113 after bl when SHARED. Reduce cfi size a little by better
2114 placement of cfi directives.
2115 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
2116 make a stack frame. Instead use parm save area as a temp.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
2118 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2120 Don't make a stack frame for parent, use parm save area.
2121 Increase child stack frame to 112 bytes. Don't save unused reg,
2122 and adjust reg usage. Set up cfi on error recovery and
2123 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2125 (__makecontext): Add dummy nop after jump to exit.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
2127 Use correct parm save area and cr save, reduce stack frame.
2128 Correct cfi for possible PSEUDO_RET frame setup.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
2130 Branch to local label emitted by PSEUDO_RET rather than
2131 __syscall_error.
2132
02637374
AS
21332010-08-12 Andreas Schwab <schwab@redhat.com>
2134
2135 [BZ #11904]
2136 * locale/programs/locale.c (print_assignment): New function.
2137 (show_locale_vars): Use it.
2138
c3e2f19b
UD
21392010-08-11 Ulrich Drepper <drepper@redhat.com>
2140
3cdaa6ad
UD
2141 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
2142 field.
2143 (struct statfs64): Likewise.
2144 (_STATFS_F_FLAGS): Define.
2145 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
2146 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2147 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
2148 (ST_VALID): Define locally.
2149 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
2150 __statvfs_getflags, use the provided value.
2151 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2152 __ASSUME_STATFS_F_FLAGS.
2153
754f7da3
UD
2154 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
2155
10b3bedc
UD
2156 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2157 Add sys/fanotify.h.
2158 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
2159 fanotify_mask for GLIBC_2.13.
2160 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
2161 fanotify_init and fanotify_mark.
2162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2163 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
2164
c08fb0d7
UD
2165 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
2166 Add prlimit.
2167 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
2168 prlimit64 for GLIBC_2.13.
2169 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
2170 prlimit64.
2171 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
2172 syscall.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
2174 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2175 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
2176 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
2177 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
2178 add prlimit alias.
2179 * sysdeps/unix/sysv/linux/prlimit.c: New file.
2180
15bac72b
UD
2181 [BZ #11903]
2182 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
2183 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
2184
c3e2f19b
UD
2185 * nss/Makefile: Add rules to build and run tst-nss-test1.
2186 * shlib-versions: Add entry for libnss_test1.
2187 * nss/nss_test1.c: New file.
2188 * nss/tst-nss-test1.c: New file.
2189
2190 * nss/nsswitch.c (__nss_database_custom): Define new variable.
2191 (__nss_configure_lookup): Set appropriate entry in
2192 __nss_configure_lookup to true.
2193 * nss/nsswitch.h: Define enum with indeces of databases in
2194 databases and __nss_database_custom arrays. Declare
2195 __nss_database_custom.
2196 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
2197 to avoid using nscd when custom rules are installed.
2198 * nss/getXXbyYY_r.c: Likewise.
2199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2200
2201 * nss/nss_files/files-parse.c: Whitespace fixes.
2202
f15ce4d8
UD
22032010-08-09 Ulrich Drepper <drepper@redhat.com>
2204
2205 [BZ #11883]
2206 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
2207 * posix/fnmatch_loop.c: Likewise.
2208
d22e4cc9
AK
22092010-07-17 Andi Kleen <ak@linux.intel.com>
2210
2211 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
2212 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
2213 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
2214 * Versions.def [GLIBC_2.13]: Add.
2215
805bc17d
UD
22162010-08-06 Ulrich Drepper <drepper@redhat.com>
2217
2218 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2219 Also fail if tpwd after pwuid call is NULL.
2220
5a42321d
ST
22212010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
2222
2223 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
2224 when converting to ms.
2225
fd3ebeda
ST
22262010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2227
2228 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
2229 EOPNOTSUPP errors with ENOTTY.
2230 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
2231 EOPNOTSUPP errors with ENOTTY.
2232
73507d3a
UD
22332010-07-31 Ulrich Drepper <drepper@redhat.com>
2234
2235 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2236 Add strcasecmp_l-ssse3.
2237 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
2238 strcasecmp.
2239 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
2240 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
2241 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
2242
fe36dd02
UD
22432010-07-30 Ulrich Drepper <drepper@redhat.com>
2244
66f6765a
UD
2245 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
2246
42e08a54
UD
2247 * string/Makefile (strop-tests): Add strcasecmp.
2248 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2249 strcasecmp_l-nonascii.
2250 (gen-as-const-headers): Add locale-defines.sym.
2251 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
2252 * sysdeps/x86_64/strcasecmp.S: New file.
2253 * sysdeps/x86_64/strcasecmp_l.S: New file.
2254 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
2255 * sysdeps/x86_64/locale-defines.sym: New file.
2256 * string/test-strcasecmp.c: New file.
2257
fe36dd02
UD
2258 * string/test-strcasestr.c: Test both ends of the range of characters.
2259 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
2260
48cbc0d6
RM
22612010-07-29 Roland McGrath <roland@redhat.com>
2262
76e6d6bc 2263 [BZ #11856]
48cbc0d6
RM
2264 * manual/locale.texi (Yes-or-No Questions): Fix example code.
2265
880113d9
UD
22662010-07-27 Ulrich Drepper <drepper@redhat.com>
2267
2268 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
2269 for ld.so.
2270
deb9cabb
AS
22712010-07-27 Andreas Schwab <schwab@redhat.com>
2272
2273 * manual/memory.texi (Malloc Tunable Parameters): Document
2274 M_PERTURB.
2275
1c7570ff
RM
22762010-07-26 Roland McGrath <roland@redhat.com>
2277
2278 [BZ #11840]
2279 * configure.in (-fgnu89-inline check): Set and substitute
2280 gnu89_inline, not libc_cv_gnu89_inline.
2281 * configure: Regenerated.
2282 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
2283
24fb0f88
UD
22842010-07-26 Ulrich Drepper <drepper@redhat.com>
2285
2286 * string/test-strnlen.c: New file.
2287 * string/Makefile (strop-tests): Add strnlen.
2288 * string/tester.c (test_strnlen): Add a few more test cases.
2289 * string/tst-strlen.c: Better error reporting.
2290
2291 * sysdeps/x86_64/strnlen.S: New file.
2292
8e96b93a
UD
22932010-07-24 Ulrich Drepper <drepper@redhat.com>
2294
2295 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
2296 lower-latency instructions.
2297
dbc676d4
UD
22982010-07-23 Ulrich Drepper <drepper@redhat.com>
2299
2300 * string/test-strcasestr.c: New file.
2301 * string/test-strstr.c: New file.
2302 * string/Makefile (strop-tests): Add strstr and strcasestr.
2303 * string/str-two-way.h: Don't undefine MAX.
2304 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
2305
f6a31e0e
AS
23062010-07-21 Andreas Schwab <schwab@redhat.com>
2307
2308 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2309 strcasestr-nonascii.
2310 (CFLAGS-strcasestr-nonascii.c): Define.
2311 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
2312 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
2313 Remove unused attribute.
2314
5dbc3b6c
RM
23152010-07-20 Roland McGrath <roland@redhat.com>
2316
2317 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
2318 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
2319 ld.so.cache was broken. With it, there is no way to disable dsocaps
2320 like LD_HWCAP_MASK can disable hwcaps.
2321
23d101d8
EPM
23222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2323
2324 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
2325
cc9f2e47
UD
23262010-07-16 Ulrich Drepper <drepper@redhat.com>
2327
2328 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
2329 call in strcasestr.
2330 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
2331 __strcasestr_sse42_nonascii.
2332 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
2333 strcasestr-nonascii.c.
2334 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
2335
77c1b069
LM
23362010-06-15 Luis Machado <luisgpm@br.ibm.com>
2337
2338 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
2339 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
2340 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
2341 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
2342
440566c3
UD
23432010-07-09 Ulrich Drepper <drepper@redhat.com>
2344
2345 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
2346 fcntl.
2347
5be9d05d
AS
23482010-07-06 Andreas Schwab <schwab@redhat.com>
2349
2350 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
2351 dl_signal_cerror.
2352
8a492a67
UD
23532010-07-06 Ulrich Drepper <drepper@redhat.com>
2354
2355 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
2356 _PC_PIPE_BUF using F_GETPIPE_SZ.
2357
713df3d5
RM
23582010-07-05 Roland McGrath <roland@redhat.com>
2359
2360 * manual/arith.texi (Rounding Functions): Fix rint description
2361 implicit in round description.
2362
702e8f14
UD
23632010-07-02 Ulrich Drepper <drepper@redhat.com>
2364
2365 * elf/Makefile: Fix linking for a few tests to make recent linker
2366 happy.
2367
52ed8be9
AS
23682010-06-30 Andreas Schwab <schwab@redhat.com>
2369
2370 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2371 $(common-objpfx)libc_nonshared.a.
2372
f47c9a11
LM
23732010-06-21 Luis Machado <luisgpm@br.ibm.com>
2374
2375 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
2376 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
2377 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2378 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2379 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
2380 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
2381 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2382 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
2397 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
2398 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
2399 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
2400 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
2401 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
2402 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
2403 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
2404 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
2405 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
2406 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
2407 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
2408 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
2423
6fb8cbcb
L
24242010-06-25 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
2427 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
2428 * string/memmove.c (memmove): Renamed to ...
2429 (MEMMOVE): ...this. Default to memmove.
2430 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
2431 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
2432 (END_CHK): Define.
2433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2434 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
2435 mempcpy-ssse3-back memmove-ssse3-back.
2436 * sysdeps/x86_64/multiarch/bcopy.S: New file .
2437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
2438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
2439 * sysdeps/x86_64/multiarch/memcpy.S: New file.
2440 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
2441 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
2442 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
2443 * sysdeps/x86_64/multiarch/memmove.c: New file.
2444 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
2445 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
2446 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
2447 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
2448 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
2449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
2450 Define.
2451 (index_Fast_Copy_Backward): Define.
2452 (HAS_ARCH_FEATURE): Define.
2453 (HAS_FAST_REP_STRING): Define.
2454 (HAS_FAST_COPY_BACKWARD): Define.
2455
4e733bac 24562010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
2457
2458 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2459 Restore proper fallback handling.
2460
63c4ed22
UD
24612010-06-19 Ulrich Drepper <drepper@redhat.com>
2462
ac2b484c
UD
2463 [BZ #11701]
2464 * posix/group_member.c (__group_member): Correct checking loop.
2465
63c4ed22
UD
2466 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
2467 OOM in getpwuid_r correctly. Return error number when the caller
2468 should return, otherwise -1.
2469 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
2470 call returning > 0 value.
2471 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
2472
765ade4b
AS
24732010-06-07 Andreas Schwab <schwab@redhat.com>
2474
2475 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
2476 libc_nonshared.a from targets in modules-names.
2477
80da2e09
KS
24782010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
2479
2480 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
2481 requires it.
2482
158db122
LM
24832010-06-10 Luis Machado <luisgpm@br.ibm.com>
2484
2485 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
2486 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
2487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
2488 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
2489
caa78cf8
AS
24902010-06-02 Andreas Schwab <schwab@redhat.com>
2491
2492 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
2493
b2ef2c01
UD
24942010-06-14 Ulrich Drepper <drepper@redhat.com>
2495
2496 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
2497 and F_GETPIPE_SZ.
2498 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2502 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2503 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
2504
fbd643b6
RM
25052010-06-14 Roland McGrath <roland@redhat.com>
2506
2507 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
2508
f32f2869
JJ
25092010-06-07 Jakub Jelinek <jakub@redhat.com>
2510
2511 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
2512 __REDIRECT followed by __THROW.
2513 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
2514 * posix/getopt.h (getopt): Likewise.
2515
2a50c078
EPM
25162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2517
2518 * hurd/lookup-at.c (__file_name_lookup_at): Accept
2519 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
2520 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
2521 in AT_FLAGS.
2522 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
2523 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
2524
eb5ad2eb
LM
25252010-05-28 Luis Machado <luisgpm@br.ibm.com>
2526
2527 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
2528
3c88fe1e
L
25292010-05-26 H.J. Lu <hongjiu.lu@intel.com>
2530
2531 [BZ #11640]
2532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2533 Properly check family and model.
2534
d2f73151
TY
25352010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
2536
2537 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
2538
ebd2e13d
LM
25392010-05-24 Luis Machado <luisgpm@br.ibm.com>
2540
2541 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
2542
b32b8b45
UD
25432010-05-21 Ulrich Drepper <drepper@redhat.com>
2544
2545 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
2546 symbol reference.
2547
9acbe24d
AS
25482010-05-19 Andreas Schwab <schwab@redhat.com>
2549
2550 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
2551 symbol reference.
2552
f0ccf6ea
AS
25532010-05-21 Andreas Schwab <schwab@redhat.com>
2554
3d04ff3a
AS
2555 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
2556 and internal_recvmmsg.
2557 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
2558 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
2559 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
2560 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
2561
f0ccf6ea
AS
2562 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
2563 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2564 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2565
5b08ac57
AS
25662010-05-20 Andreas Schwab <schwab@redhat.com>
2567
2568 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
2569
4828935d
LM
25702010-05-17 Luis Machado <luisgpm@br.ibm.com>
2571
2572 POWER7 optimizations.
2573 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
2574 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
2575
373d545e
UD
25762010-05-19 Ulrich Drepper <drepper@redhat.com>
2577
2578 * version.h: Update for 2.13 development version.
2579
21a2b1ae
AS
25802010-05-12 Andrew Stubbs <ams@codesourcery.com>
2581
2582 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
2583 exceptions. Return 0.
2584
3f7dcb2b
RM
25852010-05-07 Roland McGrath <roland@redhat.com>
2586
2587 * elf/ldconfig.c (main): Add a const.
2588
5f24d53a 25892010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 2590
a160f8d8
UD
2591 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
2592 (args_options): Add no-idn option.
2593 (ahosts_keys_int): Add idn_flags to ai_flags.
2594 (parse_option): Handle 'i' option to clear idn_flags.
2595
5f24d53a
UD
2596 * malloc/malloc.c (_int_free): Possible race in the most recently
2597 added check. Only act on the data if no current modification
2598 happened.
265bb1ce
UD
2599
2600See ChangeLog.17 for earlier changes.