Module Name: src
Committed By: christos
Date: Wed Aug 25 16:23:23 UTC 2010
Modified Files:
src/sys/lib/libsa: loadfile.h
Log Message:
Add a new LOAD_MINIMAL flag to avoid loading sections that might seek backwards
and are not really needed like the note and the symbol section.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/lib/libsa/loadfile.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libsa/loadfile.h
diff -u src/sys/lib/libsa/loadfile.h:1.10 src/sys/lib/libsa/loadfile.h:1.11
--- src/sys/lib/libsa/loadfile.h:1.10 Thu Sep 25 16:59:38 2008
+++ src/sys/lib/libsa/loadfile.h Wed Aug 25 12:23:23 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: loadfile.h,v 1.10 2008/09/25 20:59:38 christos Exp $ */
+/* $NetBSD: loadfile.h,v 1.11 2010/08/25 16:23:23 christos Exp $ */
/*-
* Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -51,6 +51,7 @@
#define LOAD_HDR 0x0020
#define LOAD_NOTE 0x0040
#define LOAD_ALL 0x007f
+#define LOAD_MINIMAL 0x002f
#define COUNT_TEXT 0x0100
#define COUNT_TEXTA 0x0200