1. 02 Jun, 2009 1 commit
    • David 'Digit' Turner's avatar
      Fix the C library initialization to avoid calling static C++ constructors twice. · 03eabfe6
      David 'Digit' Turner authored
      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.
      03eabfe6
  2. 01 Jun, 2009 1 commit
  3. 28 May, 2009 3 commits
  4. 27 May, 2009 4 commits
  5. 26 May, 2009 2 commits
  6. 20 May, 2009 2 commits
  7. 18 May, 2009 1 commit
  8. 15 May, 2009 1 commit
  9. 14 May, 2009 1 commit
  10. 12 May, 2009 1 commit
  11. 05 May, 2009 1 commit
  12. 01 May, 2009 2 commits
  13. 24 Apr, 2009 1 commit
  14. 23 Apr, 2009 1 commit
  15. 13 Apr, 2009 1 commit
    • Chung-yih Wang's avatar
      Add the domain search list for VPN connection. · aeae1f5b
      Chung-yih Wang authored
        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.
      aeae1f5b
  16. 10 Apr, 2009 1 commit
  17. 08 Apr, 2009 1 commit
    • Niko Catania's avatar
      AI 145059: (Almost) final set of wrapper around the C headers for stdc++ and their tests. · 00a18f62
      Niko Catania authored
        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
      00a18f62
  18. 02 Apr, 2009 1 commit
  19. 30 Mar, 2009 1 commit
    • Niko Catania's avatar
      AI 143504: Completed cstddef to be non empty and similar to the gnu stl implementation. · 416ceb86
      Niko Catania authored
        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
      416ceb86
  20. 27 Mar, 2009 1 commit
  21. 26 Mar, 2009 1 commit
  22. 25 Mar, 2009 1 commit
  23. 20 Mar, 2009 1 commit
  24. 19 Mar, 2009 1 commit
  25. 04 Mar, 2009 2 commits
  26. 03 Mar, 2009 2 commits
  27. 20 Feb, 2009 1 commit
  28. 19 Feb, 2009 1 commit
  29. 13 Feb, 2009 1 commit
  30. 10 Feb, 2009 1 commit