mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 20:05:46 +08:00
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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user