You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// function aliases
|
|
|
|
void main_func(void);
|
|
void alias_func(void) __attribute__((weak, alias("main_func")));
|
|
|
|
void main_func(void)
|
|
{
|
|
|
|
}
|
|
|
|
// variables aliases
|
|
|
|
int main_var;
|
|
extern int alias_var __attribute__((weak, alias("main_var")));
|
|
|