Date: Sun, 6 Mar 2011 15:20:11 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/libexec/rtld-elf/sparc64 reloc.c src/sys/sparc64/sparc64 elf_machdep.c Message-ID: <201103061521.p26FLdJ0077693@repoman.freebsd.org>
index | next in thread | raw e-mail
marius 2011-03-06 15:20:11 UTC
FreeBSD src repository
Modified files:
libexec/rtld-elf/sparc64 reloc.c
sys/sparc64/sparc64 elf_machdep.c
Log:
SVN rev 219340 on 2011-03-06 15:20:11Z by marius
- With the addition of TLS support binutils started to make the addend
values for resolved symbols relative to relocbase instead of sections
so detect this case and handle as appropriate, which allows using
kernel modules linked with affected versions of binutils. Actually I
think this is a bug in binutils but given that apparently nobody
complained for nearly six years and powerpc has basically the same
workaround I decided to put it in for the sparc64 kernel, too.
- Fix R_SPARC_HIX22 relocations. Apparently these are hardly ever used.
Revision Changes Path
1.20 +3 -0 src/libexec/rtld-elf/sparc64/reloc.c
1.35 +11 -1 src/sys/sparc64/sparc64/elf_machdep.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103061521.p26FLdJ0077693>
