This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix for arm target.ld


On Tue, 2002-08-27 at 17:00, Mark Salter wrote:
> >>>>> Lucky Luck writes:
> 
> > On Tue, 2002-08-27 at 16:07, I wrote:
> >> The tool chain I'm using calls the preprocessor with -Darm by default
> >> (stupid, I know, but ..it happens) and thus transforms ".note.arm.ident"
> >> into ".note. 1 .ident".
> 
> > Seriously, am I the only humanoid on this list to meet this, huh, blemish?
> 
> > [...]
> 
> It may be a configuration issue. The latest gcc sources show:
> 
> %grep -n -e -Darm gcc/config/arm/*
> riscix1-1.h:33:#define CPP_PREDEFINES  "-Darm -Driscix -Dunix -Asystem=unix"
> riscix.h:52:    "-Darm -Driscix -Dunix -Asystem=unix"
> rtems-elf.h:28:#define CPP_PREDEFINES "-Darm -Darm_elf -Drtems -D__rtems__ -D__ELF__ \
> semiaof.h:24:    "-Darm -Dsemi"
> unknown-elf-oabi.h:27:#define CPP_PREDEFINES "-Darm_oabi -Darm -Darm_elf -Acpu=arm -Amachine=arm -D__ELF__"
> 
> Other configurations tend to define __arm__.

Ah now I see, gcc-3.x doesn't define "arm" (still using gcc-2.95 here).

Thanks,

Robin



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