[PATCH 2/5] Splitting Tommy's big patch

Eduardo Pereira Habkost
2004-05-28T21:30:34Z

Fix order of LD parameters on arch/i86/Makefile

--- elks/arch/i86/Makefile 2004-05-28 16:01:49.000000000 -0400
+++ elks/arch/i86/Makefile 2004-04-18 14:45:26.000000000 -0400
@@ -105,9 +105,10 @@

boot/system: $(AARCHIVES) $(ADRIVERS) boot/crt1.o boot/crt0.o
(cd $(BASEDIR) ; $(LD) $(LDFLAGS) $(ARCH_LD) \
+ -t -M -o $(ARCH_DIR)/boot/system \
$(ARCH_DIR)/boot/crt0.o $(ARCH_DIR)/boot/crt1.o \
init/main.o $(ARCHIVES) $(DRIVERS) \
- -t -M -o $(ARCH_DIR)/boot/system > System.tmp ; \
+ > System.tmp ; \
sort -k4 System.tmp > System.map ; rm -f System.tmp )

#PC image build