diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-12-30 03:44:13 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-12-30 03:44:13 +0000 |
commit | 55de61ac0d982b8cdaa35f6ac23f998826a04231 (patch) | |
tree | eefe171f502d384bf2c0b7cd9b7fbfe932b3f202 /gcc/dwarfout.c | |
parent | a98784e983c20f5456f8ee49c48689f8b192a04f (diff) | |
download | gcc-55de61ac0d982b8cdaa35f6ac23f998826a04231.tar.gz |
Restore i386 binary compatibility in Dwarf EH info.
* config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
value of FIRST_PSEUDO_REGISTER.
* frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
(struct frame_state): Use DWARF_FRAME_REGISTERS.
* dwarfout.c (output_reg_number): Ditto.
* dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
(DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31127 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r-- | gcc/dwarfout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 4dda62688c3..f5b0fb5a75b 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -1680,7 +1680,7 @@ output_reg_number (rtl) { register unsigned regno = REGNO (rtl); - if (regno >= FIRST_PSEUDO_REGISTER) + if (regno >= DWARF_FRAME_REGISTERS) { warning_with_decl (dwarf_last_decl, "internal regno botch: regno = %d\n", regno); |