summaryrefslogtreecommitdiffstats
path: root/sys/sys/linker.h
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-01-25 08:42:24 +0000
committerdfr <dfr@FreeBSD.org>1999-01-25 08:42:24 +0000
commitd58f08f33fcaeae672848d0b3824d05303a50b81 (patch)
tree8f3fd371edf337752b5612724f44e12b1a16f3c5 /sys/sys/linker.h
parent924db72bc603c361cd9ee1dd36e5d5c83aa2a900 (diff)
downloadFreeBSD-src-d58f08f33fcaeae672848d0b3824d05303a50b81.zip
FreeBSD-src-d58f08f33fcaeae672848d0b3824d05303a50b81.tar.gz
Don't try to call SYSUNINIT functions if there was a link error.
Reviewed by: Peter Wemm <peter@netplex.com.au>
Diffstat (limited to 'sys/sys/linker.h')
-rw-r--r--sys/sys/linker.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/linker.h b/sys/sys/linker.h
index 52536ee..2462a05 100644
--- a/sys/sys/linker.h
+++ b/sys/sys/linker.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: linker.h,v 1.10 1998/11/04 15:20:58 peter Exp $
+ * $Id: linker.h,v 1.11 1998/11/11 13:04:40 peter Exp $
*/
#ifndef _SYS_LINKER_H_
@@ -86,6 +86,8 @@ struct common_symbol {
struct linker_file {
int refs; /* reference count */
int userrefs; /* kldload(2) count */
+ int flags;
+#define LINKER_FILE_LINKED 0x1 /* file has been fully linked */
TAILQ_ENTRY(linker_file) link; /* list of all loaded files */
char* filename; /* file which was loaded */
int id; /* unique id */
OpenPOWER on IntegriCloud