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] fix headers for new kernel headers


SUGIOKA Toshinobu <sugioka@itonet.co.jp> wrote:
> Newer kernel headers build by 'make headers_install' does not include
> asm/elf.h and asm/user.h. So we should copy content of these headers
> to our own heades. Attached patch worked for me to compile under recent
> kernel headers.
> 
> 2009-02-17  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
> 
> 	sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h,
> 	sys/ucontext.h, asm/elf.h. remove #if 0...#endif. add/fix comments.
> 
> 	sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h,
> 	asm/user.h.
> 	Define REGS_XXX, struct user_regs_struct, struct user_dspregs_struct,
> 	struct user_fpu_struct, struct user, PAGE_SHIFT, PAGE_SIZE, PAGE_MASK,
> 	NBPG, UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
> 	HOST_STACK_END_ADDR.
> 	remove "#undef start_thread".

Did you see the thread

http://sourceware.org/ml/libc-alpha/2009-02/msg00004.html

?  Does Andrew's patch fix your problem?

Regards,
	kaz


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