calcrom: pad section size to word
This commit is contained in:
1 parent
4cad26157e
commit
44109583d8
1 file changed
+4
@@ -18,6 +18,10 @@ while (my $line = <$file>)
|
||||
my $section = $1;
|
||||
my $size = hex($2);
|
||||
my $dir = $3;
|
||||
if ($size & 3)
|
||||
{
|
||||
$size += 4 - ($size % 3);
|
||||
}
|
||||
|
||||
if ($section =~ /text/)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user