aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/m68hc11.h
diff options
context:
space:
mode:
authormengqinggang <mengqinggang@loongson.cn>2023-09-24 14:53:28 +0800
committerliuzhensong <liuzhensong@loongson.cn>2023-10-10 16:34:33 +0800
commit1fb3cdd87ec61715a5684925fb6d6a6cf53bb97c (patch)
tree29ff87c34597a975906f77e6bfaeedf8e433c37e /include/opcode/m68hc11.h
parent9847ba8f085a7da0d85e90718ca987ab76637cbe (diff)
downloadbinutils-1fb3cdd87ec61715a5684925fb6d6a6cf53bb97c.zip
binutils-1fb3cdd87ec61715a5684925fb6d6a6cf53bb97c.tar.gz
binutils-1fb3cdd87ec61715a5684925fb6d6a6cf53bb97c.tar.bz2
LoongArch/GAS: Add support for branch relaxation
For the instructions of R_LARCH_B16/B21, if the immediate overflow, add a B instruction and R_LARCH_B26 relocation. For example: .L1 ... blt $t0, $t1, .L1 R_LARCH_B16 change to: .L1 ... bge $t0, $t1, .L2 b .L1 R_LARCH_B26 .L2
Diffstat (limited to 'include/opcode/m68hc11.h')
0 files changed, 0 insertions, 0 deletions