This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Add blurb about target necessities for readelf in bfdint.texi
- To: hans-peter dot nilsson at axis dot com
- Subject: Re: Add blurb about target necessities for readelf in bfdint.texi
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 24 May 2000 10:30:04 -0700
- CC: binutils at sourceware dot cygnus dot com
- References: <200005241034.MAA23447@ignucius.axis.se>
Date: Wed, 24 May 2000 12:34:06 +0200
From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
+ 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}.
Adding the dependency for readelf.o is incorrect. The dependencies in
all of the binutils directories are built automatically, by using
`make dep-am'.
Ian