- make XCP_SIZE (Exception stacksize) conditional
- use 4K exception stack for low SRAM targets git-svn-id: http://moon:8086/svn/mips@34 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -20,7 +20,8 @@ else
|
||||
endif
|
||||
|
||||
LIBS=-lc -lgcc
|
||||
|
||||
CFLAGS += -DXCP_SIZE=4096
|
||||
|
||||
CC=mipsel-elf-gcc
|
||||
LD=mipsel-elf-ld
|
||||
OBJDUMP=mipsel-elf-objdump
|
||||
|
||||
@@ -15,7 +15,9 @@ symbol: .frame sp, 0, ra
|
||||
.size function, .-function
|
||||
|
||||
/* Exception stack size */
|
||||
#ifndef XCP_SIZE
|
||||
#define XCP_SIZE 32768
|
||||
#endif
|
||||
|
||||
/* save location for registers */
|
||||
#define XCP_SR 0
|
||||
|
||||
Reference in New Issue
Block a user