OSDN Git Service

* config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
authorclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Feb 2000 20:27:43 +0000 (20:27 +0000)
committerclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Feb 2000 20:27:43 +0000 (20:27 +0000)
        (ASM_WEAKEN_LABEL): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32239 138bc75d-0d04-0410-961f-82ee72b054a4

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

index d62d57d..307cff1 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 ef95ba6..d00db58 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)