This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Changes to gas/write.c and others break the ia32 assembler
On Wed, Aug 23, 2000 at 03:57:02PM -0300, Alexandre Oliva wrote:
> On Aug 23, 2000, Alexandre Oliva <aoliva@redhat.com> wrote:
>
> > On Aug 23, 2000, "H . J . Lu" <hjl@lucon.org> wrote:
> >>> How did it work without it, in write.c?
>
> >> Because write.c includes config/obj-elf.h, which defines OBJ_ELF,
> >> after config/tc-i386.h. OBJ_MAYBE_ELF may be defined in config.h,
> >> which is a generated file.
>
> > I see. Thanks, I'll fix that.
>
> i386 was the only affected port that referred OBJ_MAYBE_ELF in its
> configuration file, so it's the only one I'm modifying. With this
> patch, the build with the --enable-targets you reported before passes
> all ld tests. Ok to install?
>
Thanks. It works now. But I am still a bit uneasy on the change.
H.J.