- 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:
2015-05-28 08:44:28 +00:00
parent fd3ddc7e4c
commit 3263f9d79c
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ else
endif
LIBS=-lc -lgcc
CFLAGS += -DXCP_SIZE=4096
CC=mipsel-elf-gcc
LD=mipsel-elf-ld
+2
View File
@@ -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