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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/rtld/sparc/Makefile
          +++ new/usr/src/cmd/sgs/rtld/sparc/Makefile
↓ open down ↓ 60 lines elided ↑ open up ↑
  61   61  # This is safe because linking is done only with the primary compiler.
  62   62  MAPFILE-ORDER =         ../common/mapfile-order-devpro
  63   63  $(__GNUC)MAPFILE-ORDER =        ../common/mapfile-order-gcc
  64   64  
  65   65  include         $(SRC)/cmd/sgs/rtld/Makefile.com
  66   66  
  67   67  # Add any a.out and machine specific flags.
  68   68  
  69   69  CPPFLAGS +=     -I../../../../uts/sparc/krtld -DA_OUT
  70   70  CFLAGS +=       -xregs=no%appl
  71      -ASFLAGS +=      -K pic
       71 +ASFLAGS +=      $(AS_PICFLAGS)
  72   72  LINTFLAGS +=    -DA_OUT
  73   73  ADBGENCFLAGS += -erroff=%all
  74   74  ADBGENFLAGS +=  -milp32
  75   75  ADBSUB=         $(ADBSUB32)
  76   76  SONAME=         /lib/ld.so.1
  77   77  
  78   78  SGSMSGTARG +=   $(SGSMSGSPARC) $(SGSMSGSPARC32) $(SGSMSG32)
  79   79  
  80   80  .KEEP_STATE:
  81   81  
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX