[SH][PATCH] SH Kernel compatibility

Daniel Jacobowitz drow@false.org
Mon Feb 2 17:42:00 GMT 2009


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



More information about the Libc-alpha mailing list