1. 13 Nov, 2009 1 commit
  2. 28 Oct, 2009 1 commit
  3. 24 Oct, 2009 1 commit
  4. 21 Oct, 2009 1 commit
    • Andy McFadden's avatar
      Wrap ARM abort() to improve stack trace. · 96bbbe21
      Andy McFadden authored
      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
      96bbbe21
  5. 20 Oct, 2009 2 commits
  6. 19 Oct, 2009 1 commit
  7. 16 Oct, 2009 1 commit
  8. 14 Oct, 2009 2 commits
  9. 13 Oct, 2009 1 commit
  10. 08 Oct, 2009 1 commit
  11. 06 Oct, 2009 1 commit
    • Mathias Agopian's avatar
      fix [2170898] abort() doesn't print a stack tarce · e3650267
      Mathias Agopian authored
      the issue here is that abort() can be called from anywhere, in particular
      from malloc or free. When we try to use the debug_log functions, these
      can end up calling into some code (like malloc/free) that called abort()
      in the first place and end up in an infinite recursion loop.
      e3650267
  12. 05 Oct, 2009 1 commit
    • David 'Digit' Turner's avatar
      Re-enable ARMv7 memcpy implementation. · fdc5c1f5
      David 'Digit' Turner authored
      Do not submit this patch before the one that modifies the Android emulator to
      work-around a weird ARMv7 emulation issue. This is done to temporarily re-allow
      the -user builds needed for QA.
      fdc5c1f5
  13. 03 Oct, 2009 1 commit
  14. 29 Sep, 2009 7 commits
  15. 28 Sep, 2009 3 commits
  16. 27 Sep, 2009 1 commit
  17. 23 Sep, 2009 2 commits
  18. 22 Sep, 2009 2 commits
    • David 'Digit' Turner's avatar
      Add pthread_mutex_lock_timeout_np · 3f56b7f6
      David 'Digit' Turner authored
      This is used to perform a mutex lock for a given amount of
      milliseconds before giving up. Using the _np prefix since this
      is absolutely not portable.
      
      Also remove a compiler warning in pthread_attr_getstackaddr
      3f56b7f6
    • David 'Digit' Turner's avatar
      Fix TLS access for ARMv6 and beyond. · 4a05d12c
      David 'Digit' Turner authored
      For performance reasons, we don't call the kernel helper. Instead, we directly
      access the TLS register on ARMv6 and higher. For ARMv5TE, keep using the hard-coded
      address populated by the kernel on each task switch.
      
      NOTE: Since we don't call the kernel helper, this must precisely match your
            kernel configuration. This is controlled by setting the ARCH_ARM_HAVE_TLS_REGISTER
            variable to 'true' in your board configuration file.
      4a05d12c
  19. 21 Sep, 2009 1 commit
  20. 15 Sep, 2009 1 commit
  21. 11 Sep, 2009 1 commit
  22. 10 Sep, 2009 2 commits
    • Android (Google) Code Review's avatar
      Merge change 24463 into eclair · 4e57cf3f
      Android (Google) Code Review authored
      * changes:
        Fix an infinite loop in time2sub.
      4e57cf3f
    • David 'Digit' Turner's avatar
      Fix an infinite loop in time2sub. · 2093d350
      David 'Digit' Turner authored
      The problem is that time_t is signed, and the original code relied on the
      fact that (X + c < X) in case of overflow for c >= 0. Unfortunately, this
      condition is only guaranteed by the standard for unsigned arithmetic, and
      the gcc 4.4.0 optimizer did completely remove the corresponding test from
      the code. This resulted in a missing boundary check, and an infinite loop.
      
      The problem is solved by testing explicitely for TIME_T_MIN and TIME_T_MAX
      in the loop that uses this.
      
      Also fix increment_overflow and long_increment_overflow which were buggy
      for exactly the same reasons.
      
      Note: a similar fix is needed for system/core/libcutils
      2093d350
  23. 09 Sep, 2009 1 commit
  24. 02 Sep, 2009 2 commits
  25. 31 Aug, 2009 1 commit
  26. 20 Aug, 2009 1 commit