From 210dd78238dc99d1ba27318bf81393237620b72b Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 19 Oct 2015 12:06:00 +0000 Subject: Remove .weak, .weakext configure tests. There are configure tests for assembler .weak support, and, as a fallback, for .weakext support. .weakext appears to be an ECOFF thing (although a few ELF targets support it as well). .weak has been supported by the GNU assembler for ELF targets since version 2.2, so given the requirement for ELF the configure tests are obsolete; this patch removes them. Tested for x86_64 (testsuite, and that installed shared libraries are unchanged by the patch). * configure.ac (libc_cv_asm_weak_directive): Remove configure test. (libc_cv_asm_weakext_directive): Likewise. * configure: Regenerated. * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef. (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise. * include/libc-symbols.h [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove #error. [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code. [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 961041189b..38fa0cb1f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,17 @@ 2015-10-19 Joseph Myers + * configure.ac (libc_cv_asm_weak_directive): Remove configure + test. + (libc_cv_asm_weakext_directive): Likewise. + * configure: Regenerated. + * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef. + (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise. + * include/libc-symbols.h + [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove + #error. + [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code. + [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional. + * sysdeps/arm/backtrace.c (__backtrace): Convert to prototype-style function definition. * sysdeps/i386/backtrace.c (__backtrace): Likewise. -- cgit 1.4.1