-
-struct instab{
- symfirstfields;
-
-#define opcode type /*use the same field as symtab.type*/
-
- char nargs; /*how many arguments*/
- char argtype[6]; /*argument type info*/
+/*
+ * Redefinitions of the fields in symtab for
+ * use when the symbol table entry marks a jxxx instruction.
+ */
+#define s_jxbump s_ptype /* tag == JX..., how far to expand */
+#define s_jxfear s_desc /* how far needs to be bumped */
+/*
+ * Redefinitions of fields in the struct nlist for symbols so that
+ * one saves typing, and so that they conform
+ * with the old naming conventions.
+ */
+#ifdef FLEXNAMES
+#define s_name s_nm.n_un.n_name /* name pointer */
+#define s_nmx s_nm.n_un.n_strx /* string table index */
+#else not FLEXNAMES
+#define s_name s_nm.n_name
+#endif
+#define s_type s_nm.n_type /* type of the symbol */
+#define s_other s_nm.n_other /* other information for sdb */
+#define s_desc s_nm.n_desc /* type descriptor */
+#define s_value s_nm.n_value /* value of the symbol, or sdb delta */
+
+struct instab{
+ struct nlist s_nm; /* instruction name, type (opcode) */
+ u_char s_tag;