patches/binutils/2.20/260-arm-non-empty-know.patch
author Joachim Nilsson <jocke@vmlinux.org>
Thu Jan 07 01:08:08 2010 +0100 (2010-01-07)
changeset 1700 eccc37dd1a25
permissions -rw-r--r--
binutils/binultils: import binutils-2.20 patches from OE

This is a set of patches for binutils-2.20 that have been "ported", or rather
shamelessly stolen, from the OpenEmbedded project:

http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/binutils/binutils-2.20

Tried and tested on Arm (big-endian Xscale, and little-endian i.MX27) with GCC 4.4.2

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
     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 */