aboutsummaryrefslogtreecommitdiff
path: root/packages/binutils-oracle/2.30/0002-fix_to_patch_92.patch
diff options
context:
space:
mode:
authorCupertino Miranda <cupertino.miranda@oracle.com>2024-04-03 13:05:13 +0100
committerChris Packham <judge.packham@gmail.com>2024-06-26 14:55:01 +1200
commit5ee38acb6a99355235f5ecf2d70f621e5ffb88f9 (patch)
tree6f1fbb4ceae29bf7cafc9df39005203180e8a4be /packages/binutils-oracle/2.30/0002-fix_to_patch_92.patch
parenta87bf7f6b0a04bae13390b2166e094864d0a57b6 (diff)
downloadcrosstool-ng-5ee38acb6a99355235f5ecf2d70f621e5ffb88f9.tar.gz
crosstool-ng-5ee38acb6a99355235f5ecf2d70f621e5ffb88f9.tar.bz2
crosstool-ng-5ee38acb6a99355235f5ecf2d70f621e5ffb88f9.zip
Remove oracle version repetition
Support for Oracle Linux toolchains have some repetition within their package directories. This patch improves the status of package directories and patch reusability. Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
Diffstat (limited to 'packages/binutils-oracle/2.30/0002-fix_to_patch_92.patch')
-rw-r--r--packages/binutils-oracle/2.30/0002-fix_to_patch_92.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/packages/binutils-oracle/2.30/0002-fix_to_patch_92.patch b/packages/binutils-oracle/2.30/0002-fix_to_patch_92.patch
new file mode 100644
index 00000000..41b3b9f5
--- /dev/null
+++ b/packages/binutils-oracle/2.30/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;