Move powerpc ports pieces to libc.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 4 Oct 2013 16:02:33 +0000 (16:02 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 4 Oct 2013 16:02:33 +0000 (16:02 +0000)
65 files changed:
ChangeLog
README
ports/ChangeLog.powerpc
ports/sysdeps/powerpc/powerpc32/Makefile [deleted file]
sysdeps/powerpc/nofpu/Makefile [moved from ports/sysdeps/powerpc/nofpu/Makefile with 100% similarity]
sysdeps/powerpc/nofpu/Subdirs [moved from ports/sysdeps/powerpc/nofpu/Subdirs with 100% similarity]
sysdeps/powerpc/nofpu/Versions [moved from ports/sysdeps/powerpc/nofpu/Versions with 100% similarity]
sysdeps/powerpc/nofpu/fclrexcpt.c [moved from ports/sysdeps/powerpc/nofpu/fclrexcpt.c with 100% similarity]
sysdeps/powerpc/nofpu/fedisblxcpt.c [moved from ports/sysdeps/powerpc/nofpu/fedisblxcpt.c with 100% similarity]
sysdeps/powerpc/nofpu/feenablxcpt.c [moved from ports/sysdeps/powerpc/nofpu/feenablxcpt.c with 100% similarity]
sysdeps/powerpc/nofpu/fegetenv.c [moved from ports/sysdeps/powerpc/nofpu/fegetenv.c with 100% similarity]
sysdeps/powerpc/nofpu/fegetexcept.c [moved from ports/sysdeps/powerpc/nofpu/fegetexcept.c with 100% similarity]
sysdeps/powerpc/nofpu/fegetround.c [moved from ports/sysdeps/powerpc/nofpu/fegetround.c with 100% similarity]
sysdeps/powerpc/nofpu/feholdexcpt.c [moved from ports/sysdeps/powerpc/nofpu/feholdexcpt.c with 100% similarity]
sysdeps/powerpc/nofpu/fenv_const.c [moved from ports/sysdeps/powerpc/nofpu/fenv_const.c with 100% similarity]
sysdeps/powerpc/nofpu/fenv_libc.h [moved from ports/sysdeps/powerpc/nofpu/fenv_libc.h with 100% similarity]
sysdeps/powerpc/nofpu/fesetenv.c [moved from ports/sysdeps/powerpc/nofpu/fesetenv.c with 100% similarity]
sysdeps/powerpc/nofpu/fesetround.c [moved from ports/sysdeps/powerpc/nofpu/fesetround.c with 100% similarity]
sysdeps/powerpc/nofpu/feupdateenv.c [moved from ports/sysdeps/powerpc/nofpu/feupdateenv.c with 100% similarity]
sysdeps/powerpc/nofpu/fgetexcptflg.c [moved from ports/sysdeps/powerpc/nofpu/fgetexcptflg.c with 100% similarity]
sysdeps/powerpc/nofpu/fraiseexcpt.c [moved from ports/sysdeps/powerpc/nofpu/fraiseexcpt.c with 100% similarity]
sysdeps/powerpc/nofpu/fsetexcptflg.c [moved from ports/sysdeps/powerpc/nofpu/fsetexcptflg.c with 100% similarity]
sysdeps/powerpc/nofpu/ftestexcept.c [moved from ports/sysdeps/powerpc/nofpu/ftestexcept.c with 100% similarity]
sysdeps/powerpc/nofpu/get-rounding-mode.h [moved from ports/sysdeps/powerpc/nofpu/get-rounding-mode.h with 100% similarity]
sysdeps/powerpc/nofpu/libm-test-ulps [moved from ports/sysdeps/powerpc/nofpu/libm-test-ulps with 100% similarity]
sysdeps/powerpc/nofpu/shlib-versions [moved from ports/sysdeps/powerpc/nofpu/shlib-versions with 100% similarity]
sysdeps/powerpc/nofpu/sim-full.c [moved from ports/sysdeps/powerpc/nofpu/sim-full.c with 100% similarity]
sysdeps/powerpc/nofpu/soft-supp.h [moved from ports/sysdeps/powerpc/nofpu/soft-supp.h with 100% similarity]
sysdeps/powerpc/powerpc32/405/memcmp.S [moved from ports/sysdeps/powerpc/powerpc32/405/memcmp.S with 100% similarity]
sysdeps/powerpc/powerpc32/405/memcpy.S [moved from ports/sysdeps/powerpc/powerpc32/405/memcpy.S with 100% similarity]
sysdeps/powerpc/powerpc32/405/memset.S [moved from ports/sysdeps/powerpc/powerpc32/405/memset.S with 100% similarity]
sysdeps/powerpc/powerpc32/405/strcmp.S [moved from ports/sysdeps/powerpc/powerpc32/405/strcmp.S with 100% similarity]
sysdeps/powerpc/powerpc32/405/strcpy.S [moved from ports/sysdeps/powerpc/powerpc32/405/strcpy.S with 100% similarity]
sysdeps/powerpc/powerpc32/405/strlen.S [moved from ports/sysdeps/powerpc/powerpc32/405/strlen.S with 100% similarity]
sysdeps/powerpc/powerpc32/405/strncmp.S [moved from ports/sysdeps/powerpc/powerpc32/405/strncmp.S with 100% similarity]
sysdeps/powerpc/powerpc32/440/Implies [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405/Implies with 100% similarity]
sysdeps/powerpc/powerpc32/464/Implies [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440/Implies with 100% similarity]
sysdeps/powerpc/powerpc32/476/Implies [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464/Implies with 100% similarity]
sysdeps/powerpc/powerpc32/476/memset.S [moved from ports/sysdeps/powerpc/powerpc32/476/memset.S with 100% similarity]
sysdeps/powerpc/powerpc32/Makefile
sysdeps/powerpc/soft-fp/sfp-machine.h [moved from ports/sysdeps/powerpc/soft-fp/sfp-machine.h with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/405/Implies [moved from ports/sysdeps/powerpc/powerpc32/440/Implies with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/440/Implies [moved from ports/sysdeps/powerpc/powerpc32/464/Implies with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/464/Implies [moved from ports/sysdeps/powerpc/powerpc32/476/Implies with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/476/Implies [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476/Implies with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S [moved from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S with 100% similarity]

index 43be44d..6c0d322 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/README b/README
index bb4ccb8..e8df988 100644 (file)
--- a/README
+++ b/README
@@ -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
 
index 773c240..9f04afa 100644 (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.
+
+\f
+
 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:
diff --git a/ports/sysdeps/powerpc/powerpc32/Makefile b/ports/sysdeps/powerpc/powerpc32/Makefile
deleted file mode 100644 (file)
index 3d235de..0000000
+++ /dev/null
@@ -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
index 3fdb4b4..cf620c8 100644 (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