RTEMS  5.0.0
Functions
rtl-unwind-dw2.c File Reference

RTEMS Run-Time Link Editor. More...

#include <string.h>
#include <stdio.h>
#include <rtems/rtl/rtl.h>
#include "rtl-elf.h"
#include "rtl-error.h"
#include "rtl-unwind.h"
#include "rtl-unwind-dw2.h"

Functions

void __register_frame (void *begin)
 
void __deregister_frame (void *begin)
 
bool rtems_rtl_elf_unwind_dw2_parse (const rtems_rtl_obj *obj, const char *name, uint32_t flags)
 
bool rtems_rtl_elf_unwind_dw2_register (const rtems_rtl_obj *obj)
 
bool rtems_rtl_elf_unwind_dw2_deregister (const rtems_rtl_obj *obj)
 

Detailed Description

RTEMS Run-Time Link Editor.

This is the RTL implementation.

Function Documentation

◆ rtems_rtl_elf_unwind_dw2_deregister()

bool rtems_rtl_elf_unwind_dw2_deregister ( const rtems_rtl_obj obj)

Architecture specific handler to remove an object file's unwind information from the base image.

Parameters
objThe object file.
Return values
trueThe unwind information has been deregistered.
falseThe unwind information could not be deregistered.

◆ rtems_rtl_elf_unwind_dw2_parse()

bool rtems_rtl_elf_unwind_dw2_parse ( const rtems_rtl_obj obj,
const char *  name,
uint32_t  flags 
)

Architecture specific handler to check if a section contains exception handler data..

Parameters
objThe object file.
nameThe section's name.
uint32flags The object file's flags.
Return values
trueThe section contains unwind information.
falseThe section does not contain unwind information.

◆ rtems_rtl_elf_unwind_dw2_register()

bool rtems_rtl_elf_unwind_dw2_register ( const rtems_rtl_obj obj)

Architecture specific handler to add an object file's unwind information to the base image.

Parameters
objThe object file.
Return values
trueThe unwind information has been registered.
falseThe unwind information could not be registered.