projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix possible bug when no args have been provided to the executable
[deliverable/binutils-gdb.git]
/
binutils
/
elfedit.c
diff --git
a/binutils/elfedit.c
b/binutils/elfedit.c
index 1bcb48aba89bb87b9394fe27cd5ea7d971f36af3..0c84028a29bd075ec82ea85b7707aab24ea30b3b 100644
(file)
--- a/
binutils/elfedit.c
+++ b/
binutils/elfedit.c
@@
-1,5
+1,5
@@
/* elfedit.c -- Update the ELF header of an ELF format file
/* elfedit.c -- Update the ELF header of an ELF format file
- Copyright (C) 2010-201
5
Free Software Foundation, Inc.
+ Copyright (C) 2010-201
7
Free Software Foundation, Inc.
This file is part of GNU Binutils.
This file is part of GNU Binutils.
@@
-82,8
+82,7
@@
elf_class (int mach)
case EM_NONE:
return ELF_CLASS_BOTH;
default:
case EM_NONE:
return ELF_CLASS_BOTH;
default:
- error (_("Unknown machine type: %d\n"), mach);
- return ELF_CLASS_UNKNOWN;
+ return ELF_CLASS_BOTH;
}
}
}
}
@@
-656,7
+655,7
@@
static struct option options[] =
{0, no_argument, 0, 0}
};
{0, no_argument, 0, 0}
};
-static void
+
ATTRIBUTE_NORETURN
static void
usage (FILE *stream, int exit_status)
{
fprintf (stream, _("Usage: %s <option(s)> elffile(s)\n"),
usage (FILE *stream, int exit_status)
{
fprintf (stream, _("Usage: %s <option(s)> elffile(s)\n"),
This page took
0.023803 seconds
and
4
git commands to generate.