From owner-cvs-src-old@FreeBSD.ORG Sun Mar 6 15:21:39 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8692D106564A for ; Sun, 6 Mar 2011 15:21:39 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 73A098FC1B for ; Sun, 6 Mar 2011 15:21:39 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p26FLdGE077694 for ; Sun, 6 Mar 2011 15:21:39 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p26FLdJ0077693 for cvs-src-old@freebsd.org; Sun, 6 Mar 2011 15:21:39 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201103061521.p26FLdJ0077693@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 6 Mar 2011 15:20:11 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/rtld-elf/sparc64 reloc.c src/sys/sparc64/sparc64 elf_machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 15:21:39 -0000 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