diff options
| author | christos <christos@NetBSD.org> | 1999-02-13 16:35:14 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1999-02-13 16:35:14 +0000 |
| commit | abbd7cf487a53330bdb61d84c3af07855e41eb79 (patch) | |
| tree | bc3202b4c4abaad125545cc52ccb91d7b36a79c4 /libexec | |
| parent | 26bef090990c1c2ab1a02f851caeb4cc8f36e6d5 (diff) | |
tv is right; we don't need to specialcase the i386.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ld.elf_so/reloc.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libexec/ld.elf_so/reloc.c b/libexec/ld.elf_so/reloc.c index 2eaf25772f5..1883acdbd5f 100644 --- a/libexec/ld.elf_so/reloc.c +++ b/libexec/ld.elf_so/reloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: reloc.c,v 1.7 1999/02/12 17:52:07 tv Exp $ */ +/* $NetBSD: reloc.c,v 1.8 1999/02/13 16:35:14 christos Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -434,14 +434,7 @@ _rtld_relocate_plt_object( dbg("fixup !main in %s --> %p", obj->path, (void *)*where); #endif } else { -#ifdef __i386__ - new_value = *where + (Elf_Addr) (obj->relocbase); -#ifdef RTLD_DEBUG_RELOC - dbg("fixup main in %s --> %p", obj->path, (void *)*where); -#endif -#else return 0; -#endif } /* * Since this page is probably copy-on-write, let's not write |
