Update libunwind submodule.
This commit is contained in:
parent
106e4c6962
commit
66839b512a
|
@ -1,7 +1,7 @@
|
||||||
MSCDIR=../..
|
MSCDIR=../..
|
||||||
include $(MSCDIR)/software/common.mak
|
include $(MSCDIR)/software/common.mak
|
||||||
|
|
||||||
OBJECTS=exception.o libc.o errno.o crc16.o crc32.o console.o environ.o system.o id.o uart.o time.o qsort.o strtod.o spiflash.o
|
OBJECTS=exception.o libc.o errno.o crc16.o crc32.o console.o system.o id.o uart.o time.o qsort.o strtod.o spiflash.o
|
||||||
|
|
||||||
all: crt0-$(CPU).o libbase.a libbase-nofloat.a
|
all: crt0-$(CPU).o libbase.a libbase-nofloat.a
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
char *getenv(const char *varname) {
|
|
||||||
if(!strcmp(varname, "LIBUNWIND_PRINT_APIS") ||
|
|
||||||
!strcmp(varname, "LIBUNWIND_PRINT_UNWINDING")) {
|
|
||||||
return "1";
|
|
||||||
} else {
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -3,7 +3,7 @@ include $(MSCDIR)/software/common.mak
|
||||||
|
|
||||||
COMMONFLAGS+=-integrated-as \
|
COMMONFLAGS+=-integrated-as \
|
||||||
-I. -I$(MSCDIR)/software/include/dyld/ -I$(MSCDIR)/software/unwinder/include/ \
|
-I. -I$(MSCDIR)/software/include/dyld/ -I$(MSCDIR)/software/unwinder/include/ \
|
||||||
-D__ELF__ -D__linux__
|
-D__ELF__ -D__linux__ -D_LIBUNWIND_NO_HEAP
|
||||||
|
|
||||||
OBJECTS=UnwindRegistersSave.o UnwindRegistersRestore.o UnwindLevel1.o libunwind.o
|
OBJECTS=UnwindRegistersSave.o UnwindRegistersRestore.o UnwindLevel1.o libunwind.o
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 70a7d2ad43da6ebf9113b0101bfd4b202e0c7b6b
|
Subproject commit 2f26626b6bdc17a2fcb0aeec7a9135d0c7409661
|
Loading…
Reference in New Issue