Print this page
9884 cw(1) should use -fpic rather than -Kpic


  51 CRTI=           pics/crti.o
  52 CRTN=           pics/crtn.o
  53 CRTS=           $(CRTI)         $(CRTN)
  54 
  55 CHKSRCS=        $(SRCBASE)/uts/common/krtld/reloc.h
  56 
  57 BASEPLAT =      sparc
  58 
  59 include         $(SRC)/Makefile.master
  60 
  61 # This is safe because linking is done only with the primary compiler.
  62 MAPFILE-ORDER =         ../common/mapfile-order-devpro
  63 $(__GNUC)MAPFILE-ORDER =        ../common/mapfile-order-gcc
  64 
  65 include         $(SRC)/cmd/sgs/rtld/Makefile.com
  66 
  67 # Add any a.out and machine specific flags.
  68 
  69 CPPFLAGS +=     -I../../../../uts/sparc/krtld -DA_OUT
  70 CFLAGS +=       -xregs=no%appl
  71 ASFLAGS +=      -K pic
  72 LINTFLAGS +=    -DA_OUT
  73 ADBGENCFLAGS += -erroff=%all
  74 ADBGENFLAGS +=  -milp32
  75 ADBSUB=         $(ADBSUB32)
  76 SONAME=         /lib/ld.so.1
  77 
  78 SGSMSGTARG +=   $(SGSMSGSPARC) $(SGSMSGSPARC32) $(SGSMSG32)
  79 
  80 .KEEP_STATE:
  81 
  82 all:            $(RTLD)
  83 
  84 install:        all $(ROOTDYNLIB)
  85 
  86 lint:           $(LINTOUT32)
  87 
  88 adbmacros:      adb .WAIT $(ADBSCRIPTS)
  89 
  90 adbinstall:     adbmacros .WAIT $(ROOTADB)
  91 


  51 CRTI=           pics/crti.o
  52 CRTN=           pics/crtn.o
  53 CRTS=           $(CRTI)         $(CRTN)
  54 
  55 CHKSRCS=        $(SRCBASE)/uts/common/krtld/reloc.h
  56 
  57 BASEPLAT =      sparc
  58 
  59 include         $(SRC)/Makefile.master
  60 
  61 # This is safe because linking is done only with the primary compiler.
  62 MAPFILE-ORDER =         ../common/mapfile-order-devpro
  63 $(__GNUC)MAPFILE-ORDER =        ../common/mapfile-order-gcc
  64 
  65 include         $(SRC)/cmd/sgs/rtld/Makefile.com
  66 
  67 # Add any a.out and machine specific flags.
  68 
  69 CPPFLAGS +=     -I../../../../uts/sparc/krtld -DA_OUT
  70 CFLAGS +=       -xregs=no%appl
  71 ASFLAGS +=      $(AS_PICFLAGS)
  72 LINTFLAGS +=    -DA_OUT
  73 ADBGENCFLAGS += -erroff=%all
  74 ADBGENFLAGS +=  -milp32
  75 ADBSUB=         $(ADBSUB32)
  76 SONAME=         /lib/ld.so.1
  77 
  78 SGSMSGTARG +=   $(SGSMSGSPARC) $(SGSMSGSPARC32) $(SGSMSG32)
  79 
  80 .KEEP_STATE:
  81 
  82 all:            $(RTLD)
  83 
  84 install:        all $(ROOTDYNLIB)
  85 
  86 lint:           $(LINTOUT32)
  87 
  88 adbmacros:      adb .WAIT $(ADBSCRIPTS)
  89 
  90 adbinstall:     adbmacros .WAIT $(ROOTADB)
  91