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:
@@ -55,7 +55,6 @@ config/autoconf.mk
|
||||
config/mkdepend/Makefile
|
||||
config/mkdetect/Makefile
|
||||
include/Makefile
|
||||
tools/elf-dynstr-gc/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_db="
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
1218
mozilla/config/elf-dynstr-gc.c
Normal file
1218
mozilla/config/elf-dynstr-gc.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user