Have MIDAS define the right constant area start symbol.
authorAdam Sampson <ats@offog.org>
Sat, 21 Apr 2018 23:33:03 +0000 (00:33 +0100)
committerAdam Sampson <ats@offog.org>
Sat, 21 Apr 2018 23:33:03 +0000 (00:33 +0100)
commit8bfd9169aa0e4ec24cc41684c46b5f7efe1eb200
tree1cc140ccce64da222bac92d0eebef250d5fdd6ef
parent7b287323744afbf07053e2673b2e15ce6f202db8
Have MIDAS define the right constant area start symbol.

When building MUDDLE, I was seeing various unresolved symbols of the
form "$   42". These are used by MIDAS when it wants to refer to
something in a CONSTANTS area, but doesn't know the location at assembly
time (for example, because it's the other side of a LOC X where X is a
global). At the start of a CONSTANTS area, MIDAS should define this
symbol as .; however, it was defining it with the wrong name.

There's a special case in RPWRD1 to output these symbols as squoze
rather than symbol table numbers -- but the code in CNST2 that defines
the symbol was using PDEFPT, which always outputs the number.
Modify it to output the squoze instead.
<mdl.int>/midas.323