mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 04:27:46 +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)
|
||||
resolve_symbol_value (symbolP);
|
||||
|
||||
n = XNEW (struct expr_symbol_line);
|
||||
n = notes_alloc (sizeof (*n));
|
||||
n->sym = symbolP;
|
||||
n->file = as_where (&n->line);
|
||||
n->next = expr_symbol_lines;
|
||||
|
Reference in New Issue
Block a user