diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-08 22:14:57 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-08 22:14:57 +0000 |
commit | da2310a9599e6aa0113748e4e67d5d6560751eb9 (patch) | |
tree | c7bfffe535b910d0f63f5d27c39716144cf28e65 /gcc/config/mips | |
parent | b4436eaad7523f297d0e1ebf384fee7ae311ff6c (diff) | |
download | gcc-da2310a9599e6aa0113748e4e67d5d6560751eb9.tar.gz |
* config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
ASM_WEAKEN_LABEL): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19057 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/r3900.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/config/mips/r3900.h b/gcc/config/mips/r3900.h index 41c2fe2632d..f1a0d21bfb1 100644 --- a/gcc/config/mips/r3900.h +++ b/gcc/config/mips/r3900.h @@ -69,3 +69,21 @@ Boston, MA 02111-1307, USA. */ %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \ %{gcoff:-g} %{gcoff0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3}" +/* This is how to equate one symbol to another symbol. The syntax used is + `SYM1=SYM2'. Note that this is different from the way equates are done + with most svr4 assemblers, where the syntax is `.set SYM1,SYM2'. */ + +#define ASM_OUTPUT_DEF(FILE,LABEL1,LABEL2) \ + do { fprintf ((FILE), "\t"); \ + assemble_name (FILE, LABEL1); \ + fprintf (FILE, " = "); \ + assemble_name (FILE, LABEL2); \ + fprintf (FILE, "\n"); \ + } while (0) + +#define SUPPORTS_WEAK 1 +#define ASM_WEAKEN_LABEL(FILE,NAME) \ + do { fprintf ((FILE), "\t.weak\t"); \ + assemble_name (FILE, NAME); \ + fprintf (FILE, "\n"); \ + } while (0) |