OSDN Git Service

android-x86/bionic.git
10 years agoam 71e4466b: Merge "Switch <elf.h> over to linux uapi under the covers."
Elliott Hughes [Tue, 11 Feb 2014 02:32:57 +0000 (02:32 +0000)]
am 71e4466b: Merge "Switch <elf.h> over to linux uapi under the covers."

* commit '71e4466b100359f36a29c8c0277888df6081a265':
  Switch <elf.h> over to linux uapi under the covers.

10 years agoMerge "Switch <elf.h> over to linux uapi under the covers."
Elliott Hughes [Tue, 11 Feb 2014 02:22:45 +0000 (02:22 +0000)]
Merge "Switch <elf.h> over to linux uapi under the covers."

10 years agoSwitch <elf.h> over to linux uapi under the covers.
Elliott Hughes [Tue, 11 Feb 2014 01:46:57 +0000 (17:46 -0800)]
Switch <elf.h> over to linux uapi under the covers.

Remove the linker's reliance on BSD cruft and use the glibc-style
ElfW macro. (Other code too, but the linker contains the majority
of the code that needs to work for Elf32 and Elf64.)

All platforms need dl_iterate_phdr_static, so it doesn't make sense
to have that part of the per-architecture configuration.

Bug: 12476126
Change-Id: I1d7f918f1303a392794a6cd8b3512ff56bd6e487

10 years agoam eeb9a9f5: Merge "Fix <link.h>."
Elliott Hughes [Tue, 11 Feb 2014 00:09:12 +0000 (00:09 +0000)]
am eeb9a9f5: Merge "Fix <link.h>."

* commit 'eeb9a9f59a58a2f042e8f6fd1a4911ae92ac5493':
  Fix <link.h>.

10 years agoMerge "Fix <link.h>."
Elliott Hughes [Tue, 11 Feb 2014 00:03:02 +0000 (00:03 +0000)]
Merge "Fix <link.h>."

10 years agoFix <link.h>.
Elliott Hughes [Mon, 10 Feb 2014 21:31:13 +0000 (13:31 -0800)]
Fix <link.h>.

Also move some of the stuff that should be in <link.h> out of the
private "linker.h", to make it clearer that these are public API
known to gdb that we can't change.

Bug: 12554197
Change-Id: I830e1260d3d8b833ed99bc1518f1c6b6102be8af

10 years agoam e74fc3a6: Merge "Fix socklen_t (on LP64 only)."
Elliott Hughes [Sat, 8 Feb 2014 01:11:54 +0000 (01:11 +0000)]
am e74fc3a6: Merge "Fix socklen_t (on LP64 only)."

* commit 'e74fc3a64fe9296813e5bd867d0c66bd8213be6a':
  Fix socklen_t (on LP64 only).

10 years agoMerge "Fix socklen_t (on LP64 only)."
Elliott Hughes [Sat, 8 Feb 2014 01:05:35 +0000 (01:05 +0000)]
Merge "Fix socklen_t (on LP64 only)."

10 years agoFix socklen_t (on LP64 only).
Elliott Hughes [Sat, 8 Feb 2014 00:50:55 +0000 (16:50 -0800)]
Fix socklen_t (on LP64 only).

Too late to fix LP32 :-(

Bug: 12935461
Change-Id: Ib056ca1eaf9ae8712f88ae21ff94e91b08cf588b

10 years agoam c16a4532: Merge "Remove <sys/_types.h>."
Elliott Hughes [Sat, 8 Feb 2014 00:37:32 +0000 (00:37 +0000)]
am c16a4532: Merge "Remove <sys/_types.h>."

* commit 'c16a4532917259fabc8018d681cdd1ad1b1b5e08':
  Remove <sys/_types.h>.

10 years agoMerge "Remove <sys/_types.h>."
Elliott Hughes [Sat, 8 Feb 2014 00:23:50 +0000 (00:23 +0000)]
Merge "Remove <sys/_types.h>."

10 years agoRemove <sys/_types.h>.
Elliott Hughes [Fri, 7 Feb 2014 22:55:58 +0000 (14:55 -0800)]
Remove <sys/_types.h>.

Bug: 12213562
Change-Id: I0d10664f9da60739bdbad0408be0dd61eea3c1fe

10 years agoam 4affcbf8: Merge "Make sure that the same tests are on all platforms."
Christopher Ferris [Fri, 7 Feb 2014 19:43:29 +0000 (19:43 +0000)]
am 4affcbf8: Merge "Make sure that the same tests are on all platforms."

* commit '4affcbf87769c43c4d03ecd60f902b0b6a6cb84a':
  Make sure that the same tests are on all platforms.

10 years agoMerge "Make sure that the same tests are on all platforms."
Christopher Ferris [Fri, 7 Feb 2014 19:03:41 +0000 (19:03 +0000)]
Merge "Make sure that the same tests are on all platforms."

10 years agoMake sure that the same tests are on all platforms.
Christopher Ferris [Sat, 21 Dec 2013 02:43:21 +0000 (18:43 -0800)]
Make sure that the same tests are on all platforms.

In order to be able to generate a list of tests for cts, the same set of
tests must exist across all platforms. This CL adds empty tests where a
test was conditionally compiled out.

This CL creates a single library libBionicTests that includes all of
the tests found in bionic-unit-tests-static.

Also fix a few missing include files in some test files.

Tested by running and compiling the tests for every platform and
verifying the same number of tests are on each platform.

Change-Id: I9989d4bfebb0f9c409a0ce7e87169299eac605a2

10 years agoam 8a80a23c: Merge "[MIPS64] libc/libm support"
Elliott Hughes [Fri, 7 Feb 2014 00:28:47 +0000 (00:28 +0000)]
am 8a80a23c: Merge "[MIPS64] libc/libm support"

* commit '8a80a23c930a41b62cfa47bed362732ee5833bf0':
  [MIPS64] libc/libm support

10 years agoMerge "[MIPS64] libc/libm support"
Elliott Hughes [Fri, 7 Feb 2014 00:23:21 +0000 (00:23 +0000)]
Merge "[MIPS64] libc/libm support"

10 years ago[MIPS64] libc/libm support
Chris Dearman [Thu, 6 Feb 2014 02:51:43 +0000 (18:51 -0800)]
[MIPS64] libc/libm support

libc/libm support for MIPS64 targets

Change-Id: I8271941d418612a286be55495f0e95822f90004f
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Signed-off-by: Raghu Gandham <raghu.gandham@imgtec.com>
10 years agoam 5036935c: Merge "[MIPS64] Add syscall related files"
Elliott Hughes [Thu, 6 Feb 2014 23:45:28 +0000 (23:45 +0000)]
am 5036935c: Merge "[MIPS64] Add syscall related files"

* commit '5036935c41d9193cfbba606df2121cd4c6973116':
  [MIPS64] Add syscall related files

10 years agoMerge "[MIPS64] Add syscall related files"
Elliott Hughes [Thu, 6 Feb 2014 23:40:22 +0000 (23:40 +0000)]
Merge "[MIPS64] Add syscall related files"

10 years ago[MIPS64] Add syscall related files
Chris Dearman [Thu, 6 Feb 2014 00:59:23 +0000 (16:59 -0800)]
[MIPS64] Add syscall related files

Change-Id: I2f5d05df0e767538a6fe467ca0a2386325f8b71f
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Signed-off-by: Raghu Gandham <raghu.gandham@imgtec.com>
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
10 years agoam e163a398: Merge "Remove unused cruft from MIPS <machine/signal.h>."
Elliott Hughes [Wed, 5 Feb 2014 22:28:58 +0000 (22:28 +0000)]
am e163a398: Merge "Remove unused cruft from MIPS <machine/signal.h>."

* commit 'e163a3986aa7d1c67fe3274eb9204812be0a6245':
  Remove unused cruft from MIPS <machine/signal.h>.

10 years agoMerge "Remove unused cruft from MIPS <machine/signal.h>."
Elliott Hughes [Wed, 5 Feb 2014 22:24:52 +0000 (22:24 +0000)]
Merge "Remove unused cruft from MIPS <machine/signal.h>."

10 years agoRemove unused cruft from MIPS <machine/signal.h>.
Elliott Hughes [Wed, 5 Feb 2014 22:11:38 +0000 (14:11 -0800)]
Remove unused cruft from MIPS <machine/signal.h>.

An extra (unused) struct sigcontext doesn't help anybody.

Change-Id: I73899fe7e1ccccf50a507c737945cf014d430396

10 years agoam 375aaa3f: Merge "Kill <machine/_types.h>."
Elliott Hughes [Wed, 5 Feb 2014 22:08:36 +0000 (22:08 +0000)]
am 375aaa3f: Merge "Kill <machine/_types.h>."

* commit '375aaa3f608d6089102b256f162e423638a16c47':
  Kill <machine/_types.h>.

10 years agoMerge "Kill <machine/_types.h>."
Elliott Hughes [Wed, 5 Feb 2014 22:04:39 +0000 (22:04 +0000)]
Merge "Kill <machine/_types.h>."

10 years agoKill <machine/_types.h>.
Elliott Hughes [Wed, 5 Feb 2014 03:26:31 +0000 (19:26 -0800)]
Kill <machine/_types.h>.

Most of <machine/_types.h> was either unused, wrong, or identical across
all 32-/64-bit architectures.

I'm not a huge fan of <sys/_types.h> either, but moving the bits we need
up into there is a step forward.

Bug: 12213562
Change-Id: Id13551c78966e324beee2dd90c5575e37d2a71e6

10 years agoam 12e8b76e: Merge "Use arch-specific LOCAL_ variables to build libm."
Ying Wang [Tue, 4 Feb 2014 02:05:54 +0000 (02:05 +0000)]
am 12e8b76e: Merge "Use arch-specific LOCAL_ variables to build libm."

* commit '12e8b76e5f799b2b8407bf354a9675577529d34b':
  Use arch-specific LOCAL_ variables to build libm.

10 years agoMerge "Use arch-specific LOCAL_ variables to build libm."
Ying Wang [Tue, 4 Feb 2014 01:20:32 +0000 (01:20 +0000)]
Merge "Use arch-specific LOCAL_ variables to build libm."

10 years agoUse arch-specific LOCAL_ variables to build libm.
Ying Wang [Mon, 27 Jan 2014 22:59:26 +0000 (14:59 -0800)]
Use arch-specific LOCAL_ variables to build libm.

Use arch-specific LOCAL_ variables to build libm for both
TARGET_ARCH and TARGET_2ND_ARCH.

Bug: 11654773
Change-Id: I6da794ba722bb68e7484d8869c6eb0425b7d17cb

10 years agoam 53cc62c3: Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."
Elliott Hughes [Tue, 4 Feb 2014 00:44:13 +0000 (00:44 +0000)]
am 53cc62c3: Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."

* commit '53cc62c31bfb6c329299549b69fdadd2705f6497':
  Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.

10 years agoMerge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."
Elliott Hughes [Tue, 4 Feb 2014 00:39:29 +0000 (00:39 +0000)]
Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."

10 years agoAdd fallocate/fallocate64/posix_fallocate/posix_fallocate64.
Elliott Hughes [Tue, 4 Feb 2014 00:20:46 +0000 (16:20 -0800)]
Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.

Bug: 5287571
Bug: 12612860
Change-Id: I4501b9c6cdf9a830336ce0b3afc4ea716b6a0f6f

10 years agoam a122c376: Merge "Use __inline__ for fortify."
Elliott Hughes [Mon, 3 Feb 2014 23:59:29 +0000 (23:59 +0000)]
am a122c376: Merge "Use __inline__ for fortify."

* commit 'a122c376ef0737454a592cf44f50beabe154e9e3':
  Use __inline__ for fortify.

10 years agoMerge "Use __inline__ for fortify."
Elliott Hughes [Mon, 3 Feb 2014 23:55:13 +0000 (23:55 +0000)]
Merge "Use __inline__ for fortify."

10 years agoUse __inline__ for fortify.
Elliott Hughes [Mon, 3 Feb 2014 23:41:57 +0000 (15:41 -0800)]
Use __inline__ for fortify.

libunwind has #define inline /* empty */ which breaks our fortified headers.
glibc uses __inline but our BSD-derived headers often override that. __inline__
is the third alternative understood by GCC that -- as far as I know -- neither
the C library itself nor third-party code tries to mess with.

Bug: 12871594
Change-Id: I6677e70ea531bb7d4c46021b43af760d4ad8ecf7

10 years agoam fb4da1e7: Merge "Regenerate binder header"
Arve Hjønnevåg [Mon, 3 Feb 2014 21:18:35 +0000 (21:18 +0000)]
am fb4da1e7: Merge "Regenerate binder header"

* commit 'fb4da1e7b749b4cf6843515517e839efa1ee24c7':
  Regenerate binder header

10 years agoMerge "Regenerate binder header"
Arve Hjønnevåg [Mon, 3 Feb 2014 21:13:22 +0000 (21:13 +0000)]
Merge "Regenerate binder header"

10 years agoam ed29345c: Merge "Clean up debugger.cpp slightly."
Elliott Hughes [Sat, 1 Feb 2014 01:37:38 +0000 (01:37 +0000)]
am ed29345c: Merge "Clean up debugger.cpp slightly."

* commit 'ed29345c22acec61e4ef8953baefc64dc750c812':
  Clean up debugger.cpp slightly.

10 years agoMerge "Clean up debugger.cpp slightly."
Elliott Hughes [Sat, 1 Feb 2014 01:31:11 +0000 (01:31 +0000)]
Merge "Clean up debugger.cpp slightly."

10 years agoClean up debugger.cpp slightly.
Elliott Hughes [Sat, 1 Feb 2014 01:27:00 +0000 (17:27 -0800)]
Clean up debugger.cpp slightly.

In particular, don't do weird things with 'int tid'.

Change-Id: I0fd9158a452967163508ada8987de9494ad5f9af

10 years agoam 4939d6d8: Merge "LP64 binaries should talk to debuggerd64."
Elliott Hughes [Sat, 1 Feb 2014 01:05:12 +0000 (01:05 +0000)]
am 4939d6d8: Merge "LP64 binaries should talk to debuggerd64."

* commit '4939d6d8424d47e19823e5dfcfc5474e8a7e77b8':
  LP64 binaries should talk to debuggerd64.

10 years agoMerge "LP64 binaries should talk to debuggerd64."
Elliott Hughes [Sat, 1 Feb 2014 01:00:34 +0000 (01:00 +0000)]
Merge "LP64 binaries should talk to debuggerd64."

10 years agoLP64 binaries should talk to debuggerd64.
Elliott Hughes [Sat, 1 Feb 2014 00:56:39 +0000 (16:56 -0800)]
LP64 binaries should talk to debuggerd64.

Change-Id: I7eb30f9d04f80b6b45d3148757970d3f1117493c

10 years agoam 47ff6b9f: Merge "Add missing ucontext_t definition to bionic for arch-arm64."
Elliott Hughes [Fri, 31 Jan 2014 22:09:22 +0000 (22:09 +0000)]
am 47ff6b9f: Merge "Add missing ucontext_t definition to bionic for arch-arm64."

* commit '47ff6b9faae7f1bde5deb4760982e7e6785955f2':
  Add missing ucontext_t definition to bionic for arch-arm64.

10 years agoMerge "Add missing ucontext_t definition to bionic for arch-arm64."
Elliott Hughes [Fri, 31 Jan 2014 18:51:35 +0000 (18:51 +0000)]
Merge "Add missing ucontext_t definition to bionic for arch-arm64."

10 years agoam a14df4a9: Merge "[MIPS] SA_RESTORER support is not needed for MIPS"
Elliott Hughes [Fri, 31 Jan 2014 13:00:40 +0000 (13:00 +0000)]
am a14df4a9: Merge "[MIPS] SA_RESTORER support is not needed for MIPS"

* commit 'a14df4a98ad1c4018f63fea358dd30c7e6b51858':
  [MIPS] SA_RESTORER support is not needed for MIPS

10 years agoam 07f84025: Merge "Make ARM <user.h> more glibc-compatible."
Elliott Hughes [Fri, 31 Jan 2014 12:17:14 +0000 (12:17 +0000)]
am 07f84025: Merge "Make ARM <user.h> more glibc-compatible."

* commit '07f84025520a9530760a2f2535a1effde5ec51dd':
  Make ARM <user.h> more glibc-compatible.

10 years agoam 53a55c12: Merge "Add mips <sys/ucontext.h>."
Elliott Hughes [Fri, 31 Jan 2014 10:27:01 +0000 (10:27 +0000)]
am 53a55c12: Merge "Add mips <sys/ucontext.h>."

* commit '53a55c121b458e4131e025f1bbe0e4e2b1b232f7':
  Add mips <sys/ucontext.h>.

10 years agoam 807bbb75: Merge "Add arm <sys/ucontext.h>."
Elliott Hughes [Fri, 31 Jan 2014 10:26:59 +0000 (10:26 +0000)]
am 807bbb75: Merge "Add arm <sys/ucontext.h>."

* commit '807bbb75f14543a72b3f745d35f2c97a92752cd0':
  Add arm <sys/ucontext.h>.

10 years agoam 8f355275: Merge "Add x86 <sys/ucontext.h>."
Elliott Hughes [Fri, 31 Jan 2014 10:26:55 +0000 (10:26 +0000)]
am 8f355275: Merge "Add x86 <sys/ucontext.h>."

* commit '8f355275920f8be82f56e30087a57b1d5ce49771':
  Add x86 <sys/ucontext.h>.

10 years agoam 972c39c4: Merge "Add x86_64 ucontext.h for better compatibility"
Elliott Hughes [Fri, 31 Jan 2014 10:26:51 +0000 (10:26 +0000)]
am 972c39c4: Merge "Add x86_64 ucontext.h for better compatibility"

* commit '972c39c4fee85c5c532eecac409a1384c76b2cc6':
  Add x86_64 ucontext.h for better compatibility

10 years agoMerge "[MIPS] SA_RESTORER support is not needed for MIPS"
Elliott Hughes [Fri, 31 Jan 2014 06:20:44 +0000 (06:20 +0000)]
Merge "[MIPS] SA_RESTORER support is not needed for MIPS"

10 years agoAdd missing ucontext_t definition to bionic for arch-arm64.
Ross McIlroy [Fri, 31 Jan 2014 04:45:53 +0000 (04:45 +0000)]
Add missing ucontext_t definition to bionic for arch-arm64.

Change-Id: I1ee15230c63e00f01d2063cfffcffe7f1a1eeb6a

10 years ago[MIPS] SA_RESTORER support is not needed for MIPS
Chris Dearman [Fri, 31 Jan 2014 04:01:19 +0000 (20:01 -0800)]
[MIPS] SA_RESTORER support is not needed for MIPS

Change-Id: I1c000c94973e811193c80c9770da4f3157594f90
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
10 years agoMerge "Make ARM <user.h> more glibc-compatible."
Elliott Hughes [Thu, 30 Jan 2014 18:42:00 +0000 (18:42 +0000)]
Merge "Make ARM <user.h> more glibc-compatible."

10 years agoMake ARM <user.h> more glibc-compatible.
Elliott Hughes [Thu, 30 Jan 2014 18:39:02 +0000 (10:39 -0800)]
Make ARM <user.h> more glibc-compatible.

Change-Id: I681930ad7f80a5e7bc40eb0f36872e415445f0f9

10 years agoMerge "Add mips <sys/ucontext.h>."
Elliott Hughes [Thu, 30 Jan 2014 02:43:50 +0000 (02:43 +0000)]
Merge "Add mips <sys/ucontext.h>."

10 years agoAdd mips <sys/ucontext.h>.
Elliott Hughes [Thu, 30 Jan 2014 02:37:15 +0000 (18:37 -0800)]
Add mips <sys/ucontext.h>.

Change-Id: I2821f523f0c3bb4400b2ad5d36e21e5a3d6d777c

10 years agoMerge "Add arm <sys/ucontext.h>."
Elliott Hughes [Thu, 30 Jan 2014 02:03:57 +0000 (02:03 +0000)]
Merge "Add arm <sys/ucontext.h>."

10 years agoAdd arm <sys/ucontext.h>.
Elliott Hughes [Thu, 30 Jan 2014 01:53:59 +0000 (17:53 -0800)]
Add arm <sys/ucontext.h>.

Change-Id: I14d435f9e3e82f77d8a7e886ff88c18f5d09d14a

10 years agoMerge "Add x86 <sys/ucontext.h>."
Elliott Hughes [Thu, 30 Jan 2014 00:58:08 +0000 (00:58 +0000)]
Merge "Add x86 <sys/ucontext.h>."

10 years agoAdd x86 <sys/ucontext.h>.
Elliott Hughes [Thu, 30 Jan 2014 00:46:00 +0000 (16:46 -0800)]
Add x86 <sys/ucontext.h>.

Change-Id: I43e72604f7a932f134733b78094b577415a5edb7

10 years agoMerge "Add x86_64 ucontext.h for better compatibility"
Elliott Hughes [Wed, 29 Jan 2014 23:41:22 +0000 (23:41 +0000)]
Merge "Add x86_64 ucontext.h for better compatibility"

10 years agoAdd x86_64 ucontext.h for better compatibility
Pavel Chupin [Mon, 27 Jan 2014 13:56:43 +0000 (17:56 +0400)]
Add x86_64 ucontext.h for better compatibility

As suggested here: https://android-review.googlesource.com/#/c/71267/
it may be used for x86_64 libunwind enabling.

Change-Id: I21623261a48ea7099e030d33932556e294d226ff
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoRegenerate binder header
Arve Hjønnevåg [Wed, 29 Jan 2014 03:27:17 +0000 (19:27 -0800)]
Regenerate binder header

Adds 64 bit support

Change-Id: I6db3c4f68bf2c337bff753599af193e2b062ec05

10 years agoam 12e3a501: am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."
Elliott Hughes [Wed, 29 Jan 2014 01:51:07 +0000 (01:51 +0000)]
am 12e3a501: am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."

* commit '12e3a5019a8bedcdac27470da92f81b5f7fd7b5b':
  Fix pthread_test to work with gtest 1.7.0.

10 years agoam 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."
Elliott Hughes [Wed, 29 Jan 2014 01:47:11 +0000 (01:47 +0000)]
am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."

* commit '037b10d05a789eb57878127ee4d69db1008e8c80':
  Fix pthread_test to work with gtest 1.7.0.

10 years agoMerge "Fix pthread_test to work with gtest 1.7.0."
Elliott Hughes [Wed, 29 Jan 2014 01:42:10 +0000 (01:42 +0000)]
Merge "Fix pthread_test to work with gtest 1.7.0."

10 years agoFix pthread_test to work with gtest 1.7.0.
Elliott Hughes [Wed, 29 Jan 2014 01:02:03 +0000 (17:02 -0800)]
Fix pthread_test to work with gtest 1.7.0.

Now we're building it correctly configured, gtest takes a couple of
TLS slots for itself.

Change-Id: I1c2c4e9e5f9c6e2e2e6ecd1214cfc16a5af5afed

10 years agoam 3bd75303: am c75e7726: Merge "Remove a __system_property_get call from the DNS...
Elliott Hughes [Tue, 28 Jan 2014 23:11:07 +0000 (23:11 +0000)]
am 3bd75303: am c75e7726: Merge "Remove a __system_property_get call from the DNS code."

* commit '3bd75303f96a0838d971f98f941ee90bee6ba17d':
  Remove a __system_property_get call from the DNS code.

10 years agoam c75e7726: Merge "Remove a __system_property_get call from the DNS code."
Elliott Hughes [Tue, 28 Jan 2014 23:04:52 +0000 (23:04 +0000)]
am c75e7726: Merge "Remove a __system_property_get call from the DNS code."

* commit 'c75e7726ea5167ea03c512c7c35117762548d93f':
  Remove a __system_property_get call from the DNS code.

10 years agoMerge "Remove a __system_property_get call from the DNS code."
Elliott Hughes [Tue, 28 Jan 2014 23:00:05 +0000 (23:00 +0000)]
Merge "Remove a __system_property_get call from the DNS code."

10 years agoRemove a __system_property_get call from the DNS code.
Elliott Hughes [Tue, 28 Jan 2014 22:54:11 +0000 (14:54 -0800)]
Remove a __system_property_get call from the DNS code.

Change-Id: I48082ad9eb1b56349c6746ab2c371728c8571a81

10 years agoam 7055c72a: am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"
Elliott Hughes [Tue, 28 Jan 2014 21:17:06 +0000 (21:17 +0000)]
am 7055c72a: am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"

* commit '7055c72a989188dd5e0984cc8cf6a2c0b2ffcc81':
  bionic: Change the type of soinfo's size to size_t

10 years agoam 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"
Elliott Hughes [Tue, 28 Jan 2014 21:10:19 +0000 (21:10 +0000)]
am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"

* commit '4ea434e5d22c8e257de3ff517fdda1175917b3ec':
  bionic: Change the type of soinfo's size to size_t

10 years agoMerge "bionic: Change the type of soinfo's size to size_t"
Elliott Hughes [Tue, 28 Jan 2014 21:04:03 +0000 (21:04 +0000)]
Merge "bionic: Change the type of soinfo's size to size_t"

10 years agobionic: Change the type of soinfo's size to size_t
Weiwu Chen [Tue, 3 Dec 2013 11:47:34 +0000 (19:47 +0800)]
bionic: Change the type of soinfo's size to size_t

Some system functions like munmap expect soinfo's size to be size_t, but currently
it is unsigned. Change it to size_t to fit 64bit's portability.

Change-Id: I0bf6d522b38b0cd9bf1db05b004b5326217412a2
Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
10 years agoam 4bc229eb: am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
Elliott Hughes [Tue, 28 Jan 2014 01:11:49 +0000 (01:11 +0000)]
am 4bc229eb: am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."

* commit '4bc229eb0228d0cfb5b58e87124e5473f3513f06':
  Fix 32-bit mmap/mmap64 handling of negative offsets.

10 years agoam 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
Elliott Hughes [Tue, 28 Jan 2014 01:03:26 +0000 (01:03 +0000)]
am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."

* commit '4449fe9675671264746af4876bd959af8e9fee82':
  Fix 32-bit mmap/mmap64 handling of negative offsets.

10 years agoam 2d7f9616: am 652dd519: Merge "Remove libthread_db from bionic."
Elliott Hughes [Tue, 28 Jan 2014 00:59:14 +0000 (00:59 +0000)]
am 2d7f9616: am 652dd519: Merge "Remove libthread_db from bionic."

* commit '2d7f9616fda2366845af3443c15eb3405eff9b6e':
  Remove libthread_db from bionic.

10 years agoMerge "Fix 32-bit mmap/mmap64 handling of negative offsets."
Elliott Hughes [Tue, 28 Jan 2014 00:58:50 +0000 (00:58 +0000)]
Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."

10 years agoam 652dd519: Merge "Remove libthread_db from bionic."
Elliott Hughes [Tue, 28 Jan 2014 00:43:45 +0000 (00:43 +0000)]
am 652dd519: Merge "Remove libthread_db from bionic."

* commit '652dd5196df87bdeef7bff452f1a4857a96e3133':
  Remove libthread_db from bionic.

10 years agoFix 32-bit mmap/mmap64 handling of negative offsets.
Elliott Hughes [Tue, 28 Jan 2014 00:28:31 +0000 (16:28 -0800)]
Fix 32-bit mmap/mmap64 handling of negative offsets.

We don't actually need to worry about sign extension if we reject
negative values ourselves. Previously it was possible to come up
with negative but aligned values that we would pass to the kernel;
in the case of mmap (as opposed to mmap64) we'd incorrectly turn
those into large positive offsets.

Change-Id: I2aa583e0f892d59bb77429aea8730b72db32dcb0

10 years agoMerge "Remove libthread_db from bionic."
Elliott Hughes [Tue, 28 Jan 2014 00:24:57 +0000 (00:24 +0000)]
Merge "Remove libthread_db from bionic."

10 years agoRemove libthread_db from bionic.
Elliott Hughes [Mon, 27 Jan 2014 23:44:24 +0000 (15:44 -0800)]
Remove libthread_db from bionic.

The NDK statically links its own copy into gdb.

Bug: 11882807
Change-Id: I0c7ed8761c32df3cc3644258551bc7d2e263f47b

10 years agoam cbb439ad: am ba0c668f: Merge "bionic: Do not use magic number for portability"
Elliott Hughes [Mon, 27 Jan 2014 23:05:21 +0000 (23:05 +0000)]
am cbb439ad: am ba0c668f: Merge "bionic: Do not use magic number for portability"

* commit 'cbb439addbe9f04de28f291ebd163575933da177':
  bionic: Do not use magic number for portability

10 years agoam ba0c668f: Merge "bionic: Do not use magic number for portability"
Elliott Hughes [Mon, 27 Jan 2014 22:57:53 +0000 (14:57 -0800)]
am ba0c668f: Merge "bionic: Do not use magic number for portability"

* commit 'ba0c668feca851fd52359bee4174a232f27697b4':
  bionic: Do not use magic number for portability

10 years agoMerge "bionic: Do not use magic number for portability"
Elliott Hughes [Mon, 27 Jan 2014 22:52:07 +0000 (22:52 +0000)]
Merge "bionic: Do not use magic number for portability"

10 years agobionic: Do not use magic number for portability
Qiming Shi [Sun, 26 Jan 2014 08:49:39 +0000 (16:49 +0800)]
bionic: Do not use magic number for portability

Do not use the magic number 0xFFFFFFFFU to represent the max value of an address
as it's not correct on 64bit platform. We should use UINTPTR_MAX instead.

Change-Id: I1fc6f5864a651b2eddea2333cb0788f9d9223270
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
10 years agoam f3ea7917: am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS...
Elliott Hughes [Sat, 25 Jan 2014 01:35:03 +0000 (01:35 +0000)]
am f3ea7917: am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."

* commit 'f3ea791757dacdab64c870ccfb820e3e36a8d854':
  Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).

10 years agoam 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and...
Elliott Hughes [Sat, 25 Jan 2014 01:30:03 +0000 (17:30 -0800)]
am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."

* commit '6f23ce36ce580da3c1419856c71d7426dd64748d':
  Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).

10 years agoMerge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX...
Elliott Hughes [Sat, 25 Jan 2014 01:25:16 +0000 (01:25 +0000)]
Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."

10 years agoam 22750476: am b32cc032: Merge "Use arch-specific variable to set up the x86 ld...
Ying Wang [Sat, 25 Jan 2014 01:00:25 +0000 (01:00 +0000)]
am 22750476: am b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."

* commit '227504768413a7802efcea3c80ee8fb6d78af9c5':
  Use arch-specific variable to set up the x86 ld flags.

10 years agoam b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."
Ying Wang [Sat, 25 Jan 2014 00:55:33 +0000 (16:55 -0800)]
am b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."

* commit 'b32cc032030e7a9f50b28d6dba5a40a38e6e76cf':
  Use arch-specific variable to set up the x86 ld flags.

10 years agoMerge "Use arch-specific variable to set up the x86 ld flags."
Ying Wang [Sat, 25 Jan 2014 00:50:53 +0000 (00:50 +0000)]
Merge "Use arch-specific variable to set up the x86 ld flags."

10 years agoUse arch-specific variable to set up the x86 ld flags.
Ying Wang [Thu, 23 Jan 2014 23:15:28 +0000 (15:15 -0800)]
Use arch-specific variable to set up the x86 ld flags.

Bug: 11654773
Change-Id: I9e9075bac1303cfa39b0f717dd74625ce1dd5fa5

10 years agoRemove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for...
Elliott Hughes [Sat, 25 Jan 2014 00:37:04 +0000 (16:37 -0800)]
Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).

The various committees decided that everyone should get all these macros,
all the time.

Bug: 12708004
Change-Id: Ib56010dcba9b0656e5701546fefb7f78dc0bf916

10 years agoam 50228472: am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a...
Ben Cheng [Sat, 25 Jan 2014 00:24:08 +0000 (00:24 +0000)]
am 50228472: am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."

* commit '502284727b0e856442c95713ba61a16e7d86a5c1':
  Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.

10 years agoam 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compa...
Ben Cheng [Sat, 25 Jan 2014 00:19:39 +0000 (16:19 -0800)]
am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."

* commit '5acce960f40f51107301398f9cadff680a634951':
  Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.