]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
som.h (MAKE_DECL_ONE_ONLY): Define.
authorCatherine Moore <clm@cygnus.com>
Mon, 28 Feb 2000 20:27:43 +0000 (20:27 +0000)
committerCatherine Moore <clm@gcc.gnu.org>
Mon, 28 Feb 2000 20:27:43 +0000 (15:27 -0500)
        * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
        (ASM_WEAKEN_LABEL): Define.

From-SVN: r32239

gcc/ChangeLog
gcc/config/pa/som.h

index d62d57deb649378a75c3c33f1f8b8eb29b3fe7fc..307cff1749baf50eb23c4d16d99d650d6a2953a2 100644 (file)
@@ -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.
index ef95ba6c1e3874792d43d91d4abf4551bc097f9e..d00db587d2488e46f78e0e6926c2dd8e4afe26a0 100644 (file)
@@ -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)