diff options
Diffstat (limited to 'lib9/getcallerpc-MacOSX-386.s')
| -rw-r--r-- | lib9/getcallerpc-MacOSX-386.s | 5 |
1 files changed, 2 insertions, 3 deletions
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 |
