OSDN Git Service
David 'Digit' Turner [Wed, 9 Jun 2010 00:40:11 +0000 (17:40 -0700)]
Resolved conflict fpr merge of
7d8574ce to master
Conflicts:
libc/docs/CHANGES.TXT
Change-Id: I3816ac8346be399b31167b0374a0f018451bb92d
David 'Digit' Turner [Wed, 9 Jun 2010 00:29:43 +0000 (17:29 -0700)]
am
6304d8b2: Use private futexes for semaphores, unless they are initialized with pshared != 0.
David 'Digit' Turner [Thu, 3 Jun 2010 01:12:12 +0000 (18:12 -0700)]
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.
Jing Yu [Mon, 7 Jun 2010 20:14:45 +0000 (13:14 -0700)]
Merge "Add sincosl() function to bionic. So that sincos optimization can be enabled."
The Android Open Source Project [Mon, 7 Jun 2010 18:22:29 +0000 (11:22 -0700)]
am
7980f585: merge from froyo-plus-aosp
The Android Open Source Project [Mon, 7 Jun 2010 18:19:33 +0000 (11:19 -0700)]
merge from froyo-plus-aosp
Change-Id: I54d3b035f378d92f287b3dd08987c4041fda9997
The Android Open Source Project [Mon, 7 Jun 2010 18:01:49 +0000 (11:01 -0700)]
merge from open-source master
Change-Id: I1cc2f1123a296b05c4faaa419374376395e05936
David Turner [Sat, 5 Jun 2010 20:07:40 +0000 (13:07 -0700)]
Merge "Add missing termios defns to bring on par with ARM"
Bruce Beare [Fri, 4 Jun 2010 15:14:44 +0000 (08:14 -0700)]
Add missing termios defns to bring on par with ARM
Change-Id: Ied1871aa0a2e33473b89a4ac6d54e3c44be7f457
Jean-Baptiste Queru [Thu, 3 Jun 2010 22:08:23 +0000 (15:08 -0700)]
am
a8a21488: resolved conflicts for merge of
7b6e6fa5 to kraken
Jean-Baptiste Queru [Thu, 3 Jun 2010 22:05:04 +0000 (15:05 -0700)]
resolved conflicts for merge of
7b6e6fa5 to kraken
Change-Id: I2b9b80a7fa32c56be2b85ff8be0d6e7ac1848afe
The Android Open Source Project [Thu, 3 Jun 2010 21:39:20 +0000 (14:39 -0700)]
merge from open-source master
Change-Id: Ib7fc9c6f79f9b13e2175da137005d8968ea85eaf
Jing Yu [Thu, 3 Jun 2010 21:05:51 +0000 (14:05 -0700)]
Add sincosl() function to bionic. So that sincos optimization can
be enabled.
Change-Id: I19671a407dc96a92417c719da938ee0c1669bfb8
David Turner [Thu, 3 Jun 2010 20:11:52 +0000 (13:11 -0700)]
Merge "pthread: introduce pthread_setname_np() as a mean to give names to threads"
Colin Cross [Wed, 2 Jun 2010 02:24:33 +0000 (19:24 -0700)]
Merge "Add headers for new kernel drivers"
Colin Cross [Wed, 2 Jun 2010 00:45:50 +0000 (17:45 -0700)]
Add headers for new kernel drivers
Change-Id: I65e682cef2c20b12faa5e526e82e35ab3ca0c379
Andy McFadden [Tue, 1 Jun 2010 23:11:07 +0000 (16:11 -0700)]
am
fcd00ebb: Atomic/SMP update, part 3.
Andy McFadden [Fri, 28 May 2010 20:31:45 +0000 (13:31 -0700)]
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
Andy McFadden [Fri, 21 May 2010 19:08:09 +0000 (12:08 -0700)]
am
4fdbadde: Atomic/SMP update.
Jing Yu [Fri, 21 May 2010 17:50:38 +0000 (10:50 -0700)]
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]"
Jing Yu [Fri, 21 May 2010 03:25:48 +0000 (20:25 -0700)]
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
Andy McFadden [Thu, 20 May 2010 05:38:07 +0000 (22:38 -0700)]
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
David 'Digit' Turner [Thu, 20 May 2010 17:55:45 +0000 (10:55 -0700)]
Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>)
Change-Id: Ie9168238c3a8e77daab4f39939756d4c53d8af37
André Goddard Rosa [Thu, 20 May 2010 02:17:16 +0000 (23:17 -0300)]
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>
David 'Digit' Turner [Wed, 19 May 2010 22:12:26 +0000 (15:12 -0700)]
am
8a1d2cf1: (-s ours) Add pthread_rwlock_t implementation to the C library (DO NOT MERGE)
David 'Digit' Turner [Tue, 11 May 2010 23:39:22 +0000 (16:39 -0700)]
Add pthread_rwlock_t implementation to the C library (DO NOT MERGE)
Change-Id: I756d8c26afc37cd7b71117ddbaa02a2cb40fdecb
David 'Digit' Turner [Wed, 19 May 2010 18:39:16 +0000 (11:39 -0700)]
Add sincos() and sincosf() implementation.
This is a GLibc-compatibility patch required to simplify our
upcoming toolchain work/porting.
Change-Id: I615a20a449763f86b6e2b0e4f5ab43fb029ceb6d
The Android Open Source Project [Mon, 17 May 2010 22:03:01 +0000 (15:03 -0700)]
am
8e1ee7fd: merge from open-source master
The Android Open Source Project [Mon, 17 May 2010 17:22:35 +0000 (10:22 -0700)]
merge from open-source master
Change-Id: I5804d8850f2d4fb7b5d5c53d51e153f7ced9646e
André Goddard Rosa [Sun, 31 Jan 2010 00:46:25 +0000 (22:46 -0200)]
improve readability of stdio: fix indentation and remove trailing spaces
Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
The Android Open Source Project [Fri, 14 May 2010 20:43:56 +0000 (13:43 -0700)]
am
fdf2454d: merge from open-source master
The Android Open Source Project [Fri, 14 May 2010 20:30:10 +0000 (13:30 -0700)]
merge from open-source master
Change-Id: I9c926a3cd680a96ece026cdec71c6e0fb0b7ad7c
David Turner [Fri, 14 May 2010 19:12:24 +0000 (12:12 -0700)]
Merge "Add declaration for sys_signame[] forgotten in change 12489"
The Android Open Source Project [Thu, 13 May 2010 21:46:26 +0000 (14:46 -0700)]
am
4aef0ae6: merge from open-source master
The Android Open Source Project [Thu, 13 May 2010 21:31:02 +0000 (14:31 -0700)]
merge from open-source master
Change-Id: I2be62bce462ee53fe9519f433523bd7a44a73d40
David 'Digit' Turner [Tue, 11 May 2010 23:39:22 +0000 (16:39 -0700)]
Add pthread_rwlock_t implementation to the C library
Change-Id: I14d0a112554756a7294a51fe88c1c408a16b5ff1
Matt Fischer [Mon, 11 Jan 2010 02:02:06 +0000 (10:02 +0800)]
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
Jean-Baptiste Queru [Wed, 12 May 2010 17:10:41 +0000 (10:10 -0700)]
Jean-Baptiste Queru [Wed, 12 May 2010 17:05:59 +0000 (10:05 -0700)]
fix build
Change-Id: I243c98e20a250e0d40d481f16af481ff070219fd
The Android Open Source Project [Wed, 12 May 2010 16:51:35 +0000 (09:51 -0700)]
am
bb7928cc: merge from open-source master
The Android Open Source Project [Wed, 12 May 2010 16:22:50 +0000 (09:22 -0700)]
merge from open-source master
Change-Id: Iecfd2bd3069f70bbe508042cc249fcf7ff24800d
David 'Digit' Turner [Wed, 12 May 2010 01:16:14 +0000 (18:16 -0700)]
Merge "Fix setjmp()/longjmp() to save FP registers on ARMv7."
Jean-Baptiste Queru [Tue, 11 May 2010 17:43:56 +0000 (10:43 -0700)]
Merge "Sometimes the compiler is very right! Found bug in bessel routines for float."
David Turner [Tue, 11 May 2010 17:20:15 +0000 (10:20 -0700)]
Merge "Reduce compiler anxiety."
David Turner [Tue, 11 May 2010 17:17:00 +0000 (10:17 -0700)]
Merge "Added support for LD_PRELOAD"
David Turner [Mon, 10 May 2010 23:04:02 +0000 (16:04 -0700)]
Merge "stdio: simplify __fremovelock()"
Jean-Baptiste Queru [Mon, 10 May 2010 23:00:22 +0000 (16:00 -0700)]
Merge "Reversed order of const and static to hush warning from compiler."
André Goddard Rosa [Sun, 31 Jan 2010 00:45:07 +0000 (22:45 -0200)]
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
Matt Fischer [Thu, 31 Dec 2009 18:09:10 +0000 (12:09 -0600)]
Added support for LD_PRELOAD
The LD_PRELOAD environment variable allows the user to specify a list of
libraries which should be unconditionally loaded before any others. This
makes possible some useful tricks, such as library interposers.
Change-Id: I433d775ab08ef63a5fbe7b21f87a5642954fc32f
David Turner [Mon, 10 May 2010 21:52:02 +0000 (14:52 -0700)]
Merge "string: tidy up strndup()"
Scott Turner [Sat, 16 Jan 2010 16:30:44 +0000 (11:30 -0500)]
Sometimes the compiler is very right! Found bug in bessel routines for float.
Original compiler error:
target arm C: libm <= bionic/libm/src/e_j0f.c
bionic/libm/src/e_j0f.c: In function 'j0f':
bionic/libm/src/e_j0f.c:66: warning: comparison between signed and unsigned integer expressions
bionic/libm/src/e_j0f.c: In function 'y0f':
bionic/libm/src/e_j0f.c:140: warning: comparison between signed and unsigned integer expressions
target arm C: libm <= bionic/libm/src/e_j1.c
It's subtle but ix is masked with 0x7f000000 so it can never ever have a value
greater than 0x80000000. So I switched to using the unmasked hx and added a
cast as a reward to the compiler for being right.
I checked the original routines that e_j0f.c was ported from (in e_j0.c) and
the double's don't use 0x80000000 so this issue didn't exist there.
Let that be a warning to those that just slap on casts to shut up the compiler,
sometimes it's sniffed out a bug for you. :-)
Similar fixes in the other functions.
Change-Id: I7a776e5d4721fc3a9e3bd89179b67e9af3a2ebfa
The Android Open Source Project [Mon, 3 May 2010 22:39:55 +0000 (15:39 -0700)]
am
f450fa5f: merge from open-source master
The Android Open Source Project [Mon, 3 May 2010 22:33:05 +0000 (15:33 -0700)]
merge from open-source master
Change-Id: If02d33af51017dbd85e91c79ac2e848eda6cf253
David Turner [Sat, 1 May 2010 22:31:39 +0000 (15:31 -0700)]
Merge "Fix log channel initialization at bionic/logd_write.c."
Jean-Baptiste Queru [Thu, 29 Apr 2010 15:01:50 +0000 (08:01 -0700)]
Merge "added headers for SuperH which automatically generate by update_all.py"
Yi Sun [Wed, 2 Dec 2009 08:08:14 +0000 (00:08 -0800)]
linker: fix the undefined weak symbols issue
I'm not sure if this is a correct fix or not.
Also need to find out why 1.6 does not have this issue.
Change-Id: If46c844834bda1e2cbf084a1a45a1832119b3ae3
André Goddard Rosa [Fri, 5 Feb 2010 18:03:09 +0000 (16:03 -0200)]
bionic: add missing NULL check from memory allocation on record_backtrace()
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I739c63c5a7344fff1775580044dc647edf246ebf
André Goddard Rosa [Sun, 31 Jan 2010 00:40:45 +0000 (22:40 -0200)]
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
André Goddard Rosa [Sun, 31 Jan 2010 00:39:00 +0000 (22:39 -0200)]
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
André Goddard Rosa [Fri, 5 Feb 2010 20:32:52 +0000 (18:32 -0200)]
improve readability of stdlib: fix indentation and remove trailing spaces
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Change-Id: I7dd90a0816b5376ffc1de4499d56935e0bd574a1
The Android Open Source Project [Wed, 21 Apr 2010 16:24:08 +0000 (09:24 -0700)]
am
5ef5272b: merge from open-source master
The Android Open Source Project [Wed, 21 Apr 2010 16:10:08 +0000 (09:10 -0700)]
merge from open-source master
Change-Id: I518bb4ae9d7269957365561d4d609f22cde519db
The Android Open Source Project [Thu, 8 Apr 2010 18:23:30 +0000 (11:23 -0700)]
am
95faecef: merge from open-source master
The Android Open Source Project [Thu, 8 Apr 2010 18:11:53 +0000 (11:11 -0700)]
merge from open-source master
Change-Id: If77618a329fc7b497c44c2585e644bc50e7e1406
Matt Fischer [Thu, 31 Dec 2009 18:17:56 +0000 (12:17 -0600)]
Fixed support for RTLD_NEXT in dlsym()
The previous implementation of this flag was broken--it behaved identically
to RTLD_DEFAULT. This adds a proper implementation, which examines the address
of the calling function, and uses it to determine which library to use to begin
the symbol search process.
Change-Id: I2ad2b46363f68932af63a3828a22f9c7987eea67
San Mehat [Wed, 7 Apr 2010 06:48:03 +0000 (23:48 -0700)]
am
f1cd18bd: am
91638721: kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
San Mehat [Wed, 7 Apr 2010 05:02:48 +0000 (22:02 -0700)]
am
91638721: kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
Merge commit '
9163872132a3e92f986b1d684badb1dd4482ad8e' into froyo-plus-aosp
* commit '
9163872132a3e92f986b1d684badb1dd4482ad8e':
kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
San Mehat [Wed, 7 Apr 2010 01:49:49 +0000 (18:49 -0700)]
kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
For: For http://b/issue?id=
2576057
Change-Id: I553ca14974aaec4434e384979e0bb7007dcf6033
Signed-off-by: San Mehat <san@google.com>
Thorsten Glaser [Tue, 1 Dec 2009 14:12:01 +0000 (15:12 +0100)]
Add declaration for sys_signame[] forgotten in change 12489
The Android Open Source Project [Wed, 31 Mar 2010 21:40:08 +0000 (14:40 -0700)]
am
1d168621: merge from open-source master
The Android Open Source Project [Wed, 31 Mar 2010 21:40:06 +0000 (14:40 -0700)]
am
d0467251: merge from open-source master
The Android Open Source Project [Wed, 31 Mar 2010 21:32:53 +0000 (14:32 -0700)]
am
5ffedb22: merge from open-source master
The Android Open Source Project [Wed, 31 Mar 2010 21:24:25 +0000 (14:24 -0700)]
merge from open-source master
Change-Id: I950e9aca87cbb0c35099b1d53cff6378bd0f26f4
The Android Open Source Project [Wed, 31 Mar 2010 21:19:51 +0000 (14:19 -0700)]
merge from open-source master
Change-Id: I483fedf77d978b1c6e52d73eebc14f011bb9f809
The Android Open Source Project [Wed, 31 Mar 2010 21:15:30 +0000 (14:15 -0700)]
merge from open-source master
Change-Id: I076e0df8656fdf58c229cc9a168cd6d8e16b6d8e
André Goddard Rosa [Fri, 5 Feb 2010 18:01:05 +0000 (16:01 -0200)]
bionic: fix memory leak in get_malloc_leak_info() error path
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
David Turner [Tue, 30 Mar 2010 21:52:14 +0000 (14:52 -0700)]
Merge "bionic: clear only the part of the buffer which is not overwritten afterward"
David Turner [Mon, 29 Mar 2010 22:49:42 +0000 (15:49 -0700)]
Merge "linker: fix the undefined weak symbols issue"
Min-su, Kim [Tue, 19 Jan 2010 01:05:33 +0000 (10:05 +0900)]
linker: fix the undefined weak symbols issue
David Turner [Mon, 29 Mar 2010 22:05:47 +0000 (15:05 -0700)]
Merge changes Ibdc6e3c8,I9bcb91a2
* changes:
Correct generic memset implementation
Generic memcpy should define MEMCOPY before including bcopy.c
David Turner [Mon, 29 Mar 2010 21:40:05 +0000 (14:40 -0700)]
Merge "Atom optimized string and memory routines"
David 'Digit' Turner [Mon, 29 Mar 2010 20:03:55 +0000 (13:03 -0700)]
Merge "Update libthread_db for gdb-7.0"
The Android Open Source Project [Mon, 29 Mar 2010 18:01:59 +0000 (11:01 -0700)]
merge from open-source master
Change-Id: I96d2cd063f084fd17116bf7ee08fa7109a3c1ceb
André Goddard Rosa [Mon, 29 Mar 2010 00:32:36 +0000 (21:32 -0300)]
bionic: clear only the part of the buffer which is not overwritten afterward
Change-Id: I5ddd93f0557e5a7401460dc9fc8a55b330a79c3a
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
André Goddard Rosa [Mon, 29 Mar 2010 00:18:56 +0000 (21:18 -0300)]
stdlib: optimize bsearch()
... by checking most probable condition first (elements do differ)
Change-Id: I424eab9c32a6d9eb82b686ca04025ec8c9097035
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Bruce Beare [Thu, 4 Mar 2010 19:03:37 +0000 (11:03 -0800)]
Atom optimized string and memory routines
Change-Id: I27b68bb28551c75c9ac84bb9730e2cd8254d8991
Bruce Beare [Wed, 10 Mar 2010 23:52:42 +0000 (15:52 -0800)]
Android hack for size_t
Change-Id: I3c967fca60f542459dc17be84da47b3b6a26242b
David 'Digit' Turner [Thu, 25 Mar 2010 16:54:33 +0000 (09:54 -0700)]
Fix setjmp()/longjmp() to save FP registers on ARMv7.
Change-Id: I8ec684c8f8ca1ae58c8feb330b97d1e2b81caeef
Kenny Root [Thu, 25 Mar 2010 01:06:20 +0000 (18:06 -0700)]
Fix comparison of IPv6 prefixes
Typo assigned prefixlen1 twice instead of to the two different variables
for comparison and difference computation.
Change-Id: I6631b8269ca6aae264c8d7d414127b756838df96
David 'Digit' Turner [Fri, 19 Mar 2010 23:01:28 +0000 (16:01 -0700)]
Update libthread_db for gdb-7.0
Change-Id: If8fbcea1cf6d06fc465a22d73671e6ff6aa1f312
Dima Zavin [Tue, 9 Mar 2010 01:34:52 +0000 (17:34 -0800)]
libc: kernel: update msm_kgsl.h
Change-Id: I8cd5a186071892bdc2b2b29061dd6c1fd927c0f5
Signed-off-by: Dima Zavin <dima@android.com>
David 'Digit' Turner [Tue, 23 Mar 2010 12:30:55 +0000 (05:30 -0700)]
Fix typo that broke recursive mutexes implementation.
Change-Id: I832901604b487c6a50304c311b5ba135e153530d
David 'Digit' Turner [Sat, 20 Mar 2010 00:59:23 +0000 (17:59 -0700)]
pthread: Use private futexes by default in condition variables
Now that the system properly uses shared condvars when needed, we
can enable the use of private futexes for them too.
Change-Id: Icf8351fc0a2309f764cba45c65bc3af047720cdf
The Android Open Source Project [Mon, 22 Mar 2010 22:55:09 +0000 (15:55 -0700)]
merge from open-source master
Change-Id: I70266ee8c520b216773f267e46c8273d2334c31d
David 'Digit' Turner [Mon, 22 Mar 2010 22:45:32 +0000 (15:45 -0700)]
Merge "Fix strtod security bug."
David 'Digit' Turner [Fri, 19 Mar 2010 00:13:41 +0000 (17:13 -0700)]
Use private futexes for pthread_mutex_t.
This does not change the implementation of conditional variables
since we're waiting for other system components to properly use
pthread_condattr_init/setpshared before that.
Also remove an obsolete x86 source file.
Change-Id: Ia3e3fbac35b87a534fb04d4381c3c66b975bc8f7
David Turner [Thu, 18 Mar 2010 23:42:49 +0000 (16:42 -0700)]
Merge "bionic: on pthread_join(), avoid extra check in case we find the thread"
David Turner [Thu, 18 Mar 2010 23:35:42 +0000 (16:35 -0700)]
Merge "bionic: ftell() returns a long, not an int"
David 'Digit' Turner [Thu, 18 Mar 2010 21:07:42 +0000 (14:07 -0700)]
Add pthread_condattr_init/destroy/setpshared/getpshared
Note that this does not change the implementation of conditional variables
which still use shared futexes, independent on the flags being selected.
This will be fixed in a later patch, once our system is modified to use
pthread_condattr_setpshared(attr, PTHREAD_PROCESS_SHARED) properly.
Change-Id: I935de50964cd41f97a13dbfd6626d3407b0406c3
Matt Fischer [Thu, 31 Dec 2009 18:17:40 +0000 (12:17 -0600)]
Added support for dladdr()
dladdr() is a GNU extension function, which allows the caller to retrieve
symbol information for a specified memory address. It is useful for things
like generating backtrace information at runtime.
Change-Id: I3a1def1a6c9c666d93e1e97b7d260dfa5b9b79a9