diff options
Diffstat (limited to 'libexec/ld.so/loader.c')
-rw-r--r-- | libexec/ld.so/loader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/loader.c b/libexec/ld.so/loader.c index a91e7515326..19e347a3238 100644 --- a/libexec/ld.so/loader.c +++ b/libexec/ld.so/loader.c @@ -1,4 +1,4 @@ -/* $OpenBSD: loader.c,v 1.41 2002/07/24 04:11:10 deraadt Exp $ */ +/* $OpenBSD: loader.c,v 1.42 2002/07/27 13:19:26 art Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -347,7 +347,7 @@ _dl_boot_bind(const long sp, long loff, Elf_Dyn *dynamicp, long *dl_data) continue; dl_data[auxstack->au_id] = auxstack->au_v; } -#ifdef __sparc64__ +#if defined(__sparc64__) || defined(__sparc__) loff = dl_data[AUX_base]; #endif @@ -359,7 +359,7 @@ _dl_boot_bind(const long sp, long loff, Elf_Dyn *dynamicp, long *dl_data) * Cache the data for easier access. */ -#if defined(__sparc64__) +#if defined(__sparc64__) || defined(__sparc__) dynp = (Elf_Dyn *)((long)_DYNAMIC + loff); #elif defined(__powerpc__) || defined(__alpha__) dynp = dynamicp; |