diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2018-12-21 15:12:00 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2018-12-21 15:12:00 +0000 |
| commit | f092bcd9be21a77f026a7c3227a920437d35b9e5 (patch) | |
| tree | fd953df2a342e9cf9313f23b98d46e927f3da258 /lib9/getcallerpc-NetBSD-386.S | |
| parent | 0195c4e25fc394097552c7f5ebf3085ec2d201f5 (diff) | |
| parent | af364d9265f84faf807f5db6b8db6936a92124c6 (diff) | |
Merged in nbuwe/inferno-os/NetBSD/powerpc (pull request #10)
NetBSD/powerpc
Approved-by: Charles Forsyth <charles.forsyth@gmail.com>
Diffstat (limited to 'lib9/getcallerpc-NetBSD-386.S')
| -rw-r--r-- | lib9/getcallerpc-NetBSD-386.S | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib9/getcallerpc-NetBSD-386.S b/lib9/getcallerpc-NetBSD-386.S index 09148627..08ea057e 100644 --- a/lib9/getcallerpc-NetBSD-386.S +++ b/lib9/getcallerpc-NetBSD-386.S @@ -1,8 +1,7 @@ - .file "getcallerpc-NetBSD-386.S" +#include <machine/asm.h> - .type getcallerpc,@function - .global getcallerpc -getcallerpc: +NENTRY(getcallerpc) movl 4(%esp), %eax movl -4(%eax), %eax ret + END(getcallerpc) |
