OSDN Git Service

Reject .so files with no sysv hash table.
authorElliott Hughes <enh@google.com>
Wed, 31 Oct 2012 21:20:03 +0000 (14:20 -0700)
committerElliott Hughes <enh@google.com>
Wed, 31 Oct 2012 21:30:50 +0000 (14:30 -0700)
commit124fae9eabd7a25d80dfa8c3b56bed0f0fba16f1
tree4e7b568b09fef856dbc1a7f0cab9770c96a15d39
parentb46530bd3e5984047bd780f5d3a6a5ebabd9f02d
Reject .so files with no sysv hash table.

Also ensure that dlopen(3) errors always include the name of the library we
failed to open.

Also fix a bug where we'd fall back to searching LD_LIBRARY_PATH and the
built-in paths for names that include slashes.

Bug: http://code.google.com/p/android/issues/detail?id=38479
Change-Id: Ib2c009ed083344a7a012749d58f8679db2f26c78
linker/linker.cpp
tests/Android.mk
tests/dlopen_test.cpp
tests/empty.cpp [new file with mode: 0644]