diff options
author | Chris Johns <chrisj@rtems.org> | 2017-03-28 17:23:05 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-04-04 13:26:01 +1000 |
commit | d2e31f70c12f6363cef79ffad781df6ec0acdfb5 (patch) | |
tree | 3ebf30b9233ccfbff397ef245f3b74f1f2bd69dd /cpukit/libdl/rtl-mdreloc-moxie.c | |
parent | dosfs: Fix file name search (diff) | |
download | rtems-d2e31f70c12f6363cef79ffad781df6ec0acdfb5.tar.bz2 |
libdl: Back port C++ exception throw and catch from 4.12.
Closes #2956.
Diffstat (limited to 'cpukit/libdl/rtl-mdreloc-moxie.c')
-rw-r--r-- | cpukit/libdl/rtl-mdreloc-moxie.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cpukit/libdl/rtl-mdreloc-moxie.c b/cpukit/libdl/rtl-mdreloc-moxie.c index 1fb05e6977..27b0cf6824 100644 --- a/cpukit/libdl/rtl-mdreloc-moxie.c +++ b/cpukit/libdl/rtl-mdreloc-moxie.c @@ -10,6 +10,15 @@ #include "rtl-elf.h" #include "rtl-error.h" #include "rtl-trace.h" +#include "rtl-unwind.h" +#include "rtl-unwind-dw2.h" + +uint32_t +rtems_rtl_elf_section_flags (const rtems_rtl_obj_t* obj, + const Elf_Shdr* shdr) +{ + return 0; +} bool rtems_rtl_elf_rel_resolve_sym (Elf_Word type) @@ -86,3 +95,23 @@ rtems_rtl_elf_relocate_rel (const rtems_rtl_obj_t* obj, rtems_rtl_set_error (EINVAL, "rel type record not supported"); return false; } + +bool +rtems_rtl_elf_unwind_parse (const rtems_rtl_obj_t* 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_t* obj) +{ + return rtems_rtl_elf_unwind_dw2_register (obj); +} + +bool +rtems_rtl_elf_unwind_deregister (rtems_rtl_obj_t* obj) +{ + return rtems_rtl_elf_unwind_dw2_deregister (obj); +} |