This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [SH][PATCH] SH Kernel compatibility


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]