mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Localize EC functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
75ced70f56
commit
7b835184d7
3 changed files with 3 additions and 3 deletions
|
@ -255,7 +255,7 @@ $(LIBRUBY_SO):
|
|||
$(ECHO) linking shared-library $@
|
||||
$(Q) $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(SOLIBS) $(EXTSOLIBS) $(OUTFLAG)$@
|
||||
-$(Q) $(OBJCOPY) -w -L '$(SYMBOL_PREFIX)Init_*' -L '$(SYMBOL_PREFIX)ruby_static_id_*' \
|
||||
-L '$(SYMBOL_PREFIX)*_threadptr_*' $@
|
||||
-L '$(SYMBOL_PREFIX)*_threadptr_*' -L '$(SYMBOL_PREFIX)*_ec_*' $@
|
||||
$(Q) $(POSTLINK)
|
||||
@-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link rescue nil; \
|
||||
File.symlink "$(LIBRUBY_SO)", link}' \
|
||||
|
|
|
@ -289,7 +289,7 @@ $(STATIC_RUBY)$(EXEEXT): $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A)
|
|||
|
||||
ruby.imp: $(COMMONOBJS)
|
||||
$(Q)$(NM) -Pgp $(COMMONOBJS) | \
|
||||
awk 'BEGIN{print "#!"}; $$2~/^[BDT]$$/&&$$1!~/^(Init_|ruby_static_id_|.*_threadptr_|\.)/{print $$1}' | \
|
||||
awk 'BEGIN{print "#!"}; $$2~/^[BDT]$$/&&$$1!~/^(Init_|ruby_static_id_|.*_threadptr_|rb_ec_\.)/{print $$1}' | \
|
||||
sort -u -o $@
|
||||
|
||||
install: install-$(INSTALLDOC)
|
||||
|
|
|
@ -7,7 +7,7 @@ module RbConfig
|
|||
end
|
||||
|
||||
class Exports
|
||||
PrivateNames = /(?:Init_|ruby_static_id_|.*_threadptr_|DllMain\b)/
|
||||
PrivateNames = /(?:Init_|ruby_static_id_|.*_threadptr_|rb_ec_|DllMain\b)/
|
||||
|
||||
@@subclass = []
|
||||
def self.inherited(klass)
|
||||
|
|
Loading…
Add table
Reference in a new issue