diff options
author | mengqinggang <mengqinggang@loongson.cn> | 2024-01-26 11:16:49 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2024-01-26 16:49:53 +0800 |
commit | cd35c9fd1e67b2dd8acbda3dfa398e395b22f220 (patch) | |
tree | b5a1e22724f0f94ad8d09961b356bd00c41de6d3 /gdb/f-lang.c | |
parent | 969f5c0e12c18595cbd16f2df73c4630d0635dfe (diff) | |
download | binutils-cd35c9fd1e67b2dd8acbda3dfa398e395b22f220.zip binutils-cd35c9fd1e67b2dd8acbda3dfa398e395b22f220.tar.gz binutils-cd35c9fd1e67b2dd8acbda3dfa398e395b22f220.tar.bz2 |
LoongArch: Fix a bug of getting relocation type
The old code works because R_LARCH_RELAX has no symbol index. It causes
'(rel + 1)->r_info == R_LARCH_RELAX' is 1 and ELFNN_R_TYPE (1) is 1.
Diffstat (limited to 'gdb/f-lang.c')
0 files changed, 0 insertions, 0 deletions