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
/
write.c
diff --git
a/gas/write.c
b/gas/write.c
index c965e6878562815dc2eddf0b2a789301b5898e94..0dfca0c01c3b88d4b1201fd1be3b9bf0b4985a92 100644
(file)
--- a/
gas/write.c
+++ b/
gas/write.c
@@
-1234,7
+1234,7
@@
write_relocs (bfd *abfd, asection *sec, void *xxx ATTRIBUTE_UNUSED)
rp = &r->next;
}
- relocs =
(arelent **) xcalloc (n, sizeof (arelent *)
);
+ relocs =
XCNEWVEC (arelent *, n
);
n = 0;
r = my_reloc_list;