Retro68/binutils/ld/testsuite/ld-x86-64/protected-func-2c.c
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

30 lines
430 B
C

#include "protected-func-1.h"
protected_func_type protected_func_1a_ptr = protected_func_1a;
__attribute__ ((visibility("protected")))
int
protected_func_1a (void)
{
return 1;
}
__attribute__ ((visibility("protected")))
int
protected_func_1b (void)
{
return 2;
}
protected_func_type
protected_func_1a_p (void)
{
return protected_func_1a;
}
protected_func_type
protected_func_1b_p (void)
{
return protected_func_1b;
}