From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Date: Mon, 28 Jan 2002 20:59:43 +0000 Subject: Re: [Linux-ia64] Offsets from C struct into assembler Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org On Mon, 28 Jan 2002 08:11:23 -0700, n0ano@indstorage.com wrote: >Or you can check out how the IA64 Linux kernel does this. The >file `arch/ia64/tools/printoffsets.c' is a program that is compiled >and, when run, generates the file `include asm-ia64/offsets.h' >which is an ASM include file containing structure offsets. That tool is disappearing in 2.5 kernels. All architectures will use the same method for generating asm offsets, the one I included in my previous mail.