diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-11-02 13:49:42 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-11-06 09:24:44 -0500 |
commit | e7776fefa76a5815493b463049fd7ced67cb31a2 (patch) | |
tree | 10e61e5a4ea81e9553d33868e6167637de505704 /localedata | |
parent | cd84016efe83d92ee3903fef37f79ca2bafb3985 (diff) | |
download | glibc-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 'localedata')
0 files changed, 0 insertions, 0 deletions