Commit Graph

6659 Commits

Author SHA1 Message Date
Elliott Hughes
31d0542bcd am 0652fc66: am 63d56a00: am 62e6fe58: Merge "Fix compilation of crtbegin.c and pthread_debug.cpp."
* commit '0652fc667d86a646dc0011e9529bc59145e4bef4':
  Fix compilation of crtbegin.c and pthread_debug.cpp.
2013-12-18 18:02:35 +00:00
Elliott Hughes
0652fc667d am 63d56a00: am 62e6fe58: Merge "Fix compilation of crtbegin.c and pthread_debug.cpp."
* commit '63d56a00e95f6a6ca76d9bfd2e40d73cc7daff7d':
  Fix compilation of crtbegin.c and pthread_debug.cpp.
2013-12-18 18:00:22 +00:00
Elliott Hughes
63d56a00e9 am 62e6fe58: Merge "Fix compilation of crtbegin.c and pthread_debug.cpp."
* commit '62e6fe58490da764efebffe71ebf6c647695802e':
  Fix compilation of crtbegin.c and pthread_debug.cpp.
2013-12-18 09:54:42 -08:00
Elliott Hughes
62e6fe5849 Merge "Fix compilation of crtbegin.c and pthread_debug.cpp." 2013-12-18 17:48:28 +00:00
Elliott Hughes
e7c59f9e20 Fix compilation of crtbegin.c and pthread_debug.cpp.
Because there was no default := for the aarch64 libc_crt_target_cflags,
the += was causing libc_crt_target_cflags to be recursively-defined
variable, which meant that when we were compiling crtbegin.c LOCAL_PATH
would be bionic/tests/ and we'd have -Ibionic/tests/include/ and find
none of our include files.

Also fix linking of pthread_debug.cpp, at least in the disabled mode.
The enabled mode was already broken for all architectures, and continues
to be broken after this change. It's been broken for long enough that
we might want to just remove it...

(aarch64 is using the FSF linker where arm uses the gold linker.)

Change-Id: I7db2e386694f6933db043138e6e97e5ae54d4174
2013-12-18 09:47:44 -08:00
Elliott Hughes
a414f53e84 am 949295bb: am 22013ac4: am f293b157: Merge "AArch64: Linker64 support for AArch64"
* commit '949295bb87ea710e4c2c5353e39e52eafa0e1d05':
  AArch64: Linker64 support for AArch64
2013-12-17 23:22:40 +00:00
Elliott Hughes
949295bb87 am 22013ac4: am f293b157: Merge "AArch64: Linker64 support for AArch64"
* commit '22013ac4f061e2b88eda191fbd40ca5e1e9c8087':
  AArch64: Linker64 support for AArch64
2013-12-17 23:19:28 +00:00
Elliott Hughes
22013ac4f0 am f293b157: Merge "AArch64: Linker64 support for AArch64"
* commit 'f293b15728031432317791fb4a17a423545d37b3':
  AArch64: Linker64 support for AArch64
2013-12-17 15:11:57 -08:00
Elliott Hughes
f293b15728 Merge "AArch64: Linker64 support for AArch64" 2013-12-17 23:06:49 +00:00
Marcus Oakland
e365f9d654 AArch64: Linker64 support for AArch64
Addition of support for AArch64 in the linker64 target.

Change-Id: I8dfd9711278f6706063e91f626b6007ea7a3dd6e
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
2013-12-17 15:02:43 -08:00
Elliott Hughes
fc98004632 am 75ba3a34: am a2573d95: am 2e3826c0: Merge "AArch64: Add fixes to bionic/tests"
* commit '75ba3a341e7af52c9c6df8ad51d3d099c9710888':
  AArch64: Add fixes to bionic/tests
2013-12-17 01:50:41 +00:00
Elliott Hughes
75ba3a341e am a2573d95: am 2e3826c0: Merge "AArch64: Add fixes to bionic/tests"
* commit 'a2573d956bf98a6dd2bb391fdc344c7637b46e8d':
  AArch64: Add fixes to bionic/tests
2013-12-17 01:49:12 +00:00
Elliott Hughes
a2573d956b am 2e3826c0: Merge "AArch64: Add fixes to bionic/tests"
* commit '2e3826c08171ead1647c800a0a6d9c333d335762':
  AArch64: Add fixes to bionic/tests
2013-12-16 17:45:38 -08:00
Elliott Hughes
2e3826c081 Merge "AArch64: Add fixes to bionic/tests" 2013-12-17 01:41:08 +00:00
Serban Constantinescu
282e232e2a AArch64: Add fixes to bionic/tests
This patch adds minor fixes to the bionic unit tests.

Change-Id: Ie10f33c631ed6c10987923d678711d22931ddb05
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-12-16 17:40:30 -08:00
Elliott Hughes
47b65d69b6 am 29d3df6d: am 5f0cc63a: am 4e78ca63: Merge "AArch64: Initial AArch64 port of libm"
* commit '29d3df6d3aad093e2ea1b9e55eff31faf2ccc6e0':
  AArch64: Initial AArch64 port of libm
2013-12-17 01:18:35 +00:00
Elliott Hughes
29d3df6d3a am 5f0cc63a: am 4e78ca63: Merge "AArch64: Initial AArch64 port of libm"
* commit '5f0cc63a25b4fa7996b0201f0879784f7b781fbd':
  AArch64: Initial AArch64 port of libm
2013-12-17 01:15:32 +00:00
Elliott Hughes
47fb66a50b am fc61a873: am 1a92f739: am c858b567: Merge "AArch64: Add initial support for AArch64"
* commit 'fc61a87345c5d2e8d156aa9e38aab2f65d3c5670':
  AArch64: Add initial support for AArch64
2013-12-17 01:14:12 +00:00
Elliott Hughes
fc61a87345 am 1a92f739: am c858b567: Merge "AArch64: Add initial support for AArch64"
* commit '1a92f739997b4f86e5cccbebb8da957178998d11':
  AArch64: Add initial support for AArch64
2013-12-17 01:11:01 +00:00
Elliott Hughes
5f0cc63a25 am 4e78ca63: Merge "AArch64: Initial AArch64 port of libm"
* commit '4e78ca63b8d53b96c590d3f1b29b0cfb65a651bc':
  AArch64: Initial AArch64 port of libm
2013-12-16 17:09:32 -08:00
Elliott Hughes
4e78ca63b8 Merge "AArch64: Initial AArch64 port of libm" 2013-12-17 01:06:16 +00:00
Serban Constantinescu
1c4f101a9b AArch64: Initial AArch64 port of libm
This patch adds intial support for AArch64 to bionic's libm.

Change-Id: I9ae0f895bbdd7fe67815e6ca1ead627581163a27
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-12-16 17:05:37 -08:00
Elliott Hughes
1a92f73999 am c858b567: Merge "AArch64: Add initial support for AArch64"
* commit 'c858b567ad20efa86652ffed7b7427a2c77709bd':
  AArch64: Add initial support for AArch64
2013-12-16 17:04:58 -08:00
Elliott Hughes
c858b567ad Merge "AArch64: Add initial support for AArch64" 2013-12-17 01:01:02 +00:00
Serban Constantinescu
e210488e0d AArch64: Add initial support for AArch64
This is the first patch out of a series of patches that add support for
AArch64, the new 64bit execution state of the ARMv8 Architecture. The
patches add support for LP64 programming model.

The patch adds:
* "arch-aarch64" to the architecture directories.
* "arch-aarch64/include" - headers used by libc
* "arch-aarch64/bionic":
    - crtbegin, crtend support;
    - aarch64 specific syscall stubs;
    - setjmp, clone, vfork assembly files.

Change-Id: If72b859f81928d03ad05d4ccfcb54c2f5dbf99a5
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-12-16 17:00:22 -08:00
Elliott Hughes
601aef388c am bf5d3929: am fa604740: am db718023: Merge "AArch64: Add support for AArch64 atomic operations"
* commit 'bf5d39296fca2a389f838d5b85fbfc7f19b76df3':
  AArch64: Add support for AArch64 atomic operations
2013-12-16 23:27:46 +00:00
Elliott Hughes
43f135abeb am 334e83e6: am 07fa38da: am 3937d415: Merge "Fix typo."
* commit '334e83e6b47ef4e0f36d4cd99a2269c3c4ae4f76':
  Fix typo.
2013-12-16 23:27:45 +00:00
Elliott Hughes
bf5d39296f am fa604740: am db718023: Merge "AArch64: Add support for AArch64 atomic operations"
* commit 'fa604740390d55ec7e8fe1afc12526f9bd7311e9':
  AArch64: Add support for AArch64 atomic operations
2013-12-16 21:21:08 +00:00
Elliott Hughes
fa60474039 am db718023: Merge "AArch64: Add support for AArch64 atomic operations"
* commit 'db7180233f4c81799660011c968ebd97aaa6d4d7':
  AArch64: Add support for AArch64 atomic operations
2013-12-16 13:15:49 -08:00
Elliott Hughes
334e83e6b4 am 07fa38da: am 3937d415: Merge "Fix typo."
* commit '07fa38dad69910996b6efe2e4a13732c638c69a5':
  Fix typo.
2013-12-16 21:15:31 +00:00
Elliott Hughes
db7180233f Merge "AArch64: Add support for AArch64 atomic operations" 2013-12-16 21:09:57 +00:00
Serban Constantinescu
1924a5c92e AArch64: Add support for AArch64 atomic operations
This patch adds support for AArch64 atomic operations. Some
of the stubs use the lightweight store/load exclusive.

Change-Id: Iaf704d048b2dc15bf08cf8e4f0c3ea9f2052fe13
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-12-16 13:09:33 -08:00
Elliott Hughes
07fa38dad6 am 3937d415: Merge "Fix typo."
* commit '3937d41561206430373c4b3e0690d6f81b536412':
  Fix typo.
2013-12-16 13:08:44 -08:00
Elliott Hughes
3937d41561 Merge "Fix typo." 2013-12-16 21:03:19 +00:00
Elliott Hughes
4c186ffb83 Fix typo.
Change-Id: I85157a6b2056b6c17cae193200960b8cae3cb3b3
2013-12-16 13:02:49 -08:00
Elliott Hughes
087333c1cc am b31b775d: am e8101372: am 341b55a1: Merge "Clean up the pthread-only atomic stuff a little."
* commit 'b31b775dfee3730703ec58fcbbbaafae480399ff':
  Clean up the pthread-only atomic stuff a little.
2013-12-16 18:34:47 +00:00
Elliott Hughes
b31b775dfe am e8101372: am 341b55a1: Merge "Clean up the pthread-only atomic stuff a little."
* commit 'e810137214dbeeb9c0ed23b429f9f5f1a3273aa5':
  Clean up the pthread-only atomic stuff a little.
2013-12-16 18:31:56 +00:00
Elliott Hughes
e810137214 am 341b55a1: Merge "Clean up the pthread-only atomic stuff a little."
* commit '341b55a1e675396829aeb56a8771855d5ee6e18d':
  Clean up the pthread-only atomic stuff a little.
2013-12-16 10:25:47 -08:00
Elliott Hughes
341b55a1e6 Merge "Clean up the pthread-only atomic stuff a little." 2013-12-16 18:21:01 +00:00
Elliott Hughes
2b333b97a2 Clean up the pthread-only atomic stuff a little.
It looks like we can probably just use the generic GCC stuff instead;
the generated code looks pretty similar. We should come back to that.

These routines are only used by the pthread implementation, and
__bionic_atomic_inc isn't used, so we can remove it.

Change-Id: I8b5b8cb30a1b159f0e85c3675aee06ddef39b429
2013-12-16 10:18:11 -08:00
Elliott Hughes
5bcf426ab1 am 56f7c97e: am 6d4e8c1e: am 003be710: Merge "Clean up some ARMv4/ARMv5 cruft."
* commit '56f7c97e07d1b12a3fd5b22bfadec33afa254caa':
  Clean up some ARMv4/ARMv5 cruft.
2013-12-14 00:02:22 +00:00
Elliott Hughes
56f7c97e07 am 6d4e8c1e: am 003be710: Merge "Clean up some ARMv4/ARMv5 cruft."
* commit '6d4e8c1ea03f332dd86763995d6219ea50a3bce6':
  Clean up some ARMv4/ARMv5 cruft.
2013-12-13 23:51:29 +00:00
Elliott Hughes
6d4e8c1ea0 am 003be710: Merge "Clean up some ARMv4/ARMv5 cruft."
* commit '003be7104b5cb075632b0ff98d8ab4d3d182ed8c':
  Clean up some ARMv4/ARMv5 cruft.
2013-12-13 15:46:52 -08:00
Elliott Hughes
003be7104b Merge "Clean up some ARMv4/ARMv5 cruft." 2013-12-13 23:42:21 +00:00
Elliott Hughes
c54ca40aef Clean up some ARMv4/ARMv5 cruft.
Change-Id: I29e836fea4b53901e29f96c6888869c35f6726be
2013-12-13 14:02:30 -08:00
Elliott Hughes
f1e05aa736 am b77ef8dc: am 664b1d46: am 8623bf7b: Merge "Make <sys/param.h> more glibc-like."
* commit 'b77ef8dc811c146c3e9b5b9488ea0f0f91b72d1d':
  Make <sys/param.h> more glibc-like.
2013-12-12 23:58:39 +00:00
Elliott Hughes
b77ef8dc81 am 664b1d46: am 8623bf7b: Merge "Make <sys/param.h> more glibc-like."
* commit '664b1d46d8e6e6d3cee600ef11ec9c6966ac5f05':
  Make <sys/param.h> more glibc-like.
2013-12-12 23:55:59 +00:00
Christopher Ferris
9bed351f79 am 64edf779: am 7dfd8ae1: am 513d2770: Merge "Add ioprio.h."
* commit '64edf779d79fd81a39ee5e0327f585b37cd828f2':
  Add ioprio.h.
2013-12-12 23:51:17 +00:00
Christopher Ferris
64edf779d7 am 7dfd8ae1: am 513d2770: Merge "Add ioprio.h."
* commit '7dfd8ae1346bfe20f09dc7f36dd87608393b4154':
  Add ioprio.h.
2013-12-12 23:48:14 +00:00
Elliott Hughes
664b1d46d8 am 8623bf7b: Merge "Make <sys/param.h> more glibc-like."
* commit '8623bf7b4da802ee56618f575e92290499011df9':
  Make <sys/param.h> more glibc-like.
2013-12-12 15:44:39 -08:00