Note: libc_cv_forced_unwind=yes and libc_cv_c_cleanup=yes" config cache
variables are needed for all archs if TLS is enabled, and the
config cache approach seems to be more reliable than patching!
- The conditional that checked what kind of ld.so,conf has to be generated
was using $slibdir = lib64 in postmake to check if it is a 64bit build,
and because multilib support was hardcoded for 64 it injected a corresponding
ld.so.conf.
Now that we implemented multilib support by using buildloops $slibdir gets
altered to lib32 in the second loop while building 32bit libs.
This commit will change the test checking if multilib is enabled for the
target instead of using $slibdir. It also adopts the new filesystem layout
to the ld.so.conf.
We have to use an 'objdir' directory for building glibc and make its
name unique by appending $arch_target to distinguish while building
a multilib capable glibc using buildloops.
- Since we build 32bit libs of glibc by using a second buildloop
if we build a multilib target, we have to assure that we build
64 and 32bit libs in separate directories.