-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-12560
-
-
-
default
-
The attached f1.c has these lines ...
int main()
{
return 0;
}
The attached f2.cla has these lines ...
__attribute__((retain))
void cla_function_not_called()
{
__mdebugstop();
}
Build it for EABI. Test for whether the CLA function is present.
% cl2000 --abi=eabi --cla_support=cla2 f1.c % cl2000 --abi=eabi --cla_support=cla2 f2.cla % cl2000 -z f1.obj f2.obj -o test.out -c <Linking> % nm2000 test.out | findstr cla_function_not_called
The retain function is not present.