Hi folks, Daniel Glöckner wrote:
I think what Oleg wants is implemented in GCC as -ffunction-sections -fdata-section in combination with ld's --gc-sections. Every global function and variable is placed in its own section and the linker drops all sections which can't be reached starting from the entry point.
Yes, you're absolutely right. To have more small binaries. Also requested to remove unused functions and variables that are not placed into a library.
Daniel
Oleg N. Cher, VEDAsoft Oberon Club http://zx.oberon2.ru _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
