Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 18:06:18 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        "Tseng, Kuo-Lang" <kuo-lang.tseng@intel.com>
Cc:        "freebsd-amd64@freebsd.org" <freebsd-amd64@freebsd.org>
Subject:   Re: Declaration of intrcnt and eintrcnt in amd64/amd64/support.S
Message-ID:  <20090605180053.I15681@delplex.bde.org>
In-Reply-To: <63FEFD5869C1DB49B69DCC57DF8F2157CA08AD20@orsmsx505.amr.corp.intel.com>
References:  <63FEFD5869C1DB49B69DCC57DF8F2157CA08AD20@orsmsx505.amr.corp.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Jun 2009, Tseng, Kuo-Lang wrote:

> 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?

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.

intrnames and eintrnames are also in the text section.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090605180053.I15681>