components/binutils/patches/binutils.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Thu, 14 Feb 2013 18:44:43 -0800
branchs11-update
changeset 2493 9911278899a3
parent 637 65eb6f5145fe
permissions -rw-r--r--
15824357 SUNBT7205968 Upgrade binutils to 2.22
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2493
9911278899a3 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents: 637
diff changeset
     1
--- binutils-2.23.1/binutils/elfcomm.h	2010-11-21 13:27:15.000000000 -0800
9911278899a3 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents: 637
diff changeset
     2
+++ binutils-2.23.1/binutils/elfcomm.h	2012-08-28 10:45:54.494740712 -0700
637
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     3
@@ -30,7 +30,7 @@
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     4
 void error (const char *, ...) ATTRIBUTE_PRINTF_1;
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     5
 void warn (const char *, ...) ATTRIBUTE_PRINTF_1;
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     6
 
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     7
-#if __STDC_VERSION__ >= 199901L || (defined(__GNUC__) && __GNUC__ >= 2)
2493
9911278899a3 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents: 637
diff changeset
     8
+#if __STDC_VERSION__ >= 199901L || (defined(__GNUC__) && __GNUC__ >= 2) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
637
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     9
 /* We can't use any bfd types here since readelf may define BFD64 and
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    10
    objdump may not.  */
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    11
 #define HOST_WIDEST_INT	long long