This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING: PATCH: PR target/46770: Use .init_array/.fini_array sections


On Fri, 22 Jul 2011, Jakub Jelinek wrote:

> On Fri, Jul 22, 2011 at 04:59:28AM -0700, H.J. Lu wrote:
> > @@ -2660,6 +2664,7 @@ esac
> >  case ${target} in
> >  i[34567]86-*-linux* | x86_64-*-linux*)
> >  	tmake_file="${tmake_file} i386/t-pmm_malloc i386/t-i386"
> > +	use_initfini_array=yes
> >  	;;
> >  i[34567]86-*-* | x86_64-*-*)
> >  	tmake_file="${tmake_file} i386/t-gmm_malloc i386/t-i386"
> 
> What is i?86/x86_64 specific on it?  Don't most other glibc targets
> want to use it too, perhaps with some arch specific tweaks?

I already said in the PR that it should be enabled by default for all ELF 
targets except any for which it proves necessary to disable it.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]