From 6dc4908d12c47d87c83c202a3802d0208865167b Mon Sep 17 00:00:00 2001 From: Michal Sieron Date: Fri, 13 Aug 2021 12:45:48 +0200 Subject: [PATCH] Remove obsolete _include/basec++_ As per https://github.com/m-labs/misoc/commit/7a9975ab5ae44af0c528a5697da75f03c246ea21 it was necessary to build libunwind, which we aren't building. --- litex/soc/software/include/basec++/algorithm | 4 ---- litex/soc/software/include/basec++/cstddef | 11 ----------- litex/soc/software/include/basec++/cstdlib | 6 ------ litex/soc/software/include/basec++/new | 9 --------- 4 files changed, 30 deletions(-) delete mode 100644 litex/soc/software/include/basec++/algorithm delete mode 100644 litex/soc/software/include/basec++/cstddef delete mode 100644 litex/soc/software/include/basec++/cstdlib delete mode 100644 litex/soc/software/include/basec++/new diff --git a/litex/soc/software/include/basec++/algorithm b/litex/soc/software/include/basec++/algorithm deleted file mode 100644 index cb9b61423..000000000 --- a/litex/soc/software/include/basec++/algorithm +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef __CXX_ALGORITHM -#define __CXX_ALGORITHM - -#endif /* __CXX_ALGORITHM */ diff --git a/litex/soc/software/include/basec++/cstddef b/litex/soc/software/include/basec++/cstddef deleted file mode 100644 index 5291f1b6a..000000000 --- a/litex/soc/software/include/basec++/cstddef +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef __CXX_CSTDDEF -#define __CXX_CSTDDEF - -#include - -namespace std { - using ::size_t; - using ::ptrdiff_t; -} - -#endif /* __CXX_CSTDDEF */ diff --git a/litex/soc/software/include/basec++/cstdlib b/litex/soc/software/include/basec++/cstdlib deleted file mode 100644 index 6501ea9fe..000000000 --- a/litex/soc/software/include/basec++/cstdlib +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef __CXX_CSTDLIB -#define __CXX_CSTDLIB - -#include - -#endif /* __CXX_CSTDLIB */ diff --git a/litex/soc/software/include/basec++/new b/litex/soc/software/include/basec++/new deleted file mode 100644 index aa2f1a8d7..000000000 --- a/litex/soc/software/include/basec++/new +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef __CXX_NEW -#define __CXX_NEW - -#include - -inline void* operator new (std::size_t size, void* ptr) noexcept - { return ptr; } - -#endif /* __CXX_NEW */