summaryrefslogtreecommitdiff
path: root/repo/yasm/74184586228af6c362f970c84fce58da3fcbdec8.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/yasm/74184586228af6c362f970c84fce58da3fcbdec8.patch
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/yasm/74184586228af6c362f970c84fce58da3fcbdec8.patch')
-rw-r--r--repo/yasm/74184586228af6c362f970c84fce58da3fcbdec8.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/yasm/74184586228af6c362f970c84fce58da3fcbdec8.patch b/repo/yasm/74184586228af6c362f970c84fce58da3fcbdec8.patch
new file mode 100644
index 0000000..3ec24e6
--- /dev/null
+++ b/repo/yasm/74184586228af6c362f970c84fce58da3fcbdec8.patch
@@ -0,0 +1,18 @@
+commit 74184586228af6c362f970c84fce58da3fcbdec8
+Author: Matt Oliver <protogonoi@gmail.com>
+Date: Tue Apr 4 00:34:47 2017 +1000
+
+ fix memory errors when using gas processor with coff object output.
+
+diff --git a/modules/objfmts/coff/coff-objfmt.c b/modules/objfmts/coff/coff-objfmt.c
+index 6fcb0e3c..8f753bfe 100644
+--- a/modules/objfmts/coff/coff-objfmt.c
++++ b/modules/objfmts/coff/coff-objfmt.c
+@@ -290,6 +290,7 @@ coff_common_create(yasm_object *object)
+ objfmt_coff->done_prolog = 0;
+ objfmt_coff->unwind = NULL;
+ objfmt_coff->ssym_imagebase = NULL;
++ objfmt_coff->def_sym = NULL;
+
+ return objfmt_coff;
+ }