aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Moore <clm@cygnus.com>2000-02-28 20:27:43 +0000
committerCatherine Moore <clm@gcc.gnu.org>2000-02-28 15:27:43 -0500
commit90b37266130b2da50144a64136aed73448c2efc7 (patch)
tree191d18de134acf8f7e0cde3beac8b3b2d923afb1
parentd7cca31ee73010e683e963b4f65c8163e176b1b3 (diff)
downloadgcc-90b37266130b2da50144a64136aed73448c2efc7.zip
gcc-90b37266130b2da50144a64136aed73448c2efc7.tar.gz
gcc-90b37266130b2da50144a64136aed73448c2efc7.tar.bz2
som.h (MAKE_DECL_ONE_ONLY): Define.
* config/pa/som.h (MAKE_DECL_ONE_ONLY): Define. (ASM_WEAKEN_LABEL): Define. From-SVN: r32239
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/som.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d62d57d..307cff1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
+
+ * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
+ (ASM_WEAKEN_LABEL): Define.
+
Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
* expr.c (store_constructor): Do not emit USE.
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index ef95ba6..d00db58 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -377,3 +377,11 @@ do { \
/* The .align directive in the HP assembler allows up to a 32 alignment. */
#define MAX_OFILE_ALIGNMENT 32768
+
+#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
+
+/* This is how we tell the assembler that a symbol is weak. */
+
+#define ASM_WEAKEN_LABEL(FILE,NAME) \
+ do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
+ fputc ('\n', FILE); } while (0)