mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix profiling compilation for non-m68k targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8967 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ca9e8b6cf5
commit
9c2b203025
3 changed files with 12 additions and 1 deletions
|
@ -145,8 +145,12 @@ void qsort(void *base, size_t nmemb, size_t size,
|
|||
|
||||
#ifdef RB_PROFILE
|
||||
void __cyg_profile_func_enter(void *this_fn, void *call_site) {
|
||||
#ifdef CPU_COLDFIRE
|
||||
(void)call_site;
|
||||
local_rb->profile_func_enter(this_fn, __builtin_return_address(1));
|
||||
#else
|
||||
local_rb->profile_func_enter(this_fn, call_site);
|
||||
#endif
|
||||
}
|
||||
|
||||
void __cyg_profile_func_exit(void *this_fn, void *call_site) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue