diff --git a/mach/sun2/cv/cv.c b/mach/sun2/cv/cv.c index 7d211b42e..cf075ab2e 100644 --- a/mach/sun2/cv/cv.c +++ b/mach/sun2/cv/cv.c @@ -592,6 +592,7 @@ emit_symtab() else M->name = outhead.oh_nchar + 3; /* pointer to nullbyte */ cvlong(&(M->name)); cvlong(&(M->value)); + cvshort(&(M->desc)); } writef(MACHnames, sizeof(struct sym), (long) outhead.oh_nname); free(MACHnames); diff --git a/mach/sun3/cv/cv.c b/mach/sun3/cv/cv.c index 7d211b42e..cf075ab2e 100644 --- a/mach/sun3/cv/cv.c +++ b/mach/sun3/cv/cv.c @@ -592,6 +592,7 @@ emit_symtab() else M->name = outhead.oh_nchar + 3; /* pointer to nullbyte */ cvlong(&(M->name)); cvlong(&(M->value)); + cvshort(&(M->desc)); } writef(MACHnames, sizeof(struct sym), (long) outhead.oh_nname); free(MACHnames);