Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
rld_interface.h File Reference
#include <elf.h>
Include dependency graph for rld_interface.h:

Go to the source code of this file.

Classes

struct  Dl_info

Defines

#define _RLD_OP_NONE   0 /* nop */
#define _RLD_OP_INSERT   1 /* insert new object 'name' */
#define _RLD_OP_ADD   2 /* add new object 'name' after */
#define _RLD_OP_DELETE   3 /* delete element */
#define _RLD_OP_REPLACE   4 /* replace element with new */
#define _SHUT_DOWN   0 /* execute all .fini sections */
#define _RLD_FIRST_PATHNAME   1 /* get to the first obj on the list */
#define _RLD_NEXT_PATHNAME   2 /* get to the next obj on the list */
#define _RLD_MODIFY_LIST   3 /* modify the current obj list */
#define _RLD_ADDR_TO_NAME   4 /* get global symbol name */
#define _RLD_NAME_TO_ADDR   5 /* get address of global symbol */
#define _RLD_LIBDL_INTERFACE   6 /* libdl simulation */
#define _RLD_VERSION_EXPECTED   7 /* get version string */
#define _RLD_SPROC_NOTIFY   8 /* tell rld that it needs to use */
#define _RLD_DSO_VERSION   9 /* get the version of a certain dso */
#define _RLD_SHUTDOWN_THREAD   10 /* when any thread calls "exit", */
#define _RLD_SPROC_FINI   11 /* when we are no longer */
#define _RLD_PTHREADS_START   12 /* pthreads initialization */
#define _RLD_NOP   13 /* Does nothing. */
#define _RLD_DLADDR   14 /* for dladdr(), returning */
#define _LIBDL_RLD_DLOPEN   0
#define _LIBDL_RLD_DLSYM   1
#define _LIBDL_RLD_DLCLOSE   2
#define _LIBDL_RLD_DLERROR   3
#define _LIBDL_SGI_RLD_DLADD   4
#define _LIBDL_RLD_DLOPEN_VERSION   5
#define _LIBDL_SGI_LIBLIST_DL_ADD   6
#define _LIBDL_SGI_LIBLIST_DL_OPEN   7
#define _LIBDL_RLD_MAX_CODE   7
#define _RLD_INTERFACE_DLFCN_H_DLADDR

Functions

char * _rld_first_pathname (void)
char * _rld_next_pathname (void)
char * _rld_modify_list (Elf32_Word operation, char *original_pathname, char *name)
char * _rld_address_to_name (Elf32_Addr address)
Elf32_Addr _rld_name_to_address (char *name)
int _rld_interface (Elf32_Word operation)
void * _rld_new_interface (Elf32_Word operation,...)
void * __rld_libdl_interface (int what, unsigned long arg1, unsigned long arg2, unsigned long arg3, unsigned long arg4)

Define Documentation

#define _LIBDL_RLD_DLCLOSE   2

Definition at line 122 of file rld_interface.h.

#define _LIBDL_RLD_DLERROR   3

Definition at line 123 of file rld_interface.h.

#define _LIBDL_RLD_DLOPEN   0

Definition at line 120 of file rld_interface.h.

#define _LIBDL_RLD_DLOPEN_VERSION   5

Definition at line 125 of file rld_interface.h.

#define _LIBDL_RLD_DLSYM   1

Definition at line 121 of file rld_interface.h.

#define _LIBDL_RLD_MAX_CODE   7

Definition at line 144 of file rld_interface.h.

#define _LIBDL_SGI_LIBLIST_DL_ADD   6

Definition at line 130 of file rld_interface.h.

Definition at line 136 of file rld_interface.h.

#define _LIBDL_SGI_RLD_DLADD   4

Definition at line 124 of file rld_interface.h.

#define _RLD_ADDR_TO_NAME   4 /* get global symbol name */

Definition at line 81 of file rld_interface.h.

#define _RLD_DLADDR   14 /* for dladdr(), returning */

Definition at line 114 of file rld_interface.h.

#define _RLD_DSO_VERSION   9 /* get the version of a certain dso */

Definition at line 98 of file rld_interface.h.

#define _RLD_FIRST_PATHNAME   1 /* get to the first obj on the list */

Definition at line 77 of file rld_interface.h.

Definition at line 213 of file rld_interface.h.

#define _RLD_LIBDL_INTERFACE   6 /* libdl simulation */

Definition at line 93 of file rld_interface.h.

#define _RLD_MODIFY_LIST   3 /* modify the current obj list */

Definition at line 79 of file rld_interface.h.

#define _RLD_NAME_TO_ADDR   5 /* get address of global symbol */

Definition at line 89 of file rld_interface.h.

#define _RLD_NEXT_PATHNAME   2 /* get to the next obj on the list */

Definition at line 78 of file rld_interface.h.

#define _RLD_NOP   13 /* Does nothing. */

Definition at line 107 of file rld_interface.h.

#define _RLD_OP_ADD   2 /* add new object 'name' after */

Definition at line 65 of file rld_interface.h.

#define _RLD_OP_DELETE   3 /* delete element */

Definition at line 68 of file rld_interface.h.

#define _RLD_OP_INSERT   1 /* insert new object 'name' */

Definition at line 60 of file rld_interface.h.

#define _RLD_OP_NONE   0 /* nop */

Definition at line 58 of file rld_interface.h.

#define _RLD_OP_REPLACE   4 /* replace element with new */

Definition at line 70 of file rld_interface.h.

#define _RLD_PTHREADS_START   12 /* pthreads initialization */

Definition at line 104 of file rld_interface.h.

#define _RLD_SHUTDOWN_THREAD   10 /* when any thread calls "exit", */

Definition at line 99 of file rld_interface.h.

#define _RLD_SPROC_FINI   11 /* when we are no longer */

Definition at line 101 of file rld_interface.h.

#define _RLD_SPROC_NOTIFY   8 /* tell rld that it needs to use */

Definition at line 96 of file rld_interface.h.

#define _RLD_VERSION_EXPECTED   7 /* get version string */

Definition at line 94 of file rld_interface.h.

#define _SHUT_DOWN   0 /* execute all .fini sections */

Definition at line 76 of file rld_interface.h.


Function Documentation

void* __rld_libdl_interface ( int  what,
unsigned long  arg1,
unsigned long  arg2,
unsigned long  arg3,
unsigned long  arg4 
)
char* _rld_address_to_name ( Elf32_Addr  address)
char* _rld_first_pathname ( void  )
int _rld_interface ( Elf32_Word  operation)
char* _rld_modify_list ( Elf32_Word  operation,
char *  original_pathname,
char *  name 
)
Elf32_Addr _rld_name_to_address ( char *  name)
void* _rld_new_interface ( Elf32_Word  operation,
  ... 
)
char* _rld_next_pathname ( void  )
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines