mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
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:
parent
0c2926638b
commit
37d81a2915
5 changed files with 18 additions and 0 deletions
1
dist/buildmk
vendored
1
dist/buildmk
vendored
|
@ -12,6 +12,7 @@ OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed '
|
||||||
s;.*PowerMacintosh.*;power;g;
|
s;.*PowerMacintosh.*;power;g;
|
||||||
s;.*Power.Macintosh.*;power;g;
|
s;.*Power.Macintosh.*;power;g;
|
||||||
s;.*macppc.*;power;g;
|
s;.*macppc.*;power;g;
|
||||||
|
s;.*mips.*;mips;g;
|
||||||
s;.*ppc64.*;power;g;
|
s;.*ppc64.*;power;g;
|
||||||
s;.*ppc.*;power;g;
|
s;.*ppc.*;power;g;
|
||||||
s;.*alpha.*;alpha;g;
|
s;.*alpha.*;alpha;g;
|
||||||
|
|
8
src/lib9/getcallerpc-mips.c
Normal file
8
src/lib9/getcallerpc-mips.c
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#include <lib9.h>
|
||||||
|
|
||||||
|
ulong
|
||||||
|
getcallerpc(void *x)
|
||||||
|
{
|
||||||
|
return ((ulong*)x)[-2];
|
||||||
|
}
|
||||||
|
|
4
src/libmp/mips/mkfile
Normal file
4
src/libmp/mips/mkfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
all:
|
||||||
|
|
||||||
|
%:V:
|
||||||
|
# nothing to see here
|
4
src/libsec/mips/mkfile
Normal file
4
src/libsec/mips/mkfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
all:
|
||||||
|
|
||||||
|
%:V:
|
||||||
|
# nothing to see here
|
|
@ -10,6 +10,7 @@ OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed '
|
||||||
s;.*PowerMacintosh.*;power;g;
|
s;.*PowerMacintosh.*;power;g;
|
||||||
s;.*Power.Macintosh.*;power;g;
|
s;.*Power.Macintosh.*;power;g;
|
||||||
s;.*macppc.*;power;g;
|
s;.*macppc.*;power;g;
|
||||||
|
s;.*mips.*;mips;g;
|
||||||
s;.*ppc64.*;power;g;
|
s;.*ppc64.*;power;g;
|
||||||
s;.*ppc.*;power;g;
|
s;.*ppc.*;power;g;
|
||||||
s;.*alpha.*;alpha;g;
|
s;.*alpha.*;alpha;g;
|
||||||
|
|
Loading…
Reference in a new issue