David 'Digit' Turner 
							
						 
					 
					
						
						
							
						
						aa4b1d0429 
					 
					
						
						
							
							Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>) - DO NOT MERGE  
						
						... 
						
						
						
						Change-Id: Iac4eb5911ffe4a7ab72b84df44e907685ac816af 
						
						
					 
					
						2010-06-09 13:12:15 -07:00 
						 
				 
			
				
					
						
							
							
								David 'Digit' Turner 
							
						 
					 
					
						
						
							
						
						53f3d63a18 
					 
					
						
						
							
							Resolved conflict fpr merge of  7d8574ce to master  
						
						... 
						
						
						
						Conflicts:
	libc/docs/CHANGES.TXT
Change-Id: I3816ac8346be399b31167b0374a0f018451bb92d 
						
						
					 
					
						2010-06-08 17:41:10 -07:00 
						 
				 
			
				
					
						
							
							
								David 'Digit' Turner 
							
						 
					 
					
						
						
							
						
						7d8574cefe 
					 
					
						
						
							
							am  6304d8b2: Use private futexes for semaphores, unless they are initialized with pshared != 0.  
						
						
						
						
					 
					
						2010-06-08 17:29:43 -07:00 
						 
				 
			
				
					
						
							
							
								David 'Digit' Turner 
							
						 
					 
					
						
						
							
						
						6304d8b218 
					 
					
						
						
							
							Use private futexes for semaphores, unless they are initialized with pshared != 0.  
						
						... 
						
						
						
						Change-Id: I534e36a7171cd37037ae03b910ba71ea6968286d
Note: previously, sem_init() would return an error if pshared != 0. 
						
						
					 
					
						2010-06-08 17:04:49 -07:00 
						 
				 
			
				
					
						
							
							
								Jing Yu 
							
						 
					 
					
						
						
							
						
						e4d8a9205a 
					 
					
						
						
							
							Merge "Add sincosl() function to bionic. So that sincos optimization can be enabled."  
						
						
						
						
					 
					
						2010-06-07 13:14:45 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						d881b9e10a 
					 
					
						
						
							
							am  7980f585: merge from froyo-plus-aosp  
						
						
						
						
					 
					
						2010-06-07 11:22:29 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						7980f585f7 
					 
					
						
						
							
							merge from froyo-plus-aosp  
						
						... 
						
						
						
						Change-Id: I54d3b035f378d92f287b3dd08987c4041fda9997 
						
						
					 
					
						2010-06-07 11:19:33 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						15956f9288 
					 
					
						
						
							
							merge from open-source master  
						
						... 
						
						
						
						Change-Id: I1cc2f1123a296b05c4faaa419374376395e05936 
						
						
					 
					
						2010-06-07 11:01:49 -07:00 
						 
				 
			
				
					
						
							
							
								David Turner 
							
						 
					 
					
						
						
							
						
						16c91eff09 
					 
					
						
						
							
							Merge "Add missing termios defns to bring on par with ARM"  
						
						
						
						
					 
					
						2010-06-05 13:07:40 -07:00 
						 
				 
			
				
					
						
							
							
								Bruce Beare 
							
						 
					 
					
						
						
							
						
						84baa86362 
					 
					
						
						
							
							Add missing termios defns to bring on par with ARM  
						
						... 
						
						
						
						Change-Id: Ied1871aa0a2e33473b89a4ac6d54e3c44be7f457 
						
						
					 
					
						2010-06-04 08:14:44 -07:00 
						 
				 
			
				
					
						
							
							
								Jean-Baptiste Queru 
							
						 
					 
					
						
						
							
						
						3af8c59b71 
					 
					
						
						
							
							am  a8a21488: resolved conflicts for merge of  7b6e6fa5 to kraken  
						
						
						
						
					 
					
						2010-06-03 15:08:23 -07:00 
						 
				 
			
				
					
						
							
							
								Jean-Baptiste Queru 
							
						 
					 
					
						
						
							
						
						a8a2148863 
					 
					
						
						
							
							resolved conflicts for merge of  7b6e6fa5 to kraken  
						
						... 
						
						
						
						Change-Id: I2b9b80a7fa32c56be2b85ff8be0d6e7ac1848afe 
						
						
					 
					
						2010-06-03 15:05:04 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						7b6e6fa572 
					 
					
						
						
							
							merge from open-source master  
						
						... 
						
						
						
						Change-Id: Ib7fc9c6f79f9b13e2175da137005d8968ea85eaf 
						
						
					 
					
						2010-06-03 14:39:20 -07:00 
						 
				 
			
				
					
						
							
							
								Jing Yu 
							
						 
					 
					
						
						
							
						
						9946750609 
					 
					
						
						
							
							Add sincosl() function to bionic. So that sincos optimization can  
						
						... 
						
						
						
						be enabled.
Change-Id: I19671a407dc96a92417c719da938ee0c1669bfb8 
						
						
					 
					
						2010-06-03 14:13:53 -07:00 
						 
				 
			
				
					
						
							
							
								David Turner 
							
						 
					 
					
						
						
							
						
						f982f03832 
					 
					
						
						
							
							Merge "pthread: introduce pthread_setname_np() as a mean to give names to threads"  
						
						
						
						
					 
					
						2010-06-03 13:11:52 -07:00 
						 
				 
			
				
					
						
							
							
								Colin Cross 
							
						 
					 
					
						
						
							
						
						d5578fb652 
					 
					
						
						
							
							Merge "Add headers for new kernel drivers"  
						
						
						
						
					 
					
						2010-06-01 19:24:33 -07:00 
						 
				 
			
				
					
						
							
							
								Colin Cross 
							
						 
					 
					
						
						
							
						
						1c7708ea7c 
					 
					
						
						
							
							Add headers for new kernel drivers  
						
						... 
						
						
						
						Change-Id: I65e682cef2c20b12faa5e526e82e35ab3ca0c379 
						
						
					 
					
						2010-06-01 17:46:38 -07:00 
						 
				 
			
				
					
						
							
							
								Andy McFadden 
							
						 
					 
					
						
						
							
						
						31b075c7a4 
					 
					
						
						
							
							am  fcd00ebb: Atomic/SMP update, part 3.  
						
						
						
						
					 
					
						2010-06-01 16:11:07 -07:00 
						 
				 
			
				
					
						
							
							
								Andy McFadden 
							
						 
					 
					
						
						
							
						
						fcd00ebbdf 
					 
					
						
						
							
							Atomic/SMP update, part 3.  
						
						... 
						
						
						
						Update ARM atomic ops to use LDREX/STREX.  Stripped out #if 0 chunk.
Insert explicit memory barriers in pthread and semaphore code.
For bug 2721865.
Change-Id: I0f153b797753a655702d8be41679273d1d5d6ae7 
						
						
					 
					
						2010-05-28 16:12:01 -07:00 
						 
				 
			
				
					
						
							
							
								Andy McFadden 
							
						 
					 
					
						
						
							
						
						f0107db210 
					 
					
						
						
							
							am  4fdbadde: Atomic/SMP update.  
						
						
						
						
					 
					
						2010-05-21 12:08:09 -07:00 
						 
				 
			
				
					
						
							
							
								Jing Yu 
							
						 
					 
					
						
						
							
						
						3a4b14bac6 
					 
					
						
						
							
							Merge "Remove a gcc-4.5 compilation warning: bionic/libc/include/../include/stdlib.h: In function 'int grantpt(int)': bionic/libc/include/../include/stdlib.h:138:23: warning: parameter '__fd' set but not used [-Wunused-but-set-parameter]"  
						
						
						
						
					 
					
						2010-05-21 10:50:38 -07:00 
						 
				 
			
				
					
						
							
							
								Jing Yu 
							
						 
					 
					
						
						
							
						
						bd77d49812 
					 
					
						
						
							
							Remove a gcc-4.5 compilation warning:  
						
						... 
						
						
						
						bionic/libc/include/../include/stdlib.h: In function 'int grantpt(int)':
bionic/libc/include/../include/stdlib.h:138:23: warning: parameter '__fd' set but not used [-Wunused-but-set-parameter]
By adding __attribute((unused)) to __fd, the warning is gone, and this
attribute is compatible with gcc-4.4.0, gcc-4.3.1 gcc-4.2.1.
There is no any side effect.
Change-Id: Id9d2b0aeefdd9c37132da0f00c48387f7d897e83 
						
						
					 
					
						2010-05-21 10:18:53 -07:00 
						 
				 
			
				
					
						
							
							
								Andy McFadden 
							
						 
					 
					
						
						
							
						
						4fdbadde92 
					 
					
						
						
							
							Atomic/SMP update.  
						
						... 
						
						
						
						Added an underscore to _ARM_HAVE_LDREX_STREX to make it match the others.
Added __ARM_HAVE_DMB and __ARM_HAVE_LDREXD when appropriate.
Fixed some typos.
Change-Id: I2f55febcff4aeb7de572a514fb2cd2f820dca27c 
						
						
					 
					
						2010-05-20 15:59:32 -07:00 
						 
				 
			
				
					
						
							
							
								David 'Digit' Turner 
							
						 
					 
					
						
						
							
						
						5d726df15e 
					 
					
						
						
							
							Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>)  
						
						... 
						
						
						
						Change-Id: Ie9168238c3a8e77daab4f39939756d4c53d8af37 
						
						
					 
					
						2010-05-20 10:55:45 -07:00 
						 
				 
			
				
					
						
							
							
								André Goddard Rosa 
							
						 
					 
					
						
						
							
						
						78c1c04ced 
					 
					
						
						
							
							pthread: introduce pthread_setname_np() as a mean to give names to threads  
						
						... 
						
						
						
						... so that each cloned process at the kernel level can be named
independently. Tools like 'top' can display the CPU/memory statistics
for each process's thread if "Show Threads" mode is on.
With this function in place, we can convert dalvik/Thread.c setThreadName()
function over this function. This feature ought to be provided by the
underlying C library and not coded directly in Dalvik.
Change-Id: Ifa997665dbaa114e0b126f8c667708be9a4137fd
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com > 
						
						
					 
					
						2010-05-19 23:17:16 -03:00 
						 
				 
			
				
					
						
							
							
								David 'Digit' Turner 
							
						 
					 
					
						
						
							
						
						8a1d2cf142 
					 
					
						
						
							
							Add pthread_rwlock_t implementation to the C library (DO NOT MERGE)  
						
						... 
						
						
						
						Change-Id: I756d8c26afc37cd7b71117ddbaa02a2cb40fdecb 
						
						
					 
					
						2010-05-19 14:53:18 -07:00 
						 
				 
			
				
					
						
							
							
								David 'Digit' Turner 
							
						 
					 
					
						
						
							
						
						ddd235bd9c 
					 
					
						
						
							
							Add sincos() and sincosf() implementation.  
						
						... 
						
						
						
						This is a GLibc-compatibility patch required to simplify our
upcoming toolchain work/porting.
Change-Id: I615a20a449763f86b6e2b0e4f5ab43fb029ceb6d 
						
						
					 
					
						2010-05-19 11:39:16 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						204e82d0af 
					 
					
						
						
							
							am  8e1ee7fd: merge from open-source master  
						
						
						
						
					 
					
						2010-05-17 15:03:01 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						8e1ee7fd01 
					 
					
						
						
							
							merge from open-source master  
						
						... 
						
						
						
						Change-Id: I5804d8850f2d4fb7b5d5c53d51e153f7ced9646e 
						
						
					 
					
						2010-05-17 10:22:35 -07:00 
						 
				 
			
				
					
						
							
							
								André Goddard Rosa 
							
						 
					 
					
						
						
							
						
						a910abcd19 
					 
					
						
						
							
							improve readability of stdio: fix indentation and remove trailing spaces  
						
						... 
						
						
						
						Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com > 
						
						
					 
					
						2010-05-17 09:34:13 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						ac65d2f600 
					 
					
						
						
							
							am  fdf2454d: merge from open-source master  
						
						
						
						
					 
					
						2010-05-14 13:43:56 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						fdf2454db2 
					 
					
						
						
							
							merge from open-source master  
						
						... 
						
						
						
						Change-Id: I9c926a3cd680a96ece026cdec71c6e0fb0b7ad7c 
						
						
					 
					
						2010-05-14 13:30:10 -07:00 
						 
				 
			
				
					
						
							
							
								David Turner 
							
						 
					 
					
						
						
							
						
						1297428e89 
					 
					
						
						
							
							Merge "Add declaration for sys_signame[] forgotten in change 12489"  
						
						
						
						
					 
					
						2010-05-14 12:12:24 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						1e5db2794b 
					 
					
						
						
							
							am  4aef0ae6: merge from open-source master  
						
						
						
						
					 
					
						2010-05-13 14:46:26 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						4aef0ae660 
					 
					
						
						
							
							merge from open-source master  
						
						... 
						
						
						
						Change-Id: I2be62bce462ee53fe9519f433523bd7a44a73d40 
						
						
					 
					
						2010-05-13 14:31:02 -07:00 
						 
				 
			
				
					
						
							
							
								David 'Digit' Turner 
							
						 
					 
					
						
						
							
						
						a418c3b837 
					 
					
						
						
							
							Add pthread_rwlock_t implementation to the C library  
						
						... 
						
						
						
						Change-Id: I14d0a112554756a7294a51fe88c1c408a16b5ff1 
						
						
					 
					
						2010-05-12 15:59:46 -07:00 
						 
				 
			
				
					
						
							
							
								Matt Fischer 
							
						 
					 
					
						
						
							
						
						e4fa46e75c 
					 
					
						
						
							
							Set SA_RESTORER in sigaction()  
						
						... 
						
						
						
						GDB looks for specific opcode sequences when trying to recognize a stack
frame as a signal trampoline.  The sequences it looks for happen to be those
created when SA_RESTORER is set, since glibc always sets a restorer.  This
patch does the same here, so that the trampolines can be correctly identified.
Change-Id: I0ac574a68818cb24d939c3527f3aaeb04b853d04 
						
						
					 
					
						2010-05-12 14:18:36 -05:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						440de73df9 
					 
					
						
						
							
							am  bb7928cc: merge from open-source master  
						
						
						
						
					 
					
						2010-05-12 09:51:35 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						bb7928ccda 
					 
					
						
						
							
							merge from open-source master  
						
						... 
						
						
						
						Change-Id: Iecfd2bd3069f70bbe508042cc249fcf7ff24800d 
						
						
					 
					
						2010-05-12 09:22:50 -07:00 
						 
				 
			
				
					
						
							
							
								David 'Digit' Turner 
							
						 
					 
					
						
						
							
						
						5e1daa561a 
					 
					
						
						
							
							Merge "Fix setjmp()/longjmp() to save FP registers on ARMv7."  
						
						
						
						
					 
					
						2010-05-11 18:16:14 -07:00 
						 
				 
			
				
					
						
							
							
								André Goddard Rosa 
							
						 
					 
					
						
						
							
						
						051ea9bc07 
					 
					
						
						
							
							stdio: simplify __fremovelock()  
						
						... 
						
						
						
						... by removing extraneous NULL check, as free() already does it.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com >
Change-Id: I0445f35c7ad0a049a0e4aee1fbe002ed2f13b94b 
						
						
					 
					
						2010-05-10 15:42:47 -07:00 
						 
				 
			
				
					
						
							
							
								David Turner 
							
						 
					 
					
						
						
							
						
						d791da7943 
					 
					
						
						
							
							Merge "string: tidy up strndup()"  
						
						
						
						
					 
					
						2010-05-10 14:52:02 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						f450fa5f99 
					 
					
						
						
							
							merge from open-source master  
						
						... 
						
						
						
						Change-Id: If02d33af51017dbd85e91c79ac2e848eda6cf253 
						
						
					 
					
						2010-05-03 15:33:05 -07:00 
						 
				 
			
				
					
						
							
							
								David Turner 
							
						 
					 
					
						
						
							
						
						0be7eda75a 
					 
					
						
						
							
							Merge "Fix log channel initialization at bionic/logd_write.c."  
						
						
						
						
					 
					
						2010-05-01 15:31:39 -07:00 
						 
				 
			
				
					
						
							
							
								Jean-Baptiste Queru 
							
						 
					 
					
						
						
							
						
						716e06071a 
					 
					
						
						
							
							Merge "added headers for SuperH which automatically generate by update_all.py"  
						
						
						
						
					 
					
						2010-04-29 08:01:50 -07:00 
						 
				 
			
				
					
						
							
							
								André Goddard Rosa 
							
						 
					 
					
						
						
							
						
						5751c54bf1 
					 
					
						
						
							
							bionic: add missing NULL check from memory allocation on record_backtrace()  
						
						... 
						
						
						
						Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com >
Change-Id: I739c63c5a7344fff1775580044dc647edf246ebf 
						
						
					 
					
						2010-04-29 07:37:42 -07:00 
						 
				 
			
				
					
						
							
							
								André Goddard Rosa 
							
						 
					 
					
						
						
							
						
						c8a850bcd1 
					 
					
						
						
							
							stdio: simplify vasprintf()  
						
						... 
						
						
						
						... by removing unneeded NULL check, as free() already does it.
By the way, we don't need to set a stack variable back to NULL.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com >
Change-Id: Id90eb8f042b5c922c5ff139b11ff8366fb404566 
						
						
					 
					
						2010-04-29 07:33:40 -07:00 
						 
				 
			
				
					
						
							
							
								André Goddard Rosa 
							
						 
					 
					
						
						
							
						
						6aed4288eb 
					 
					
						
						
							
							stdio: simplify asprintf()  
						
						... 
						
						
						
						... by removing unneeded NULL check, as free() already does it.
By the way, we don't need to set a stack variable back to NULL.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com >
Change-Id: Id1f72e872f73366dddcea4abc75885a3d9a318c6 
						
						
					 
					
						2010-04-29 07:31:44 -07:00 
						 
				 
			
				
					
						
							
							
								André Goddard Rosa 
							
						 
					 
					
						
						
							
						
						e734769276 
					 
					
						
						
							
							improve readability of stdlib: fix indentation and remove trailing spaces  
						
						... 
						
						
						
						Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com >
Change-Id: I7dd90a0816b5376ffc1de4499d56935e0bd574a1 
						
						
					 
					
						2010-04-29 07:29:06 -07:00 
						 
				 
			
				
					
						
							
							
								The Android Open Source Project 
							
						 
					 
					
						
						
							
						
						95faecefde 
					 
					
						
						
							
							merge from open-source master  
						
						... 
						
						
						
						Change-Id: If77618a329fc7b497c44c2585e644bc50e7e1406 
						
						
					 
					
						2010-04-08 11:11:53 -07:00