Print this page
11238 librtld_db demos should work with gcc 7

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/librtld_db/demo/Makefile.targ
          +++ new/usr/src/cmd/sgs/librtld_db/demo/Makefile.targ
↓ open down ↓ 52 lines elided ↑ open up ↑
  53   53                  $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  54   54  # DEMO DELETE START
  55   55                  $(POST_PROCESS)
  56   56  # DEMO DELETE END
  57   57  
  58   58  
  59   59  simp: ../tests/simp.c libsub.so.1
  60   60                  $(LINK.c) $(LDFLAG) -o $@ ../tests/simp.c -R. ./libsub.so.1
  61   61  
  62   62  libsub.so.1: ../tests/sub.c
  63      -                $(LINK.c) $(LDFLAG) -o $@ -G -Kpic -hlibsub.so.1 ../tests/sub.c
       63 +                $(LINK.c) $(LDFLAG) -o $@ -G -fpic -hlibsub.so.1 ../tests/sub.c
  64   64  
  65   65  #
  66   66  # RDB sample runs & tests
  67   67  #
  68   68  test-maps: simp FRC
  69   69                  ./rdb -f ../tests/loadmaps ./simp
  70   70  
  71   71  test-breaks: simp FRC
  72   72                  ./rdb -f ../tests/breaks ./simp
  73   73  
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX