mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 23:36:03 +00:00
Minor update to psect flag processing
This commit is contained in:
parent
e7d126f682
commit
3d380827cb
@ -780,19 +780,19 @@ sub parse_rec ($$$) {
|
||||
if ($psect{$nam}{FLG}{CON}) {
|
||||
# concatenated
|
||||
warn sprintf("Warning: psect ABS,CON is not supported, psect='%s'\n", $psectname);
|
||||
} else {
|
||||
} elsif ($psect{$nam}{FLG}{OVR}) {
|
||||
# overlaid
|
||||
$psect{$nam}{LENGTH} = $val;
|
||||
$psect{$nam}{START} = 0;
|
||||
}
|
||||
} else {
|
||||
} elsif ($psect{$nam}{FLG}{REL}) {
|
||||
# relative
|
||||
if ($psect{$nam}{FLG}{CON}) {
|
||||
# concatenated
|
||||
$psect{$nam}{LENGTH} = $val;
|
||||
$psect{$nam}{START} = $psectaddr & 1 ? ++$psectaddr : $psectaddr;
|
||||
$psectaddr += $val;
|
||||
} else {
|
||||
} elsif ($psect{$nam}{FLG}{OVR}) {
|
||||
# overlaid
|
||||
warn sprintf("Warning: psect REL,OVR is not supported, psect='%s'\n", $psectname);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user