This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: About the file is automatically generated in Binutils!!


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


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