Index: bfd/pdp11.c |
diff --git a/bfd/pdp11.c b/bfd/pdp11.c |
index 04b71640a182856d2b4e0b6adea0205ab6350ce4..1560f17762c55410027456fe97f1e2051a76ce04 100644 |
--- a/bfd/pdp11.c |
+++ b/bfd/pdp11.c |
@@ -340,7 +340,7 @@ pdp11_aout_write_headers (bfd *abfd, struct internal_exec *execp) |
if (bfd_seek (abfd, (file_ptr) (N_TRELOFF(*execp)), SEEK_SET) != 0 |
|| !NAME (aout, squirt_out_relocs) (abfd, obj_textsec (abfd)) |
|| bfd_seek (abfd, (file_ptr) (N_DRELOFF(*execp)), SEEK_SET) != 0 |
- || !NAME (aout, squirt_out_relocs) (abfd, obj_datasec (abfd))) |
+ || !NAME (aout, squirt_out_relocs) (abfd, obj_datasec (abfd))) |
return FALSE; |
} |
@@ -2459,7 +2459,7 @@ NAME (aout, link_hash_table_create) (bfd *abfd) |
struct aout_link_hash_table *ret; |
bfd_size_type amt = sizeof (struct aout_link_hash_table); |
- ret = bfd_alloc (abfd, amt); |
+ ret = bfd_malloc (amt); |
if (ret == NULL) |
return NULL; |
if (! NAME (aout, link_hash_table_init) (ret, abfd, |