mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
mkinfo: Make memory size computation more accurate
* imx233 had disjoint memory map * hosted binaries not computing start address properly Change-Id: Ia45571e0c41f07f1d4f34f6e1a0067dcac530148
This commit is contained in:
parent
058ba97f62
commit
df14f12675
1 changed files with 6 additions and 0 deletions
|
@ -55,6 +55,12 @@ sub mapscan {
|
||||||
elsif($_ =~ / +0x([0-9a-f]+) *_loadaddress = \./) {
|
elsif($_ =~ / +0x([0-9a-f]+) *_loadaddress = \./) {
|
||||||
$start = $1;
|
$start = $1;
|
||||||
}
|
}
|
||||||
|
elsif($_ =~ / +0x([0-9a-f]+) *_dramcopystart = \./) {
|
||||||
|
$start = $1;
|
||||||
|
}
|
||||||
|
elsif($_ =~ / +0x([0-9a-f]+) *__start/) {
|
||||||
|
$start = $1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
close(M);
|
close(M);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue