Annotation of lucent/sys/src/libmach/obj.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * obj.h -- defs for dealing with object files
                      3:  */
                      4: 
                      5: typedef enum Kind              /* variable defs and references in obj */
                      6: {
                      7:        aNone,                  /* we don't care about this prog */
                      8:        aName,                  /* introduces a name */
                      9:        aText,                  /* starts a function */
                     10:        aData,                  /* references to a global object */
                     11: } Kind;
                     12: 
                     13: typedef struct Prog    Prog;
                     14: 
                     15: struct Prog            /* info from .$O files */
                     16: {
                     17:        Kind    kind;           /* what kind of symbol */
                     18:        char    type;           /* type of the symbol: ie, 'T', 'a', etc. */
                     19:        char    sym;            /* index of symbol's name */
                     20:        char    *id;            /* name for the symbol, if it introduces one */
                     21: };
                     22: 
                     23: #define UNKNOWN        '?'
                     24: void           _offset(int, long);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.