summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-01-01 16:20:05 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-01-01 16:20:05 +0000
commit7b576f244a78ec32c579a18a974aee0dbebff0c0 (patch)
tree817cac32244dd8b3729a2ad689872a03196eb10c /usr.sbin
parent2c10af84f298040f72c07d7e1e4c09f37e0cc41b (diff)
Make sure uextraloc ends up in .data so UKC works. OK deraadt@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/config/mkioconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c
index 067f0d6ff14..782d37ac99d 100644
--- a/usr.sbin/config/mkioconf.c
+++ b/usr.sbin/config/mkioconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkioconf.c,v 1.25 2004/01/04 18:30:05 deraadt Exp $ */
+/* $OpenBSD: mkioconf.c,v 1.26 2005/01/01 16:20:04 millert Exp $ */
/* $NetBSD: mkioconf.c,v 1.41 1996/11/11 14:18:49 mycroft Exp $ */
/*
@@ -186,7 +186,7 @@ static int loc[%d] = {", locators.used) < 0)
#endif\n\
int extraloc[MAXEXTRALOC] = { -1 };\n\
int nextraloc = MAXEXTRALOC;\n\
-int uextraloc = 0;\n") < 0);
+int uextraloc __attribute__((__section__(\"data\")));\n") < 0);
}
static int nlocnames, maxlocnames = 8;