diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/pa/som.h | 8 |
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) |