]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR gas/11011
authorNick Clifton <nickc@redhat.com>
Thu, 3 Dec 2009 10:40:25 +0000 (10:40 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 3 Dec 2009 10:40:25 +0000 (10:40 +0000)
        Import this patch from the mainline:
        2009-10-18  Alan Modra  <amodra@bigpond.net.au>

        * as.h (know): Don't define as empty.

gas/ChangeLog
gas/as.h

index 61ea74082f6a4f5e34a9d431dd22ef6e49f4ce89..e08ccfa2bcb8feb7fbc48aa58969593b7d9c1ce1 100644 (file)
@@ -1,3 +1,11 @@
+2009-12-03  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/11011
+       Import this patch from the mainline:
+       2009-10-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * as.h (know): Don't define as empty.
+
 2009-10-28  Alan Modra  <amodra@bigpond.net.au>
 
        PR gas/10856
index 7366121b03a26806b84df4e9d1b4f19cbe74b296..1d1d97e5a06c0029bf0ef7fba16b37ff97b9a108 100644 (file)
--- a/gas/as.h
+++ b/gas/as.h
@@ -238,7 +238,7 @@ typedef addressT valueT;
 #define know(p) gas_assert(p)  /* Verify our assumptions!  */
 #endif /* not yet defined */
 #else
-#define know(p)                        /* know() checks are no-op.ed  */
+#define know(p)        do {} while (0) /* know() checks are no-op.ed  */
 #endif
 \f
 /* input_scrub.c */