This is the mail archive of the binutils@sources.redhat.com 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]

Re: MIPS_STABS_ELF is now broken


On Tue, Jun 11, 2002 at 05:59:41PM -0400, Daniel Jacobowitz wrote:
>  
> +int mips_flag_mdebug = 0;
> +

Did you mean

int mips_flag_mdebug = -1;

See below.

>  #include "ecoff.h"
>  
> @@ -10650,6 +10666,16 @@ mips_after_parse_args ()
>  
>    if (HAVE_NEWABI)
>      mips_big_got = 1;
> +
> +  if (mips_flag_mdebug < 0)
> +    {
> +#ifdef OBJ_MAYBE_ECOFF
> +      if (OUTPUT_FLAVOR == bfd_target_ecoff_flavour)
> +	mips_flag_mdebug = 1;
> +      else
> +#endif /* OBJ_MAYBE_ECOFF */
> +	mips_flag_mdebug = 0;
> +    }
>  }
>  

Since the current gas is broken for Linux/mips, I prefer breaking your
patch into smaller pieces. Check in the small one to fix Linux/mips
first, then deal with with ECOFF later.

Thanks.


H.J.


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