glibc/sysdeps/unix/sysv/linux/mips
Joseph Myers d95ffd4cfd Refactor handling of /lib64 etc. cases, move out of sysdeps/gnu/configure.ac.
This patch continues removing architecture-specific cases from
non-architecture-specific files by moving the logic to use directories
such as /lib64 out of sysdeps/gnu/configure.ac.

A new macro LIBC_SLIBDIR_RTLDDIR is created that sysdeps configure
scripts can use to declare the library directories to be used; the
logic was previously duplicated in configure fragments for aarch64,
mips and x32 as well as in sysdeps/gnu/configure.ac.  This macro is
used directly in sysdeps/gnu/configure.ac only to provide the /lib
default (the logic saying that with --prefix=/usr shared libraries go
in /lib not /usr/lib); the architecture cases formerly there are moved
into various new or existing configure.ac files.  The new macro is
also used in the various architecture fragments that already had such
logic.  In the x32 there was previously a configure fragment, but it
was a directly written one without a .ac file; now a .ac file is used
there instead to generate configure.

Tested x86_64 that the installed shared libraries, and the directory
structure of the installation, are unchanged by this patch.

There is an old bug report - bug 6441 - about library directories
changing after reconfiguring.  If this is still applicable - and I
haven't attempted to confirm it or review the old patch pointed to in
that bug - then this patch should reduce the number of places needing
changing in any fix.

	* aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
	* sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
	cases for individual architectures.
	* sysdeps/gnu/configure: Regenerated.
	* sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
	LIBC_SLIBDIR_RTLDDIR.
	* sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
	* sysdeps/unix/sysv/linux/mips/configure.ac: Use
	LIBC_SLIBDIR_RTLDDIR.
	* sysdeps/unix/sysv/linux/mips/configure: Regenerated.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
	LIBC_SLIBDIR_RTLDDIR.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
	Regenerated.
	* sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
	* sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
	file.
	* sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
	* sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
	* sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
	* sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2014-07-17 14:35:48 +00:00
..
bits MIPS: Move NPTL public headers to sysdeps/mips/nptl/. 2014-06-23 09:25:41 -07:00
mips32 MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
mips64 MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
sys Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
____longjmp_chk.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
_test_and_set.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
arch-fork.h Split arch-fork.h from fork.h 2014-05-16 11:17:41 -07:00
brk.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
clone.S MIPS: Consolidate NPTL/non versions of clone 2014-06-25 14:50:58 -07:00
configure Refactor handling of /lib64 etc. cases, move out of sysdeps/gnu/configure.ac. 2014-07-17 14:35:48 +00:00
configure.ac Refactor handling of /lib64 etc. cases, move out of sysdeps/gnu/configure.ac. 2014-07-17 14:35:48 +00:00
dl-cache.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
dl-static.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
getcontext.S Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
getmsg.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
getrlimit64.c Fix -Wundef warnings for _ABI* on MIPS. 2014-03-21 18:21:13 +00:00
getsysstats.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
ipc_priv.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
kernel_rt_sigframe.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
kernel_sigaction.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
kernel_stat.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
kernel_termios.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
kernel-features.h Reduce kernel-features.h duplication. 2014-05-14 00:45:19 +00:00
ldsodefs.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
libc-abis Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
lowlevellock.h Get rid of lll_robust_dead. 2014-07-10 11:21:54 -07:00
makecontext.S Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
Makefile Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
pipe.S Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
pread64.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
pread.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
profil-counter.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
pt-vfork.S MIPS: Consolidate NPTL/non versions of vfork 2014-06-27 11:18:10 -07:00
putmsg.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
pwrite64.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
pwrite.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
readelflib.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
register-dump.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
setcontext.S Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
setrlimit64.c Fix -Wundef warnings for _ABI* on MIPS. 2014-03-21 18:21:13 +00:00
shlib-versions Move architecture shlib-versions files to Linux-specific directories. 2014-07-17 14:31:12 +00:00
sigaction.c Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
sigcontextinfo.h Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
swapcontext.S Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
syscalls.list Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
sysdep-cancel.h MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
ucontext_i.sym Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
ustat.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
Versions Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
vfork.S MIPS: Consolidate NPTL/non versions of vfork 2014-06-27 11:18:10 -07:00
xstatconv.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00