Project

General

Profile

Revision 164

Added by Kevin Woo about 14 years ago

changed bootloader to start at 0x400

View differences:

Makefile
66 66
#     Even though the DOS/Win* filesystem matches both .s and .S the same,
67 67
#     it will preserve the spelling of the filenames, and gcc itself does
68 68
#     care about how the name is spelled on its command-line.
69
ASRC = 
69
ASRC =
70 70

  
71 71

  
72 72
# Optimization level, can be [0, 1, 2, 3, s]. 
......
180 180
#  -Wl,...:     tell GCC to pass this to linker.
181 181
#    -Map:      create map file
182 182
#    --cref:    add cross reference to  map file
183
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
183
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref,--section-start=.bootloader=0x400
184 184
LDFLAGS += $(EXTMEMOPTS)
185 185
LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB)
186 186

  

Also available in: Unified diff