diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-27 21:46:03 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-27 21:46:03 +0000 |
commit | 3e2ee6f0e3471ceb4c49f8287676a7050401bf8f (patch) | |
tree | b3b95b912899d4a1ae295c7f4122960858fc9f4d /nptl/descr.h | |
parent | 72f1463df85a522bfd1568e47bd81371522ee358 (diff) | |
download | glibc-3e2ee6f0e3471ceb4c49f8287676a7050401bf8f.zip glibc-3e2ee6f0e3471ceb4c49f8287676a7050401bf8f.tar.gz glibc-3e2ee6f0e3471ceb4c49f8287676a7050401bf8f.tar.bz2 |
Remove sysdeps/nptl/configure.ac.
sysdeps/nptl/configure.ac tests for forced unwind support and the C
cleanup attribute, giving errors if either is unsupported. It does
nothing beyond running those two tests.
Both the attribute, and _Unwind_GetCFA which is used in the forced
unwind test, were added in GCC 3.3. Thus these tests are long
obsolete, and this patch removes the configure fragment running them,
along with associated conditionals.
Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).
* sysdeps/nptl/configure.ac: Remove file.
* sysdeps/nptl/configure: Remove generated file.
* configure.ac (libc_cv_forced_unwind): Do not substitute.
* configure: Regenerated.
* config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
* config.make.in (have-forced-unwind): Remove variable.
* nptl/Makefile [$(have-forced-unwind) = yes]: Make code
unconditional.
* nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
* nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
(__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
* nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
* sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
unconditional.
Diffstat (limited to 'nptl/descr.h')
-rw-r--r-- | nptl/descr.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nptl/descr.h b/nptl/descr.h index a502048..bd99c36 100644 --- a/nptl/descr.h +++ b/nptl/descr.h @@ -32,9 +32,7 @@ #include <dl-sysdep.h> #include "../nptl_db/thread_db.h" #include <tls.h> -#ifdef HAVE_FORCED_UNWIND -# include <unwind.h> -#endif +#include <unwind.h> #define __need_res_state #include <resolv.h> #include <kernel-features.h> @@ -362,10 +360,8 @@ struct pthread /* Next descriptor with a pending event. */ struct pthread *nextevent; -#ifdef HAVE_FORCED_UNWIND /* Machine-specific unwind info. */ struct _Unwind_Exception exc; -#endif /* If nonzero pointer to area allocated for the stack and its size. */ |