OSDN Git Service

android-x86/bionic.git
10 years agoRemove dead files.
Christopher Ferris [Thu, 3 Oct 2013 18:15:09 +0000 (11:15 -0700)]
Remove dead files.

memcpy.a15.S/strcmp.a15.S files were submitted by ARM for use as the basis
for the memcpy/strcmp implementations in cortex-a15.

memset.S was moved in to the generic directory.

NOTE: memcpy.a9.S was submitted by Linaro to be the basis for the memcpy
for cortex-a9/cortex-a15 but has not been incorporated yet.

Bug: 10971279

Change-Id: Id8d97c888b4b9951cf49e1d94902501960720d56

10 years agoRemove the __ARM_FEATURE_DSP check.
Christopher Ferris [Thu, 3 Oct 2013 00:03:44 +0000 (17:03 -0700)]
Remove the __ARM_FEATURE_DSP check.

The check for __ARM_FEATURE_DSP being defined is pointless since it
is always defined.

Bug: 10971279

Change-Id: Id3f709cf9fd0e5a001be1a7dab5f249bcc16fe4c

10 years agoam 56343733: am 8598cd68: am f741e1c2: Merge "FORTIFY_SOURCE: Add __FD_* checks"
Nick Kralevich [Wed, 2 Oct 2013 23:35:44 +0000 (16:35 -0700)]
am 56343733: am 8598cd68: am f741e1c2: Merge "FORTIFY_SOURCE: Add __FD_* checks"

* commit '5634373320d7dac30fa68feeb4d3b883566461ac':
  FORTIFY_SOURCE: Add __FD_* checks

10 years agoam 8598cd68: am f741e1c2: Merge "FORTIFY_SOURCE: Add __FD_* checks"
Nick Kralevich [Wed, 2 Oct 2013 23:30:51 +0000 (16:30 -0700)]
am 8598cd68: am f741e1c2: Merge "FORTIFY_SOURCE: Add __FD_* checks"

* commit '8598cd6888366008033286113bd633b44c70b7dd':
  FORTIFY_SOURCE: Add __FD_* checks

10 years agoam f741e1c2: Merge "FORTIFY_SOURCE: Add __FD_* checks"
Nick Kralevich [Wed, 2 Oct 2013 23:28:00 +0000 (16:28 -0700)]
am f741e1c2: Merge "FORTIFY_SOURCE: Add __FD_* checks"

* commit 'f741e1c2ed27f153e92a2a36c9db3b189f9a6388':
  FORTIFY_SOURCE: Add __FD_* checks

10 years agoMerge "FORTIFY_SOURCE: Add __FD_* checks"
Nick Kralevich [Wed, 2 Oct 2013 23:26:50 +0000 (23:26 +0000)]
Merge "FORTIFY_SOURCE: Add __FD_* checks"

10 years agoFORTIFY_SOURCE: Add __FD_* checks
Nick Kralevich [Wed, 2 Oct 2013 23:11:30 +0000 (16:11 -0700)]
FORTIFY_SOURCE: Add __FD_* checks

Add FORTIFY_SOURCE checks for the following macros:

* FD_CLR
* FD_ISSET
* FD_SET

Bug: 11047121
Change-Id: I3c5952136aec9eff3288b91b1318677ff971525c

10 years agoam a6d4acc9: am 1986d369: am 32c0c6e7: Merge "Use gnu++11 and gnu99 explicitly for...
Stephen Hines [Wed, 2 Oct 2013 22:25:27 +0000 (15:25 -0700)]
am a6d4acc9: am 1986d369: am 32c0c6e7: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."

* commit 'a6d4acc9f957a1d079e646a3bb6ee4a6504b6220':
  Use gnu++11 and gnu99 explicitly for C++/C files.

10 years agoam 1986d369: am 32c0c6e7: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
Stephen Hines [Wed, 2 Oct 2013 22:22:56 +0000 (15:22 -0700)]
am 1986d369: am 32c0c6e7: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."

* commit '1986d36957089bfc8a9d8135768f067395e98bd5':
  Use gnu++11 and gnu99 explicitly for C++/C files.

10 years agoam 32c0c6e7: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
Stephen Hines [Wed, 2 Oct 2013 22:20:36 +0000 (15:20 -0700)]
am 32c0c6e7: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."

* commit '32c0c6e7d56ea2fad0a362f37bb84937b82c3be2':
  Use gnu++11 and gnu99 explicitly for C++/C files.

10 years agoMerge "Use gnu++11 and gnu99 explicitly for C++/C files."
Stephen Hines [Wed, 2 Oct 2013 22:18:25 +0000 (22:18 +0000)]
Merge "Use gnu++11 and gnu99 explicitly for C++/C files."

10 years agoam 944ce989: am f7da611b: am 00d51c9f: Merge "Use alloc_size attribute on *alloc...
Nick Kralevich [Wed, 2 Oct 2013 21:41:52 +0000 (14:41 -0700)]
am 944ce989: am f7da611b: am 00d51c9f: Merge "Use alloc_size attribute on *alloc functions"

* commit '944ce989f8d9c4fa1c8211ac5aa46693346e1fe0':
  Use alloc_size attribute on *alloc functions

10 years agoam f7da611b: am 00d51c9f: Merge "Use alloc_size attribute on *alloc functions"
Nick Kralevich [Wed, 2 Oct 2013 21:38:12 +0000 (14:38 -0700)]
am f7da611b: am 00d51c9f: Merge "Use alloc_size attribute on *alloc functions"

* commit 'f7da611b3dedaf9951e08b0296daf67eda8228c0':
  Use alloc_size attribute on *alloc functions

10 years agoam 00d51c9f: Merge "Use alloc_size attribute on *alloc functions"
Nick Kralevich [Wed, 2 Oct 2013 21:35:03 +0000 (14:35 -0700)]
am 00d51c9f: Merge "Use alloc_size attribute on *alloc functions"

* commit '00d51c9f6e9b3f10bddad80b3938ffa553094578':
  Use alloc_size attribute on *alloc functions

10 years agoMerge "Use alloc_size attribute on *alloc functions"
Nick Kralevich [Wed, 2 Oct 2013 21:31:42 +0000 (21:31 +0000)]
Merge "Use alloc_size attribute on *alloc functions"

10 years agoUse alloc_size attribute on *alloc functions
Nick Kralevich [Wed, 2 Oct 2013 21:14:40 +0000 (14:14 -0700)]
Use alloc_size attribute on *alloc functions

malloc and family were not declared with __attribute__((alloc_size)).
This was (sometimes) preventing FORTIFY_SOURCE related functions
from knowing the size of the buffer it's dealing with, inhibiting
FORTIFY_SOURCE protections.

Add __attribute__((alloc_size))

Information about the alloc_size attribute can be found
at http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html

Change-Id: Ia2f0a445f0170a7325f69259b5e7fb35a9f14921

10 years agoUse gnu++11 and gnu99 explicitly for C++/C files.
Stephen Hines [Tue, 1 Oct 2013 00:10:53 +0000 (17:10 -0700)]
Use gnu++11 and gnu99 explicitly for C++/C files.

Clang and gcc default to different standards, so we should be explicit
about the versions we want to compile for.

Change-Id: I65495a2392dd29f36373b94c616c2506173e6033

10 years agoam a0a5a501: am 2e2a4f97: am 4bbf3a8b: Merge "Remove #define _BITSIZE 32."
Elliott Hughes [Wed, 2 Oct 2013 17:11:46 +0000 (10:11 -0700)]
am a0a5a501: am 2e2a4f97: am 4bbf3a8b: Merge "Remove #define _BITSIZE 32."

* commit 'a0a5a5015210585abc426a79e51b8cb70e28569d':
  Remove #define _BITSIZE 32.

10 years agoam 2e2a4f97: am 4bbf3a8b: Merge "Remove #define _BITSIZE 32."
Elliott Hughes [Wed, 2 Oct 2013 17:10:27 +0000 (10:10 -0700)]
am 2e2a4f97: am 4bbf3a8b: Merge "Remove #define _BITSIZE 32."

* commit '2e2a4f97bfbb7b94d12690395c5cbcf7d7d1edc7':
  Remove #define _BITSIZE 32.

10 years agoam 4bbf3a8b: Merge "Remove #define _BITSIZE 32."
Elliott Hughes [Wed, 2 Oct 2013 17:08:58 +0000 (10:08 -0700)]
am 4bbf3a8b: Merge "Remove #define _BITSIZE 32."

* commit '4bbf3a8b558ea8b5ce62f2d1ee2599a8e95c21c0':
  Remove #define _BITSIZE 32.

10 years agoMerge "Remove #define _BITSIZE 32."
Elliott Hughes [Wed, 2 Oct 2013 17:06:44 +0000 (17:06 +0000)]
Merge "Remove #define _BITSIZE 32."

10 years agoam 9218adc3: am 62f95981: am 70e1730c: Merge "Remove _FORTIFY_SOURCE in implementatio...
Stephen Hines [Wed, 2 Oct 2013 16:39:15 +0000 (09:39 -0700)]
am 9218adc3: am 62f95981: am 70e1730c: Merge "Remove _FORTIFY_SOURCE in implementation files."

* commit '9218adc3909ee4d549526bba546203c8e1a16344':
  Remove _FORTIFY_SOURCE in implementation files.

10 years agoam 95fa8962: am dcffa999: am e0e6409c: Merge "Add simple implementation _Unwind_GetIP...
Stephen Hines [Wed, 2 Oct 2013 16:39:14 +0000 (09:39 -0700)]
am 95fa8962: am dcffa999: am e0e6409c: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."

* commit '95fa896206b82f2d8c2c26681511caf5d6c896f6':
  Add simple implementation _Unwind_GetIP() for clang compiles.

10 years agoam 62f95981: am 70e1730c: Merge "Remove _FORTIFY_SOURCE in implementation files."
Stephen Hines [Wed, 2 Oct 2013 16:33:27 +0000 (09:33 -0700)]
am 62f95981: am 70e1730c: Merge "Remove _FORTIFY_SOURCE in implementation files."

* commit '62f95981df783575efd44cb4206be7b2cbdfcf1c':
  Remove _FORTIFY_SOURCE in implementation files.

10 years agoam dcffa999: am e0e6409c: Merge "Add simple implementation _Unwind_GetIP() for clang...
Stephen Hines [Wed, 2 Oct 2013 16:33:27 +0000 (09:33 -0700)]
am dcffa999: am e0e6409c: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."

* commit 'dcffa9998e95dc0fb89d0c9e0ae51a0557d5b2b4':
  Add simple implementation _Unwind_GetIP() for clang compiles.

10 years agoam 70e1730c: Merge "Remove _FORTIFY_SOURCE in implementation files."
Stephen Hines [Wed, 2 Oct 2013 16:31:56 +0000 (09:31 -0700)]
am 70e1730c: Merge "Remove _FORTIFY_SOURCE in implementation files."

* commit '70e1730c38ad91cf65425e29732b5c041dd0cf43':
  Remove _FORTIFY_SOURCE in implementation files.

10 years agoam e0e6409c: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
Stephen Hines [Wed, 2 Oct 2013 16:31:55 +0000 (09:31 -0700)]
am e0e6409c: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."

* commit 'e0e6409c12d21cf1f0390c435fd76e74b5c4580d':
  Add simple implementation _Unwind_GetIP() for clang compiles.

10 years agoMerge "Remove _FORTIFY_SOURCE in implementation files."
Stephen Hines [Wed, 2 Oct 2013 16:30:15 +0000 (16:30 +0000)]
Merge "Remove _FORTIFY_SOURCE in implementation files."

10 years agoMerge "Add simple implementation _Unwind_GetIP() for clang compiles."
Stephen Hines [Wed, 2 Oct 2013 16:29:21 +0000 (16:29 +0000)]
Merge "Add simple implementation _Unwind_GetIP() for clang compiles."

10 years agoRemove #define _BITSIZE 32.
Elliott Hughes [Wed, 2 Oct 2013 16:23:46 +0000 (09:23 -0700)]
Remove #define _BITSIZE 32.

I've no idea what _BITSIZE was supposed to be, glibc doesn't have it,
the BSDs don't have it, and no code is currently using it. But having
it set unconditionally to 32 sounds like a bad idea.

Change-Id: I900235c1489afba891fff0bc3b43e9d593249a4f

10 years agoam 5cf3b4bd: am a8f4e905: am e26135ab: Merge "The x86_64 kernel headers are the x86...
Elliott Hughes [Wed, 2 Oct 2013 15:59:02 +0000 (08:59 -0700)]
am 5cf3b4bd: am a8f4e905: am e26135ab: Merge "The x86_64 kernel headers are the x86 kernel headers."

* commit '5cf3b4bd34c86be6e2dc5197d8b9f503a5faf37d':
  The x86_64 kernel headers are the x86 kernel headers.

10 years agoam a8f4e905: am e26135ab: Merge "The x86_64 kernel headers are the x86 kernel headers."
Elliott Hughes [Wed, 2 Oct 2013 15:57:27 +0000 (08:57 -0700)]
am a8f4e905: am e26135ab: Merge "The x86_64 kernel headers are the x86 kernel headers."

* commit 'a8f4e905fa3fe5998607ff084091879b77257fd0':
  The x86_64 kernel headers are the x86 kernel headers.

10 years agoam e26135ab: Merge "The x86_64 kernel headers are the x86 kernel headers."
Elliott Hughes [Wed, 2 Oct 2013 15:55:07 +0000 (08:55 -0700)]
am e26135ab: Merge "The x86_64 kernel headers are the x86 kernel headers."

* commit 'e26135ab18c94ba6ee9866bc04471853a899565b':
  The x86_64 kernel headers are the x86 kernel headers.

10 years agoMerge "The x86_64 kernel headers are the x86 kernel headers."
Elliott Hughes [Wed, 2 Oct 2013 15:52:02 +0000 (15:52 +0000)]
Merge "The x86_64 kernel headers are the x86 kernel headers."

10 years agoam 14cf7286: am f0470422: am 9461e9fa: Merge "Add missing backslash in MIPS filelist"
Elliott Hughes [Wed, 2 Oct 2013 03:59:45 +0000 (20:59 -0700)]
am 14cf7286: am f0470422: am 9461e9fa: Merge "Add missing backslash in MIPS filelist"

* commit '14cf72860fbc74408db42ef9d85832c450dacf27':
  Add missing backslash in MIPS filelist

10 years agoam b1b8babb: am c7e8e990: am 5e244a9b: Merge "Fix libm build for x86_64."
Elliott Hughes [Wed, 2 Oct 2013 03:59:43 +0000 (20:59 -0700)]
am b1b8babb: am c7e8e990: am 5e244a9b: Merge "Fix libm build for x86_64."

* commit 'b1b8babbbb672086a7678741e8769303a2814bca':
  Fix libm build for x86_64.

10 years agoam 7cb6933c: am 8a50d0c0: am bcc2bd3b: Merge "x86_64: libm fixes"
Elliott Hughes [Wed, 2 Oct 2013 03:59:42 +0000 (20:59 -0700)]
am 7cb6933c: am 8a50d0c0: am bcc2bd3b: Merge "x86_64: libm fixes"

* commit '7cb6933c0dc87b147100895a77d2743370321976':
  x86_64: libm fixes

10 years agoam a1de7e50: am f1c534ce: am 6892a29b: Merge "Remove more assumptions that pointers...
Elliott Hughes [Wed, 2 Oct 2013 03:59:42 +0000 (20:59 -0700)]
am a1de7e50: am f1c534ce: am 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."

* commit 'a1de7e503355eda6910eaea1c06a2c1080d48dff':
  Remove more assumptions that pointers are 32-bit.

10 years agoam c1cd0f74: am f43f8aa8: am b2acd5de: Merge "x86_64: Update Makefiles for x86_64...
Elliott Hughes [Wed, 2 Oct 2013 03:59:40 +0000 (20:59 -0700)]
am c1cd0f74: am f43f8aa8: am b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"

* commit 'c1cd0f74c93fe00563f117c8029bc8b95c5b823e':
  x86_64: Update Makefiles for x86_64 targets and add symlinks

10 years agoam 211fd4f9: am 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
Elliott Hughes [Wed, 2 Oct 2013 03:59:36 +0000 (20:59 -0700)]
am 211fd4f9: am 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"

* commit '211fd4f963978f355494100c7038e1b5116d3fce':
  x86_64: add new __NR_arch_prctl syscall

10 years agoam 35336777: am 67e0214d: am 232dff3a: Merge "Regenerate the system call stubs (to...
Elliott Hughes [Wed, 2 Oct 2013 03:59:35 +0000 (20:59 -0700)]
am 35336777: am 67e0214d: am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."

* commit '35336777f1115ead63559d2ce91cc9c9481cb0c8':
  Regenerate the system call stubs (to get x86_64).

10 years agoam 1e998861: am c58d08d6: am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune...
Elliott Hughes [Wed, 2 Oct 2013 03:59:34 +0000 (20:59 -0700)]
am 1e998861: am c58d08d6: am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"

* commit '1e9988617234fc504c72f26e13cf0c8d598fb85b':
  x86_64: Add x86_64 syscalls and tune gen scripts for x86_64

10 years agoam a08be021: am 57e55fe3: am fd152c31: Merge "Clean up some comments."
Elliott Hughes [Wed, 2 Oct 2013 03:59:34 +0000 (20:59 -0700)]
am a08be021: am 57e55fe3: am fd152c31: Merge "Clean up some comments."

* commit 'a08be021ccaf81bcbc53553c2f822730124c3d5e':
  Clean up some comments.

10 years agoam d4e69610: am 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
Elliott Hughes [Wed, 2 Oct 2013 03:59:28 +0000 (20:59 -0700)]
am d4e69610: am 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."

* commit 'd4e6961041942c6c01e6205db7d81368b39a4d1e':
  Better statfs/fstatfs glibc compatibility.

10 years agoam 58413fe7: am 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the...
Elliott Hughes [Wed, 2 Oct 2013 03:59:28 +0000 (20:59 -0700)]
am 58413fe7: am 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."

* commit '58413fe73561e8f230092a2b83db64e58fcb061d':
  Remove 32-bit assumptions from the ELF code.

10 years agoam f0470422: am 9461e9fa: Merge "Add missing backslash in MIPS filelist"
Elliott Hughes [Wed, 2 Oct 2013 02:51:21 +0000 (19:51 -0700)]
am f0470422: am 9461e9fa: Merge "Add missing backslash in MIPS filelist"

* commit 'f04704225b64d2ced8d34036af3336a57d945af5':
  Add missing backslash in MIPS filelist

10 years agoam 9461e9fa: Merge "Add missing backslash in MIPS filelist"
Elliott Hughes [Wed, 2 Oct 2013 02:49:00 +0000 (19:49 -0700)]
am 9461e9fa: Merge "Add missing backslash in MIPS filelist"

* commit '9461e9fae33bddecd2b1746e3158b9d2309a8163':
  Add missing backslash in MIPS filelist

10 years agoMerge "Add missing backslash in MIPS filelist"
Elliott Hughes [Wed, 2 Oct 2013 02:46:11 +0000 (02:46 +0000)]
Merge "Add missing backslash in MIPS filelist"

10 years agoAdd missing backslash in MIPS filelist
Chris Dearman [Wed, 2 Oct 2013 02:11:26 +0000 (19:11 -0700)]
Add missing backslash in MIPS filelist

Change-Id: I993ea7038cd641ea167d974226e2350e49d41c88

10 years agoam 6c8dc464: am 28317d3a: am f5ea738b: Merge "Fix x86 build."
Elliott Hughes [Wed, 2 Oct 2013 01:46:33 +0000 (18:46 -0700)]
am 6c8dc464: am 28317d3a: am f5ea738b: Merge "Fix x86 build."

* commit '6c8dc464068816986278d152a7c39d477924b360':
  Fix x86 build.

10 years agoam 5d641bcf: am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."
Elliott Hughes [Wed, 2 Oct 2013 01:46:32 +0000 (18:46 -0700)]
am 5d641bcf: am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."

* commit '5d641bcf70d36caa22ff2c7d3e3f252abf541bed':
  Add x86_64 to the bionic headers.

10 years agoam b2775090: am 34284954: am 76218efb: Merge "Fix inttypes.h and stdint.h for 64...
Elliott Hughes [Wed, 2 Oct 2013 01:45:53 +0000 (18:45 -0700)]
am b2775090: am 34284954: am 76218efb: Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."

* commit 'b27750909579926ad8154218b53f4d1765db7d28':
  Fix inttypes.h and stdint.h for 64-bit (and C++11).

10 years agoam a59e16ba: am 34c2a9fc: Move stack unwinding test into library.
Christopher Ferris [Wed, 2 Oct 2013 01:45:50 +0000 (18:45 -0700)]
am a59e16ba: am 34c2a9fc: Move stack unwinding test into library.

* commit 'a59e16bac971db7bb8e65e63d90e895bf4731747':

10 years agoAdd simple implementation _Unwind_GetIP() for clang compiles.
Stephen Hines [Wed, 2 Oct 2013 01:20:51 +0000 (18:20 -0700)]
Add simple implementation _Unwind_GetIP() for clang compiles.

Clang (prior to 3.4) does not actually provide a declaration (or definition)
of _Unwind_GetIP() for ARM. We can work around this by writing our own
basic implementation using the available primitive operations.

Change-Id: If6c66846952d8545849ad32d2b55daa4599cfe2c

10 years agoam c7e8e990: am 5e244a9b: Merge "Fix libm build for x86_64."
Elliott Hughes [Wed, 2 Oct 2013 01:05:24 +0000 (18:05 -0700)]
am c7e8e990: am 5e244a9b: Merge "Fix libm build for x86_64."

* commit 'c7e8e99082efaa616b15fb43ffe0f2e11423ea7d':
  Fix libm build for x86_64.

10 years agoThe x86_64 kernel headers are the x86 kernel headers.
Elliott Hughes [Wed, 2 Oct 2013 01:03:23 +0000 (18:03 -0700)]
The x86_64 kernel headers are the x86 kernel headers.

Change-Id: I8763aee7043800eb23a720914b57396e79fa812e

10 years agoam 5e244a9b: Merge "Fix libm build for x86_64."
Elliott Hughes [Wed, 2 Oct 2013 01:02:39 +0000 (18:02 -0700)]
am 5e244a9b: Merge "Fix libm build for x86_64."

* commit '5e244a9bee8f26d7eed4e81b25483fbd86f7b6d4':
  Fix libm build for x86_64.

10 years agoMerge "Fix libm build for x86_64."
Elliott Hughes [Wed, 2 Oct 2013 01:00:25 +0000 (01:00 +0000)]
Merge "Fix libm build for x86_64."

10 years agoFix libm build for x86_64.
Elliott Hughes [Wed, 2 Oct 2013 00:57:19 +0000 (17:57 -0700)]
Fix libm build for x86_64.

Change-Id: If89da2d5c3d9a88f78ffd8b260ad0f2fd391c608

10 years agoam 8a50d0c0: am bcc2bd3b: Merge "x86_64: libm fixes"
Elliott Hughes [Wed, 2 Oct 2013 00:37:55 +0000 (17:37 -0700)]
am 8a50d0c0: am bcc2bd3b: Merge "x86_64: libm fixes"

* commit '8a50d0c06f456ca32c49f8e52883ede959c91c21':
  x86_64: libm fixes

10 years agoam bcc2bd3b: Merge "x86_64: libm fixes"
Elliott Hughes [Wed, 2 Oct 2013 00:35:39 +0000 (17:35 -0700)]
am bcc2bd3b: Merge "x86_64: libm fixes"

* commit 'bcc2bd3b1e625243df41bdf212bdb3dd2ec3c26e':
  x86_64: libm fixes

10 years agoam f1c534ce: am 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."
Elliott Hughes [Wed, 2 Oct 2013 00:34:34 +0000 (17:34 -0700)]
am f1c534ce: am 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."

* commit 'f1c534ce222de66bdeac06f2dca62fbd84f629f9':
  Remove more assumptions that pointers are 32-bit.

10 years agoMerge "x86_64: libm fixes"
Elliott Hughes [Wed, 2 Oct 2013 00:32:42 +0000 (00:32 +0000)]
Merge "x86_64: libm fixes"

10 years agoam 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."
Elliott Hughes [Wed, 2 Oct 2013 00:32:19 +0000 (17:32 -0700)]
am 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."

* commit '6892a29b9e63f0bb54bd402081431b1233c125aa':
  Remove more assumptions that pointers are 32-bit.

10 years agoMerge "Remove more assumptions that pointers are 32-bit."
Elliott Hughes [Wed, 2 Oct 2013 00:30:51 +0000 (00:30 +0000)]
Merge "Remove more assumptions that pointers are 32-bit."

10 years agoRemove more assumptions that pointers are 32-bit.
Elliott Hughes [Wed, 2 Oct 2013 00:25:28 +0000 (17:25 -0700)]
Remove more assumptions that pointers are 32-bit.

Change-Id: I2157e2fc4db7692b746c697982c3d028a056462a

10 years agoam f43f8aa8: am b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and...
Elliott Hughes [Tue, 1 Oct 2013 22:41:27 +0000 (15:41 -0700)]
am f43f8aa8: am b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"

* commit 'f43f8aa80a77f59f4ad941d367fe25e30387a72b':
  x86_64: Update Makefiles for x86_64 targets and add symlinks

10 years agoam b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"
Elliott Hughes [Tue, 1 Oct 2013 22:39:19 +0000 (15:39 -0700)]
am b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"

* commit 'b2acd5ded1e801fb1379ec51c6f43eab63af50f5':
  x86_64: Update Makefiles for x86_64 targets and add symlinks

10 years agoMerge "x86_64: Update Makefiles for x86_64 targets and add symlinks"
Elliott Hughes [Tue, 1 Oct 2013 22:37:10 +0000 (22:37 +0000)]
Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"

10 years agox86_64: Update Makefiles for x86_64 targets and add symlinks
Pavel Chupin [Tue, 18 Dec 2012 13:30:02 +0000 (17:30 +0400)]
x86_64: Update Makefiles for x86_64 targets and add symlinks

Use basic .c versions of all functions for x86_64 until they are
manually optimized and .s versions released.

Change-Id: I59bba08931e894822db485c8803c2665c226234a
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoRemove _FORTIFY_SOURCE in implementation files.
Stephen Hines [Tue, 1 Oct 2013 22:02:07 +0000 (15:02 -0700)]
Remove _FORTIFY_SOURCE in implementation files.

This was causing conflicting declarations for the library definitions of
common functions like sprintf(), snprintf(), and strchr().

Change-Id: I5daaa8a58183aa0d4d0fae8a7cb799671810f576

10 years agoam 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
Elliott Hughes [Tue, 1 Oct 2013 21:04:19 +0000 (14:04 -0700)]
am 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"

* commit '24e1dd8016eeaaa6ef3646cbb143de1506e733e8':
  x86_64: add new __NR_arch_prctl syscall

10 years agoam 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
Elliott Hughes [Tue, 1 Oct 2013 21:01:09 +0000 (14:01 -0700)]
am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"

* commit '4eaa1e1ea8e4ba4fed31e4bd884e27683db90d81':
  x86_64: add new __NR_arch_prctl syscall

10 years agoam 67e0214d: am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."
Elliott Hughes [Tue, 1 Oct 2013 20:59:59 +0000 (13:59 -0700)]
am 67e0214d: am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."

* commit '67e0214d0f620df7a7928ef0fa1a9c0aac326a20':
  Regenerate the system call stubs (to get x86_64).

10 years agoMerge "x86_64: add new __NR_arch_prctl syscall"
Elliott Hughes [Tue, 1 Oct 2013 20:58:41 +0000 (20:58 +0000)]
Merge "x86_64: add new __NR_arch_prctl syscall"

10 years agoam 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."
Elliott Hughes [Tue, 1 Oct 2013 20:56:51 +0000 (13:56 -0700)]
am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."

* commit '232dff3af296d8b86658a9742288ee487b41dd3f':
  Regenerate the system call stubs (to get x86_64).

10 years agox86_64: add new __NR_arch_prctl syscall
Pavel Chupin [Wed, 12 Dec 2012 09:18:50 +0000 (13:18 +0400)]
x86_64: add new __NR_arch_prctl syscall

This is used to set/get TLS on x86_64. There's no public declaration
of this because it's not meant to be used outside the C library, like
glibc (though we don't currently have any visibility controls to ensure
this).

Change-Id: I5fc0a5e3ffc3f4cd597d92ee685ab19568ea18f7
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoMerge "Regenerate the system call stubs (to get x86_64)."
Elliott Hughes [Tue, 1 Oct 2013 20:53:50 +0000 (20:53 +0000)]
Merge "Regenerate the system call stubs (to get x86_64)."

10 years agoam c58d08d6: am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts...
Elliott Hughes [Tue, 1 Oct 2013 20:38:16 +0000 (13:38 -0700)]
am c58d08d6: am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"

* commit 'c58d08d655fbb3e0472fcb6ea9879fd1ced39172':
  x86_64: Add x86_64 syscalls and tune gen scripts for x86_64

10 years agoam 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
Elliott Hughes [Tue, 1 Oct 2013 20:30:28 +0000 (13:30 -0700)]
am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"

* commit '475e8dde178f05f91626a22ade795244efe69a3e':
  x86_64: Add x86_64 syscalls and tune gen scripts for x86_64

10 years agoRegenerate the system call stubs (to get x86_64).
Elliott Hughes [Tue, 1 Oct 2013 20:29:43 +0000 (13:29 -0700)]
Regenerate the system call stubs (to get x86_64).

This touches the x86 stubs too because arm, x86, and x86_64 now
all share the same header (at a source level), which causes a
reordering of the #include lines.

Change-Id: If9a1e2b2718bd41d8399fea748bce672c513ef84

10 years agoMerge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
Elliott Hughes [Tue, 1 Oct 2013 20:27:48 +0000 (20:27 +0000)]
Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"

10 years agox86_64: Add x86_64 syscalls and tune gen scripts for x86_64
Pavel Chupin [Wed, 12 Dec 2012 09:11:48 +0000 (13:11 +0400)]
x86_64: Add x86_64 syscalls and tune gen scripts for x86_64

* Tune syscall stubs generator for 4th target: x86_64
* Update SYSCALLS.TXT with x86_64 syscalls:
 - Most of the x86 syscalls are equally supported
 - *32 syscalls are not supported on 64-bit
 - *64 syscalls are replaced accordingly without 64 suffix
 - Some syscalls are not supported, replaced with x86_64 analog

Syscalls are regenerated as separate patch for review convenience.

Change-Id: I4ea2e0f13759b0aa61f05208ca68da8d6bc7c048
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agox86_64: libm fixes
Pavel Chupin [Fri, 20 Sep 2013 15:09:55 +0000 (19:09 +0400)]
x86_64: libm fixes

* Makefile update for x86_64 target
* amd64 arch files

Change-Id: I8f17e3338bffd89a3086fbddd1e91bb4619eac1b
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoam 57e55fe3: am fd152c31: Merge "Clean up some comments."
Elliott Hughes [Tue, 1 Oct 2013 18:14:27 +0000 (11:14 -0700)]
am 57e55fe3: am fd152c31: Merge "Clean up some comments."

* commit '57e55fe3b32465023071a19e368d91f4804ade3b':
  Clean up some comments.

10 years agoam fd152c31: Merge "Clean up some comments."
Elliott Hughes [Tue, 1 Oct 2013 18:12:09 +0000 (11:12 -0700)]
am fd152c31: Merge "Clean up some comments."

* commit 'fd152c31586a1f5e6763b06f1182ccd72cb86b69':
  Clean up some comments.

10 years agoMerge "Clean up some comments."
Elliott Hughes [Tue, 1 Oct 2013 18:10:54 +0000 (18:10 +0000)]
Merge "Clean up some comments."

10 years agoClean up some comments.
Elliott Hughes [Tue, 1 Oct 2013 18:06:56 +0000 (11:06 -0700)]
Clean up some comments.

Copyright headers shouldn't contain the filename (and especially
shouldn't contain a different file's filename).

Change-Id: I82690a3bf371265402bc16f5d2fbb9299c3a1926

10 years agoam 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
Elliott Hughes [Tue, 1 Oct 2013 17:04:30 +0000 (10:04 -0700)]
am 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."

* commit '1a46de67b3f78ce44ddf622bcf5918fe758dd4d4':
  Better statfs/fstatfs glibc compatibility.

10 years agoam 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."
Elliott Hughes [Tue, 1 Oct 2013 17:04:29 +0000 (10:04 -0700)]
am 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."

* commit '4b5a0e1ad76d76d6a8793f61e3c0902ea4628ce7':
  Remove 32-bit assumptions from the ELF code.

10 years agoam f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
Elliott Hughes [Tue, 1 Oct 2013 17:02:16 +0000 (10:02 -0700)]
am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."

* commit 'f281fd02e9eebea3de9c07412c5b66647ca0c290':
  Better statfs/fstatfs glibc compatibility.

10 years agoam 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."
Elliott Hughes [Tue, 1 Oct 2013 17:02:16 +0000 (10:02 -0700)]
am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."

* commit '693bd73fcdf1504e84aef314d1933f5efc2c817d':
  Remove 32-bit assumptions from the ELF code.

10 years agoMerge "Better statfs/fstatfs glibc compatibility."
Elliott Hughes [Tue, 1 Oct 2013 15:30:40 +0000 (15:30 +0000)]
Merge "Better statfs/fstatfs glibc compatibility."

10 years agoMerge "Remove 32-bit assumptions from the ELF code."
Elliott Hughes [Tue, 1 Oct 2013 15:23:44 +0000 (15:23 +0000)]
Merge "Remove 32-bit assumptions from the ELF code."

10 years agoBetter statfs/fstatfs glibc compatibility.
Elliott Hughes [Tue, 1 Oct 2013 04:57:07 +0000 (21:57 -0700)]
Better statfs/fstatfs glibc compatibility.

Change-Id: I069d169c96cd71b75a045ec911fb4bd484c6b2c9

10 years agoam 28317d3a: am f5ea738b: Merge "Fix x86 build."
Elliott Hughes [Tue, 1 Oct 2013 03:53:55 +0000 (20:53 -0700)]
am 28317d3a: am f5ea738b: Merge "Fix x86 build."

* commit '28317d3a161c88f88e85d97d584d656ffbe63a19':
  Fix x86 build.

10 years agoam f5ea738b: Merge "Fix x86 build."
Elliott Hughes [Tue, 1 Oct 2013 03:51:53 +0000 (20:51 -0700)]
am f5ea738b: Merge "Fix x86 build."

* commit 'f5ea738baa0ad5b32348f2ac42450d33d452ef31':
  Fix x86 build.

10 years agoMerge "Fix x86 build."
Elliott Hughes [Tue, 1 Oct 2013 02:23:02 +0000 (02:23 +0000)]
Merge "Fix x86 build."

10 years agoFix x86 build.
Elliott Hughes [Tue, 1 Oct 2013 02:20:02 +0000 (19:20 -0700)]
Fix x86 build.

Change-Id: I1f2d8189bec3d0e25d21ca7d7bd73fd02f8678e2

10 years agoam f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."
Elliott Hughes [Tue, 1 Oct 2013 01:45:57 +0000 (18:45 -0700)]
am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."

* commit 'f5dcdfc438684bbe93e398b6551f915fe3fe10bf':
  Add x86_64 to the bionic headers.