Add an optional alias list to SYSCALLS.TXT

This patch adds an optional alias list to SYSCALLS.TXT.  It is used to
create aliases for a syscall.  For x86-64, lseek64 is an alias for lseek.

Change-Id: Icb11fd2bb461ea4f5f0a26bfc585471d7d7cc468
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Merge "Add an optional alias list to SYSCALLS.TXT"
Refactor the syscall generation script.

Primarily so that the new x86_64 alias functionality is now available for
all architectures.

Change-Id: I9fde59093a1d08de98923f121a6e3d05ec5801d2
Fix Clang warning since KernelArgumentBlock is actually a class.

Change-Id: Id72868d80feffbbc5f7d1e43beaed5d4e4d95f52
Merge "Fix Clang warning since KernelArgumentBlock is actually a class."
Merge "Refactor the syscall generation script."
x86_64 linker.

Based on I8dc3e2cb596f75dc58ae82e4dc58f8c177dd3323 by
Pavel Chupin <pavel.v.chupin@intel.com>.

Change-Id: Icd582d277cbe273477b450f2848343d72c86ec9f
Merge "x86_64 linker."
Use C99 structure initializer designator style.

clang warns about using the GCC style of designator.

Change-Id: I86ec79f06c8774618082859f48d7d1f576520e32
Merge "Use C99 structure initializer designator style."
Use linker64 for the 64-bit linker.

Change-Id: I13fc7f93274f99e4cf99b077afdf5293e7233f39
Merge "Use linker64 for the 64-bit linker."
Make logging fall back to /dev/stderr if we're on the host.

Otherwise you get no logging, which sucks.

Change-Id: Iea1e8f996461afbb217a55711b7967005c39cfcb
Merge "Make logging fall back to /dev/stderr if we're on the host."
Use /system/lib64 and /vendor/lib64 for 64-bit libraries.

Change-Id: I4886aeb3070bf97b4cfe8053388ecb1bda288017
pthread_exit should call __NR_exit with status 0.

We shouldn't have been passing the bottom 32 bits of the address used
for pthread_join to the kernel.

Change-Id: I487e5002d60c27adba51173719213abbee0f183f
Merge "Use /system/lib64 and /vendor/lib64 for 64-bit libraries."
Merge "pthread_exit should call __NR_exit with status 0."
Fix the ALIGN and ALIGNBYTES macros for LP64.

Change-Id: I3a361255afce375ab1cefa449721f0aea4d47919
Merge "Fix the ALIGN and ALIGNBYTES macros for LP64."