Commit Graph

8300 Commits

Author SHA1 Message Date
Elliott Hughes
91f4eb485f am 48359851: am c6cd8846: Merge "LP64 shouldn\'t include the non-standard <time64.h> cruft."
* commit '4835985156538c05d562aeefe8e659d4b6d5c36f':
  LP64 shouldn't include the non-standard <time64.h> cruft.
2014-04-22 23:01:01 +00:00
Elliott Hughes
4835985156 am c6cd8846: Merge "LP64 shouldn\'t include the non-standard <time64.h> cruft."
* commit 'c6cd88464091460ccd845b218e05bc5d10025546':
  LP64 shouldn't include the non-standard <time64.h> cruft.
2014-04-22 22:57:40 +00:00
Elliott Hughes
c6cd884640 Merge "LP64 shouldn't include the non-standard <time64.h> cruft." 2014-04-22 22:53:15 +00:00
Dmitriy Ivanov
156c3afcf1 Follow up on building tests for both platforms
this makes run-on-host work properly

Change-Id: Iaed93ca9d96359b64bbeff995280ecd70fc9cc60
2014-04-22 15:22:25 -07:00
Christopher Ferris
24c2433256 am caba4e9b: am 8eaeaf50: Merge "Build 32/64 bit versions of tests/benchmarks."
* commit 'caba4e9b891d342c27cc60cfa8e469d7eb66b139':
  Build 32/64 bit versions of tests/benchmarks.
2014-04-22 21:42:51 +00:00
Christopher Ferris
caba4e9b89 am 8eaeaf50: Merge "Build 32/64 bit versions of tests/benchmarks."
* commit '8eaeaf50cbd769c7c9852621a422a4f0be1e08e5':
  Build 32/64 bit versions of tests/benchmarks.
2014-04-22 21:36:40 +00:00
Elliott Hughes
aef16ef2c4 am 3f9b56c7: am d0ecf597: Merge "Use -fvisibility=hidden to build libc_gdtoa."
* commit '3f9b56c75c3c9b0df085d11702595945aba15b7a':
  Use -fvisibility=hidden to build libc_gdtoa.
2014-04-22 21:20:49 +00:00
Elliott Hughes
3f9b56c75c am d0ecf597: Merge "Use -fvisibility=hidden to build libc_gdtoa."
* commit 'd0ecf5974f22f247fbf2b9e5e5e3194417589d11':
  Use -fvisibility=hidden to build libc_gdtoa.
2014-04-22 21:15:15 +00:00
Elliott Hughes
8d77bce185 LP64 shouldn't include the non-standard <time64.h> cruft.
This patch includes just enough to keep external/chromium_org building
until they switch 64-bit Android over to using the regular non-Android code.

Change-Id: Iecaf274efa46ae18a42d5e3439c5aa4f909177c1
2014-04-22 13:55:58 -07:00
Christopher Ferris
8eaeaf50cb Merge "Build 32/64 bit versions of tests/benchmarks." 2014-04-22 20:45:01 +00:00
Elliott Hughes
d0ecf5974f Merge "Use -fvisibility=hidden to build libc_gdtoa." 2014-04-22 20:42:36 +00:00
Elliott Hughes
cce36c1878 Use -fvisibility=hidden to build libc_gdtoa.
Bug: 12177745
Change-Id: Ia4ac71e1a3a237e764c809cc591622f8952ed642
2014-04-22 12:32:49 -07:00
Elliott Hughes
87a4339dc3 am 607475b8: am c5eea6d3: Merge "Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN."
* commit '607475b8570e1b203a23d2e904a628161bb7281e':
  Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN.
2014-04-22 18:31:25 +00:00
Christopher Ferris
345b49a7c0 Build 32/64 bit versions of tests/benchmarks.
Change-Id: I4d146377aac6573a214dfaa5cab5cce8b10538b4
2014-04-22 10:42:12 -07:00
Elliott Hughes
607475b857 am c5eea6d3: Merge "Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN."
* commit 'c5eea6d386c23bde6f0400a8959ed21081d8365b':
  Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN.
2014-04-22 17:10:16 +00:00
Elliott Hughes
c5eea6d386 Merge "Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN." 2014-04-22 17:00:33 +00:00
Torne (Richard Coles)
122d756378 am 5b673d23: am 4ff967f3: Merge "Fix arm64/x86 build."
* commit '5b673d23688cc78829a510be3b5825757e38be6a':
  Fix arm64/x86 build.
2014-04-22 13:37:43 +00:00
Torne (Richard Coles)
ca6a210693 am d56dd740: am b1bfa795: Merge "Allow sharing the RELRO section via a file."
* commit 'd56dd7403603c653e7622850ba30c7469a1ada7c':
  Allow sharing the RELRO section via a file.
2014-04-22 13:37:43 +00:00
Torne (Richard Coles)
b33b9aa98c am 2b981e8f: am c363e5dd: Merge "Support loading libraries to a reserved address."
* commit '2b981e8f612b4808b221724ce84dd8610d123fa2':
  Support loading libraries to a reserved address.
2014-04-22 13:37:42 +00:00
Torne (Richard Coles)
e115abbd3c am cf68e0db: am 16f6429c: Merge "Add android_dlopen_ext() interface to linker."
* commit 'cf68e0db1f6a9e6ca7aa7c267b2ce99ed02df3ae':
  Add android_dlopen_ext() interface to linker.
2014-04-22 13:37:41 +00:00
Elliott Hughes
5b3aa6c21a am 71eb83ac: am f3489807: Merge "Clean up and document our hacks for building BSD source."
* commit '71eb83acc5e273c847c0145573da0907fa51df3e':
  Clean up and document our hacks for building BSD source.
2014-04-22 13:37:40 +00:00
Torne (Richard Coles)
5b673d2368 am 4ff967f3: Merge "Fix arm64/x86 build."
* commit '4ff967f3301087ea6ccaa17cfb1f04a034448a68':
  Fix arm64/x86 build.
2014-04-22 13:32:01 +00:00
Torne (Richard Coles)
d56dd74036 am b1bfa795: Merge "Allow sharing the RELRO section via a file."
* commit 'b1bfa7956c56c28b8c914e6606df191e094e7b42':
  Allow sharing the RELRO section via a file.
2014-04-22 13:32:01 +00:00
Torne (Richard Coles)
2b981e8f61 am c363e5dd: Merge "Support loading libraries to a reserved address."
* commit 'c363e5dd0a15aac9036b453f655a3a0ae5cd32cd':
  Support loading libraries to a reserved address.
2014-04-22 13:32:00 +00:00
Torne (Richard Coles)
cf68e0db1f am 16f6429c: Merge "Add android_dlopen_ext() interface to linker."
* commit '16f6429c38c24236418cf127a4c11c5d8a2fd47b':
  Add android_dlopen_ext() interface to linker.
2014-04-22 13:32:00 +00:00
Elliott Hughes
71eb83acc5 am f3489807: Merge "Clean up and document our hacks for building BSD source."
* commit 'f3489807af6d48f208bc796d3c9b0d83a4fd5374':
  Clean up and document our hacks for building BSD source.
2014-04-22 13:31:59 +00:00
Torne (Richard Coles)
4ff967f330 Merge "Fix arm64/x86 build." 2014-04-22 11:01:22 +00:00
Torne (Richard Coles)
0dcf06f976 Fix arm64/x86 build.
Add missing second param to soinfo_link_image in a section that's not
compiled on ARM.

Bug: 13005501
Change-Id: Id0ede8e03da4e05b25c0aeb24a840f868031d4e8
2014-04-22 11:59:26 +01:00
Torne (Richard Coles)
b1bfa7956c Merge "Allow sharing the RELRO section via a file." 2014-04-22 10:39:49 +00:00
Torne (Richard Coles)
c363e5dd0a Merge "Support loading libraries to a reserved address." 2014-04-22 10:33:34 +00:00
Torne (Richard Coles)
16f6429c38 Merge "Add android_dlopen_ext() interface to linker." 2014-04-22 10:33:07 +00:00
Elliott Hughes
83c07b5e50 Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN.
GCC tells us everything we need to know. clang does its usual half-assed job.

Change-Id: Id4d664529b10345274602768cd564d3df717e931
2014-04-21 18:09:46 -07:00
Elliott Hughes
f3489807af Merge "Clean up and document our hacks for building BSD source." 2014-04-22 00:34:01 +00:00
Elliott Hughes
d39f3f2c2e Clean up and document our hacks for building BSD source.
Change-Id: Ic591e22fa5b363bb68376b9f25814c0e5bd83fbf
2014-04-21 17:13:46 -07:00
Elliott Hughes
26d9ed8388 am 4af8a473: am 44a98d5c: Merge "clang is >= 3.4 now; remove a hack."
* commit '4af8a473a44fd1a01186bac2f3b458ad08dc3f09':
  clang is >= 3.4 now; remove a hack.
2014-04-21 18:36:17 +00:00
Elliott Hughes
4af8a473a4 am 44a98d5c: Merge "clang is >= 3.4 now; remove a hack."
* commit '44a98d5c12530cbd6b1b0779690e9952207c34bf':
  clang is >= 3.4 now; remove a hack.
2014-04-21 18:33:07 +00:00
Elliott Hughes
4fefac5c1b am 5aa48ee3: am d812b219: Merge "Remove unused #defines from "arith.h"."
* commit '5aa48ee3ce9d0b9eca4534c817e126307d8cce8d':
  Remove unused #defines from "arith.h".
2014-04-21 18:29:10 +00:00
Elliott Hughes
44a98d5c12 Merge "clang is >= 3.4 now; remove a hack." 2014-04-21 18:26:22 +00:00
Elliott Hughes
5aa48ee3ce am d812b219: Merge "Remove unused #defines from "arith.h"."
* commit 'd812b2196a90ea0880c9e6f2eac0386c2917918d':
  Remove unused #defines from "arith.h".
2014-04-21 18:26:09 +00:00
Elliott Hughes
d812b2196a Merge "Remove unused #defines from "arith.h"." 2014-04-21 18:17:45 +00:00
Elliott Hughes
d3679c815e clang is >= 3.4 now; remove a hack.
Change-Id: I8d976ee0fd88eca9779c87b5d7e27f46b4b1b489
2014-04-21 10:15:14 -07:00
Elliott Hughes
2e003f4324 Remove unused #defines from "arith.h".
These were defined in upstream's per-arch files, so I carried them across,
but they aren't actually used anywhere.

Change-Id: Ica9796201dcd2caa5c34070c0dd226fc2050ba47
2014-04-21 09:59:00 -07:00
Elliott Hughes
ef98c33720 am a3d82df0: am 8abf44c4: Merge "Make libc signal handler output more like debuggerd."
* commit 'a3d82df0057b1d3f4a831aae265c5cf9550a927b':
  Make libc signal handler output more like debuggerd.
2014-04-21 15:59:25 +00:00
Dmitriy Ivanov
abbee0a077 am 0baa0f74: am 6d09ec3c: Merge "Fix for libgcc compat generation script."
* commit '0baa0f74d13bf8a7da1a1a431d938b4c53f7049d':
  Fix for libgcc compat generation script.
2014-04-21 15:59:25 +00:00
Elliott Hughes
a3d82df005 am 8abf44c4: Merge "Make libc signal handler output more like debuggerd."
* commit '8abf44c415bb3b02b6a3198196c92266442a0c32':
  Make libc signal handler output more like debuggerd.
2014-04-21 13:41:35 +00:00
Dmitriy Ivanov
0baa0f74d1 am 6d09ec3c: Merge "Fix for libgcc compat generation script."
* commit '6d09ec3c2fc7bdb18eeb1706ef7c7f52db6095cc':
  Fix for libgcc compat generation script.
2014-04-21 13:41:32 +00:00
Elliott Hughes
8abf44c415 Merge "Make libc signal handler output more like debuggerd." 2014-04-19 02:02:05 +00:00
Dmitriy Ivanov
6d09ec3c2f Merge "Fix for libgcc compat generation script." 2014-04-19 01:12:58 +00:00
Elliott Hughes
17e6a98b48 Make libc signal handler output more like debuggerd.
This has been annoying me for a while, because it's often quite misleading.

Today, for example, I saw:

  Fatal signal 13 (SIGPIPE) at 0x6573 (code=0), thread 25971 (top)

where the apparent address is actually the pid of the signal source (in this
case the kernel on behalf of the thread itself).

This patch isn't as fancy as strace, but it at least means we never say
anything misleading. We could decode the si_code field like strace and
debuggerd, but I'm reluctant to do that without some way to share the code
between at least bionic and debuggerd.

Examples after:

  Fatal signal 13 (SIGPIPE), code 0 in tid 9157 (top)
  Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 9142 (crasher64)
  Fatal signal 6 (SIGABRT), code -6 in tid 9132 (crasher64)

(Note that the code still shows as 0 for SIGPIPE in the signal handler itself
but as -6 (SI_TKILL) in debuggerd; this is actually correct --- debuggerd is
showing the re-raised signal sent at the end of the signal handler that
initially showed the correct code 0.)

Change-Id: I71cad4ab61f422a4f6687a60ac770371790278e0
2014-04-18 17:54:51 -07:00
Dmitriy Ivanov
6a45fe9872 Fix for libgcc compat generation script.
Taking into account possibility that external symbol
  could have been an OBJECT instead of function.

  b/14090368

Change-Id: Iac173d2dd1309ed53024306578137c26b1dbbf15
2014-04-18 17:34:20 -07:00