Moving the tool to strip the dynstr section from elf binaries to config/elf-dynstr-gc.c . See mozilla/tools/elf-dynstr-gc/elf-gc-dynstr.c for the previous history of this file.

Bug #62098 r=jag


git-svn-id: svn://10.0.0.236/trunk@83481 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
2000-12-11 07:24:47 +00:00
parent 9700dd26b4
commit 448a8f3306
3 changed files with 1227 additions and 4 deletions

View File

@@ -55,7 +55,6 @@ config/autoconf.mk
config/mkdepend/Makefile
config/mkdetect/Makefile
include/Makefile
tools/elf-dynstr-gc/Makefile
"
MAKEFILES_db="

View File

@@ -42,6 +42,10 @@ TARGETS = $(HOST_PROGRAM) $(PROGRAM) $(PLSRCS:.pl=)
# Generate the build number on the fly.
TARGETS += build_number nsBuildID.h
ifdef USE_ELF_DYNSTR_GC
TARGETS += elf-dynstr-gc
endif
# IMPORTANT: Disable NSBUILDROOT for this directory only, otherwise we have
# a recursive rule for finding nsinstall and the Perl scripts.
ifdef NSBUILDROOT
@@ -90,9 +94,11 @@ nsBuildID.h: nsBuildID.h.in build_number
$(RM) $@
$(PERL) -I$(srcdir) $(srcdir)/aboutime.pl $@ build_number $<
# clear record of installed chrome on complete rebuild
#install::
# $(RM) $(DIST)/bin/chrome/installed-chrome.txt
elf-dynstr-gc: elf-dynstr-gc.c Makefile Makefile.in
$(CC) $(COMPILE_CFLAGS) $(GLIB_CFLAGS) $(GLIB_LIBS) $(LDFLAGS) -o $@ $<
install:: elf-dynstr-gc
$(INSTALL) -m 555 elf-dynstr-gc $(DIST)/bin
FORCE:

File diff suppressed because it is too large Load Diff