aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-07-18 16:12:35 +0000
committerNick Clifton <nickc@redhat.com>2013-07-18 16:12:35 +0000
commitfaf786e66817bcfc5b6ead80cafe6acc3149df02 (patch)
treec5efcdbd1c2a420ce11e5463fda28abb4641b8a9 /binutils
parent623cc2854011a4ffa83755d7ce9a9e078fa7ec80 (diff)
downloadgdb-faf786e66817bcfc5b6ead80cafe6acc3149df02.zip
gdb-faf786e66817bcfc5b6ead80cafe6acc3149df02.tar.gz
gdb-faf786e66817bcfc5b6ead80cafe6acc3149df02.tar.bz2
* ar.c (usage): Fix C conformance issue.
* config/tc-i386-intel.c (i386_intel_operand): Fixed signed vs unsigned comparison.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/ar.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 700d03b..8f0451a 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
+
+ * ar.c (usage): Fix C conformance issue.
+
2013-07-18 Nick Clifton <nickc@redhat.com>
* doc/binutils.texi (nm, objdump): Remove bogus links to STABS
diff --git a/binutils/ar.c b/binutils/ar.c
index c424038..af5694d 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -243,8 +243,6 @@ usage (int help)
{
FILE *s;
- s = help ? stdout : stderr;
-
#if BFD_SUPPORTS_PLUGINS
/* xgettext:c-format */
const char *command_line
@@ -257,6 +255,8 @@ usage (int help)
= _("Usage: %s [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV]"
" [member-name] [count] archive-file file...\n");
#endif
+ s = help ? stdout : stderr;
+
fprintf (s, command_line, program_name);
/* xgettext:c-format */