mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-26 22:51:01 +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
|
else
|
||||||
{
|
{
|
||||||
sec = coff_section_from_bfd_index (ibfd, ix->sntoc);
|
sec = coff_section_from_bfd_index (ibfd, ix->sntoc);
|
||||||
if (sec == NULL)
|
if (sec == NULL || sec->output_section == NULL)
|
||||||
ox->sntoc = 0;
|
ox->sntoc = 0;
|
||||||
else
|
else
|
||||||
ox->sntoc = sec->output_section->target_index;
|
ox->sntoc = sec->output_section->target_index;
|
||||||
|
Loading…
Reference in New Issue
Block a user