Simulation: Newer versions of Cygwin tools do not seem to pre-pend symbol names with underscore character
This commit is contained in:
parent
473a3cf2a6
commit
569a29a327
@ -32,6 +32,15 @@ config SIM_M32
|
||||
beyond. For thoses versions, you must add SIM_M32=y to the .config file in
|
||||
order to enable building a 32-bit image on a 64-bit platform.
|
||||
|
||||
config SIM_CYGWIN_DECORATED
|
||||
bool "Decorated Cygwin names"
|
||||
default n
|
||||
depends on WINDOWS_CYGWIN
|
||||
---help---
|
||||
Older versions of Cygwin toolsdecorated C symbol names by adding an
|
||||
underscore to the beginning of the symbol name. Newer versions of
|
||||
Cygwin do not seem to do this.
|
||||
|
||||
config SIM_WALLTIME
|
||||
bool "Execution simulation in near real-time"
|
||||
default n
|
||||
|
@ -206,7 +206,11 @@ GNU/Linux-names.dat: GNU nuttx-names.dat
|
||||
$(Q) cp nuttx-names.dat $@
|
||||
|
||||
Cygwin-names.dat: nuttx-names.dat
|
||||
ifeq ($())CONFIG_SIM_CYGWIN_DECORATED),y)
|
||||
$(Q) cat $^ | sed -e "s/^/_/g" >$@
|
||||
else
|
||||
$(Q) cp nuttx-names.dat $@
|
||||
endif
|
||||
|
||||
nuttx.rel : libarch$(LIBEXT) board/libboard$(LIBEXT) $(HOSTOS)-names.dat $(LINKOBJS)
|
||||
$(Q) echo "LD: nuttx.rel"
|
||||
|
Loading…
Reference in New Issue
Block a user