diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-12-29 10:37:24 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-12-29 10:37:24 -0800 |
commit | 2e635a01574d001fd26e8b23778d63b818f958ce (patch) | |
tree | 5604e3e89067aca0c1e2584afccce401c16633ac /binutils/elfedit.c | |
parent | 6596a5d4f605c2fc0963074a5eee4197938d02bb (diff) | |
download | gdb-2e635a01574d001fd26e8b23778d63b818f958ce.zip gdb-2e635a01574d001fd26e8b23778d63b818f958ce.tar.gz gdb-2e635a01574d001fd26e8b23778d63b818f958ce.tar.bz2 |
elfedit: Pass osabi to reconcat
Pass osabi to reconcat to get
Usage: elfedit <option(s)> elffile(s)
...
--input-osabi [none|HPUX|NetBSD|GNU|Linux|Solaris|AIX|Irix|FreeBSD|TRU64|Modesto|OpenBSD|OpenVMS|NSK|AROS|FenixOS]
Set input OSABI
instead of
--input-osabi [|FenixOS]
Set input OSABI
* elfedit (usage): Pass osabi to reconcat.
Diffstat (limited to 'binutils/elfedit.c')
-rw-r--r-- | binutils/elfedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/elfedit.c b/binutils/elfedit.c index dc2f722..e54011c 100644 --- a/binutils/elfedit.c +++ b/binutils/elfedit.c @@ -902,7 +902,7 @@ usage (FILE *stream, int exit_status) char *osabi = concat (osabis[0].name, NULL); for (i = 1; i < ARRAY_SIZE (osabis); i++) - osabi = reconcat (osabi, "|", osabis[i].name, NULL); + osabi = reconcat (osabi, osabi, "|", osabis[i].name, NULL); fprintf (stream, _("Usage: %s <option(s)> elffile(s)\n"), program_name); |