1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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.
This commit is contained in:
David S. Miller
2012-03-13 03:09:00 -07:00
parent 2a8ab7f265
commit 8e59da90ce
5 changed files with 6 additions and 11 deletions

View File

@@ -1,5 +1,11 @@
2012-03-13 David S. Miller <davem@davemloft.net> 2012-03-13 David S. Miller <davem@davemloft.net>
* 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.
* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
large parameters. large parameters.

View File

@@ -12,8 +12,6 @@ CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_SPARC_GCC=1
endif endif
ifeq ($(subdir),csu) ifeq ($(subdir),csu)
# get offset to rtld_global._dl_hwcap
gen-as-const-headers += rtld-global-offsets.sym
CPPFLAGS-crti.S += -fPIC CPPFLAGS-crti.S += -fPIC
CPPFLAGS-crtn.S += -fPIC CPPFLAGS-crtn.S += -fPIC
endif endif

View File

@@ -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)

View File

@@ -18,7 +18,6 @@
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#include <sysdep.h> #include <sysdep.h>
#include <rtld-global-offsets.h>
#if !defined NOT_IN_libc #if !defined NOT_IN_libc
.text .text

View File

@@ -18,7 +18,6 @@
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#include <sysdep.h> #include <sysdep.h>
#include <rtld-global-offsets.h>
#if !defined NOT_IN_libc #if !defined NOT_IN_libc
.text .text