-#if 0 /* This lookup table is slower than lots of explicit tests, at
- least on the i386. One advantage is that the compiler can
- eliminate duplicates from the code, whereas they can't easily
- be eliminated from the lookup table. */
-
-#define __define_name(CODE, STRING) {(int)CODE, STRING},
- static const struct {
- int code;
- char string[7];
- } aout_stab_names[] = {
-#include "aout/stab.def"
- EXTRA_SYMBOLS
- };
- register int i = sizeof (aout_stab_names) / sizeof (aout_stab_names[0]);
- while (--i >= 0)
- if (aout_stab_names[i].code == code)
- return aout_stab_names[i].string;
-
-#else
-
-#define __define_name(val, str) if (val == code) return str ;