aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-evax.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/obj-evax.c')
-rw-r--r--gas/config/obj-evax.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/config/obj-evax.c b/gas/config/obj-evax.c
index 4458286..b6d8c31 100644
--- a/gas/config/obj-evax.c
+++ b/gas/config/obj-evax.c
@@ -86,8 +86,7 @@ evax_symbol_new_hook (symbolS *sym)
{
struct evax_private_udata_struct *udata;
- udata = (struct evax_private_udata_struct *)
- xmalloc (sizeof (struct evax_private_udata_struct));
+ udata = XNEW (struct evax_private_udata_struct);
udata->bsym = symbol_get_bfdsym (sym);
udata->enbsym = NULL;