1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk (ruby.imp): add text section [Bug #2064].

* common.mk (ruby.imp): do not export Init_*.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kanemoto 2009-09-27 16:26:31 +00:00
parent 9278fab680
commit 10806f146f
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Mon Sep 28 01:13:25 2009 Yutaka Kanemoto <kanemoto@ruby-lang.org>
* common.mk (ruby.imp): add text section [Bug #2064].
* common.mk (ruby.imp): do not export Init_*.
Sun Sep 27 13:06:43 2009 Tanaka Akira <akr@fsij.org>
* lib/pp.rb (PP:ObjectMixin#pretty_print): delegates has no inspect

View file

@ -170,7 +170,9 @@ $(STATIC_RUBY)$(EXEEXT): $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A)
$(PURIFY) $(CC) $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)$@ $(LDFLAGS) $(XLDFLAGS)
ruby.imp: $(EXPORTOBJS)
@$(NM) -Pgp $(EXPORTOBJS) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
@$(NM) -Pgp $(EXPORTOBJS) | \
awk 'BEGIN{print "#!"}; $$2~/^[BDT]$$/&&$$1!~/^(Init_|\.)/{print $$1}' | \
sort -u -o $@
install: install-$(INSTALLDOC)
docs: $(DOCTARGETS)