* stabsread.c (define_symbol): When combining a LOC_ARG and a
LOC_REGISTER, use the type from the LOC_REGISTER, not from the LOC_ARG.
This commit is contained in:
parent
9ab86fa36e
commit
fc81adb803
|
@ -1,3 +1,9 @@
|
|||
Wed Oct 20 11:35:43 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* stabsread.c (define_symbol): When combining a LOC_ARG and a
|
||||
LOC_REGISTER, use the type from the LOC_REGISTER, not from the
|
||||
LOC_ARG.
|
||||
|
||||
Wed Oct 20 14:34:38 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
||||
|
||||
* config/i386/xm-go32.h: define some signals if they aren't
|
||||
|
|
|
@ -948,6 +948,9 @@ define_symbol (valu, string, desc, type, objfile)
|
|||
&& STREQ (SYMBOL_NAME (prev_sym), SYMBOL_NAME(sym)))
|
||||
{
|
||||
SYMBOL_CLASS (prev_sym) = LOC_REGPARM;
|
||||
/* Use the type from the LOC_REGISTER; that is the type
|
||||
that is actually in that register. */
|
||||
SYMBOL_TYPE (prev_sym) = SYMBOL_TYPE (sym);
|
||||
SYMBOL_VALUE (prev_sym) = SYMBOL_VALUE (sym);
|
||||
sym = prev_sym;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue