diff options
Diffstat (limited to 'usr/src/tools/aw/aw.c')
-rw-r--r-- | usr/src/tools/aw/aw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/tools/aw/aw.c b/usr/src/tools/aw/aw.c index 36891b1a9c..ba7d663187 100644 --- a/usr/src/tools/aw/aw.c +++ b/usr/src/tools/aw/aw.c @@ -571,8 +571,9 @@ main(int argc, char *argv[]) * preprocessor, if present, or to gas if not. */ filename = arg; - if (arglen > 2 && - strcmp(arg + arglen - 2, ".s") == 0) { + if ((arglen > 2) && + ((strcmp(arg + arglen - 2, ".s") == 0) || + (strcmp(arg + arglen - 2, ".S") == 0))) { /* * Though 'as' allows multiple assembler * files to be processed in one invocation |