Add Visium support to binutils

binutils/
	* readelf.c: Include elf/visium.h.
	(guess_is_rela): Deal with EM_VISIUM.
	(dump_relocations): Likewise.
	(get_machine_name): Likewise.
	(get_machine_flags): Likewise.
	(get_osabi_name): Likewise.
	(is_32bit_abs_reloc): Likewise.
	(is_32bit_pcrel_reloc): Likewise.
	(is_16bit_abs_reloc): Likewise.
binutils/testsuite:
	* binutils-all/objcopy.exp: Skip strip-10 for Visium.
This commit is contained in:
Eric Botcazou
2014-12-06 16:39:24 +01:00
parent d924db559b
commit 619ed72008
4 changed files with 40 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2014-12-06 Eric Botcazou <ebotcazou@adacore.com>
* binutils-all/objcopy.exp: Skip strip-10 for Visium.
2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
* binutils-all/objcopy.exp: Add mips*-img-elf* target triple.

View File

@@ -956,6 +956,7 @@ if [is_elf_format] {
# Non-EABI ARM targets will set OSABI to ARM
if { ![istarget "*-*-hpux*"]
&& ![istarget "msp*-*-*"]
&& ![istarget "visium-*-*"]
&& !([istarget "arm*-*-*"] && ![istarget "arm-*-*eabi*"])} {
run_dump_test "strip-10"
}