* do not call the internal assembler if -s is passed

git-svn-id: trunk@41126 -
This commit is contained in:
florian 2019-01-29 20:16:12 +00:00
parent 007f266ccf
commit 6c88894999

View File

@ -4004,8 +4004,10 @@ begin
Message(option_w_unsupported_debug_format); Message(option_w_unsupported_debug_format);
{ switch assembler if it's binary and we got -a on the cmdline } { switch assembler if it's binary and we got -a on the cmdline }
if (cs_asm_leave in init_settings.globalswitches) and if ((cs_asm_leave in init_settings.globalswitches) and
(af_outputbinary in target_asm.flags) then (af_outputbinary in target_asm.flags)) or
{ if -s is passed, we shouldn't call the internal assembler }
(cs_asm_extern in init_settings.globalswitches) then
begin begin
Message(option_switch_bin_to_src_assembler); Message(option_switch_bin_to_src_assembler);
set_target_asm(target_info.assemextern); set_target_asm(target_info.assemextern);