diff -c3pbB --exclude-from=.patch_ignore src/opcodes/ChangeLog src-dlx/opcodes/ChangeLog *** src/opcodes/ChangeLog Thu May 23 21:51:13 2002 --- src-dlx/opcodes/ChangeLog Thu May 23 23:11:11 2002 *************** *** 1,3 **** --- 1,11 ---- + 2002-05-22 Kuang Hwa Lin + + * configure, configure.in: Added DLX configuraton support. + + * disassemble.c: Modified/Added DLX support. + + * dlx-dis.c: New files to support DLX target. + Wed May 22 20:11:51 2002 J"orn Rennecke * Makefile.am (sh-dis.lo): Compile with @archdefs@. diff -c3pbB --exclude-from=.patch_ignore src/opcodes/configure src-dlx/opcodes/configure *** src/opcodes/configure Sun May 19 12:44:55 2002 --- src-dlx/opcodes/configure Sun May 19 12:46:09 2002 *************** if test x${all_targets} = xfalse ; then *** 4594,4599 **** --- 4594,4600 ---- ad=`echo $arch | sed -e s/bfd_//g -e s/_arch//g` archdefs="$archdefs -DARCH_$ad" case "$arch" in + bfd_dlx_arch) ta="$ta dlx-dis.lo" ;; bfd_a29k_arch) ta="$ta a29k-dis.lo" ;; bfd_alliant_arch) ;; bfd_alpha_arch) ta="$ta alpha-dis.lo alpha-opc.lo" ;; diff -c3pbB --exclude-from=.patch_ignore src/opcodes/configure.in src-dlx/opcodes/configure.in *** src/opcodes/configure.in Sun May 19 12:44:55 2002 --- src-dlx/opcodes/configure.in Sun May 19 12:46:10 2002 *************** if test x${all_targets} = xfalse ; then *** 169,174 **** --- 169,175 ---- ad=`echo $arch | sed -e s/bfd_//g -e s/_arch//g` archdefs="$archdefs -DARCH_$ad" case "$arch" in + bfd_dlx_arch) ta="$ta dlx-dis.lo" ;; bfd_a29k_arch) ta="$ta a29k-dis.lo" ;; bfd_alliant_arch) ;; bfd_alpha_arch) ta="$ta alpha-dis.lo alpha-opc.lo" ;; diff -c3pbB --exclude-from=.patch_ignore src/opcodes/disassemble.c src-dlx/opcodes/disassemble.c *** src/opcodes/disassemble.c Sun May 19 12:44:55 2002 --- src-dlx/opcodes/disassemble.c Sun May 19 12:46:10 2002 *************** Foundation, Inc., 59 Temple Place - Suit *** 20,25 **** --- 20,26 ---- #include "dis-asm.h" #ifdef ARCH_all + #define ARCH_dlx #define ARCH_a29k #define ARCH_alpha #define ARCH_arc *************** disassembler (abfd) *** 80,85 **** --- 81,93 ---- { /* If you add a case to this table, also add it to the ARCH_all definition right above this function. */ + #ifdef ARCH_dlx + case bfd_arch_dlx: + /* As far as I know we only handle big-endian dlx objects. */ + disassemble = print_insn_big_dlx; + break; + #endif + #ifdef ARCH_a29k case bfd_arch_a29k: /* As far as I know we only handle big-endian 29k objects. */ Only in src-dlx/opcodes: dlx-dis.c