diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-07-26 02:31:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-07-26 02:31:10 +0000 |
commit | dca3aa22294f7419418b6baa01ae7cefd79cfbe3 (patch) | |
tree | aa762235ce4477f2a12aedae4b0311866707694a /sysdeps | |
parent | fdbb0d4a45f82eb920d120205f9d9680d3185a97 (diff) | |
download | glibc-dca3aa22294f7419418b6baa01ae7cefd79cfbe3.tar glibc-dca3aa22294f7419418b6baa01ae7cefd79cfbe3.tar.gz glibc-dca3aa22294f7419418b6baa01ae7cefd79cfbe3.tar.bz2 glibc-dca3aa22294f7419418b6baa01ae7cefd79cfbe3.zip |
Remove extra stuff.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mips/dl-machine.h | 10 | ||||
-rw-r--r-- | sysdeps/mips/mips64/dl-machine.h | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h index 7456ae0b7a..fce7cffb4a 100644 --- a/sysdeps/mips/dl-machine.h +++ b/sysdeps/mips/dl-machine.h @@ -96,16 +96,6 @@ elf_machine_matches_host (ElfW(Half) e_machine) } } -/* Return the link-time address of _DYNAMIC. Conveniently, this is the -+ first element of the GOT. This must be inlined in a function which -+ uses global data. */ -+static inline ElfW(Addr) -+elf_machine_dynamic (void) -+{ -+ register ElfW(Addr) gp asm ("$28"); -+ return * (ElfW(Addr) *) (gp - 0x7ff0); -+} -+ static inline ElfW(Addr) * elf_mips_got_from_gpreg (ElfW(Addr) gpreg) { diff --git a/sysdeps/mips/mips64/dl-machine.h b/sysdeps/mips/mips64/dl-machine.h index 3277b109d9..a20835af35 100644 --- a/sysdeps/mips/mips64/dl-machine.h +++ b/sysdeps/mips/mips64/dl-machine.h @@ -96,16 +96,6 @@ elf_machine_matches_host (ElfW(Half) e_machine) } } -/* Return the link-time address of _DYNAMIC. Conveniently, this is the -+ first element of the GOT. This must be inlined in a function which -+ uses global data. */ -+static inline ElfW(Addr) -+elf_machine_dynamic (void) -+{ -+ register ElfW(Addr) gp asm ("$28"); -+ return * (ElfW(Addr) *) (gp - 0x7ff0); -+} -+ static inline ElfW(Addr) * elf_mips_got_from_gpreg (ElfW(Addr) gpreg) { |