* Rename cle_upd_reloc to cle_write_reloc and changed first arg to

point to position to be updated.

* Factor cle.c into multiple files.
This commit is contained in:
bg- 2007-04-26 13:37:28 +00:00
parent cf14e47a0f
commit 9f106aa6fc
5 changed files with 251 additions and 149 deletions

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)$Id: cle.h,v 1.4 2007/04/26 12:53:49 bg- Exp $
* @(#)$Id: cle.h,v 1.5 2007/04/26 13:37:41 bg- Exp $
*/
#ifndef CLE_H
@ -90,6 +90,10 @@ cle_lookup(struct cle_info *info,
off_t hdr, /* Offset to start of file. */
const char *symbol);
struct elf32_rela; /* Struct forward decl. */
int cle_write_reloc(unsigned char *, const struct elf32_rela *, cle_addr);
/*
* Error codes that apply in general to linking and loading.
*/