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