diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-01-12 20:16:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-01-12 20:16:20 +0000 |
commit | ce6489f66278fcd851690f9a6555675d386b07d6 (patch) | |
tree | 599b6ded406dc27cd88aaab265b4f1bdf27ecca0 | |
parent | 5a47c54f478e1337835b80df336c58cad32fbbd2 (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.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/stand/ofwboot/version | 2 |
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 |