From: Alan Cox Date: Sun, 18 Feb 2018 00:32:17 +0000 (+0000) Subject: pdp11: set correct header type for binaries X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=14f69577d2f8a0936b7ac9705be4c638c7ad90c8;p=FUZIX.git pdp11: set correct header type for binaries We'll probably just go a.out but for now --- diff --git a/Kernel/cpu-pdp11/cpu.h b/Kernel/cpu-pdp11/cpu.h index 1d417045..961f92cf 100644 --- a/Kernel/cpu-pdp11/cpu.h +++ b/Kernel/cpu-pdp11/cpu.h @@ -23,8 +23,8 @@ typedef uint16_t uptr_t; /* User pointer equivalent */ /* FIXME: we actually want to use an a.out loader */ -#define EMAGIC 0x7E /* Header of executable (JMP) */ -#define EMAGIC_2 0x20 /* BRA */ +#define EMAGIC 0x01 /* Header of executable (BR) */ +#define EMAGIC_2 0x01 /* Only BR is recognized */ /* Allow a minimum of 512 bytes gap between stack and top of allocations */ #define brk_limit() (udata.u_syscall_sp - 512)