This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] sparc*-linux Makefiles


Hi!

Although glibc does not normally use $(LD), so add-ons do, so it is good to
have that variable set to a usable value.
Also, -fcall-used-g7 is linux specific.

2000-04-15  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
	modification and move it...
	* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
	Add -melf64_sparc switch to $(LD) on sparc64-linux.
	* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
	switch to $(LD) on sparc-linux.

--- libc/sysdeps/sparc/sparc64/Makefile.jj	Tue Jan  4 17:11:59 2000
+++ libc/sysdeps/sparc/sparc64/Makefile	Sat Apr 15 11:06:22 2000
@@ -1,3 +1,2 @@
 # The Sparc `long double' is a distinct type we support.
 long-double-fcts = yes
-sysdep-CFLAGS += -fcall-used-g7
--- libc/sysdeps/unix/sysv/linux/sparc/sparc32/Makefile.jj	Tue Jan  4 17:12:06 2000
+++ libc/sysdeps/unix/sysv/linux/sparc/sparc32/Makefile	Sat Apr 15 11:10:05 2000
@@ -1,5 +1,6 @@
 asm-CPPFLAGS = -D__ASSEMBLY__
 ASFLAGS-.os += -fPIC
+LD := $(LD) -melf32_sparc
 
 ifeq ($(subdir),misc)
 sysdep_routines += setfsgid setfsuid setresgid setresuid
--- libc/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile.jj	Sat Apr 15 11:40:33 2000
+++ libc/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile	Sat Apr 15 11:07:16 2000
@@ -0,0 +1,2 @@
+sysdep-CFLAGS += -fcall-used-g7
+LD := $(LD) -melf64_sparc

	Jakub

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]