add directory Linux-0.98

This commit is contained in:
gohigh
2024-02-19 00:21:16 -05:00
parent 265896c4ae
commit 56596ada90
13765 changed files with 3471432 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#ifndef _SHAREDLIB_H
#define _SHAREDLIB_H
struct libentry
{
char *name;
char *avers;
unsigned addr;
unsigned vers;
};
#define QUOTED(x) #x
#define MAJOR_MASK 0x0fff0000
#define MINOR_MASK 0x0000ffff
#define VERSION_MASK 0x0fffffff
#define CLASSIC_BIT 0x10000000
#define data_set_element(set, symbol) \
asm(".stabs \"_" #set "\",24,0,0,_" QUOTED(symbol))
#endif