From 92a6ceb9da69eaa96d4658c76432f206f867af57 Mon Sep 17 00:00:00 2001 From: midipix Date: Jul 19 2015 00:41:39 +0000 Subject: add GOT entries for the stub __psx_init function. --- 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 +