android-sdk/platform-bionic.git
12 years agoMerge changes Ibdc6e3c8,I9bcb91a2
David Turner [Mon, 29 Mar 2010 22:05:47 +0000 (15:05 -0700)]
Merge changes Ibdc6e3c8,I9bcb91a2

* changes:
  Correct generic memset implementation
  Generic memcpy should define MEMCOPY before including bcopy.c

12 years agoMerge "Atom optimized string and memory routines"
David Turner [Mon, 29 Mar 2010 21:40:05 +0000 (14:40 -0700)]
Merge "Atom optimized string and memory routines"

12 years agoAtom optimized string and memory routines
Bruce Beare [Thu, 4 Mar 2010 19:03:37 +0000 (11:03 -0800)]
Atom optimized string and memory routines

Change-Id: I27b68bb28551c75c9ac84bb9730e2cd8254d8991

12 years agoAndroid hack for size_t
Bruce Beare [Wed, 10 Mar 2010 23:52:42 +0000 (15:52 -0800)]
Android hack for size_t

Change-Id: I3c967fca60f542459dc17be84da47b3b6a26242b

12 years agoMerge "bionic: on pthread_join(), avoid extra check in case we find the thread"
David Turner [Thu, 18 Mar 2010 23:42:49 +0000 (16:42 -0700)]
Merge "bionic: on pthread_join(), avoid extra check in case we find the thread"

12 years agoMerge "bionic: ftell() returns a long, not an int"
David Turner [Thu, 18 Mar 2010 23:35:42 +0000 (16:35 -0700)]
Merge "bionic: ftell() returns a long, not an int"

12 years agoAdded support for dladdr()
Matt Fischer [Thu, 31 Dec 2009 18:17:40 +0000 (12:17 -0600)]
Added support for dladdr()

dladdr() is a GNU extension function, which allows the caller to retrieve
symbol information for a specified memory address.  It is useful for things
like generating backtrace information at runtime.

Change-Id: I3a1def1a6c9c666d93e1e97b7d260dfa5b9b79a9

12 years agoMerge "x86 syscall system call implementation"
David Turner [Wed, 17 Mar 2010 21:07:27 +0000 (14:07 -0700)]
Merge "x86 syscall system call implementation"

12 years agoMerge "Fix pread()/pwrite() stubs"
David Turner [Wed, 17 Mar 2010 21:00:20 +0000 (14:00 -0700)]
Merge "Fix pread()/pwrite() stubs"

12 years agoMerge "bionic: remove unneeded variable from chk_realloc()"
David Turner [Wed, 17 Mar 2010 00:26:44 +0000 (17:26 -0700)]
Merge "bionic: remove unneeded variable from chk_realloc()"

12 years agoMerge "bionic: equalize the <unknown> program name between ssp.c and libc_init_common.c"
David Turner [Wed, 17 Mar 2010 00:25:53 +0000 (17:25 -0700)]
Merge "bionic: equalize the <unknown> program name between ssp.c and libc_init_common.c"

12 years agoMerge "improve readability of string: fix indentation and remove trailing spaces"
David Turner [Wed, 17 Mar 2010 00:25:04 +0000 (17:25 -0700)]
Merge "improve readability of string: fix indentation and remove trailing spaces"

12 years agoMerge "optimize delete/delete[] operators by removing unneeded branch"
David Turner [Wed, 17 Mar 2010 00:21:52 +0000 (17:21 -0700)]
Merge "optimize delete/delete[] operators by removing unneeded branch"

12 years agox86 syscall system call implementation
Bruce Beare [Thu, 4 Mar 2010 18:29:38 +0000 (10:29 -0800)]
x86 syscall system call implementation

12 years agoFix pread()/pwrite() stubs
Matt Fischer [Fri, 21 Aug 2009 20:45:17 +0000 (15:45 -0500)]
Fix pread()/pwrite() stubs

On ARM EABI, 64-bit function parameters must be aligned
to an even/odd register pair.  The weird way these stubs
were written (using separate lo/hi parameters) prevented
this alignment from being enforced by the compiler.

12 years agoam ee424e23: bionic: update processed kernel header a1026.h
Iliyan Malchev [Tue, 9 Feb 2010 17:25:57 +0000 (09:25 -0800)]
am ee424e23: bionic: update processed kernel header a1026.h

Merge commit 'ee424e23c10c051ee4760177c85f6003ff20108c' into eclair-plus-aosp

* commit 'ee424e23c10c051ee4760177c85f6003ff20108c':
  bionic: update processed kernel header a1026.h

12 years agobionic: update processed kernel header a1026.h
Iliyan Malchev [Mon, 8 Feb 2010 23:57:09 +0000 (15:57 -0800)]
bionic: update processed kernel header a1026.h

Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agoCorrect generic memset implementation
Chris Dearman [Fri, 5 Feb 2010 23:13:55 +0000 (15:13 -0800)]
Correct generic memset implementation

Signed-off-by: Chris Dearman <chris@mips.com>
12 years agoGeneric memcpy should define MEMCOPY before including bcopy.c
Chris Dearman [Fri, 5 Feb 2010 23:13:55 +0000 (15:13 -0800)]
Generic memcpy should define MEMCOPY before including bcopy.c

Signed-off-by: Chris Dearman <chris@mips.com>
12 years agobionic: equalize the <unknown> program name between ssp.c and libc_init_common.c
André Goddard Rosa [Fri, 5 Feb 2010 19:48:07 +0000 (17:48 -0200)]
bionic: equalize the <unknown> program name between ssp.c and libc_init_common.c

... for the consistency sake.

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
12 years agobionic: remove unneeded variable from chk_realloc()
André Goddard Rosa [Fri, 5 Feb 2010 18:32:56 +0000 (16:32 -0200)]
bionic: remove unneeded variable from chk_realloc()

... and simplify the generated code.

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
12 years agobionic: on pthread_join(), avoid extra check in case we find the thread
André Goddard Rosa [Fri, 5 Feb 2010 18:21:07 +0000 (16:21 -0200)]
bionic: on pthread_join(), avoid extra check in case we find the thread

... by using similar logic as used in pthread_detach().

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
12 years agobionic: ftell() returns a long, not an int
André Goddard Rosa [Fri, 5 Feb 2010 18:05:52 +0000 (16:05 -0200)]
bionic: ftell() returns a long, not an int

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
12 years agoam ba8bfedd: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:44:18 +0000 (08:44 -0800)]
am ba8bfedd: reconcile main tree with open-source eclair

Merge commit 'ba8bfedd04824eea944236ffc885f866c5e9c651' into eclair-plus-aosp

* commit 'ba8bfedd04824eea944236ffc885f866c5e9c651':
  android-2.1_r1 snapshot

12 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:31 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

12 years agoam d0996bb4: bionic: update processed kernel header tpa2018d1.h
Iliyan Malchev [Tue, 2 Feb 2010 22:21:05 +0000 (14:21 -0800)]
am d0996bb4: bionic: update processed kernel header tpa2018d1.h

Merge commit 'd0996bb4cd6b6d0fa7c643a809f01e33adc2638d' into eclair-plus-aosp

* commit 'd0996bb4cd6b6d0fa7c643a809f01e33adc2638d':
  bionic: update processed kernel header tpa2018d1.h

12 years agoam 276313ec: bionic: add processed kernel headers a1026.h and tpa2018d1.h
Iliyan Malchev [Tue, 2 Feb 2010 22:21:02 +0000 (14:21 -0800)]
am 276313ec: bionic: add processed kernel headers a1026.h and tpa2018d1.h

Merge commit '276313ec18c18a07e867dffe568a377583cfd905' into eclair-plus-aosp

* commit '276313ec18c18a07e867dffe568a377583cfd905':
  bionic: add processed kernel headers a1026.h and tpa2018d1.h

12 years agobionic: update processed kernel header tpa2018d1.h
Iliyan Malchev [Tue, 2 Feb 2010 21:42:55 +0000 (13:42 -0800)]
bionic: update processed kernel header tpa2018d1.h

Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agobionic: add processed kernel headers a1026.h and tpa2018d1.h
Iliyan Malchev [Tue, 2 Feb 2010 19:56:26 +0000 (11:56 -0800)]
bionic: add processed kernel headers a1026.h and tpa2018d1.h

Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agoimprove readability of string: fix indentation and remove trailing spaces
André Goddard Rosa [Sun, 31 Jan 2010 00:28:49 +0000 (22:28 -0200)]
improve readability of string: fix indentation and remove trailing spaces

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
12 years agooptimize delete/delete[] operators by removing unneeded branch
André Goddard Rosa [Sun, 31 Jan 2010 00:26:30 +0000 (22:26 -0200)]
optimize delete/delete[] operators by removing unneeded branch

Remove redundant not NULL check already done in free().

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
12 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:07:31 +0000 (14:07 -0800)]
reconcile android-2.1_r1 snapshot

12 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:18:05 +0000 (15:18 -0800)]
android-2.1_r1 snapshot

12 years agoam 5f53a182: Revert "Add qsort_r() implementation to the C library."
Mathias Agopian [Fri, 4 Dec 2009 01:10:45 +0000 (17:10 -0800)]
am 5f53a182: Revert "Add qsort_r() implementation to the C library."

Merge commit '5f53a18204ec991f5a77872806eeaa185936aa8c' into eclair-plus-aosp

* commit '5f53a18204ec991f5a77872806eeaa185936aa8c':
  Revert "Add qsort_r() implementation to the C library."

12 years agoRevert "Add qsort_r() implementation to the C library."
Mathias Agopian [Fri, 4 Dec 2009 00:14:40 +0000 (16:14 -0800)]
Revert "Add qsort_r() implementation to the C library."

This reverts commit 754c178ae551aedcbbfd3bfd1c1c3b710d9ad989.

Turns out we don't need it afterall (needed a stable sort anyways).
So, we'll make that change in the dev branch instead.

12 years agoam 754c178a: Add qsort_r() implementation to the C library.
David 'Digit' Turner [Fri, 4 Dec 2009 00:00:26 +0000 (16:00 -0800)]
am 754c178a: Add qsort_r() implementation to the C library.

Merge commit '754c178ae551aedcbbfd3bfd1c1c3b710d9ad989' into eclair-plus-aosp

* commit '754c178ae551aedcbbfd3bfd1c1c3b710d9ad989':
  Add qsort_r() implementation to the C library.

12 years agoAdd qsort_r() implementation to the C library.
David 'Digit' Turner [Thu, 3 Dec 2009 01:38:41 +0000 (17:38 -0800)]
Add qsort_r() implementation to the C library.

NOTE: This replaces qsort.c with the FreeBSD version. While
      the patch changes the source, it should not alter the
      implementation that should use the exact same algorithm.

12 years agoam e1e68492: Merge change Ifa58a406 into eclair
Dima Zavin [Thu, 3 Dec 2009 10:14:57 +0000 (02:14 -0800)]
am e1e68492: Merge change Ifa58a406 into eclair

Merge commit 'e1e684920f3bea04f7cccee9f2d7ecd8b9a1ba47' into eclair-plus-aosp

* commit 'e1e684920f3bea04f7cccee9f2d7ecd8b9a1ba47':
  libc: kernel: Update msm_kgsl.h header

12 years agoMerge change Ifa58a406 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 10:09:47 +0000 (02:09 -0800)]
Merge change Ifa58a406 into eclair

* changes:
  libc: kernel: Update msm_kgsl.h header

12 years agoam fe62de1a: Add support for R_ARM_REL32 to the dynamic linker.
David 'Digit' Turner [Wed, 2 Dec 2009 19:17:29 +0000 (11:17 -0800)]
am fe62de1a: Add support for R_ARM_REL32 to the dynamic linker.

Merge commit 'fe62de1ad036a1417df44b7b1a7c65cc79dc7091' into eclair-plus-aosp

* commit 'fe62de1ad036a1417df44b7b1a7c65cc79dc7091':
  Add support for R_ARM_REL32 to the dynamic linker.

12 years agoAdd support for R_ARM_REL32 to the dynamic linker.
David 'Digit' Turner [Wed, 2 Dec 2009 18:54:53 +0000 (10:54 -0800)]
Add support for R_ARM_REL32 to the dynamic linker.

Merged from eclair-mr2

12 years agolibc: kernel: Update msm_kgsl.h header
Dima Zavin [Thu, 19 Nov 2009 17:55:56 +0000 (09:55 -0800)]
libc: kernel: Update msm_kgsl.h header

Change-Id: Ifa58a406c9419c5ad73a1f9456add6dd54bfb2ba
Signed-off-by: Dima Zavin <dima@android.com>
12 years agoam cd5df2d9: Rebuild the time zone data files in 32-bit format instead of 64-bit.
Eric Fischer [Tue, 24 Nov 2009 22:01:54 +0000 (14:01 -0800)]
am cd5df2d9: Rebuild the time zone data files in 32-bit format instead of 64-bit.

Merge commit 'cd5df2d92c3adeac41e27aab5ba0f999c753c4c4' into eclair-plus-aosp

* commit 'cd5df2d92c3adeac41e27aab5ba0f999c753c4c4':
  Rebuild the time zone data files in 32-bit format instead of 64-bit.

12 years agoRebuild the time zone data files in 32-bit format instead of 64-bit.
Eric Fischer [Tue, 24 Nov 2009 21:52:05 +0000 (13:52 -0800)]
Rebuild the time zone data files in 32-bit format instead of 64-bit.

The 64-bit data is not currently being used and more than doubles the size.

12 years agoam 7e617899: Correct the raw offsets in the time zone index for a few zones.
Eric Fischer [Tue, 24 Nov 2009 01:04:43 +0000 (17:04 -0800)]
am 7e617899: Correct the raw offsets in the time zone index for a few zones.

Merge commit '7e6178998507f993eedf6bec726b0c28881f0485' into eclair-plus-aosp

* commit '7e6178998507f993eedf6bec726b0c28881f0485':
  Correct the raw offsets in the time zone index for a few zones.

12 years agoCorrect the raw offsets in the time zone index for a few zones.
Eric Fischer [Tue, 24 Nov 2009 00:28:11 +0000 (16:28 -0800)]
Correct the raw offsets in the time zone index for a few zones.

ZoneCompactor was using the system time zone database to get the offsets
instead of using the data it was compiling, so for newly added or recently
changed zones the index could be inconsistent with the data.

Affected zones: San_Luis, Casey, Davis, Mawson, Kathmandu, Novokuznetsk

12 years agoam a6083b77: Update zoneinfo time zone data to version 2009s
Eric Fischer [Fri, 20 Nov 2009 23:42:15 +0000 (15:42 -0800)]
am a6083b77: Update zoneinfo time zone data to version 2009s

Merge commit 'a6083b7768a2d1efc52805ff7ce049866186c744' into eclair-plus-aosp

* commit 'a6083b7768a2d1efc52805ff7ce049866186c744':
  Update zoneinfo time zone data to version 2009s

12 years agoUpdate zoneinfo time zone data to version 2009s
Eric Fischer [Fri, 20 Nov 2009 22:39:55 +0000 (14:39 -0800)]
Update zoneinfo time zone data to version 2009s

http://b/issue?id=2272477

12 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:05:54 +0000 (14:05 -0800)]
merge from open-source master

Merge commit 'goog/stage-korg-master' into HEAD

12 years agomerge from eclair
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:05:31 +0000 (12:05 -0800)]
merge from eclair

12 years agoam 110044b1: libc: kernel: Update msm_kgsl.h header
Dima Zavin [Fri, 13 Nov 2009 11:51:47 +0000 (03:51 -0800)]
am 110044b1: libc: kernel: Update msm_kgsl.h header

Merge commit '110044b131122e6886b962d5d16b1031695c374b' into eclair-plus-aosp

* commit '110044b131122e6886b962d5d16b1031695c374b':
  libc: kernel: Update msm_kgsl.h header

12 years agolibc: kernel: Update msm_kgsl.h header
Dima Zavin [Fri, 13 Nov 2009 10:29:17 +0000 (02:29 -0800)]
libc: kernel: Update msm_kgsl.h header

Change-Id: I8b22bcb4816fca5e0b92fee4b2ccb0ef135be5a9
Signed-off-by: Dima Zavin <dima@android.com>
12 years agoeclair snapshot
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:45:14 +0000 (18:45 -0800)]
eclair snapshot

12 years agomerge from open-source master
Jean-Baptiste Queru [Wed, 11 Nov 2009 16:19:07 +0000 (08:19 -0800)]
merge from open-source master

12 years agoMerge change I37d0317d
Android Code Review [Mon, 9 Nov 2009 23:21:09 +0000 (15:21 -0800)]
Merge change I37d0317d

* changes:
  modified SYSCALLS.TXT to support SuperH architecture

12 years agomerge from open-source master
Jean-Baptiste Queru [Mon, 9 Nov 2009 00:09:17 +0000 (16:09 -0800)]
merge from open-source master

12 years agoadded and modified linker to support SuperH architecture
Shin-ichiro KAWASAKI [Fri, 6 Nov 2009 01:36:37 +0000 (10:36 +0900)]
added and modified linker to support SuperH architecture

12 years agoAdd the BSD sys_signame array.
Thorsten Glaser [Fri, 2 Oct 2009 13:39:00 +0000 (15:39 +0200)]
Add the BSD sys_signame array.

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
12 years agoam 199f9d92: Improve memcpy performance from 290 MiB/s to 340 MiB/s (17% improvment)
Mathias Agopian [Thu, 29 Oct 2009 09:44:15 +0000 (02:44 -0700)]
am 199f9d92: Improve memcpy performance from 290 MiB/s to 340 MiB/s (17% improvment)

Merge commit '199f9d923804d74e021dd80e48ec75c0a96dba77' into eclair-plus-aosp

* commit '199f9d923804d74e021dd80e48ec75c0a96dba77':
  Improve memcpy performance from 290 MiB/s to 340 MiB/s (17% improvment)

12 years agoImprove memcpy performance from 290 MiB/s to 340 MiB/s (17% improvment)
Mathias Agopian [Wed, 28 Oct 2009 09:54:37 +0000 (02:54 -0700)]
Improve memcpy performance from 290 MiB/s to 340 MiB/s (17% improvment)

use 64 bytes cache lines, reduce the main loop to 64-bytes instead of
128 bytes and adjust the prefetch distance to the optimal value.

12 years agoam 763ac283: Merge changes Ibcba4b4f,I9af341e1 into eclair
Iliyan Malchev [Sat, 24 Oct 2009 01:39:30 +0000 (18:39 -0700)]
am 763ac283: Merge changes Ibcba4b4f,I9af341e1 into eclair

Merge commit '763ac28357f604e0e4196e0a7ad5b0f5cdcf274a' into eclair-plus-aosp

* commit '763ac28357f604e0e4196e0a7ad5b0f5cdcf274a':
  bionic/linker: make the buddy allocator compute max_order on its own
  bionic/linker: change the buddy allocator to take a handle to the managed area

12 years agoMerge changes Ibcba4b4f,I9af341e1 into eclair
Android (Google) Code Review [Sat, 24 Oct 2009 01:27:57 +0000 (21:27 -0400)]
Merge changes Ibcba4b4f,I9af341e1 into eclair

* changes:
  bionic/linker: make the buddy allocator compute max_order on its own
  bionic/linker: change the buddy allocator to take a handle to the managed area

12 years agoam 96bbbe21: Wrap ARM abort() to improve stack trace.
Andy McFadden [Wed, 21 Oct 2009 19:18:54 +0000 (12:18 -0700)]
am 96bbbe21: Wrap ARM abort() to improve stack trace.

Merge commit '96bbbe21778fc3f4a932822c2436238d6ce5721b' into eclair-plus-aosp

* commit '96bbbe21778fc3f4a932822c2436238d6ce5721b':
  Wrap ARM abort() to improve stack trace.

12 years agoWrap ARM abort() to improve stack trace.
Andy McFadden [Thu, 15 Oct 2009 23:07:43 +0000 (16:07 -0700)]
Wrap ARM abort() to improve stack trace.

The code generated for Thumb and Thumb2 targets has different handling
for abort().  Because abort() is "noreturn", it doesn't need to preserve
the callee-save registers.  The Thumb2 version trashes LR and makes it
impossible to figure out who called abort().

This inserts a trivial stub function; net effect is stack traces are
reasonable after an abort().

For bug 2191452.

Eclair branch Dr. No approved by: hiroshi

12 years agobionic/linker: make the buddy allocator compute max_order on its own
Iliyan Malchev [Mon, 19 Oct 2009 21:25:17 +0000 (14:25 -0700)]
bionic/linker: make the buddy allocator compute max_order on its own

Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agobionic/linker: change the buddy allocator to take a handle to the managed area
Iliyan Malchev [Sat, 17 Oct 2009 00:50:42 +0000 (17:50 -0700)]
bionic/linker: change the buddy allocator to take a handle to the managed area

-- rename struct ba_info to struct ba
-- move the static ba descriptor from ba.c to linker.c and rename it ba_prelink
-- ba_init, ba_allocate, ba_free, ba_start_addr, and ba_len all take a pointer
   to struct ba

Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agoam 7e7d6c48: use local symbols in memset so it doesn\'t screw up profiling
Mathias Agopian [Tue, 20 Oct 2009 00:09:51 +0000 (17:09 -0700)]
am 7e7d6c48: use local symbols in memset so it doesn\'t screw up profiling

Merge commit '7e7d6c48a064af82f0ec39f47b9eb803a6e1df4c' into eclair-plus-aosp

* commit '7e7d6c48a064af82f0ec39f47b9eb803a6e1df4c':
  use local symbols in memset so it doesn't screw up profiling

12 years agouse local symbols in memset so it doesn't screw up profiling
Mathias Agopian [Mon, 19 Oct 2009 23:34:38 +0000 (16:34 -0700)]
use local symbols in memset so it doesn't screw up profiling

12 years agoam ff7b46b8: Merge change I3c998761 into eclair
David 'Digit' Turner [Fri, 16 Oct 2009 19:36:27 +0000 (12:36 -0700)]
am ff7b46b8: Merge change I3c998761 into eclair

Merge commit 'ff7b46b87c4d85881d88c2105a94be6c6accb628' into eclair-plus-aosp

* commit 'ff7b46b87c4d85881d88c2105a94be6c6accb628':
  Allow the dynamic linker to relocate references to thumb symbols in NDK libraries.

12 years agoMerge change I3c998761 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 19:27:36 +0000 (15:27 -0400)]
Merge change I3c998761 into eclair

* changes:
  Allow the dynamic linker to relocate references to thumb symbols in NDK libraries.

12 years agomerge from open-source master
Jean-Baptiste Queru [Wed, 14 Oct 2009 15:18:23 +0000 (08:18 -0700)]
merge from open-source master

12 years agoam 5c328268: libc: kernel: add linux/msm_q6venc.h kernel include for qsd8k h/w video...
Dima Zavin [Wed, 14 Oct 2009 05:40:14 +0000 (22:40 -0700)]
am 5c328268: libc: kernel: add linux/msm_q6venc.h kernel include for qsd8k h/w video encode

Merge commit '5c32826841460294cfba98ff713b4804512bacd1' into eclair-plus-aosp

* commit '5c32826841460294cfba98ff713b4804512bacd1':
  libc: kernel: add linux/msm_q6venc.h kernel include for qsd8k h/w video encode

12 years agoam 0e24d2c9: update msm_camera.h
Iliyan Malchev [Wed, 14 Oct 2009 04:00:37 +0000 (21:00 -0700)]
am 0e24d2c9: update msm_camera.h

Merge commit '0e24d2c944e2eacd2f9ccefbfbda904fab7cf273' into eclair-plus-aosp

* commit '0e24d2c944e2eacd2f9ccefbfbda904fab7cf273':
  update msm_camera.h

12 years agolibc: kernel: add linux/msm_q6venc.h kernel include for qsd8k h/w video encode
Dima Zavin [Wed, 14 Oct 2009 03:57:16 +0000 (20:57 -0700)]
libc: kernel: add linux/msm_q6venc.h kernel include for qsd8k h/w video encode

Change-Id: I58c6eb0d417d5a30fa245f693304a147631fd07f
Signed-off-by: Dima Zavin <dima@android.com>
12 years agoupdate msm_camera.h
Iliyan Malchev [Wed, 14 Oct 2009 03:28:29 +0000 (20:28 -0700)]
update msm_camera.h

Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agoAllow the dynamic linker to relocate references to thumb symbols in NDK libraries.
David 'Digit' Turner [Tue, 13 Oct 2009 23:55:18 +0000 (16:55 -0700)]
Allow the dynamic linker to relocate references to thumb symbols in NDK libraries.

The lowest bit of the symbol's value should be ignored when looking at UNDEF symbols
for correctness. It is used as an ARM/Thumb flag by the linker.

12 years agoam 9a96aaa8: libc: kernel: Update linux/msm_kgsl.h to latest
Dima Zavin [Thu, 8 Oct 2009 04:43:42 +0000 (21:43 -0700)]
am 9a96aaa8: libc: kernel: Update linux/msm_kgsl.h to latest

Merge commit '9a96aaa8efcde245ac4ba23228b8a8d61e008d91' into eclair-plus-aosp

* commit '9a96aaa8efcde245ac4ba23228b8a8d61e008d91':
  libc: kernel: Update linux/msm_kgsl.h to latest

12 years agolibc: kernel: Update linux/msm_kgsl.h to latest
Dima Zavin [Sat, 3 Oct 2009 23:38:49 +0000 (16:38 -0700)]
libc: kernel: Update linux/msm_kgsl.h to latest

Change-Id: I530cea1110fc6e6ccf150e6b176e708030ce8a94
Signed-off-by: Dima Zavin <dima@android.com>
12 years agoam e3650267: fix [2170898] abort() doesn\'t print a stack tarce
Mathias Agopian [Wed, 7 Oct 2009 18:58:25 +0000 (11:58 -0700)]
am e3650267: fix [2170898] abort() doesn\'t print a stack tarce

Merge commit 'e36502673d98df089acbc645f077ee0c2be20c5d' into eclair-plus-aosp

* commit 'e36502673d98df089acbc645f077ee0c2be20c5d':
  fix [2170898] abort() doesn't print a stack tarce

12 years agoam fdc5c1f5: Re-enable ARMv7 memcpy implementation.
David 'Digit' Turner [Wed, 7 Oct 2009 18:48:11 +0000 (11:48 -0700)]
am fdc5c1f5: Re-enable ARMv7 memcpy implementation.

Merge commit 'fdc5c1f56f9d21034badb8e4b092c47098f19613' into eclair-plus-aosp

* commit 'fdc5c1f56f9d21034badb8e4b092c47098f19613':
  Re-enable ARMv7 memcpy implementation.

12 years agoam 1e40783d: Fix armv7-user builds by disabling the ARMv7-optimized memcpy.
David 'Digit' Turner [Wed, 7 Oct 2009 18:42:33 +0000 (11:42 -0700)]
am 1e40783d: Fix armv7-user builds by disabling the ARMv7-optimized memcpy.

Merge commit '1e40783d9ad29c88a4d547774e05080fc4327a2e' into eclair-plus-aosp

* commit '1e40783d9ad29c88a4d547774e05080fc4327a2e':
  Fix armv7-user builds by disabling the ARMv7-optimized memcpy.

12 years agofix [2170898] abort() doesn't print a stack tarce
Mathias Agopian [Tue, 6 Oct 2009 22:35:22 +0000 (15:35 -0700)]
fix [2170898] abort() doesn't print a stack tarce

the issue here is that abort() can be called from anywhere, in particular
from malloc or free. When we try to use the debug_log functions, these
can end up calling into some code (like malloc/free) that called abort()
in the first place and end up in an infinite recursion loop.

12 years agoRe-enable ARMv7 memcpy implementation.
David 'Digit' Turner [Mon, 5 Oct 2009 21:11:55 +0000 (14:11 -0700)]
Re-enable ARMv7 memcpy implementation.

Do not submit this patch before the one that modifies the Android emulator to
work-around a weird ARMv7 emulation issue. This is done to temporarily re-allow
the -user builds needed for QA.

12 years agoFix armv7-user builds by disabling the ARMv7-optimized memcpy.
David 'Digit' Turner [Sat, 3 Oct 2009 02:13:27 +0000 (19:13 -0700)]
Fix armv7-user builds by disabling the ARMv7-optimized memcpy.

This is required to work-around some corny bugs in ARMv7 emulation.

The emulation itself is required to run the dex pre-optimization pass
for -user builds.

12 years agoam fe46030c: Merge changes I3bd27087,I0c9ec550,I3a0e5e86 into eclair
Iliyan Malchev [Tue, 29 Sep 2009 22:28:53 +0000 (15:28 -0700)]
am fe46030c: Merge changes I3bd27087,I0c9ec550,I3a0e5e86 into eclair

Merge commit 'fe46030cdd97f9cf810630541df367dd2b85cae9' into eclair-plus-aosp

* commit 'fe46030cdd97f9cf810630541df367dd2b85cae9':
  bionic/linker: allow resolving of symbols from library back to executable
  bionic/linker: change lookup() to return soinfo, not base
  Revert "Revert "bionic/linker: fix symbol lookup during relocations""

12 years agoMerge changes I3bd27087,I0c9ec550,I3a0e5e86 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 22:21:53 +0000 (18:21 -0400)]
Merge changes I3bd27087,I0c9ec550,I3a0e5e86 into eclair

* changes:
  bionic/linker: allow resolving of symbols from library back to executable
  bionic/linker: change lookup() to return soinfo, not base
  Revert "Revert "bionic/linker: fix symbol lookup during relocations""

12 years agoam 7a9e06fa: Merge change I2a7ad975 into eclair
David 'Digit' Turner [Tue, 29 Sep 2009 22:13:15 +0000 (15:13 -0700)]
am 7a9e06fa: Merge change I2a7ad975 into eclair

Merge commit '7a9e06fa7e4e533074cde314f25dff3024f34a5d' into eclair-plus-aosp

* commit '7a9e06fa7e4e533074cde314f25dff3024f34a5d':
  Fix ABI breakage in libc.so and libm.so between 1.6 and Eclair.

12 years agoMerge change I2a7ad975 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 22:04:51 +0000 (18:04 -0400)]
Merge change I2a7ad975 into eclair

* changes:
  Fix ABI breakage in libc.so and libm.so between 1.6 and Eclair.

12 years agoFix ABI breakage in libc.so and libm.so between 1.6 and Eclair.
David 'Digit' Turner [Tue, 29 Sep 2009 21:43:38 +0000 (14:43 -0700)]
Fix ABI breakage in libc.so and libm.so between 1.6 and Eclair.

For a detailed description of the problem and why this fix is
needed, plrease read the comments in libgcc_compat.c

12 years agobionic/linker: allow resolving of symbols from library back to executable
Iliyan Malchev [Tue, 29 Sep 2009 18:43:20 +0000 (11:43 -0700)]
bionic/linker: allow resolving of symbols from library back to executable

Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agobionic/linker: change lookup() to return soinfo, not base
Iliyan Malchev [Tue, 29 Sep 2009 01:21:30 +0000 (18:21 -0700)]
bionic/linker: change lookup() to return soinfo, not base

12 years agoRevert "Revert "bionic/linker: fix symbol lookup during relocations""
Iliyan Malchev [Tue, 29 Sep 2009 02:38:04 +0000 (19:38 -0700)]
Revert "Revert "bionic/linker: fix symbol lookup during relocations""

This reverts commit 33acbf0719c4f3db059bc9e1f52cf554a5d0295f.

12 years agoam ee223d02: NEON optimized memcpy.
Mathias Agopian [Tue, 29 Sep 2009 20:31:57 +0000 (13:31 -0700)]
am ee223d02: NEON optimized memcpy.

Merge commit 'ee223d02d96815c989b62043ff1237b1cd4e14b0' into eclair-plus-aosp

* commit 'ee223d02d96815c989b62043ff1237b1cd4e14b0':
  NEON optimized memcpy.

12 years agoNEON optimized memcpy.
Mathias Agopian [Mon, 28 Sep 2009 00:46:43 +0000 (17:46 -0700)]
NEON optimized memcpy.

372 MB/s for large transfers, 440 MB/s for smaller ones down to 1KB. 130 MB/s for very small transfers ( < 32 bytes )
Performance is similar with non-congruent buffers.

12 years agoadded and modified bionic code to support SuperH architecture
Shin-ichiro KAWASAKI [Mon, 28 Sep 2009 07:11:39 +0000 (16:11 +0900)]
added and modified bionic code to support SuperH architecture

    modified:   libc/Android.mk
    new files:   libc/arch-sh/bionic/*
    new files:   libc/arch-sh/include/*

12 years agoam 33acbf07: Revert "bionic/linker: fix symbol lookup during relocations"
Mathias Agopian [Mon, 28 Sep 2009 05:20:08 +0000 (22:20 -0700)]
am 33acbf07: Revert "bionic/linker: fix symbol lookup during relocations"

Merge commit '33acbf0719c4f3db059bc9e1f52cf554a5d0295f' into eclair-plus-aosp

* commit '33acbf0719c4f3db059bc9e1f52cf554a5d0295f':
  Revert "bionic/linker: fix symbol lookup during relocations"

12 years agoRevert "bionic/linker: fix symbol lookup during relocations"
Mathias Agopian [Mon, 28 Sep 2009 05:04:15 +0000 (22:04 -0700)]
Revert "bionic/linker: fix symbol lookup during relocations"

This reverts commit 8d0c0334f1106d36f2fd5c1cf6d5dc75a4b88850.

12 years agoam 4e5a965d: Merge change 27075 into eclair
Iliyan Malchev [Mon, 28 Sep 2009 00:35:01 +0000 (17:35 -0700)]
am 4e5a965d: Merge change 27075 into eclair

Merge commit '4e5a965d6a4c4a0c7977cc9b90755027130c1e46' into eclair-plus-aosp

* commit '4e5a965d6a4c4a0c7977cc9b90755027130c1e46':
  bionic/linker: fix symbol lookup during relocations

12 years agoMerge change 27075 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 00:23:22 +0000 (20:23 -0400)]
Merge change 27075 into eclair

* changes:
  bionic/linker: fix symbol lookup during relocations

12 years agobionic/linker: fix symbol lookup during relocations
Iliyan Malchev [Fri, 25 Sep 2009 00:14:33 +0000 (17:14 -0700)]
bionic/linker: fix symbol lookup during relocations

When resolving relocations while loading a library, the linker used to find
symbols by looking them up in the list of all linked libraries for the current
process, as opposed to following just the library's DT_NEEDED entries.  This
can cause a problem where the symbol is picked up from the wrong library.

Signed-off-by: Iliyan Malchev <malchev@google.com>