asmlinker.h
mud++0.33/src/asmlinker.h · 1.2 KB
From the archive mud++0.33.tar.gz
Download the archive « Back to the archive contents
/*
....[@@@..[@@@..............[@.................. MUD++ is a written from
....[@..[@..[@..[@..[@..[@@@@@....[@......[@.... scratch multi-user swords and
....[@..[@..[@..[@..[@..[@..[@..[@@@@@..[@@@@@.. sorcery game written in C++.
....[@......[@..[@..[@..[@..[@....[@......[@.... This server is an ongoing
....[@......[@..[@@@@@..[@@@@@.................. development project. All
................................................ contributions are welcome.
....Copyright(C).1995.Melvin.Smith.............. Enjoy.
------------------------------------------------------------------------------
Melvin Smith (aka Fusion) msmith@hom.net
MUD++ development mailing list mudpp-list@mailhost.net
------------------------------------------------------------------------------
asmlinker.h
*/
#ifndef _ASMLINKER_H
#define _ASMLINKER_H
#include "io.h"
#include "asmobjfile.h"
typedef struct
{
int code_length;
int constants_length;
int constants_count;
int relocs_count;
} asmimageheader;
// I will later shape this class to aid in run-time linking
// For now just all at once link - Artur
class AsmLinker
{
protected:
int fake_variable;
public:
AsmLinker()
{
}
int link( char * imagename, int count, char * names[] );
};
#endif