From: H.J. Lu Date: Wed, 13 May 2015 10:57:46 +0000 (-0700) Subject: Return ELF_CLASS_BOTH by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa9f7286724c2e47077f2f5456d464a961f8e8a4;p=binutils-gdb.git Return ELF_CLASS_BOTH by default * elfedit.c (elf_class): Return ELF_CLASS_BOTH by default. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ee9a793fbf2..333a82df305 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2015-05-13 H.J. Lu + + * elfedit.c (elf_class): Return ELF_CLASS_BOTH by default. + 2015-05-13 Andreas Krebbel * MAINTAINERS: Add myself as s390 and s390x maintainer. diff --git a/binutils/elfedit.c b/binutils/elfedit.c index 1bcb48aba89..02b9c98f851 100644 --- a/binutils/elfedit.c +++ b/binutils/elfedit.c @@ -82,8 +82,7 @@ elf_class (int mach) case EM_NONE: return ELF_CLASS_BOTH; default: - error (_("Unknown machine type: %d\n"), mach); - return ELF_CLASS_UNKNOWN; + return ELF_CLASS_BOTH; } }