OSDN Git Service
Jean-Baptiste Queru [Tue, 11 May 2010 17:43:56 +0000 (10:43 -0700)]
Merge "Sometimes the compiler is very right! Found bug in bessel routines for float."
David Turner [Tue, 11 May 2010 17:20:15 +0000 (10:20 -0700)]
Merge "Reduce compiler anxiety."
David Turner [Tue, 11 May 2010 17:17:00 +0000 (10:17 -0700)]
Merge "Added support for LD_PRELOAD"
David Turner [Mon, 10 May 2010 23:04:02 +0000 (16:04 -0700)]
Merge "stdio: simplify __fremovelock()"
Jean-Baptiste Queru [Mon, 10 May 2010 23:00:22 +0000 (16:00 -0700)]
Merge "Reversed order of const and static to hush warning from compiler."
André Goddard Rosa [Sun, 31 Jan 2010 00:45:07 +0000 (22:45 -0200)]
stdio: simplify __fremovelock()
... by removing extraneous NULL check, as free() already does it.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I0445f35c7ad0a049a0e4aee1fbe002ed2f13b94b
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
David Turner [Mon, 10 May 2010 21:52:02 +0000 (14:52 -0700)]
Merge "string: tidy up strndup()"
Scott Turner [Sat, 16 Jan 2010 16:30:44 +0000 (11:30 -0500)]
Sometimes the compiler is very right! Found bug in bessel routines for float.
Original compiler error:
target arm C: libm <= bionic/libm/src/e_j0f.c
bionic/libm/src/e_j0f.c: In function 'j0f':
bionic/libm/src/e_j0f.c:66: warning: comparison between signed and unsigned integer expressions
bionic/libm/src/e_j0f.c: In function 'y0f':
bionic/libm/src/e_j0f.c:140: warning: comparison between signed and unsigned integer expressions
target arm C: libm <= bionic/libm/src/e_j1.c
It's subtle but ix is masked with 0x7f000000 so it can never ever have a value
greater than 0x80000000. So I switched to using the unmasked hx and added a
cast as a reward to the compiler for being right.
I checked the original routines that e_j0f.c was ported from (in e_j0.c) and
the double's don't use 0x80000000 so this issue didn't exist there.
Let that be a warning to those that just slap on casts to shut up the compiler,
sometimes it's sniffed out a bug for you. :-)
Similar fixes in the other functions.
Change-Id: I7a776e5d4721fc3a9e3bd89179b67e9af3a2ebfa
David Turner [Sat, 1 May 2010 22:31:39 +0000 (15:31 -0700)]
Merge "Fix log channel initialization at bionic/logd_write.c."
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"
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
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
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
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
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
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
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>
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"
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>
David Turner [Mon, 29 Mar 2010 22:49:42 +0000 (15:49 -0700)]
Merge "linker: 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
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
David Turner [Mon, 29 Mar 2010 21:40:05 +0000 (14:40 -0700)]
Merge "Atom optimized string and memory routines"
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>
Bruce Beare [Thu, 4 Mar 2010 19:03:37 +0000 (11:03 -0800)]
Atom optimized string and memory routines
Change-Id: I27b68bb28551c75c9ac84bb9730e2cd8254d8991
Bruce Beare [Wed, 10 Mar 2010 23:52:42 +0000 (15:52 -0800)]
Android hack for size_t
Change-Id: I3c967fca60f542459dc17be84da47b3b6a26242b
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"
David Turner [Thu, 18 Mar 2010 23:35:42 +0000 (16:35 -0700)]
Merge "bionic: ftell() returns a long, not an int"
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
David Turner [Wed, 17 Mar 2010 21:07:27 +0000 (14:07 -0700)]
Merge "x86 syscall system call implementation"
David Turner [Wed, 17 Mar 2010 21:00:20 +0000 (14:00 -0700)]
Merge "Fix pread()/pwrite() stubs"
David Turner [Wed, 17 Mar 2010 00:26:44 +0000 (17:26 -0700)]
Merge "bionic: remove unneeded variable from chk_realloc()"
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"
David Turner [Wed, 17 Mar 2010 00:25:04 +0000 (17:25 -0700)]
Merge "improve readability of string: fix indentation and remove trailing spaces"
David Turner [Wed, 17 Mar 2010 00:21:52 +0000 (17:21 -0700)]
Merge "optimize delete/delete[] operators by removing unneeded branch"
Bruce Beare [Thu, 4 Mar 2010 18:29:38 +0000 (10:29 -0800)]
x86 syscall system call implementation
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.
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
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>
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>
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>
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>
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>
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>
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>
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
The Android Open Source Project [Fri, 5 Feb 2010 16:09:31 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair
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
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
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>
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>
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/
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>
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>
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>
The Android Open Source Project [Fri, 29 Jan 2010 22:07:31 +0000 (14:07 -0800)]
reconcile android-2.1_r1 snapshot
Scott Turner [Sat, 16 Jan 2010 15:39:00 +0000 (10:39 -0500)]
Reduce compiler anxiety.
Warning from compiler:
target arm C: libm <= bionic/libm/src/e_atan2.c
bionic/libm/src/e_atan2.c: In function 'atan2':
bionic/libm/src/e_atan2.c:71: warning: suggest parentheses around arithmetic in operand of '|'
target arm C: libm <= bionic/libm/src/e_atan2f.c
Scott Turner [Sat, 16 Jan 2010 15:23:18 +0000 (10:23 -0500)]
Reversed order of const and static to hush warning from compiler.
The Android Open Source Project [Tue, 12 Jan 2010 23:18:05 +0000 (15:18 -0800)]
android-2.1_r1 snapshot
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."
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.
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.
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.
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
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
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
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.
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
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>
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.
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.
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.
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
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
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
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
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:05:31 +0000 (12:05 -0800)]
merge from eclair
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
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>
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:45:14 +0000 (18:45 -0800)]
eclair snapshot
Jean-Baptiste Queru [Wed, 11 Nov 2009 16:19:07 +0000 (08:19 -0800)]
merge from open-source master
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
Jean-Baptiste Queru [Mon, 9 Nov 2009 00:09:17 +0000 (16:09 -0800)]
merge from open-source master
Shin-ichiro KAWASAKI [Fri, 6 Nov 2009 01:36:37 +0000 (10:36 +0900)]
added and modified linker to support SuperH architecture
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>
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)
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.
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
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
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.
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
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>
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>
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
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
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.
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.
Jean-Baptiste Queru [Wed, 14 Oct 2009 15:18:23 +0000 (08:18 -0700)]
merge from open-source master
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