aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorLulu Cai <cailulu@loongson.cn>2023-11-15 19:20:53 +0800
committerliuzhensong <liuzhensong@loongson.cn>2023-11-22 14:39:35 +0800
commitdf4ffdd8c87b32357f929fb4a861760038f3bbb8 (patch)
treefc4873955fd988400c9990bb2e9cd134c7a823c0 /bfd
parentf178a375085d796ceeb8c6551b18e34b2653cc88 (diff)
downloadgdb-df4ffdd8c87b32357f929fb4a861760038f3bbb8.zip
gdb-df4ffdd8c87b32357f929fb4a861760038f3bbb8.tar.gz
gdb-df4ffdd8c87b32357f929fb4a861760038f3bbb8.tar.bz2
LoongArch: fix internal error when as handling unsupported modifier.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/elfxx-loongarch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elfxx-loongarch.c b/bfd/elfxx-loongarch.c
index a970a25..7f298c0 100644
--- a/bfd/elfxx-loongarch.c
+++ b/bfd/elfxx-loongarch.c
@@ -1629,9 +1629,6 @@ loongarch_larch_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
return lht->bfd_type;
}
- (*_bfd_error_handler) (_("%pB: unsupported relocation type name %s"),
- abfd, l_r_name);
- bfd_set_error (bfd_error_bad_value);
return BFD_RELOC_NONE;
}