diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-25 18:31:16 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-25 18:31:16 -0400 |
commit | 8d60a67df2fd94c12c4f81b983c2602c521af60a (patch) | |
tree | e5d8ebd777528d41087cfea65548efe7a7f014c4 | |
parent | 5af6001b5e2e82b47fd38552d62e3b643adcff0a (diff) | |
download | gcc-8d60a67df2fd94c12c4f81b983c2602c521af60a.zip gcc-8d60a67df2fd94c12c4f81b983c2602c521af60a.tar.gz gcc-8d60a67df2fd94c12c4f81b983c2602c521af60a.tar.bz2 |
(CALL_USED_REGS): Add d2 and d3 as call-used.
From-SVN: r7982
-rw-r--r-- | gcc/config/m68k/lynx.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/config/m68k/lynx.h b/gcc/config/m68k/lynx.h index bed1eaa..6e0c0a7 100644 --- a/gcc/config/m68k/lynx.h +++ b/gcc/config/m68k/lynx.h @@ -1,5 +1,5 @@ /* Definitions for Motorola 680x0 running LynxOS. - Copyright (C) 1993 Free Software Foundation, Inc. + Copyright (C) 1993, 1994 Free Software Foundation, Inc. This file is part of GNU CC. @@ -45,3 +45,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Every structure or union's size must be a multiple of 2 bytes. */ #define STRUCTURE_SIZE_BOUNDARY 16 + +/* Lynx uses d2 and d3 as scratch registers. */ +#undef CALL_USED_REGISTERS +#define CALL_USED_REGISTERS \ + {1, 1, 1, 1, 0, 0, 0, 0, \ + 1, 1, 0, 0, 0, 0, 0, 1, \ + 1, 1, 0, 0, 0, 0, 0, 0 } |