Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3 |
|
#
50caca1a |
| 12-May-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
rtld-elf - Notify thread state to optimize relocations
* Add shims to allow libthread_xu to notify rtld when threading is being used.
* Requires weak symbols in libc which are overriden by rtld-e
rtld-elf - Notify thread state to optimize relocations
* Add shims to allow libthread_xu to notify rtld when threading is being used.
* Requires weak symbols in libc which are overriden by rtld-elf.
* Implement the feature in rtld-elf and use it to avoid making calls to lwp_gettid(). When threaded, use tls_get_tcb() (which does not require a system call) instead of lwp_gettid(). When not threaded, just use a constant.
NOTE: We cannot use tls_get_tcb() unconditionally because the tcb is not setup during early relocations. So do this whack-a-mole to make it work.
* This leaves just the sigprocmask wrappers around rtld-elf (which are needed to prevent stacked relocations from signal handlers).
Poked-by: mjg
show more ...
|
Revision tags: v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1 |
|
#
e19be507 |
| 02-Nov-2017 |
Matthew Dillon <dillon@apollo.backplane.com> |
rtld - Add fork hooks for libthread_xu to install
* Add fork hooks for libthread_xu to install. rtld must acquire its locks exclusively during a fork, and then release them after the fork is co
rtld - Add fork hooks for libthread_xu to install
* Add fork hooks for libthread_xu to install. rtld must acquire its locks exclusively during a fork, and then release them after the fork is complete, to prevent the fork() from catching the locks in a bad state. See libthread_xu.
show more ...
|
Revision tags: v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2 |
|
#
7a6072cc |
| 30-Nov-2014 |
John Marino <draco@marino.st> |
rtld: Add a postinit debugger hook
FreeBSD's dtrace(1) uses this hook to halt the "victim" process before its entry point is called, at which point probes and DOF data are registered with the kernel
rtld: Add a postinit debugger hook
FreeBSD's dtrace(1) uses this hook to halt the "victim" process before its entry point is called, at which point probes and DOF data are registered with the kernel. The r_debg_state hook cannot be used for this purpose, as it is called before the program's init routines are invoked and in particular before ODF is registered. It may or may not be useful for DragonFly by itself, but if dtrace every comes in, rtld will be ready.
Taken from: FreeBSD svn 265456 (6 May 2014) FreeBSD svn 265578 (7 May 2014)
show more ...
|
Revision tags: v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3 |
|
#
f03f3171 |
| 13-Jun-2013 |
John Marino <draco@marino.st> |
rtld: Sync 7/7 - Use symbol versioning instead of exports mapping
Now that DragonFly has the symbol versioning framework in place, rtld can leverage it by offloading the symbol export duties to it.
rtld: Sync 7/7 - Use symbol versioning instead of exports mapping
Now that DragonFly has the symbol versioning framework in place, rtld can leverage it by offloading the symbol export duties to it. This further reduces differences between FreeBSD and DragonFly linkers. Keeping the exports table up to date after FreeBSD removed it was extra work.
show more ...
|