4688279db5dcc4004941e7f133c4a1c3617d842c |
|
04-Aug-2012 |
Elliott Hughes <enh@google.com> |
Clean up the linker a bit, remove prelinking support. Also make the errors more readable, since none of us seemed to know what they actually meant. The new style is still as verbose as the old, but that's probably necessary in the absence of chained exceptions in C. Here's what you'd see if you try to boot after removing libsurfaceflinger.so: 32267 32267 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Cannot load library: (linker.c:1629, pid 32259) soinfo_link_image: could not load library "libsystem_server.so" needed by "libandroid_servers.so"; caused by (linker.c:1629, pid 32259) soinfo_link_image: could not load library "libsurfaceflinger.so" needed by "libsystem_server.so"; caused by (linker.c:709, pid 32259) load_library: library "libsurfaceflinger.so" not found This patch also fixes almost all of the compiler warnings. Change-Id: I64bb59aed6d4e039c15ea45be2367f319ef879f8
|
d7daacb46372132ae3f0121647074936c304b572 |
|
31-Jul-2012 |
Raghu Gandham <raghu@mips.com> |
MIPS support to the linker Change-Id: I37ec2d6c51d82bb9e9dbfef4b38c85366bead255 Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Raghu Gandham <raghu@mips.com> Signed-off-by: Bhanu Chetlapalli <bhanu@mips.com>
|
166b7dbd4aa143fc22f61c64dae1219a910f1a6e |
|
19-Jun-2012 |
David 'Digit' Turner <digit@google.com> |
linker: reduce size by nearly 20KB This patch adds a trivial implementation of snprintf() that calls our internal vsnprintf(). Inspection of the generated machine code showed that the linker contained a full implementation of stdio's vfprintf. It was pulled in because the pthread implementation uses snprintf() somewhere. ProTip: It's possible to see why specific objects files are included in a final binary by adding the following to your Android.mk, then looking at the content of /tmp/MAP.TXT: LOCAL_LDFLAGS += -Wl,-Map=/tmp/MAP.TXT Change-Id: I325e71b0cad1d01116a2e00c09e30a80cb716aa3
|
ec92af8fe5d28c74f3505932135b1b8f3fbaad00 |
|
29-Jul-2011 |
Andy McFadden <fadden@android.com> |
Log signal info at time of receipt When a fatal signal is received, we now write a message to the log that looks like this: F/libc ( 1540): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1) This is useful for debugging fatal signals that turn out not to be fatal. This also changes the signal reset from SIG_IGN to SIG_DFL, so that future non-fatal fatal signals are fatal. The code that blocked SIGUSR1 to avoid being interrupted by the GC has been removed. Also, fix minor issues in format_buffer(). Bug 5035703 Change-Id: I8940af47297b5dcf3cf33537e3483ca5334ed565
|
5c734644eebf8d01be1e86cbe20a111a5c5a2738 |
|
20-Jan-2010 |
David 'Digit' Turner <digit@google.com> |
Fix debug output in the dynamic linker. This provides a mini-printf implementation that reduces the size of the dynamic linker by 25 KB, by preventing the drag of formatting-related routines from the C library. Also allow traces to be sent to the log, instead of stdout. NOTE: You now need to modify Android.mk to enable/disable debug output.
|