glibc/sysdeps/unix/sysv/linux/sparc/sparc32
Joseph Myers 80f91666fe Fix sparc32 bits/long-double.h (bug 21987).
My refactoring of long double information

commit 0acb8a2a85
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Dec 14 18:27:56 2016 +0000

    Refactor long double information into bits/long-double.h.

resulted in sparc32 configurations installing the ldbl-opt version of
bits/long-double.h instead of the intended
sysdeps/unix/sysv/linux/sparc version.

For sparc32 by itself, this is not a problem, since the ldbl-opt
version is correct for sparc32.  However, both sparc32 and sparc64 are
supposed to install sets of headers that work for both of them, so
that a single sysroot, whichever order the libraries are built and
installed in, works for both.  The effect of having the wrong version
installed is that you end up with a miscompiled sparc64 libstdc++
which fails glibc's configure tests for the C++ compiler.

This patch moves the header from sysdeps/unix/sysv/linux/sparc to
separate copies of the same file for sparc32 and sparc64, to ensure it
comes before ldbl-opt in the sysdeps directory ordering.

Tested with build-many-glibcs.py for sparc64-linux-gnu and
sparcv9-linux-gnu.

	[BZ #21987]
	* sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
	and copy to ...
	* sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
	... here.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
	... and here.
2017-08-22 00:59:43 +00:00
..
bits Fix sparc32 bits/long-double.h (bug 21987). 2017-08-22 00:59:43 +00:00
fpu
sparcv9
Implies
Makefile
Versions
____longjmp_chk.S
brk.c
c++-types.data
clone.S
fxstat.c
fxstatat.c
getcontext.S
getdents64.c
glob64.c
kernel_stat.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc.abilist
libcrypt.abilist
libdl.abilist
libm.abilist Remove SPARC sqrt wrappers (bug 21973). 2017-08-21 17:46:34 +00:00
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data ld.so: Introduce struct dl_exception 2017-08-10 16:54:57 +02:00
lockf64.c
lxstat.c
makecontext.c
nldbl-abi.h
pipe.S
profil-counter.h
readdir64.c
readdir64_r.c
register-dump.h
scandir64.c
setcontext.S
shlib-versions
sigaction.c
sigcontextinfo.h
swapcontext.S
syscall.S
syscalls.list
sysdep-cancel.h
sysdep.h
ucontext_i.sym
vfork.S
xstat.c