diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-10-18 21:03:40 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-10-18 21:04:22 +0000 |
commit | 3c8325fb47c3688cc7d9b70ada2ec71fb0eb219a (patch) | |
tree | eb315c426bd9c1f5aa42f40f6e9e74f2d7aabcd3 /sysdeps/powerpc/preconfigure | |
parent | 289528850de3c197821e0b670b23980ff8b4d538 (diff) | |
download | glibc-3c8325fb47c3688cc7d9b70ada2ec71fb0eb219a.tar.gz glibc-3c8325fb47c3688cc7d9b70ada2ec71fb0eb219a.tar.xz glibc-3c8325fb47c3688cc7d9b70ada2ec71fb0eb219a.zip |
Add e500 port.
Diffstat (limited to 'sysdeps/powerpc/preconfigure')
-rw-r--r-- | sysdeps/powerpc/preconfigure | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure new file mode 100644 index 0000000000..1741c251f1 --- /dev/null +++ b/sysdeps/powerpc/preconfigure @@ -0,0 +1,11 @@ +# Check for e500. + +case "$machine" in +powerpc) + $CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null > conftest.i + if grep -q __NO_FPRS__ conftest.i && ! grep -q _SOFT_FLOAT conftest.i; then + base_machine=powerpc machine=powerpc/powerpc32/e500 + fi + rm -f conftest.i + ;; +esac |