Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def gcc_compile(test_list, output_dir, isa, mabi, opts, debug_cmd):
logging.error("Cannot find assembly test: {}\n".format(asm))
sys.exit(RET_FAIL)
# gcc compilation
cmd = ("{} -static -mcmodel=medany \
cmd = ("{} -static -mcmodel=medlow \
-fvisibility=hidden -nostdlib \
-nostartfiles {} \
-I{}/user_extension \
Expand Down Expand Up @@ -483,7 +483,7 @@ def run_assembly(asm_test, iss_yaml, isa, mabi, gcc_opts, iss_opts, output_dir,
logging.info("Compiling assembly test : {}".format(asm_test))

# gcc compilation
cmd = ("{} -static -mcmodel=medany \
cmd = ("{} -static -mcmodel=medlow \
-fvisibility=hidden -nostdlib \
-nostartfiles {} \
-I{}/user_extension \
Expand Down Expand Up @@ -576,7 +576,7 @@ def run_c(c_test, iss_yaml, isa, mabi, gcc_opts, iss_opts, output_dir,
logging.info("Compiling c test : {}".format(c_test))

# gcc compilation
cmd = ("{} -mcmodel=medany -nostdlib \
cmd = ("{} -mcmodel=medlow -nostdlib \
-nostartfiles {} \
-I{}/user_extension \
-T{}/scripts/link.ld {} -o {} ".format(
Expand Down