From 6b2e32351192dd10dd3d671e2b61608c692507e6 Mon Sep 17 00:00:00 2001 From: forsyth Date: Wed, 29 Jun 2011 15:15:08 +0100 Subject: 20110629-1515 --- lib9/getcallerpc-MacOSX-386.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib9/getcallerpc-MacOSX-386.s') diff --git a/lib9/getcallerpc-MacOSX-386.s b/lib9/getcallerpc-MacOSX-386.s index 92f940d7..d2aef82e 100644 --- a/lib9/getcallerpc-MacOSX-386.s +++ b/lib9/getcallerpc-MacOSX-386.s @@ -1,8 +1,7 @@ .file "getcallerpc-MacOSX-386.s" - .text - .globl _getcallerpc _getcallerpc: - movl 4(%ebp), %eax + movl 4(%esp), %eax + movl -4(%eax), %eax ret -- cgit v1.2.3