diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-06-14 21:37:48 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-06-14 21:37:48 +0000 |
commit | 862fef6971ef660a985c790e3643187e5ecb855d (patch) | |
tree | d70a00b981442842d4bd84bfd456a4f249fb2e5b /ldso/ldso/i386 | |
parent | 311b479b519b33774b6bb75d5c4961f2e2498fc2 (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/i386')
-rw-r--r-- | ldso/ldso/i386/dl-sysdep.h | 5 | ||||
-rw-r--r-- | ldso/ldso/i386/ld_sysdep.h | 5 | ||||
-rw-r--r-- | ldso/ldso/i386/sysdep.h | 5 |
3 files changed, 0 insertions, 15 deletions
diff --git a/ldso/ldso/i386/dl-sysdep.h b/ldso/ldso/i386/dl-sysdep.h index 8e7fb656b..d44b020ee 100644 --- a/ldso/ldso/i386/dl-sysdep.h +++ b/ldso/ldso/i386/dl-sysdep.h @@ -14,11 +14,6 @@ * do something a little more subtle here. */ #define GET_ARGV(ARGVP, ARGS) ARGVP = ((unsigned long*) & ARGS) -/* - * Get the address of the Global offset table. This must be absolute, not - * relative. - */ -#define GET_GOT(X) __asm__("\tmovl %%ebx,%0\n\t" : "=a" (X)) /* * Initialization sequence for a GOT. diff --git a/ldso/ldso/i386/ld_sysdep.h b/ldso/ldso/i386/ld_sysdep.h index 8e7fb656b..d44b020ee 100644 --- a/ldso/ldso/i386/ld_sysdep.h +++ b/ldso/ldso/i386/ld_sysdep.h @@ -14,11 +14,6 @@ * do something a little more subtle here. */ #define GET_ARGV(ARGVP, ARGS) ARGVP = ((unsigned long*) & ARGS) -/* - * Get the address of the Global offset table. This must be absolute, not - * relative. - */ -#define GET_GOT(X) __asm__("\tmovl %%ebx,%0\n\t" : "=a" (X)) /* * Initialization sequence for a GOT. diff --git a/ldso/ldso/i386/sysdep.h b/ldso/ldso/i386/sysdep.h index 8e7fb656b..d44b020ee 100644 --- a/ldso/ldso/i386/sysdep.h +++ b/ldso/ldso/i386/sysdep.h @@ -14,11 +14,6 @@ * do something a little more subtle here. */ #define GET_ARGV(ARGVP, ARGS) ARGVP = ((unsigned long*) & ARGS) -/* - * Get the address of the Global offset table. This must be absolute, not - * relative. - */ -#define GET_GOT(X) __asm__("\tmovl %%ebx,%0\n\t" : "=a" (X)) /* * Initialization sequence for a GOT. |