mirror of
https://frontier.innolan.net/github/amigaos-binutils.git
synced 2025-11-19 19:40:19 +00:00
exclude aout format from pcrel long jumps
This commit is contained in:
@ -213,6 +213,9 @@ get_relocated_section_contents (
|
||||
for (; lo1; lo1 = lo1->next)
|
||||
{
|
||||
asection * s = lo1->u.indirect.section;
|
||||
if (s->owner->xvec->flavour != bfd_target_amiga_flavour)
|
||||
continue;
|
||||
|
||||
if (strcmp(s->name, ".text"))
|
||||
continue;
|
||||
|
||||
@ -231,6 +234,9 @@ get_relocated_section_contents (
|
||||
for (; lo1; lo1 = lo1->next)
|
||||
{
|
||||
asection * s = lo1->u.indirect.section;
|
||||
if (s->owner->xvec->flavour != bfd_target_amiga_flavour)
|
||||
continue;
|
||||
|
||||
if (strcmp(s->name, ".text"))
|
||||
continue;
|
||||
|
||||
@ -357,7 +363,7 @@ get_relocated_section_contents (
|
||||
/**
|
||||
*
|
||||
*/
|
||||
if (input_section->reloc_count > 0)
|
||||
if (input_section->owner->xvec->flavour == bfd_target_amiga_flavour && input_section->reloc_count > 0)
|
||||
{
|
||||
amiga_reloc_type *src;
|
||||
for (src = (amiga_reloc_type *) input_section->relocation; src; src = src->next)
|
||||
|
||||
Reference in New Issue
Block a user