Create local C library implementation (1/2)
authorHarry Liebel <Harry.Liebel@arm.com>
Tue, 17 Dec 2013 18:31:42 +0000 (18:31 +0000)
committerDan Handley <dan.handley@arm.com>
Fri, 20 Dec 2013 15:52:16 +0000 (15:52 +0000)
commitc81b1d0f0333eca2bc01e718bd2a1b091647afba
tree58946a5caca01b4440fcd4f9acce1dd80c349cf4
parent57bb6581937e2cf5ada3dcda1f242e05cbe93371
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
21 files changed:
Makefile
bl1/bl1.mk
bl2/bl2.mk
bl31/bl31.mk
include/stdlib/sys/ctype.h [new file with mode: 0644]
lib/non-semihosting/ctype.h [deleted file]
lib/non-semihosting/mem.c [deleted file]
lib/non-semihosting/std.c [deleted file]
lib/non-semihosting/strcmp.c [deleted file]
lib/non-semihosting/string.c [deleted file]
lib/non-semihosting/strlen.c [deleted file]
lib/non-semihosting/strncmp.c [deleted file]
lib/non-semihosting/strncpy.c [deleted file]
lib/non-semihosting/strsep.c [deleted file]
lib/non-semihosting/strtol.c [deleted file]
lib/non-semihosting/strtoull.c [deleted file]
lib/non-semihosting/subr_prf.c [deleted file]
lib/semihosting/semihosting.c
lib/stdlib/mem.c [new file with mode: 0644]
lib/stdlib/strlen.c [new file with mode: 0644]
lib/stdlib/subr_prf.c [new file with mode: 0644]