From 8d60a67df2fd94c12c4f81b983c2602c521af60a Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 25 Aug 1994 18:31:16 -0400 Subject: [PATCH] (CALL_USED_REGS): Add d2 and d3 as call-used. From-SVN: r7982 --- gcc/config/m68k/lynx.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/config/m68k/lynx.h b/gcc/config/m68k/lynx.h index bed1eaad936..6e0c0a7b233 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 } -- 2.30.2