mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 09:49:43 +08:00
expr.c make_expr_symbol: use notes obstack
* expr.c (make_expr_symbol): Use notes_alloc.
This commit is contained in:
@ -97,7 +97,7 @@ make_expr_symbol (expressionS *expressionP)
|
|||||||
if (expressionP->X_op == O_constant)
|
if (expressionP->X_op == O_constant)
|
||||||
resolve_symbol_value (symbolP);
|
resolve_symbol_value (symbolP);
|
||||||
|
|
||||||
n = XNEW (struct expr_symbol_line);
|
n = notes_alloc (sizeof (*n));
|
||||||
n->sym = symbolP;
|
n->sym = symbolP;
|
||||||
n->file = as_where (&n->line);
|
n->file = as_where (&n->line);
|
||||||
n->next = expr_symbol_lines;
|
n->next = expr_symbol_lines;
|
||||||
|
Reference in New Issue
Block a user