SCCS-vsn: old/as.vax/assyms.c 4.6
SCCS-vsn: old/as.vax/as.h 4.8
/* Copyright (c) 1980 Regents of the University of California */
/* Copyright (c) 1980 Regents of the University of California */
-/* "@(#)as.h 4.7 %G%" */
+/* "@(#)as.h 4.8 %G%" */
#ifdef VMS
# define vax 1
# define VAX 1
#ifdef VMS
# define vax 1
# define VAX 1
# include <a.out.h>
# include <stab.h>
#else not FLEXNAMES
# include <a.out.h>
# include <stab.h>
#else not FLEXNAMES
+# define ONLIST
+# include "a.out.h"
# include <stab.h>
#endif FLEXNAMES
# include <stab.h>
#endif FLEXNAMES
struct instab{
struct nlist s_nm; /* instruction name, type (opcode) */
u_char s_tag;
struct instab{
struct nlist s_nm; /* instruction name, type (opcode) */
u_char s_tag;
+ char s_pad[3]; /* round to 20 bytes */
};
/*
* The fields nm.n_desc and nm.n_value total 6 bytes; this is
};
/*
* The fields nm.n_desc and nm.n_value total 6 bytes; this is
* they are allocated adjacently.
* IF THE FORMAT OF STRUCT nlist CHANGES, THESE MAY HAVE TO BE CHANGED.
*
* they are allocated adjacently.
* IF THE FORMAT OF STRUCT nlist CHANGES, THESE MAY HAVE TO BE CHANGED.
*
- * Instab is cleverly declared to look very much the combination of
+ * Instab is cleverly declared to look very much like the combination of
* a struct symtab and a struct nlist.
*/
struct Instab{
* a struct symtab and a struct nlist.
*/
struct Instab{
char I_nargs;
char I_args[6];
u_char I_s_tag;
char I_nargs;
char I_args[6];
u_char I_s_tag;
+ char I_pad[3]; /* round to 20 bytes */
};
/*
* Redefinitions of fields in the struct nlist for instructions so that
};
/*
* Redefinitions of fields in the struct nlist for instructions so that
/* Copyright (c) 1980 Regents of the University of California */
/* Copyright (c) 1980 Regents of the University of California */
-static char sccsid[] = "@(#)assyms.c 4.5 %G%";
+static char sccsid[] = "@(#)assyms.c 4.6 %G%";
#include <stdio.h>
#include <ctype.h>
#include "as.h"
#include <stdio.h>
#include <ctype.h>
#include "as.h"
return(hp);
} /*end of lookup*/
return(hp);
} /*end of lookup*/
char *savestr(str)
char *str;
{
char *savestr(str)
char *str;
{
strplhead->str_nalloc += len;
return (res);
}
strplhead->str_nalloc += len;
return (res);
}
/*
* The relocation information is saved internally in an array of
/*
* The relocation information is saved internally in an array of