cvs commit: src/libexec/rtld-elf/sparc64 reloc.c
marius at FreeBSD.org
Sun Oct 21 14:09:55 PDT 2007
marius 2007-10-21 21:09:55 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
MFC: libexec/rtld-elf/sparc64/reloc.c 1.16,
- 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.
Approved by: re (kensmith)
Revision Changes Path
188.8.131.52 +14 -9 src/libexec/rtld-elf/sparc64/reloc.c
184.108.40.206 +14 -8 src/sys/sparc64/sparc64/elf_machdep.c
More information about the cvs-all