Add the ctf_get method.

This commit is contained in:
John Birrell 2008-05-23 04:06:49 +00:00
parent 833b4a131a
commit 82c4945b5b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179231

View File

@ -95,6 +95,15 @@ METHOD void unload {
linker_file_t file;
};
#
# Load CTF data if necessary and if there is a .SUNW_ctf section
# in the ELF file, returning info in the linker CTF structure.
#
METHOD int ctf_get {
linker_file_t file;
linker_ctf_t *lc;
};
#
# Load a file, returning the new linker_file_t in *result. If
# the class does not recognise the file type, zero should be