From 5d952750246782ea1f1bae8e8414c028cde5134e Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Fri, 17 Nov 2006 14:50:59 +0100 Subject: [PATCH] Add some more calls to f-objstrip. --- src/stub/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stub/Makefile b/src/stub/Makefile index 818275f9..6d298f32 100644 --- a/src/stub/Makefile +++ b/src/stub/Makefile @@ -218,6 +218,7 @@ amd64-linux.elf-entry.h: $(srcdir)/src/$$T.S amd64-linux.elf-fold.h : tmp/$$T.o tmp/amd64-linux.elf-main.o $(srcdir)/src/$$T.lds $(call tc,ld) --strip-all -T $(srcdir)/src/$T.lds -Map tmp/$T.map $(filter %.o,$^) -o tmp/$T.bin + $(call tc,f-objstrip,tmp/$T.bin) $(call tc,sstrip) tmp/$T.bin $(call tc,bin2h) --ident=linux_elf64amd_fold tmp/$T.bin $@ @@ -248,6 +249,7 @@ arm-linux.elf-entry.h : $(srcdir)/src/$$T.S arm-linux.elf-fold.h : tmp/$$T.o tmp/arm-linux.elf-main.o $(srcdir)/src/$$T.lds $(call tc,ld) --strip-all -T $(srcdir)/src/$T.lds -Map tmp/$T.map $(filter %.o,$^) -o tmp/$T.bin + $(call tc,f-objstrip,tmp/$T.bin) $(call tc,sstrip) tmp/$T.bin $(call tc,bin2h) --ident=linux_elf32arm_fold tmp/$T.bin $@ @@ -665,6 +667,7 @@ powerpc-darwin.macho-entry.h : $(srcdir)/src/$$T.S powerpc-darwin.macho-fold.h : tmp/$$T.o tmp/powerpc-darwin.macho-main.o $(call tc,ld) --strip-all --oformat binary -Map tmp/$T.map $(filter %.o,$^) -o tmp/$T.bin + chmod a-x tmp/$T.bin $(call tc,bin2h) --ident=fold_machppc32 tmp/$T.bin $@ tmp/powerpc-darwin.macho-fold.o : $(srcdir)/src/$$T.S @@ -694,6 +697,7 @@ powerpc-linux.elf-entry.h : $(srcdir)/src/$$T.S powerpc-linux.elf-fold.h : tmp/$$T.o tmp/powerpc-linux.elf-main.o $(srcdir)/src/$$T.lds $(call tc,ld) --strip-all -T $(srcdir)/src/$T.lds -Map tmp/$T.map $(filter %.o,$^) -o tmp/$T.bin + $(call tc,f-objstrip,tmp/$T.bin) $(call tc,sstrip) tmp/$T.bin $(call tc,bin2h) --ident=linux_elfppc32_fold tmp/$T.bin $@