Revision 196
- Fixed bug where the naked attribute did not work with main
- Used a noreturn attribute to main_start which saved us some room. That works
- Tested removal of interrupt tables, this works
Makefile | ||
---|---|---|
53 | 53 |
BOOTSTART = 0x400 |
54 | 54 |
|
55 | 55 |
# Location to place the jump table |
56 |
JUMPSTART = 0x7E0
|
|
56 |
JUMPSTART = 0x7C0
|
|
57 | 57 |
|
58 | 58 |
|
59 | 59 |
# Output format. (can be srec, ihex, binary) |
... | ... | |
187 | 187 |
# -Map: create map file |
188 | 188 |
# --cref: add cross reference to map file |
189 | 189 |
LDFLAGS = -Wl,--script=linker_script.x,-Map=$(TARGET).map,--cref,--section-start=.text=$(BOOTSTART),--section-start=.jumps=$(JUMPSTART),--undefined=_jumptable,--gc-sections |
190 |
#LDFLAGS = -Wl,-Map=$(TARGET).map,--cref,--section-start=.text=$(BOOTSTART),--section-start=.jumps=$(JUMPSTART),--undefined=_jumptable |
|
190 | 191 |
LDFLAGS += $(EXTMEMOPTS) |
191 | 192 |
LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB) |
192 | 193 |
|
Also available in: Unified diff