(*swap_out) (abfd, &src_rela, dst_rela);
}
- if (bed->write_secondary_relocs != NULL)
- if (! bed->write_secondary_relocs (abfd, sec))
- {
- *failedp = TRUE;
- return;
- }
+ if (!bed->write_secondary_relocs (abfd, sec))
+ {
+ *failedp = TRUE;
+ return;
+ }
}
/* Write out the program headers. */
symbols, dynamic))
return FALSE;
- if (bed->slurp_secondary_relocs != NULL
- && ! bed->slurp_secondary_relocs (abfd, asect, symbols))
+ if (!bed->slurp_secondary_relocs (abfd, asect, symbols))
return FALSE;
asect->relocation = relents;