diff options
author | kib <kib@FreeBSD.org> | 2011-12-12 11:03:14 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-12-12 11:03:14 +0000 |
commit | a95b8e72c8b8615806e884acc5ccce614fae0370 (patch) | |
tree | d5f18ee2f1f28d34c0603cd801c3d94d87e79adf /etc/rc.d | |
parent | e4d5e370653906483ad3fd23a8e15acb12b82ab5 (diff) | |
download | FreeBSD-src-a95b8e72c8b8615806e884acc5ccce614fae0370.zip FreeBSD-src-a95b8e72c8b8615806e884acc5ccce614fae0370.tar.gz |
Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to
rtld on 386 and amd64. This adds runtime bits neccessary for the use
of the dispatch functions from the dynamically-linked executables and
shared libraries.
To allow use of external references from the dispatch function, resolution
of the R_MACHINE_IRESOLVE relocations in PLT is postponed until GOT entries
for PLT are prepared, and normal resolution of the GOT entries is finished.
Similar to how it is done by GNU, IRELATIVE relocations are resolved in
advance, instead of normal lazy handling for PLT.
Move the init_pltgot() call before the relocations for the object are
processed.
MFC after: 3 weeks
Diffstat (limited to 'etc/rc.d')
0 files changed, 0 insertions, 0 deletions