public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a520fe
)
sdldz80: only bank the code if the -r option is used
author
Alan Cox
<alan@linux.intel.com>
Thu, 1 Jan 2015 14:55:50 +0000
(14:55 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 1 Jan 2015 14:55:50 +0000
(14:55 +0000)
This allows life to continue as normal for most platforms
Kernel/tools/bankld/lkrloc3.c
patch
|
blob
|
history
diff --git
a/Kernel/tools/bankld/lkrloc3.c
b/Kernel/tools/bankld/lkrloc3.c
index
033057f
..
f8e7bb8
100644
(file)
--- a/
Kernel/tools/bankld/lkrloc3.c
+++ b/
Kernel/tools/bankld/lkrloc3.c
@@
-171,6
+171,10
@@
static int bankmagic(struct areax *ax)
{
struct area *a = ax->a_bap;
int c;
+
+ /* Not banked */
+ if (rflag == 0)
+ return 0;
/* Hack: fix me up */
if (strcmp(a->a_id, "_FONT") == 0)