This is the mail archive of the binutils@sourceware.org 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: Help regarding BFD retargeting.


Hi Aashish,

   I am trying to retarget the bfd library of the GNU binutils for a
new target which uses elf64 object file format and ia64 architecture.
  So, can you please tell which files need modifications

You will probably want to add code to bfd/elfxx-ia64.c, and possibly include/elf/ia64.h. You will also want to add your new target to bfd/archures.c, bfd/config.bfd, ld/configure.tgt and config.sub. If you are changing the assembler as well then you may need to modify gas/configure.tgt. If you need to create new relocations then they will have to be added to bfd/reloc.c.


It is also worth remembering that the auto-generated files in the bfd/ directory (eg bfd-in2.h, libbfd.h) can be made by running "make headers" from inside a build bfd/ directory.

Cheers
  Nick



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