[PATCH] x86: fix assembler's @got-style relocation handling

H. J. Lu hjl@lucon.org
Thu Jun 16 14:54:00 GMT 2005


On Thu, Jun 16, 2005 at 08:43:11AM -0600, Jan Beulich wrote:
> --- /home/jbeulich/src/binutils/mainline/2005-06-16/gas/config/tc-i386.c	2005-06-08 14:50:49.000000000 +0200
> +++ 2005-06-16/gas/config/tc-i386.c	2005-06-16 16:01:18.006910784 +0200
> @@ -1201,22 +1201,54 @@ pt (t)
>  #endif /* DEBUG386 */
>  
>  static bfd_reloc_code_real_type reloc
> -  PARAMS ((int, int, int, bfd_reloc_code_real_type));
> +  PARAMS ((unsigned int, int, int, bfd_reloc_code_real_type));
>  
>  static bfd_reloc_code_real_type
>  reloc (size, pcrel, sign, other)
> -     int size;
> +     unsigned int size;
>       int pcrel;
>       int sign;
>       bfd_reloc_code_real_type other;

Could you please change those functions to C90 while you are on it?

Thanks.

H.J.



More information about the Binutils mailing list