About the file is automatically generated in Binutils!!

Ian Lance Taylor ian@wasabisystems.com
Tue Apr 20 01:14:00 GMT 2004


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



More information about the Binutils mailing list