ruby-changes:53549
From: nobu <ko1@a...>
Date: Fri, 16 Nov 2018 16:02:00 +0900 (JST)
Subject: [ruby-changes:53549] nobu:r65765 (trunk): common.mk: fix the pattern to be hidden
nobu 2018-11-16 15:52:01 +0900 (Fri, 16 Nov 2018) New Revision: 65765 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65765 Log: common.mk: fix the pattern to be hidden * common.mk (ruby.imp): consider symbol prefix, remove InitVM, and fix internal symbols start with a dot. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 65764) +++ common.mk (revision 65765) @@ -344,7 +344,7 @@ $(STATIC_RUBY)$(EXEEXT): $(MAINOBJ) $(DL https://github.com/ruby/ruby/blob/trunk/common.mk#L344 ruby.imp: $(COMMONOBJS) $(Q)$(NM) -Pgp $(COMMONOBJS) | \ - awk 'BEGIN{print "#!"}; $$2~/^[BDT]$$/&&$$1!~/^(Init_|ruby_static_id_|.*_threadptr_|rb_ec_\.)/{print $$1}' | \ + awk 'BEGIN{print "#!"}; $$2~/^[BDT]$$/&&$$1!~/^_?(Init_|InitVM_|ruby_static_id_|.*_threadptr_|rb_ec_)|^\./{print $$1}' | \ sort -u -o $@ install: install-$(INSTALLDOC) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/