soc/software: remove libunwind
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 10 Nov 2015 11:11:06 +0000 (12:11 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 10 Nov 2015 11:16:34 +0000 (12:16 +0100)
.gitmodules
litex/soc/integration/builder.py
litex/soc/software/libunwind/Makefile [deleted file]
litex/soc/software/libunwind/__cxxabi_config.h [deleted file]
litex/soc/software/unwinder [deleted submodule]

index 0aff80a1222734a0eaf93f65312ac81572786df1..4c401e1a9bcf5c9ebe4b8f17e8a6713b5d9fc2cd 100644 (file)
@@ -7,6 +7,3 @@
 [submodule "litex/soc/software/compiler_rt"]
        path = litex/soc/software/compiler_rt
        url = http://llvm.org/git/compiler-rt.git
-[submodule "litex/soc/software/unwinder"]
-       path = litex/soc/software/unwinder
-       url = https://github.com/whitequark/libunwind
index 9aca14b3a99e4becff1082cd16d173dcbeb13675..6d51cf35f1b6fadf39d4430eaf6edf51f4afc19e 100644 (file)
@@ -15,7 +15,6 @@ soc_software_packages = [
     "libcompiler_rt",
     "libdyld",
     "libnet",
-    "libunwind",
     "bios"
 ]
 
diff --git a/litex/soc/software/libunwind/Makefile b/litex/soc/software/libunwind/Makefile
deleted file mode 100644 (file)
index a124838..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-include ../include/generated/variables.mak
-include $(SOC_DIRECTORY)/software/common.mak
-
-# lm32 is not supported
-ifeq ($(CPU),lm32)
-       ALL_TARGET=
-else
-       ALL_TARGET=libunwind.a
-endif
-
-COMMONFLAGS+=-integrated-as \
-       -I. -I$(SOC_DIRECTORY)/software/include/dyld/ -I$(SOC_DIRECTORY)/software/unwinder/include/ \
-       -I$(LIBUNWIND_DIRECTORY) \
-       -D__ELF__ -D__linux__ -D_LIBUNWIND_NO_HEAP -DNDEBUG
-
-OBJECTS=UnwindRegistersSave.o UnwindRegistersRestore.o UnwindLevel1.o libunwind.o
-
-all: $(ALL_TARGET)
-
-libunwind.a: $(OBJECTS)
-       $(AR) crs libunwind.a $(OBJECTS)
-
-%.o: $(SOC_DIRECTORY)/software/unwinder/src/%.cpp
-       $(compilexx)
-
-%.o: $(SOC_DIRECTORY)/software/unwinder/src/%.c
-       $(compile)
-
-%.o: $(SOC_DIRECTORY)/software/unwinder/src/%.S
-       $(assemble)
-
-.PHONY: clean
-
-clean:
-       $(RM) $(OBJECTS) libunwind.a .*~ *~
diff --git a/litex/soc/software/libunwind/__cxxabi_config.h b/litex/soc/software/libunwind/__cxxabi_config.h
deleted file mode 100644 (file)
index 42cd6fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#define LIBCXXABI_ARM_EHABI 0
diff --git a/litex/soc/software/unwinder b/litex/soc/software/unwinder
deleted file mode 160000 (submodule)
index 8b11966..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 8b1196692d823a090a9879a695050baa7acc39ee