Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libld/Makefile.com
          +++ new/usr/src/cmd/sgs/libld/Makefile.com
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
  27   28  LIBRARY =       libld.a
  28   29  VERS =          .4
  29   30  
  30   31  COMOBJS =       debug.o         globals.o       util.o
  31   32  
  32   33  COMOBJS32 =     args32.o        entry32.o       exit32.o        groups32.o \
  33   34                  ldentry32.o     ldlibs32.o      ldmachdep32.o   ldmain32.o \
  34   35                  libs32.o        files32.o       map32.o         map_core32.o \
  35   36                  map_support32.o map_v232.o      order32.o       outfile32.o \
↓ open down ↓ 51 lines elided ↑ open up ↑
  87   88  
  88   89  SRCDIR =        ../common
  89   90  
  90   91  CERRWARN += -_gcc=-Wno-unused-value
  91   92  CERRWARN += -_gcc=-Wno-parentheses
  92   93  CERRWARN += -_gcc=-Wno-uninitialized
  93   94  CERRWARN += -_gcc=-Wno-switch
  94   95  CERRWARN += -_gcc=-Wno-char-subscripts
  95   96  CERRWARN += -_gcc=-Wno-type-limits
  96   97  
       98 +SMOFF += no_if_block
       99 +
  97  100  # Location of the shared relocation engines maintained under usr/src/uts.
  98  101  #
  99  102  KRTLD_I386 = $(SRCBASE)/uts/$(VAR_PLAT_i386)/krtld
 100  103  KRTLD_AMD64 = $(SRCBASE)/uts/$(VAR_PLAT_amd64)/krtld
 101  104  KRTLD_SPARC = $(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld
 102  105  
 103  106  
 104  107  CPPFLAGS +=     -DUSE_LIBLD_MALLOC -I$(SRCBASE)/lib/libc/inc \
 105  108                      -I$(SRCBASE)/uts/common/krtld -I$(SRCBASE)/uts/sparc \
 106  109                      $(VAR_LIBLD_CPPFLAGS)
↓ open down ↓ 67 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX