From 14f69577d2f8a0936b7ac9705be4c638c7ad90c8 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 18 Feb 2018 00:32:17 +0000 Subject: [PATCH] pdp11: set correct header type for binaries We'll probably just go a.out but for now --- Kernel/cpu-pdp11/cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.34.1