summary refs log tree commit diff
path: root/ports/ChangeLog.tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-11-02 13:49:42 -0400
committerChris Metcalf <cmetcalf@tilera.com>2012-11-06 09:24:44 -0500
commite7776fefa76a5815493b463049fd7ced67cb31a2 (patch)
tree10e61e5a4ea81e9553d33868e6167637de505704 /ports/ChangeLog.tile
parentcd84016efe83d92ee3903fef37f79ca2bafb3985 (diff)
downloadglibc-e7776fefa76a5815493b463049fd7ced67cb31a2.tar.gz
glibc-e7776fefa76a5815493b463049fd7ced67cb31a2.tar.xz
glibc-e7776fefa76a5815493b463049fd7ced67cb31a2.zip
tile: improve simulator notification for relative paths in dlopen
Normally, the simulator is notified of absolute pathnames by the
_dl_load_hook hook.  However, when a relative pathname is used, the
simulator may not know that the relative path matches a path that
it could figure out in the file system that it has access to.
Instead we provide a simplified version of the realpath function
so we can pass a plausible absolute pathname to the simulator.

Since we're now doing more work at object load time, we also add
a guard so we do no work at all if we're not running on the simulator.
Diffstat (limited to 'ports/ChangeLog.tile')
-rw-r--r--ports/ChangeLog.tile3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile
index bc3946c7fc..71aaf56db3 100644
--- a/ports/ChangeLog.tile
+++ b/ports/ChangeLog.tile
@@ -1,5 +1,8 @@
 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
 
+	* sysdeps/tile/dl-runtime.c (_dl_after_load): Handle simulator
+	notification better for dlopen() of relative paths.
+
 	* sysdeps/tile/tilegx/memcpy.c (__memcpy): Optimize.
 	* sysdeps/tile/memcopy.h: New file.
 	* sysdeps/tile/wordcopy.c: New file.