public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38aef93
)
binprep: hook the binmunge extensions up, move the analyzer into the other path
author
Alan Cox
<alan@linux.intel.com>
Thu, 1 Jan 2015 14:54:55 +0000
(14:54 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 1 Jan 2015 14:54:55 +0000
(14:54 +0000)
Needless to say the analyzer gets completely confused when facing a banked
binary
Kernel/tools/binprep
patch
|
blob
|
history
diff --git
a/Kernel/tools/binprep
b/Kernel/tools/binprep
index
974bd4a
..
d815dd6
100755
(executable)
--- a/
Kernel/tools/binprep
+++ b/
Kernel/tools/binprep
@@
-1,8
+1,11
@@
#!/bin/sh
tools/bihx fuzix.ihx
if grep -q _STUBS fuzix.map ; then
- tools/bmunge
+ BASE=`grep "s__STUBS " fuzix.map |cut -b10-13`
+ LEN=`grep "l__STUBS " fuzix.map |cut -b10-13`
+ tools/binmunge $BASE-$LEN
else
+ tools/analysemap <fuzix.map
makebin -s 65536 -p common.ihx >fuzix.tmp
tools/binman fuzix.tmp fuzix.map fuzix.bin
fi