summaryrefslogtreecommitdiff
path: root/ports/sysdeps/tile/dl-runtime.c
AgeCommit message (Collapse)AuthorFilesLines
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae1-1/+1
2013-07-22tile BZ #15759: Fix bug in _dl_unmapChris Metcalf1-3/+9
We returned without calling __munmap if not in the simulator. Now we call a separate sim_dlclose() function to make the control flow work correctly.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-1/+1
2012-11-06tile: improve simulator notification for relative paths in dlopenChris Metcalf1-14/+89
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.
2012-10-30Invoke DL_AFTER_LOAD if definedChris Metcalf1-3/+1
This hook is useful for any arch-specific functionality that should be done on loaded objects. For the tile architecture, the hook is already provided (though we switch to using the new macro name with this commit) and implements a simulator notifier so that the simulator can load Elf symbols to match the object and generate better error messages for PC's. Also, remove a spurious definition of DL_UNMAP in dl-runtime.c
2012-07-01Move all files into ports/ subdirectory in preparation for merge with glibcJoseph Myers1-0/+79