Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/ml/modstubs.s
          +++ new/usr/src/uts/sparc/ml/modstubs.s
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright 2016 Nexenta Systems, Inc.
  25   25   * Copyright (c) 2017, Joyent, Inc. All rights reserved.
  26   26   */
  27   27  
  28      -#if !defined(lint)
  29   28  #include "assym.h"
  30      -#endif /* !lint */
  31   29  
  32   30  #include <sys/asm_linkage.h>
  33   31  
  34      -#if defined(lint)
  35      -
  36      -char stubs_base[1], stubs_end[1];
  37      -
  38      -#else   /* lint */
  39      -
  40   32  /*
  41   33   * WARNING: there is no check for forgetting to write END_MODULE,
  42   34   * and if you do, the kernel will most likely crash.  Be careful
  43   35   *
  44   36   * This file assumes that all of the contributions to the data segment
  45   37   * will be contiguous in the output file, even though they are separated
  46   38   * by pieces of text.  This is safe for all assemblers I know of now...
  47   39   */
  48   40  
  49   41  /*
↓ open down ↓ 1227 lines elided ↑ open up ↑
1277 1269          STUB(elfexec, mapexec32_brand,  nomod_einval);
1278 1270          END_MODULE(elfexec);
1279 1271  #endif
1280 1272  
1281 1273  ! this is just a marker for the area of text that contains stubs
1282 1274          .seg ".text"
1283 1275          .global stubs_end
1284 1276  stubs_end:
1285 1277          nop
1286 1278  
1287      -#endif  /* lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX