diff options
| author | forsyth <forsyth@vitanuova.com> | 2011-06-29 15:15:08 +0100 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2011-06-29 15:15:08 +0100 |
| commit | 6b2e32351192dd10dd3d671e2b61608c692507e6 (patch) | |
| tree | 82f17976ee34dd2ad73477efdefccb46d6f85ec2 /lib9 | |
| parent | c594916b7a30516eff15698d7cc1f8e440a55a3d (diff) | |
20110629-1515
Diffstat (limited to 'lib9')
| -rw-r--r-- | lib9/getcallerpc-DragonFly-386.S | 3 | ||||
| -rw-r--r-- | lib9/getcallerpc-FreeBSD-386.S | 3 | ||||
| -rw-r--r-- | lib9/getcallerpc-Linux-386.S | 3 | ||||
| -rw-r--r-- | lib9/getcallerpc-MacOSX-386.s | 5 | ||||
| -rw-r--r-- | lib9/getcallerpc-NetBSD-386.S | 3 | ||||
| -rw-r--r-- | lib9/getcallerpc-OpenBSD-386.S | 3 | ||||
| -rw-r--r-- | lib9/getcallerpc-Solaris-386.s | 3 | ||||
| -rw-r--r-- | lib9/getcallerpc-Unixware-386.s | 3 |
8 files changed, 16 insertions, 10 deletions
diff --git a/lib9/getcallerpc-DragonFly-386.S b/lib9/getcallerpc-DragonFly-386.S index d4ae6218..f05355ec 100644 --- a/lib9/getcallerpc-DragonFly-386.S +++ b/lib9/getcallerpc-DragonFly-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 diff --git a/lib9/getcallerpc-FreeBSD-386.S b/lib9/getcallerpc-FreeBSD-386.S index 134c2847..d7dc16ea 100644 --- a/lib9/getcallerpc-FreeBSD-386.S +++ b/lib9/getcallerpc-FreeBSD-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 diff --git a/lib9/getcallerpc-Linux-386.S b/lib9/getcallerpc-Linux-386.S index ae817758..a439875e 100644 --- a/lib9/getcallerpc-Linux-386.S +++ b/lib9/getcallerpc-Linux-386.S @@ -2,5 +2,6 @@ .type getcallerpc,@function .global getcallerpc getcallerpc: - movl 4(%ebp), %eax + movl 4(%esp), %eax + movl -4(%eax), %eax ret 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 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 diff --git a/lib9/getcallerpc-OpenBSD-386.S b/lib9/getcallerpc-OpenBSD-386.S index edf1fd61..88817063 100644 --- a/lib9/getcallerpc-OpenBSD-386.S +++ b/lib9/getcallerpc-OpenBSD-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 diff --git a/lib9/getcallerpc-Solaris-386.s b/lib9/getcallerpc-Solaris-386.s index 5d4c7053..ad582d39 100644 --- a/lib9/getcallerpc-Solaris-386.s +++ b/lib9/getcallerpc-Solaris-386.s @@ -1,7 +1,8 @@ .align 4 .globl getcallerpc getcallerpc: - movl 4(%ebp),%eax + movl 4(%esp), %eax + movl -4(%eax), %eax ret .align 4 .type getcallerpc,@function diff --git a/lib9/getcallerpc-Unixware-386.s b/lib9/getcallerpc-Unixware-386.s index 5d4c7053..ad582d39 100644 --- a/lib9/getcallerpc-Unixware-386.s +++ b/lib9/getcallerpc-Unixware-386.s @@ -1,7 +1,8 @@ .align 4 .globl getcallerpc getcallerpc: - movl 4(%ebp),%eax + movl 4(%esp), %eax + movl -4(%eax), %eax ret .align 4 .type getcallerpc,@function |
