diff -c3pbB --exclude-from=.patch_ignore src/binutils/ChangeLog src-dlx/binutils/ChangeLog *** src/binutils/ChangeLog Thu May 23 21:48:14 2002 --- src-dlx/binutils/ChangeLog Thu May 23 23:09:23 2002 *************** *** 1,3 **** --- 1,7 ---- + 2002-05-22 Kuang Hwa Lin + + * readelf.c: Modified/Added DLX elf support. + 2002-05-23 Kazu Hirata * size.c: Fix formatting. Common subdirectories: src/binutils/doc and src-dlx/binutils/doc diff -c3pbB --exclude-from=.patch_ignore src/binutils/readelf.c src-dlx/binutils/readelf.c *** src/binutils/readelf.c Thu May 23 21:48:16 2002 --- src-dlx/binutils/readelf.c Thu May 23 21:40:59 2002 *************** *** 79,84 **** --- 79,85 ---- #include "elf/v850.h" #include "elf/x86-64.h" #include "elf/xstormy16.h" + #include "elf/dlx.h" #include "bucomm.h" #include "getopt.h" *************** guess_is_rela (e_machine) *** 601,606 **** --- 602,608 ---- case EM_386: case EM_486: case EM_960: + case EM_DLX: case EM_OPENRISC: case EM_OR32: case EM_M32R: *************** dump_relocations (file, rel_offset, rel_ *** 979,984 **** --- 981,990 ---- rtype = elf_i960_reloc_type (type); break; + case EM_DLX: + rtype = elf_dlx_reloc_type (type); + break; + case EM_AVR: case EM_AVR_OLD: rtype = elf_avr_reloc_type (type); *************** get_machine_name (e_machine) *** 1537,1542 **** --- 1543,1549 ---- case EM_XSTORMY16: return "Sanyo Xstormy16 CPU core"; case EM_OPENRISC: case EM_OR32: return "OpenRISC"; + case EM_DLX: return "OpenDLX"; default: sprintf (buff, _(": %x"), e_machine); return buff; Common subdirectories: src/binutils/testsuite and src-dlx/binutils/testsuite