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.
14 lines
758 B
14 lines
758 B
4 months ago
|
void exported_function(){}
|
||
|
|
||
|
void exported_function_alias() __attribute__((alias("exported_function")));
|
||
|
void exported_function_another_alias() __attribute__((alias("exported_function")));
|
||
|
void exported_function_weak_alias() __attribute__((weak, alias("exported_function")));
|
||
|
void exported_function_another_weak_alias() __attribute__((weak, alias("exported_function")));
|
||
|
|
||
|
int exported_variable = 42;
|
||
|
|
||
|
extern int exported_variable_alias __attribute__((alias("exported_variable")));
|
||
|
extern int exported_variable_another_alias __attribute__((alias("exported_variable")));
|
||
|
extern int exported_variable_weak_alias __attribute__((weak, alias("exported_variable")));
|
||
|
extern int exported_variable_another_weak_alias __attribute__((weak, alias("exported_variable")));
|