Skip to content

Commit

Permalink
Merge pull request #801 from skliper/fix797-no_symtab
Browse files Browse the repository at this point in the history
Fix #797, Update os-impl-no-symtab.c to match APIs
  • Loading branch information
astrogeco authored Feb 12, 2021
2 parents 68d0e7f + 721e042 commit a966ca7
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 a966ca7

Please sign in to comment.