diff options
Diffstat (limited to 'bfd/pdp11.c')
-rw-r--r-- | bfd/pdp11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/pdp11.c b/bfd/pdp11.c index d21f850..c559bee 100644 --- a/bfd/pdp11.c +++ b/bfd/pdp11.c @@ -3152,7 +3152,7 @@ aout_link_reloc_link_order (struct aout_final_link_info *flaginfo, size = bfd_get_reloc_size (howto); buf = bfd_zmalloc (size); - if (buf == NULL) + if (buf == NULL && size != 0) return FALSE; r = MY_relocate_contents (howto, flaginfo->output_bfd, pr->addend, buf); |