diff options
author | Alan Modra <amodra@gmail.com> | 2022-07-05 11:38:46 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-07-09 21:22:03 +0930 |
commit | 951e757db69b4a6ee578f2a66075d68bf26a7ed5 (patch) | |
tree | 1271257d41d8c95f98f6fee0818d0371e489f492 /gas | |
parent | 714ccdeb998adb67cf4e7e8515e7e6f0aadf813a (diff) | |
download | binutils-951e757db69b4a6ee578f2a66075d68bf26a7ed5.zip binutils-951e757db69b4a6ee578f2a66075d68bf26a7ed5.tar.gz binutils-951e757db69b4a6ee578f2a66075d68bf26a7ed5.tar.bz2 |
expr.c make_expr_symbol: use notes obstack
* expr.c (make_expr_symbol): Use notes_alloc.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |