This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 00/13] Remove elf subdirs
- From: David Miller <davem at davemloft dot net>
- To: aj at suse dot de
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 23 Mar 2012 15:51:19 -0400 (EDT)
- Subject: Re: [PATCH 00/13] Remove elf subdirs
- References: <remove-elf-20120323><1332520653-2774-1-git-send-email-aj@suse.de>
From: Andreas Jaeger <aj@suse.de>
Date: Fri, 23 Mar 2012 17:37:20 +0100
> I would appreciate testing on sh, sparc, powerpc and s390 - or should
> we submit without testing? I'll wait until Monday in any case with a
> commit.
Both 32-bit and 64-bit Sparc build with the following fix:
diff --git a/sysdeps/sparc/sparc64/Makefile b/sysdeps/sparc/sparc64/Makefile
index 8f8a36d..fb00032 100644
--- a/sysdeps/sparc/sparc64/Makefile
+++ b/sysdeps/sparc/sparc64/Makefile
@@ -7,6 +7,9 @@ ifeq ($(subdir),string)
sysdep_routines += align-cpy
endif
+# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
+ASFLAGS-.os = -fPIC
+
ifeq ($(have-as-vis3),yes)
ASFLAGS-.o += -Wa,-Av9d
ASFLAGS-.os += -Wa,-Av9d
@@ -15,6 +18,3 @@ ASFLAGS-.og += -Wa,-Av9d
ASFLAGS-.ob += -Wa,-Av9d
ASFLAGS-.oS += -Wa,-Av9d
endif
-
-# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
-ASFLAGS-.os = -fPIC