ARC: MWDT: add missing options to generate symbol file

Fix for #47353 where we add and enable symbol generation,
but miss to add proper options for ARCMWDT toolchain.

Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
This commit is contained in:
Evgeniy Paltsev 2022-07-13 16:38:26 +04:00 committed by Anas Nashif
commit ec075ebf60

View file

@ -101,3 +101,11 @@ set_property(TARGET bintools PROPERTY strip_flag_debug -ql)
set_property(TARGET bintools PROPERTY strip_flag_infile "") set_property(TARGET bintools PROPERTY strip_flag_infile "")
set_property(TARGET bintools PROPERTY strip_flag_outfile -o ) set_property(TARGET bintools PROPERTY strip_flag_outfile -o )
# list symbols in a binary
set_property(TARGET bintools PROPERTY symbols_command ${CMAKE_NM})
# flags are set to be as close to gnu nm format as possible
set_property(TARGET bintools PROPERTY symbols_flag "-xhpqgn")
set_property(TARGET bintools PROPERTY symbols_final "")
set_property(TARGET bintools PROPERTY symbols_infile "")
set_property(TARGET bintools PROPERTY symbols_outfile ">;" )