| commit | 951e757db69b4a6ee578f2a66075d68bf26a7ed5 | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Tue Jul 05 11:38:46 2022 +0930 |
| committer | Alan Modra <amodra@gmail.com> | Sat Jul 09 21:22:03 2022 +0930 |
| tree | 1271257d41d8c95f98f6fee0818d0371e489f492 | |
| parent | 714ccdeb998adb67cf4e7e8515e7e6f0aadf813a [diff] |
expr.c make_expr_symbol: use notes obstack * expr.c (make_expr_symbol): Use notes_alloc.
diff --git a/gas/expr.c b/gas/expr.c index 6ad8bee..f4ea247 100644 --- a/gas/expr.c +++ b/gas/expr.c
@@ -97,7 +97,7 @@ 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;