diff options
author | Gavin Koch <gavin@cygnus.com> | 1998-04-08 22:14:57 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-04-08 16:14:57 -0600 |
commit | 85d7aed9501a610825d3735614de5babf8b4d0fb (patch) | |
tree | c7bfffe535b910d0f63f5d27c39716144cf28e65 | |
parent | 36fd92a52dae263c15591a3245b6232a65e9d472 (diff) | |
download | gcc-85d7aed9501a610825d3735614de5babf8b4d0fb.zip gcc-85d7aed9501a610825d3735614de5babf8b4d0fb.tar.gz gcc-85d7aed9501a610825d3735614de5babf8b4d0fb.tar.bz2 |
r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK, [...]): Add.
* config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
ASM_WEAKEN_LABEL): Add.
From-SVN: r19057
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/r3900.h | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e8dbb7..323b0c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com> + + * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK, + ASM_WEAKEN_LABEL): Add. + Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com> * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files. diff --git a/gcc/config/mips/r3900.h b/gcc/config/mips/r3900.h index 41c2fe2..f1a0d21 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) |