all: linux/mips port

Change-Id: I0af67bc44c7bb62a8e5a47eac597367f521f1c11
Reviewed-on: https://plan9port-review.googlesource.com/1210
Reviewed-by: Russ Cox <rsc@google.com>
This commit is contained in:
Aram Hăvărneanu 2015-03-19 13:13:13 +00:00 committed by Russ Cox
parent 0c2926638b
commit 37d81a2915
5 changed files with 18 additions and 0 deletions

1
dist/buildmk vendored
View file

@ -12,6 +12,7 @@ OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed '
s;.*PowerMacintosh.*;power;g;
s;.*Power.Macintosh.*;power;g;
s;.*macppc.*;power;g;
s;.*mips.*;mips;g;
s;.*ppc64.*;power;g;
s;.*ppc.*;power;g;
s;.*alpha.*;alpha;g;

View file

@ -0,0 +1,8 @@
#include <lib9.h>
ulong
getcallerpc(void *x)
{
return ((ulong*)x)[-2];
}

4
src/libmp/mips/mkfile Normal file
View file

@ -0,0 +1,4 @@
all:
%:V:
# nothing to see here

4
src/libsec/mips/mkfile Normal file
View file

@ -0,0 +1,4 @@
all:
%:V:
# nothing to see here

View file

@ -10,6 +10,7 @@ OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed '
s;.*PowerMacintosh.*;power;g;
s;.*Power.Macintosh.*;power;g;
s;.*macppc.*;power;g;
s;.*mips.*;mips;g;
s;.*ppc64.*;power;g;
s;.*ppc.*;power;g;
s;.*alpha.*;alpha;g;