Move powerpc ports pieces to libc.

This commit is contained in:
Joseph Myers 2013-10-04 16:02:33 +00:00
parent e246b34759
commit 29d73d867e
65 changed files with 71 additions and 10 deletions

View File

@ -1,5 +1,35 @@
2013-10-04 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
Move -mhard-float appending from
ports/sysdeps/powerpc/powerpc32/Makefile.
[$(with-fp) = yes] (ASFLAGS): Likewise.
[$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
* sysdeps/powerpc/nofpu: Move directory from
ports/sysdeps/powerpc/nofpu.
* sysdeps/powerpc/soft-fp: Move directory from
ports/sysdeps/powerpc/soft-fp.
* sysdeps/powerpc/powerpc32/405: Move directory from
ports/sysdeps/powerpc/powerpc32/405.
* sysdeps/powerpc/powerpc32/440: Move directory from
ports/sysdeps/powerpc/powerpc32/440.
* sysdeps/powerpc/powerpc32/464: Move directory from
ports/sysdeps/powerpc/powerpc32/464.
* sysdeps/powerpc/powerpc32/476: Move directory from
ports/sysdeps/powerpc/powerpc32/476.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
* README: Update for powerpc-*-linux-gnu software floating point
support in libc.
* sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
case to powerpc/powerpc32*.
* sysdeps/unix/sysv/linux/configure: Regenerated.

3
README
View File

@ -26,7 +26,7 @@ The GNU C Library supports these configurations for using Linux kernels:
i[4567]86-*-linux-gnu
x86_64-*-linux-gnu Can build either x86_64 or x32
powerpc-*-linux-gnu Hardware floating point required
powerpc-*-linux-gnu Hardware or software floating point
powerpc64-*-linux-gnu
s390-*-linux-gnu
s390x-*-linux-gnu
@ -47,7 +47,6 @@ located in the `ports' subdirectory of the source tree.
m68k-*-linux-gnu
mips-*-linux-gnu
mips64-*-linux-gnu
powerpc-*-linux-gnu Software floating point (--without-fp)
tilegx-*-linux-gnu
tilepro-*-linux-gnu

View File

@ -1,5 +1,36 @@
This file describes changes to the soft-float powerpc port while it
was in the ports add-on directory. This port is no longer part of an
add-on and so future changes to it should be listed in the top-level
ChangeLog file, not here.
2013-10-04 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/powerpc32/Makefile: Remove file.
* sysdeps/powerpc/nofpu: Move directory to
../sysdeps/powerpc/nofpu.
* sysdeps/powerpc/soft-fp: Move directory to
../sysdeps/powerpc/soft-fp.
* sysdeps/powerpc/powerpc32/405: Move directory to
../sysdeps/powerpc/powerpc32/405.
* sysdeps/powerpc/powerpc32/440: Move directory to
../sysdeps/powerpc/powerpc32/440.
* sysdeps/powerpc/powerpc32/464: Move directory to
../sysdeps/powerpc/powerpc32/464.
* sysdeps/powerpc/powerpc32/476: Move directory to
../sysdeps/powerpc/powerpc32/476.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
to ../sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory to
../sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory to
../sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory to
../sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory to
../sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S:

View File

@ -1,8 +0,0 @@
# Some Powerpc32 variants assume soft-fp is the default even though there is
# an fp variant so provide -mhard-float if --with-fp is explicitly passed.
ifeq ($(with-fp),yes)
+cflags += -mhard-float
ASFLAGS += -mhard-float
sysdep-LDFLAGS += -mhard-float
endif

View File

@ -1,5 +1,14 @@
# Powerpc32 specific build options.
# Some Powerpc32 variants assume soft-fp is the default even though there is
# an fp variant so provide -mhard-float if --with-fp is explicitly passed.
ifeq ($(with-fp),yes)
+cflags += -mhard-float
ASFLAGS += -mhard-float
sysdep-LDFLAGS += -mhard-float
endif
ifeq ($(subdir),gmon)
sysdep_routines += ppc-mcount compat-ppc-mcount
static-only-routines += ppc-mcount