Hide function name in GCC compilation
问题 I am compiling a c "hello world" program that juste include one simple function and a main function. I am using GCC under Linux. When I run readelf command on the binary, I can see symbol table and I can see function names in clear. Is there a way to tell GCC (or the linker) to not generate this symbol table? Is it possible to tell GCC to store only functions addresses, without storing function names in clear? 回答1: The utility strip discards symbols from object files. Consider : #include