patches/gcc/4.4.6/200-libiberty.h-asprintf.patch
author "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Fri Jan 18 14:47:44 2013 +0100 (2013-01-18)
changeset 3165 d4b4efd6536e
parent 2149 98b7806295cc
permissions -rw-r--r--
cc/gcc: update Linaro GCC revisions to 2013.01

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <539b6c34453a74c17759.1358517007@advdt005-ubuntu>
Patchwork-Id: 213611
     1 diff -durN gcc-4.4.5.orig/include/libiberty.h gcc-4.4.5/include/libiberty.h
     2 --- gcc-4.4.5.orig/include/libiberty.h	2008-06-24 03:42:31.000000000 +0200
     3 +++ gcc-4.4.5/include/libiberty.h	2010-10-09 23:01:30.000000000 +0200
     4 @@ -595,8 +595,11 @@
     5  /* Like sprintf but provides a pointer to malloc'd storage, which must
     6     be freed by the caller.  */
     7  
     8 +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL.  */
     9 +#ifndef asprintf
    10  extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2;
    11  #endif
    12 +#endif
    13  
    14  #if !HAVE_DECL_VASPRINTF
    15  /* Like vsprintf but provides a pointer to malloc'd storage, which