Author: marius Date: Fri Mar 11 20:01:57 2011 New Revision: 219531 URL: http://svn.freebsd.org/changeset/base/219531
Log: Revert the binutils workaround committed in r219340, the underlying problem has been fixed in r219530. Modified: head/sys/sparc64/sparc64/elf_machdep.c Modified: head/sys/sparc64/sparc64/elf_machdep.c ============================================================================== --- head/sys/sparc64/sparc64/elf_machdep.c Fri Mar 11 20:00:38 2011 (r219530) +++ head/sys/sparc64/sparc64/elf_machdep.c Fri Mar 11 20:01:57 2011 (r219531) @@ -333,14 +333,7 @@ elf_reloc(linker_file_t lf, Elf_Addr rel addr = lookup(lf, symidx, 1); if (addr == 0) return (-1); - /* - * With the addition of TLS support binutils started to make - * addend values relative to relocbase instead of sections. - */ - if (addr > relocbase && addr <= relocbase + value) - value += relocbase; - else - value += addr; + value += addr; if (RELOC_BARE_SYMBOL(rtype)) value = elf_relocaddr(lf, value); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"