summaryrefslogtreecommitdiff
path: root/lang/ruby/3.2/patches/patch-template_builtin_binary_inc_tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby/3.2/patches/patch-template_builtin_binary_inc_tmpl')
-rw-r--r--lang/ruby/3.2/patches/patch-template_builtin_binary_inc_tmpl15
1 files changed, 0 insertions, 15 deletions
diff --git a/lang/ruby/3.2/patches/patch-template_builtin_binary_inc_tmpl b/lang/ruby/3.2/patches/patch-template_builtin_binary_inc_tmpl
deleted file mode 100644
index 6c1c8e4..0000000
--- a/lang/ruby/3.2/patches/patch-template_builtin_binary_inc_tmpl
+++ /dev/null
@@ -1,15 +0,0 @@
1Ensure proper alignment of builtin binary arrays to fix crash on mips64.
2compile.c accesses the start of these arrays as struct ibf_header.
3
4Index: template/builtin_binary.inc.tmpl
5--- template/builtin_binary.inc.tmpl.orig
6+++ template/builtin_binary.inc.tmpl
7@@ -6,7 +6,7 @@
8 % ary = RubyVM.enum_for(:each_builtin).to_a
9 % ary.each{|feature, iseq|
10
11-static const unsigned char <%= feature %>_bin[] = {
12+static const unsigned char <%= feature %>_bin[] __attribute__((aligned(8))) = {
13 % iseq \
14 % . to_binary \
15 % . each_byte \