summaryrefslogtreecommitdiff
path: root/source/a/grub/grub.binutils.fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/grub/grub.binutils.fix.diff')
-rw-r--r--source/a/grub/grub.binutils.fix.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/source/a/grub/grub.binutils.fix.diff b/source/a/grub/grub.binutils.fix.diff
new file mode 100644
index 00000000..b23cb1b6
--- /dev/null
+++ b/source/a/grub/grub.binutils.fix.diff
@@ -0,0 +1,20 @@
+--- ./util/grub-mkimagexx.c.orig 2017-04-24 04:16:00.000000000 -0500
++++ ./util/grub-mkimagexx.c 2018-09-22 13:35:33.089870295 -0500
+@@ -832,6 +832,7 @@
+ break;
+
+ case R_X86_64_PC32:
++ case R_X86_64_PLT32:
+ {
+ grub_uint32_t *t32 = (grub_uint32_t *) target;
+ *t32 = grub_host_to_target64 (grub_target_to_host32 (*t32)
+--- ./util/grub-module-verifier.c.orig 2017-04-24 04:16:00.000000000 -0500
++++ ./util/grub-module-verifier.c 2018-09-22 13:36:05.328867627 -0500
+@@ -19,6 +19,7 @@
+ -1
+ }, (int[]){
+ R_X86_64_PC32,
++ R_X86_64_PLT32,
+ -1
+ }
+ },