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: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Fri, 15 Feb 2002 18:50:12 +0100
- 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> <m3ofitwrtx.fsf@north-pole.nickc.cambridge.redhat.com> <20020213075528.C5788@dragon.nuxi.com>
David O'Brien wrote:
[snip]
> I am not sure what you are suggesting.
> You are suggesting that rather than:
>
> #ifndef ELF_DYNAMIC_INTERPRETER
> #define ELF_DYNAMIC_INTERPRETER foo
> #endif
>
> the patch become:
>
> #undef ELF_DYNAMIC_INTERPRETER
> #define ELF_DYNAMIC_INTERPRETER foo
>
> Correct? If so that still will not allow easy overriding of
> ELF_DYNAMIC_INTERPRETER.
The problem with such easy overriding is that it gets quickly confusing.
> How about we just move that macro into its own
> header? It would be very easy to provide an alternate header via
> ``configure''.
This is IMHO the better solution.
Thiemo