This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: BFD_ASSEMBLER
- From: "Vineet Sharma, Noida" <vineets at noida dot hcltech dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 26 Sep 2003 12:50:40 +0530
- Subject: RE: BFD_ASSEMBLER
Hi,
The Error are :
as.c:81: `SEG_REGISTER' redeclared as different kind of symbol
as.h:292: previous declaration of `SEG_REGISTER'
as.c:81: `SEG_EXPR' redeclared as different kind of symbol
as.h:287: previous declaration of `SEG_EXPR'
as.c:82: `SEG_E0' redeclared as different kind of symbol
as.h:282: previous declaration of `SEG_E0'
as.c:82: `SEG_E1' redeclared as different kind of symbol
as.h:282: previous declaration of `SEG_E1'
as.c:82: `SEG_E2' redeclared as different kind of symbol
as.h:282: previous declaration of `SEG_E2'
as.c: In function `main':
as.c:857: `stdoutput' undeclared (first use in this function)
as.c:857: (Each undeclared identifier is reported only once
as.c:857: for each function it appears in.)
as.c: In function `perform_an_assembly_pass':
as.c:1037: `stdoutput' undeclared (first use in this function)
as.c:1040: incompatible type for argument 2 of `bfd_set_section_flags'
as.c:1043: incompatible type for argument 2 of `bfd_set_section_flags'
as.c:1044: incompatible type for argument 2 of `bfd_set_section_flags'
as.* has not been modified my me.
Regards
Vineet
-----Original Message-----
From: Ian Lance Taylor [mailto:ian@wasabisystems.com]
Sent: Friday, September 26, 2003 12:02 PM
To: Vineet Sharma, Noida
Cc: binutils@sources.redhat.com
Subject: Re: BFD_ASSEMBLER
"Vineet Sharma, Noida" <vineets@noida.hcltech.com> writes:
> What is BFD_ASSEMBLER. I have recently ported GAS to new target, i
have
> wriiten bfd backend(coff-XXX.c and cpu-XXX.c), but still when i define
> BFD_ASSEMBLER, it gives a lot of errors, otherwise it works perfect. Does
> that mean BFD_ASSEMBLER and assembler simply using bfd for writing a
> obj(coff) file are two different cases?
See gas/doc/internals.texi.
Hard to say anything else without some hint of what the errors are.
Ian