summaryrefslogtreecommitdiff
path: root/pcr/imule/binutils-update.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/imule/binutils-update.patch')
-rw-r--r--pcr/imule/binutils-update.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/imule/binutils-update.patch b/pcr/imule/binutils-update.patch
new file mode 100644
index 000000000..93defdc61
--- /dev/null
+++ b/pcr/imule/binutils-update.patch
@@ -0,0 +1,22 @@
+--- src/libs/common/MuleDebug.cpp 2020-03-08 12:28:52.588068625 +0900
++++ src/libs/common/MuleDebug.cpp 2020-03-08 12:29:18.837068569 +0900
+@@ -264,7 +264,7 @@
+ return;
+ }
+
+- bfd_vma vma = bfd_get_section_vma(abfd, section);
++ bfd_vma vma = bfd_section_vma(section);
+
+ unsigned long address = (unsigned long)_address;
+ if (address < vma) {
+--- src/libs/common/MuleDebug.cpp 2020-03-08 12:32:13.913068190 +0900
++++ src/libs/common/MuleDebug.cpp 2020-03-08 12:33:43.956067995 +0900
+@@ -271,7 +271,7 @@
+ return;
+ }
+
+- bfd_size_type size = bfd_section_size(abfd, section);
++ bfd_size_type size = bfd_section_size(section);
+ if (address > (vma + size)) {
+ return;
+ }