From f72cc607a1bd473717bb13e6d22f191f64764383 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 19 Dec 1990 10:26:39 +0000 Subject: [PATCH] Correct byte order of 'desc' field --- mach/sun2/cv/cv.c | 1 + mach/sun3/cv/cv.c | 1 + 2 files changed, 2 insertions(+) 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);