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