patches/binutils/2.20/260-arm-non-empty-know.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:38:19 2011 +0200 (2011-08-22)
changeset 2627 b745004e1d29
permissions -rw-r--r--
libc/uClibc: portability fixes to install_headers

Add patch files for uClibc-0.9.30:
extra/scripts/install_headers.sh: find must be called with path.
extra/scripts/unifdef.c: getline is declared in <stdio.h>, use different name.

Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net>
Reported-by: "Titus von Boxberg" <titus@v9g.de>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
     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 */