aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2014-04-07 09:27:39 -0400
committerJason Merrill <jason@gcc.gnu.org>2014-04-07 09:27:39 -0400
commitda34ade5e6c93713fc9cb0b7b505afb06b01b95a (patch)
treed17894e439e7f9ac2af8c36361871939b0353bc5 /gcc/config/elfos.h
parent67649cb84c2bfbe77d870b3606e66b90288eb824 (diff)
downloadgcc-da34ade5e6c93713fc9cb0b7b505afb06b01b95a.zip
gcc-da34ade5e6c93713fc9cb0b7b505afb06b01b95a.tar.gz
gcc-da34ade5e6c93713fc9cb0b7b505afb06b01b95a.tar.bz2
re PR c++/60731 (dynamic library not getting reinitialized on multiple calls to dlopen())
PR c++/60731 * common.opt (-fno-gnu-unique): Add. * config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it. From-SVN: r209186
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r--gcc/config/elfos.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index 1fce701..c1d5553 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -287,7 +287,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* Write the extra assembler code needed to declare an object properly. */
#ifdef HAVE_GAS_GNU_UNIQUE_OBJECT
-#define USE_GNU_UNIQUE_OBJECT 1
+#define USE_GNU_UNIQUE_OBJECT flag_gnu_unique
#else
#define USE_GNU_UNIQUE_OBJECT 0
#endif