summaryrefslogtreecommitdiffstats
path: root/usr.sbin/crunch
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-24 06:30:07 +0000
committerru <ru@FreeBSD.org>2002-05-24 06:30:07 +0000
commited8807039886f62ef4afb16afa15fd0565b06551 (patch)
tree9b483b04b9ca91afd07b303b99da58229ecaa31b /usr.sbin/crunch
parent3d4d4bf6526b7c0ba67d8d3ee6b5d80604b66dee (diff)
downloadFreeBSD-src-ed8807039886f62ef4afb16afa15fd0565b06551.zip
FreeBSD-src-ed8807039886f62ef4afb16afa15fd0565b06551.tar.gz
Removed dead code.
Diffstat (limited to 'usr.sbin/crunch')
-rw-r--r--usr.sbin/crunch/crunchide/exec_aout.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/usr.sbin/crunch/crunchide/exec_aout.c b/usr.sbin/crunch/crunchide/exec_aout.c
index 7122994..1300efd 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);
OpenPOWER on IntegriCloud