Makefile now generates a sorted symbol file - freeldr.sym

svn path=/trunk/; revision=3153
This commit is contained in:
Brian Palmer 2002-06-26 22:44:07 +00:00
parent 3d14932152
commit c2f51ccadd

View file

@ -139,7 +139,7 @@ CFLAGS = $(COMPILER_OPTIONS) \
# LINKER COMMAND LINE OPTIONS
#
#LINKER_OPTIONS = -N -Ttext=0x8000 --oformat=binary -s
LINKER_OPTIONS = -N -Ttext=0x8000 -s
LINKER_OPTIONS = -N -Ttext=0x8000
#############################################
# LINKER FLAGS
@ -270,6 +270,7 @@ freeldr.sys : $(OBJS)
@echo ===================================================== LINKING $@
# @$(LD) -N -Ttext=0x8000 --oformat=binary -s -o freeldr.sys $(OBJS)
@$(LD) $(LFLAGS) -Map freeldr.map -o freeldr.exe $(OBJS)
@$(NM) --numeric-sort freeldr.exe > freeldr.sym
@$(OBJCOPY) -O binary freeldr.exe freeldr.sys
#############################################