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: [PATCH] allow easier overriding of ELF_DYNAMIC_INTERPRETER


On Mon, Jan 28, 2002 at 11:40:17AM -0800, David O'Brien wrote:

 > > AFAICS the ELF_DYNAMIC_INTERPRETER strings are different, so
 > > it's more stable code to generally #undef any preceeding one.
 > 
 > Please state this again.  I totally cannot follow you.
 > The intent is to use the ELF_DYNAMIC_INTERPRETER definition in elf*-*.c
 > _unless_ it is already defined in the Makefile or in header.

I'd say not in *either* a Makefile or a header, but rather another elf*-*.c
that defines a new ELF_DYNAMIC_INTERPRETER and #include's the regular
elf*-*.c (see e.g. elf32-sh-lin.c and elf32-sh-nbsd.c).

The elf*-*.c files should remain pristine, IMO, and if you want to change
it, seems like you should create a new target vector.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


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