patches/binutils/2.20/260-arm-non-empty-know.patch
author Andy Gibbs <andyg1001@hotmail.co.uk>
Mon Nov 01 01:12:39 2010 +0100 (2010-11-01)
changeset 2170 4f8aa694f9c0
permissions -rw-r--r--
contrib: fix gcc test suite on system without echo -e

Fix the use of quotes in contrib/gcc-test-suite/Makefile to solve the
problem where board.exp is incorrectly generated on some build systems
where 'echo -e' is not handled correctly.

Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk>
[Yann E. MORIN: fix space damage, pretty-up the stuff]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     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 */