projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allocate ppc64 got and dynrelocs before plt
[binutils-gdb.git]
/
gas
/
remap.c
diff --git
a/gas/remap.c
b/gas/remap.c
index 87eda013289480850812d8c357df76208ee3c79d..2af7a9e87ffdf9d1d94305aa9887e1dc5385feba 100644
(file)
--- 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;