diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2002-07-12 20:18:31 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2002-07-12 20:18:31 +0000 |
commit | 80402e9cf360236b13306bcaf6d797f76f687dba (patch) | |
tree | cd26d9d127539c446450d138a3b7dafe8da253f5 /libexec/ld.so/mips | |
parent | 5865d6a998391648e294e7a7d4670166fb810364 (diff) |
Change ld.so search order/method to match the a.out ld.so.
run destructors on dlclose()
Move more symbols into _dl_ private space, so that the proper (libc)
version of the function will be used.
Add readdir() functionality to perform the proper library searching.
Support DL_PRELOAD
Do not relocate symbols if ld.so is being traced (and will exit).
Misc lint cleanup.
ok art@
Diffstat (limited to 'libexec/ld.so/mips')
-rw-r--r-- | libexec/ld.so/mips/syscall.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libexec/ld.so/mips/syscall.h b/libexec/ld.so/mips/syscall.h index 216c72e0da6..896fd7efe67 100644 --- a/libexec/ld.so/mips/syscall.h +++ b/libexec/ld.so/mips/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.5 2002/07/07 08:54:50 jufi Exp $ */ +/* $OpenBSD: syscall.h,v 1.6 2002/07/12 20:18:30 drahn Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -34,9 +34,7 @@ #ifndef __DL_SYSCALL_H__ #define __DL_SYSCALL_H__ -#ifdef USE_CACHE #include <sys/stat.h> -#endif #include <sys/syscall.h> @@ -210,7 +208,6 @@ _dl_mprotect (const void *addr, int size, int prot) return status; } -#ifdef USE_CACHE extern inline int _dl_stat (const char *addr, struct stat *sb) { @@ -226,8 +223,6 @@ _dl_stat (const char *addr, struct stat *sb) return status; } -#endif - /* * Not an actual syscall, but we need something in assembly to say * whether this is OK or not. |