Print this page
6066 dis: support for System/370, System/390, and z/Architecture ELF bins

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdisasm/Makefile.com
          +++ new/usr/src/lib/libdisasm/Makefile.com
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  OBJECTS_common=         libdisasm.o
  51   51  
  52   52  #
  53   53  # Architecture-dependent disassembly files
  54   54  #
  55   55  SRCS_i386=              $(COMDIR)/dis_i386.c \
  56   56                          $(SRC)/common/dis/i386/dis_tables.c
  57   57  SRCS_sparc=             $(COMDIR)/dis_sparc.c \
  58   58                          $(COMDIR)/dis_sparc_fmt.c \
  59   59                          $(COMDIR)/dis_sparc_instr.c
       60 +SRCS_s390x=             $(COMDIR)/dis_s390x.c
  60   61  
  61   62  OBJECTS_i386=           dis_i386.o \
  62   63                          dis_tables.o
  63   64  OBJECTS_sparc=          dis_sparc.o \
  64   65                          dis_sparc_fmt.o \
  65   66                          dis_sparc_instr.o
       67 +OBJECTS_s390x=          dis_s390x.o
  66   68  
  67   69  #
  68   70  # We build the regular shared library with support for all architectures.
  69   71  # The standalone version should only contain code for the native
  70   72  # architecture to reduce the memory footprint of kmdb.
  71   73  #
  72   74  OBJECTS_library=        $(OBJECTS_common) \
  73   75                          $(OBJECTS_i386) \
  74      -                        $(OBJECTS_sparc)
       76 +                        $(OBJECTS_sparc) \
       77 +                        $(OBJECTS_s390x)
  75   78  OBJECTS_standalone=     $(OBJECTS_common) \
  76   79                          $(OBJECTS_$(MACH))
  77   80  OBJECTS=                $(OBJECTS_$(CURTYPE))
  78   81  
  79   82  include $(SRC)/lib/Makefile.lib
  80   83  
  81   84  SRCS_library=           $(SRCS_common) \
  82   85                          $(SRCS_i386) \
  83      -                        $(SRCS_sparc)
       86 +                        $(SRCS_sparc) \
       87 +                        $(SRCS_s390x)
  84   88  SRCS_standalone=        $(SRCS_common) \
  85   89                          $(SRCS_$(MACH))
  86   90  SRCS=                   $(SRCS_$(CURTYPE))
  87   91  
  88   92  #
  89   93  # Used to verify that the standalone doesn't have any unexpected external
  90   94  # dependencies.
  91   95  #
  92   96  LINKTEST_OBJ = objs/linktest_stand.o
  93   97  
↓ open down ↓ 49 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX