This is the mail archive of the
sid-cvs@sources.redhat.com
mailing list for the SID project.
src/sid/component/loader ChangeLog Makefile.am ...
- From: brolley at sources dot redhat dot com
- To: sid-cvs at sources dot redhat dot com
- Date: 12 Feb 2004 20:30:08 -0000
- Subject: src/sid/component/loader ChangeLog Makefile.am ...
CVSROOT: /cvs/src
Module name: src
Changes by: brolley@sourceware.org 2004-02-12 20:30:08
Modified files:
sid/component/loader: ChangeLog Makefile.am Makefile.in
compLoader.cxx elfload.c elfload.h
Log message:
2004-02-12 Dave Brolley <brolley@redhat.com>
* elfload.h: Use 'unsigned long long' instead of host_int_8.
(struct TextSection): Moved here from elfload.c
(SHF_EXECINSTR): New macro.
* elfload.c (loadAreas): Now a pointer to a dynamically allocated
table.
(textSections): Ditto.
(newLoadArea): New static function.
(newTextSection): Ditto.
(textSectionAddress): Now takes a pointer to a section table.
(readElfFile): fileHeader, psymHdr, secHdr now automatic arrays.
Allocate loadAreas and textSections as required. Build textSections
from the ELF section table; one for each executable loaded.
* compLoader.cxx (sid::host_int_8): Add 'using' clause.
(textSegmentAddress): renamed to textSectionAddress and moved to
elfload.h.
(setSection_table): New method of loader_probe_bus.
(SID_GB_WRITE): Call textSectionAddress and pass section_table.
(section_table): New member of loader_probe_bus.
(load_it): Get section_table address from readElfFile.
* Makefile.am (LIBIBERTY): New variable.
(libloader_la_LIBADD): Add $(LIBIBERTY).
* Makefile.in: Regenerated.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/loader/ChangeLog.diff?cvsroot=src&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/loader/Makefile.am.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/loader/Makefile.in.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/loader/compLoader.cxx.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/loader/elfload.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sid/component/loader/elfload.h.diff?cvsroot=src&r1=1.3&r2=1.4