This is the mail archive of the binutils@sourceware.org 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: [PATCH] rx: make the type of a variable bfd_reloc_code_real_type


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


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