source: rtems/cpukit/libdl/rtl-unwind.h @ 4408603

5
Last change on this file since 4408603 was f59d435d, checked in by Chris Johns <chrisj@…>, on 04/12/18 at 07:46:49

libdl: Remove _t from all structures as this is reserved for the standards

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 *  COPYRIGHT (c) 2016, 2018 Chris Johns <chrisj@rtems.org>
3 *
4 *  The license and distribution terms for this file may be
5 *  found in the file LICENSE in this distribution or at
6 *  http://www.rtems.org/license/LICENSE.
7 */
8/**
9 * @file
10 *
11 * @ingroup rtems_rtl
12 *
13 * @brief RTEMS Run-Time Linker Unwind Support.
14 */
15
16#if !defined (_RTEMS_RTL_UNWIND_H_)
17#define _RTEMS_RTL_UNWIND_H_
18
19#include "rtl-elf.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif /* __cplusplus */
24
25/**
26 * Architecture specific handler to check if a section contains exception
27 * handler data..
28 *
29 * @param obj The object file.
30 * @param name The section's name.
31 * @param uint32 flags The object file's flags.
32 * @retval true The section contains unwind information.
33 * @retval false The section does not contain unwind information.
34 */
35bool rtems_rtl_elf_unwind_parse (const rtems_rtl_obj* obj,
36                                 const char*          name,
37                                 uint32_t             flags);
38
39/**
40 * Architecture specific handler to add an object file's unwind information to
41 * the base image.
42 *
43 * @param obj The object file.
44 * @retval true The unwind information has been registered.
45 * @retval false The unwind information could not be registered.
46 */
47bool rtems_rtl_elf_unwind_register (rtems_rtl_obj* obj);
48
49/**
50 * Architecture specific handler to remove an object file's unwind information
51 * from the base image.
52 *
53 * @param obj The object file.
54 * @retval true The unwind information has been deregistered.
55 * @retval false The unwind information could not be deregistered.
56 */
57bool rtems_rtl_elf_unwind_deregister (rtems_rtl_obj* obj);
58
59#ifdef __cplusplus
60}
61#endif /* __cplusplus */
62
63#endif
Note: See TracBrowser for help on using the repository browser.