/* Remap file names for debug info for GNU assembler.
- Copyright (C) 2007-2016 Free Software Foundation, Inc.
+ Copyright (C) 2007-2019 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
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;