From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 5 17:01:52 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 1F0B71065678 for ; Fri, 5 Jun 2009 17:01:52 +0000 (UTC) (envelope-from kuo-lang.tseng@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.freebsd.org (Postfix) with ESMTP id EC1948FC27 for ; Fri, 5 Jun 2009 17:01:51 +0000 (UTC) (envelope-from kuo-lang.tseng@intel.com) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 05 Jun 2009 09:53:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.41,312,1241420400"; d="scan'208";a="419232874" Received: from orsmsx604.amr.corp.intel.com ([10.22.226.87]) by orsmga002.jf.intel.com with ESMTP; 05 Jun 2009 10:09:17 -0700 Received: from orsmsx505.amr.corp.intel.com ([10.22.226.208]) by orsmsx604.amr.corp.intel.com ([10.250.113.17]) with mapi; Fri, 5 Jun 2009 10:01:51 -0700 From: "Tseng, Kuo-Lang" To: Bruce Evans Date: Fri, 5 Jun 2009 10:01:50 -0700 Thread-Topic: Declaration of intrcnt and eintrcnt in amd64/amd64/support.S Thread-Index: AcnltIdD6M9QaHLkSZ2cq36fhErb2wASjudA Message-ID: <63FEFD5869C1DB49B69DCC57DF8F2157CA0D2B62@orsmsx505.amr.corp.intel.com> References: <63FEFD5869C1DB49B69DCC57DF8F2157CA08AD20@orsmsx505.amr.corp.intel.com> <20090605180053.I15681@delplex.bde.org> In-Reply-To: <20090605180053.I15681@delplex.bde.org> 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: Fri, 05 Jun 2009 17:01:52 -0000 Bruce Evans wrote on Friday, June 05, 2009 1:06 AM: > 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 >=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.=20 > 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 > intrnames and eintrnames are also in the text section. >=20 > Bruce Can we fix it soon? =