about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/Makefile
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-03-23 17:37:30 +0100
committerAndreas Jaeger <jaegerandi@gmail.com>2012-03-28 09:26:30 +0200
commit8cd23080c4689daed28fee31f38ca4ce5570375d (patch)
tree0ffc1de080a83bef2b151126936f83c2f3516186 /sysdeps/sparc/sparc32/Makefile
parent27a0f3a948f3c6eb9ea4535332277af097a35b77 (diff)
downloadglibc-8cd23080c4689daed28fee31f38ca4ce5570375d.tar.gz
glibc-8cd23080c4689daed28fee31f38ca4ce5570375d.tar.xz
glibc-8cd23080c4689daed28fee31f38ca4ce5570375d.zip
Move sysdeps/sparc/{,sparc32,sparc64}/elf files
	* sysdeps/sparc/elf/configure.in: Moved to ...
	* sysdeps/sparc/configure.in: ... here.
	* sysdeps/sparc/elf/configure: Delete file.
	* sysdeps/sparc/sparc32/elf/start.S: Moved to ...
	* sysdeps/sparc/sparc32/start.S: ... here.
	* sysdeps/sparc/sparc64/elf/start.S: Moved to ...
	* sysdeps/sparc/sparc64/start.S: ... here.
	* sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
	* sysdeps/sparc/sparc32/Makefile: ... this.
	* sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
	* sysdeps/sparc/sparc64/Makefile: ... this.
Diffstat (limited to 'sysdeps/sparc/sparc32/Makefile')
-rw-r--r--sysdeps/sparc/sparc32/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/sparc/sparc32/Makefile b/sysdeps/sparc/sparc32/Makefile
index fb1adafcd8..9cb518fa3d 100644
--- a/sysdeps/sparc/sparc32/Makefile
+++ b/sysdeps/sparc/sparc32/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-1998, 2000, 2011 Free Software Foundation, Inc.
+# Copyright (C) 1991-1998, 2000, 2011, 2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -47,3 +47,6 @@ $(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S): $(sysdep_dir)/sparc/sparc32/divrem.
 	mv -f $@-tmp $@
 
 sysdep-realclean := $(sysdep-realclean) $(divrem:%=sysdeps/sparc/sparc32/%.S)
+
+# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
+ASFLAGS-.os = -fPIC