This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Remove x86 ifunc-defines.sym and rtld-global-offsets.sym


"H.J. Lu" <hongjiu.lu@intel.com> writes:

> diff --git a/sysdeps/x86/cpu-features-offsets.sym b/sysdeps/x86/cpu-features-offsets.sym
> index a9d53d1..f6907e0 100644
> --- a/sysdeps/x86/cpu-features-offsets.sym
> +++ b/sysdeps/x86/cpu-features-offsets.sym
> @@ -1,7 +1,24 @@
>  #define SHARED 1
>  
> -#include <ldsodefs.h>
> +#include "init-arch.h"
> +#include <stddef.h>

This will find sysdeps/x86/init-arch.h first, doesn't it?  I don't know
if MINIMUM_ISA has an effect here, but it appears cleaner to use
<init-arch.h> instead.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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