diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/elfedit.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index bd087e5..9bbe1fe 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2020-12-29 H.J. Lu <hongjiu.lu@intel.com> + + * elfedit (usage): Pass osabi to reconcat. + 2020-12-28 H.J. Lu <hongjiu.lu@intel.com> * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Pass 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); |