diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-12-04 22:43:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-12-04 22:43:36 +0000 |
commit | d9c458fcc1f8b060d4cbf6c4e582b20649cbee47 (patch) | |
tree | f2c4a384728c8ed9c7654fd6cd5cbece54be24e6 /bfd | |
parent | 858b45cfbf03c238202921c0d28d25af364676d6 (diff) | |
download | gdb-d9c458fcc1f8b060d4cbf6c4e582b20649cbee47.zip gdb-d9c458fcc1f8b060d4cbf6c4e582b20649cbee47.tar.gz gdb-d9c458fcc1f8b060d4cbf6c4e582b20649cbee47.tar.bz2 |
bfd/
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Use the
need_relax_finalize field in link_info instead of
relax_finalizing to check if the relax finalize pass is being
done.
include/
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Change relax_finalizing to
need_relax_finalize.
ld/
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
link_info.need_relax_finalize to TRUE.
* ldlang.c (lang_process): Use link_info.need_relax_finalize
instead of link_info.relax_finalizing.
* ldmain.c (main): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elfxx-ia64.c | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 48ebc5e..b889b25 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2003-12-04 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_section): Use the + need_relax_finalize field in link_info instead of + relax_finalizing to check if the relax finalize pass is being + done. + 2003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> * coff-arm.c (coff_arm_relocate_section, bfd_arm_process_before_allocation): diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index c9da05f..aba571a 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -714,7 +714,7 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again) the relax finalize pass. */ if ((sec->flags & SEC_RELOC) == 0 || sec->reloc_count == 0 - || (link_info->relax_finalizing + || (!link_info->need_relax_finalize && sec->need_finalize_relax == 0)) return TRUE; @@ -765,14 +765,14 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again) case R_IA64_PCREL21BI: case R_IA64_PCREL21M: case R_IA64_PCREL21F: - if (link_info->relax_finalizing) + if (!link_info->need_relax_finalize) continue; is_branch = TRUE; break; case R_IA64_LTOFF22X: case R_IA64_LDXMOV: - if (!link_info->relax_finalizing) + if (link_info->need_relax_finalize) { sec->need_finalize_relax = 1; continue; @@ -1073,7 +1073,7 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again) /* ??? Resize .rela.got too. */ } - if (link_info->relax_finalizing) + if (!link_info->need_relax_finalize) sec->need_finalize_relax = 0; *again = changed_contents || changed_relocs; |