diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-02-28 16:36:37 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-02-28 16:36:37 +0100 |
commit | 1b500976241ac4b41d59489cab9fe3a9eccbc734 (patch) | |
tree | bcf30f81c91016458a27aa522a244c86f6230419 /gcc/config.in | |
parent | 68ade9e4e84617fd5c613618cfdc0cc1fa6d6d81 (diff) | |
download | gcc-1b500976241ac4b41d59489cab9fe3a9eccbc734.tar.gz |
re PR middle-end/46790 (EH failures in libstdc++ testsuite with --gc-sections and GNU ld 2.18)
PR middle-end/46790
* configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test.
* configure: Regenerated.
* config.in: Regenerated.
* varasm.c (default_function_section): Return NULL
if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit
section name.
From-SVN: r170565
Diffstat (limited to 'gcc/config.in')
-rw-r--r-- | gcc/config.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in index f3b0eee3126..584ec65b2b7 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -1171,6 +1171,13 @@ #endif +/* Define if your linker has buggy garbage collection of sections support when + .text.startup.foo like sections are used. */ +#ifndef USED_FOR_TARGET +#undef HAVE_LD_EH_GC_SECTIONS_BUG +#endif + + /* Define if your PowerPC64 linker supports a large TOC. */ #ifndef USED_FOR_TARGET #undef HAVE_LD_LARGE_TOC |