|
RTEMS CPU Kit with SuperCore
4.11.2
|
RTEMS Run-Time Link Editor. More...
#include <errno.h>#include <fcntl.h>#include <stdlib.h>#include <string.h>#include <stdio.h>#include <unistd.h>#include <rtems/rtl/rtl.h>#include "rtl-elf.h"#include "rtl-error.h"#include "rtl-obj-comp.h"#include "rtl-rap.h"#include "rtl-trace.h"#include "rtl-unresolved.h"
Data Structures | |
| struct | rtems_rtl_rap_sectdef_s |
| The section definitions found in a RAP file. More... | |
| struct | rtems_rtl_rap_section_s |
| The section definitions found in a RAP file. More... | |
| struct | rtems_rtl_rap_s |
| The RAP loader. More... | |
Macros | |
| #define | REL_R_OFFSET (0) |
| The offsets in the unresolved array. | |
| #define | REL_R_INFO (1) |
| #define | REL_R_ADDEND (2) |
| #define | RTEMS_RTL_RAP_TEXT_SEC (0) |
| The section indexes. More... | |
| #define | RTEMS_RTL_RAP_CONST_SEC (1) |
| #define | RTEMS_RTL_RAP_CTOR_SEC (2) |
| #define | RTEMS_RTL_RAP_DTOR_SEC (3) |
| #define | RTEMS_RTL_RAP_DATA_SEC (4) |
| #define | RTEMS_RTL_RAP_BSS_SEC (5) |
| #define | RTEMS_RTL_RAP_SECS (6) |
| #define | SYMNAME_BUFFER_SIZE (1024) |
Typedefs | |
| typedef struct rtems_rtl_rap_sectdef_s | rtems_rtl_rap_sectdef_t |
| The section definitions found in a RAP file. | |
| typedef struct rtems_rtl_rap_section_s | rtems_rtl_rap_section_t |
| The section definitions found in a RAP file. | |
| typedef struct rtems_rtl_rap_s | rtems_rtl_rap_t |
| The RAP loader. | |
Functions | |
| bool | rtems_rtl_rap_file_check (rtems_rtl_obj_t *obj, int fd) |
| The RAP format check handler. More... | |
| bool | rtems_rtl_rap_file_load (rtems_rtl_obj_t *obj, int fd) |
| The RAP format load handler. More... | |
| bool | rtems_rtl_rap_file_unload (rtems_rtl_obj_t *obj) |
| The RAP format unload handler. More... | |
| rtems_rtl_loader_format_t * | rtems_rtl_rap_file_sig (void) |
| The RAP format signature handler. More... | |
RTEMS Run-Time Link Editor.
This is the RAP format loader support..
| #define RTEMS_RTL_RAP_TEXT_SEC (0) |
The section indexes.
These are fixed.
| bool rtems_rtl_rap_file_check | ( | rtems_rtl_obj_t * | obj, |
| int | fd | ||
| ) |
The RAP format check handler.
| obj | The object being checked. |
| fd | The file descriptor. |
| bool rtems_rtl_rap_file_load | ( | rtems_rtl_obj_t * | obj, |
| int | fd | ||
| ) |
The RAP format load handler.
| obj | The object to load. |
| fd | The file descriptor. |
obj->entry = (void*)(uintptr_t) ehdr.e_entry;
References rtems_rtl_rap_s::file, rtems_rtl_obj_s::ooffset, rtems_rtl_obj_cache_read(), and rtems_rtl_obj_caches().
| rtems_rtl_loader_format_t* rtems_rtl_rap_file_sig | ( | void | ) |
The RAP format signature handler.
| bool rtems_rtl_rap_file_unload | ( | rtems_rtl_obj_t * | obj | ) |
The RAP format unload handler.
| obj | The object to unload. |
1.8.13