home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / armlinux / alpha / PARTITIONS / USR_GZ / usr / include / sharedlib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-14  |  382 b   |  23 lines

  1. #ifndef _SHAREDLIB_H
  2. #define _SHAREDLIB_H
  3.  
  4. struct libentry
  5. {
  6.   char *name;
  7.   char *avers;
  8.   unsigned addr;
  9.   unsigned vers;
  10. };
  11.  
  12. #define QUOTED(x) #x
  13.  
  14. #define MAJOR_MASK        0x0fff0000
  15. #define MINOR_MASK        0x0000ffff
  16. #define VERSION_MASK        0x0fffffff
  17. #define CLASSIC_BIT        0x10000000
  18.  
  19. #define data_set_element(set, symbol)   \
  20.   asm(".stabs \"_" #set "\",24,0,0,_" QUOTED(symbol))
  21.  
  22. #endif
  23.