summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-07-17 20:44:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-07-17 20:44:40 +0000
commitaba0113c9ef5a6d311181b887ed1eacc7123c325 (patch)
tree14a09f0e4d2a09a48909489740f27c4f955b97d5 /sys/lib
parenta5e5e1590c0e259df0e4e626a0e98530574f807b (diff)
Remove {LOAD,COUNT}_TEXTA from libsa loadfile, it only made sense for a.out
kernels and we no longer have any.
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libsa/loadfile.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/lib/libsa/loadfile.h b/sys/lib/libsa/loadfile.h
index 8cac6af5349..48771b763bf 100644
--- a/sys/lib/libsa/loadfile.h
+++ b/sys/lib/libsa/loadfile.h
@@ -1,5 +1,5 @@
/* $NetBSD: loadfile.h,v 1.1 1999/04/28 09:08:50 christos Exp $ */
-/* $OpenBSD: loadfile.h,v 1.4 2015/05/19 20:39:12 miod Exp $ */
+/* $OpenBSD: loadfile.h,v 1.5 2015/07/17 20:44:39 miod Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -46,22 +46,20 @@
* Bit flags for sections to load
*/
#define LOAD_TEXT 0x0001
-#define LOAD_TEXTA 0x0002
#define LOAD_DATA 0x0004
#define LOAD_BSS 0x0008
#define LOAD_SYM 0x0010
#define LOAD_HDR 0x0020
#define LOAD_RANDOM 0x0040
-#define LOAD_ALL 0x007f
+#define LOAD_ALL 0x007d
#define COUNT_TEXT 0x0100
-#define COUNT_TEXTA 0x0200
#define COUNT_DATA 0x0400
#define COUNT_BSS 0x0800
#define COUNT_SYM 0x1000
#define COUNT_HDR 0x2000
#define COUNT_RANDOM 0x4000
-#define COUNT_ALL 0x7f00
+#define COUNT_ALL 0x7d00
int loadfile(const char *, u_long *, int);