This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] rx: make the type of a variable bfd_reloc_code_real_type
- From: Nick Clifton <nickc at redhat dot com>
- To: tbsaunde+binutils at tbsaunde dot org, binutils at sourceware dot org
- Date: Thu, 26 May 2016 12:36:51 +0100
- Subject: Re: [PATCH] rx: make the type of a variable bfd_reloc_code_real_type
- Authentication-results: sourceware.org; auth=none
- References: <1464262545-27442-1-git-send-email-tbsaunde+binutils at tbsaunde dot org>
Hi Trev,
> gas/ChangeLog:
> 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
>
> * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
> bfd_reloc_code_real_type.
Approved - please apply - but...
> @@ -2138,6 +2139,8 @@ md_convert_frag (bfd * abfd ATTRIBUTE_UNUSED,
> case BFD_RELOC_RX_32_OP:
> fix->fx_size = 4;
> break;
> + default:
> + break;
> }
I assume that this change is to prevent a warning about unhandled values
in a switch statement ? My point being, that it ought to be mentioned in
the changelog entry...
Cheers
Nick