RTEMS 6.1-rc5
Loading...
Searching...
No Matches
rtl-trampoline.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-2-Clause */
2
52/*
53 * COPYRIGHT (c) 2019 Chris Johns <chrisj@rtems.org>
54 *
55 * Redistribution and use in source and binary forms, with or without
56 * modification, are permitted provided that the following conditions
57 * are met:
58 * 1. Redistributions of source code must retain the above copyright
59 * notice, this list of conditions and the following disclaimer.
60 * 2. Redistributions in binary form must reproduce the above copyright
61 * notice, this list of conditions and the following disclaimer in the
62 * documentation and/or other materials provided with the distribution.
63 *
64 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
65 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
66 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
67 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
68 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
69 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
70 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
71 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
72 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
73 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
74 * POSSIBILITY OF SUCH DAMAGE.
75 */
76
77#if !defined (_RTEMS_RTL_TRAMPOLINE_H_)
78#define _RTEMS_RTL_TRAMPOLINE_H_
79
81
82#ifdef __cplusplus
83extern "C" {
84#endif /* __cplusplus */
85
98 const uint16_t flags,
99 const uint16_t sect,
100 const rtems_rtl_word symvalue,
101 const rtems_rtl_word* rel);
102
109
110#ifdef __cplusplus
111}
112#endif /* __cplusplus */
113
114#endif
void rtems_rtl_trampoline_remove(rtems_rtl_obj *obj)
Definition: rtl-unresolved.c:740
bool rtems_rtl_trampoline_add(rtems_rtl_obj *obj, const uint16_t flags, const uint16_t sect, const rtems_rtl_word symvalue, const rtems_rtl_word *rel)
Definition: rtl-unresolved.c:698
RTEMS Run-Time Linker Object File Unresolved Relocations Table.
uint32_t rtems_rtl_word
Definition: rtl-unresolved.h:86
Definition: rtl-obj.h:200