anchao opened a new pull request #5756: URL: https://github.com/apache/incubator-nuttx/pull/5756
## Summary sim: Enable garbage collection of unused input sections LDFLAGS += -Wl,--gc-sections GC should be enabled on arch/sim/src/Makefile: ``` 326 $(if $(CONFIG_HAVE_CXX),\ 327 $(Q) "$(CXX)" $(CFLAGS) $(LDFLAGS) -o $(TOPDIR)/$@ $(HEADOBJ) nuttx.rel $(HOSTOBJS) $(STDLIBS),\ 328 $(Q) "$(CC)" $(CFLAGS) $(LDFLAGS) -o $(TOPDIR)/$@ $(HEADOBJ) nuttx.rel $(HOSTOBJS) $(STDLIBS)) ``` ## Impact N/A ## Testing CI-CHECK -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
