Create local C library implementation (2/2)
authorHarry Liebel <Harry.Liebel@arm.com>
Tue, 17 Dec 2013 18:19:04 +0000 (18:19 +0000)
committerDan Handley <dan.handley@arm.com>
Fri, 20 Dec 2013 15:52:16 +0000 (15:52 +0000)
commit0f702c6e7097c369517f891c172a84e2e439e9f7
tree9ea2da6e9fe32cb70370ef2eea0a30de7e22a52c
parentc81b1d0f0333eca2bc01e718bd2a1b091647afba
Create local C library implementation (2/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: I3e3d8d992052264d2a02489034ae4c03bf0f5512
20 files changed:
include/stdlib/assert.h [new file with mode: 0644]
include/stdlib/machine/_limits.h [new file with mode: 0644]
include/stdlib/machine/_stdint.h [new file with mode: 0644]
include/stdlib/machine/_types.h [new file with mode: 0644]
include/stdlib/stddef.h [new file with mode: 0644]
include/stdlib/stdio.h [new file with mode: 0644]
include/stdlib/string.h [new file with mode: 0644]
include/stdlib/sys/_null.h [new file with mode: 0644]
include/stdlib/sys/_stdint.h [new file with mode: 0644]
include/stdlib/sys/_types.h [new file with mode: 0644]
include/stdlib/sys/cdefs.h [new file with mode: 0644]
include/stdlib/sys/errno.h [new file with mode: 0644]
include/stdlib/sys/limits.h [new file with mode: 0644]
include/stdlib/sys/stdarg.h [new file with mode: 0644]
include/stdlib/sys/stdint.h [new file with mode: 0644]
lib/stdlib/abort.c [new file with mode: 0644]
lib/stdlib/assert.c [new file with mode: 0644]
lib/stdlib/printf.c [new file with mode: 0644]
lib/stdlib/puts.c [new file with mode: 0644]
lib/stdlib/std.c [new file with mode: 0644]