From fb0c9b27451d420175a76a0eef733792317d225f Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sun, 13 May 2012 18:29:13 +1000 Subject: Support indirect pointers for strings in the object file. Add indirect pointers and use it for the file names parts which are part of the object module. --- rtl.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'rtl.h') diff --git a/rtl.h b/rtl.h index 0ebfce1..03d15e2 100644 --- a/rtl.h +++ b/rtl.h @@ -80,17 +80,17 @@ typedef void (*rtems_rtl_cdtor_t)(void); */ struct rtems_rtl_data_s { - rtems_id lock; /**< The RTL lock id */ - rtems_rtl_allocator_t allocator; /**< The memory allocator handler. */ - rtems_chain_control objects; /**< List if loaded object files. */ - const char* paths; /**< Search paths for archives. */ - rtems_rtl_symbols_t globals; /**< Global symbol table. */ - rtems_rtl_obj_t* base; /**< Base object file. */ - rtems_rtl_obj_cache_t symbols; /**< Symbols object file cache. */ - rtems_rtl_obj_cache_t strings; /**< Strings object file cache. */ - rtems_rtl_obj_cache_t relocs; /**< Relocations object file cache. */ - int last_errno; /**< Last error number. */ - char last_error[64]; /**< Last error string. */ + rtems_id lock; /**< The RTL lock id */ + rtems_rtl_alloc_data_t allocator; /**< The allocator data. */ + rtems_chain_control objects; /**< List if loaded object files. */ + const char* paths; /**< Search paths for archives. */ + rtems_rtl_symbols_t globals; /**< Global symbol table. */ + rtems_rtl_obj_t* base; /**< Base object file. */ + rtems_rtl_obj_cache_t symbols; /**< Symbols object file cache. */ + rtems_rtl_obj_cache_t strings; /**< Strings object file cache. */ + rtems_rtl_obj_cache_t relocs; /**< Relocations object file cache. */ + int last_errno; /**< Last error number. */ + char last_error[64]; /**< Last error string. */ }; /** -- cgit v1.2.3