OSDN Git Service
Nick Kralevich [Tue, 28 Aug 2012 20:17:00 +0000 (13:17 -0700)]
am
069c64cd: Merge "ARM: make sure __on_dlclose() actually gets called"
* commit '
069c64cdf2d3da7b7ff6ea5d1041f982fb10ab22':
ARM: make sure __on_dlclose() actually gets called
Nick Kralevich [Tue, 28 Aug 2012 20:04:22 +0000 (13:04 -0700)]
Merge "ARM: make sure __on_dlclose() actually gets called"
Nick Kralevich [Tue, 28 Aug 2012 20:01:22 +0000 (13:01 -0700)]
am
e026b1d8: Merge "ARM: remove dummy entries from .so init_array/fini_array"
* commit '
e026b1d89a0dcada499da186d4d94cc3ce5d3ef3':
ARM: remove dummy entries from .so init_array/fini_array
Nick Kralevich [Tue, 28 Aug 2012 20:01:21 +0000 (13:01 -0700)]
am
ad180738: Merge "linker: Fix ARM_R_COPY relocations"
* commit '
ad18073897378d3a13aaa6a7e7005f254ab8c1c8':
linker: Fix ARM_R_COPY relocations
Nick Kralevich [Tue, 28 Aug 2012 19:49:46 +0000 (12:49 -0700)]
Merge "ARM: remove dummy entries from .so init_array/fini_array"
Nick Kralevich [Tue, 28 Aug 2012 19:48:00 +0000 (12:48 -0700)]
Merge "linker: Fix ARM_R_COPY relocations"
Nick Kralevich [Fri, 24 Aug 2012 20:25:51 +0000 (13:25 -0700)]
linker: Fix ARM_R_COPY relocations
Per http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf
Section 4.7.1.10, ARM_R_COPY relocations are only suppose to reference shared
libraries, not the executable itself. When resolving an R_ARM_COPY symbol,
ensure we don't look in our own symbol.
This partially addresses
http://code.google.com/p/android/issues/detail?id=28598 . After this
patch, the printfs generated by the test program are:
global = 0x42 (0x401c7000)
global = 0x42 (0x11000)
before, the output was:
global = 0x42 (0x40071000)
global = 0x0 (0x11000)
I'm still not very happy with this patch, but I think it's an improvement
over where we were at before.
This change was modeled after https://android-review.googlesource.com/38871
Change-Id: Id7ad921e58395e76a36875bcc742ec5eeba53f08
Nick Kralevich [Tue, 28 Aug 2012 17:34:14 +0000 (10:34 -0700)]
am
c410a961: Merge "libc: remove ctors/dtors sections"
* commit '
c410a9613a837790d2ea13aee3f88881e0d54c17':
libc: remove ctors/dtors sections
Nick Kralevich [Tue, 28 Aug 2012 17:20:27 +0000 (10:20 -0700)]
Merge "libc: remove ctors/dtors sections"
Ard Biesheuvel [Tue, 28 Aug 2012 07:06:07 +0000 (09:06 +0200)]
ARM: remove dummy entries from .so init_array/fini_array
The runtime linker parses the ELF section headers to
discover the size of the init_array and fini_array, so
there is no point in putting NULL terminators at the end.
Change-Id: I3246cd585efce9314155600277dd829e9f37d04f
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Nick Kralevich [Mon, 27 Aug 2012 23:06:34 +0000 (16:06 -0700)]
am
9dfaa63a: Merge "Allow linker to compile with -DLINKER_DEBUG=1"
* commit '
9dfaa63a1c0d1b8e75dd9d7077a8103a19821fa9':
Allow linker to compile with -DLINKER_DEBUG=1
Nick Kralevich [Mon, 27 Aug 2012 23:00:50 +0000 (16:00 -0700)]
Merge "Allow linker to compile with -DLINKER_DEBUG=1"
Elliott Hughes [Mon, 27 Aug 2012 22:18:52 +0000 (15:18 -0700)]
am
bc366292: Merge "Added missing cache failed notification"
* commit '
bc366292ff47ad9a5053e213ec253992baeee648':
Added missing cache failed notification
Elliott Hughes [Mon, 27 Aug 2012 22:00:51 +0000 (15:00 -0700)]
Merge "Added missing cache failed notification"
Nick Kralevich [Fri, 24 Aug 2012 20:40:25 +0000 (13:40 -0700)]
Allow linker to compile with -DLINKER_DEBUG=1
Change-Id: I27e734048cbcb9ed936369115582b3c734de1280
Ian Rogers [Fri, 24 Aug 2012 22:21:12 +0000 (15:21 -0700)]
am
a37ce7fa: Merge "Add missing va_end() to prevent stack corruptions"
* commit '
a37ce7faa6d6c7355e3c6f6e09e5268cbf29c291':
Add missing va_end() to prevent stack corruptions
Ian Rogers [Fri, 24 Aug 2012 22:10:07 +0000 (15:10 -0700)]
Merge "Add missing va_end() to prevent stack corruptions"
Nick Kralevich [Wed, 22 Aug 2012 18:55:59 +0000 (11:55 -0700)]
am
26facba2: Merge "hardening: remove pointless ARM __get_pc() function"
* commit '
26facba288df013fd898f8df12d84e5669ece6eb':
hardening: remove pointless ARM __get_pc() function
Ard Biesheuvel [Tue, 21 Aug 2012 12:47:58 +0000 (14:47 +0200)]
libc: remove ctors/dtors sections
None of the supported ARCHs actually populate these sections,
so there is no point in keeping them in the binaries.
Change-Id: I21a364f510118ac1114e1b49c53ec8c895c6bc6b
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Nick Kralevich [Wed, 22 Aug 2012 18:41:53 +0000 (11:41 -0700)]
Merge "hardening: remove pointless ARM __get_pc() function"
Ard Biesheuvel [Wed, 22 Aug 2012 08:37:08 +0000 (10:37 +0200)]
hardening: remove pointless ARM __get_pc() function
Useful if you're trying to defeat ASLR, otherwise not
so much ...
Change-Id: I17ebb50bb490a3967db9c3038f049adafe2b8ea7
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Jean-Baptiste Queru [Wed, 22 Aug 2012 14:30:56 +0000 (07:30 -0700)]
am
c7de0225: Merge "Use unambiguous mnemonics"
* commit '
c7de02259052b1eeebbfd3a0c21acf56a7e84357':
Use unambiguous mnemonics
Jean-Baptiste Queru [Wed, 22 Aug 2012 14:18:49 +0000 (07:18 -0700)]
Merge "Use unambiguous mnemonics"
Kevin Schoedel [Fri, 29 Jun 2012 13:23:47 +0000 (09:23 -0400)]
Use unambiguous mnemonics
Change-Id: I8da0af54cc3cbf69d9e485eb71bc44a6976b1adc
Author: Kevin P Schoedel <kevin.p.schoedel@intel.com>
Reviewed-by: Edwin Vane <edwin.vane@intel.com>
Ard Biesheuvel [Tue, 21 Aug 2012 09:34:46 +0000 (11:34 +0200)]
ARM: make sure __on_dlclose() actually gets called
Change-Id: I280e5428b0543cccf17ca36baee4865395928cdb
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Andrew Hsieh [Tue, 21 Aug 2012 10:29:14 +0000 (03:29 -0700)]
am
1bd035cf: Merge "Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS"
* commit '
1bd035cf119a2e4a667f07907c7860e5ec223cee':
Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
Andrew Hsieh [Tue, 21 Aug 2012 10:25:45 +0000 (03:25 -0700)]
Merge "Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS"
Andrew Hsieh [Tue, 21 Aug 2012 07:41:34 +0000 (15:41 +0800)]
Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
Those are C funcitons
Related CL: https://android-review.googlesource.com/#/c/41833/
Change-Id: I4386bcf948ad31c3690c9b7a145103088133d041
Ian Rogers [Tue, 21 Aug 2012 02:43:15 +0000 (19:43 -0700)]
am
7b0d9b79: Merge "Restore posix_memalign"
* commit '
7b0d9b798474ab62d4bf67c79ae901f4c4789f27':
Restore posix_memalign
Ian Rogers [Tue, 21 Aug 2012 02:35:25 +0000 (19:35 -0700)]
Merge "Restore posix_memalign"
Brian Carlstrom [Tue, 21 Aug 2012 01:28:20 +0000 (18:28 -0700)]
Restore posix_memalign
Change-Id: I24e31bcb8b1d8be9375852e76964f09becd11938
Brian Carlstrom [Mon, 20 Aug 2012 23:29:48 +0000 (16:29 -0700)]
am
c37dcd3d: Merge "Upgrade to dlmalloc 2.8.5."
* commit '
c37dcd3d3ab8e32c37ce034b8d1772b4a7b9add9':
Upgrade to dlmalloc 2.8.5.
Brian Carlstrom [Mon, 20 Aug 2012 23:12:32 +0000 (16:12 -0700)]
Merge "Upgrade to dlmalloc 2.8.5."
Ian Rogers [Sat, 18 Aug 2012 00:28:15 +0000 (17:28 -0700)]
Upgrade to dlmalloc 2.8.5.
Move dlmalloc code to upstream-dlmalloc to make pulling upstream changes
easier.
Declare pvalloc and malloc_usable_size routines present in malloc.h but with
missing implementations. Remove other functions from malloc.h that have
no implementation nor use in Android.
Change-Id: Ia6472ec6cbebc9ad1ef99f4669de9d33fcc2efb4
Elliott Hughes [Fri, 17 Aug 2012 23:56:14 +0000 (16:56 -0700)]
am
9417a80e: Merge "Always define the 64-bit int types."
* commit '
9417a80e48d3bba4bea814178aaa79b905ebab8c':
Always define the 64-bit int types.
Elliott Hughes [Fri, 17 Aug 2012 23:48:14 +0000 (16:48 -0700)]
Merge "Always define the 64-bit int types."
Elliott Hughes [Fri, 17 Aug 2012 23:23:53 +0000 (16:23 -0700)]
am
200de748: Merge "Fix race condition in pthread_create()"
* commit '
200de748b91d7638a2c434584abcb3840704494b':
Fix race condition in pthread_create()
Elliott Hughes [Fri, 17 Aug 2012 23:19:56 +0000 (16:19 -0700)]
Merge "Fix race condition in pthread_create()"
Jurijs Oniscuks [Thu, 5 Jul 2012 12:57:38 +0000 (14:57 +0200)]
Fix race condition in pthread_create()
Save thread id to *thread_out before new
thread is allowed to run else there's a
risk that the thread has finished and
been deleted when *thread_out is assigned.
Change-Id: I6b84c61a8df06840877d4ab036f26feace3192d8
Elliott Hughes [Fri, 17 Aug 2012 21:30:06 +0000 (14:30 -0700)]
Always define the 64-bit int types.
These preprocessor tricks have caused trouble for -std=gnu99 and -ansi, and
both netbsd's libc and glibc seem to unconditionally define these types.
Change-Id: Ib8dffa341a8ca88f80d275ba2b7f93a4c910ee32
Elliott Hughes [Fri, 17 Aug 2012 21:00:11 +0000 (14:00 -0700)]
am
1771a33d: Merge "Add link.h for all platforms with dl_phdr_info"
* commit '
1771a33d11a24f1c47b1ef75e3726c5d9e751f5b':
Add link.h for all platforms with dl_phdr_info
Elliott Hughes [Fri, 17 Aug 2012 20:54:43 +0000 (13:54 -0700)]
Merge "Add link.h for all platforms with dl_phdr_info"
Pavel Chupin [Fri, 17 Aug 2012 08:53:29 +0000 (12:53 +0400)]
Add link.h for all platforms with dl_phdr_info
This header is used on bionic build and should be propagated into
sysroot on toolchain rebuild. Discussion re. this header is here:
http://gcc.gnu.org/ml/gcc-patches/2012-08/msg00936.html
It is available already in mips NDK platforms:
development/ndk/platforms/android-9/arch-mips/include/link.h
Change-Id: I39ff467cdac9f448e31c11ee3e14a6200e82ab57
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Henrik Engström [Wed, 20 Jun 2012 06:47:52 +0000 (08:47 +0200)]
Added missing cache failed notification
Added a missing call to _resolv_cache_query_failed for another fail
case where it was missing (it doesn't go through the error handling
under the "fail" label). This missing notification caused requests to
have to wait for timeout instead of beeing notified on some failed
requests.
Change-Id: I904d60269c59b926784e3a397d2a860329f55142
Joe Onorato [Fri, 17 Aug 2012 06:50:35 +0000 (23:50 -0700)]
am
6c98cdb1: Merge "Don\'t over-generalize makefiles. Host modules always build. This isn\'t needed on eng builds."
* commit '
6c98cdb1924afd3e71d39904557933fa10adaebf':
Don't over-generalize makefiles. Host modules always build. This isn't needed on eng builds.
Joe Onorato [Fri, 17 Aug 2012 06:37:49 +0000 (23:37 -0700)]
Merge "Don't over-generalize makefiles. Host modules always build. This isn't needed on eng builds."
Joe Onorato [Thu, 16 Aug 2012 03:27:04 +0000 (20:27 -0700)]
Don't over-generalize makefiles. Host modules always build. This isn't needed on eng builds.
Change-Id: I5821ced7a8a9042fd2094204e07470d8002263ca
Elliott Hughes [Fri, 17 Aug 2012 00:04:11 +0000 (17:04 -0700)]
am
60ef95e1: Merge "Enhance getcwd(3) to handle NULL like glibc."
* commit '
60ef95e1c1b171635adb4d11289347674b1b8987':
Enhance getcwd(3) to handle NULL like glibc.
Elliott Hughes [Thu, 16 Aug 2012 23:58:34 +0000 (16:58 -0700)]
Merge "Enhance getcwd(3) to handle NULL like glibc."
Elliott Hughes [Thu, 16 Aug 2012 22:59:12 +0000 (15:59 -0700)]
Enhance getcwd(3) to handle NULL like glibc.
Bug: http://code.google.com/p/android/issues/detail?id=36085
Change-Id: I960a1b585887eb66176c61d29c5c61c239a4003f
Elliott Hughes [Thu, 16 Aug 2012 19:27:47 +0000 (12:27 -0700)]
am
449d4634: Merge "bionic: add macro protection for MALLOC_ALIGNMENT"
* commit '
449d4634bea0ff8f6b29a2826871279dd654f941':
bionic: add macro protection for MALLOC_ALIGNMENT
Elliott Hughes [Thu, 16 Aug 2012 19:09:13 +0000 (12:09 -0700)]
Merge "bionic: add macro protection for MALLOC_ALIGNMENT"
Jin Wei [Wed, 1 Aug 2012 06:48:57 +0000 (14:48 +0800)]
bionic: add macro protection for MALLOC_ALIGNMENT
In previous commit:
2fd81ef7, .mk file has been modified to
configure MALLOC_ALIGNMENT dynamicly according to board config.
Add the missing macor protection here.
Change-Id: I703cca2ce0504ab3e11aab226b2c61fcc0c6afa1
Author: Jin Wei <wei.a.jin@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Elliott Hughes [Thu, 16 Aug 2012 00:22:50 +0000 (17:22 -0700)]
am
ae728099: Merge "enable clone system call for x86"
* commit '
ae7280994e7845037b667fd6ebdcb6f299ba1aab':
enable clone system call for x86
Elliott Hughes [Thu, 16 Aug 2012 00:06:53 +0000 (17:06 -0700)]
am
07cd1125: Merge "Fix comment typos."
* commit '
07cd11251f52ff8a8a98dba795f69aaa75199473':
Fix comment typos.
Elliott Hughes [Thu, 16 Aug 2012 00:06:51 +0000 (17:06 -0700)]
am
e1cd69a7: Merge "Regenerate all NOTICE files with the latest version of the script."
* commit '
e1cd69a708d30fbc3b9e0e8d4db67f67fc123b65':
Regenerate all NOTICE files with the latest version of the script.
Elliott Hughes [Thu, 16 Aug 2012 00:05:47 +0000 (17:05 -0700)]
Merge "enable clone system call for x86"
Jin Wei [Wed, 8 Aug 2012 07:15:16 +0000 (15:15 +0800)]
enable clone system call for x86
Add __bionic_clone function for x86, which will be
used for clone system call.
Change-Id: I889dc9bf4b7ebb4358476e17e6f3233e26491f4d
Signed-off-by: Jin Wei <wei.a.jin@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 51414
Elliott Hughes [Wed, 15 Aug 2012 23:59:21 +0000 (16:59 -0700)]
Merge "Fix comment typos."
Elliott Hughes [Wed, 15 Aug 2012 23:56:00 +0000 (16:56 -0700)]
Fix comment typos.
Change-Id: I8feeec1ee9935a6d6baebe57f1c0043ff90ff94f
Elliott Hughes [Wed, 15 Aug 2012 23:51:56 +0000 (16:51 -0700)]
Merge "Regenerate all NOTICE files with the latest version of the script."
Elliott Hughes [Wed, 15 Aug 2012 22:58:39 +0000 (15:58 -0700)]
am
fe43c768: Merge "Switch to the current NetBSD regex implementation."
* commit '
fe43c768ec803a1febde0424bb5e69c343dd7ae9':
Switch to the current NetBSD regex implementation.
Elliott Hughes [Wed, 15 Aug 2012 22:43:13 +0000 (15:43 -0700)]
Regenerate all NOTICE files with the latest version of the script.
This sorts every entry, so we should have more stability and fewer
merge conflicts in future.
Change-Id: Ifc5347dc53352da22c82d41ca59b483966fcfc6b
Elliott Hughes [Wed, 15 Aug 2012 22:39:49 +0000 (15:39 -0700)]
Merge "Switch to the current NetBSD regex implementation."
Elliott Hughes [Tue, 14 Aug 2012 22:32:42 +0000 (15:32 -0700)]
Switch to the current NetBSD regex implementation.
Change-Id: If32b28dd85d6a7ab8957ab81d19fa4c0de9499d5
Elliott Hughes [Tue, 14 Aug 2012 22:42:36 +0000 (15:42 -0700)]
am
53493a9b: Merge "Sort NOTICE entries."
* commit '
53493a9b26e9fb665de590abf3502af94eaf3f44':
Sort NOTICE entries.
Elliott Hughes [Tue, 14 Aug 2012 22:31:17 +0000 (15:31 -0700)]
Merge "Sort NOTICE entries."
Elliott Hughes [Tue, 14 Aug 2012 22:08:38 +0000 (15:08 -0700)]
am
b6a97196: Merge "More cleanup."
* commit '
b6a971962acdf2684fd98658ec6fe6aa9952d84b':
More cleanup.
Elliott Hughes [Tue, 14 Aug 2012 22:04:05 +0000 (15:04 -0700)]
Sort NOTICE entries.
Also make sure we get the whole of any copyright header, in case
there's text before the "Copyright" line.
Change-Id: Iabcc5e0931a39c0107b833539fec7c5a3d134592
Elliott Hughes [Tue, 14 Aug 2012 22:02:40 +0000 (15:02 -0700)]
Merge "More cleanup."
Elliott Hughes [Tue, 14 Aug 2012 21:07:59 +0000 (14:07 -0700)]
More cleanup.
Make more stuff static, remove some dead code, and fix a few typos.
Change-Id: I010b0eadeaf61e2899c37014ad1e7082c70bd510
Elliott Hughes [Tue, 14 Aug 2012 19:27:44 +0000 (12:27 -0700)]
am
b7c6991c: Merge "Update MS_ mount flags, define unshare() syscall."
* commit '
b7c6991c9af3882bd13cbf6bc42da85c884aa5f5':
Update MS_ mount flags, define unshare() syscall.
Elliott Hughes [Tue, 14 Aug 2012 19:14:29 +0000 (12:14 -0700)]
Merge "Update MS_ mount flags, define unshare() syscall."
Elliott Hughes [Tue, 14 Aug 2012 19:11:54 +0000 (12:11 -0700)]
am
b9c6854c: Merge "linker: avoid clobbering the .dynamic section of shared libs"
* commit '
b9c6854cd9d5286f991aec66be3a8a57f5e3e7be':
linker: avoid clobbering the .dynamic section of shared libs
Elliott Hughes [Tue, 14 Aug 2012 19:11:53 +0000 (12:11 -0700)]
am
c50e0197: Merge "Switch to upstream NetBSD tdelete/tfind/tsearch."
* commit '
c50e019734fb379e2efc1d50e188dd51cf085b96':
Switch to upstream NetBSD tdelete/tfind/tsearch.
Jeff Sharkey [Sat, 11 Aug 2012 21:12:26 +0000 (14:12 -0700)]
Update MS_ mount flags, define unshare() syscall.
(cherry-pick of
82393decdfc6b0383054fb5d2f54725bbee88b8c.)
Bug:
6925012
Change-Id: I4f962d8975ad62ff4b9983150f9e481796092b9d
Elliott Hughes [Tue, 14 Aug 2012 19:07:17 +0000 (12:07 -0700)]
Merge "linker: avoid clobbering the .dynamic section of shared libs"
Elliott Hughes [Tue, 14 Aug 2012 18:56:29 +0000 (11:56 -0700)]
Merge "Switch to upstream NetBSD tdelete/tfind/tsearch."
Ard Biesheuvel [Tue, 14 Aug 2012 10:30:09 +0000 (12:30 +0200)]
linker: avoid clobbering the .dynamic section of shared libs
This patch removes the DT_NEEDED hack which stores pointers
to soinfo structs in the .dynamic section of the library
being loaded.
Instead, it caches the soinfo struct pointers on the stack
during relocation time. After relocation time, i.e. when
calling constructors and destructors of the shared library
and its dependencies, uncached access is used instead,
doing lookups using the string table entries pointed to by
the DT_NEEDED entries.
By removing this hack, it is no longer needed to undo the
PT_GNURELRO protection, i.e., all non-writable mappings
can remain non-writable during their entire lifespan.
Even though, strictly speaking, the algorithmic complexity
has increased somewhat, the real-world adverse effect
is negligible on the systems I have tested.
Change-Id: I2361502560b96b5878f7f94a8e8a215350d70d64
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Elliott Hughes [Tue, 14 Aug 2012 00:02:11 +0000 (17:02 -0700)]
Switch to upstream NetBSD tdelete/tfind/tsearch.
tdestroy is a GNU extension, so that stays.
Change-Id: Iedebaff25ea7e92b1ab1dd4440da12b67b99aa40
Elliott Hughes [Tue, 14 Aug 2012 00:12:48 +0000 (17:12 -0700)]
am
54655eaf: Merge "Fix nice..."
* commit '
54655eaf92ca91bfe2fa293896059a181e27b6eb':
Fix nice...
Elliott Hughes [Mon, 13 Aug 2012 23:56:17 +0000 (16:56 -0700)]
Merge "Fix nice..."
Elliott Hughes [Mon, 13 Aug 2012 23:38:29 +0000 (16:38 -0700)]
Fix nice...
...by switching to the NetBSD implementation.
Change-Id: I562b27b237a24ded95804035cc322c7bff12ff59
Elliott Hughes [Mon, 13 Aug 2012 23:22:43 +0000 (16:22 -0700)]
am
b66bc514: Merge "Clean up warnings in stubs.cpp."
* commit '
b66bc51423a1f3969d0e70e035126ac4c4898b50':
Clean up warnings in stubs.cpp.
Elliott Hughes [Mon, 13 Aug 2012 23:17:54 +0000 (16:17 -0700)]
Merge "Clean up warnings in stubs.cpp."
Elliott Hughes [Mon, 13 Aug 2012 22:45:36 +0000 (15:45 -0700)]
Clean up warnings in stubs.cpp.
Switch to C++ to get extra warnings, and format the code Google style.
Change-Id: Ifc0131bf297a6ee8a8a6b8d049a02518b0b1a4b7
Elliott Hughes [Mon, 13 Aug 2012 22:00:55 +0000 (15:00 -0700)]
am
222eec2e: Merge "Handle naming for system uids running as secondary users"
* commit '
222eec2ecfc4afcbd5cf0f08e16f69f6c3c424fa':
Handle naming for system uids running as secondary users
Elliott Hughes [Mon, 13 Aug 2012 21:45:27 +0000 (14:45 -0700)]
Merge "Handle naming for system uids running as secondary users"
Elliott Hughes [Mon, 13 Aug 2012 21:30:35 +0000 (14:30 -0700)]
am
440e417d: Merge "Add dependencies on all the makefiles."
* commit '
440e417d5f8fb3ab3b5296eaea3720be52086730':
Add dependencies on all the makefiles.
Amith Yamasani [Mon, 13 Aug 2012 02:51:34 +0000 (19:51 -0700)]
Handle naming for system uids running as secondary users
Allow naming such as u1_system, u2_radio, u2_media.
Forward and reverse mapping for the above.
(cherry-pick of
c60a0027b1ef3bc4929d2023e7083fbce12fafe7.)
Change-Id: I46eeb23fee4f57b2907640570504123d3ce99985
Elliott Hughes [Mon, 13 Aug 2012 21:12:02 +0000 (14:12 -0700)]
Merge "Add dependencies on all the makefiles."
Elliott Hughes [Mon, 13 Aug 2012 21:06:05 +0000 (14:06 -0700)]
Add dependencies on all the makefiles.
This should help prevent broken builds next time I'm messing with
assembler/compiler/linker flags...
Change-Id: I30f15a3ce3c3f3c60cad7bc59aaba9f42d792224
Elliott Hughes [Mon, 13 Aug 2012 19:47:13 +0000 (12:47 -0700)]
am
66fba009: Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
* commit '
66fba00991f03d07c72f809d033b88748f839bda':
Update arch-mips/asm/unistd.h for the newer syscalls
Elliott Hughes [Mon, 13 Aug 2012 19:42:01 +0000 (12:42 -0700)]
Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
Raghu Gandham [Mon, 13 Aug 2012 18:54:53 +0000 (11:54 -0700)]
Update arch-mips/asm/unistd.h for the newer syscalls
Change-Id: Ie292c091cbf4b972e1b5faa7d779645c6e4442f0
Elliott Hughes [Mon, 13 Aug 2012 18:10:32 +0000 (11:10 -0700)]
am
a61ac525: Merge "Fix module constructor order."
* commit '
a61ac5257bea15d6cbfc640c03f18c2fb808b139':
Fix module constructor order.
Elliott Hughes [Mon, 13 Aug 2012 18:06:53 +0000 (11:06 -0700)]
Merge "Fix module constructor order."
Evgeniy Stepanov [Mon, 13 Aug 2012 13:58:37 +0000 (17:58 +0400)]
Fix module constructor order.
.preinit_array goes before the constructors of LD_PRELOAD-ed libraries.
Change-Id: I1af32ce29eaf3ca4351ae8a0f7f5da5165853216
Nick Kralevich [Mon, 13 Aug 2012 16:46:43 +0000 (09:46 -0700)]
am
20b94c0c: Merge "linker: don\'t perform unnecessary mprotects"
* commit '
20b94c0ce99ea3d2315535091c8bcd02f831d252':
linker: don't perform unnecessary mprotects
Nick Kralevich [Mon, 13 Aug 2012 16:28:54 +0000 (09:28 -0700)]
Merge "linker: don't perform unnecessary mprotects"