Add .REF control command implementation.
This commit is contained in:
committed by
greg-king5
parent
f3663b8d2e
commit
e9a72b2462
@@ -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)
|
static void DoReloc (void)
|
||||||
/* Enter relocatable mode */
|
/* Enter relocatable mode */
|
||||||
{
|
{
|
||||||
@@ -2153,7 +2165,7 @@ static CtrlDesc CtrlCmdTab [] = {
|
|||||||
{ ccNone, DoPushCharmap },
|
{ ccNone, DoPushCharmap },
|
||||||
{ ccNone, DoPushCPU },
|
{ ccNone, DoPushCPU },
|
||||||
{ ccNone, DoPushSeg },
|
{ ccNone, DoPushSeg },
|
||||||
{ ccNone, DoUnexpected }, /* .REFERENCED */
|
{ ccNone, DoReferenced }, /* .REFERENCED */
|
||||||
{ ccNone, DoReloc },
|
{ ccNone, DoReloc },
|
||||||
{ ccNone, DoRepeat },
|
{ ccNone, DoRepeat },
|
||||||
{ ccNone, DoRes },
|
{ ccNone, DoRes },
|
||||||
|
|||||||
Reference in New Issue
Block a user