make/linux/makefiles/vm.make

Print this page

        

*** 237,248 **** mapfile_reorder : mapfile $(REORDERFILE) rm -f $@ cat $^ > $@ vm.def: $(Res_Files) $(Obj_Files) ! sh $(GAMMADIR)/make/linux/makefiles/build_vm_def.sh *.o > $@ mapfile_ext: rm -f $@ touch $@ if [ -f $(HS_ALT_MAKE)/linux/makefiles/mapfile-ext ]; then \ --- 237,254 ---- mapfile_reorder : mapfile $(REORDERFILE) rm -f $@ cat $^ > $@ + VMDEF_PAT = ^_ZTV + VMDEF_PAT := ^gHotSpotVM|$(VMDEF_PAT) + VMDEF_PAT := ^UseSharedSpaces$$|$(VMDEF_PAT) + VMDEF_PAT := ^_ZN9Arguments17SharedArchivePathE$$|$(VMDEF_PAT) + vm.def: $(Res_Files) $(Obj_Files) ! $(QUIETLY) $(NM) --defined-only *.o | awk '{ print $$3 }' | \ ! grep -E '$(VMDEF_PAT)' | sort -u | awk '{ print "\t" $$1 ";" }' > $@ mapfile_ext: rm -f $@ touch $@ if [ -f $(HS_ALT_MAKE)/linux/makefiles/mapfile-ext ]; then \