| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
constructors twice."
This reverts commit 03eabfe65e1e2c36f4d26c78a730fa19a3bdada3.
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Dima Zavin <dima@android.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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>
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* 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.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Also add a new document detailing known issues in the C library.
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* 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
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
__cxa_finalize() implementation
This patch uses "#if ANDROID" instead of "#if 1" in the __cxa_finalize() fix
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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.
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Also update tools/update_all.py to not use perforce add/edit/delete commands automatically now that we're using git
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is needed for upcoming STLport experimentation.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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...
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* changes:
camera: Initial release of camera feature 2.0.
|
| | |_|_|_|/
| |/| | | | |
|
|/ / / / / |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Update to include new ioctl AUDIO_SET_MBADRC and bit masks related to
pre-processing feature.
This corresponds to kernel gerrit IDs: 3921, 4017
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
bionic: add dvs fields and change intra_refresh field name
|
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
Signed-off-by: Susan Brownhill <sbrownhi@quicinc.com>
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add the virtual address change for
1. Thread stack
2. linker
3. Non-prelinked libraries
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Suresh Vankadara <svankada@qualcomm.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Larry Bassel <lbassel@quicinc.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
bionic: msm framebuffer header merge
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Add mdp histogram and lut operation.
Signed-off-by: Joon Rhee <jrhee@quicinc.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
camera: Add defines for post processing.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add defines for preview, snapshot and raw snapshot post processing.
Signed-off-by: Jignesh Mehta <c_jmehta@quicinc.com>
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* changes:
camera: Add MSM_CAM_IOCTL_AF_CTRL and MSM_CAM_IOCTL_AF_CTRL_DONE
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
For AF control command, add the above two ITCTLs.
CRs-Fixed: 183633
Signed-off-by: Jignesh Mehta <c_jmehta@quicinc.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
Bionic: Updating msm_audio.h to support NT2 Stream Info
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This corresponds to kernel gerrit ID: 2230
This patch should be merged to mainline after 2544 (Gerrit ID)
is merged first.
|
|\ \ \ \ \
| |/ / / /
| | | / /
| |_|/ /
|/| | | |
* changes:
bionic: msm: audio: Add asynchronous I/O interface definition
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add asynchronous I/O interface definition so user-space application
can pass input/output buffer and get buffer_done message
asynchronously
Signed-off-by: Patrick Lai <plai@quicinc.com>
|
|/ /
| |
| |
| |
| | |
Improve branch prediction and remove unnecessary preloads
in memcpy arm assembly code.
|
| |
| |
| |
| | |
Signed-off-by: Sastrula, Rajesh <vrajesh@quicinc.com>
|
| |
| |
| |
| |
| |
| |
| | |
This is to accomodate differences in stats handling between
7k and 8k. Corresponding kernel change is c05ecb67259.
Signed-off-by: Shuzhen Wang <shuzhenw@quicinc.com>
|
| |
| |
| |
| |
| |
| | |
Corrected the script to get the valid directory path
CRs-Fixed :183627
|
| |
| |
| |
| | |
This corresponds to kernel gerrit ID: 620
|
| |
| |
| |
| | |
This corresponds to kernel gerrit ID: 320
|
| | |
|
| |
| |
| |
| |
| |
| | |
Added number of steps in kernel header file.
Signed-off-by: Jignesh Mehta <c_jmehta@quicinc.com>
|
| | |
|
| | |
|