crtend.asm: Move pointer to __do_global_ctors_aux in .init_array section to ...

2004-04-21  H.J. Lu  <hongjiu.lu@intel.com>

	* config/ia64/crtend.asm: Move pointer to __do_global_ctors_aux
	in .init_array section to ...
	* config/ia64/crtbegin.asm: Here.

	* config/ia64/crtend.asm: Mark __do_global_ctors_aux global
	and hidden if HAVE_INITFINI_ARRAY is defined.

From-SVN: r80986
This commit is contained in:
H.J. Lu 2004-04-21 23:17:43 +00:00 committed by H.J. Lu
parent a0b96bb76c
commit e24e0aa7fb
3 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,13 @@
2004-04-21 H.J. Lu <hongjiu.lu@intel.com>
PR target/14813
* config/ia64/crtend.asm: Move pointer to __do_global_ctors_aux
in .init_array section to ...
* config/ia64/crtbegin.asm: Here.
* config/ia64/crtend.asm: Mark __do_global_ctors_aux global
and hidden if HAVE_INITFINI_ARRAY is defined.
2004-04-21 James E Wilson <wilson@specifixinc.com>
* Makefile.in (fixinc.sh): Don't set or export WARN_CFLAGS. Fix

View File

@ -62,6 +62,7 @@ __dso_handle:
.section .init_array, "a"
data8 @fptr(__do_jv_register_classes)
data8 @fptr(__do_global_ctors_aux)
#else /* !HAVE_INITFINI_ARRAY */
/*

View File

@ -34,10 +34,8 @@ __JCR_END__:
data8 0
#ifdef HAVE_INITFINI_ARRAY
.section .init_array, "a"
data8 @fptr(__do_global_ctors_aux)
.global __do_global_ctors_aux
.hidden __do_global_ctors_aux
#else /* !HAVE_INITFINI_ARRAY */
/*
* Fragment of the ELF _init routine that invokes our dtor cleanup.