projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb0bfc1
)
Fix sign error in previous.
author
Taylor R Campbell
<campbell@mumble.net>
Mon, 22 Apr 2019 04:07:27 +0000
(
04:07
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Wed, 21 Aug 2019 21:34:07 +0000
(21:34 +0000)
src/microcode/cmpintmd/aarch64.c
patch
|
blob
|
history
diff --git
a/src/microcode/cmpintmd/aarch64.c
b/src/microcode/cmpintmd/aarch64.c
index 2baebfe3d013d4f1a0739f095cd583ca851aa0af..2853c8dcd9f2482f518a499c4388fee580151b9f 100644
(file)
--- a/
src/microcode/cmpintmd/aarch64.c
+++ b/
src/microcode/cmpintmd/aarch64.c
@@
-263,7
+263,7
@@
write_uuo_target (insn_t * target, SCHEME_OBJECT * saddr)
iaddr = (((insn_t *) saddr) + ioff);
/* ldr x1, PC-ioff */
- (iaddr[0]) = (0x58000001UL | ((((unsigned)
ioff
) & 0x7ffff) << 5));
+ (iaddr[0]) = (0x58000001UL | ((((unsigned)
(-ioff)
) & 0x7ffff) << 5));
/* If the target PC is right after the target offset, then the PC
requires no further relocation and we can jump to a fixed address.