aboutsummaryrefslogtreecommitdiff
path: root/binutils/elfedit.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-05-13 03:57:46 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-05-13 03:57:46 -0700
commitaa9f7286724c2e47077f2f5456d464a961f8e8a4 (patch)
tree2763bbdab6a00b0ae7cbef80d0dee23e20ef16b5 /binutils/elfedit.c
parent6604eb5f404cb2590ee417f45cf006442f976676 (diff)
downloadbinutils-aa9f7286724c2e47077f2f5456d464a961f8e8a4.zip
binutils-aa9f7286724c2e47077f2f5456d464a961f8e8a4.tar.gz
binutils-aa9f7286724c2e47077f2f5456d464a961f8e8a4.tar.bz2
Return ELF_CLASS_BOTH by default
* elfedit.c (elf_class): Return ELF_CLASS_BOTH by default.
Diffstat (limited to 'binutils/elfedit.c')
-rw-r--r--binutils/elfedit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/binutils/elfedit.c b/binutils/elfedit.c
index 1bcb48a..02b9c98 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;
}
}