about summary refs log tree commit diff
path: root/stdlib/gen-mpn-copy
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
commita334319f6530564d22e775935d9c91663623a1b4 (patch)
treeb5877475619e4c938e98757d518bb1e9cbead751 /stdlib/gen-mpn-copy
parent0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (diff)
downloadglibc-a334319f6530564d22e775935d9c91663623a1b4.tar.gz
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.xz
glibc-a334319f6530564d22e775935d9c91663623a1b4.zip
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
Diffstat (limited to 'stdlib/gen-mpn-copy')
-rw-r--r--stdlib/gen-mpn-copy35
1 files changed, 35 insertions, 0 deletions
diff --git a/stdlib/gen-mpn-copy b/stdlib/gen-mpn-copy
new file mode 100644
index 0000000000..01656ae54d
--- /dev/null
+++ b/stdlib/gen-mpn-copy
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+translations='
+sparc64		sparc/sparc64
+sparc32/v8	sparc/sparc8
+sparc32		sparc
+x86/pentium	i386/i586
+x86		i386
+m68k/mc68000	m68k/m68000
+m68k/mc68020	m68k/m68020
+m88k/mc88100	m88k/m88100
+m88k/mc88110	m88k/m88110
+mips3		mips/mips3
+mips2		mips
+hppa/hppa1_1	hppa/hppa1.1
+alpha/ev5	alpha/alphaev5
+power		rs6000
+am29000		a29k
+'
+
+set $translations
+while [ $# -ge 2 ]; do
+  gmp=$1 glibc=$2
+  shift; shift
+  echo 'mpn-found-1 := $(filter $(gmp-srcdir)/mpn/'$gmp'/%,$(mpn-found))
+mpn-copy-1 := $(patsubst $(gmp-srcdir)/mpn/'$gmp'/%,$(sysdep_dir)/'$glibc\
+'/%,$(mpn-found-1))
+mpn-found := $(filter-out $(mpn-found-1),$(mpn-found))
+mpn-copy-sysdep := $(mpn-copy-sysdep) $(mpn-copy-1)
+$(mpn-copy-1): $(sysdep_dir)/'$glibc'/%: \
+	       $(ignore gmp2glibc.sed) $(gmp-srcdir)/mpn/'$gmp'/%
+	$(gmp2glibc)'
+done
+
+exit 0