aboutsummaryrefslogtreecommitdiff
path: root/packages/binutils-oracle/git-43eccdca/0002-fix_to_patch_92.patch
diff options
context:
space:
mode:
authorCupertino Miranda <cupertino.miranda@oracle.com>2022-12-09 13:59:03 +0000
committerChris Packham <judge.packham@gmail.com>2022-12-18 21:21:14 +1300
commit66ac9e649a5dcbb4ea9969e071c71db2e9fa2165 (patch)
treeefa248723440246162bc5656e834881b6f45693c /packages/binutils-oracle/git-43eccdca/0002-fix_to_patch_92.patch
parentcdae8d0559d41f9464ab54e2967e23a0ee06a358 (diff)
downloadcrosstool-ng-66ac9e649a5dcbb4ea9969e071c71db2e9fa2165.tar.gz
crosstool-ng-66ac9e649a5dcbb4ea9969e071c71db2e9fa2165.tar.bz2
crosstool-ng-66ac9e649a5dcbb4ea9969e071c71db2e9fa2165.zip
Add Oracle ol8u7 product to crosstool-ng
This commit adds support for the following Oracle products, targeting Oracle Linux 8.7: Binutils 2.30-117.0.1 GCC 8.5.0-15.0.2 glibc 2.28-211.1.0.1 UEK5/u4 4.14.35-2025.400.8 Sample configuration files are provided for the following triplets: aarch64-ol8u7-linux-gnu x86_64-ol8u7-linux-gnu i686-ol8u7-linux-gnu Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
Diffstat (limited to 'packages/binutils-oracle/git-43eccdca/0002-fix_to_patch_92.patch')
-rw-r--r--packages/binutils-oracle/git-43eccdca/0002-fix_to_patch_92.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/packages/binutils-oracle/git-43eccdca/0002-fix_to_patch_92.patch b/packages/binutils-oracle/git-43eccdca/0002-fix_to_patch_92.patch
new file mode 100644
index 00000000..41b3b9f5
--- /dev/null
+++ b/packages/binutils-oracle/git-43eccdca/0002-fix_to_patch_92.patch
@@ -0,0 +1,44 @@
+diff --git a/gold/i386.cc b/gold/i386.cc
+index a65f3a034df..3f1312c8640 100644
+--- a/gold/i386.cc
++++ b/gold/i386.cc
+@@ -1081,7 +1081,7 @@ Target_i386::record_gnu_property(
+ {
+ uint32_t val = 0;
+
+- switch (pr_type)
++ switch ((unsigned int) pr_type)
+ {
+ case elfcpp::GNU_PROPERTY_X86_ISA_1_USED:
+ case elfcpp::GNU_PROPERTY_X86_ISA_1_NEEDED:
+@@ -1102,7 +1102,7 @@ Target_i386::record_gnu_property(
+ break;
+ }
+
+- switch (pr_type)
++ switch ((unsigned int) pr_type)
+ {
+ case elfcpp::GNU_PROPERTY_X86_ISA_1_USED:
+ this->isa_1_used_ |= val;
+diff --git a/gold/x86_64.cc b/gold/x86_64.cc
+index 16bcffc9541..63b551957ef 100644
+--- a/gold/x86_64.cc
++++ b/gold/x86_64.cc
+@@ -1468,7 +1468,7 @@ Target_x86_64<size>::record_gnu_property(
+ {
+ uint32_t val = 0;
+
+- switch (pr_type)
++ switch ((unsigned int) pr_type)
+ {
+ case elfcpp::GNU_PROPERTY_X86_ISA_1_USED:
+ case elfcpp::GNU_PROPERTY_X86_ISA_1_NEEDED:
+@@ -1489,7 +1489,7 @@ Target_x86_64<size>::record_gnu_property(
+ break;
+ }
+
+- switch (pr_type)
++ switch ((unsigned int) pr_type)
+ {
+ case elfcpp::GNU_PROPERTY_X86_ISA_1_USED:
+ this->isa_1_used_ |= val;