mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 10:12:21 +08:00
2003-03-20 H.J. Lu <hjl@gnu.org>
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for non-ELF outputs.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2003-03-20 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for
|
||||||
|
non-ELF outputs.
|
||||||
|
|
||||||
2003-03-20 Nick Clifton <nickc@redhat.com>
|
2003-03-20 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Initialise $idata2 and
|
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Initialise $idata2 and
|
||||||
|
@ -696,6 +696,10 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again)
|
|||||||
one pass. */
|
one pass. */
|
||||||
*again = FALSE;
|
*again = FALSE;
|
||||||
|
|
||||||
|
/* Don't even try to relax for non-ELF outputs. */
|
||||||
|
if (link_info->hash->creator->flavour != bfd_target_elf_flavour)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
/* Nothing to do if there are no relocations. */
|
/* Nothing to do if there are no relocations. */
|
||||||
if ((sec->flags & SEC_RELOC) == 0
|
if ((sec->flags & SEC_RELOC) == 0
|
||||||
|| sec->reloc_count == 0)
|
|| sec->reloc_count == 0)
|
||||||
|
Reference in New Issue
Block a user