From 1aa6938eb37f89db944795a21aadb98af7e44399 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 8 Oct 1993 20:01:10 +0000 Subject: * config/tc-mips.c (mips_gprmask, mips_cprmask): New variables to hold register masks. (md_begin): Initialize them to zero. (append_insn): Update mips_gprmask and mips_cprmask. Also add register variables pinfo and prev_pinfo. * config/tc-mips.h (mips_gprmask, mips_cprmask): Declare. * config/obj-ecoff.c (ecoff_frob_file): If TC_MIPS, set gprmask and cprmask from mips_gprmask and mips_cprmask. --- gas/config/tc-mips.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gas/config/tc-mips.h') diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h index dca09a8..4aba744 100644 --- a/gas/config/tc-mips.h +++ b/gas/config/tc-mips.h @@ -95,3 +95,8 @@ extern void mips_define_label PARAMS ((struct symbol *)); #define TC_CONS_FIX_NEW cons_fix_new_mips extern void cons_fix_new_mips (); + +/* Register mask variables. These are set by the MIPS assembly code + and used by ECOFF and possibly other object file formats. */ +extern unsigned long mips_gprmask; +extern unsigned long mips_cprmask[4]; -- cgit v1.1