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
1 parent 57bb658 commit c81b1d0f0333eca2bc01e718bd2a1b091647afba
@Harry Liebel Harry Liebel authored on 17 Dec 2013
Dan Handley committed on 20 Dec 2013
Showing 21 changed files
View
Makefile
View
bl1/bl1.mk
View
bl2/bl2.mk
View
bl31/bl31.mk
View
include/stdlib/sys/ctype.h 0 → 100644
View
lib/non-semihosting/ctype.h 100644 → 0
View
lib/non-semihosting/mem.c 100644 → 0
View
lib/non-semihosting/std.c 100644 → 0
View
lib/non-semihosting/strcmp.c 100644 → 0
View
lib/non-semihosting/string.c 100644 → 0
View
lib/non-semihosting/strlen.c 100644 → 0
View
lib/non-semihosting/strncmp.c 100644 → 0
View
lib/non-semihosting/strncpy.c 100644 → 0
View
lib/non-semihosting/strsep.c 100644 → 0
View
lib/non-semihosting/strtol.c 100644 → 0
View
lib/non-semihosting/strtoull.c 100644 → 0
View
lib/non-semihosting/subr_prf.c 100644 → 0
View
lib/semihosting/semihosting.c
View
lib/stdlib/mem.c 0 → 100644
View
lib/stdlib/strlen.c 0 → 100644
View
lib/stdlib/subr_prf.c 0 → 100644