summaryrefslogtreecommitdiffhomepage
path: root/stub.s
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-07-18 20:41:39 -0400
committermidipix <writeonce@midipix.org>2015-07-18 20:41:39 -0400
commit92a6ceb9da69eaa96d4658c76432f206f867af57 (patch)
tree6016fff7668d95c8cd15c884fc6f924f5c5ad6cd /stub.s
parentc38adb3dbd2c6066310f109b206cf916467c7cbc (diff)
downloadpsxstub-92a6ceb9da69eaa96d4658c76432f206f867af57.tar.bz2
psxstub-92a6ceb9da69eaa96d4658c76432f206f867af57.tar.xz
add GOT entries for the stub __psx_init function.
Diffstat (limited to 'stub.s')
-rw-r--r--stub.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/stub.s b/stub.s
index a17f247..7c50c8e 100644
--- a/stub.s
+++ b/stub.s
@@ -13,3 +13,12 @@ _so_entry_point:
__so_entry_point:
mov $1, %eax
ret
+
+ .section .got$stub
+ .global __imp___psx_init
+ .global __imp____psx_init
+__imp___psx_init:
+ .quad __psx_init
+__imp____psx_init:
+ .long ___psx_init
+