aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/som.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/pa/som.h')
-rw-r--r--gcc/config/pa/som.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index c5464cc..bc7269c 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -384,6 +384,12 @@ do { \
/* The .align directive in the HP assembler allows up to a 32 alignment. */
#define MAX_OFILE_ALIGNMENT 32768
+/* This has been disabled for now. As best as I call tell we are not
+ following the proper conventions for secondary definitions as we
+ do not emit a duplicate symbol with '_' prefix for each secondary
+ definition. This appears to be the cause of HP's tools core
+ dumping and the dynamic linker reporting undefined symbols. */
+#if 0
#ifdef HAVE_GAS_WEAK
#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
@@ -401,3 +407,4 @@ do { \
} \
} while (0)
#endif
+#endif