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