Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa Add a new LOAD_MINIMAL flag to avoid loading s...
details: https://anonhg.NetBSD.org/src/rev/5c4d76b5d7b4
branches: trunk
changeset: 757325:5c4d76b5d7b4
user: christos <christos%NetBSD.org@localhost>
date: Wed Aug 25 16:23:23 2010 +0000
description:
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.
diffstat:
sys/lib/libsa/loadfile.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 3a60b75ed996 -r 5c4d76b5d7b4 sys/lib/libsa/loadfile.h
--- a/sys/lib/libsa/loadfile.h Wed Aug 25 15:38:44 2010 +0000
+++ b/sys/lib/libsa/loadfile.h Wed Aug 25 16:23:23 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index