Add bootstrap section in swith_to_PPC.o instead of main.o

This commit is contained in:
Laurent Vivier
2007-02-17 22:39:07 +00:00
parent e2777d45e2
commit f48db9e15f
+1 -1
View File
@@ -148,7 +148,7 @@ second: second.o
-O binary second.o second
second.o: $(OBJS) bootstrap $(TOP)/ld.script
$(OBJCOPY) --add-section .bootstrap=bootstrap main.o
$(OBJCOPY) --add-section .bootstrap=bootstrap switch_to_PPC.o
$(LD) -T $(TOP)/ld.script -o second.o $(OBJS) $(LIBS)
else