This probably still needs work as ld later bombs on crunched objects, bu
at least it compiles and runs now.
return;
}
-
+#if !defined(__mips__) || !defined(__OpenBSD__)
/*
* Read the entire file into memory. XXX - Really, we only need to
* read the header and from TRELOFF to the end of the file.
}
close(inf);
+#endif
}
-
+#if !defined(__mips__) || !defined(__OpenBSD__)
void check_reloc(char *filename, struct relocation_info *relp)
{
/* bail out if we zapped a symbol that is needed */
exit(1);
}
}
+#endif