Create local C library implementation (1/2)
- This change is split into two separate patches in order to
simplify the history as interpreted by 'git'. The split is
between the move/rename and addition of new files.
- Remove dependency on toolchain C library headers and functions in
order to ensure behavioural compatibility between toolchains.
- Use FreeBSD as reference for C library implementation.
- Do not let GCC use default library include paths.
- Remove unused definitions in modified headers and implementations.
- Move C library files to 'lib/stdlib' and 'include/stdlib'.
- Break std.c functions out into separate files.
Change-Id: I91cddfb3229775f770ad781589670c57d347a154
diff --git a/bl2/bl2.mk b/bl2/bl2.mk
index f36b7bb..beed80c 100644
--- a/bl2/bl2.mk
+++ b/bl2/bl2.mk
@@ -31,7 +31,7 @@
vpath %.c common/ drivers/arm/interconnect/cci-400/ \
drivers/arm/peripherals/pl011 common/ lib/ \
plat/fvp plat/fvp/${ARCH} lib/semihosting arch/aarch64/ \
- lib/non-semihosting
+ lib/stdlib
vpath %.S lib/arch/aarch64 \
lib/semihosting/aarch64 \