summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-01-12 20:16:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-01-12 20:16:20 +0000
commitce6489f66278fcd851690f9a6555675d386b07d6 (patch)
tree599b6ded406dc27cd88aaab265b4f1bdf27ecca0
parent5a47c54f478e1337835b80df336c58cad32fbbd2 (diff)
Do not force the section header to SHT_NOBITS for non-symbol sections;
crank bootloader version.
-rw-r--r--sys/arch/sparc64/stand/ofwboot/elfXX_exec.c3
-rw-r--r--sys/arch/sparc64/stand/ofwboot/version2
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/stand/ofwboot/elfXX_exec.c b/sys/arch/sparc64/stand/ofwboot/elfXX_exec.c
index ed587d5dfe7..b262d45c00c 100644
--- a/sys/arch/sparc64/stand/ofwboot/elfXX_exec.c
+++ b/sys/arch/sparc64/stand/ofwboot/elfXX_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elfXX_exec.c,v 1.5 2003/06/10 02:42:58 brad Exp $ */
+/* $OpenBSD: elfXX_exec.c,v 1.6 2007/01/12 20:16:19 miod Exp $ */
/* $NetBSD: elfXX_exec.c,v 1.2 2001/08/15 20:08:15 eeh Exp $ */
/*
@@ -142,7 +142,6 @@ CAT3(elf, ELFSIZE, _exec)(fd, elf, entryp, ssymp, esymp)
if (shp->sh_type != SHT_SYMTAB
&& shp->sh_type != SHT_STRTAB) {
shp->sh_offset = 0;
- shp->sh_type = SHT_NOBITS;
continue;
}
size += shp->sh_size;
diff --git a/sys/arch/sparc64/stand/ofwboot/version b/sys/arch/sparc64/stand/ofwboot/version
index b8626c4cff2..7ed6ff82de6 100644
--- a/sys/arch/sparc64/stand/ofwboot/version
+++ b/sys/arch/sparc64/stand/ofwboot/version
@@ -1 +1 @@
-4
+5