PATCH: Move sysdeps/x86_64/Implies to sysdeps/x86_64/64

H.J. Lu hjl.tools@gmail.com
Thu Mar 22 20:32:00 GMT 2012


On Thu, Mar 22, 2012 at 1:11 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Mar 22, 2012 at 12:50 PM, Roland McGrath <roland@hack.frob.com> wrote:
>>> to work correctly, we need to concatenate them as a single Implies:
>>
>> That does not constitute elaboration, it constitutes repetition.
>
> Since we check fpu with
>
> mach=
> tail=$machine${submachine:+/$submachine}
> while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
>  set $m
>  # Prepend the machine's FPU directory unless --without-fp.
>  if test "$with_fp" = yes; then
>    mach="$mach /$1/fpu"
>  else
>    mach="$mach /$1/nofpu"
>  fi
>  mach="$mach /$1"
>  tail="$2"
> done
>
> and machine == x86_64/64, I got

The search order is

/x86_64/64/fpu /x86_64/64 /x86_64/fpu /x86_64

/wordsize-64 from /x86_64/64/Implies comes before /x86_64/fpu
and /x86_64.

> checking sysdep dirs... sysdeps/x86_64/elf
> sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/wordsize-64
> nptl/sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86_64
> nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
> sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common
> sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv
> sysdeps/unix/sysv sysdeps/unix/x86_64 nptl/sysdeps/unix sysdeps/unix
> sysdeps/posix sysdeps/x86_64/64 sysdeps/wordsize-64
> sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu
> sysdeps/x86_64/multiarch nptl/sysdeps/x86_64 sysdeps/x86_64
> sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64
> sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754
> sysdeps/generic/elf sysdeps/generic
>
>
> --
> H.J.



-- 
H.J.



More information about the Libc-alpha mailing list