From 5e618ef5c8dd5c96213177031f899ef3f4765e4a Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Tue, 8 Sep 1998 09:47:35 +0000 Subject: [PATCH] Fix a cut&paste error which prevented LD_BIND_NOW from working. --- libexec/rtld-elf/alpha/reloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rtld-elf/alpha/reloc.c b/libexec/rtld-elf/alpha/reloc.c index e43b12a2db56..a2d37530d328 100644 --- a/libexec/rtld-elf/alpha/reloc.c +++ b/libexec/rtld-elf/alpha/reloc.c @@ -22,7 +22,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rtld.c,v 1.3 1998/05/01 08:39:27 dfr Exp $ + * $Id: reloc.c,v 1.1 1998/09/04 19:03:57 dfr Exp $ */ /* @@ -206,7 +206,7 @@ reloc_plt(Obj_Entry *obj, bool bind_now) if (bind_now) { /* Fully resolve procedure addresses now */ for (rela = obj->pltrela; obj->pltrela != NULL && rela < relalim; - rel++) { + rela++) { Elf_Addr *where = (Elf_Addr *) (obj->relocbase + rela->r_offset); const Elf_Sym *def;