public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6ae442
)
pdp11: set correct header type for binaries
author
Alan Cox
<alan@linux.intel.com>
Sun, 18 Feb 2018 00:32:17 +0000
(
00:32
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 18 Feb 2018 00:32:17 +0000
(
00:32
+0000)
We'll probably just go a.out but for now
Kernel/cpu-pdp11/cpu.h
patch
|
blob
|
history
diff --git
a/Kernel/cpu-pdp11/cpu.h
b/Kernel/cpu-pdp11/cpu.h
index
1d41704
..
961f92c
100644
(file)
--- 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 0x
7E /* Header of executable (JMP
) */
-#define EMAGIC_2 0x
20 /* BRA
*/
+#define EMAGIC 0x
01 /* Header of executable (BR
) */
+#define EMAGIC_2 0x
01 /* 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)