diff options
author | Chris Johns <chrisj@rtems.org> | 2012-07-16 15:07:54 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-07-16 15:07:54 +1000 |
commit | 5d126da01db7c0e140ca35389dfe8f7227f10622 (patch) | |
tree | ec501af328f2fd23a4ae7cdd53991fb8743b831d /rtl-trace.h | |
parent | 8f06d01b2c6e051d9b6f733f6673b796490983f9 (diff) |
Resolve unresolved externals when loading object files.
Object files that depend on each other will cause an unresolved
external. The change lets object files load with unresolved
externals and will resolve them when the object file with the
external is loaded.
A common table of symbol strings and relocation records is maintained.
The symbol string is shared by each object file that is unresolved.
Each relocation record that references the symbol is held. The table
is a series of small blocks that compact as symbols are resolved. The
number of symbols left unresolved is typically small this design avoids
fragmentation of the heap memory.
Diffstat (limited to 'rtl-trace.h')
-rw-r--r-- | rtl-trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rtl-trace.h b/rtl-trace.h index 0dc96ab..fea8122 100644 --- a/rtl-trace.h +++ b/rtl-trace.h @@ -45,6 +45,7 @@ typedef uint32_t rtems_rtl_trace_mask; #define RTEMS_RTL_TRACE_GLOBAL_SYM (1UL << 5) #define RTEMS_RTL_TRACE_LOAD_SECT (1UL << 6) #define RTEMS_RTL_TRACE_ALLOCATOR (1UL << 7) +#define RTEMS_RTL_TRACE_UNRESOLVED (1UL << 8) /** * Call to check if this part is bring traced. If RTEMS_RTL_TRACE is defined to |