diff options
author | Piotr Jasiukajtis <estibi@me.com> | 2014-02-04 20:31:57 +0100 |
---|---|---|
committer | Dan McDonald <danmcd@omniti.com> | 2014-10-17 18:00:52 -0400 |
commit | 25c28e83beb90e7c80452a7c818c5e6f73a07dc8 (patch) | |
tree | 95cb102e7fb37f52d4b3ec3e44508f352a335ee5 /usr/src/tools/aw/aw.c | |
parent | 4e6070e87069f63bef94d8e79c2fc3cab2c1ab6b (diff) | |
download | illumos-gate-25c28e83beb90e7c80452a7c818c5e6f73a07dc8.tar.gz |
693 Opensource replacement of sunwlibm
Reviewed by: Igor Kozhukhov ikozhukhov@gmail.com
Reviewed by: Keith M Wesolowski <keith.wesolowski@joyent.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Dan McDonald <danmcd@omniti.com>
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 |