Subject: CVS commit: syssrc/sys/lib/libsa
To: None <>
From: Ben Harris <>
List: source-changes
Date: 07/31/2001 22:20:29
Module Name:	syssrc
Committed By:	bjh21
Date:		Tue Jul 31 19:20:29 UTC 2001

Modified Files:
	syssrc/sys/lib/libsa: loadfile.c

Log Message:
When loading an ELF kernel, don't load all the STRTAB sections.  Instead, just
load those STRTAB sections that are referenced by a SYMTAB that we're loading.

The main advantage of this is that (at least with the binaries output by my
ARM ELF linker) this removes the need to seek backwards through the file, which
is a big win when loading a gzipped kernel.

While we're here, don't allocate space for string tables we don't load.

To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 syssrc/sys/lib/libsa/loadfile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.