Print this page
11506 smatch resync


   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # Copyright (c) 2018, Joyent, Inc.
  27 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  28 
  29 LIBRARY =       libld.a
  30 VERS =          .4
  31 
  32 COMOBJS =       debug.o         globals.o       util.o
  33 
  34 COMOBJS32 =     args32.o        entry32.o       exit32.o        groups32.o \
  35                 ldentry32.o     ldlibs32.o      ldmachdep32.o   ldmain32.o \
  36                 libs32.o        files32.o       map32.o         map_core32.o \
  37                 map_support32.o map_v232.o      order32.o       outfile32.o \
  38                 place32.o       relocate32.o    resolve32.o     sections32.o \
  39                 sunwmove32.o    support32.o     syms32.o        update32.o \
  40                 unwind32.o      version32.o     wrap32.o
  41 
  42 COMOBJS64 =     args64.o        entry64.o       exit64.o        groups64.o \
  43                 ldentry64.o     ldlibs64.o      ldmachdep64.o   ldmain64.o \
  44                 libs64.o        files64.o       map64.o         map_core64.o \
  45                 map_support64.o map_v264.o      order64.o       outfile64.o \
  46                 place64.o       relocate64.o    resolve64.o     sections64.o \


  96 
  97 SMOFF += no_if_block
  98 
  99 # Location of the shared relocation engines maintained under usr/src/uts.
 100 #
 101 KRTLD_I386 = $(SRCBASE)/uts/$(VAR_PLAT_i386)/krtld
 102 KRTLD_AMD64 = $(SRCBASE)/uts/$(VAR_PLAT_amd64)/krtld
 103 KRTLD_SPARC = $(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld
 104 
 105 
 106 CPPFLAGS +=     -DUSE_LIBLD_MALLOC -I$(SRCBASE)/lib/libc/inc \
 107                     -I$(SRCBASE)/uts/common/krtld -I$(SRCBASE)/uts/sparc \
 108                     $(VAR_LIBLD_CPPFLAGS)
 109 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(LDDBGLIBDIR) $(LDDBG_LIB) \
 110                     $(ELFLIBDIR) -lelf $(DLLIB) -lc
 111 
 112 DYNFLAGS +=     $(VERSREF) $(CC_USE_PROTO) '-R$$ORIGIN'
 113 
 114 native:=        DYNFLAGS        += $(CONVLIBDIR)
 115 




 116 BLTDEFS =       msg.h
 117 BLTDATA =       msg.c
 118 BLTMESG =       $(SGSMSGDIR)/libld
 119 
 120 BLTFILES =      $(BLTDEFS) $(BLTDATA) $(BLTMESG)
 121 
 122 # Due to cross linking support, every copy of libld contains every message.
 123 # However, we keep target specific messages in their own separate files for
 124 # organizational reasons.
 125 #
 126 SGSMSGCOM =     ../common/libld.msg
 127 SGSMSGSPARC =   ../common/libld.sparc.msg
 128 SGSMSGINTEL =   ../common/libld.intel.msg
 129 SGSMSGTARG =    $(SGSMSGCOM) $(SGSMSGSPARC) $(SGSMSGINTEL)
 130 SGSMSGALL =     $(SGSMSGCOM) $(SGSMSGSPARC) $(SGSMSGINTEL)
 131 
 132 SGSMSGFLAGS1 =  $(SGSMSGFLAGS) -m $(BLTMESG)
 133 SGSMSGFLAGS2 =  $(SGSMSGFLAGS) -h $(BLTDEFS) -d $(BLTDATA) -n libld_msg
 134 
 135 CHKSRCS =       $(SRCBASE)/uts/common/krtld/reloc.h \


   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # Copyright 2019 Joyent, Inc.
  27 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  28 
  29 LIBRARY =       libld.a
  30 VERS =          .4
  31 
  32 COMOBJS =       debug.o         globals.o       util.o
  33 
  34 COMOBJS32 =     args32.o        entry32.o       exit32.o        groups32.o \
  35                 ldentry32.o     ldlibs32.o      ldmachdep32.o   ldmain32.o \
  36                 libs32.o        files32.o       map32.o         map_core32.o \
  37                 map_support32.o map_v232.o      order32.o       outfile32.o \
  38                 place32.o       relocate32.o    resolve32.o     sections32.o \
  39                 sunwmove32.o    support32.o     syms32.o        update32.o \
  40                 unwind32.o      version32.o     wrap32.o
  41 
  42 COMOBJS64 =     args64.o        entry64.o       exit64.o        groups64.o \
  43                 ldentry64.o     ldlibs64.o      ldmachdep64.o   ldmain64.o \
  44                 libs64.o        files64.o       map64.o         map_core64.o \
  45                 map_support64.o map_v264.o      order64.o       outfile64.o \
  46                 place64.o       relocate64.o    resolve64.o     sections64.o \


  96 
  97 SMOFF += no_if_block
  98 
  99 # Location of the shared relocation engines maintained under usr/src/uts.
 100 #
 101 KRTLD_I386 = $(SRCBASE)/uts/$(VAR_PLAT_i386)/krtld
 102 KRTLD_AMD64 = $(SRCBASE)/uts/$(VAR_PLAT_amd64)/krtld
 103 KRTLD_SPARC = $(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld
 104 
 105 
 106 CPPFLAGS +=     -DUSE_LIBLD_MALLOC -I$(SRCBASE)/lib/libc/inc \
 107                     -I$(SRCBASE)/uts/common/krtld -I$(SRCBASE)/uts/sparc \
 108                     $(VAR_LIBLD_CPPFLAGS)
 109 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(LDDBGLIBDIR) $(LDDBG_LIB) \
 110                     $(ELFLIBDIR) -lelf $(DLLIB) -lc
 111 
 112 DYNFLAGS +=     $(VERSREF) $(CC_USE_PROTO) '-R$$ORIGIN'
 113 
 114 native:=        DYNFLAGS        += $(CONVLIBDIR)
 115 
 116 # too hairy
 117 pics/sections32.o := SMATCH=off
 118 pics/sections64.o := SMATCH=off
 119 
 120 BLTDEFS =       msg.h
 121 BLTDATA =       msg.c
 122 BLTMESG =       $(SGSMSGDIR)/libld
 123 
 124 BLTFILES =      $(BLTDEFS) $(BLTDATA) $(BLTMESG)
 125 
 126 # Due to cross linking support, every copy of libld contains every message.
 127 # However, we keep target specific messages in their own separate files for
 128 # organizational reasons.
 129 #
 130 SGSMSGCOM =     ../common/libld.msg
 131 SGSMSGSPARC =   ../common/libld.sparc.msg
 132 SGSMSGINTEL =   ../common/libld.intel.msg
 133 SGSMSGTARG =    $(SGSMSGCOM) $(SGSMSGSPARC) $(SGSMSGINTEL)
 134 SGSMSGALL =     $(SGSMSGCOM) $(SGSMSGSPARC) $(SGSMSGINTEL)
 135 
 136 SGSMSGFLAGS1 =  $(SGSMSGFLAGS) -m $(BLTMESG)
 137 SGSMSGFLAGS2 =  $(SGSMSGFLAGS) -h $(BLTDEFS) -d $(BLTDATA) -n libld_msg
 138 
 139 CHKSRCS =       $(SRCBASE)/uts/common/krtld/reloc.h \