This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [rfa] config/tc-mn10300.c fix GCC warnings
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [rfa] config/tc-mn10300.c fix GCC warnings
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 27 Jul 2000 09:14:00 -0600
- cc: Binutils Patches <binutils at sourceware dot cygnus dot com>
- Reply-To: law at cygnus dot com
In message <397FB1CC.49578E88@cygnus.com>you write:
> Hello,
>
> The attatched cleans up a few GCC warnings. For the most part I don't
> think there will be problems (BUT).
>
> The function md_estimate_size_before_relax() could in theory fall off
> the end without returning a value. I added an abort() for that case.
> Does someone have a better suggestion?
>
> Andrew
> --------------A73B93E235368275385FF1DA
> Content-Type: text/plain; charset=us-ascii;
> name="diffs"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
> filename="diffs"
>
> Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
>
> * config/tc-mn10300.c (md_convert_frag): Fix printfs.
> (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
> sym_ptr_ptr
> (md_estimate_size_before_relax): Don't fall off end of function.
This is fine. Please install this patch.
Thanks,
jeff