OSDN Git Service

android-x86/bionic.git
14 years agoAdded support for LD_PRELOAD
Matt Fischer [Thu, 31 Dec 2009 18:09:10 +0000 (12:09 -0600)]
Added support for LD_PRELOAD

The LD_PRELOAD environment variable allows the user to specify a list of
libraries which should be unconditionally loaded before any others.  This
makes possible some useful tricks, such as library interposers.

Change-Id: I433d775ab08ef63a5fbe7b21f87a5642954fc32f

14 years agoMerge "string: tidy up strndup()"
David Turner [Mon, 10 May 2010 21:52:02 +0000 (14:52 -0700)]
Merge "string: tidy up strndup()"

14 years agoMerge "Fix log channel initialization at bionic/logd_write.c."
David Turner [Sat, 1 May 2010 22:31:39 +0000 (15:31 -0700)]
Merge "Fix log channel initialization at bionic/logd_write.c."

14 years agoMerge "added headers for SuperH which automatically generate by update_all.py"
Jean-Baptiste Queru [Thu, 29 Apr 2010 15:01:50 +0000 (08:01 -0700)]
Merge "added headers for SuperH which automatically generate by update_all.py"

14 years agolinker: fix the undefined weak symbols issue
Yi Sun [Wed, 2 Dec 2009 08:08:14 +0000 (00:08 -0800)]
linker: fix the undefined weak symbols issue

I'm not sure if this is a correct fix or not.
Also need to find out why 1.6 does not have this issue.

Change-Id: If46c844834bda1e2cbf084a1a45a1832119b3ae3

14 years agobionic: add missing NULL check from memory allocation on record_backtrace()
André Goddard Rosa [Fri, 5 Feb 2010 18:03:09 +0000 (16:03 -0200)]
bionic: add missing NULL check from memory allocation on record_backtrace()

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I739c63c5a7344fff1775580044dc647edf246ebf

14 years agostdio: simplify vasprintf()
André Goddard Rosa [Sun, 31 Jan 2010 00:40:45 +0000 (22:40 -0200)]
stdio: simplify vasprintf()

... by removing unneeded NULL check, as free() already does it.
By the way, we don't need to set a stack variable back to NULL.

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: Id90eb8f042b5c922c5ff139b11ff8366fb404566

14 years agostdio: simplify asprintf()
André Goddard Rosa [Sun, 31 Jan 2010 00:39:00 +0000 (22:39 -0200)]
stdio: simplify asprintf()

... by removing unneeded NULL check, as free() already does it.
By the way, we don't need to set a stack variable back to NULL.

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: Id1f72e872f73366dddcea4abc75885a3d9a318c6

14 years agoimprove readability of stdlib: fix indentation and remove trailing spaces
André Goddard Rosa [Fri, 5 Feb 2010 20:32:52 +0000 (18:32 -0200)]
improve readability of stdlib: fix indentation and remove trailing spaces

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I7dd90a0816b5376ffc1de4499d56935e0bd574a1

14 years agoFixed support for RTLD_NEXT in dlsym()
Matt Fischer [Thu, 31 Dec 2009 18:17:56 +0000 (12:17 -0600)]
Fixed support for RTLD_NEXT in dlsym()

The previous implementation of this flag was broken--it behaved identically
to RTLD_DEFAULT.  This adds a proper implementation, which examines the address
of the calling function, and uses it to determine which library to use to begin
the symbol search process.

Change-Id: I2ad2b46363f68932af63a3828a22f9c7987eea67

14 years agobionic: fix memory leak in get_malloc_leak_info() error path
André Goddard Rosa [Fri, 5 Feb 2010 18:01:05 +0000 (16:01 -0200)]
bionic: fix memory leak in get_malloc_leak_info() error path

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
14 years agoMerge "bionic: clear only the part of the buffer which is not overwritten afterward"
David Turner [Tue, 30 Mar 2010 21:52:14 +0000 (14:52 -0700)]
Merge "bionic: clear only the part of the buffer which is not overwritten afterward"

14 years agobionic: clear only the part of the buffer which is not overwritten afterward
André Goddard Rosa [Mon, 29 Mar 2010 00:32:36 +0000 (21:32 -0300)]
bionic: clear only the part of the buffer which is not overwritten afterward

Change-Id: I5ddd93f0557e5a7401460dc9fc8a55b330a79c3a
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
14 years agoMerge "linker: fix the undefined weak symbols issue"
David Turner [Mon, 29 Mar 2010 22:49:42 +0000 (15:49 -0700)]
Merge "linker: fix the undefined weak symbols issue"

14 years agolinker: fix the undefined weak symbols issue
Min-su, Kim [Tue, 19 Jan 2010 01:05:33 +0000 (10:05 +0900)]
linker: fix the undefined weak symbols issue

14 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

14 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"

14 years agostdlib: optimize bsearch()
André Goddard Rosa [Mon, 29 Mar 2010 00:18:56 +0000 (21:18 -0300)]
stdlib: optimize bsearch()

... by checking most probable condition first (elements do differ)

Change-Id: I424eab9c32a6d9eb82b686ca04025ec8c9097035
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
14 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

14 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

14 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"

14 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"

14 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

14 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"

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

14 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()"

14 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"

14 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"

14 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"

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

14 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.

14 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

14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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

14 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

14 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

14 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

14 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>
14 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>
14 years agoadded headers for SuperH which automatically generate by update_all.py
Tony SIM [Thu, 28 Jan 2010 08:04:55 +0000 (17:04 +0900)]
added headers for SuperH which automatically generate by update_all.py

base on kernel 2.6.27 arch/sh/include/asm/

14 years agostring: tidy up strndup()
André Goddard Rosa [Sun, 31 Jan 2010 00:29:59 +0000 (22:29 -0200)]
string: tidy up strndup()

It decreases code size:
   text    data     bss     dec     hex filename
    161       0       0     161      a1 strndup-BEFORE.o
    153       0       0     153      99 strndup-AFTER.o

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
14 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>
14 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>
14 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

14 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

14 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."

14 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.

14 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.

14 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.

14 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

14 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

14 years agoFix log channel initialization at bionic/logd_write.c.
Alexey Tarasov [Thu, 3 Dec 2009 01:26:22 +0000 (11:26 +1000)]
Fix log channel initialization at bionic/logd_write.c.

log_channel_t contains fd member, which is file descriptor for
exact logging channel. change cc05d1271680d6a7804bc89d3b1fe14c40b32396
lacks initialization of this member in __write_to_log_init(), thus
logging code is not working, although not crashable.

Additional details may be found in comments here:
http://review.source.android.com/5617

14 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.

14 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

14 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>
14 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.

14 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.

14 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.

14 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

14 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

14 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

14 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

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

14 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

14 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>
14 years agoeclair snapshot
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:45:14 +0000 (18:45 -0800)]
eclair snapshot

14 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

14 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

14 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

14 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

14 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>
14 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)

14 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.

14 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

14 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

14 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.

14 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

14 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>
14 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>
14 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

14 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

14 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.

14 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.

14 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

14 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

14 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

14 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>
14 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>
14 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.

14 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

14 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>
14 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

14 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.

14 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.