posix-arm: new directory, with tas.c from Skip Tavakkolian
R=rsc http://codereview.appspot.com/6408043
This commit is contained in:
8
posix-arm/getcallerpc.c
Normal file
8
posix-arm/getcallerpc.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "u.h"
|
||||
#include "libc.h"
|
||||
|
||||
uintptr
|
||||
getcallerpc(void *a)
|
||||
{
|
||||
return ((uintptr*)a)[-1];
|
||||
}
|
Reference in New Issue
Block a user