Merge tag 'android-4.4_r1' into HEAD

Android 4.4 Release 1.0

Conflicts:
	libc/Android.mk
	libc/arch-arm/arm.mk
	libc/arch-arm/cortex-a15/bionic/memcpy.S
	libc/arch-arm/cortex-a15/bionic/memset.S
	libc/arch-arm/cortex-a15/cortex-a15.mk
	libc/arch-arm/cortex-a9/cortex-a9.mk
	libc/arch-arm/generic/generic.mk
	libc/arch-arm/krait/bionic/memcpy.S
	libc/arch-arm/krait/bionic/strcmp.S
	libc/arch-arm/krait/krait.mk
	libc/arch-x86/x86.mk
	libc/bionic/__strlen_chk.cpp
	libc/bionic/libc_init_common.cpp
	libc/bionic/pthread_attr.cpp
	libc/bionic/pthread_internal.h
	libc/netbsd/net/getaddrinfo.c
	libc/netbsd/resolv/res_send.c
	libc/private/bionic_atomic_arm.h
	libc/private/bionic_tls.h
	libc/stdio/findfp.c
	libc/stdio/local.h
	libc/tzcode/localtime.c
	libc/unistd/abort.c
	libc/upstream-freebsd/lib/libc/stdio/fclose.c
	libc/upstream-freebsd/lib/libc/stdlib/getopt_long.c
	linker/linker_phdr.cpp

Change-Id: Iab1560dcbba01aeb491bb6a08728a0006e3583ef
Clean up abort.

* A dlmalloc usage error shouldn't call abort(3) because we want to
  cause a SIGSEGV by writing the address dlmalloc didn't like to an
  address the kernel won't like, so that debuggerd will dump the
  memory around the address that upset dlmalloc.

* Switch to the simpler FreeBSD/NetBSD style of registering stdio
  cleanup. Hopefully this will let us simplify more of the stdio
  implementation.

* Clear the stdio cleanup handler before we abort because of a dlmalloc
  corruption error. This fixes the reported bug, where we'd hang inside
  dlmalloc because the stdio cleanup reentered dlmalloc.

Bug: 9301265
Change-Id: Ief31b389455d6876e5a68f0f5429567d37277dbc

Conflicts:

	libc/bionic/libc_logging.cpp
	libc/stdio/findfp.c
	libc/stdio/local.h
	libc/upstream-freebsd/lib/libc/stdio/makebuf.c
	libc/upstream-freebsd/lib/libc/stdio/setvbuf.c
reconcile upstream-freebsd and pthread stuff with android-4.4_r1

Change-Id: I10a4d07395ab74d5dddc732d675f55d18c077c3c
Fix fortification inclusion

Change-Id: Ibd594305c865312a551775fa9a9a7bd5d05afc22
Fix libc_init_common stack size

Change-Id: I930923f2064739fcf6325c432e2342f229b03ebd
Boom roasted

Change-Id: I11acd4d9158d39c7035eb9eb7403184aff373073
Werror is for suckas. We're from the streets

Change-Id: Ib45a94dfa8e34b9bb574026f1a97cf36fce52583
Try not building THIS, bionic.

Change-Id: Ib1863cb72c4e5a6589ff9a44fcb2f4c6e9dbaa23
Remove __strchr_chk.cpp NOT __strcat_chk.cpp

Change-Id: I6ecd8bbffc3f6051c3c650d878adffb55a9e730e
Get 4.4 building

Change-Id: Ie9007fc2f29b0c6b6984244a8484584528998da3
Don't include memchr.c twice

Change-Id: I663a934dd4c8e7e87e8d018c878b3c4d04b0b914
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Merge remote-tracking branch 'linaro/linaro_android_4.4' into HEAD

Conflicts:
	libc/include/netinet/in6.h
	libc/netbsd/resolv/res_send.c
	libm/sincos.c

Change-Id: Ia947d0046a9703b6fb84cd1badd06938a16c94f9