diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2004-12-15 05:10:57 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2004-12-15 05:10:57 +0000 |
commit | e41f3691b90d1ff924c6d31530f60d7180f8f4e8 (patch) | |
tree | e8baa9d18aa0f3809f95d03f1a1736703aaf70e5 /gcc/configure.ac | |
parent | 6b25a558d71af78b9c2891a761b441c4a4088285 (diff) | |
download | gcc-e41f3691b90d1ff924c6d31530f60d7180f8f4e8.zip gcc-e41f3691b90d1ff924c6d31530f60d7180f8f4e8.tar.gz gcc-e41f3691b90d1ff924c6d31530f60d7180f8f4e8.tar.bz2 |
re PR c++/17242 (Testsuite fails due to duplicate symbols)
PR c++/17242
* configure.ac: Add GAS check for HP-UX .nsubspa comdat.
* configure, config.in: Rebuilt.
* config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY): Delete
defines.
* config/pa/pa.c (pa_select_section): Allow uninitialized variables in
one-only (comdat) subspaces.
* config/pa/som.h (SUPPORTS_SOM_COMDAT): New define.
(SUPPORTS_ONE_ONLY): True if SUPPORTS_WEAK or SUPPORTS_SOM_COMDAT are
true.
(MAKE_DECL_ONE_ONLY): Place uninitialized variables in common.
From-SVN: r92177
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index b261551..3936aa4 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2047,6 +2047,12 @@ gcc_GAS_CHECK_FEATURE([.weak], gcc_cv_as_weak, [ .weak foobar],, [AC_DEFINE(HAVE_GAS_WEAK, 1, [Define if your assembler supports .weak.])]) +gcc_GAS_CHECK_FEATURE([.nsubspa comdat], gcc_cv_as_nsubspa_comdat, + [2,15,91],, + [ .SPACE $TEXT$ + .NSUBSPA $CODE$,COMDAT],, +[AC_DEFINE(HAVE_GAS_NSUBSPA_COMDAT, 1, [Define if your assembler supports .nsubspa comdat option.])]) + # .hidden needs to be supported in both the assembler and the linker, # because GNU LD versions before 2.12.1 have buggy support for STV_HIDDEN. # This is irritatingly difficult to feature test for; we have to check the |