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.
This commit is contained in:
H.J. Lu 2003-12-04 22:43:36 +00:00
parent 592db10ed7
commit 0444b90fcd
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Change relax_finalizing to
need_relax_finalize.
2003-12-03 Alan Modra <amodra@bigpond.net.au> 2003-12-03 Alan Modra <amodra@bigpond.net.au>
* bfdlink.h (struct bfd_link_hash_entry): Rename "next" to "und_next". * bfdlink.h (struct bfd_link_hash_entry): Rename "next" to "und_next".

View File

@ -285,8 +285,8 @@ struct bfd_link_info
/* TRUE if global symbols in discarded sections should be stripped. */ /* TRUE if global symbols in discarded sections should be stripped. */
unsigned int strip_discarded: 1; unsigned int strip_discarded: 1;
/* TRUE if relaxation is being finalized. */ /* TRUE if the final relax pass is needed. */
unsigned int relax_finalizing: 1; unsigned int need_relax_finalize: 1;
/* TRUE if generating a position independent executable. */ /* TRUE if generating a position independent executable. */
unsigned int pie: 1; unsigned int pie: 1;