summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uvisor.c
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-07-04 00:05:15 +0000
committerjake <jake@FreeBSD.org>2003-07-04 00:05:15 +0000
commit151e14e2da5e1512f32502b7ad34944e43e35c8f (patch)
tree859d240ec400844a7362d33581c44ad51def1e8f /sys/dev/usb/uvisor.c
parentd79bb2b0f8355fbfdd85ffaeda3a2ac2d9ad6caf (diff)
downloadFreeBSD-src-151e14e2da5e1512f32502b7ad34944e43e35c8f.zip
FreeBSD-src-151e14e2da5e1512f32502b7ad34944e43e35c8f.tar.gz
Avoid using the global offset table to get the address of _DYNAMIC in
rtld. When _DYNAMIC is referenced normally from C the global offset table is used implicitly, but newer versions of binutils don't initialize it statically in the binary, so this doesn't work until rtld is relocated, which _DYNAMIC is needed for... So, as on other systems with the same problem, we disassemble a call instruction to _DYNAMIC in order to get its address.
Diffstat (limited to 'sys/dev/usb/uvisor.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud