diff options
Diffstat (limited to 'lib9/getcallerpc-NetBSD-386.S')
| -rw-r--r-- | lib9/getcallerpc-NetBSD-386.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib9/getcallerpc-NetBSD-386.S b/lib9/getcallerpc-NetBSD-386.S index 8cf0040b..09148627 100644 --- a/lib9/getcallerpc-NetBSD-386.S +++ b/lib9/getcallerpc-NetBSD-386.S @@ -3,5 +3,6 @@ .type getcallerpc,@function .global getcallerpc getcallerpc: - movl 4(%ebp), %eax + movl 4(%esp), %eax + movl -4(%eax), %eax ret |
