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