summaryrefslogtreecommitdiff
path: root/backends/loongarch_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/loongarch_init.c')
-rw-r--r--backends/loongarch_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/loongarch_init.c b/backends/loongarch_init.c
index 7bfaaa7f..fd63f373 100644
--- a/backends/loongarch_init.c
+++ b/backends/loongarch_init.c
@@ -1,5 +1,7 @@
/* Initialization of LoongArch specific backend library.
Copyright (C) 2022 Hengqi Chen
+ Copyright (C) 2023 OpenAnolis community LoongArch SIG.
+ Copyright (C) 2023 Loongson Technology Corporation Limted.
This file is part of elfutils.
This file is free software; you can redistribute it and/or modify
@@ -51,6 +53,7 @@ loongarch_init (Elf *elf __attribute__ ((unused)),
/* gcc/config/ #define DWARF_FRAME_REGISTERS. */
eh->frame_nregs = 74;
HOOK (eh, check_special_symbol);
+ HOOK (eh, return_value_location);
return eh;
}