You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/16 08:02:05 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5756: sim: Enable garbage collection of unused input sections

pkarashchenko commented on a change in pull request #5756:
URL: https://github.com/apache/incubator-nuttx/pull/5756#discussion_r827720255



##########
File path: boards/sim/sim/sim/scripts/Make.defs
##########
@@ -209,6 +209,7 @@ endif
 
 LDELFFLAGS = -r -e main --gc-sections
 LDELFFLAGS += -T $(call CONVERT_PATH,$(BOARD_DIR)$(DELIM)scripts$(DELIM)gnu-elf.ld)
+LDFLAGS += -Wl,--gc-sections

Review comment:
       Do we need to remove `--gc-sections` from `LDELFFLAGS`?




-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org