This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: About the file is automatically generated in Binutils!!
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: libra <mr924352 at cs dot nthu dot edu dot tw>
- Cc: binutils at sources dot redhat dot com
- Date: 19 Apr 2004 21:13:27 -0400
- Subject: Re: About the file is automatically generated in Binutils!!
- References: <1082422768.408475f06496f@webmail.cs.nthu.edu.tw>
libra <mr924352@cs.nthu.edu.tw> writes:
> I have tried to add my architecture(bfd_arch_sp) in bfd/archures.c,
> and i also run "make headers" in my build/binutils/bfd/ directory.
> When i check the build/binutils/bfd/bfd.h,i cann't find the definitions of my
> architecture.
> I think,maybe,i lost something.
Well, what precisely did you do?
> In bfd/reloc.c,i have checked it.
>
> But, i find that the existing examples are all in the comment.
> I don't understand when i add my own name (BFD_RELOC_SP_PARTLS7) in the
> reloc.c,how it can work?
It can work because "make headers" will look in the comments when
creating the header file. Try it.
Ian