#include <sys/types.h>
#include <string.h>
#include "elf.h"

typedef struct ldLibrary_s {
  struct ldLibrary_s *next;
  struct ldLibrary_s *prev;
  char              name[256];       
  elfHeader        *linkerHeader;
  elfSectionHeader *linkerSectionHeader;
  elfProgramHeader *linkerProgramHeader;
  elfDynSym        *linkerRelSymTab;
  elfPltInfo       *linkerElfRel;
  char             *linkerShStr;
  char             *linkerDynStr;
  char             *output;
  int               sym;
  } ldLibrary;

extern ldLibrary *libs;

uInt32 ldFindFunc(const char *,const char *);
ldLibrary *ldFindLibrary(const char *);
ldLibrary *ldAddLibrary(const char *);

/***
 $Log$
 Revision 1.1.1.1  2005/09/26 17:14:01  reddawg
 no message

 Revision 1.4  2004/06/17 14:10:34  reddawg
 Fixed some potential problems

 Revision 1.3  2004/06/17 02:58:49  reddawg
 Cleaned Out Dead Code

 Revision 1.2  2004/06/17 01:52:54  reddawg
 Maybe?

 Revision 1.1  2004/06/16 23:11:34  reddawg
 ld.so: now adds librarys it is a little more efficient does the lazy binding

 END
 ***/

