libmach: more alpha

This commit is contained in:
cinap_lenrek 2016-05-04 17:10:26 +02:00
parent 53c73dedec
commit fb790a51f4
2 changed files with 2 additions and 33 deletions

View file

@ -68,7 +68,6 @@ extern Mach mamd64;
extern Mach marm;
extern Mach mpower;
extern Mach mpower64;
extern Mach malpha;
ExecTable exectab[] =
{
@ -234,24 +233,6 @@ ExecTable exectab[] =
sizeof(Exec),
leswal,
armdotout },
{ L_MAGIC, /* alpha 7.out */
"alpha plan 9 executable",
"alpha plan 9 dlm",
FALPHA,
1,
&malpha,
sizeof(Exec),
beswal,
common },
{ 0x0700e0c3, /* alpha boot image */
"alpha plan 9 boot image",
nil,
FALPHA,
0,
&malpha,
sizeof(Exec),
beswal,
common },
{ 0 },
};
@ -394,12 +375,6 @@ commonboot(Fhdr *fp)
fp->name = "ARM plan 9 boot image";
fp->dataddr = _round(fp->txtaddr+fp->txtsz, mach->pgsize);
return;
case FALPHA:
fp->type = FALPHAB;
fp->txtaddr = (u32int)fp->entry;
fp->name = "alpha plan 9 boot image";
fp->dataddr = fp->txtaddr+fp->txtsz;
break;
case FPOWER:
fp->type = FPOWERB;
fp->txtaddr = (u32int)fp->entry;

View file

@ -17,9 +17,9 @@ struct machtab
};
extern Mach mmips, msparc, m68020, mi386, mamd64,
marm, mmips2be, mmips2le, mpower, mpower64, malpha, msparc64;
marm, mmips2be, mmips2le, mpower, mpower64, msparc64;
extern Machdata mipsmach, mipsmachle, sparcmach, m68020mach, i386mach,
armmach, mipsmach2le, powermach, alphamach, sparc64mach;
armmach, mipsmach2le, powermach, sparc64mach;
/*
* machine selection table. machines with native disassemblers should
@ -118,12 +118,6 @@ Machtab machines[] =
APOWER64,
&mpower64,
&powermach, },
{ "alpha", /*Alpha*/
FALPHA,
FALPHAB,
AALPHA,
&malpha,
&alphamach, },
{ "sparc64", /*plan 9 sparc64 */
FSPARC64,
FSPARCB, /* XXX? */