[ELF] Restore arm-branch.s test
authorIgor Kudrin <ikudrin@accesssoftek.com>
Thu, 17 Jun 2021 10:08:13 +0000 (17:08 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Thu, 17 Jun 2021 10:08:13 +0000 (17:08 +0700)
commit5355b8c6318c194ff15241b7a3217a51fc1a644b
tree9c26b4cbba01acf554593fc2dde0d315021d9d2b
parentceee35e3e4bf9729e1aae9bfadd6d25bfe3769ee
[ELF] Restore arm-branch.s test

After D77330, the comments are inconsistent with the disassembled code.
As the value of `far` has been changed, a thunk to reach it is now
generated, and target addresses of branch instructions are different
from what was initially expected.

The patch fixes that and makes the test closer to what it was originally.

Differential Revision: https://reviews.llvm.org/D104286
lld/test/ELF/Inputs/far-arm-abs.s
lld/test/ELF/Inputs/far-long-arm-abs.s
lld/test/ELF/arm-branch.s