This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: [RFA] Fix warnings for d10v-elf


Nick Clifton wrote:
> 
> Hi Andrew,
> 
> : The attatched adds a few missing declarations and wraps a &&vs|| for
> : the d10v target.
> 
> :       * config/tc-d10v.c (d10v_fix_adjustable, md_pcrel_from_section):
> :       Change type of `fixS' argument to `struct fix'.
> 
> Why is this necessary ?  'fixS' is a typedef of 'struct fix'.

I tried that and got:

In file included from targ-cpu.h:1,
                 from /home/scratch/SRC/src/gas/config/obj-elf.h:40,
                 from obj-format.h:1,
                 from /home/scratch/SRC/src/gas/config/te-generic.h:19,
                 from targ-env.h:1,
                 from /home/scratch/SRC/src/gas/as.h:616,
                 from /home/scratch/SRC/src/gas/app.c:29:
/home/scratch/SRC/src/gas/config/tc-d10v.h:60: parse error before `*'

There is a ``struct fix;'' in as.h.

	Andrew

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