Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/arch/sparc/stand/ofwboot Pullup rev 1.4 (requested ...
details: https://anonhg.NetBSD.org/src/rev/b4b657d7048e
branches: netbsd-1-6
changeset: 531321:b4b657d7048e
user: jmc <jmc%NetBSD.org@localhost>
date: Thu May 06 04:34:01 2004 +0000
description:
Pullup rev 1.4 (requested by martin in ticket #1684)
Allow hyphen in kernel names.
When calculating the allocated symbol table size, round up the section
sizes with ELF_ALIGN(). PR#13429 PR#18691 PR#25429
diffstat:
sys/arch/sparc/stand/ofwboot/elfXX_exec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c603229c4de0 -r b4b657d7048e sys/arch/sparc/stand/ofwboot/elfXX_exec.c
--- a/sys/arch/sparc/stand/ofwboot/elfXX_exec.c Thu May 06 04:33:58 2004 +0000
+++ b/sys/arch/sparc/stand/ofwboot/elfXX_exec.c Thu May 06 04:34:01 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elfXX_exec.c,v 1.3 2001/08/30 23:00:19 eeh Exp $ */
+/* $NetBSD: elfXX_exec.c,v 1.3.16.1 2004/05/06 04:34:01 jmc Exp $ */
/*
* Copyright (c) 1998-2000 Eduardo Horvath. All rights reserved.
@@ -150,7 +150,7 @@
shp->sh_type = SHT_NOBITS;
continue;
}
- size += shp->sh_size;
+ size += ELF_ALIGN(shp->sh_size);
}
shp = addr;
Home |
Main Index |
Thread Index |
Old Index