This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Should sh-*-* enable 64bit targets?


On Thu, May 25, 2006 at 10:48:25AM +0930, Alan Modra wrote:
> On Wed, May 24, 2006 at 05:58:22PM -0700, H. J. Lu wrote:
> >    sh-*-linux*)
> >      targ_defvec=bfd_elf32_shblin_vec
> >      targ_selvecs=bfd_elf32_shlin_vec
> > -#ifdef BFD64
> > -    targ_selvecs="${targ_selvecs} bfd_elf32_sh64lin_vec bfd_elf32_sh64blin_vec bfd_elf64_sh64lin_vec bfd_elf64_sh64blin_vec"
> > -#endif
> > +    targ64_selvecs="bfd_elf32_sh64lin_vec bfd_elf32_sh64blin_vec bfd_elf64_sh64lin_vec bfd_elf64_sh64blin_vec"
> >      ;;
> 
> You should have set want64=true here and in the other sh cases you
> changed to use targ64_selvecs.

I am not sure what the original intention was. I assume they wanted
to enable 64bit targets if BFD was 64bit. That is what my change does
by setting targ64_selvecs.



H.J.


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