about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-04-14 15:48:28 +0000
committerRichard Henderson <rth@redhat.com>1999-04-14 15:48:28 +0000
commit4e75fa854a0a30995baf6ee5ced88403e264fdb7 (patch)
tree8d6bef54b16968a49f4c4dc7f3a467a8eb4a69f7 /sysdeps/sparc/sparc32
parente5681dee4d76be8fd77538387c0074d0a59fa7bf (diff)
downloadglibc-4e75fa854a0a30995baf6ee5ced88403e264fdb7.tar.gz
glibc-4e75fa854a0a30995baf6ee5ced88403e264fdb7.tar.xz
glibc-4e75fa854a0a30995baf6ee5ced88403e264fdb7.zip
Sparc merge from Jakub.
1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>

	* scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
	architectures.
	* sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
	instead of CFLAGS.
	* sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
	instead of CFLAGS. For gnulib and string directories use
	-Wa,-Av9a gcc ASFLAGS.
	* sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
	* shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
	the same way as sparc-*.
Diffstat (limited to 'sysdeps/sparc/sparc32')
-rw-r--r--sysdeps/sparc/sparc32/sparcv8/Makefile2
-rw-r--r--sysdeps/sparc/sparc32/sparcv9/Makefile11
-rw-r--r--sysdeps/sparc/sparc32/sparcv9/memmove.c1
3 files changed, 12 insertions, 2 deletions
diff --git a/sysdeps/sparc/sparc32/sparcv8/Makefile b/sysdeps/sparc/sparc32/sparcv8/Makefile
index 02139eceb0..ed2fe8c597 100644
--- a/sysdeps/sparc/sparc32/sparcv8/Makefile
+++ b/sysdeps/sparc/sparc32/sparcv8/Makefile
@@ -1 +1 @@
-CFLAGS += -mv8
+sysdep-CFLAGS += -mv8
diff --git a/sysdeps/sparc/sparc32/sparcv9/Makefile b/sysdeps/sparc/sparc32/sparcv9/Makefile
index 00675fd671..1d1a6c13c0 100644
--- a/sysdeps/sparc/sparc32/sparcv9/Makefile
+++ b/sysdeps/sparc/sparc32/sparcv9/Makefile
@@ -1 +1,10 @@
-CFLAGS += -mv8 -mtune=ultrasparc
+sysdep-CFLAGS += -mv8 -mtune=ultrasparc
+
+ifeq ($(subst gnulib,string,$(subdir)),string)
+ASFLAGS-.o += -Wa,-Av9a
+ASFLAGS-.os += -Wa,-Av9a
+ASFLAGS-.op += -Wa,-Av9a
+ASFLAGS-.og += -Wa,-Av9a
+ASFLAGS-.ob += -Wa,-Av9a
+ASFLAGS-.oS += -Wa,-Av9a
+endif
diff --git a/sysdeps/sparc/sparc32/sparcv9/memmove.c b/sysdeps/sparc/sparc32/sparcv9/memmove.c
new file mode 100644
index 0000000000..9dcf627aee
--- /dev/null
+++ b/sysdeps/sparc/sparc32/sparcv9/memmove.c
@@ -0,0 +1 @@
+#include <sysdeps/generic/memmove.c>