diff options
author | Martin Stransky <stransky@redhat.com> | 2022-03-02 10:51:06 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2022-03-02 10:51:06 +0100 |
commit | e7fac329e3eedc1a6d61d69d0f3ccdb9888126ac (patch) | |
tree | 053744c955d184ba5bb049531f5712ac8f54c291 /D139704.diff | |
parent | merge (diff) | |
download | librewolf-fedora-ff-e7fac329e3eedc1a6d61d69d0f3ccdb9888126ac.tar.gz librewolf-fedora-ff-e7fac329e3eedc1a6d61d69d0f3ccdb9888126ac.tar.bz2 librewolf-fedora-ff-e7fac329e3eedc1a6d61d69d0f3ccdb9888126ac.zip |
i686 build fixes
Diffstat (limited to 'D139704.diff')
-rw-r--r-- | D139704.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/D139704.diff b/D139704.diff new file mode 100644 index 0000000..ab1ea42 --- /dev/null +++ b/D139704.diff @@ -0,0 +1,21 @@ +diff --git a/js/src/jit/GenerateAtomicOperations.py b/js/src/jit/GenerateAtomicOperations.py +--- a/js/src/jit/GenerateAtomicOperations.py ++++ b/js/src/jit/GenerateAtomicOperations.py +@@ -666,12 +666,12 @@ + insns += fmt_insn("str %x[scratch], [%x[dst], OFFSET]") + elif cpu_arch == "arm": + if size == 1: +- insns += fmt_insn("ldrb %[scratch], [%[src], OFFSET]") +- insns += fmt_insn("strb %[scratch], [%[dst], OFFSET]") ++ insns += fmt_insn("ldrb %[scratch], [%[src], #OFFSET]") ++ insns += fmt_insn("strb %[scratch], [%[dst], #OFFSET]") + else: + assert size == 4 +- insns += fmt_insn("ldr %[scratch], [%[src], OFFSET]") +- insns += fmt_insn("str %[scratch], [%[dst], OFFSET]") ++ insns += fmt_insn("ldr %[scratch], [%[src], #OFFSET]") ++ insns += fmt_insn("str %[scratch], [%[dst], #OFFSET]") + else: + raise Exception("Unexpected arch") + insns = insns.replace("OFFSET", str(offset * size)) + |