From 3bd69f1df94abeb557d494255ec66c6a5bf6a99d Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Wed, 2 Apr 2008 02:27:37 +0000 Subject: Use the proper define for this address, not a incorrect (on 64bit) define. ok kurt@ --- libexec/ld.so/library.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/ld.so/library.c b/libexec/ld.so/library.c index 75aaf29bd4f..d860a003c0e 100644 --- a/libexec/ld.so/library.c +++ b/libexec/ld.so/library.c @@ -1,4 +1,4 @@ -/* $OpenBSD: library.c,v 1.54 2006/05/08 20:34:36 deraadt Exp $ */ +/* $OpenBSD: library.c,v 1.55 2008/04/02 02:27:36 drahn Exp $ */ /* * Copyright (c) 2002 Dale Rahn @@ -79,7 +79,7 @@ _dl_tryload_shlib(const char *libname, int type, int flags) { int libfile, i, align = _dl_pagesz - 1; struct load_list *next_load, *load_list = NULL; - Elf_Addr maxva = 0, minva = 0x7fffffff; /* XXX Correct for 64bit? */ + Elf_Addr maxva = 0, minva = ELFDEFNNAME(NO_ADDR); Elf_Addr libaddr, loff; elf_object_t *object; char hbuf[4096]; -- cgit v1.2.3