-extern struct exec_archhandler exec_archhandler_ppc;
-extern int set_archhandler(struct proc *p, int arch);
-extern int grade_binary(cpu_type_t exectype, cpu_subtype_t execsubtype);
-
-#if defined (__ppc__) || defined (__ppc64__)
-#include "ppc/exec.h"
-#elif defined (__i386__) || defined(__x86_64__)
-#include "i386/exec.h"
-#else
-#error architecture not supported
-#endif
-
+int grade_binary(cpu_type_t, cpu_subtype_t, bool allow_simulator_binary);
+boolean_t pie_required(cpu_type_t, cpu_subtype_t);