diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib9/getcallerpc-mips.c | 8 | ||||
-rw-r--r-- | src/libmp/mips/mkfile | 4 | ||||
-rw-r--r-- | src/libsec/mips/mkfile | 4 | ||||
-rw-r--r-- | src/mkhdr | 1 |
4 files changed, 17 insertions, 0 deletions
diff --git a/src/lib9/getcallerpc-mips.c b/src/lib9/getcallerpc-mips.c new file mode 100644 index 00000000..9bb4a955 --- /dev/null +++ b/src/lib9/getcallerpc-mips.c @@ -0,0 +1,8 @@ +#include <lib9.h> + +ulong +getcallerpc(void *x) +{ + return ((ulong*)x)[-2]; +} + diff --git a/src/libmp/mips/mkfile b/src/libmp/mips/mkfile new file mode 100644 index 00000000..43a4662b --- /dev/null +++ b/src/libmp/mips/mkfile @@ -0,0 +1,4 @@ +all: + +%:V: + # nothing to see here diff --git a/src/libsec/mips/mkfile b/src/libsec/mips/mkfile new file mode 100644 index 00000000..43a4662b --- /dev/null +++ b/src/libsec/mips/mkfile @@ -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;.*Power.Macintosh.*;power;g; s;.*macppc.*;power;g; + s;.*mips.*;mips;g; s;.*ppc64.*;power;g; s;.*ppc.*;power;g; s;.*alpha.*;alpha;g; |