Skip to content

Commit

Permalink
Merge pull request #23 from chkp-eyalit/master
Browse files Browse the repository at this point in the history
[Bugfix] Restore arm-thumb support
  • Loading branch information
chkp-eyalit authored Oct 13, 2020
2 parents 3f1696c + 8918c88 commit bb9b50b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/scout_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ def generateCompilationFlags(compile_flags, link_flags, logger):
else:
basic_compile_flags += ['mbig-endian']
basic_link_flags += ['EB']
# Thumb
basic_compile_flags += ['mthumb'] if (flag_arc_thumb in config_flags) else []

# Endianness - Mips
elif config_arc == flag_arc_mips:
if config_endianness == flag_little_endian:
Expand All @@ -312,9 +315,6 @@ def generateCompilationFlags(compile_flags, link_flags, logger):
basic_compile_flags += ['EB']
basic_link_flags += ['EB']

# Thumb
basic_compile_flags += ['mthumb'] if (flag_arc_thumb in config_flags) else []

# PC Environment
if config_env == flag_env_pc:
basic_compile_flags += basic_pc_compile_flags
Expand Down

0 comments on commit bb9b50b

Please sign in to comment.