Add .REF control command implementation.
This commit is contained in:
parent
f3663b8d2e
commit
e9a72b2462
1 changed files with 13 additions and 1 deletions
|
@ -1730,6 +1730,18 @@ static void DoPushSeg (void)
|
|||
|
||||
|
||||
|
||||
static void DoReferenced (void)
|
||||
/* Mark given symbol as referenced */
|
||||
{
|
||||
SymEntry* Sym = ParseAnySymName (SYM_ALLOC_NEW);
|
||||
if (Sym)
|
||||
{
|
||||
SymRef (Sym);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void DoReloc (void)
|
||||
/* Enter relocatable mode */
|
||||
{
|
||||
|
@ -2153,7 +2165,7 @@ static CtrlDesc CtrlCmdTab [] = {
|
|||
{ ccNone, DoPushCharmap },
|
||||
{ ccNone, DoPushCPU },
|
||||
{ ccNone, DoPushSeg },
|
||||
{ ccNone, DoUnexpected }, /* .REFERENCED */
|
||||
{ ccNone, DoReferenced }, /* .REFERENCED */
|
||||
{ ccNone, DoReloc },
|
||||
{ ccNone, DoRepeat },
|
||||
{ ccNone, DoRes },
|
||||
|
|
Loading…
Add table
Reference in a new issue