summaryrefslogtreecommitdiff
path: root/lib9
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-30 21:29:14 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-30 21:29:14 +0000
commit0e96539ff7cff23233d3f0a64bb285b385a3a1f4 (patch)
tree5e5363878c35855f236b12cd85ae13d9102b42bc /lib9
parent6e425a9de8c003b5a733621a6b6730ec3cc902b8 (diff)
20061219
Diffstat (limited to 'lib9')
-rw-r--r--lib9/getcallerpc-Linux-arm.S1
-rw-r--r--lib9/getcallerpc-MacOSX-386.s8
2 files changed, 9 insertions, 0 deletions
diff --git a/lib9/getcallerpc-Linux-arm.S b/lib9/getcallerpc-Linux-arm.S
new file mode 100644
index 00000000..44c8e627
--- /dev/null
+++ b/lib9/getcallerpc-Linux-arm.S
@@ -0,0 +1 @@
+/* getcallerpc for arm Linux is placed in lib9.h as inline function*/
diff --git a/lib9/getcallerpc-MacOSX-386.s b/lib9/getcallerpc-MacOSX-386.s
new file mode 100644
index 00000000..92f940d7
--- /dev/null
+++ b/lib9/getcallerpc-MacOSX-386.s
@@ -0,0 +1,8 @@
+ .file "getcallerpc-MacOSX-386.s"
+
+ .text
+
+.globl _getcallerpc
+_getcallerpc:
+ movl 4(%ebp), %eax
+ ret