diff options
author | David S. Miller <davem@davemloft.net> | 2012-03-13 03:09:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-13 03:14:23 -0700 |
commit | 8e59da90ce7ef7b4226b9516116353cfceb5bb1c (patch) | |
tree | 1ca71d2339d668b31f09c6ea990adeb0e1bd344f /sysdeps | |
parent | 2a8ab7f26591053136bc17be34499db5c64e89d6 (diff) | |
download | glibc-8e59da90ce7ef7b4226b9516116353cfceb5bb1c.tar.gz glibc-8e59da90ce7ef7b4226b9516116353cfceb5bb1c.tar.xz glibc-8e59da90ce7ef7b4226b9516116353cfceb5bb1c.zip |
Remove no longer needed assembler offset generation on sparc.
* sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling. * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include rtld-global-offsets.h * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/sparc/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/sparc/elf/rtld-global-offsets.sym | 7 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/multiarch/memcpy.S | 1 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/multiarch/memset.S | 1 |
4 files changed, 0 insertions, 11 deletions
diff --git a/sysdeps/sparc/Makefile b/sysdeps/sparc/Makefile index 45609d55f1..1dd70e8b55 100644 --- a/sysdeps/sparc/Makefile +++ b/sysdeps/sparc/Makefile @@ -12,8 +12,6 @@ CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_SPARC_GCC=1 endif ifeq ($(subdir),csu) -# get offset to rtld_global._dl_hwcap -gen-as-const-headers += rtld-global-offsets.sym CPPFLAGS-crti.S += -fPIC CPPFLAGS-crtn.S += -fPIC endif diff --git a/sysdeps/sparc/elf/rtld-global-offsets.sym b/sysdeps/sparc/elf/rtld-global-offsets.sym deleted file mode 100644 index ff4e97f2a6..0000000000 --- a/sysdeps/sparc/elf/rtld-global-offsets.sym +++ /dev/null @@ -1,7 +0,0 @@ -#define SHARED 1 - -#include <ldsodefs.h> - -#define rtld_global_ro_offsetof(mem) offsetof (struct rtld_global_ro, mem) - -RTLD_GLOBAL_RO_DL_HWCAP_OFFSET rtld_global_ro_offsetof (_dl_hwcap) diff --git a/sysdeps/sparc/sparc64/multiarch/memcpy.S b/sysdeps/sparc/sparc64/multiarch/memcpy.S index 739687f3b8..36c488672d 100644 --- a/sysdeps/sparc/sparc64/multiarch/memcpy.S +++ b/sysdeps/sparc/sparc64/multiarch/memcpy.S @@ -18,7 +18,6 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> -#include <rtld-global-offsets.h> #if !defined NOT_IN_libc .text diff --git a/sysdeps/sparc/sparc64/multiarch/memset.S b/sysdeps/sparc/sparc64/multiarch/memset.S index 13533450c2..c717f0c9a5 100644 --- a/sysdeps/sparc/sparc64/multiarch/memset.S +++ b/sysdeps/sparc/sparc64/multiarch/memset.S @@ -18,7 +18,6 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> -#include <rtld-global-offsets.h> #if !defined NOT_IN_libc .text |