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 Tue, Feb 03, 2009 at 03:00:48PM +0000, Andrew Stubbs wrote:
> OK, how about this one? The code only need the pt_regs for the size, as  
> you say. However, it does use REG_GBR, and possibly others. I've included 
> the full set of register defines, just in case.

> 2009-02-03  Andrew Stubbs  <ams@codesourcery.com>
> 
> 	glibc/
> 	* sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include asm/elf.h.
> 	(REG_REG0, REG_REG15, REG_PC, REG_PR, REG_SR, REG_GBR, REG_MACH,
> 	REG_MACL, REG_MACL): Define.
> 	(elf_greg_t, ELF_NGREG, elf_gregset_t, user_fpu_struct,
> 	elf_fpregset_t): Copy from linux asm-sh/elf.h.
> 	* sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include asm/user.h.

This looks good to me.  Kaz, what do you think?

-- 
Daniel Jacobowitz
CodeSourcery


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