Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: bfd/coff-arm.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bfd/coff-alpha.c ('k') | bfd/coff-h8300.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bfd/coff-arm.c
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c
index 4cdf1acc27c498dc101741a2e5f3ef5c318e8693..efcf522a34fd20eac83466a16793de614abee429 100644
--- a/bfd/coff-arm.c
+++ b/bfd/coff-arm.c
@@ -918,7 +918,7 @@ coff_arm_link_hash_table_create (bfd * abfd)
struct coff_arm_link_hash_table * ret;
bfd_size_type amt = sizeof (struct coff_arm_link_hash_table);
- ret = bfd_malloc (amt);
+ ret = bfd_zmalloc (amt);
if (ret == NULL)
return NULL;
@@ -931,10 +931,6 @@ coff_arm_link_hash_table_create (bfd * abfd)
return NULL;
}
- ret->thumb_glue_size = 0;
- ret->arm_glue_size = 0;
- ret->bfd_of_glue_owner = NULL;
-
return & ret->root.root;
}
« no previous file with comments | « bfd/coff-alpha.c ('k') | bfd/coff-h8300.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698