Skip to content

Commit

Permalink
Fix nasa#797, Update os-impl-no-symtab.c to match APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Feb 10, 2021
1 parent 09a2c5e commit 721e042
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions src/os/portable/os-impl-no-symtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,43 +31,34 @@
#include "os-shared-module.h"

/*----------------------------------------------------------------
* Implementation for no dynamic loader configuration
*
* Function: OS_GlobalSymbolLookup_Impl
*
* Purpose: Implemented per internal OSAL API
* See prototype for argument/return detail
*
* See prototype for argument/return detail
*-----------------------------------------------------------------*/
int32 OS_GlobalSymbolLookup_Impl(cpuaddr *SymbolAddress, const char *SymbolName)
{
return OS_ERR_NOT_IMPLEMENTED;

} /* end OS_GlobalSymbolLookup_Impl */
}

/*----------------------------------------------------------------
* Implementation for no dynamic loader configuration
*
* Function: OS_ModuleSymbolLookup_Impl
*
* Purpose: Implemented per internal OSAL API
* See prototype for argument/return detail
*
* See prototype for argument/return detail
*-----------------------------------------------------------------*/
int32 OS_ModuleSymbolLookup_Impl(uint32 local_id, cpuaddr *SymbolAddress, const char *SymbolName)
int32 OS_ModuleSymbolLookup_Impl(const OS_object_token_t *token, cpuaddr *SymbolAddress, const char *SymbolName)
{
return OS_ERR_NOT_IMPLEMENTED;

} /* end OS_ModuleSymbolLookup_Impl */
}

/*----------------------------------------------------------------
* Implementation for no dynamic loader configuration
*
* Function: OS_SymbolTableDump_Impl
*
* Purpose: Implemented per internal OSAL API
* See prototype for argument/return detail
*
* See prototype for argument/return detail
*-----------------------------------------------------------------*/
int32 OS_SymbolTableDump_Impl(const char *filename, size_t SizeLimit)
{
return (OS_ERR_NOT_IMPLEMENTED);

} /* end OS_SymbolTableDump_Impl */
}

0 comments on commit 721e042

Please sign in to comment.