[macruby-changes] [2804] MacRuby/trunk/bin/rubyc
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 14 17:58:22 PDT 2009
Revision: 2804
http://trac.macosforge.org/projects/ruby/changeset/2804
Author: lsansonetti at apple.com
Date: 2009-10-14 17:58:21 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
build AOT bitcode as fully relocatable
Modified Paths:
--------------
MacRuby/trunk/bin/rubyc
Modified: MacRuby/trunk/bin/rubyc
===================================================================
--- MacRuby/trunk/bin/rubyc 2009-10-15 00:51:44 UTC (rev 2803)
+++ MacRuby/trunk/bin/rubyc 2009-10-15 00:58:21 UTC (rev 2804)
@@ -111,7 +111,7 @@
# Compile the bitcode as assembly.
asm = gen_tmpfile(base + arch, 's')
- execute("#{@llc} -f #{bc} -o=#{asm} -march=#{llc_arch(arch)} -enable-eh")
+ execute("#{@llc} -f #{bc} -o=#{asm} -march=#{llc_arch(arch)} -relocation-model=pic -enable-eh")
# Compile the assembly.
tmp_obj = gen_tmpfile(base + arch, 'o')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091014/558bec01/attachment.html>
More information about the macruby-changes
mailing list