6717 Commits

Author SHA1 Message Date
Elliott Hughes
b93702a046 Improve dynamic linker diagnostics for internal errors.
If the linker can't resolve its own internal references to symbols,
we currently exit silently (albeit with EXIT_FAILURE). Not very helpful.

Change-Id: I1614fc970dee4560b38832ede1987b65a8e53a1e
2013-12-22 19:38:42 +00:00
Elliott Hughes
470334333e Merge "Remove the bogus exit status from _exit_with_stack_teardown." 2013-12-22 19:36:56 +00:00
Elliott Hughes
2aace21a19 Remove the bogus exit status from _exit_with_stack_teardown.
It should always be 0, and there's no reason to pass a constant in as
an argument.

Change-Id: I92ac59b718a18e298bd7c52821af447f9181ca2a
2013-12-21 15:30:49 -08:00
Elliott Hughes
7b9f6ab834 am 57c6a969: am 6d929061: Merge "Fix MIPS build."
* commit '57c6a96939533a149b2736a21d3c0bad3a096e4e':
  Fix MIPS build.
2013-12-21 02:56:06 +00:00
Elliott Hughes
57c6a96939 am 6d929061: Merge "Fix MIPS build."
* commit '6d929061c36e7929c61c8e6331315b86fe86976f':
  Fix MIPS build.
2013-12-20 18:51:56 -08:00
Elliott Hughes
6d929061c3 Merge "Fix MIPS build." 2013-12-21 02:47:01 +00:00
Elliott Hughes
5b395ce071 Fix MIPS build.
Change-Id: Idd3bcda1803fd16b728a352d325bb070aed8fd94
2013-12-20 18:46:14 -08:00
Elliott Hughes
e4aaceb302 am 191c7e3e: am 3fdb7355: Merge "Avoid sign extension in 32-bit mmap."
* commit '191c7e3e2a9e6a7b81cafd9839556cd8cc92e4c1':
  Avoid sign extension in 32-bit mmap.
2013-12-21 02:35:37 +00:00
Elliott Hughes
5ff62cbe9d am 51166a7e: am 434f97f6: Merge "Remove some old kernel header cruft not needed with uapi."
* commit '51166a7e6f172eea42a68f8f8bc4c4d024cfb3f5':
  Remove some old kernel header cruft not needed with uapi.
2013-12-21 02:32:16 +00:00
Elliott Hughes
191c7e3e2a am 3fdb7355: Merge "Avoid sign extension in 32-bit mmap."
* commit '3fdb735590ed642420608dd7095c06de89d852b5':
  Avoid sign extension in 32-bit mmap.
2013-12-20 18:29:41 -08:00
Elliott Hughes
51166a7e6f am 434f97f6: Merge "Remove some old kernel header cruft not needed with uapi."
* commit '434f97f66aa64cd082f3f62fdd6422cad3132706':
  Remove some old kernel header cruft not needed with uapi.
2013-12-20 18:26:21 -08:00
Elliott Hughes
3fdb735590 Merge "Avoid sign extension in 32-bit mmap." 2013-12-21 02:23:35 +00:00
Elliott Hughes
434f97f66a Merge "Remove some old kernel header cruft not needed with uapi." 2013-12-21 02:21:13 +00:00
Elliott Hughes
99868904fe Avoid sign extension in 32-bit mmap.
Change-Id: I2a77925f62f381a0b34648c3db8154a55dd80c46
2013-12-20 18:17:34 -08:00
Elliott Hughes
9306d2a21f am bc86e156: am 22323f91: Merge "Fix aarch64 futex assembly routines."
* commit 'bc86e156cccb9d1d9bb1b2f1fcbce55fb67c5eb5':
  Fix aarch64 futex assembly routines.
2013-12-21 01:32:27 +00:00
Elliott Hughes
bc86e156cc am 22323f91: Merge "Fix aarch64 futex assembly routines."
* commit '22323f91b11b0fbaa0a101a75e116132028a5817':
  Fix aarch64 futex assembly routines.
2013-12-20 17:26:47 -08:00
Elliott Hughes
68d89c7d65 Remove some old kernel header cruft not needed with uapi.
Change-Id: If543b056ae40f0eb660be4a0629ad22f4c4cb92f
2013-12-20 17:26:30 -08:00
Elliott Hughes
22323f91b1 Merge "Fix aarch64 futex assembly routines." 2013-12-21 01:20:23 +00:00
Elliott Hughes
5eccb9646d Fix aarch64 futex assembly routines.
Also make the other architectures more similar to one another,
use NULL instead of 0 in calling code, and remove an unused #define.

Change-Id: I52b874afb6a351c802f201a0625e484df6d093bb
2013-12-20 16:58:06 -08:00
Elliott Hughes
c2b4de4dca am 9f65022f: am 026b6ab6: Merge "Allocate additional space on stack for indirect syscall"
* commit '9f65022f8f7a224cf7c32cccff65a698123f5e97':
  Allocate additional space on stack for indirect syscall
2013-12-20 23:48:19 +00:00
Elliott Hughes
9f65022f8f am 026b6ab6: Merge "Allocate additional space on stack for indirect syscall"
* commit '026b6ab6d5f0d8fca5cdfab05727197626769dc2':
  Allocate additional space on stack for indirect syscall
2013-12-20 15:41:59 -08:00
Elliott Hughes
026b6ab6d5 Merge "Allocate additional space on stack for indirect syscall" 2013-12-20 23:36:32 +00:00
Chris Dearman
766c7efe28 Allocate additional space on stack for indirect syscall
The caller is only required to allocate 16 bytes on the
stack for a0-a3. syscall is handling up to 6 arguments so
additional space is needed on the stack to avoid corrupting the
callers frame.

Change-Id: I054b31696decc3e17d9c70af18cd278b852235d1
2013-12-20 15:36:00 -08:00
Greg Hackmann
8d4d6d5536 am 70898677: am 5e26221a: Merge "Fix backwards compatible system property structure"
* commit '70898677713a4baee6abfb01d1c49b7169e68de2':
  Fix backwards compatible system property structure
2013-12-20 22:06:11 +00:00
Greg Hackmann
7089867771 am 5e26221a: Merge "Fix backwards compatible system property structure"
* commit '5e26221a1da6bc0f11819078e74f1f6e0b76f642':
  Fix backwards compatible system property structure
2013-12-20 14:00:26 -08:00
Greg Hackmann
5e26221a1d Merge "Fix backwards compatible system property structure" 2013-12-20 21:54:38 +00:00
Elliott Hughes
55ac19cf54 am 7b0964b1: am 21955e54: Merge "Upgrade to tzdata2013i."
* commit '7b0964b1818cc4b136368297ff1b3d38b0bff84d':
  Upgrade to tzdata2013i.
2013-12-20 19:43:12 +00:00
Elliott Hughes
7b0964b181 am 21955e54: Merge "Upgrade to tzdata2013i."
* commit '21955e5453de0b82c1ab25a3bb7314c249d73269':
  Upgrade to tzdata2013i.
2013-12-20 11:38:17 -08:00
Elliott Hughes
21955e5453 Merge "Upgrade to tzdata2013i." 2013-12-20 19:33:46 +00:00
Elliott Hughes
498295ca2b Upgrade to tzdata2013i.
From the release notes:

  Changes affecting near-future time stamps:

    Jordan switches back to standard time at 00:00 on December 20, 2013.
    The 2006-2011 transition schedule is planned to resume in 2014.
    (Thanks to Steffen Thorsen.)

  Changes affecting past time stamps:

    In 2004, Cuba began DST on March 28, not April 4.
    (Thanks to Steffen Thorsen.)

Change-Id: I8f26cc50f6b571804a18ff2113b4a47a22bc56dd
2013-12-20 11:26:19 -08:00
Elliott Hughes
aefb8b3599 am ddeca583: am aa267685: Merge "Allow GCC-built fortified code to run on a clang-built bionic."
* commit 'ddeca5832eac6ea7a50f8425fc97a45caaf6dd46':
  Allow GCC-built fortified code to run on a clang-built bionic.
2013-12-20 05:47:11 +00:00
Elliott Hughes
ddeca5832e am aa267685: Merge "Allow GCC-built fortified code to run on a clang-built bionic."
* commit 'aa267685c9da11502c4ec50f86f78a7075b6809c':
  Allow GCC-built fortified code to run on a clang-built bionic.
2013-12-19 21:23:09 -08:00
Elliott Hughes
aa267685c9 Merge "Allow GCC-built fortified code to run on a clang-built bionic." 2013-12-20 02:54:56 +00:00
Elliott Hughes
907710e49e am 543e5d54: am ea23753e: Merge "Fix __isnanl on aarch64."
* commit '543e5d543295f1b867e13e66bc93feb04b55c4eb':
  Fix __isnanl on aarch64.
2013-12-20 02:13:41 +00:00
Elliott Hughes
543e5d5432 am ea23753e: Merge "Fix __isnanl on aarch64."
* commit 'ea23753ea0a4d07924d9605d9acb44f51787ddd7':
  Fix __isnanl on aarch64.
2013-12-19 18:09:23 -08:00
Elliott Hughes
ea23753ea0 Merge "Fix __isnanl on aarch64." 2013-12-20 02:03:22 +00:00
Elliott Hughes
576fba08dc am c7295d73: am a19a41b6: Merge "Fix struct stat for aarch64."
* commit 'c7295d73098df8b5e6c23b1a08b0273232bb9176':
  Fix struct stat for aarch64.
2013-12-20 01:58:52 +00:00
Elliott Hughes
d7a478589f am b37569e3: am f85b9ac3: Merge "Don\'t force O_LARGEFILE on LP64."
* commit 'b37569e32ef9f4ad8359a8b93c7cb029e77f38c0':
  Don't force O_LARGEFILE on LP64.
2013-12-20 01:55:24 +00:00
Elliott Hughes
c7295d7309 am a19a41b6: Merge "Fix struct stat for aarch64."
* commit 'a19a41b6b596654a1ae21c350957d874031b00b2':
  Fix struct stat for aarch64.
2013-12-19 17:52:35 -08:00
Elliott Hughes
b37569e32e am f85b9ac3: Merge "Don\'t force O_LARGEFILE on LP64."
* commit 'f85b9ac3ec4fbebc2792cf823e0e721543950352':
  Don't force O_LARGEFILE on LP64.
2013-12-19 17:49:12 -08:00
Elliott Hughes
a19a41b6b5 Merge "Fix struct stat for aarch64." 2013-12-20 01:45:33 +00:00
Elliott Hughes
f85b9ac3ec Merge "Don't force O_LARGEFILE on LP64." 2013-12-20 01:44:24 +00:00
Elliott Hughes
28ddd91c49 Fix __isnanl on aarch64.
This fixes the math.__isnanl, math.powl, and math.fdiml tests.

Change-Id: I0086e4a1a82d0e2708fa07cf580a6d9778c548f2
2013-12-19 17:13:56 -08:00
Ben Cheng
88568a4b89 am 6517824f: am f576472a: Merge "Add __popcountsi2 to the function compat list."
* commit '6517824f160a41bbf31b410001cae73a35f89b42':
  Add __popcountsi2 to the function compat list.
2013-12-20 00:55:25 +00:00
Elliott Hughes
b8fa5b1ca9 Fix struct stat for aarch64.
Another kernel, another struct stat.

Change-Id: Ia5ee553d4a2ffc878d2fed82a763ff64c02b12e8
2013-12-19 16:50:22 -08:00
Ben Cheng
6517824f16 am f576472a: Merge "Add __popcountsi2 to the function compat list."
* commit 'f576472a144c20f307bfa05839eb25e7215ff67e':
  Add __popcountsi2 to the function compat list.
2013-12-19 16:49:31 -08:00
Elliott Hughes
17cabe15d5 Don't force O_LARGEFILE on LP64.
aarch64's strace is confused by this, and it isn't necessary anyway.

Change-Id: Ib07b649eb1c38ff0296003874f73af78c47bc276
2013-12-19 16:48:56 -08:00
Ben Cheng
f576472a14 Merge "Add __popcountsi2 to the function compat list." 2013-12-20 00:42:40 +00:00
Ben Cheng
e3fb66dd01 Add __popcountsi2 to the function compat list.
This is needed if we use Clang to compile Bionic, which won't include
__popcountsi2 anymore as Clang generates inline instructions. However
prebuilt binary blobs still depend on libc.so to resolve __popcountsi2.

Change-Id: I9001a3884c4be250c0ceebcd79922783fae1a0b7
2013-12-19 16:26:40 -08:00
Elliott Hughes
ffbbc131fa am 1608659a: am ed96db2a: Merge "Don\'t abort in stdio.getdelim_invalid and stdio.getline_invalid."
* commit '1608659a45e2291cab84b4ef1d1c6f35ff988e67':
  Don't abort in stdio.getdelim_invalid and stdio.getline_invalid.
2013-12-19 23:48:01 +00:00