diff options
author | marius <marius@FreeBSD.org> | 2007-10-16 19:17:48 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2007-10-16 19:17:48 +0000 |
commit | a060d7dfbc42575f31f99f2f535a89d0463d0a5d (patch) | |
tree | 87cc34bc8053ab02d58bef53a8670db582e4b014 /usr.sbin/kldxref | |
parent | b58c6cf36b49180775f0837a3a69acc73b01fbd1 (diff) | |
download | FreeBSD-src-a060d7dfbc42575f31f99f2f535a89d0463d0a5d.zip FreeBSD-src-a060d7dfbc42575f31f99f2f535a89d0463d0a5d.tar.gz |
- Fix the handling of R_SPARC_OLO10, which is a bit of a special case
in the way we implement handling of relocations.
As for the kernel part this fixes the loading of lots of modules,
which failed to load due to unresolvable symbols when built after
the GCC 4.2.0 import. This wasn't due to a change in GCC itself
though but one of several changes in configuration done along the
import. Specfically, HAVE_AS_REGISTER_PSEUDO_OP, which causes GCC
to denote global registers used for scratch purposes and in turn
GAS uses R_SPARC_OLO10 relocations for, is now defined.
While at it replace some more ELF_R_TYPE which should have been
ELF64_R_TYPE_ID but didn't cause problems so far.
- Sync a sanity check between kernel and rtld(1) and change it to be
maintenance free regarding the type used for the lookup table.
- Sprinkle const on lookup tables.
- Use __FBSDID.
Reported and tested by: yongari
MFC after: 5 days
Diffstat (limited to 'usr.sbin/kldxref')
0 files changed, 0 insertions, 0 deletions