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