aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Driver.ml
diff options
context:
space:
mode:
Diffstat (limited to 'driver/Driver.ml')
-rwxr-xr-xdriver/Driver.ml7
1 files changed, 5 insertions, 2 deletions
diff --git a/driver/Driver.ml b/driver/Driver.ml
index d154c95b..3219b7b7 100755
--- a/driver/Driver.ml
+++ b/driver/Driver.ml
@@ -271,7 +271,7 @@ Recognized source files:
.i or .p C source file that should not be preprocessed
.cm Cminor source file
.s Assembly file
- .S Assembly file that must be preprocessed
+ .S or .sx Assembly file that must be preprocessed
.o Object file
.a Library file
Processing options:
@@ -312,7 +312,8 @@ Code generation options: (use -fno-<opt> to turn off -f<opt>)
-fsmall-const <n> Set maximal size <n> for allocation in small constant area
-falign-functions <n> Set alignment (in bytes) of function entry points
-falign-branch-targets <n> Set alignment (in bytes) of branch targets
- -falign-cond-branches <n> Set alignment (in bytes) of conditional branches|} ^
+ -falign-cond-branches <n> Set alignment (in bytes) of conditional branches
+|} ^
target_help ^
assembler_help ^
linker_help ^
@@ -503,6 +504,8 @@ let cmdline_actions =
push_action process_s_file s; incr num_source_files; incr num_input_files);
Suffix ".S", Self (fun s ->
push_action process_S_file s; incr num_source_files; incr num_input_files);
+ Suffix ".sx", Self (fun s ->
+ push_action process_S_file s; incr num_source_files; incr num_input_files);
Suffix ".o", Self (fun s -> push_linker_arg s; incr num_input_files);
Suffix ".a", Self (fun s -> push_linker_arg s; incr num_input_files);
(* GCC compatibility: .o.ext files and .so files are also object files *)