From nobody@FreeBSD.org  Mon May  8 10:03:43 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 75FDF16A400
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 May 2006 10:03:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3500843D45
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 May 2006 10:03:43 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k48A3hjt097184
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 8 May 2006 10:03:43 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k48A3gK5097163;
	Mon, 8 May 2006 10:03:42 GMT
	(envelope-from nobody)
Message-Id: <200605081003.k48A3gK5097163@www.freebsd.org>
Date: Mon, 8 May 2006 10:03:42 GMT
From: Diego Petten <flameeyes@gentoo.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Patch to build FreeBSD kernel with binutils 2.16.92
X-Send-Pr-Version: www-2.3

>Number:         96973
>Category:       kern
>Synopsis:       Patch to build FreeBSD kernel with binutils 2.16.92
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 08 10:10:15 GMT 2006
>Closed-Date:    Mon May 08 10:15:26 GMT 2006
>Last-Modified:  Mon May 08 10:15:26 GMT 2006
>Originator:     Diego Petten
>Release:        6.1_rc2
>Organization:
Gentoo
>Environment:
>Description:
Right now the code for FreeBSD kernel does not build with binutils 2.16.91.x series, because it uses "movl" with segment registers.
With the simple patch I'm attaching, movl instructions are changed with movw, that works for segment registers for both 2.15 and 2.16/2.17 binutils.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Mon May 8 10:15:10 UTC 2006 
State-Changed-Why:  
Superseded by kern/96974. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96973 
>Unformatted:
