glibc/sysdeps/unix/sysv/linux/s390
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 S390: Fix namespace violation in struct stat (BZ #16714). 2014-03-24 16:59:01 +01:00
fpu Implement accurate fma. 2010-10-13 22:27:03 -04:00
s390-32 S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
s390-64 Refactor handling of /lib64 etc. cases, move out of sysdeps/gnu/configure.ac. 2014-07-17 14:35:48 +00:00
sys S/390: Merge 32 and 64 bit ucontext.h. 2014-01-22 18:44:35 +01:00
arch-fork.h S390: Convert fork.c to arch-fork.h 2014-06-13 16:26:38 -07:00
brk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
dl-cache.h Update. 2003-06-25 08:19:44 +00:00
dl-procinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
elision-conf.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-conf.h Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-lock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-timed.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-trylock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
elision-unlock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
force-elision.h Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
getcontext.S S/390: Make ucontext_t extendible. 2014-01-07 09:42:23 +01:00
gettimeofday.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
init-first.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
jmp-unwind.c Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
ldconfig.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ldd-rewrite.sed Fix for bi-arch support. 2002-03-11 11:01:07 +00:00
libanl.abilist S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
localplt.data S390: Consolidate nptl/ subdirectories under linux/... 2014-06-26 09:34:34 -07:00
longjmp_chk.c S/390: Make jmp_buf extendible. 2014-01-07 09:36:31 +01:00
lowlevellock.h Get rid of lll_robust_dead. 2014-07-10 11:21:54 -07:00
Makefile Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
nldbl-abi.h * math/divtc3.c: New file. 2006-02-01 03:02:06 +00:00
opensock.c * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): 2007-11-23 15:19:41 +00:00
pt-longjmp.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
pt-vfork.S S390: Consolidate NPTL/non versions of vfork 2014-06-26 09:30:52 -07:00
pthread_mutex_cond_lock.c Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
pthread_mutex_lock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
pthread_mutex_timedlock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
pthread_mutex_trylock.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
pthread_once.c Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00
readelflib.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
rt-sysdep.S Update. 2004-04-18 02:37:56 +00:00
rtld-getcontext.S S/390: Make ucontext_t extendible. 2014-01-07 09:42:23 +01:00
sa_len.c Clean up __libc_sa_len helper. 2013-08-27 10:34:16 -07:00
semtimedop.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigcontextinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
system.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
v1-longjmp_chk.c S/390: Make jmp_buf extendible. 2014-01-07 09:36:31 +01:00
Versions Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00