Commit Graph

448 Commits

Author SHA1 Message Date
Johan Heikkila
793267574c Fix some fields in time info in sv_FI locale 2011-05-15 11:27:42 -04:00
Ulrich Drepper
3b85df2787 sysconf on Linux/ia64 reported outdate versions for some options
The code is also cleaned up to avoid inefficiencies.
2011-05-15 11:18:10 -04:00
Ulrich Drepper
15a856b109 Make stack canary value harder to read through read overflow 2011-05-15 10:59:07 -04:00
Ulrich Drepper
10a52685af Fix typo in last checkin
I referenced the attachment, not th eBZ number
2011-05-15 08:33:54 -04:00
Ulrich Drepper
94ecc67da8 Add entry for Sorani language 2011-05-15 08:32:57 -04:00
Ulrich Drepper
f8a3b5bf8f Use mmap for allocation of buffers used for __abort_msg 2011-05-15 00:34:48 -04:00
Ulrich Drepper
fc317541ab Last patch also fixes BZ 11952 2011-05-14 21:32:08 -04:00
Martin von Gagern
d26dfc60ed Fix handling of static TLS in dlopen'ed objects
When dynamically loading a library along with several dependencies, calls to
_dl_add_to_slotinfo and _dl_update_slotinfo can become intermixed. As a
consequence, _dl_update_slotinfo will update the generation counter of the dtv
although not all of the slots belonging to that generation have been added.
Subsequent calls to _dl_add_to_slotinfo will add more slots to the same
generation, for which no storage will be allocated, as the dtv generation
checks will claim no work is necessary. This will lead to uninitialized dtv
entries and will likely cause a SIGSEGV when thread local variables are
accessed.
2011-05-14 21:25:43 -04:00
KH Teo
a79a1c704b Fix time format in en_SG locale 2011-05-14 19:47:43 -04:00
Ulrich Drepper
2fc54d6f9f Fix initialization of optimization values for AIO 2011-05-14 19:30:37 -04:00
Ulrich Drepper
98d76b46d2 Fix handling of conversion problem in CP932 module 2011-05-14 11:37:36 -04:00
Ulrich Drepper
da3c19ef5a Fix potential problem with out-of-scope buffer 2011-05-14 11:13:31 -04:00
Ulrich Drepper
d6f67f7d83 Handle recursive calls in backtrace better 2011-05-14 10:46:17 -04:00
Ulrich Drepper
fcabc0f8b1 Fix file descriptor position after fclose
fclose should leave the file descriptor position after the last read
or written byte.
2011-05-13 21:08:45 -04:00
Piotr Bury
320a5dc07b Fix resizing able for unique symbols when adding symbol for copy relocation 2011-05-12 21:59:09 -04:00
Ulrich Drepper
f574184a0e Fix sched_setscheduler call in spawn implementation 2011-05-11 23:58:02 -04:00
Per Inge Mathisen
162ba701c2 Fix manual regarding switch from read to write on streams. 2011-05-11 23:43:26 -04:00
Ulrich Drepper
e1fb097f44 Report write error in addmnt even for cached streams. 2011-05-11 23:37:25 -04:00
Ulrich Drepper
5bdcc10322 Translate kernel error into what pthread_create should return 2011-05-11 18:23:24 -04:00
Ulrich Drepper
7b3b0b2a63 More configurability for secondary group lookup
Together with a previous patch which introduced the initgroups
entry in nsswitch.conf this patch allows more customization of
the lookups for initgroups/getgrouplist.  Nothing changes if
the groups entry in nsswitch.conf is used.  If the initgroups entry
is used instead the code now doesn't automatically continue looking
for more entries aftedr a successful lookup.  Instead the normal
rules are followed which do specify that by default no more
service is consulted.  This can be overwritten with
	[SUCCESS=continue]
appropriately placed in the line.
2011-05-10 00:36:29 -04:00
Ulrich Drepper
bc469bea5c Update NEWS. 2011-05-10 00:11:47 -04:00
Ulrich Drepper
24c55fb3b3 Just BZ annotations 2011-05-09 23:29:28 -04:00
Ulrich Drepper
5d493feb1a Handle localized y/n reply in sq_AL 2011-05-09 23:23:17 -04:00
Ulrich Drepper
be97a69ebe Add support for CP770, CP771, CP772, CP773, and CP774 2011-05-09 23:15:39 -04:00
Caolán McNamara
be9c5e8b20 sync glibc Latin American paper sizes with CLDR 1.8.1 2011-05-09 19:33:32 -04:00
Ulrich Drepper
dcf4f6efae Fix currency_symbol of es_NI locale 2011-05-09 19:25:20 -04:00
Ulrich Drepper
e371399f16 Change paper format for Nicaragua to letter 2011-05-09 19:18:50 -04:00
Alexey Balmashnov
f49839299a Month names in Russian Localization should be in lowercase 2011-05-09 19:12:15 -04:00
Ulrich Drepper
a7b80ed51d Add mhr_RU locale 2011-05-09 19:05:13 -04:00
Ulrich Drepper
6894bb76e7 Add lij_IT locale 2011-05-09 14:39:10 -04:00
Chunshek Chan
72d1dddb02 Add yue_HK locale 2011-05-09 14:13:15 -04:00
Kevin Bortis
bdc2f971ee Add wae_CH locale 2011-05-09 14:04:43 -04:00
Priit Laes
fd3bb3392b Estonia (et_EE) joins the eurozone 2011-05-09 13:50:03 -04:00
Ulrich Drepper
56a7f7dd43 Add lb_LU locale 2011-05-09 13:27:17 -04:00
Ulrich Drepper
2952b11705 Use appropriate type for return value checking 2011-05-09 13:15:01 -04:00
Ulrich Drepper
6a564b67fc Add sw_KE and sw_TZ locales 2011-05-09 13:08:17 -04:00
Ulrich Drepper
c05c983867 Add ff_SN locale 2011-05-09 12:33:45 -04:00
Ghorban M. Tavakoly
d8741b523e Update day/month names in tk_TM locale 2011-05-09 12:26:12 -04:00
Ulrich Drepper
5093422143 Add bem_ZM and en_ZM locales 2011-05-09 12:09:31 -04:00
Ulrich Drepper
64913e4216 Document new locale 2011-05-09 12:01:56 -04:00
Ulrich Drepper
9c1cc6f1fe Use rupee sign in Indian locales. 2011-05-09 11:59:34 -04:00
Ulrich Drepper
2a81eaa5a2 Transliterate U20B9. 2011-05-09 11:53:58 -04:00
Ulrich Drepper
445d72ca26 Add os_RU locale 2011-05-09 09:00:14 -04:00
Ulrich Drepper
7fb90fb89b Fix Linux getcwd for long paths
The getcwd syscall (so far?) can only handle path up to one page
in size.  There is no limit about directory hierarchy depth, though,
and the POSIX getcwd is supposed to handle this.  In that case fall
back to the generic getcwd.

Additionally, optimize the generic getcwd to use openat when possible
to change the asymptotic performance from O(N^2) to O(n).
2011-05-08 08:37:19 -04:00
Ulrich Drepper
c1e9ea3517 Doc fixes. 2011-05-07 13:30:39 -04:00
Ulrich Drepper
f87dfb1f11 Backport BIND code to query name as TLD. 2011-05-07 13:05:19 -04:00
Ulrich Drepper
47c3cd7a74 Allow $ORIGIN to reference trusted directoreis in SUID binaries. 2011-05-07 11:44:26 -04:00
Ulrich Drepper
a044697649 Update. 2011-05-06 07:47:33 -04:00
Ulrich Drepper
018b9e368d Explain header situation after RPC removal in NEWS 2011-05-05 07:39:34 -04:00
Maciej Babinski
0b592a30f5 getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules 2011-05-02 21:11:17 -04:00
Ulrich Drepper
6e04cbbe79 Fix pathconf(_PC_BUF_SIZE). 2011-05-02 20:59:51 -04:00
Ulrich Drepper
6fdb1ce876 Update NEWS 2011-05-01 21:37:24 -04:00
Eric Blake
b722481ac2 Use al possible bytes from fopen mode string. 2011-04-22 23:40:57 -04:00
Mike Frysinger
4c559bcdf3 Fix static linking with checking x86/x86-64 memcpy. 2011-04-17 22:20:47 -04:00
Ulrich Drepper
75ea32abcd Fix FPU context handling in getcontext on x86-64.
fnstenv on x86-64 seems to clear the state.  Work around.
2011-04-17 21:51:26 -04:00
Ulrich Drepper
7b57bfe598 Obsolete RPC implementation in libc. 2011-04-16 21:59:36 -04:00
Ulrich Drepper
e6c6149412 Fix memory leak in TLS of loaded objects. 2011-04-10 22:43:01 -04:00
Ulrich Drepper
c6489db3bd Update NEWS. 2011-04-10 07:03:18 -04:00
Ulrich Drepper
38a7d692fc Fix typo in comment. 2011-04-09 11:01:37 -04:00
H.J. Lu
0354e35501 Work around old buggy program which cannot cope with memcpy semantics. 2011-04-01 19:38:21 -04:00
Ulrich Drepper
8593482f5e Fix visibility of declarations of wcpcpy and wcpncpy. 2011-04-01 18:36:07 -04:00
Andreas Schwab
00e5419f8e Rename open_by_handle to open_by_handle_at. 2011-04-01 13:05:15 -04:00
Ulrich Drepper
158648c0bd Add support for name_to_handle_at and open_by_handle. 2011-04-01 10:33:37 -04:00
Ulrich Drepper
83fe108b0a Add clock_adjtime syscall. 2011-03-30 22:00:57 -04:00
H.J. Lu
c97a1282a4 Handle page boundaries in x86 SSE4.2 strncmp. 2011-03-21 05:35:38 -04:00
Ulrich Drepper
2a11560107 Implement x86 cpuid handling of leaf4 for cache information. 2011-03-20 08:14:30 -04:00
Ulrich Drepper
042c49c681 Add BZ info. 2011-03-18 05:30:17 -04:00
Ulrich Drepper
028478fa40 Fix copy relocations handling of unique objects. 2011-03-10 12:51:33 -05:00
Andreas Schwab
4bff6e0175 Fix memory leak in dlopen with RTLD_NOLOAD. 2011-02-25 20:49:48 -05:00
Ulrich Drepper
661b9e2014 Update BZ list 2011-02-25 16:52:43 -05:00
Ulrich Drepper
071f805ea3 Update with BZ number. 2011-02-20 08:00:55 -05:00
Andreas Schwab
e23fe25b33 Move setting variable in relro data earlier in ld.so. 2011-02-20 07:24:56 -05:00
Ulrich Drepper
d4720230b5 Update bug list. 2011-02-17 00:59:58 -05:00
Ulrich Drepper
dded88cd54 Fix typo in NEWS 2011-02-02 19:35:25 -05:00
Ulrich Drepper
0c156ec9d0 Update bz list 2011-02-02 19:29:23 -05:00
Ulrich Drepper
9f94d2ea71 Patch followup. 2011-01-19 16:00:11 -05:00
Ulrich Drepper
bc425b339b Signal temporary host lookup errors in nscd as such to the requester. 2011-01-15 11:10:11 -05:00
Ulrich Drepper
70181fddf1 Change setgroups to affect all the threads in the process. 2011-01-14 08:42:11 -05:00
Ulrich Drepper
794c3ad3a4 FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
Ulrich Drepper
1086d70d91 Fix handling of missing syscall in Linux mkdirat. 2011-01-13 12:42:06 -05:00
Ulrich Drepper
451f001b50 Handle long lines in host lookups in the right place. 2011-01-13 11:28:17 -05:00
Ulrich Drepper
f57e41a5b8 Fix grouping when rounding increases number of integer digits. 2011-01-12 20:37:51 -05:00
David S. Miller
16c2895fea sparc64: Use i386 implementation for fxstat.
This was simply missed when Jakub converted all of the
other sparc64 xstat cases.
2011-01-04 12:22:41 -08:00
Jim Meyering
2543fef229 Fix infloop on persistent failing calloc in regex. 2010-12-27 18:19:56 -05:00
Ulrich Drepper
db014c1269 Update BZs. 2010-12-26 13:54:08 -05:00
H.J. Lu
8ca52c6e3b Fix one exit path in x86-64 SSE4.2 str{,n}casecmp. 2010-11-10 03:05:37 -05:00
Ulrich Drepper
69da074d7a Fix warnings in __bswap_16. 2010-11-10 02:38:35 -05:00
Ulrich Drepper
c0dde15b5d 32bit memset-sse2.S fails with uneven cache size
32bit memset-sse2.S assumes cache size is multiple of 128 bytes.  If
it isn't true, memset-sse2.S will fail.  For example, a processor can
have 24576 KB L3 cache and 20 cores. That is 2516582 byte per core. Half
of it is 1258291, which isn't helpful for vector instructions.  This
patch rounds cache sizes to multiple of 256 bytes and adds "raw" cache
sizes.
2010-11-05 07:57:46 -04:00
Miklos Szeredi
0e516e0e14 Verify in ttyname() that the symlink is valid. 2010-11-03 00:25:45 -04:00
Richard Li
dbf3a06904 Fix x86-64 strchr propagation of search byte into all bytes of SSE register 2010-10-25 14:13:17 -04:00
Ulrich Drepper
fdc0f374bc Fix perturbing in malloc on free. 2010-10-24 22:37:00 -04:00
H.J. Lu
f90681487d Fix alignment of AVX safe area on x86-64. 2010-10-13 22:12:03 -04:00
Ulrich Drepper
a129c80d54 Fix memory leak for some invalid regular expressions. 2010-10-11 11:46:22 -04:00
Ulrich Drepper
b76b818e6f psiginfo relied too much on sys_siglist. 2010-10-11 10:58:31 -04:00
Ulrich Drepper
1751705d1c Linux getifaddrs might return entries with ->ifa_addr being NULL. 2010-10-11 09:38:00 -04:00
Jakub Jelinek
9ff8d36f27 Correct implementation of fmaf. 2010-10-11 09:27:05 -04:00
Ulrich Drepper
c579b20299 Fix BZ reference in last checkin. 2010-10-11 09:19:36 -04:00
Ulrich Drepper
af3259695d Unify psiginfo output. 2010-10-11 09:10:41 -04:00
Ulrich Drepper
1c37565291 More NEWS changes. 2010-10-03 22:53:24 -04:00
Ulrich Drepper
f61a7c96b0 Update NEWS. 2010-10-03 22:51:30 -04:00
Andreas Schwab
a726d7960e Fix array overflow in floating point parser 2010-09-01 12:38:44 -07:00
Ulrich Drepper
224c3568f6 NEWS udpate. 2010-08-25 07:47:17 -07:00
Ulrich Drepper
e9f82e0d1d Add optimized strncasecmp versions for x86-64. 2010-08-14 22:04:01 -07:00
Andreas Schwab
026373745e Properly quote output of locale 2010-08-12 09:05:50 -07:00
Ulrich Drepper
10b3bedcb0 Add support for Linux fanotify_init and fanotify_mask syscalls. 2010-08-11 12:41:48 -07:00
Ulrich Drepper
c08fb0d7bb Add support for prlimit and prlimit64 on Linux. 2010-08-11 11:18:52 -07:00
Ulrich Drepper
15bac72bac Fix IPTOS_CLASS definition. 2010-08-11 07:44:03 -07:00
Ulrich Drepper
f15ce4d8dc Avoid too much stack use in fnmatch. 2010-08-09 21:09:37 -07:00
Ulrich Drepper
42e08a5438 Implement optimized strcaecmp for x86-64. 2010-07-30 00:14:04 -07:00
Ulrich Drepper
76e6d6bca7 Cleanup. 2010-07-29 12:55:43 -07:00
Ulrich Drepper
932ac045f0 Add missing BZ. 2010-07-26 13:52:13 -07:00
Ulrich Drepper
8d50becc04 NEWS update 2010-07-26 08:50:27 -07:00
Ulrich Drepper
ac2b484c02 Correct checking loop in group_member. 2010-06-19 11:38:04 -07:00
Luis Machado
4828935d38 POWER7 optimized memset. 2010-05-19 00:47:37 -07:00
Ulrich Drepper
5ae958d741 Handle too-small buffers in Linux getlogin_r. 2010-05-05 09:44:50 -07:00
Ulrich Drepper
c4ccff16e2 Mention more bugs which are fixed. 2010-05-04 04:27:23 -07:00
Ulrich Drepper
fc97f36d7f Add BZ to an older patch. 2010-04-09 07:56:29 -07:00
Ulrich Drepper
86a4c67fb9 Implement interfaces to set and get names of threads.
At least the Linux kernel provides field where the kernel originally
stores the command which is executed by the thread.  The value can
subsequently be overwritten.  The added functions allow to do that for
threads, providing and abstraction around the syscalls or /proc file
system accesses needed.
2010-04-09 01:09:24 -07:00
Ulrich Drepper
d36b9613b0 More news. Add BZ info for current and previous releases. 2010-04-08 20:28:05 -07:00
Ulrich Drepper
5e4295fb58 More NEWS for 2.12. 2010-04-08 08:00:12 -07:00
Ulrich Drepper
30f0c8da71 Hook up sq_MK locale. 2010-04-08 07:15:31 -07:00
Ulrich Drepper
71170aa0a9 Implement new mode for NIS passwd.adjunct.byname table.
The passwd.adjunct.byname table will not be used to fill in password fields
in the passwd.byname replies.  Instead it is used to synthesize the
shadow.byname table, should it be missing.  This is a useful mode in some
installations involving Solaris.
2010-04-07 07:37:39 -07:00
Ulrich Drepper
ee1a7fabb4 Add recvmmsg interface. 2009-12-08 20:10:46 -08:00
Ulrich Drepper
9dd5b8a167 Mentin new my_MM locale in NEWS. 2009-10-30 08:36:41 -07:00
Ulrich Drepper
3a83202db6 Implement mkostemps and mkostemps64. 2009-10-30 08:02:30 -07:00
Ulrich Drepper
51a71cf063 Mention IFUNC for PPC. 2009-10-30 00:41:33 -07:00
Ulrich Drepper
7f3146e789 Implement mkstemps and mkstemps64. 2009-10-30 00:11:07 -07:00
Ulrich Drepper
02a544f460 Mention ps_AF locale as new. 2009-10-15 06:54:25 -07:00
Roland McGrath
24ab9c7697 Mention pthread_sigqueue 2009-09-18 13:30:07 -07:00
Ulrich Drepper
5d368296ea Remove duplicate NEWS entry. 2009-08-08 11:01:04 -07:00
Ulrich Drepper
4bc1b89611 Yet more news items. 2009-08-08 10:57:59 -07:00
Ulrich Drepper
9d36a6c410 Add some news items. 2009-08-08 09:13:02 -07:00
Ulrich Drepper
0122f28eb9 Add 2.11 news items. 2009-07-21 08:32:54 -07:00
Ulrich Drepper
3d5243d416 Implement execvpe.
There is some existing practice in other OSes and it's trivial to
implement giving the existing code.  Fixes BZ #10221.
2009-06-02 07:03:02 -07:00
Ulrich Drepper
b8706f7072 Describe latest IFUNC changes. 2009-05-31 23:50:25 -07:00
Ulrich Drepper
57be3fd79a Describe nss_dns parallel lookup workaround in 2.10 NEWS. 2009-05-22 09:07:00 -07:00
Ulrich Drepper
b50f8e42ba Check for valid stack frame in longjmp.
If longjmp restores the stack frame to an address which is beyond
the stack frame at the time of the longjmp call it would install
an uninitialized stack frame.  If compiled with _FORTIFY_SOURCE
defined, longjmp will now bail out in this situation.
2009-05-15 19:37:13 -07:00
Ulrich Drepper
c7e74e5968 * shadow/sgetspent_r.c (__sgetspent_r): Recognize too small buffers. 2009-04-23 19:15:11 +00:00
Ulrich Drepper
84aa52d7e9 * sysdeps/x86-64/strrchr.S: New file. 2009-04-14 05:58:16 +00:00
Ulrich Drepper
9d26efa90c * stdio-common/printf.h (struct printf_info): Add user element.
New types printf_arginfo_size_function, printf_va_arg_function.
	Declare register_printf_specifier, register_printf_modifier,
	register_printf_type.
	* stdio-common/printf-parse.h (struct printf_spec): Add size element.
	(union printf_arg): Add pa_user element.
	Adjust __printf_arginfo_table type.
	Add __printf_va_arg_table, __printf_modifier_table,
	__handle_registered_modifier_mb, and __handle_registered_modifier_wc
	declarations.
	* stdio-common/printf-parsemb.c: Recognize registered modifiers.
	If registered arginfo call failed try normal specifier.
	* stdio-common/printf-prs.c: Pass additional parameter to arginfo
	function.
	* stdio-common/Makefile (routines): Add reg-modifier and reg-type.
	* stdio-common/Versions: Export register_printf_modifier,
	register_printf_type, and register_printf_specifier for GLIBC_2.10.
	* stdio-common/reg-modifier.c: New file.
	* stdio-common/reg-type.c: New file.
	* stdio-common/reg-printf.c (__register_printf_specifier): New
	function.  Mostly the old __register_printf_function function but
	uses locking and type of third parameter changed.
	(__register_printf_function): Implement using
	__register_printf_specifier.
	* stdio-common/vfprintf.c (vfprintf): Collect argument sizes in
	calls to arginfo functions.  Allocate enough memory for user-defined
	types.  Call new va_arg functions to get user-defined types.
	Try installed handlers even for existing format specifiers first.
2009-04-11 05:34:20 +00:00
Ulrich Drepper
bb06654506 * malloc/malloc.c (malloc_info): New function.
* malloc/malloc.h: Declare it.
	* malloc/Versions: Export malloc_info for GLIBC_2.10.

	* resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp
2009-04-09 05:45:42 +00:00
Ulrich Drepper
cd57745bd8 * sysdeps/x86_64/strchrnul.S: New file.
depending libcrypt on -lfreebl3.
2009-04-07 23:22:10 +00:00
Ulrich Drepper
4bcb2658ff * string/strverscmp.c (__strverscmp): Fix last cleanups.
* string/tst-svc.input: Add new test case.
	* string/tst-svc.expect: Adjust.
	* string/Makefile: Don't ignore tst-svc error.
2009-04-07 06:51:59 +00:00
Ulrich Drepper
735be40014 * locales/ks_IN: New file.
Patch by Mohammad Nayeem <mohammad.nayeem@gmail.com> and
	Pravin Satpute <psatpute@redhat.com>.
2009-04-06 17:54:58 +00:00
Ulrich Drepper
1df6f9d808 * sysdeps/x86_64/strchr.S: Likewise. 2009-04-06 03:29:26 +00:00
Ulrich Drepper
a152f366dc * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions. 2009-04-05 18:49:28 +00:00
Ulrich Drepper
e109c6124f * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.
* misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for
	GLIBC_2.10.
	* misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64.
	* sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv
	and pwritev.
	* misc/preadv.c: New file.
	* misc/preadv64.c: New file.
	* misc/pwritev.c: New file.
	* misc/pwritev64.c: New file.
	* sysdeps/posx/preadv.c: New file.
	* sysdeps/posx/preadv64.c: New file.
	* sysdeps/posx/pwritev.c: New file.
	* sysdeps/posx/pwritev64.c: New file.
	* sysdeps/unix/sysv/linux/preadv.c: New file.
	* sysdeps/unix/sysv/linux/preadv64.c: New file.
	* sysdeps/unix/sysv/linux/pwritev.c: New file.
	* sysdeps/unix/sysv/linux/pwritev64.c: New file.
	* sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file.
	* sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
2009-04-03 19:57:16 +00:00
Ulrich Drepper
878b72c5ee [BZ #9948]
2009-03-14  Ulrich Drepper  <drepper@redhat.com>
	* locale/iso-639.def: Add Min Nan.

	[BZ #9948]
2009-03-14 18:39:26 +00:00
Ulrich Drepper
425ce2edb9 * config.h.in (USE_MULTIARCH): Define.
* configure.in: Handle --enable-multi-arch.
	* elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC.
	(_dl_fixup_profile): Likewise.
	* elf/do-lookup.c (dl_lookup_x): Likewise.
	* sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC.
	* elf/elf.h (STT_GNU_IFUNC): Define.
	* include/libc-symbols.h (libc_ifunc): Define.
	* sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the
	framework in init-arch.h to get CPUID values.
	* sysdeps/x86_64/multiarch/Makefile: New file.
	* sysdeps/x86_64/multiarch/init-arch.c: New file.
	* sysdeps/x86_64/multiarch/init-arch.h: New file.
	* sysdeps/x86_64/multiarch/sched_cpucount.c: New file.

	* config.make.in (experimental-malloc): Define.
	* configure.in: Handle --enable-experimental-malloc.
	* malloc/Makefile: Handle experimental-malloc flag.
	* malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features.
	* malloc/arena.c: Likewise.
	* malloc/hooks.c: Likewise.
	* malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX.
2009-03-13 23:53:18 +00:00
Ulrich Drepper
610e67ed5a * stdlib/Makefile (routines): Add quick_exit, at_quick_exit, and
cxa_at_quick_exit.
	(static-only-routines): Add at_quick_exit.
	* stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for
	GLIBC_2.10.
	* stdlib/quick_exit.c: New file.
	* stdlib/at_quick_exit.c: New file.
	* stdlib/cxa_at_quick_exit.c: New file.
	* stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function.  Call
	it appropriately.
	(__internal_atexit): New function.
	(__new_exitfn): Now takes parameter to point to the list to use.
	* stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them.
	* stdlib/exit.c (__run_exit_handlers): New function.  Split from...
	(exit): ...here.  Just call __run_exit_handlers appropriately.
	* stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers,
	__internal_atexit, __cxa_at_quick_exit.  Adjust __new_exitfn.
	* stdlib/on_exit.c: Adjust call to __new_exitfn.
	* stdlib/stdlib.h: Declare at_quick_exit and quick_exit.
2009-03-08 19:53:12 +00:00