diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-05-11 09:57:20 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-05-11 09:57:21 -0700 |
commit | 6c14750f48f179e0fed8abc34010de3e05ec2a54 (patch) | |
tree | ddd595bd8880b8c73a7b058e840f44cfcdbaf949 /binutils/ChangeLog | |
parent | 22abe5566abcf48d81c4b485de722f2634d394f2 (diff) | |
download | gdb-6c14750f48f179e0fed8abc34010de3e05ec2a54.zip gdb-6c14750f48f179e0fed8abc34010de3e05ec2a54.tar.gz gdb-6c14750f48f179e0fed8abc34010de3e05ec2a54.tar.bz2 |
Add EM_386/EM_IAMCU support to elfedit.c
binutils/
* elfedit.c (enum elfclass): New.
(input_elf_class): Change type to enum elfclass.
(output_elf_class): New.
(elf_class): Change return type to enum elfclass. Support EM_386
and EM_IAMCU.
(update_elf_header): Check if input and output ELF classes match.
(elf_machine): Support EM_386 and EM_IAMCU.
(main): Update input_elf_class. Set output_elf_class.
* doc/binutils.texi: Update elfedit.
binutils/testsuite/
* binutils-all/elfedit-5.d: New file.
* binutils-all/elfedit.exp: Run elfedit-5.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 37378a5..70b9aae 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,17 @@ 2015-05-11 H.J. Lu <hongjiu.lu@intel.com> + * elfedit.c (enum elfclass): New. + (input_elf_class): Change type to enum elfclass. + (output_elf_class): New. + (elf_class): Change return type to enum elfclass. Support EM_386 + and EM_IAMCU. + (update_elf_header): Check if input and output ELF classes match. + (elf_machine): Support EM_386 and EM_IAMCU. + (main): Update input_elf_class. Set output_elf_class. + * doc/binutils.texi: Update elfedit. + +2015-05-11 H.J. Lu <hongjiu.lu@intel.com> + * dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU. * readelf.c (guess_is_rela): Likewise. (dump_relocations): Likewise. |