commit 65da13bccc4dffd7746a66f4f3d5a4a3e3721229
parent f4ea654c7492eafe800fb37559880cace14659c9
Author: Roberto Vargas <roberto.vargas@arm.com>
Date: Thu, 8 Nov 2018 14:20:21 +0000
[libc] Remove unused files from stdlib
These files were used in old version of the libc
with non reentrant versions of these functions.
Change-Id: I3f8a553a32cbb3518535451af9fc9f091d91b20a
Diffstat:
4 files changed, 1 insertion(+), 16 deletions(-)
diff --git a/src/libc/stdlib/Makefile b/src/libc/stdlib/Makefile
@@ -4,10 +4,7 @@ include $(PROJECTDIR)/scripts/rules.mk
MORECFLAGS = -w
-OBJS = __abs.o\
- __labs.o\
- __llabs.o\
- abort.o\
+OBJS = abort.o\
abs.o\
atexit.o\
atoi.o\
diff --git a/src/libc/stdlib/__abs.c b/src/libc/stdlib/__abs.c
@@ -1,4 +0,0 @@
-#define __USE_MACROS
-#include <stdlib.h>
-
-int __abs;
diff --git a/src/libc/stdlib/__labs.c b/src/libc/stdlib/__labs.c
@@ -1,4 +0,0 @@
-#define __USE_MACROS
-#include <stdlib.h>
-
-long __labs;
diff --git a/src/libc/stdlib/__llabs.c b/src/libc/stdlib/__llabs.c
@@ -1,4 +0,0 @@
-#define __USE_MACROS
-#include <stdlib.h>
-
-long long __llabs;