gas porting (bfd)
Shinpei Kato
shinny@j02.itscom.net
Fri Feb 6 06:00:00 GMT 2004
I could solve the below problem with "make headers" in my build bfd/.
This solution is written in bfd-in2.h I jumped the gan a little :-)
Thanks,
Shinpei Kato.
On Fri, 06 Feb 2004 14:18:37 +0900
Shinpei Kato <shinny@j02.itscom.net> wrote:
> > Hi, there. replying myself.
>
> I proceeded a little, I did coding according to MISP architecture
> implementation and faced another problem.
> It seems I have to define "bfd_mach_xxx", as "bfd_mach_mips8000", though,
> it can be defined only in bfd/bfd-in2.h that is read-only and generated
> from other files.
> So this time question is how I can define bfd_mach_xxx macro.
> I apprecieate your help.
>
> Regards.
> Shinpei Kato.
>
>
> On Thu, 05 Feb 2004 05:34:01 +0900
> Shinpei Kato <shinny@j02.itscom.net> wrote:
>
> > > Hi, This is the first time for me to post a message to this ML.
> > Nice to speak to you.
> >
> > Now I'm porting GCC & GAS for the new CPU developed in our lab of the
> > univ.
> > I could complete GCC porting. I mean I could generate a *.s file with
> > xxx-elf-gcc -S option.
> > But if I try "xxx-elf-gcc -o hoge.c", it fails with a following message.
> >
> > $ xxx-elf-gcc -o test test.c
> > Assembler messages:
> > Warning: Could not set architecture and machine
> > /usr/local/.../xxx-elf/bin/ld: /tmp/ccELuxcz.o: Relocations in generic
> > ELF (EM: 0)
> > :
> > :
> >
> > Actually, I've made use of gcc&gas-related files for MIPS architecutre.
> > So, the above message is written in binutils/gas/config/tc-mips.c.
> > If I observe tc-mips.c, the above message is displayed only when the
> > bfd_set_arch_mach() function fails.
> > Although I looked for where the bfd_set_arch_mach() function is, I could
> > find it only in binutils/bfd/bfd-in2.h.
> > Besides I can't understand the several macros in this file, this file
> > seems a read-only file.
> > Now I'm confusing very much.
> > Could someone tell me how it works and how I can complete the rest for
> > gas porting?
> >
> > Regards,
> >
> > --
> > Shinpei Kato <shinny@j02.itscom.net>
> >
> >
> > ------
> > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
> >
>
>
>
>
> ------
> Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
>
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list