xiaoxiang781216 commented on a change in pull request #5923:
URL: https://github.com/apache/incubator-nuttx/pull/5923#discussion_r839885086



##########
File path: arch/sim/src/Makefile
##########
@@ -318,8 +321,11 @@ nuttx$(EXEEXT): libarch$(LIBEXT) board/libboard$(LIBEXT) 
$(HEADOBJ) $(LINKOBJS)
 ifneq ($(CONFIG_HOST_MACOS),y)
        $(Q) $(OBJCOPY) --redefine-syms=nuttx-names.dat nuttx.rel
        $(Q) $(CC) $(CFLAGS) -Wl,-verbose 2>&1 | \
-            sed -e '/====/,/====/!d;//d' -e 's/__executable_start/_stext/g' -e 
's/__init_array_start/_sinit/g' \
-                -e 's/__init_array_end/_einit/g' -e 
's/__fini_array_start/_sfini/g' -e 's/__fini_array_end/_efini/g' >nuttx.ld
+            sed -e '/====/,/====/!d;//d' -e 's/__executable_start/_stext/g' \

Review comment:
       can we reuse the macOS constructor hack to reduce the maintain effort?




-- 
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-unsubscr...@nuttx.apache.org

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


Reply via email to