summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gcc/gcc/config/pa/openbsd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h b/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h
index 38f88880543..411e1b2bc43 100644
--- a/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h
@@ -34,6 +34,9 @@ Boston, MA 02111-1307, USA. */
#undef TARGET_SCHED_DEFAULT
#define TARGET_SCHED_DEFAULT "700"
+/* Use weak (secondary definitions) to make one only declarations. */
+#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
+
/* libc's profiling functions don't need gcc to allocate counters. */
#define NO_PROFILE_COUNTERS 1