This is the mail archive of the binutils@sourceware.org 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: Binutils 2.26 released


> On 01 Feb 2016, at 15:07, Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> wrote:
> 
> I am willing to submit a patch,
> the problem is that I am not sure I understand the error...
> 
> There are many other AT_XXX macros in 
> /usr/include/sys/auxv.h
> 
> Thus I suppose that gcc does not generate an error
> if the old macro and the new are the same,
> otherwise I would have gotten an error on the first AT_NULL macro.
> 
> Thus it is only because in auxv.h there is:
> #define AT_SUN_CAP_HW1  2009 
> followed by
> #define AT_SUN_HWCAP    AT_SUN_CAP_HW1 /* deprecated; for backward compat */
> whereas in include/elf/common.h
> #define AT_SUN_HWCAP    2009    /* Machine dependent hints about
>                                   processor capabilities.  */
> 
> So should I restrict the change to AT_SU_HWCAP only,
> or rather discard the whole AT_XXX macros?

I would simply restrict the change to AT_SUN_HWCAP.  Add a comment
to explain the reason (Solaris headers define the macro differently
but with the same value).


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