forked from Imagelibrary/binutils-gdb
Fix latent bug in mdebugread.c
mdebugread.c makes a label symbol but puts it into VAR_DOMAIN. I think LABEL_DOMAIN is more appropriate. I don't have a way to test this.
This commit is contained in:
@@ -711,7 +711,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend,
|
||||
|
||||
case stLabel: /* label, goes into current block. */
|
||||
s = new_symbol (name);
|
||||
s->set_domain (VAR_DOMAIN); /* So that it can be used */
|
||||
s->set_domain (LABEL_DOMAIN); /* So that it can be used */
|
||||
s->set_aclass_index (LOC_LABEL); /* but not misused. */
|
||||
s->set_section_index (section_index);
|
||||
s->set_value_address (sh->value);
|
||||
|
||||
Reference in New Issue
Block a user