summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-28 10:39:23 -0400
committermidipix <writeonce@midipix.org>2015-03-28 10:39:23 -0400
commit70b759086d55cfe590b964d0e0165a1dd06faa15 (patch)
tree77e21203ff637ce6f40fcb8c552c40a8a545e086
parent5d2af67a5378711a4257b14c60cec61c0f127f4e (diff)
downloadpsxstub-70b759086d55cfe590b964d0e0165a1dd06faa15.tar.bz2
psxstub-70b759086d55cfe590b964d0e0165a1dd06faa15.tar.xz
stub.s: use %eax rather than %rax so that the same stub can be used
for both 32- and 64-bit builds.
-rw-r--r--stub.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/stub.s b/stub.s
index 29177bb..b50557b 100644
--- a/stub.s
+++ b/stub.s
@@ -4,5 +4,5 @@
__psx_init:
_so_entry_point:
- mov $1, %rax
+ mov $1, %eax
ret