mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-23 00:34:22 +00:00
work around a crash in powerpc-apple-ld
This commit is contained in:
parent
899546720e
commit
04621f8a01
@ -367,7 +367,7 @@ _bfd_xcoff_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
|
||||
else
|
||||
{
|
||||
sec = coff_section_from_bfd_index (ibfd, ix->sntoc);
|
||||
if (sec == NULL)
|
||||
if (sec == NULL || sec->output_section == NULL)
|
||||
ox->sntoc = 0;
|
||||
else
|
||||
ox->sntoc = sec->output_section->target_index;
|
||||
|
Loading…
Reference in New Issue
Block a user