aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorJinyang He <hejinyang@loongson.cn>2024-04-22 17:49:50 +0800
committerliuzhensong <liuzhensong@loongson.cn>2024-04-25 11:53:15 +0800
commit035068a0cd846653e1fb0903aece42f4258803fb (patch)
tree70219d99f339e89d9312cc8a3096465fd775fcd6 /gdb/top.c
parent66156bae7a0581879763514382d112716464db8a (diff)
downloadgdb-035068a0cd846653e1fb0903aece42f4258803fb.zip
gdb-035068a0cd846653e1fb0903aece42f4258803fb.tar.gz
gdb-035068a0cd846653e1fb0903aece42f4258803fb.tar.bz2
LoongArch: gas: Simplify relocations in sections without code flag
Gas should not emit ADD/SUB relocation pairs for label differences if they are in the same section without code flag even relax enabled. Because the real value is not be affected by relaxation and it can be compute out in assembly stage. Thus, correct the `TC_FORCE_RELOCATION _SUB_SAME` and the label differences in same section without code flag can be resolved in fixup_segment().
Diffstat (limited to 'gdb/top.c')
0 files changed, 0 insertions, 0 deletions