summaryrefslogtreecommitdiff
path: root/ldso/ldso/sparc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-14 21:37:48 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-14 21:37:48 +0000
commit862fef6971ef660a985c790e3643187e5ecb855d (patch)
treed70a00b981442842d4bd84bfd456a4f249fb2e5b /ldso/ldso/sparc
parent311b479b519b33774b6bb75d5c4961f2e2498fc2 (diff)
Yet more ldso cleanups. Be more discriminating about when using inlines
and when using real functions. Make things be more portable by providing a default C routine to locate the got. -Erik
Diffstat (limited to 'ldso/ldso/sparc')
-rw-r--r--ldso/ldso/sparc/dl-sysdep.h6
-rw-r--r--ldso/ldso/sparc/ld_sysdep.h6
-rw-r--r--ldso/ldso/sparc/sysdep.h6
3 files changed, 0 insertions, 18 deletions
diff --git a/ldso/ldso/sparc/dl-sysdep.h b/ldso/ldso/sparc/dl-sysdep.h
index 1d4c0354f..3c8d9b8d1 100644
--- a/ldso/ldso/sparc/dl-sysdep.h
+++ b/ldso/ldso/sparc/dl-sysdep.h
@@ -11,12 +11,6 @@
#define ELF_USES_RELOCA
/*
- * Get the address of the Global offset table. This must be absolute, not
- * relative.
- */
-#define GET_GOT(X) __asm__("\tmov %%l7,%0\n\t" : "=r" (X))
-
-/*
* Get a pointer to the argv array. On many platforms this can be just
* the address if the first argument, on other platforms we need to
* do something a little more subtle here. We assume that argc is stored
diff --git a/ldso/ldso/sparc/ld_sysdep.h b/ldso/ldso/sparc/ld_sysdep.h
index 1d4c0354f..3c8d9b8d1 100644
--- a/ldso/ldso/sparc/ld_sysdep.h
+++ b/ldso/ldso/sparc/ld_sysdep.h
@@ -11,12 +11,6 @@
#define ELF_USES_RELOCA
/*
- * Get the address of the Global offset table. This must be absolute, not
- * relative.
- */
-#define GET_GOT(X) __asm__("\tmov %%l7,%0\n\t" : "=r" (X))
-
-/*
* Get a pointer to the argv array. On many platforms this can be just
* the address if the first argument, on other platforms we need to
* do something a little more subtle here. We assume that argc is stored
diff --git a/ldso/ldso/sparc/sysdep.h b/ldso/ldso/sparc/sysdep.h
index 1d4c0354f..3c8d9b8d1 100644
--- a/ldso/ldso/sparc/sysdep.h
+++ b/ldso/ldso/sparc/sysdep.h
@@ -11,12 +11,6 @@
#define ELF_USES_RELOCA
/*
- * Get the address of the Global offset table. This must be absolute, not
- * relative.
- */
-#define GET_GOT(X) __asm__("\tmov %%l7,%0\n\t" : "=r" (X))
-
-/*
* Get a pointer to the argv array. On many platforms this can be just
* the address if the first argument, on other platforms we need to
* do something a little more subtle here. We assume that argc is stored