aboutsummaryrefslogtreecommitdiff
path: root/gas/remap.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/remap.c')
-rw-r--r--gas/remap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/remap.c b/gas/remap.c
index 87eda01..2af7a9e 100644
--- a/gas/remap.c
+++ b/gas/remap.c
@@ -53,7 +53,7 @@ add_debug_prefix_map (const char *arg)
as_fatal (_("invalid argument '%s' to -fdebug-prefix-map"), arg);
return;
}
- map = (struct debug_prefix_map *) xmalloc (sizeof (debug_prefix_map));
+ map = XNEW (debug_prefix_map);
o = xstrdup (arg);
map->old_prefix = o;
map->old_len = p - arg;