123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- When using an EABI toolchain, the default compilation generates
- references to __aeabi_unwind_cpp_pr0(). This symbol is defined in
- libgcc, but we don't want to use it for a bootloader.
- Therefore, this patch passes some additional CFLAGS to disable the
- generation of such references by avoiding unwind tables, exceptions,
- etc.
- Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
- ---
- board/at91cap9adk/dataflash/Makefile | 2 +-
- board/at91cap9adk/norflash/Makefile | 2 +-
- board/at91cap9stk/nandflash/Makefile | 2 +-
- board/at91sam9260ek/dataflash/Makefile | 2 +-
- board/at91sam9260ek/nandflash/Makefile | 2 +-
- board/at91sam9261ek/dataflash/Makefile | 2 +-
- board/at91sam9261ek/nandflash/Makefile | 2 +-
- board/at91sam9263ek/dataflash/Makefile | 2 +-
- board/at91sam9263ek/nandflash/Makefile | 2 +-
- board/at91sam9g10ek/dataflash/Makefile | 2 +-
- board/at91sam9g10ek/nandflash/Makefile | 2 +-
- board/at91sam9g20ek/dataflash/Makefile | 2 +-
- board/at91sam9g20ek/nandflash/Makefile | 2 +-
- board/at91sam9g45ekes/nandflash/Makefile | 2 +-
- board/at91sam9m10ekes/dataflash/Makefile | 2 +-
- board/at91sam9m10ekes/nandflash/Makefile | 2 +-
- board/at91sam9m10g45ek/dataflash/Makefile | 2 +-
- board/at91sam9m10g45ek/nandflash/Makefile | 2 +-
- board/at91sam9rlek/dataflash/Makefile | 2 +-
- board/at91sam9rlek/nandflash/Makefile | 2 +-
- board/at91sam9xeek/dataflash/Makefile | 2 +-
- board/at91sam9xeek/nandflash/Makefile | 2 +-
- lib/Makefile | 2 +-
- 23 files changed, 23 insertions(+), 23 deletions(-)
- Index: Bootstrap-v1.16/board/at91cap9adk/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91cap9adk/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91cap9adk/dataflash/Makefile
- @@ -34,7 +34,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -D$(BOARD) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -D$(BOARD) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -D$(BOARD) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91cap9adk/norflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91cap9adk/norflash/Makefile
- +++ Bootstrap-v1.16/board/at91cap9adk/norflash/Makefile
- @@ -34,7 +34,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -D$(BOARD) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -D$(BOARD) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -D$(BOARD) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91cap9stk/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91cap9stk/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91cap9stk/nandflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -D$(BOARD) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -D$(BOARD) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -D$(BOARD) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
-
- Index: Bootstrap-v1.16/board/at91sam9260ek/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9260ek/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9260ek/dataflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9260ek/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9260ek/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9260ek/nandflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9261ek/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9261ek/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9261ek/dataflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9261ek/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9261ek/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9261ek/nandflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9263ek/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9263ek/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9263ek/dataflash/Makefile
- @@ -34,7 +34,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9263ek/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9263ek/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9263ek/nandflash/Makefile
- @@ -33,7 +33,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -O0 -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -O0 -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9g10ek/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9g10ek/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9g10ek/dataflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9g10ek/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9g10ek/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9g10ek/nandflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9g20ek/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9g20ek/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9g20ek/dataflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9g20ek/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9g20ek/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9g20ek/nandflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9g45ekes/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9g45ekes/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9g45ekes/nandflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -O2 -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9m10ekes/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9m10ekes/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9m10ekes/dataflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -O2 -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9m10ekes/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9m10ekes/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9m10ekes/nandflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -O2 -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9m10g45ek/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9m10g45ek/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9m10g45ek/dataflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -O2 -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9m10g45ek/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9m10g45ek/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9m10g45ek/nandflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -O2 -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -O2 -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9rlek/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9rlek/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9rlek/dataflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9rlek/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9rlek/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9rlek/nandflash/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9xeek/dataflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9xeek/dataflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9xeek/dataflash/Makefile
- @@ -38,7 +38,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/board/at91sam9xeek/nandflash/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/board/at91sam9xeek/nandflash/Makefile
- +++ Bootstrap-v1.16/board/at91sam9xeek/nandflash/Makefile
- @@ -38,7 +38,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm9 -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm9 -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
- Index: Bootstrap-v1.16/lib/Makefile
- ===================================================================
- --- Bootstrap-v1.16.orig/lib/Makefile
- +++ Bootstrap-v1.16/lib/Makefile
- @@ -37,7 +37,7 @@
- SIZE=$(CROSS_COMPILE)size
- OBJCOPY=$(CROSS_COMPILE)objcopy
- OBJDUMP=$(CROSS_COMPILE)objdump
- -CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL)
- +CCFLAGS=-g -mcpu=arm926ej-s -Os -Wall -D$(TARGET) -I$(INCL) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables
- ASFLAGS=-g -mcpu=arm926ej-s -c -Os -Wall -D$(TARGET) -I$(INCL) -DTOP_OF_MEM=$(TOP_OF_MEMORY)
-
- # Linker flags.
|