OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
David 'Digit' Turner [Fri, 12 Jun 2009 12:37:15 +0000 (14:37 +0200)]
Update cleaned-up kernel headers
David 'Digit' Turner [Fri, 12 Jun 2009 12:21:49 +0000 (14:21 +0200)]
Add new clean header for PPP on PPTP (VPN)
Iliyan Malchev [Thu, 4 Jun 2009 18:55:53 +0000 (11:55 -0700)]
bionic: update msm_camera.h header
Signed-off-by: Iliyan Malchev <malchev@google.com>
David 'Digit' Turner [Wed, 3 Jun 2009 17:32:37 +0000 (19:32 +0200)]
Revert "Fix the C library initialization to avoid calling static C++ constructors twice."
This reverts commit
03eabfe65e1e2c36f4d26c78a730fa19a3bdada3.
David 'Digit' Turner [Thu, 28 May 2009 13:54:03 +0000 (15:54 +0200)]
Fix the C library initialization to avoid calling static C++ constructors twice.
The problem was due to the fact that, in the case of dynamic executables,
the dynamic linker calls the DT_PREINIT_ARRAY, DT_INIT and DT_INIT_ARRAY
constructors when loading shared libraries and dynamic executables,
*before* calling the executable's entry point (i.e. arch-$ARCH/bionic/crtbegin_dynamic.c)
which in turns call __libc_init() in libc.so, as defined by bionic/libc_init_dynamic.c
The latter did call these constructors array again, mistakenly.
The patch also updates the documentation of many related functions.
Also adds a new section to linker/README.TXT explaining restrictions on
C library usage.
The patch has been tested on a Dream for stability issues with
proprietary blobs:
- H264 decoding works
- Camera + Video recording works
- GPS works
- Sensors work
The tests in system/extra/tests/bionic/libc/common/test_static_cpp_mutex.cpp has been
run and shows the static C++ constructor being called only once.
Dima Zavin [Sat, 30 May 2009 00:30:25 +0000 (17:30 -0700)]
linker: Give more context for failures during library dependency resolution.
Signed-off-by: Dima Zavin <dima@android.com>
Dima Zavin [Thu, 21 May 2009 01:28:09 +0000 (18:28 -0700)]
linker: Make the errors reported by dlopen/dlsym be more useful.
Changed it so that when the linker generates error messages, they are
scribbled away into a buffer that dlfcn and friends can read from.
Since the error messages are generetad with snprintf, and snprintf
MAY call malloc during some code paths, we now link against a version
of libc that does not contain malloc/free/realloc/calloc. We then define
malloc and friends in the dynamic loader, and make them abort() if they
are ever called.
Signed-off-by: Dima Zavin <dima@android.com>
Dima Zavin [Wed, 27 May 2009 17:52:37 +0000 (10:52 -0700)]
libc: Add an intermediate version of the static libc without malloc
For now, this will only used by the dynamic loader to ensure that
malloc and friends are never called.
Signed-off-by: Dima Zavin <dima@android.com>
Dima Zavin [Wed, 27 May 2009 17:52:37 +0000 (10:52 -0700)]
libc: Cleanup the libc makefile.
Removes a lot of redundant code, and reorganizes the file. We first
setup all the comomn variables we may need, and then define the
actual libraries that need to be generated.
Signed-off-by: Dima Zavin <dima@android.com>
Android (Google) Code Review [Wed, 27 May 2009 10:29:35 +0000 (03:29 -0700)]
Merge change 2470 into donut
* changes:
Fix getservent() so that it returns s_port in network byte order. Also add a new document detailing known issues in the C library.
Android (Google) Code Review [Wed, 27 May 2009 08:48:26 +0000 (01:48 -0700)]
Merge change 1852 into donut
* changes:
Fix __eabi_atexit() implementation, as well as a bug in the BSD-originated __cxa_finalize() implementation This patch uses "#if ANDROID" instead of "#if 1" in the __cxa_finalize() fix
Iliyan Malchev [Thu, 30 Apr 2009 19:29:52 +0000 (12:29 -0700)]
add msm_camera.h header and .gitignore file to bionic
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Wed, 20 May 2009 23:51:12 +0000 (16:51 -0700)]
update msm_adsp.h header
Signed-off-by: Iliyan Malchev <malchev@google.com>
David 'Digit' Turner [Tue, 26 May 2009 21:54:37 +0000 (23:54 +0200)]
Fix getservent() so that it returns s_port in network byte order.
Also add a new document detailing known issues in the C library.
David 'Digit' Turner [Mon, 18 May 2009 12:37:41 +0000 (14:37 +0200)]
Fix the parsing of the .fini_array in the dynamic linker (it should happen in reverse order).
Also add a small design overview document for the linker. The latter contains details on
how the initialization/finalization is supposed to work.
David 'Digit' Turner [Wed, 20 May 2009 11:00:10 +0000 (13:00 +0200)]
Add <linux/ipsec.h> and <linux/if_pppolac.h> for VPN support.
Also update tools/update_all.py to not use perforce add/edit/delete commands automatically now that we're using git
David 'Digit' Turner [Wed, 20 May 2009 09:42:52 +0000 (11:42 +0200)]
Fix __eabi_atexit() implementation, as well as a bug in the BSD-originated __cxa_finalize() implementation
This patch uses "#if ANDROID" instead of "#if 1" in the __cxa_finalize() fix
David 'Digit' Turner [Mon, 18 May 2009 21:23:32 +0000 (23:23 +0200)]
Add <cmath> standard C++ header.
This is needed for upcoming STLport experimentation.
David 'Digit' Turner [Fri, 15 May 2009 00:11:12 +0000 (02:11 +0200)]
revert to previous implementation of __aeabi_atexit() since the new one seems to crash a static ICU String destructor.
I don't have the time to investigate why right now, so a revert is preferred. Damn...
David 'Digit' Turner [Thu, 14 May 2009 12:25:26 +0000 (14:25 +0200)]
Fix __aeabi_atexit to call __cxa_atexit properly. This function is defined by the C++ ABI for ARM document.
Dima Zavin [Tue, 12 May 2009 17:59:09 +0000 (10:59 -0700)]
linker: Compute symbol name before lookup so we can also use it for error msg
Signed-off-by: Dima Zavin <dima@android.com>
David 'Digit' Turner [Tue, 5 May 2009 13:50:24 +0000 (15:50 +0200)]
change getaddrinfo() implementation to match GLibc.
the issue is that the BSD implementation doesn't accept a call like:
getaddrinfo(SERVER_NAME, "9999", NULL, &res);
because if will reject a numerical string in the second parameter if no hints are explicitely
provided. This technically doesn't violate POSIX but might make porting Linux software a bit
difficult. For more details see:
http://groups.google.com/group/android-ndk/browse_thread/thread/
818ab9c53f24c87
also comment debugging printf() calls which shouldn't be there.
Android (Google) Code Review [Fri, 1 May 2009 21:28:28 +0000 (14:28 -0700)]
Merge change 57 into donut
* changes:
Add the domain search list for VPN connection. The current solution is to read the net.dns.search property, and expand the list during the resolve initialization. In the future, we could implement search list per process.
James Dong [Fri, 1 May 2009 03:37:36 +0000 (20:37 -0700)]
Increase the limit of loaded shared libraries from 64 to 96 This change is required for OpenCORE 2.0
This is the same as Change 71 in master branch.
Dave Bort [Thu, 23 Apr 2009 22:50:03 +0000 (15:50 -0700)]
libc: Replace a reference to TARGET_BUILD_TYPE with DEBUG_BIONIC_LIBC
We're soon going to stop using TARGET_BUILD_TYPE==debug to debug
native modules.
Signed-off-by: Dave Bort <dbort@android.com>
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:56:50 +0000 (17:56 -0700)]
merge cupcake into donut
Chung-yih Wang [Thu, 9 Apr 2009 10:09:50 +0000 (18:09 +0800)]
Add the domain search list for VPN connection.
The current solution is to read the net.dns.search property,
and expand the list during the resolve initialization. In the
future, we could implement search list per process.
Update: refine the code accordingly.
Update: remove unnecessary code.
Update: remove the unused variable.
Niko Catania [Fri, 10 Apr 2009 17:51:53 +0000 (10:51 -0700)]
AI 145714: Added cstring wrapper around string.h.
In new, include cstddef which declares std::size_t.
BUG=
1601432
Automated import of CL 145714
Niko Catania [Wed, 8 Apr 2009 16:01:36 +0000 (09:01 -0700)]
AI 145059: (Almost) final set of wrapper around the C headers for stdc++ and their tests.
The only one left is cstring.
* bionic/libstdc++/include/cstdlib:
* bionic/libstdc++/include/cstdio:
* bionic/libstdc++/include/cstdint:
* bionic/libstdc++/include/csignal:
* bionic/libstdc++/include/csetjmp:
Added header file.
Checks the bionic headers file were picked up instead of the host ones.
Added test for new header files
* system/extras/tests/bionic/libstdc++/Android.mk:
Added tests for the new header files.
EXTRA_CFLAGS: include the bionic header files.
BUG=
1601432
Automated import of CL 145059
Niko Catania [Thu, 2 Apr 2009 16:31:46 +0000 (09:31 -0700)]
AI 144236: Added new C to stdc++ header files: cassert, cctype, climits, ctime.
QA Impact:None
BUG=
1601432
Automated import of CL 144236
Niko Catania [Mon, 30 Mar 2009 19:50:56 +0000 (12:50 -0700)]
AI 143504: Completed cstddef to be non empty and similar to the gnu stl implementation.
Even if we don't want to have a bloated stl implementation, having empty
files around is probably not very good either.
Added a test to make sure the header file compiles on host and kila-eng.
QA Impact: In system/extras/test/bionic/libstdc++ build the tests using:
mm BIONIC_TESTS=1
to build the host and target tests.
BUG=
1601432
Automated import of CL 143504
Mathias Agopian [Fri, 27 Mar 2009 22:40:01 +0000 (15:40 -0700)]
AI 143161: am: CL 142857 Add some bluring to the animation. This requires a new kernel which will be checked-in later, at which point the blur effect will automatically be enabled.
Original author: mathias
Merged from: //branches/cupcake/...
Automated import of CL 143161
Mathias Agopian [Thu, 26 Mar 2009 04:43:43 +0000 (21:43 -0700)]
Automated import from //branches/cupcake/...@142857,142857
Iliyan Malchev [Wed, 25 Mar 2009 02:02:00 +0000 (19:02 -0700)]
Automated import from //branches/donutburger/...@140950,140950
The Android Open Source Project [Fri, 20 Mar 2009 06:08:36 +0000 (23:08 -0700)]
auto import from //branches/cupcake_rel/...@141571
The Android Open Source Project [Thu, 19 Mar 2009 00:39:42 +0000 (17:39 -0700)]
auto import from //branches/cupcake_rel/...@140373
The Android Open Source Project [Wed, 4 Mar 2009 03:28:35 +0000 (19:28 -0800)]
auto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:13 +0000 (18:28 -0800)]
auto import from //depot/cupcake/@135843
The Android Open Source Project [Tue, 3 Mar 2009 22:03:51 +0000 (14:03 -0800)]
auto import from //depot/cupcake/@132589
The Android Open Source Project [Tue, 3 Mar 2009 06:54:14 +0000 (22:54 -0800)]
auto import from //depot/cupcake/@137055
The Android Open Source Project [Fri, 20 Feb 2009 15:38:28 +0000 (07:38 -0800)]
auto import from //branches/cupcake/...@132569
The Android Open Source Project [Thu, 19 Feb 2009 18:57:29 +0000 (10:57 -0800)]
auto import from //branches/cupcake/...@132276
The Android Open Source Project [Fri, 13 Feb 2009 20:57:48 +0000 (12:57 -0800)]
auto import from //branches/cupcake/...@131421
The Android Open Source Project [Tue, 10 Feb 2009 23:43:56 +0000 (15:43 -0800)]
auto import from //branches/cupcake/...@130745
The Android Open Source Project [Tue, 20 Jan 2009 22:03:55 +0000 (14:03 -0800)]
auto import from //branches/cupcake/...@127101
The Android Open Source Project [Fri, 16 Jan 2009 00:12:07 +0000 (16:12 -0800)]
auto import from //branches/cupcake/...@126645
The Android Open Source Project [Sat, 10 Jan 2009 01:50:54 +0000 (17:50 -0800)]
auto import from //branches/cupcake/...@125939
The Android Open Source Project [Thu, 18 Dec 2008 02:03:48 +0000 (18:03 -0800)]
Code drop from //branches/cupcake/...@124589
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution