patches/binutils/2.20/260-arm-non-empty-know.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:26:02 2011 +0200 (2011-08-22)
branch1.12
changeset 2640 e40c55e445b8
permissions -rw-r--r--
debug/ltrace: Fix HOST_OS and ar

HOST_OS really is the target OS. Allow setting it for configure
via an environment variable.
libltrace.a should have an index:
Allow ar to be set as an environment variable, and generate
an index in this lib.

Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from f86af11138ea2b2ecd4876d9c6c24f58ba4d68ac)
     1 This is backported partially from 2.20 branch
     2 
     3 http://sourceware.org/ml/binutils-cvs/2009-10/msg00173.html
     4 
     5 -Khem
     6 Index: binutils-2.20/gas/as.h
     7 ===================================================================
     8 --- binutils-2.20.orig/gas/as.h	2009-10-22 00:27:08.700469349 -0700
     9 +++ binutils-2.20/gas/as.h	2009-10-22 00:28:04.068416318 -0700
    10 @@ -238,7 +238,7 @@ typedef addressT valueT;
    11  #define know(p) gas_assert(p)	/* Verify our assumptions!  */
    12  #endif /* not yet defined */
    13  #else
    14 -#define know(p)			/* know() checks are no-op.ed  */
    15 +#define know(p) do {} while (0)	/* know() checks are no-op.ed  */
    16  #endif
    17  
    18  /* input_scrub.c */