This is the mail archive of the binutils@sourceware.cygnus.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]

Add blurb about target necessities for readelf in bfdint.texi


The testsuite failed on me.  I blame the instructions.  ;-)
I could not find porting docs in the binutils subdir, but bfdint.texi was
a good source.  While admittedly slightly misplaced, without
restructuring the docs it seems the best place to add this information, 

Did I get everything right?  Anybody has some better wording in mind?

Ok to install?

Wed May 24 12:03:25 2000  Hans-Peter Nilsson  <hp@axis.com>

	* bfdint.texi (BFD ELF processor required): Add paragraph about
	target necessities for readelf.

Index: bfdint.texi
===================================================================
RCS file: /cvs/src/src/bfd/doc/bfdint.texi,v
retrieving revision 1.3
diff -p -c -r1.3 bfdint.texi
*** bfdint.texi	2000/04/30 15:04:58	1.3
--- bfdint.texi	2000/05/24 10:17:23
*************** it should use the @samp{START_RELOC_NUMB
*** 1607,1612 ****
--- 1607,1618 ----
  macros to create a table mapping the number used to indentify a
  relocation to a name describing that relocation.
  
+ While not a BFD component, you probably also want to make the binutils
+ program @samp{readelf} parse your ELF objects.  For this, you need to add
+ a dependency for @file{readelf.o} on @file{include/elf/@var{cpu}.h} in
+ @file{binutils/Makefile.am}, and code for @code{EM_@var{cpu}} as
+ appropriate in @file{binutils/readelf.c}.
+ 
  @node BFD ELF processor linker
  @subsubsection Processor specific linker support
  
brgds, H-P

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