Hi,
I have a question:
Suppose i have a source code file as
test.c
------------
Code:
...
...
...
#include <stdio.h>
void __attribute__ (( visibility ("hidden") )) sayHello (void)
{
printf("hello");
}
....
i compile this file and make shared library using gcc say named as libhello.so
now although the function sayHello is not exported to the libhello.so
but when i run this command:
Code:
shell> nm libhello.so
the resultant display shows one of the symbol there as sayHello
Is this possible that I completely hide this symbol so that nm doesnt read this local function in the library.
Kind Regards