This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/2] change the type of some fields to bfd_reloc_code_real_type
- From: Alan Modra <amodra at gmail dot com>
- To: tbsaunde+binutils at tbsaunde dot org
- Cc: binutils at sourceware dot org
- Date: Wed, 18 May 2016 13:42:34 +0930
- Subject: Re: [PATCH 1/2] change the type of some fields to bfd_reloc_code_real_type
- Authentication-results: sourceware.org; auth=none
- References: <1463541902-11708-1-git-send-email-tbsaunde+binutils at tbsaunde dot org>
On Tue, May 17, 2016 at 11:25:01PM -0400, tbsaunde+binutils@tbsaunde.org wrote:
> * config/tc-dlx.c (struct machine_it): change the type of a field from
> int to bfd_reloc_code_real_type.
> * config/tc-tic4x.c: Likewise.
OK, but
> --- a/gas/config/tc-tic4x.c
> +++ b/gas/config/tc-tic4x.c
> @@ -124,7 +124,7 @@ typedef struct tic4x_insn
> unsigned int nchars; /* This is always 4 for the C30. */
> unsigned long opcode; /* Opcode number. */
> expressionS exp; /* Expression required for relocation. */
> - int reloc; /* Relocation type required. */
> + bfd_reloc_code_real_type reloc; /* Relocation type required. */
Please fix overly long line.
--
Alan Modra
Australia Development Lab, IBM