mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-25 19:56:30 +00:00
Minor update to psect flag processing
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user