This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] allow easier overriding of ELF_DYNAMIC_INTERPRETER
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: obrien at FreeBSD dot org
- Cc: binutils at sources dot redhat dot com
- Date: 13 Feb 2002 11:20:58 +0000
- Subject: Re: [PATCH] allow easier overriding of ELF_DYNAMIC_INTERPRETER
- References: <20020125234343.A66746@dragon.nuxi.com><20020126101345.GA24173@rembrandt.csv.ica.uni-stuttgart.de><20020128114017.A70744@dragon.nuxi.com><20020128122518.V8364@dr-evil.shagadelic.org><20020128132808.B72046@dragon.nuxi.com>
Hi David,
> 2002-01-25 David O'Brien <obrien@FreeBSD.org>
>
> * elf32-arm.h (ELF_DYNAMIC_INTERPRETER): Only define if not already
> defined.
> * elf32-cris.c: Likewise.
> * elf32-hppa.c: Likewise.
> * elf32-i370.c: Likewise.
> * elf32-i386.c: Likewise.
> * elf32-m68k.c: Likewise.
> * elf32-mips.c: Likewise.
> * elf32-ppc.c: Likewise.
> * elf32-s390.c: Likewise.
> * elf32-sh.c: Likewise.
> * elf32-sparc.c: Likewise.
> * elf64-alpha.c: Likewise.
> * elf64-hppa.c: Likewise.
> * elf64-s390.c: Likewise.
> * elf64-sparc.c: Likewise.
> * elf64-x86-64.c: Likewise.
> * elfxx-ia64.c: Likewise.
I Think that Thiemo is right - it would be better to #undef any prior
definitions of ELF_DYNAMIC_INTERPRETER rather than providing a
definition in case there is no default. Please could you change your
patch to do this instead ?
Cheers
Nick