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: [PATCH mips] Do not compile mips16.S in soft-float mode


On Tue, 2014-08-12 at 00:07 -0700, Eric Christopher wrote:
> >>
> >> -#ifdef __mips_micromips
> >> +#if defined(__mips_micromips) || defined(__mips_soft_float)
> >>    /* DO NOTHING */
> >>  #else
> >>
> 
> Mind adding a comment here explaining why we don't want to do anything
> for soft float (and micromips)?
> 
> OK otherwise.
> 
> Thanks!
> 
> -eric

OK, I added this comment to the checkin:

#if defined(__mips_micromips) || defined(__mips_soft_float)
  /* Do nothing because this code is only needed when linking
     against mips16 hard-float objects.  Neither micromips code
     nor soft-float code can be linked against mips16 hard-float
     objects so we do not need these routines when building libgcc
     for those cases.  */


Steve Ellcey
sellcey@mips.com



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