components/binutils/patches/binutils.patch
author George Vasick <george.vasick@oracle.com>
Thu, 22 Dec 2011 23:21:07 +0000
changeset 637 65eb6f5145fe
child 1123 cb43164c5dd1
permissions -rw-r--r--
7004268 Update binutils to 2.21.1 6536549 needs to support SSSE3 instructions 6836203 gstrip destroys Solaris objects 7051847 gobjdump fails with "File format not recognized"
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
637
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     1
diff -r -u binutils-2.21.1.orig//binutils/elfcomm.h binutils-2.21.1/binutils/elfcomm.h
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     2
--- binutils-2.21.1.orig//binutils/elfcomm.h	Tue Feb  1 04:25:36 2011
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     3
+++ binutils-2.21.1/binutils/elfcomm.h	Mon Dec 12 18:41:05 2011
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     4
@@ -30,7 +30,7 @@
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     5
 void error (const char *, ...) ATTRIBUTE_PRINTF_1;
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     6
 void warn (const char *, ...) ATTRIBUTE_PRINTF_1;
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     7
 
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     8
-#if __STDC_VERSION__ >= 199901L || (defined(__GNUC__) && __GNUC__ >= 2)
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     9
+#if __STDC_VERSION__ >= 199901L || (defined(__GNUC__) && __GNUC__ >= 2) || defined(__SUNPRO_C)
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    10
 /* 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
    11
    objdump may not.  */
65eb6f5145fe 7004268 Update binutils to 2.21.1
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    12
 #define HOST_WIDEST_INT	long long