ref: 79dd4bd00f26488b4cb49b689878e9bd2c1711ad
dir: /src/libmach/coff32/coff32strip.c/
#include <stdio.h>
#include <stdlib.h>
#include <scc/mach.h>
#include "../libmach.h"
#include "coff32.h"
void
coff32strip(Obj *obj)
{
struct coff32 *coff = obj->data;
FILHDR *hdr;
hdr = &coff->hdr;
free(coff->ents);
coff->ents = NULL;
hdr->f_nsyms = 0;
hdr->f_symptr = 0;
}