From ccde2810d966e0016a2935aec6dd231e69697cfb Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 24 May 2002 06:30:07 +0000 Subject: [PATCH] Removed dead code. --- usr.sbin/crunch/crunchide/exec_aout.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/usr.sbin/crunch/crunchide/exec_aout.c b/usr.sbin/crunch/crunchide/exec_aout.c index 712299478380..1300efd251f8 100644 --- a/usr.sbin/crunch/crunchide/exec_aout.c +++ b/usr.sbin/crunch/crunchide/exec_aout.c @@ -57,17 +57,9 @@ struct nlist *symbase; #define IS_GLOBAL_DEFINED(sp) \ (((sp)->n_type & N_EXT) && ((sp)->n_type & N_TYPE) != N_UNDF) -#ifdef arch_sparc -/* is the relocation entry dependent on a symbol? */ -#define IS_SYMBOL_RELOC(rp) \ - ((rp)->r_extern || \ - ((rp)->r_type >= RELOC_BASE10 && (rp)->r_type <= RELOC_BASE22) || \ - (rp)->r_type == RELOC_JMP_TBL) -#else /* is the relocation entry dependent on a symbol? */ #define IS_SYMBOL_RELOC(rp) \ ((rp)->r_extern||(rp)->r_baserel||(rp)->r_jmptable) -#endif static void check_reloc(const char *filename, struct relocation_info *relp);