This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [SH][PATCH] SH Kernel compatibility
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew Stubbs <ams at codesourcery dot com>
- Cc: Mike Frysinger <vapier at gentoo dot org>, libc-alpha at sourceware dot org
- Date: Mon, 2 Feb 2009 12:27:58 -0500
- Subject: Re: [SH][PATCH] SH Kernel compatibility
- References: <4981BFE7.5080000@codesourcery.com> <200901301700.23908.vapier@gentoo.org> <4986C526.5090909@codesourcery.com>
On Mon, Feb 02, 2009 at 10:04:22AM +0000, Andrew Stubbs wrote:
> I think the problem is that I have added an include of asm/ptrace.h in
> sys/procfs.h (to get struct pt_regs).
Is the size of the struct all you need asm/ptrace.h for? Some other
targets just "#define ELF_NGREG 33", which avoids any namespace
pollution issues.
--
Daniel Jacobowitz
CodeSourcery