diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-10-08 20:01:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-10-08 20:01:10 +0000 |
commit | 1aa6938eb37f89db944795a21aadb98af7e44399 (patch) | |
tree | 458902181a97e3e22fde7eff5cb82baa9a5ef682 /gas/config/tc-mips.h | |
parent | 8822543394d8e115717968e5dd3689c5aa56f28b (diff) | |
download | gdb-1aa6938eb37f89db944795a21aadb98af7e44399.zip gdb-1aa6938eb37f89db944795a21aadb98af7e44399.tar.gz gdb-1aa6938eb37f89db944795a21aadb98af7e44399.tar.bz2 |
* 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.
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r-- | gas/config/tc-mips.h | 5 |
1 files changed, 5 insertions, 0 deletions
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]; |