[PATCH] rx: make the type of a variable bfd_reloc_code_real_type

Nick Clifton nickc@redhat.com
Thu May 26 11:36:00 GMT 2016


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



More information about the Binutils mailing list