Andes Workshop http://forum.andestech.com/ |
|
list all removed sections http://forum.andestech.com/viewtopic.php?f=23&t=905 |
Page 1 of 1 |
Author: | maolj [ Mon Dec 15, 2014 3:41 pm ] |
Post subject: | list all removed sections |
when use -ffunction-sections and -fdata-sections Attachment: it will remove unused function/data sections. but how to check which sections will be removd, we can use --print-gc-sections option to output all removed sections add linker option: -Wl,--print-gc-sections: Attachment: we can see the last linker options like below: Attachment: output removed sections like below: Attachment:
|
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |