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


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


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