mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 16:30:19 +02:00
Stop setting the thumb bit except on jumps to veneers
Thanks to the previous commit, the jump targets should all be correct.
This commit is contained in:
parent
8045386a45
commit
7f5f26269f
1 changed files with 2 additions and 2 deletions
|
@ -323,7 +323,7 @@ read_jmp_offset(uint32_t *loc)
|
|||
static void
|
||||
patch_jmp_offset(uint32_t *loc, int32_t v)
|
||||
{
|
||||
write_wide_thumb(loc, patch_thumb_jump(read_wide_thumb(loc), v | 1));
|
||||
write_wide_thumb(loc, patch_thumb_jump(read_wide_thumb(loc), v));
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -406,7 +406,7 @@ read_jcc_offset(uint32_t *loc)
|
|||
static void
|
||||
patch_jcc_offset(uint32_t *loc, int32_t v)
|
||||
{
|
||||
write_wide_thumb(loc, patch_thumb_cc_jump(read_wide_thumb(loc), v | 1));
|
||||
write_wide_thumb(loc, patch_thumb_cc_jump(read_wide_thumb(loc), v));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue