Print this page
libm fixes from richlowe - richlowe.net/webrevs/il_keith
patch01 - 693 import Sun Devpro Math Library

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/aw/aw.c
          +++ new/usr/src/tools/aw/aw.c
↓ open down ↓ 563 lines elided ↑ open up ↑
 564  564  
 565  565                          /*
 566  566                           * filenames ending in '.s' are taken to be
 567  567                           * assembler files, and provide the default
 568  568                           * basename of the output file.
 569  569                           *
 570  570                           * other files are passed through to the
 571  571                           * preprocessor, if present, or to gas if not.
 572  572                           */
 573  573                          filename = arg;
 574      -                        if (arglen > 2 &&
 575      -                            strcmp(arg + arglen - 2, ".s") == 0) {
      574 +                        if ((arglen > 2) &&
      575 +                            ((strcmp(arg + arglen - 2, ".s") == 0) ||
      576 +                            (strcmp(arg + arglen - 2, ".S") == 0))) {
 576  577                                  /*
 577  578                                   * Though 'as' allows multiple assembler
 578  579                                   * files to be processed in one invocation
 579  580                                   * of the assembler, ON only processes one
 580  581                                   * file at a time, which makes things a lot
 581  582                                   * simpler!
 582  583                                   */
 583  584                                  if (srcfile == NULL)
 584  585                                          srcfile = arg;
 585  586                                  else
↓ open down ↓ 199 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX