{"ref":"refs/heads/ics","push_id":54309835,"commits":[{"sha":"8924110e07ed7e2190f2d298d790bbc437deefd5","author":{"email":"e7c66d8b81e7862b58c291cd0743fcbbb1ebc5b6@codeaurora.org","name":"Chitti Babu Theegala"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/8924110e07ed7e2190f2d298d790bbc437deefd5","message":"msm7627A: Enable 7627A specific memcpy routine\n\nCache line size for 7627A is 32 bytes. The existing memcpy routine\ngives sub-optimal performance for this cache line size. The memcpy\nroutine has been optimized taking this into consideration. Currently\n7627A is the only ARM-v7 target with cache line size of 32 bytes,\nhence this optimized code has been featurized under\nCORTEX_CACHE_LINE_32 in memcpy.S, memset.S, which can be enabled\nby definingTARGET_CORTEX_CACHE_LINE_32 in BoardConfig.mk\nThis change also adds corresponding cflag definition in Android.mk.\n\nChange-Id: Idea0d1b977f60e0a690ddee36b1d9c67d3c241ef"},{"sha":"897815a1feff230be3ea42655a77dcbb9a8dcca9","author":{"email":"c7fd9ceb44d9496a5fcf979c0ddde8e154358009@intel.com","name":"Zhenghua Wang"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/897815a1feff230be3ea42655a77dcbb9a8dcca9","message":"bionic: add machine type check\n\nandroid linker doesn't check machine type, it may load some\nlibraries which it doesn't support sometimes.\n\nAuthor: Zhenghua Wang <zhenghua.wang@intel.com>\nSigned-off-by: Bruce Beare <bruce.j.beare@intel.com>"},{"sha":"31e72bc3289acdd85b0b745fbf64c5949ca33432","author":{"email":"167cc1f7c253fed81a725ec35bcd442aa9b4f515@intel.com","name":"Jack Ren"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/31e72bc3289acdd85b0b745fbf64c5949ca33432","message":"bionic: fix __get_tls( ) crash issue\n\nWhen running the stress test of pthread create/destroy, a crash may\noocur in __get_tls(). That is caused by the race condition with __set_tls( ):\n\nAuthor: Jack Ren <jack.ren@intel.com>\nSigned-off-by: Bruce Beare <bruce.j.beare@intel.com>"},{"sha":"e480fc83b2887388d469eb3bf58c86c610f5b082","author":{"email":"167cc1f7c253fed81a725ec35bcd442aa9b4f515@intel.com","name":"Jack Ren"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/e480fc83b2887388d469eb3bf58c86c610f5b082","message":"bionic: fix pthread_{create, exit}/signal race condition\n\n(1) in pthread_create:\n    If the one signal is received before esp is subtracted by 16 and\n    __thread_entry( ) is called, the stack will be cleared by kernel\n    when it tries to contruct the signal stack frame. That will cause\n    that __thread_entry will get a wrong tls pointer from the stack\n    which leads to the segment fault when trying to access tls content.\n\n(2) in pthread_exit\n    After pthread_exit called system call unmap(), its stack will be\n    freed.  If one signal is received at that time, there is no stack\n    available for it.\n\nFixed by subtracting the child's esp by 16 before the clone system\ncall and by blocking signal handling before pthread_exit is started.\n\nAuthor: Jack Ren <jack.ren@intel.com>\nSigned-off-by: Bruce Beare <bruce.j.beare@intel.com>"},{"sha":"89d3fdcae26980bf81a4622c3c83e48ead4c1c3a","author":{"email":"59fda544ce74eec5943b18fdd05e82f743b9b114@intel.com","name":"Bruce Beare"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/89d3fdcae26980bf81a4622c3c83e48ead4c1c3a","message":"MALLOC_DEBUG: enable the option libc.debug.malloc = 10\n\nFix the compile warning to let the libc.debug.malloc=10 works well\nDue to unsuitable value comparison, which cause compiler optimize the\ncode of comparing two digits.\n\nChange-Id: I0bedd596c9ca2ba308fb008da20ecb328d8548f5\nSigned-off-by: Bruce Beare <bruce.j.beare@intel.com>\nAuthor: liu chuansheng <chuansheng.liu@intel.com>"},{"sha":"cb1df9161666db2a312814752de67fc623149a9b","author":{"email":"59fda544ce74eec5943b18fdd05e82f743b9b114@intel.com","name":"Bruce Beare"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/cb1df9161666db2a312814752de67fc623149a9b","message":"string: Fix wrong comparison semantics\n\nChars are signed for x86 -- correct the comparison semantics.\n\nChange-Id: I2049e98eb063c0b4e83ea973d3fcae49c6817dde\nAuthor: Liubov Dmitrieva <liubov.dmitrieva@intel.com>\nSigned-off-by: Bruce Beare <bruce.j.beare@intel.com>"},{"sha":"e4a21c89a8b24b32f7a2637b45522dfa59f2aaa4","author":{"email":"59fda544ce74eec5943b18fdd05e82f743b9b114@intel.com","name":"Bruce Beare"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/e4a21c89a8b24b32f7a2637b45522dfa59f2aaa4","message":"signal: Align the sigset_t size passed to from user space to kernel.\n\nPass kernel space sigset_t size to __rt_sigprocmask to workaround\nthe miss-match of NSIG/sigset_t definition between kernel and bionic.\n\nNote: Patch originally from Google...\nChange-Id: I4840fdc56d0b90d7ce2334250f04a84caffcba2a\nSigned-off-by: Chenyang Du <chenyang.du@intel.com>\nSigned-off-by: Bruce Beare <bruce.j.beare@intel.com>"},{"sha":"177ba8cb42ed6d232e7c8bcad5e6ee21fc51a0e8","author":{"email":"b8c38523cce7640aaeed4045bf245272d3b467e3@stericsson.com","name":"Rabin Vincent"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/177ba8cb42ed6d232e7c8bcad5e6ee21fc51a0e8","message":"Prevent deadlock when using fork\n\nWhen forking of a new process in bionic, it is critical that it\ndoes not allocate any memory according to the comment in\njava_lang_ProcessManager.c:\n\"Note: We cannot malloc() or free() after this point!\nA no-longer-running thread may be holding on to the heap lock, and\nan attempt to malloc() or free() would result in deadlock.\"\nHowever, as fork is using standard lib calls when tracing it a bit,\nthey might allocate memory, and thus causing the deadlock.\nThis is a rewrite so that the function cpuacct_add, that fork calls,\nwill use system calls instead of standard lib calls.\n\nSigned-off-by: christian bejram <christian.bejram@stericsson.com>\n\nChange-Id: Iff22ea6b424ce9f9bf0ac8e9c76593f689e0cc86"},{"sha":"7d03c9cbcedb1dc7e3a8210ac0001120558ec6df","author":{"email":"59fda544ce74eec5943b18fdd05e82f743b9b114@intel.com","name":"Bruce Beare"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/7d03c9cbcedb1dc7e3a8210ac0001120558ec6df","message":"pathconf: dead loop in bionic function __2_symlinks\n\nFix dead loops in file ./bionic/libc/unistd/pathconf.c\n\nChange-Id: I7a1e6bcd9879c96bacfd376b88a1f899793295c8\nAuthor: Jin Wei <wei.a.jin@intel.com>\nSigned-off-by: Bruce Beare <bruce.j.beare@intel.com>"},{"sha":"af96d4dadc3f3d8466dbbeaf3a816e6871715fbc","author":{"email":"59fda544ce74eec5943b18fdd05e82f743b9b114@intel.com","name":"Bruce Beare"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/af96d4dadc3f3d8466dbbeaf3a816e6871715fbc","message":"x86: libc may use the gcc flags from TARGET_linux-x86.mk\n\nChange-Id: Iaf4d864d4b6fe388bd3c2d7c4d7d6e42aebb0d35\nSigned-off-by: Bruce Beare <bruce.j.beare@intel.com>"},{"sha":"19a82e058e0ac25c265045a5ee34e2a69ed3da6a","author":{"email":"7f5bb03cf507c861269be561971108be8f37d832@chemlab.org","name":"Steve Kondik"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/19a82e058e0ac25c265045a5ee34e2a69ed3da6a","message":"Merge branch 'master' of https://android.googlesource.com/platform/bionic into HEAD"},{"sha":"268d430a41bdb08ae886cf935c53731104218e3f","author":{"email":"7f5bb03cf507c861269be561971108be8f37d832@chemlab.org","name":"Steve Kondik"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/268d430a41bdb08ae886cf935c53731104218e3f","message":"Merge branch 'ics' of git://codeaurora.org/platform/bionic into HEAD\n\nChange-Id: I16bd1cc77c7bcb1a639b21a33676c8a8fe9e1c54"},{"sha":"918a2f601d2128cf68c8f7e8a15aa4022434cde8","author":{"email":"76a78a4500a6d3fd91fccf005193c40199128a7d@0xlab.org","name":"Jim Huang"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/918a2f601d2128cf68c8f7e8a15aa4022434cde8","message":"execvp: bcopy() is deprecated. Use memcpy() instead\n\nThe function bcopy() is marked as LEGACY in POSIX.1-2001 and removed in\nPOSIX.1-2008. memcpy (POSIX.1-2001) is its recommended replacement.\n\nChange-Id: I2cc0cc4673d1368255afd11132ddbfd3f87b530b"},{"sha":"0734a5981e2c6a7020b367f6358f11b67cf7d17b","author":{"email":"76a78a4500a6d3fd91fccf005193c40199128a7d@0xlab.org","name":"Jim Huang"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/0734a5981e2c6a7020b367f6358f11b67cf7d17b","message":"Use GCC's __attribute__((const)) to reduce code size\n\n__attribute__((const)) is mainly intended for the compiler to optimize\naway repeated calls to a function that the compiler knows will return\nthe same value repeatedly.\n\nBy adding __attribute__((const)), the compiler can choose to call the\nfunction just once and cache the return value.  Therefore, this yields\ncode size reduction.\n\nHere are the reference results by arm-eabi-size for crespo device:\n\n[before]\n   text    data     bss     dec     hex filename\n 267715   10132   45948  323795   4f0d3\n\n[after]\n   text    data     bss     dec     hex filename\n 267387   10132   45948  323467   4ef8b\n\nChange-Id: I1d80465c0f88158449702d4dc6398a130eb77195"},{"sha":"fc96dfca8848512f4f21435691fa1fbf79a8684c","author":{"email":"76a78a4500a6d3fd91fccf005193c40199128a7d@0xlab.org","name":"Jim Huang"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/fc96dfca8848512f4f21435691fa1fbf79a8684c","message":"res_send: Avoid spurious close()s and (rare) failure\n\nWhen looping over the current list of sockets we are connected to,\nuse getpeername() not getsockname() to find out who the remote\nend is.  This change avoids spurious close() and (rare) failure.\n\nISC bug #18625 and fixed in libbind 6.0\n\nChange-Id: I5e85f9ff4b98c237978e4bf4bd85ba0a90d768e6"},{"sha":"5a846a2ea24ea55382d65893b2a88a73610aef8d","author":{"email":"76a78a4500a6d3fd91fccf005193c40199128a7d@0xlab.org","name":"Jim Huang"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/5a846a2ea24ea55382d65893b2a88a73610aef8d","message":"sha1: code cleanup and use modern C syntax\n\nApply the following changes:\n- Remove out-of-date workaround (SPARC64_GCC_WORKAROUND)\n- Use C99 prototype and stdint type\n\nChange-Id: I630cf97f6824f72f4165e0fa9e5bfdad8edabe48"},{"sha":"e5f6d3931e55d425ce3851e61732cc32d33d04d4","author":{"email":"76a78a4500a6d3fd91fccf005193c40199128a7d@0xlab.org","name":"Jim Huang"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/e5f6d3931e55d425ce3851e61732cc32d33d04d4","message":"sha1: Use bswap* to optimize byte order\n\nbionic libc already makes use of ARMv6+ rev/rev16 instruction for\nendian conversion, and this patch rewrites some parts of SHA1\nimplementations with swap32 and swap64 routines, which is known to\nbring performance improvements.\n\nThe reference sha1bench on Nexus S:\n\n[before]\nRounds: 100000, size: 6250K, time: 1.183s, speed: 5.16  MB/s\n\nChange-Id: Id04c0fa1467b3006b5a8736cbdd95855ed7c13e4\n[after]\nRounds: 100000, size: 6250K, time: 1.025s, speed: 5.957 MB/sB"},{"sha":"b3421de186d8b6c7d7a3882ebec695d61e8e7534","author":{"email":"76a78a4500a6d3fd91fccf005193c40199128a7d@0xlab.org","name":"Jim Huang"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/b3421de186d8b6c7d7a3882ebec695d61e8e7534","message":"dlmalloc: Use ARMv7 version for macro compute_bit2idx and compute_tree_index\n\nThe macro compute_bit2idx(X, I) was definied as \"I = ffs(X)-1\".  This\nequals to the operation __builtin_ctz(X), and using the new bit-reversal\ninstruction would have been better for ARMv7:\n    rbit    r0, r0\n    clz     r0, r0\n\nThis patch re-implements macro compute_bit2idx and compute_tree_index by means\nof the above ARMv7 instructions to be more efficient.\n\nReference: http://hardwarebug.org/2010/01/14/beware-the-builtins/\n\nNOTE: in ICS, the value of macro USE_BUILTIN_FFS was defined to be 0.\n\nChange-Id: I9d9f31d6dab0898e56bb925e29ae1c098d841fe2"},{"sha":"4d8e649982df2f33cf2882311d137b8eb8883904","author":{"email":"76a78a4500a6d3fd91fccf005193c40199128a7d@0xlab.org","name":"Jim Huang"},"url":"https://api.github.com/repos/ikarosdev/android_bionic/commits/4d8e649982df2f33cf2882311d137b8eb8883904","message":"linker: optimize SysV ELF hash function\n\nThis change can avoid one iterative operation in inner loop.\nInspired by glibc.\n\nChange-Id: I3f641c086654809574289fa6eba0ee1d32e79aa3"}],"head":"4d8e649982df2f33cf2882311d137b8eb8883904","size":19}