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:
parent
fe8dcdf4a3
commit
ec075ebf60
1 changed files with 8 additions and 0 deletions
|
@ -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_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 ">;" )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue