1#include <stdio.h>23#include <scc/mach.h>45#include "libmach.h"67#include "elf/fun.h"8#include "coff32/fun.h"910static Symbol *(*ops[NFORMATS])(Obj *, int *, Symbol *) = {11 [COFF32] = coff32getsym,12 [ELF] = elfgetsym,13};1415Symbol *16getsym(Obj *obj, int *index, Symbol *sym)17{18 return (*ops[objfmt(obj)])(obj, index, sym);19}