diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-19 12:06:00 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-19 12:06:00 +0000 |
commit | 210dd78238dc99d1ba27318bf81393237620b72b (patch) | |
tree | 495b34518e631e287c5e6216375f31a8de6b5ca8 /config.h.in | |
parent | bd2260a2069993cdb14cffcbb2b0dc04b9888aee (diff) | |
download | glibc-210dd78238dc99d1ba27318bf81393237620b72b.zip glibc-210dd78238dc99d1ba27318bf81393237620b72b.tar.gz glibc-210dd78238dc99d1ba27318bf81393237620b72b.tar.bz2 |
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.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config.h.in b/config.h.in index 40c2d45..44e8590 100644 --- a/config.h.in +++ b/config.h.in @@ -18,12 +18,6 @@ /* Defined if building with SELinux support & libcap libs are detected. */ #undef HAVE_LIBCAP -/* Define if weak symbols are available via the `.weak' directive. */ -#undef HAVE_ASM_WEAK_DIRECTIVE - -/* Define if weak symbols are available via the `.weakext' directive. */ -#undef HAVE_ASM_WEAKEXT_DIRECTIVE - /* Define to the assembler line separator character for multiple assembler instructions per line. Default is `;' */ #undef ASM_LINE_SEP |