garbage collection of unused code
Da Zheng
zhengda1936@gmail.com
Wed Jun 9 07:08:00 GMT 2010
Hello,
gc-selections in ld can enable garbage collection of unused input sections. I
hope some functions can be preserved even though they are not called by other
parts of the code. I don't want to change the code. Could I somehow specify in
the command line so that some specific functions are excluded from ld's garbage
collection?
I hope I can ask this question in this mailing-list.
Best regards,
Zheng Da
More information about the Gcc-help
mailing list