[rtems commit] cpukit/libdl: AARCH64 unwind uses DWARF 2 tables

Chris Johns chrisj at rtems.org
Mon Aug 14 01:05:23 UTC 2023


Module:    rtems
Branch:    master
Commit:    663e0dae8af6217f0273176ea6d92e7ab3fd307c
Changeset: http://git.rtems.org/rtems/commit/?id=663e0dae8af6217f0273176ea6d92e7ab3fd307c

Author:    Chris Johns <chrisj at rtems.org>
Date:      Sat Aug 12 16:35:39 2023 +1000

cpukit/libdl: AARCH64 unwind uses DWARF 2 tables

Closes #4943

---

 cpukit/libdl/rtl-mdreloc-aarch64.c | 17 +++++++++++++++++
 spec/build/cpukit/objdlaarch64.yml |  1 -
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/cpukit/libdl/rtl-mdreloc-aarch64.c b/cpukit/libdl/rtl-mdreloc-aarch64.c
index 46f87e9178..15396c3de9 100644
--- a/cpukit/libdl/rtl-mdreloc-aarch64.c
+++ b/cpukit/libdl/rtl-mdreloc-aarch64.c
@@ -561,3 +561,20 @@ rtems_rtl_elf_relocate_rel (rtems_rtl_obj*            obj,
   rtems_rtl_set_error (EINVAL, "rela type record not supported");
   return rtems_rtl_elf_rel_failure;
 }
+
+bool
+rtems_rtl_elf_unwind_parse (const rtems_rtl_obj* obj,
+                            const char*          name,
+                            uint32_t             flags) {
+  return rtems_rtl_elf_unwind_dw2_parse (obj, name, flags);
+}
+
+bool
+rtems_rtl_elf_unwind_register (rtems_rtl_obj* obj) {
+  return rtems_rtl_elf_unwind_dw2_register (obj);
+}
+
+bool
+rtems_rtl_elf_unwind_deregister (rtems_rtl_obj* obj) {
+  return rtems_rtl_elf_unwind_dw2_deregister (obj);
+}
diff --git a/spec/build/cpukit/objdlaarch64.yml b/spec/build/cpukit/objdlaarch64.yml
index 1715eefd3a..2909a902f2 100644
--- a/spec/build/cpukit/objdlaarch64.yml
+++ b/spec/build/cpukit/objdlaarch64.yml
@@ -12,5 +12,4 @@ install: []
 links: []
 source:
 - cpukit/libdl/rtl-mdreloc-aarch64.c
-- cpukit/libdl/rtl-unwind-arm.c
 type: build



More information about the vc mailing list