diff options
author | Jinyang He <hejinyang@loongson.cn> | 2024-04-22 17:49:50 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2024-04-25 11:53:15 +0800 |
commit | 035068a0cd846653e1fb0903aece42f4258803fb (patch) | |
tree | 70219d99f339e89d9312cc8a3096465fd775fcd6 /libiberty/dyn-string.c | |
parent | 66156bae7a0581879763514382d112716464db8a (diff) | |
download | gdb-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 'libiberty/dyn-string.c')
0 files changed, 0 insertions, 0 deletions