From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 8 04:11:33 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BA12106564A for ; Mon, 8 Jun 2009 04:11:33 +0000 (UTC) (envelope-from kuo-lang.tseng@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx1.freebsd.org (Postfix) with ESMTP id 625F68FC16 for ; Mon, 8 Jun 2009 04:11:33 +0000 (UTC) (envelope-from kuo-lang.tseng@intel.com) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 07 Jun 2009 21:00:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.41,322,1241420400"; d="scan'208";a="522525959" Received: from orsmsx604.amr.corp.intel.com ([10.22.226.87]) by orsmga001.jf.intel.com with ESMTP; 07 Jun 2009 21:11:11 -0700 Received: from orsmsx505.amr.corp.intel.com ([10.22.226.208]) by orsmsx604.amr.corp.intel.com ([10.250.113.17]) with mapi; Sun, 7 Jun 2009 21:11:16 -0700 From: "Tseng, Kuo-Lang" To: Kostik Belousov Date: Sun, 7 Jun 2009 21:09:41 -0700 Thread-Topic: Declaration of intrcnt and eintrcnt in amd64/amd64/support.S Thread-Index: AcnmG/nELHlJx69mS3+rmtlmNeHlzgB0vi2i Message-ID: <63FEFD5869C1DB49B69DCC57DF8F2157CA143428@orsmsx505.amr.corp.intel.com> References: <63FEFD5869C1DB49B69DCC57DF8F2157CA08AD20@orsmsx505.amr.corp.intel.com> <20090605180053.I15681@delplex.bde.org> <63FEFD5869C1DB49B69DCC57DF8F2157CA0D2B62@orsmsx505.amr.corp.intel.com>, <20090605202645.GF1927@deviant.kiev.zoral.com.ua> In-Reply-To: <20090605202645.GF1927@deviant.kiev.zoral.com.ua> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-amd64@freebsd.org" Subject: RE: Declaration of intrcnt and eintrcnt in amd64/amd64/support.S X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 04:11:33 -0000 Kostik Belousov wrote on Friday, June 05, 2009 1:27 PM: > On Fri, Jun 05, 2009 at 10:01:50AM -0700, Tseng, Kuo-Lang wrote: >> Bruce Evans wrote on Friday, June 05, 2009 1:06 AM: >>=20 >>> On Thu, 4 Jun 2009, Tseng, Kuo-Lang wrote: >>>=20 >>>> Currently these two variables are stored in the .text section >>>> because they are declared without a .data directive. Is there any >>>> reason why they are not declared with .data directive? Or this is >>>> missing? >>>=20 >>> This is just a bug, as is formatting mail for 220-column terminals. >>> It is missing in the reference i386 version which has a .data >>> directive before some other variables that don't exist on amd64. >>> Apparently, these variables only work because the text section is >>> not write protected. Write protection of the text section was lost >>> long ago on i386.=20 >>>=20 >>> intrnames and eintrnames are also in the text section. >>>=20 >>> Bruce >>=20 >> Can we fix it soon? >=20 > See r193535. Is this a bug id? Can someone please forward me the link to the database?=20 Thanks Kuo=