started the arm/pe conversion to ElfLinker

This commit is contained in:
László Molnár
2006-07-01 00:21:53 +02:00
parent f850d36c52
commit 08962a74ab
7 changed files with 72 additions and 145 deletions
+4 -4
View File
@@ -247,13 +247,13 @@ arm.v4a-wince.pe% : tc_list = arm-linux.elf default
arm.v4t-wince.pe% : tc_list = arm-linux.elf default
arm.v4a-wince.pe.h : $(srcdir)/src/$$T.S
$(call tc,gcc) -march=armv4 -nostdlib $< -o tmp/$T.out
$(call tc,objcopy) --only-section .text -O binary tmp/$T.out tmp/$T.bin
$(call tc,gcc) -march=armv4 -c $< -o tmp/$T.bin
$(call tc,m-objdump) -trwh tmp/$T.bin >> tmp/$T.bin
$(call tc,bin2h) --ident=nrv_loader_arm tmp/$T.bin $@
arm.v4t-wince.pe.h : $(srcdir)/src/$$T.S
$(call tc,gcc) -march=armv4t -nostdlib $< -o tmp/$T.out
$(call tc,objcopy) --only-section .text -O binary tmp/$T.out tmp/$T.bin
$(call tc,gcc) -march=armv4t -c $< -o tmp/$T.bin
$(call tc,m-objdump) -trwh tmp/$T.bin >> tmp/$T.bin
$(call tc,bin2h) --ident=nrv_loader_thumb tmp/$T.bin $@