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